The Medications available for ordering should be fetched from the Concept Drugs table. However, currently (as you can see in the screen shots below), the Concept Drugs are not at all connected to the Order options list.
Currently, drugs for the esm-medication app are being defined in this separate JSON: https://github.com/openmrs/openmrs-esm-patient-chart/blob/master/packages/esm-patient-medications-app/src/api/common-medication.json
Note: How would we plan to configure these drug lists at scale?
For the 3.x RefApp, and OHRI, and other packages or distros, we recommend that those writing the drug lists use a csv, which can then be robustly supported within a configuration file, which Initializer can then apply to the EMR directly - thus avoiding manual repetitive work to re-configure the drug list for each new site or implementation.
- Iniz Drug Config README: https://github.com/mekomsolutions/openmrs-module-initializer/blob/master/readme/drugs.md
- Example CSV for OHRI: https://docs.google.com/spreadsheets/d/1Xll1sPUE5KMFp-QspGXRlMW988FqcTXC-7oiUECXUQQ/edit?usp=sharing