Class MemberMatcherR4Helper

java.lang.Object
ca.uhn.fhir.jpa.provider.r4.MemberMatcherR4Helper

public class MemberMatcherR4Helper extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    MemberMatcherR4Helper(ca.uhn.fhir.context.FhirContext theContext, IFhirResourceDao<org.hl7.fhir.r4.model.Coverage> theCoverageDao, IFhirResourceDao<org.hl7.fhir.r4.model.Patient> thePatientDao, IFhirResourceDao<org.hl7.fhir.r4.model.Consent> theConsentDao, IMemberMatchConsentHook theConsentModifier)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addMemberIdentifierToMemberPatient(org.hl7.fhir.r4.model.Patient theMemberPatient, org.hl7.fhir.r4.model.Identifier theNewIdentifier)
     
    org.hl7.fhir.r4.model.Parameters
    buildSuccessReturnParameters(org.hl7.fhir.r4.model.Patient theMemberPatient, org.hl7.fhir.r4.model.Coverage theCoverage, org.hl7.fhir.r4.model.Consent theConsent)
     
    Optional<org.hl7.fhir.r4.model.Coverage>
    findMatchingCoverage(org.hl7.fhir.r4.model.Coverage theCoverageToMatch, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
    Find Coverage matching the received member (Patient) by coverage id or by coverage identifier only
    Optional<org.hl7.fhir.r4.model.Patient>
    getBeneficiaryPatient(org.hl7.fhir.r4.model.Coverage theCoverage, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
     
    void
    setRegularFilterSupported(boolean theRegularFilterSupported)
     
    void
    updateConsentForMemberMatch(org.hl7.fhir.r4.model.Consent theConsent, org.hl7.fhir.r4.model.Patient thePatient, org.hl7.fhir.r4.model.Patient theMemberPatient, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
     
    boolean
    validConsentDataAccess(org.hl7.fhir.r4.model.Consent theConsent)
     
    boolean
    validPatientMember(org.hl7.fhir.r4.model.Patient thePatientFromContract, org.hl7.fhir.r4.model.Patient thePatientToMatch, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
    Matching by member patient demographics - family name and birthdate only

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • findMatchingCoverage

      public Optional<org.hl7.fhir.r4.model.Coverage> findMatchingCoverage(org.hl7.fhir.r4.model.Coverage theCoverageToMatch, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
      Find Coverage matching the received member (Patient) by coverage id or by coverage identifier only
    • updateConsentForMemberMatch

      public void updateConsentForMemberMatch(org.hl7.fhir.r4.model.Consent theConsent, org.hl7.fhir.r4.model.Patient thePatient, org.hl7.fhir.r4.model.Patient theMemberPatient, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
    • buildSuccessReturnParameters

      public org.hl7.fhir.r4.model.Parameters buildSuccessReturnParameters(org.hl7.fhir.r4.model.Patient theMemberPatient, org.hl7.fhir.r4.model.Coverage theCoverage, org.hl7.fhir.r4.model.Consent theConsent)
    • addMemberIdentifierToMemberPatient

      public void addMemberIdentifierToMemberPatient(org.hl7.fhir.r4.model.Patient theMemberPatient, org.hl7.fhir.r4.model.Identifier theNewIdentifier)
    • getBeneficiaryPatient

      public Optional<org.hl7.fhir.r4.model.Patient> getBeneficiaryPatient(org.hl7.fhir.r4.model.Coverage theCoverage, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
    • validPatientMember

      public boolean validPatientMember(org.hl7.fhir.r4.model.Patient thePatientFromContract, org.hl7.fhir.r4.model.Patient thePatientToMatch, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
      Matching by member patient demographics - family name and birthdate only
    • validConsentDataAccess

      public boolean validConsentDataAccess(org.hl7.fhir.r4.model.Consent theConsent)
    • setRegularFilterSupported

      public void setRegularFilterSupported(boolean theRegularFilterSupported)