
Package ca.uhn.fhir.mdm.svc
Class MdmLinkExpandSvc
java.lang.Object
ca.uhn.fhir.mdm.svc.MdmLinkExpandSvc
- All Implemented Interfaces:
IMdmLinkExpandSvc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexpandMdmByGoldenResourceId
(ca.uhn.fhir.model.primitive.IdDt theId) expandMdmByGoldenResourceId
(ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId theGoldenResourcePid) Given a PID of a golden resource, perform MDM expansion and return all the resource IDs of all resources that are MDM-Matched to this golden resource.expandMdmByGoldenResourcePid
(ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId theGoldenResourcePid) Given a resource ID of a golden resource, perform MDM expansion and return all the resource IDs of all resources that are MDM-Matched to this golden resource.expandMdmBySourceResource
(org.hl7.fhir.instance.model.api.IBaseResource theResource) Given a source resource, perform MDM expansion and return all the resource IDs of all resources that are MDM-Matched to this resource.expandMdmBySourceResourceId
(org.hl7.fhir.instance.model.api.IIdType theId) Given a resource ID of a source resource, perform MDM expansion and return all the resource IDs of all resources that are MDM-Matched to this resource.expandMdmBySourceResourcePid
(ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId theSourceResourcePid) Given a PID of a source resource, perform MDM expansion and return all the resource IDs of all resources that are MDM-Matched to this resource.flattenPidTuplesToSet
(ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId initialPid, List<MdmPidTuple> goldenPidSourcePidTuples)
-
Constructor Details
-
MdmLinkExpandSvc
public MdmLinkExpandSvc()
-
-
Method Details
-
expandMdmBySourceResource
public Set<String> expandMdmBySourceResource(org.hl7.fhir.instance.model.api.IBaseResource theResource) Given a source resource, perform MDM expansion and return all the resource IDs of all resources that are MDM-Matched to this resource.- Specified by:
expandMdmBySourceResource
in interfaceIMdmLinkExpandSvc
- Parameters:
theResource
- The resource to MDM-Expand- Returns:
- A set of strings representing the FHIR IDs of the expanded resources.
-
expandMdmBySourceResourceId
Given a resource ID of a source resource, perform MDM expansion and return all the resource IDs of all resources that are MDM-Matched to this resource.- Specified by:
expandMdmBySourceResourceId
in interfaceIMdmLinkExpandSvc
- Parameters:
theId
- The Resource ID of the resource to MDM-Expand- Returns:
- A set of strings representing the FHIR ids of the expanded resources.
-
expandMdmBySourceResourcePid
public Set<String> expandMdmBySourceResourcePid(ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId theSourceResourcePid) Given a PID of a source resource, perform MDM expansion and return all the resource IDs of all resources that are MDM-Matched to this resource.- Specified by:
expandMdmBySourceResourcePid
in interfaceIMdmLinkExpandSvc
- Parameters:
theSourceResourcePid
- The PID of the resource to MDM-Expand- Returns:
- A set of strings representing the FHIR ids of the expanded resources.
-
expandMdmByGoldenResourceId
public Set<String> expandMdmByGoldenResourceId(ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId theGoldenResourcePid) Given a PID of a golden resource, perform MDM expansion and return all the resource IDs of all resources that are MDM-Matched to this golden resource.- Specified by:
expandMdmByGoldenResourceId
in interfaceIMdmLinkExpandSvc
- Parameters:
theGoldenResourcePid
- The PID of the golden resource to MDM-Expand.- Returns:
- A set of strings representing the FHIR ids of the expanded resources.
-
expandMdmByGoldenResourcePid
public Set<String> expandMdmByGoldenResourcePid(ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId theGoldenResourcePid) Given a resource ID of a golden resource, perform MDM expansion and return all the resource IDs of all resources that are MDM-Matched to this golden resource.- Specified by:
expandMdmByGoldenResourcePid
in interfaceIMdmLinkExpandSvc
- Parameters:
theGoldenResourcePid
- The resource ID of the golden resource to MDM-Expand.- Returns:
- A set of strings representing the FHIR ids of the expanded resources.
-
expandMdmByGoldenResourceId
- Specified by:
expandMdmByGoldenResourceId
in interfaceIMdmLinkExpandSvc
-
flattenPidTuplesToSet
@Nonnull public Set<String> flattenPidTuplesToSet(ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId initialPid, List<MdmPidTuple> goldenPidSourcePidTuples)
-