Interface IMdmSurvivorshipService


public interface IMdmSurvivorshipService
Service that applies survivorship rules on target and golden resources.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends org.hl7.fhir.instance.model.api.IBase>
    void
    applySurvivorshipRulesToGoldenResource​(T theTargetResource, T theGoldenResource, MdmTransactionContext theMdmTransactionContext)
    Applies survivorship rules to merge fields from the specified target resource to the golden resource.
  • Method Details

    • applySurvivorshipRulesToGoldenResource

      <T extends org.hl7.fhir.instance.model.api.IBase> void applySurvivorshipRulesToGoldenResource(T theTargetResource, T theGoldenResource, MdmTransactionContext theMdmTransactionContext)
      Applies survivorship rules to merge fields from the specified target resource to the golden resource. Survivorship rules may include, but not limited to the following data consolidation methods:
      • Length of field - apply the field value containing most or least number of characters - e.g. longest name
      • Date time - all the field value from the oldest or the newest recrod - e.g. use the most recent phone number
      • Frequency - use the most or least frequent number of occurrence - e.g. most common phone number
      • Integer - number functions (largest, sum, avg) - e.g. number of patient encounters
      • Quality of data - best quality data - e.g. data coming from a certain system is considered trusted and overrides all other values
      • A hybrid approach combining all methods listed above as best fits
      Type Parameters:
      T - Resource type to apply the survivorship rules to
      Parameters:
      theTargetResource - Target resource to merge fields from
      theGoldenResource - Golden resource to merge fields into
      theMdmTransactionContext - Current transaction context