Class BaseMdmProvider

java.lang.Object
ca.uhn.fhir.mdm.provider.BaseMdmProvider
Direct Known Subclasses:
MdmProviderDstu3Plus

public abstract class BaseMdmProvider extends Object
  • Field Details

    • myFhirContext

      protected final ca.uhn.fhir.context.FhirContext myFhirContext
  • Constructor Details

    • BaseMdmProvider

      public BaseMdmProvider(ca.uhn.fhir.context.FhirContext theFhirContext)
  • Method Details

    • validateMergeParameters

      protected void validateMergeParameters(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theFromGoldenResourceId, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theToGoldenResourceId)
    • validateUpdateLinkParameters

      protected void validateUpdateLinkParameters(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theGoldenResourceId, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theResourceId, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theMatchResult)
    • validateNotDuplicateParameters

      protected void validateNotDuplicateParameters(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theGoldenResourceId, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theResourceId)
    • validateCreateLinkParameters

      protected void validateCreateLinkParameters(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theGoldenResourceId, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theResourceId, @Nullable org.hl7.fhir.instance.model.api.IPrimitiveType<String> theMatchResult)
    • createMdmContext

      protected MdmTransactionContext createMdmContext(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, MdmTransactionContext.OperationType theOperationType, String theResourceType)
    • extractStringOrNull

      protected String extractStringOrNull(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theString)
    • parametersFromMdmLinks

      protected org.hl7.fhir.instance.model.api.IBaseParameters parametersFromMdmLinks(org.springframework.data.domain.Page<MdmLinkJson> theMdmLinkStream, boolean includeResultAndSource, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theServletRequestDetails, MdmPageRequest thePageRequest)
    • addPagingParameters

      protected void addPagingParameters(org.hl7.fhir.instance.model.api.IBaseParameters theParameters, org.springframework.data.domain.Page<MdmLinkJson> theCurrentPage, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theServletRequestDetails, MdmPageRequest thePageRequest)