# Medication amounts and units

**URL:** <https://discourse.openehr.org/t/medication-amounts-and-units/1935>\
**Category:** Clinical\
**Tags:** modelling-patterns\
**Created:** [13 October 2021 14:15 UTC](https://discourse.openehr.org/t/medication-amounts-and-units/1935 "2021-10-13T14:15:32Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![siljelb](https://discourse.openehr.org/user_avatar/discourse.openehr.org/siljelb/32/12_2.png) [@siljelb](https://discourse.openehr.org/u/siljelb)\
**Post date:** [13 October 2021 14:15 UTC](https://discourse.openehr.org/t/medication-amounts-and-units/1935/1 "2021-10-13T14:15:32Z")

</div>

We should maybe revisit the current modelling patterns for medication amounts and their units. Currently, we have amounts expressed as a DV\_QUANTIY with units constrained to ‘1’, and an additional DV\_TEXT element for the unit. This undermines the DV\_QUANTITY data type, and doesn’t work particularly well when using form builders. This pattern is currently used in these archetypes (that I can find):

- [INSTRUCTION.medication\_order.v2](https://ckm.openehr.org/ckm/archetypes/1013.1.3124)
- [CLUSTER.medication.v1](https://ckm.openehr.org/ckm/archetypes/1013.1.2368)
- [CLUSTER.dosage.v1](https://ckm.openehr.org/ckm/archetypes/1013.1.2751)
- [CLUSTER.medication\_supply\_amount.v0](https://ckm.openehr.org/ckm/archetypes/1013.1.2453)

I suspect this modelling pattern was originally created to get around some tooling issue regarding templating units, but I think that’s been corrected now. I think we should at the very least unconstrain the units of all DV\_QUANTITY elements modelled like this, and possibly also removing the corresponding DV\_TEXT unit elements.

---

<div class="post-metadata">

**Author:** ![ian.mcnicoll](https://discourse.openehr.org/user_avatar/discourse.openehr.org/ian.mcnicoll/32/4430_2.png) [@ian.mcnicoll](https://discourse.openehr.org/u/ian.mcnicoll)\
**Post date:** [13 October 2021 14:55 UTC](https://discourse.openehr.org/t/medication-amounts-and-units/1935/2 "2021-10-13T14:55:42Z")

</div>

Yes . It was due to Quantity originally not supporting non-UCUM units.

---

<div class="post-metadata">

**Author:** ![siljelb](https://discourse.openehr.org/user_avatar/discourse.openehr.org/siljelb/32/12_2.png) [@siljelb](https://discourse.openehr.org/u/siljelb)\
**Post date:** [14 October 2021 13:55 UTC](https://discourse.openehr.org/t/medication-amounts-and-units/1935/3 "2021-10-14T13:55:52Z")

</div>

I’m glad you agree! I’ve created new revision branches for each of the archetypes:

- [INSTRUCTION.medication\_order](https://ckm.openehr.org/ckm/archetypes/1013.1.5812)
- [CLUSTER.medication](https://ckm.openehr.org/ckm/archetypes/1013.1.5811)
- [CLUSTER.dosage](https://ckm.openehr.org/ckm/archetypes/1013.1.5809)
- [CLUSTER.medication\_supply\_amount](https://ckm.openehr.org/ckm/archetypes/1013.1.5810)

There are additional change requests for some of these, but can we go forward with these changes, in addition to any resulting from the change requests?

---

<div class="post-metadata">

**Author:** ![JonJones](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/j/ed8c4c/32.png) [@JonJones](https://discourse.openehr.org/u/JonJones)\
**Post date:** [20 October 2021 14:41 UTC](https://discourse.openehr.org/t/medication-amounts-and-units/1935/4 "2021-10-20T14:41:23Z")

</div>

I’ve a similar question relating to units. We’ve a need to describe a quantity of Grays (Gy) in centigrays cGy) and also to a lesser extent volts (V) in kilovolts (kV). We’re using dv\_quantity, but there doesnt seem to be an option for these two, or a prefix option on dv\_quantity. I think Uuom notes the c (centi) and k (kilo) as prefixes. Obviously there’s a mathematical operation to get to kilovolts from volts etc. Is there a clean way to do this with dv\_quantity?

---

<div class="post-metadata">

**Author:** ![heather.leslie](https://discourse.openehr.org/user_avatar/discourse.openehr.org/heather.leslie/32/1980_2.png) [@heather.leslie](https://discourse.openehr.org/u/heather.leslie)\
**Post date:** [21 October 2021 01:04 UTC](https://discourse.openehr.org/t/medication-amounts-and-units/1935/5 "2021-10-21T01:04:28Z")

</div>

Reposting to a new thread on tooling - [Adding to the DV\_QUANTITY units options](https://discourse.openehr.org/t/adding-to-the-dv-quantity-units-options/1964)

---

<div class="post-metadata">

**Author:** ![siljelb](https://discourse.openehr.org/user_avatar/discourse.openehr.org/siljelb/32/12_2.png) [@siljelb](https://discourse.openehr.org/u/siljelb)\
**Post date:** [15 November 2021 09:47 UTC](https://discourse.openehr.org/t/medication-amounts-and-units/1935/6 "2021-11-15T09:47:13Z")

</div>

I’m going forward with these proposed changes, since there has been no negative feedback in the month that has passed since the above was posted. The [INSTRUCTION.medication\_order](https://ckm.openehr.org/ckm/archetypes/1013.1.5812) and [CLUSTER.medication](https://ckm.openehr.org/ckm/archetypes/1013.1.5811) and [CLUSTER.dosage](https://ckm.openehr.org/ckm/archetypes/1013.1.5809) all have open and unresolved change requests though. Could I ask those who have submitted change requests or participated in the discussions about them to go back and try to get them resolved? (@heather.leslie @ian.mcnicoll @varntzen)

---

<div class="post-metadata">

**Author:** ![joostholslag](https://discourse.openehr.org/user_avatar/discourse.openehr.org/joostholslag/32/1981_2.png) [@joostholslag](https://discourse.openehr.org/u/joostholslag)\
**Post date:** [16 November 2021 07:00 UTC](https://discourse.openehr.org/t/medication-amounts-and-units/1935/7 "2021-11-16T07:00:20Z")

</div>

I scanned the CRs. Most seem uncontroversial. We currently only implement the medication cluster (for covid vaccin and wound treatment medications). But at first glance I don’t see any problems with this proposal or the CRs. Keeping the archetypes aligned with FHIR would be valuable to us, since our medication management uses FHIR (and wrappers around that for persistence). And we’d like to integrate with/migrate to openEHR one day.

---

<div class="post-metadata">

**Author:** ![ian.mcnicoll](https://discourse.openehr.org/user_avatar/discourse.openehr.org/ian.mcnicoll/32/4430_2.png) [@ian.mcnicoll](https://discourse.openehr.org/u/ian.mcnicoll)\
**Post date:** [16 November 2021 12:24 UTC](https://discourse.openehr.org/t/medication-amounts-and-units/1935/8 "2021-11-16T12:24:18Z")

</div>

There is already very high alignment with FHIR in themed models, and I agree we need ot keep that close, where possible.

One issue that we might want to try to resolve

> [@Medication models: Where does "route" belong?](https://discourse.openehr.org/t/medication-models-where-does-route-belong/994/12):
>
> I’m assuming we’re talking hospital settings here? When you’re into PRN injectable analgesics/antiemetics they would normally be titrated, not given according to a set dosage. Sure. Do we have any legal frameworks to lean on in this level of detail? Good question. The “Route” element was [added to the INSTRUCTION.medication\_order archetype](https://ckm.openehr.org/ckm/archetypes/1013.1.1445/5) by @ian.mcnicoll on 29 Oct 2015, with this set of references: openEHR Foundation Medication archetypes http://www.openehr.org/knowledge NEHTA's Therap…

Ian

---

<div class="post-metadata">

**Author:** ![ian.mcnicoll](https://discourse.openehr.org/user_avatar/discourse.openehr.org/ian.mcnicoll/32/4430_2.png) [@ian.mcnicoll](https://discourse.openehr.org/u/ian.mcnicoll)\
**Post date:** [16 November 2021 12:36 UTC](https://discourse.openehr.org/t/medication-amounts-and-units/1935/9 "2021-11-16T12:36:37Z")

</div>

My preference is to keep ‘Route’ at the current level but also add it lower down the tree to be associated with specific dose instructions, which is the gap we have now, mostly for fairly obscure Mental health examples. The vast majority of mixed-route instructions are readily handled by the current top-level Route (not supported by FHIR).

Whatever we decide, this is the time to do it!!

---

<div class="post-metadata">

**Author:** ![siljelb](https://discourse.openehr.org/user_avatar/discourse.openehr.org/siljelb/32/12_2.png) [@siljelb](https://discourse.openehr.org/u/siljelb)\
**Post date:** [16 November 2021 13:10 UTC](https://discourse.openehr.org/t/medication-amounts-and-units/1935/10 "2021-11-16T13:10:02Z")

</div>

> [@ian.mcnicoll](#):
>
> fairly obscure Mental health examples

Do we have these examples available? Seeing them would help a lot with understanding how to model this well.

---

<div class="post-metadata">

**Author:** ![ian.mcnicoll](https://discourse.openehr.org/user_avatar/discourse.openehr.org/ian.mcnicoll/32/4430_2.png) [@ian.mcnicoll](https://discourse.openehr.org/u/ian.mcnicoll)\
**Post date:** [16 November 2021 13:34 UTC](https://discourse.openehr.org/t/medication-amounts-and-units/1935/11 "2021-11-16T13:34:43Z")

</div>

From Christine Wadsworth who isa Pharmacist and Better’s UK Clinical Lead.

> **Olanzapine** oral vs IM may have the same dose ranges and maximum daily dose but would have different instructions e.g. If olanzapine IM is given then must wait \>1 hour before administering lorazepam
> 
> **Haloperidol** oral vs IM – different dose ranges and different maximum daily doses
> 
> **Aripiprazole** oral vs IM – different doses and instructions

which FHIR supports and we do not)

In more common cases we might have Paracetamol 4-6 hourly Oral or IM i.e same dosage instructions for all routes (which we support and FHIR does not).

When this was discussed with Better meds team felt that the Mental health examples were best handled as separate medication orders. The FHIR approach is more elegant for these use-cases but quite a bit more burdensome for the more common multi-route / same instruction scenario (IMO)

There is an argument for doing nothing, of course!!

---

<div class="post-metadata">

**Author:** ![joostholslag](https://discourse.openehr.org/user_avatar/discourse.openehr.org/joostholslag/32/1981_2.png) [@joostholslag](https://discourse.openehr.org/u/joostholslag)\
**Post date:** [16 November 2021 16:05 UTC](https://discourse.openehr.org/t/medication-amounts-and-units/1935/12 "2021-11-16T16:05:53Z")

</div>

I used paracetamol 2x500mg oral OR 1000mg iv (in case of nausea) all the time at my ward of people recovering from bowel surgery. I always hated that I had to enter them separately because it’s so easy for the nurse not to pay close attention and to give both, which is dangerous.

---

<div class="post-metadata">

**Author:** ![siljelb](https://discourse.openehr.org/user_avatar/discourse.openehr.org/siljelb/32/12_2.png) [@siljelb](https://discourse.openehr.org/u/siljelb)\
**Post date:** [7 December 2021 07:40 UTC](https://discourse.openehr.org/t/medication-amounts-and-units/1935/13 "2021-12-07T07:40:11Z")

</div>

> [@joostholslag](#):
>
> I used paracetamol 2x500mg oral OR 1000mg iv (in case of nausea)

This is really the same dosage though, and INSTRUCTION.medication\_order supports any number of routes for the same dosage. Do you really need to specify 2x500 mg (oral) vs 1000 mg (IV)? Where I’ve worked clinically, this exact example has always been done as one order, like this: “1 g paracetamol, oral/IV”.

I would suggest we postpone this decision, since there seems to still be some uncertainty? In any case, the solution would be to add a route element to CLUSTER.dosage, which is a non-breaking change?

---

<div class="post-metadata">

**Author:** ![joostholslag](https://discourse.openehr.org/user_avatar/discourse.openehr.org/joostholslag/32/1981_2.png) [@joostholslag](https://discourse.openehr.org/u/joostholslag)\
**Post date:** [7 December 2021 12:03 UTC](https://discourse.openehr.org/t/medication-amounts-and-units/1935/14 "2021-12-07T12:03:57Z")

</div>

> [@siljelb](#):
>
> Do you really need to specify 2x500 mg (oral) vs 1000 mg (IV)

Clinically I don’t care. But tablets are only available in 500mg and iv is only available in 1000mg. And I’m told I should prescribe only dosages that are available.

---

<div class="post-metadata">

**Author:** ![siljelb](https://discourse.openehr.org/user_avatar/discourse.openehr.org/siljelb/32/12_2.png) [@siljelb](https://discourse.openehr.org/u/siljelb)\
**Post date:** [7 December 2021 12:27 UTC](https://discourse.openehr.org/t/medication-amounts-and-units/1935/15 "2021-12-07T12:27:03Z")

</div>

Maybe this is a jurisdiction thing. Here, doctors prescribe what they think is a good idea for a dosage, and it’s up to the nurses to figure out how to make it work in practice 🤷‍♀️

---

<div class="post-metadata">

**Author:** ![joostholslag](https://discourse.openehr.org/user_avatar/discourse.openehr.org/joostholslag/32/1981_2.png) [@joostholslag](https://discourse.openehr.org/u/joostholslag)\
**Post date:** [11 December 2021 10:55 UTC](https://discourse.openehr.org/t/medication-amounts-and-units/1935/16 "2021-12-11T10:55:17Z")

</div>

Hahah I would love that for our jurisdiction too XD. But how does it work for tablets? It’s pretty hard to administer 546 mg of paracetamol of the tablet only comes in 500mg dosage? And how does it work if the patient (at home) is responsible for taking the medications?
