Class MdmSurvivorshipSvcImpl

java.lang.Object
ca.uhn.fhir.jpa.mdm.svc.MdmSurvivorshipSvcImpl
All Implemented Interfaces:
ca.uhn.fhir.mdm.api.IMdmSurvivorshipService

public class MdmSurvivorshipSvcImpl extends Object implements ca.uhn.fhir.mdm.api.IMdmSurvivorshipService
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends org.hl7.fhir.instance.model.api.IBase>
    void
    applySurvivorshipRulesToGoldenResource(T theTargetResource, T theGoldenResource, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext)
    Merges two golden resources by overwriting all field values on theGoldenResource param for CREATE_RESOURCE, UPDATE_RESOURCE, SUBMIT_RESOURCE_TO_MDM, UPDATE_LINK (when setting to MATCH) and MANUAL_MERGE_GOLDEN_RESOURCES.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • applySurvivorshipRulesToGoldenResource

      public <T extends org.hl7.fhir.instance.model.api.IBase> void applySurvivorshipRulesToGoldenResource(T theTargetResource, T theGoldenResource, ca.uhn.fhir.mdm.model.MdmTransactionContext theMdmTransactionContext)
      Merges two golden resources by overwriting all field values on theGoldenResource param for CREATE_RESOURCE, UPDATE_RESOURCE, SUBMIT_RESOURCE_TO_MDM, UPDATE_LINK (when setting to MATCH) and MANUAL_MERGE_GOLDEN_RESOURCES. PID, identifiers and meta values are not affected by this operation.
      Specified by:
      applySurvivorshipRulesToGoldenResource in interface ca.uhn.fhir.mdm.api.IMdmSurvivorshipService
      Type Parameters:
      T -
      Parameters:
      theTargetResource - Target resource to retrieve fields from
      theGoldenResource - Golden resource to merge fields into
      theMdmTransactionContext - Current transaction context