Class MdmCandidateSearchSvc

java.lang.Object
ca.uhn.fhir.jpa.mdm.svc.candidate.MdmCandidateSearchSvc

@Service public class MdmCandidateSearchSvc extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Collection<org.hl7.fhir.instance.model.api.IAnyResource>
    findCandidates(String theResourceType, org.hl7.fhir.instance.model.api.IAnyResource theResource, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
    Given a source resource, search for all resources that are considered an MDM match based on defined MDM rules.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • findCandidates

      @Transactional public Collection<org.hl7.fhir.instance.model.api.IAnyResource> findCandidates(String theResourceType, org.hl7.fhir.instance.model.api.IAnyResource theResource, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
      Given a source resource, search for all resources that are considered an MDM match based on defined MDM rules.
      Parameters:
      theResourceType - the resource type of the resource being matched
      theResource - the IBaseResource we are attempting to match.
      theRequestPartitionId - the RequestPartitionId representation of the partitions we are limited to when attempting to match
      Returns:
      the list of candidate IBaseResource which could be matches to theResource