# Specify ICD-O code in a medication order along a chemotherapy

**URL:** <https://discourse.openehr.org/t/specify-icd-o-code-in-a-medication-order-along-a-chemotherapy/4912>\
**Category:** Clinical\
**Tags:** archetype, template\
**Created:** [6 February 2024 14:50 UTC](https://discourse.openehr.org/t/specify-icd-o-code-in-a-medication-order-along-a-chemotherapy/4912 "2024-02-06T14:50:32Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lucas](https://discourse.openehr.org/user_avatar/discourse.openehr.org/lucas/32/3185_2.png) [@Lucas](https://discourse.openehr.org/u/Lucas)\
**Post date:** [6 February 2024 14:50 UTC](https://discourse.openehr.org/t/specify-icd-o-code-in-a-medication-order-along-a-chemotherapy/4912/1 "2024-02-06T14:50:32Z")

</div>

In our EHR, we can order a chemotherapy and specify the associated ICD-O code. The ICD-O is a classification system for Oncology, which allows the systematic specification of the topography (the body’s location) and the morphology (histologic characteristic) of the mass/tumor.

Currently, I am trying to model the ICD-O onto a medication order.

So far, I would have found two options to model it, namely

1. in the field “Therapeutic intent” in the archetype INSTRUCTION.medication\_order.v3, but I feel that this might be a misuse, as “Therapeutic intent” tries to convey the goal or purpose of the chemotherapy and not the characteristic of the mass.
2. Create a new cluster and use the field “Additional details” in the same archetype as mentioned before.

From my point of view, the ICD-O would be a better match in describing a problem/diagnosis and thus should not be added in the medication order. But in order to map the current data model in our EHR, the mapping onto a medication order would be the most pragmatic solution.

In this regard, I wanted to ask you,

1. If you modeled a medication order in the context of chemotherapy and
2. How you modeled the ICD-O in this context.

---

<div class="post-metadata">

**Author:** ![Lucas](https://discourse.openehr.org/user_avatar/discourse.openehr.org/lucas/32/3185_2.png) [@Lucas](https://discourse.openehr.org/u/Lucas)\
**Post date:** [6 February 2024 14:56 UTC](https://discourse.openehr.org/t/specify-icd-o-code-in-a-medication-order-along-a-chemotherapy/4912/2 "2024-02-06T14:56:02Z")

</div>

By the way, I use the field “Clinical indication” in the archetype INSTRUCTION.medication\_order.v3 to map the symptoms, for which the order has been created, where the prescriber will be able to choose from a (currently proprietary) value set, which will be updated to represent SNOMED CT backed symptoms or diseases.

Consequently, I try to model the ICD-O codes onto another field.

---

<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:** [6 February 2024 15:03 UTC](https://discourse.openehr.org/t/specify-icd-o-code-in-a-medication-order-along-a-chemotherapy/4912/3 "2024-02-06T15:03:26Z")

</div>

You could use “Clinical indication” for both. See this mockup example template:  
[https://tools.openehr.org/designer/#/viewer/shared/Pz9zaGFyZWRJZD0xJDFiMGNmNTUzYWExNTQyZWI5NjExMzgwMWRlNTBiZjIw](https://tools.openehr.org/designer/#/viewer/shared/Pz9zaGFyZWRJZD0xJDFiMGNmNTUzYWExNTQyZWI5NjExMzgwMWRlNTBiZjIw)

---

<div class="post-metadata">

**Author:** ![Lucas](https://discourse.openehr.org/user_avatar/discourse.openehr.org/lucas/32/3185_2.png) [@Lucas](https://discourse.openehr.org/u/Lucas)\
**Post date:** [6 February 2024 15:18 UTC](https://discourse.openehr.org/t/specify-icd-o-code-in-a-medication-order-along-a-chemotherapy/4912/4 "2024-02-06T15:18:52Z")

</div>

Thank you so much. Based on the template at your provided link, I can have several “Clinical indication” fields in one archetype and rename it to my use case?

---

<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:** [6 February 2024 15:19 UTC](https://discourse.openehr.org/t/specify-icd-o-code-in-a-medication-order-along-a-chemotherapy/4912/5 "2024-02-06T15:19:12Z")

</div>

I like your suggestion @siljelb but you can also add \_mappings to any text/CodeText element, Lucas so it is perfectly possible to carry the ICD- code alongside the main SNOMED-CT code inside Indication as single element.

However, when this came up with a recent client with the same requirement, we recommended carrying the ICD-O and other diagnoses codes in a Problem list associated with the cancer journey. ad not directly in the order or prescription. It can then be queryed to present to the person doing the drug preparation / administration or for reporting.

---

<div class="post-metadata">

**Author:** ![Lucas](https://discourse.openehr.org/user_avatar/discourse.openehr.org/lucas/32/3185_2.png) [@Lucas](https://discourse.openehr.org/u/Lucas)\
**Post date:** [6 February 2024 15:22 UTC](https://discourse.openehr.org/t/specify-icd-o-code-in-a-medication-order-along-a-chemotherapy/4912/6 "2024-02-06T15:22:33Z")

</div>

I agree with you, Ian, that ICD-O should be carried in a problem/diagnosis list. Based on the constraints and the requirements’ analysis, I opted to map this information onto the medication order.

---

<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:** [6 February 2024 15:24 UTC](https://discourse.openehr.org/t/specify-icd-o-code-in-a-medication-order-along-a-chemotherapy/4912/7 "2024-02-06T15:24:05Z")

</div>

Long thread here on term\_mappings

> [@Storing codes of two external terminologies](https://discourse.openehr.org/t/storing-codes-of-two-external-terminologies/2364/13):
>
> Here comes my bull in a china shop moment grin : Using the mappings of DV\_TEXT, one can indeed store N mappings with references to various terminologies as @siljelb says. However, I cannot see a way to constraint what those terminologies are allowed to be. I.e. you can record mappings to terminologies, but you cannot force validation to reject data if it contains a mapping to a code from SuperDuperAstrologyChartBasedCodingSystem© You can record the fact that a value must be from a particu…

Though I think I prefer @siljelb suggestion.

Even if you like our idea of maintaining the master list of diagnosis codes separately, there is a case for entering it again in the Order as an Indication, as it labels the indication specifically at the point the order was made, without having to maintain potentially complex links as the diagnosis morphs over time

---

<div class="post-metadata">

**Author:** ![Lucas](https://discourse.openehr.org/user_avatar/discourse.openehr.org/lucas/32/3185_2.png) [@Lucas](https://discourse.openehr.org/u/Lucas)\
**Post date:** [6 February 2024 15:35 UTC](https://discourse.openehr.org/t/specify-icd-o-code-in-a-medication-order-along-a-chemotherapy/4912/8 "2024-02-06T15:35:54Z")

</div>

Thanks, Ian, for this information. I will discuss this issue tomorrow at the team’s meeting, as along this year, we plan to migrate our problem/diagnosis list onto openEHR.

So far, I do not know, how in our EHR the implementation of such a solution would look like. If a prescriber can choose among a subset of ICD-O codes, which have been documented in the problem/diagnosis list, then this would incredibly improve the user experience (as these lists tend to be quite long). But it remains the use case, where no ICD-O has been documented at this point.

Maybe, we could implement a solution, where at the frontend, the prescriber chooses the respective ICD-O codes. If none has been associated to a problem/diagnosis item, then a user interaction flow is performed, where the problem/diagnosis list is updated accordingly, before continuing the medication order form. On the other hand, this might also be a burden for the user. But to sum up, I, personally, would also prefer, to handle the ICD-O in the problem/diagnosis list.

---

<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:** [6 February 2024 20:11 UTC](https://discourse.openehr.org/t/specify-icd-o-code-in-a-medication-order-along-a-chemotherapy/4912/9 "2024-02-06T20:11:45Z")

</div>

> [@Lucas](#):
>
> I can have several “Clinical indication” fields in one archetype and rename it to my use case?

As long as your CDR implementation supports it, for sure. The implementation we’re using (DIPS) has trouble with repeating elements which have been renamed in the template, but I’m pretty sure this is only for historical reasons.
