Component Overlap for Pharmacy and Queue features
tl;dr: There is overlap between components needed for the Service Queues, Pharmacy Module, and what's already available in the public OHRI repo.
Goal:
A) Please review the 2 relevant components already built by OHRI to see if your team would like to adopt these for the pages you're building.
B) We hope that the Pharmacy Module dev team (PIH) and the Queues dev team (Palladium) will be able to collaborate so the approach is relatively shared.
As shown in the image on the right, there are (at least) 3 areas of design overlap between the Dispensing Wireframes and the Queues Wireframes:
Tiles
Patient List
Side Nav (in expanded detail view)
This other image is a screenshot from the production OHRI demo. You can see that Tiles and a simple Pt List exist there.
Tiles: The summary tiles come from the ohri-programme-summary-tiles component: https://github.com/UCSF-IGHS/openmrs-esm-ohri/blob/master/src/components/tile/ohri-programme-summary-tiles.component.tsx UCSF proposes that this component should be promoted to a 3.x component library and available for all ESMs. More abstraction and cleanup might be needed but possibly they can be used as is for now.
The tabs (containing the pt lists) come from ohri-patient-list-tabs component: https://github.com/UCSF-IGHS/openmrs-esm-ohri/blob/master/src/components/patient-list-tabs/ohri-patient-list-tabs.component.tsx If you dig deep into this component you will see that they use the PatientList components that @Samuel Male built on the patient-chart esm