Package ca.uhn.fhir.jpa.provider.r4
Class MemberMatcherR4Helper
java.lang.Object
ca.uhn.fhir.jpa.provider.r4.MemberMatcherR4Helper
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMemberMatcherR4Helper(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 TypeMethodDescriptionvoidaddMemberIdentifierToMemberPatient(org.hl7.fhir.r4.model.Patient theMemberPatient, org.hl7.fhir.r4.model.Identifier theNewIdentifier) org.hl7.fhir.r4.model.ParametersbuildSuccessReturnParameters(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 onlyOptional<org.hl7.fhir.r4.model.Patient>getBeneficiaryPatient(org.hl7.fhir.r4.model.Coverage theCoverage, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) voidsetRegularFilterSupported(boolean theRegularFilterSupported) voidupdateConsentForMemberMatch(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) booleanvalidConsentDataAccess(org.hl7.fhir.r4.model.Consent theConsent) booleanvalidPatientMember(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
-
Field Details
-
CONSENT_IDENTIFIER_CODE_SYSTEM
- See Also:
-
-
Constructor Details
-
MemberMatcherR4Helper
public 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, @Nullable IMemberMatchConsentHook theConsentModifier)
-
-
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
-
setRegularFilterSupported
-