
Package ca.uhn.fhir.mdm.svc
Class BulkExportMdmResourceExpander
java.lang.Object
ca.uhn.fhir.mdm.svc.BulkExportMdmResourceExpander
- All Implemented Interfaces:
IBulkExportMdmResourceExpander
Implementation of MDM resource expansion for bulk export operations.
Expands group memberships via MDM links and annotates exported resources with golden resource references.
-
Constructor Summary
ConstructorsConstructorDescriptionBulkExportMdmResourceExpander(MdmExpansionCacheSvc theMdmExpansionCacheSvc, IMdmLinkDao theMdmLinkDao, IIdHelperService<ca.uhn.fhir.jpa.model.dao.JpaPid> theIdHelperService, DaoRegistry theDaoRegistry, ca.uhn.fhir.context.FhirContext theFhirContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidannotateResource(org.hl7.fhir.instance.model.api.IBaseResource iBaseResource) annotates the given resource to be exported with the implementation specific extra information if applicableSet<ca.uhn.fhir.jpa.model.dao.JpaPid> expandGroup(String theGroupResourceId, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId) For the Group resource with the given id, returns all the persistent id ofs the members of the group + the mdm matched resources to a member in the group
-
Constructor Details
-
BulkExportMdmResourceExpander
public BulkExportMdmResourceExpander(MdmExpansionCacheSvc theMdmExpansionCacheSvc, IMdmLinkDao theMdmLinkDao, IIdHelperService<ca.uhn.fhir.jpa.model.dao.JpaPid> theIdHelperService, DaoRegistry theDaoRegistry, ca.uhn.fhir.context.FhirContext theFhirContext)
-
-
Method Details
-
expandGroup
public Set<ca.uhn.fhir.jpa.model.dao.JpaPid> expandGroup(String theGroupResourceId, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId) Description copied from interface:IBulkExportMdmResourceExpanderFor the Group resource with the given id, returns all the persistent id ofs the members of the group + the mdm matched resources to a member in the group- Specified by:
expandGroupin interfaceIBulkExportMdmResourceExpander
-
annotateResource
Description copied from interface:IBulkExportMdmResourceExpanderannotates the given resource to be exported with the implementation specific extra information if applicable- Specified by:
annotateResourcein interfaceIBulkExportMdmResourceExpander
-