Class GroupBulkItemReader

  • All Implemented Interfaces:

    public class GroupBulkItemReader
    extends BaseBulkItemReader
    implements org.springframework.batch.item.ItemReader<List<>>
    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.