
Package ca.uhn.fhir.mdm.svc
Class MdmEidMatchOnlyExpandSvc
java.lang.Object
ca.uhn.fhir.mdm.svc.MdmEidMatchOnlyExpandSvc
- All Implemented Interfaces:
IMdmLinkExpandSvc
MDM link expansion service that is used when MDM mode is Match-Only and eid systems are defined in Mdm rules.
Expands resources by finding other resources with the same eids.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexpandMdmByGoldenResourceId
(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?> theGoldenResourcePid) 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) expandMdmBySourceResource
(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, org.hl7.fhir.instance.model.api.IBaseResource theResource) expandMdmBySourceResourceId
(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, org.hl7.fhir.instance.model.api.IIdType theId) MDM expands the resource with the given id by finding all resources with the same eids.expandMdmBySourceResourcePid
(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?> theSourceResourcePid) void
setMyEidHelper
(EIDHelper theEidHelper)
-
Constructor Details
-
MdmEidMatchOnlyExpandSvc
-
-
Method Details
-
setMyEidHelper
-
expandMdmBySourceResourceId
public Set<String> expandMdmBySourceResourceId(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, org.hl7.fhir.instance.model.api.IIdType theId) MDM expands the resource with the given id by finding all resources with the same eids.- Specified by:
expandMdmBySourceResourceId
in interfaceIMdmLinkExpandSvc
- Parameters:
theRequestPartitionId
- the partition to search intheId
- the resource ID to expand- Returns:
- set of resource IDs with matching EIDs
-
expandMdmBySourceResource
public Set<String> expandMdmBySourceResource(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, org.hl7.fhir.instance.model.api.IBaseResource theResource) - Specified by:
expandMdmBySourceResource
in interfaceIMdmLinkExpandSvc
-
expandMdmBySourceResourcePid
public Set<String> expandMdmBySourceResourcePid(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?> theSourceResourcePid) - Specified by:
expandMdmBySourceResourcePid
in interfaceIMdmLinkExpandSvc
-
expandMdmByGoldenResourceId
public Set<String> expandMdmByGoldenResourceId(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?> theGoldenResourcePid) - Specified by:
expandMdmByGoldenResourceId
in interfaceIMdmLinkExpandSvc
-
expandMdmByGoldenResourcePid
public Set<String> expandMdmByGoldenResourcePid(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?> theGoldenResourcePid) - Specified by:
expandMdmByGoldenResourcePid
in interfaceIMdmLinkExpandSvc
-
expandMdmByGoldenResourceId
public Set<String> expandMdmByGoldenResourceId(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, org.hl7.fhir.instance.model.api.IIdType theId) - Specified by:
expandMdmByGoldenResourceId
in interfaceIMdmLinkExpandSvc
-