Interface MpiQuery

All Known Implementing Classes:
V3PdqQuery

public interface MpiQuery
The interface MpiQuery defines a query object which allows to add the query parameters for the patient demographics query and control the subsequent query steps (continue, cancel) when the query is batched.
  • Method Details

    • addDomainToReturn

      MpiQuery addDomainToReturn(String organizationOID)
      Returned patient identifiers will include the added domain if available
      Parameters:
      organizationOID - the organization oid
      Returns:
      the query object
    • addMothersMaidenName

      MpiQuery addMothersMaidenName(boolean useFuzzySearch, org.hl7.fhir.r4.model.HumanName humanDt)
      Adds the mothers maiden name to the query
      Parameters:
      useFuzzySearch - if true does not require an exact match, see Table 3.47.4.1.2-1: Model Attributes (ITI TF-2b)
      humanDt - name
      Returns:
      the query object
    • addPatientAddress

      MpiQuery addPatientAddress(org.hl7.fhir.r4.model.Address address)
      Adds a patient address to the query.
      Parameters:
      address - the address to be queried for
      Returns:
      the query object
    • addPatientIdentifier

      MpiQuery addPatientIdentifier(org.hl7.fhir.r4.model.Identifier identifier)
      Adds a patient identifier to be queried for.
      Parameters:
      identifier - patient identifier
      Returns:
      the query object
    • addPatientName

      MpiQuery addPatientName(boolean useFuzzySearch, org.hl7.fhir.r4.model.HumanName humanDt)
      Adds a patient name to the query.
      Parameters:
      useFuzzySearch - if true does not require an exact match, see Table 3.47.4.1.2-1: Model Attributes (ITI TF-2b)
      humanDt - name
      Returns:
      the query object
    • addPatientTelecom

      MpiQuery addPatientTelecom(org.hl7.fhir.r4.model.ContactPoint contactPoint)
      Adds a patient telecom to be queried for.
      Parameters:
      contactPoint - telecom
      Returns:
      the query object
    • cancelQuery

      MpiQuery cancelQuery()
      Cancels the next query.
      Returns:
      the query object
    • continueQuery

      MpiQuery continueQuery()
      Continues query for the next pageCount results.
      Returns:
      the query object
    • setPageCount

      MpiQuery setPageCount(int pageCount)
      Sets the page count for partial lists of search results (QueryByParameter.initialQuantity).
      Parameters:
      pageCount - the page count
      Returns:
      the query object
    • setPatientBirthDate

      MpiQuery setPatientBirthDate(Date date)
      Sets the patient birth date for the query.
      Parameters:
      date - the date
      Returns:
      the query object
    • setPatientSex

      MpiQuery setPatientSex(org.hl7.fhir.r4.model.Enumerations.AdministrativeGender adminstrativeGenderEnum)
      Sets the patient sex for the query.
      Parameters:
      adminstrativeGenderEnum - gender
      Returns:
      the query object