Class PatientResourceHandler
- java.lang.Object
-
- org.linuxforhealth.fhir.bulkdata.export.system.resource.SystemExportResourceHandler
-
- org.linuxforhealth.fhir.bulkdata.export.patient.resource.PatientResourceHandler
-
public class PatientResourceHandler extends SystemExportResourceHandler
The PatientResourceHandler controls the population of the Patient Resources (Or Group member Resources into the TransientData object)
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.Set<java.lang.String>
loadedResourceIds
-
Fields inherited from class org.linuxforhealth.fhir.bulkdata.export.system.resource.SystemExportResourceHandler
adapter, searchHelper
-
-
Constructor Summary
Constructors Constructor Description PatientResourceHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Resource>
executeSearch(java.util.Set<java.lang.String> patientIds)
void
register(ExportTransientUserData chunkData, BulkDataContext ctx, FHIRPersistence fhirPersistence, int pageSize, java.lang.Class<? extends Resource> resourceType, java.util.Map<java.lang.Class<? extends Resource>,java.util.List<java.util.Map<java.lang.String,java.util.List<java.lang.String>>>> searchParametersForResoureTypes, java.lang.String provider)
-
Methods inherited from class org.linuxforhealth.fhir.bulkdata.export.system.resource.SystemExportResourceHandler
fillChunkData, getSearchHelper
-
-
-
-
Method Detail
-
register
public void register(ExportTransientUserData chunkData, BulkDataContext ctx, FHIRPersistence fhirPersistence, int pageSize, java.lang.Class<? extends Resource> resourceType, java.util.Map<java.lang.Class<? extends Resource>,java.util.List<java.util.Map<java.lang.String,java.util.List<java.lang.String>>>> searchParametersForResoureTypes, java.lang.String provider)
-
executeSearch
public java.util.List<Resource> executeSearch(java.util.Set<java.lang.String> patientIds) throws java.lang.Exception
- Parameters:
patientIds
- the patient ids to use to scope the search- Throws:
java.lang.Exception
-
-