# Multimedia codes - definition

**URL:** https://discourse.openehr.org/t/multimedia-codes-definition/6518
**Category:** Implementation
**Created:** [10 March 2025 23:10 UTC](https://discourse.openehr.org/t/multimedia-codes-definition/6518 "2025-03-10T23:10:40Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![richard.kavanagh](https://discourse.openehr.org/user_avatar/discourse.openehr.org/richard.kavanagh/32/1429_2.png) [@richard.kavanagh](https://discourse.openehr.org/u/richard.kavanagh)
#### Post date: [10 March 2025 23:10 UTC](https://discourse.openehr.org/t/multimedia-codes-definition/6518/1 "2025-03-10T23:10:40Z")

</div>

I am looking at a snippet of an archetype that has the following :

 ![image](https://discourse.openehr.org/uploads/default/original/2X/8/8dc77a8f39bf1e1058664e0547da94112647f9f4.png)

Where are these codes defined?

I see they have been commented out in [terminology/openEHR\_RM/en/openehr\_terminology.xml at master · openEHR/terminology · GitHub](https://github.com/openEHR/terminology/blob/master/openEHR_RM/en/openehr_terminology.xml)

---

<div class="post-metadata">

### Author: ![sebastian.iancu](https://discourse.openehr.org/user_avatar/discourse.openehr.org/sebastian.iancu/32/31_2.png) [@sebastian.iancu](https://discourse.openehr.org/u/sebastian.iancu)
#### Post date: [11 March 2025 11:26 UTC](https://discourse.openehr.org/t/multimedia-codes-definition/6518/2 "2025-03-11T11:26:59Z")

</div>

That repo as an old one, archived.  
That is not what the current specs are (neither for Terminology, neither for other components).

If you are interested in openEHR terminology nowadays, then please take a look at [https://specifications.openehr.org/releases/TERM/latest](https://specifications.openehr.org/releases/TERM/latest) component URL, and in particulary to [Support Terminology specification](https://specifications.openehr.org/releases/TERM/latest/SupportTerminology.html#_media_types) or [https://specifications.openehr.org/releases/TERM/latest/computable/XML/openehr\_external\_terminologies.xml](https://specifications.openehr.org/releases/TERM/latest/computable/XML/openehr_external_terminologies.xml), which is actually stored as raw-xml at [specifications-TERM/computable/XML/openehr\_external\_terminologies.xml at master · openEHR/specifications-TERM · GitHub](https://github.com/openEHR/specifications-TERM/blob/master/computable/XML/openehr_external_terminologies.xml).

---

<div class="post-metadata">

### Author: ![richard.kavanagh](https://discourse.openehr.org/user_avatar/discourse.openehr.org/richard.kavanagh/32/1429_2.png) [@richard.kavanagh](https://discourse.openehr.org/u/richard.kavanagh)
#### Post date: [12 March 2025 11:41 UTC](https://discourse.openehr.org/t/multimedia-codes-definition/6518/3 "2025-03-12T11:41:37Z")

</div>

Thanks @sebastian.iancu I had seen those XML files, my challenge is that the archetype uses openEHR numeric codes to constrain the multimedia types element.

The codes in that area don’t seem to be numeric anymore - I guess it changes at some point.

---

<div class="post-metadata">

### Author: ![sebastian.iancu](https://discourse.openehr.org/user_avatar/discourse.openehr.org/sebastian.iancu/32/31_2.png) [@sebastian.iancu](https://discourse.openehr.org/u/sebastian.iancu)
#### Post date: [12 March 2025 12:24 UTC](https://discourse.openehr.org/t/multimedia-codes-definition/6518/4 "2025-03-12T12:24:48Z")

</div>

I think this was changed with Release 2.0.0 (released somewhere in 2018 if I am not mistaken).  
The change itself was already executed in 2016 - see [SPECPR-97](https://openehr.atlassian.net/browse/SPECPR-97). The idea since then is that systems should use the official mime-type code (e.g. `application/pdf`) and not the old openEHR assigned number code.  
Where are the codes used now? can you provide some references?

---

<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: [12 March 2025 14:00 UTC](https://discourse.openehr.org/t/multimedia-codes-definition/6518/5 "2025-03-12T14:00:22Z")

</div>

Hi Richard,

That is a very old unpublished archetype ‘borrowed’ from @borut.fabjan and badly needs updated / published.

---

<div class="post-metadata">

### Author: ![richard.kavanagh](https://discourse.openehr.org/user_avatar/discourse.openehr.org/richard.kavanagh/32/1429_2.png) [@richard.kavanagh](https://discourse.openehr.org/u/richard.kavanagh)
#### Post date: [14 March 2025 07:44 UTC](https://discourse.openehr.org/t/multimedia-codes-definition/6518/6 "2025-03-14T07:44:32Z")

</div>

@sebastian.iancu@ian.mcnicoll Thanks for your feedback. We will consider updating the archetype to bring it up to date. There are a few other areas besides the terminology that could benefit from an uplift,
