Class MdmResourceMatcherSvc


  • @Service
    public class MdmResourceMatcherSvc
    extends Object
    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.
    • Method Detail

      • getMatchResult

        public MdmMatchOutcome getMatchResult​(org.hl7.fhir.instance.model.api.IBaseResource theLeftResource,
                                              org.hl7.fhir.instance.model.api.IBaseResource theRightResource)
        Given two IBaseResources, perform all comparisons on them to determine an MdmMatchResultEnum, indicating to what level the two resources are considered to be matching.
        Parameters:
        theLeftResource - The first IBaseResource.
        theRightResource - The second IBaseResource
        Returns:
        an MdmMatchResultEnum indicating the result of the comparison.