# Doing certain things via the evolving order entry API

**URL:** <https://talk.openmrs.org/t/doing-certain-things-via-the-evolving-order-entry-api/5140>\
**Category:** Development\
**Tags:** drug-administration, order-entry, order, orders\
**Created:** [March 7, 2016, 9:51am UTC](https://talk.openmrs.org/t/doing-certain-things-via-the-evolving-order-entry-api/5140 "2016-03-07T09:51:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![k.joseph](https://talk.openmrs.org/user_avatar/talk.openmrs.org/k.joseph/32/8097_2.png) [@k.joseph](https://talk.openmrs.org/u/k.joseph)\
**Post date:** [March 7, 2016, 9:51am UTC](https://talk.openmrs.org/t/doing-certain-things-via-the-evolving-order-entry-api/5140/1 "2016-03-07T09:51:34Z")

</div>

The Order entry API has gone through a lot of evolution and most of the documentation on wiki is out-dated, i think we need to write a stable dev approach document to clear up the gaps. Am supporting/writing drug ordering or management on OpenMRS Platform 1.11.5 and seems to take long time figuring out how to do certain things; here are some of my observations and questions where i need to be highlighted.

- Some Drug order properties such as instruction, dosing instructions, action seem to be un editable until the order is first revised when editing it
- How can one continue or reverse discontinue order?? I have tried revise, setAction and save but not successful
-

---

<div class="post-metadata">

**Author:** ![wyclif](https://talk.openmrs.org/user_avatar/talk.openmrs.org/wyclif/32/19607_2.png) [@wyclif](https://talk.openmrs.org/u/wyclif)\
**Post date:** [March 7, 2016, 3:55pm UTC](https://talk.openmrs.org/t/doing-certain-things-via-the-evolving-order-entry-api/5140/2 "2016-03-07T15:55:51Z")

</div>

Hi @k\_joseph !

Are you following this newer [order entry documentation](https://wiki.openmrs.org/x/JoA5B) page?

---

<div class="post-metadata">

**Author:** ![burke](https://talk.openmrs.org/user_avatar/talk.openmrs.org/burke/32/17_2.png) [@burke](https://talk.openmrs.org/u/burke)\
**Post date:** [March 7, 2016, 3:59pm UTC](https://talk.openmrs.org/t/doing-certain-things-via-the-evolving-order-entry-api/5140/3 "2016-03-07T15:59:01Z")

</div>

> [@wyclif](#):
>
> Are you following this newer order entry documentation page?

And, if not, which pages? If there are pages that are misleading, then they need to be edited, moved, or deleted to reduce confusion for the next person.

---

<div class="post-metadata">

**Author:** ![k.joseph](https://talk.openmrs.org/user_avatar/talk.openmrs.org/k.joseph/32/8097_2.png) [@k.joseph](https://talk.openmrs.org/u/k.joseph)\
**Post date:** [March 7, 2016, 5:21pm UTC](https://talk.openmrs.org/t/doing-certain-things-via-the-evolving-order-entry-api/5140/4 "2016-03-07T17:21:34Z")

</div>

There are a number if documents that are outdated;

- [https://wiki.openmrs.org/pages/viewpage.action?pageId=34146504](https://wiki.openmrs.org/pages/viewpage.action?pageId=34146504)
- [https://wiki.openmrs.org/display/projects/Order+Entry+Module+Design](https://wiki.openmrs.org/display/projects/Order+Entry+Module+Design)
- [https://wiki.openmrs.org/display/projects/Order+Entry+API+Scenarios](https://wiki.openmrs.org/display/projects/Order+Entry+API+Scenarios)
- [https://wiki.openmrs.org/display/projects/Order+Actions+and+States](https://wiki.openmrs.org/display/projects/Order+Actions+and+States)
- [https://wiki.openmrs.org/display/projects/Order+Model](https://wiki.openmrs.org/display/projects/Order+Model)

How can i continue an order or a drug order

---

<div class="post-metadata">

**Author:** ![wyclif](https://talk.openmrs.org/user_avatar/talk.openmrs.org/wyclif/32/19607_2.png) [@wyclif](https://talk.openmrs.org/u/wyclif)\
**Post date:** [March 7, 2016, 7:43pm UTC](https://talk.openmrs.org/t/doing-certain-things-via-the-evolving-order-entry-api/5140/5 "2016-03-07T19:43:48Z")

</div>

Some of those are design pages as indicted in their titles, though we need to get rid of them since that phase ended anyways

---

<div class="post-metadata">

**Author:** ![k.joseph](https://talk.openmrs.org/user_avatar/talk.openmrs.org/k.joseph/32/8097_2.png) [@k.joseph](https://talk.openmrs.org/u/k.joseph)\
**Post date:** [March 8, 2016, 10:24pm UTC](https://talk.openmrs.org/t/doing-certain-things-via-the-evolving-order-entry-api/5140/6 "2016-03-08T22:24:42Z")

</div>

Any response to my last question after the pages list!!!

Some DrugOrder in Platform 1.7.0 had a property called units, however we now have three properties such as doseUnits, quantityUnits and durationUnit. Am finding it hard to differentiate which of dose or quantity units is actually the initial units property?

---

<div class="post-metadata">

**Author:** ![wyclif](https://talk.openmrs.org/user_avatar/talk.openmrs.org/wyclif/32/19607_2.png) [@wyclif](https://talk.openmrs.org/u/wyclif)\
**Post date:** [March 9, 2016, 10:36pm UTC](https://talk.openmrs.org/t/doing-certain-things-via-the-evolving-order-entry-api/5140/7 "2016-03-09T22:36:33Z")

</div>

In 1.10 units became doseUnits
