Current State:
- Encounter List Code: https://github.com/UCSF-IGHS/openmrs-esm-ohri/blob/master/src/components/encounter-list/encounter-list.component.tsx#L59-L246
- Example: Creates list of CD4 results, ordered by encounter https://github.com/UCSF-IGHS/openmrs-esm-ohri/blob/75ba12aaade2f4a0f0d16b9d24ce82b006bc85ea/src/pages/lab-results/cd4/cd4-encounter-list.component.tsx#L51-L69
In the future, we envision making this more configurable so that it only consumes a json config. With this we could declaratively create instances of the dashboard widgets