Class MdmProviderDstu3Plus

java.lang.Object
ca.uhn.fhir.mdm.provider.BaseMdmProvider
ca.uhn.fhir.mdm.provider.MdmProviderDstu3Plus

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     

    Fields inherited from class ca.uhn.fhir.mdm.provider.BaseMdmProvider

    myFhirContext, myMdmControllerSvc
  • Constructor Summary

    Constructors
    Constructor
    Description
    MdmProviderDstu3Plus(ca.uhn.fhir.context.FhirContext theFhirContext, IMdmControllerSvc theMdmControllerSvc, MdmControllerHelper theMdmHelper, IMdmSubmitSvc theMdmSubmitSvc, ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theIInterceptorBroadcaster, IMdmSettings theIMdmSettings)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    org.hl7.fhir.instance.model.api.IBaseParameters
    Helper function to build the out-parameters for all batch MDM operations.
    org.hl7.fhir.instance.model.api.IBaseParameters
    clearMdmLinks(List<org.hl7.fhir.instance.model.api.IPrimitiveType<String>> theResourceNames, org.hl7.fhir.instance.model.api.IPrimitiveType<BigDecimal> theBatchSize, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails)
     
    org.hl7.fhir.instance.model.api.IBaseResource
    createLink(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, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails)
     
    org.hl7.fhir.instance.model.api.IBaseParameters
    getDuplicateGoldenResources(org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theOffset, org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theCount, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theResourceType)
     
    org.hl7.fhir.instance.model.api.IBaseBundle
    match(org.hl7.fhir.instance.model.api.IAnyResource thePatient, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
    Searches for matches for the provided patient resource
    org.hl7.fhir.instance.model.api.IBaseParameters
    mdmBatchOnAllSourceResources(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theResourceType, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCriteria, org.hl7.fhir.instance.model.api.IPrimitiveType<BigDecimal> theBatchSize, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails)
     
    org.hl7.fhir.instance.model.api.IBaseParameters
    mdmBatchPatientInstance(org.hl7.fhir.instance.model.api.IIdType theIdParam, ca.uhn.fhir.rest.api.server.RequestDetails theRequest)
     
    org.hl7.fhir.instance.model.api.IBaseParameters
    mdmBatchPatientType(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCriteria, org.hl7.fhir.instance.model.api.IPrimitiveType<BigDecimal> theBatchSize, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequest)
     
    org.hl7.fhir.instance.model.api.IBaseParameters
    mdmBatchPractitionerInstance(org.hl7.fhir.instance.model.api.IIdType theIdParam, ca.uhn.fhir.rest.api.server.RequestDetails theRequest)
     
    org.hl7.fhir.instance.model.api.IBaseParameters
    mdmBatchPractitionerType(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCriteria, org.hl7.fhir.instance.model.api.IPrimitiveType<BigDecimal> theBatchSize, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequest)
     
    org.hl7.fhir.instance.model.api.IBaseResource
    mergeGoldenResources(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theFromGoldenResourceId, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theToGoldenResourceId, org.hl7.fhir.instance.model.api.IAnyResource theMergedResource, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
     
    org.hl7.fhir.instance.model.api.IBaseParameters
    notDuplicate(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theGoldenResourceId, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theResourceId, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails)
     
    org.hl7.fhir.instance.model.api.IBaseParameters
    queryLinks(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, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theLinkSource, org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theOffset, org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theCount, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theSort, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theResourceType)
     
    org.hl7.fhir.instance.model.api.IBaseBundle
    serverMatch(org.hl7.fhir.instance.model.api.IAnyResource theResource, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theResourceType, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
    Searches for matches for hte provided resource.
    org.hl7.fhir.instance.model.api.IBaseResource
    updateLink(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, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails)
     

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • MdmProviderDstu3Plus

      public MdmProviderDstu3Plus(ca.uhn.fhir.context.FhirContext theFhirContext, IMdmControllerSvc theMdmControllerSvc, MdmControllerHelper theMdmHelper, IMdmSubmitSvc theMdmSubmitSvc, ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theIInterceptorBroadcaster, IMdmSettings theIMdmSettings)
      Constructor

      Note that this is not a spring bean. Any necessary injections should happen in the constructor

  • Method Details

    • match

      public org.hl7.fhir.instance.model.api.IBaseBundle match(org.hl7.fhir.instance.model.api.IAnyResource thePatient, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
      Searches for matches for the provided patient resource
      Parameters:
      thePatient - - the patient resource
      theRequestDetails - - the request details
      Returns:
      - any matches to the provided patient resource
    • serverMatch

      public org.hl7.fhir.instance.model.api.IBaseBundle serverMatch(org.hl7.fhir.instance.model.api.IAnyResource theResource, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theResourceType, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
      Searches for matches for hte provided resource.
      Parameters:
      theResource - - the resource to match on
      theResourceType - - the resource type
      theRequestDetails - - the request details
      Returns:
      - any matches to the provided resource
    • mergeGoldenResources

      public org.hl7.fhir.instance.model.api.IBaseResource mergeGoldenResources(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theFromGoldenResourceId, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theToGoldenResourceId, org.hl7.fhir.instance.model.api.IAnyResource theMergedResource, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
    • updateLink

      public org.hl7.fhir.instance.model.api.IBaseResource updateLink(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, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails)
    • createLink

      public org.hl7.fhir.instance.model.api.IBaseResource createLink(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, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails)
    • clearMdmLinks

      public org.hl7.fhir.instance.model.api.IBaseParameters clearMdmLinks(List<org.hl7.fhir.instance.model.api.IPrimitiveType<String>> theResourceNames, org.hl7.fhir.instance.model.api.IPrimitiveType<BigDecimal> theBatchSize, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails)
    • queryLinks

      public org.hl7.fhir.instance.model.api.IBaseParameters queryLinks(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, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theLinkSource, org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theOffset, org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theCount, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theSort, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theResourceType)
    • getDuplicateGoldenResources

      public org.hl7.fhir.instance.model.api.IBaseParameters getDuplicateGoldenResources(org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theOffset, org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theCount, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theResourceType)
    • notDuplicate

      public org.hl7.fhir.instance.model.api.IBaseParameters notDuplicate(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theGoldenResourceId, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theResourceId, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails)
    • mdmBatchOnAllSourceResources

      public org.hl7.fhir.instance.model.api.IBaseParameters mdmBatchOnAllSourceResources(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theResourceType, org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCriteria, org.hl7.fhir.instance.model.api.IPrimitiveType<BigDecimal> theBatchSize, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails)
    • mdmBatchPatientInstance

      public org.hl7.fhir.instance.model.api.IBaseParameters mdmBatchPatientInstance(org.hl7.fhir.instance.model.api.IIdType theIdParam, ca.uhn.fhir.rest.api.server.RequestDetails theRequest)
    • mdmBatchPatientType

      public org.hl7.fhir.instance.model.api.IBaseParameters mdmBatchPatientType(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCriteria, org.hl7.fhir.instance.model.api.IPrimitiveType<BigDecimal> theBatchSize, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequest)
    • mdmBatchPractitionerInstance

      public org.hl7.fhir.instance.model.api.IBaseParameters mdmBatchPractitionerInstance(org.hl7.fhir.instance.model.api.IIdType theIdParam, ca.uhn.fhir.rest.api.server.RequestDetails theRequest)
    • mdmBatchPractitionerType

      public org.hl7.fhir.instance.model.api.IBaseParameters mdmBatchPractitionerType(org.hl7.fhir.instance.model.api.IPrimitiveType<String> theCriteria, org.hl7.fhir.instance.model.api.IPrimitiveType<BigDecimal> theBatchSize, ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequest)
    • buildMdmOutParametersWithCount

      public org.hl7.fhir.instance.model.api.IBaseParameters buildMdmOutParametersWithCount(long theCount)
      Helper function to build the out-parameters for all batch MDM operations.