Class PatientResourceHandler


  • public class PatientResourceHandler
    extends SystemExportResourceHandler
    The PatientResourceHandler controls the population of the Patient Resources (Or Group member Resources into the TransientData object)
    • Field Detail

      • loadedResourceIds

        java.util.Set<java.lang.String> loadedResourceIds
    • Constructor Detail

      • PatientResourceHandler

        public PatientResourceHandler()
    • 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