Class MdmControllerHelper

java.lang.Object
ca.uhn.fhir.mdm.provider.MdmControllerHelper

@Service public class MdmControllerHelper extends Object
  • Constructor Details

  • Method Details

    • validateSameVersion

      public void validateSameVersion(org.hl7.fhir.instance.model.api.IAnyResource theResource, String theResourceId)
    • getLatestGoldenResourceFromIdOrThrowException

      public org.hl7.fhir.instance.model.api.IAnyResource getLatestGoldenResourceFromIdOrThrowException(String theParamName, String theGoldenResourceId)
    • getLatestSourceFromIdOrThrowException

      public org.hl7.fhir.instance.model.api.IAnyResource getLatestSourceFromIdOrThrowException(String theParamName, String theSourceId)
    • loadResource

      protected org.hl7.fhir.instance.model.api.IAnyResource loadResource(org.hl7.fhir.instance.model.api.IIdType theResourceId)
    • validateMergeResources

      public void validateMergeResources(org.hl7.fhir.instance.model.api.IAnyResource theFromGoldenResource, org.hl7.fhir.instance.model.api.IAnyResource theToGoldenResource)
    • toJson

      public String toJson(org.hl7.fhir.instance.model.api.IAnyResource theAnyResource)
    • validateIsMdmManaged

      public void validateIsMdmManaged(String theName, org.hl7.fhir.instance.model.api.IAnyResource theResource)
    • getMatchesAndPossibleMatchesForResource

      public org.hl7.fhir.instance.model.api.IBaseBundle getMatchesAndPossibleMatchesForResource(org.hl7.fhir.instance.model.api.IAnyResource theResource, String theResourceType, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
      Helper method which will return a bundle of all Matches and Possible Matches.
    • toBundleEntrySearchComponent

      public org.hl7.fhir.instance.model.api.IBaseBackboneElement toBundleEntrySearchComponent(BundleBuilder theBuilder, org.hl7.fhir.instance.model.api.IBaseBackboneElement theSearch, MatchedTarget theMatchedTarget)
    • getMatchGrade

      @Nonnull protected String getMatchGrade(MatchedTarget theTheMatchedTarget)