Interface IMdmSubmitSvc


public interface IMdmSubmitSvc
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setBufferSize(int theBufferSize)
    Buffer size for fetching results to add to MDM queue.
    void
    setMdmSettings(IMdmSettings theMdmSettings)
    This setter exists to allow imported modules to override settings.
    long
    submitAllSourceTypesToMdm(String theCriteria, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
    Submit all eligible resources for MDM processing.
    long
    submitPatientTypeToMdm(String theCriteria, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
    Convenience method that calls #submitSourceResourceTypeToMdm(String, String) with the type pre-populated.
    long
    submitPractitionerTypeToMdm(String theCriteria, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
    Convenience method that calls #submitSourceResourceTypeToMdm(String, String) with the type pre-populated.
    long
    submitSourceResourceToMdm(org.hl7.fhir.instance.model.api.IIdType theId, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
    Given an ID and a source resource type valid for MDM, manually submit the given ID for MDM processing.
    long
    submitSourceResourceTypeToMdm(String theSourceResourceType, String theCriteria, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
    Given a type and a search criteria, submit all found resources for MDM processing.
  • Method Details

    • submitAllSourceTypesToMdm

      long submitAllSourceTypesToMdm(@Nullable String theCriteria, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
      Submit all eligible resources for MDM processing.
      Parameters:
      theCriteria - The FHIR search critieria for filtering the resources to be submitted for MDM processing. NOTE: When using this function, the criteria supplied must be valid for all MDM types. e.g. , if you run this with the criteria birthDate=1990-06-28, it will fail, as Practitioners do not have a birthday. Use with caution.
      Returns:
    • submitSourceResourceTypeToMdm

      long submitSourceResourceTypeToMdm(String theSourceResourceType, String theCriteria, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
      Given a type and a search criteria, submit all found resources for MDM processing.
      Parameters:
      theSourceResourceType - the resource type that you wish to execute a search over for submission to MDM.
      theCriteria - The FHIR search critieria for filtering the resources to be submitted for MDM processing..
      Returns:
      the number of resources submitted for MDM processing.
    • submitPractitionerTypeToMdm

      long submitPractitionerTypeToMdm(String theCriteria, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
      Convenience method that calls #submitSourceResourceTypeToMdm(String, String) with the type pre-populated.
      Parameters:
      theCriteria - The FHIR search critieria for filtering the resources to be submitted for MDM processing.
      Returns:
      the number of resources submitted for MDM processing.
    • submitPatientTypeToMdm

      long submitPatientTypeToMdm(String theCriteria, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
      Convenience method that calls #submitSourceResourceTypeToMdm(String, String) with the type pre-populated.
      Parameters:
      theCriteria - The FHIR search critieria for filtering the resources to be submitted for MDM processing.
      Returns:
      the number of resources submitted for MDM processing.
    • submitSourceResourceToMdm

      long submitSourceResourceToMdm(org.hl7.fhir.instance.model.api.IIdType theId, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
      Given an ID and a source resource type valid for MDM, manually submit the given ID for MDM processing.
      Parameters:
      theId - the ID of the resource to process for MDM.
      Returns:
      the constant `1`, as if this function returns successfully, it will have processed one resource for MDM.
    • setMdmSettings

      void setMdmSettings(IMdmSettings theMdmSettings)
      This setter exists to allow imported modules to override settings.
      Parameters:
      theMdmSettings - Settings to set
    • setBufferSize

      void setBufferSize(int theBufferSize)
      Buffer size for fetching results to add to MDM queue.
      Parameters:
      theBufferSize -