Wiki Spaces
Documentation
Projects
Resources
Get Help from Others
Q&A: Ask OpenMRS »
Discussion: OpenMRS Talk »
Real-Time: IRC Chat
To use the Order Entry API, you need to configure certain pieces of metadata, described here.
You must add rows to the order_frequency
table. These frequencies must be represented by concepts, but can also have additional information allowing them to be machine-interpreted. See OrderFrequency.java.
At present there is no UI for managing order frequencies, so you must populate them via the orderfrequency
REST resource, via the Java API, or via SQL.
Set the Advanced Setting order.drugRoutesConceptUuid
to be the UUID of a concept set containing routes.
Set the Advanced Setting order.drugDispensingUnitsConceptUuid
to be the UUID of a concept set containing dosing units.
Set the Advanced Setting order.drugDispensingUnitsConceptUuid
to be the UUID of a concept set containing dispensing units. This set will typically be similar to the Dosing Units set, but might also include concepts that represent packages, bottles, etc.
Duration Units
Set the Advanced Setting order.durationUnitsConceptUuid
to be the UUID of a concept containing duration units.
The concepts in this set must have a SAME-AS
mapping to a SNOMED-CT concept source with a code for one of the durations listed in the Duration.java class. (Currently: seconds, minutes, hours, days, weeks, months, years.)
Set the Advanced Setting order.testSpecimenSourcesConceptUuid
to be the UUID of a concept containing possible specimen sources for lab tests