
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.interceptor.model.RequestPartitionId theRequestPartitionId, 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.expandMdmByGoldenResourceId(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, org.hl7.fhir.instance.model.api.IIdType theId) expandMdmByGoldenResourcePid(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, 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(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, 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(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, 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.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?> theSourceResourcePid) Given a partition ID and 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.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?> theInitialPid, List<MdmPidTuple<?>> theGoldenPidSourcePidTuples)
-
Constructor Details
-
MdmLinkExpandSvc
public MdmLinkExpandSvc()
-
-
Method Details
-
expandMdmBySourceResource
public Set<String> expandMdmBySourceResource(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, 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:
expandMdmBySourceResourcein interfaceIMdmLinkExpandSvc- Parameters:
theResource- The resource to MDM-Expand- Returns:
- A set of strings representing the FHIR IDs of the expanded resources.
-
expandMdmBySourceResourceId
public Set<String> expandMdmBySourceResourceId(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, 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.- Specified by:
expandMdmBySourceResourceIdin interfaceIMdmLinkExpandSvc- Parameters:
theRequestPartitionId- The partition ID associated with the request.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.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?> theSourceResourcePid) Given a partition ID and 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:
expandMdmBySourceResourcePidin interfaceIMdmLinkExpandSvc- Parameters:
theRequestPartitionId- The partition ID associated with the request.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.interceptor.model.RequestPartitionId theRequestPartitionId, 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:
expandMdmByGoldenResourceIdin interfaceIMdmLinkExpandSvc- Parameters:
theRequestPartitionId- Partition information from the requesttheGoldenResourcePid- 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.interceptor.model.RequestPartitionId theRequestPartitionId, 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:
expandMdmByGoldenResourcePidin interfaceIMdmLinkExpandSvc- Parameters:
theRequestPartitionId- Partition information from the requesttheGoldenResourcePid- The resource ID of the golden 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.interceptor.model.RequestPartitionId theRequestPartitionId, org.hl7.fhir.instance.model.api.IIdType theId) - Specified by:
expandMdmByGoldenResourceIdin interfaceIMdmLinkExpandSvc
-
flattenPidTuplesToSet
@Nonnull public Set<String> flattenPidTuplesToSet(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?> theInitialPid, List<MdmPidTuple<?>> theGoldenPidSourcePidTuples)
-