Class PatientBulkItemReader

java.lang.Object
ca.uhn.fhir.jpa.bulk.export.job.BaseBulkItemReader
ca.uhn.fhir.jpa.bulk.export.job.BaseJpaBulkItemReader
ca.uhn.fhir.jpa.bulk.export.job.PatientBulkItemReader
All Implemented Interfaces:
org.springframework.batch.item.ItemReader<List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId>>

public class PatientBulkItemReader extends BaseJpaBulkItemReader implements org.springframework.batch.item.ItemReader<List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId>>
Bulk Item reader for the Patient Bulk Export job. Instead of performing a normal query on the resource type using type filters, we instead 1. Determine the resourcetype 2. Search for anything that has `patient-compartment-search-param:missing=false`
  • Constructor Details

  • Method Details

    • getResourcePidIterator

      protected Iterator<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> getResourcePidIterator()
      Specified by:
      getResourcePidIterator in class ca.uhn.fhir.jpa.bulk.export.job.BaseBulkItemReader