...
- For discontinuation orders, concept and its previous order's concept must be the same
- The dateStopped of a previous order should be the same as the start date of the revised or discontinued order
- Cannot order retired orderables e.g retired drugs or concepts? In case of retrospective data entry dateStarted should come before dateRetired
- Unit concepts(quantity, duration and dose units) should be of units concept class(es)
- Frequency concepts should be of frequency concept class
order.startDate can't be before its encounter's encounterDatetime
the the order being revised or the previous can't be a DC order
Patient Patient can't be on the same order at the same time, for drug orders, exception is the patient can be on different formulations but same concept.
Class Class type for DC and drug order should match, same for revision
scheduledscheduled_date can only be specified with the correct urgency, currently the only supported urgency is ON_SCHEDULED_DATE but there could be others added
orderorder.startDate can't be in the future
...