Package ca.uhn.fhir.mdm.api
Interface IGoldenResourceMergerSvc
public interface IGoldenResourceMergerSvc
-
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.instance.model.api.IAnyResource
Move all links from the theFromGoldenResource to theToGoldenResource and then set active=false on theFromGoldenResource.
-
Method Details
-
mergeGoldenResources
org.hl7.fhir.instance.model.api.IAnyResource mergeGoldenResources(MdmMergeGoldenResourcesParams theParams) Move all links from the theFromGoldenResource to theToGoldenResource and then set active=false on theFromGoldenResource. Merge all Golden Resource fields subject to survivorship rules.- Parameters:
theFromGoldenResource
- the golden resource we are merging fromtheManuallyMergedResource
- an optional golden resource that was manually mergedtheToGoldenResource
- the golden resource we are merging to- Returns:
- updated theToGoldenResource with the merged fields and links.
-