Class MdmMatchLinkSvc

java.lang.Object
ca.uhn.fhir.jpa.mdm.svc.MdmMatchLinkSvc

@Service public class MdmMatchLinkSvc extends Object
MdmMatchLinkSvc is the entrypoint for HAPI's MDM system. An incoming resource can call updateMdmLinksForMdmSource and the underlying MDM system will take care of matching it to a GoldenResource, or creating a new GoldenResource if a suitable one was not found.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ca.uhn.fhir.mdm.model.MdmTransactionContext
    updateMdmLinksForMdmSource(org.hl7.fhir.instance.model.api.IAnyResource theResource, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext)
    Given an MDM source (consisting of any supported MDM type), find a suitable Golden Resource candidate for them, or create one if one does not exist.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • updateMdmLinksForMdmSource

      @Transactional public ca.uhn.fhir.mdm.model.MdmTransactionContext updateMdmLinksForMdmSource(org.hl7.fhir.instance.model.api.IAnyResource theResource, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext)
      Given an MDM source (consisting of any supported MDM type), find a suitable Golden Resource candidate for them, or create one if one does not exist. Performs matching based on rules defined in mdm-rules.json. Does nothing if resource is determined to be not managed by MDM.
      Parameters:
      theResource - the incoming MDM source, which can be any supported MDM type.
      theMdmTransactionContext -
      Returns:
      an TransactionLogMessages which contains all informational messages related to MDM processing of this resource.