Interface IMdmLinkSvc


public interface IMdmLinkSvc
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteLink(org.hl7.fhir.instance.model.api.IAnyResource theExistingGoldenResource, org.hl7.fhir.instance.model.api.IAnyResource theSourceResource, MdmTransactionContext theMdmTransactionContext)
    Delete a link between given Golden Resource and the corresponding source resource
    void
    deleteLinksWithAnyReferenceTo(List<ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId> thePersistentIds)
    Delete all link records whose source or target points to the provided pids.
    void
    updateLink(org.hl7.fhir.instance.model.api.IAnyResource theGoldenResource, org.hl7.fhir.instance.model.api.IAnyResource theSourceResource, MdmMatchOutcome theMatchResult, MdmLinkSourceEnum theLinkSource, MdmTransactionContext theMdmTransactionContext)
    Update a link between a Golden Resource record and its source resource record.
  • Method Details

    • updateLink

      void updateLink(org.hl7.fhir.instance.model.api.IAnyResource theGoldenResource, org.hl7.fhir.instance.model.api.IAnyResource theSourceResource, MdmMatchOutcome theMatchResult, MdmLinkSourceEnum theLinkSource, MdmTransactionContext theMdmTransactionContext)
      Update a link between a Golden Resource record and its source resource record. If a link does not exist between these two records, create it.
      Parameters:
      theGoldenResource - the Golden Resource to link the source resource to.
      theSourceResource - the source resource, which can be of any of the MDM supported types
      theMatchResult - the current status of the match to set the link to.
      theLinkSource - MANUAL or AUTO: what caused the link.
      theMdmTransactionContext -
    • deleteLink

      void deleteLink(org.hl7.fhir.instance.model.api.IAnyResource theExistingGoldenResource, org.hl7.fhir.instance.model.api.IAnyResource theSourceResource, MdmTransactionContext theMdmTransactionContext)
      Delete a link between given Golden Resource and the corresponding source resource
      Parameters:
      theExistingGoldenResource -
      theSourceResource -
      theMdmTransactionContext -
    • deleteLinksWithAnyReferenceTo

      void deleteLinksWithAnyReferenceTo(List<ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId> thePersistentIds)
      Delete all link records whose source or target points to the provided pids.
      Parameters:
      thePersistentIds -