Class MdmCandidateSearchSvc
java.lang.Object
ca.uhn.fhir.jpa.mdm.svc.candidate.MdmCandidateSearchSvc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<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.
-
Constructor Details
-
MdmCandidateSearchSvc
public MdmCandidateSearchSvc()
-
-
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 matchedtheResource- theIBaseResourcewe are attempting to match.theRequestPartitionId- theRequestPartitionIdrepresentation of the partitions we are limited to when attempting to match- Returns:
- the list of candidate
IBaseResourcewhich could be matches to theResource
-