Generic "Encounter List" Widget
3.x Shared Asset - Reuseable Microfrontend Driven by Configuration:
Proof of concept: generic patient summary widget #443 https://github.com/openmrs/openmrs-esm-patient-chart/pull/443
From @Brandon Istenes :
This is a proof of concept for a generic widget that can be added to the patient chart using config. It can be made to display any obs in a table and in a graph. It is a proof of concept: there were no real designs, and I didn't test it with any non-numeric obs; non-numeric obs would probably break it as is.
Consumes a json config. You can add extensions from the implementer tools, but you can't yet configure them that way. I started working on that but it's not quite working enough to PR yet. Until that's there you can just edit the config JSON.
OHRI Current State: Requires coding to set up
From @Samuel Male :
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