
Package ca.uhn.fhir.mdm.rules.svc
Class MdmResourceMatcherSvc
java.lang.Object
ca.uhn.fhir.mdm.rules.svc.MdmResourceMatcherSvc
The MdmResourceComparator is in charge of performing actual comparisons between left and right records.
It does so by calling individual comparators, and returning a vector based on the combination of
field comparators that matched.
-
Constructor Summary
ConstructorsConstructorDescriptionMdmResourceMatcherSvc(ca.uhn.fhir.context.FhirContext theFhirContext, IMatcherFactory theIMatcherFactory, IMdmSettings theMdmSettings) -
Method Summary
Modifier and TypeMethodDescriptiongetMatchResult(org.hl7.fhir.instance.model.api.IBaseResource theLeftResource, org.hl7.fhir.instance.model.api.IBaseResource theRightResource) Given twoIBaseResources, perform all comparisons on them to determine anMdmMatchResultEnum, indicating to what level the two resources are considered to be matching.voidsetMdmRulesJson(MdmRulesJson theMdmRulesJson)
-
Constructor Details
-
MdmResourceMatcherSvc
public MdmResourceMatcherSvc(ca.uhn.fhir.context.FhirContext theFhirContext, IMatcherFactory theIMatcherFactory, IMdmSettings theMdmSettings)
-
-
Method Details
-
getMatchResult
public MdmMatchOutcome getMatchResult(org.hl7.fhir.instance.model.api.IBaseResource theLeftResource, org.hl7.fhir.instance.model.api.IBaseResource theRightResource) Given twoIBaseResources, perform all comparisons on them to determine anMdmMatchResultEnum, indicating to what level the two resources are considered to be matching.- Parameters:
theLeftResource- The firstIBaseResource.theRightResource- The secondIBaseResource- Returns:
- an
MdmMatchResultEnumindicating the result of the comparison.
-
setMdmRulesJson
-