...
In config file openmrs/apps/clinical/medication.json include this
“showRulesInMedication”: true
. This config enables the Dosage Rule field in Medication Page in Order Drug accordion.To enable the drop-down. Follow this:Order Set Rules
Include the below values in rulesengine-concept.properties file
concept.weight.uuid=${WEIGHT_CONCEPT_UUID}
concept.height.uuid=${HEIGHT_CONCEPT_UUID}
We have provided ability to set units for the dosage rules we select. If no units are mentioned then we will see all the units by default for that dosage rule.
For Example: “mg/kg“ has “mg” and “ml” as their dosageRuleUnitsMap. Then in the medication dose units dropdown we will get only these two as the dropdown values.
Note:
In the medications Page, if you wish to prescribe a medication keeping frequency, duration and duration unit as optional, the route of those medication can be added in
continuousMedicationRoutes
configuration as shown below as an example.
...