Class GroupBulkItemReader

  • All Implemented Interfaces:
    org.springframework.batch.item.ItemReader<List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId>>

    public class GroupBulkItemReader
    extends BaseBulkItemReader
    implements org.springframework.batch.item.ItemReader<List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId>>
    Bulk Item reader for the Group Bulk Export job. Instead of performing a normal query on the resource type using type filters, we instead 1. Get the group ID defined for this job 2. Expand its membership so we get references to all patients in the group 3. Optionally further expand that into all MDM-matched Patients (including golden resources) 4. Then perform normal bulk export, filtered so that only results that refer to members are returned.