# RM

**URL:** https://discourse.openehr.org/c/specifications/rm/42.md

[Latest](https://discourse.openehr.org/latest.md) · [Categories](https://discourse.openehr.org/categories.md) · [Tags](https://discourse.openehr.org/tags.md)

---

## [About the RM category](https://discourse.openehr.org/t/about-the-rm-category/631)

<div class="topic-metadata">

**Author:** [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)\
**Replies:** 0

</div>

Discussions on the Reference Model (RM) specifications, including EHR model, Demographics, data types.

---

## [Should EVENT\_CONTEXT.setting be made optional and/or it's associated terminology updated?](https://discourse.openehr.org/t/should-event-context-setting-be-made-optional-and-or-its-associated-terminology-updated/2390)

<div class="topic-metadata">

**Author:** [@erik.sundvall](https://discourse.openehr.org/u/erik.sundvall)\
**Replies:** 16\
**Last updated:** [16 October 2026 16:51 UTC](https://discourse.openehr.org/t/should-event-context-setting-be-made-optional-and-or-its-associated-terminology-updated/2390 "2026-10-16T16:51:55Z")

</div>

A finding from the Swedish openEHR work is that the general usefulness of the attribute “setting” of EVENT\_CONTEXT (see diagram below) and the choices available in associated terminology (see XML below) feel a bit too co…

---

## [Questions about Invariants in RM and Foundation Types](https://discourse.openehr.org/t/questions-about-invariants-in-rm-and-foundation-types/17235)

<div class="topic-metadata">

**Author:** [@Mohammad\_Zawahreh](https://discourse.openehr.org/u/Mohammad_Zawahreh)\
**Replies:** 8\
**Last updated:** [25 September 2026 07:55 UTC](https://discourse.openehr.org/t/questions-about-invariants-in-rm-and-foundation-types/17235 "2026-09-25T07:55:59Z")

</div>

Hallo everyone, I came across the the following questions regarding RM invariants since there’s an upcoming new version, also about Interval class. Use of generating\_type: in both RM there’s use for function generating\_…

---

## [Question re the EHR class in the RM and the REST API](https://discourse.openehr.org/t/question-re-the-ehr-class-in-the-rm-and-the-rest-api/17172)

<div class="topic-metadata">

**Author:** [@richard.kavanagh](https://discourse.openehr.org/u/richard.kavanagh)\
**Replies:** 27\
**Last updated:** [17 August 2026 16:41 UTC](https://discourse.openehr.org/t/question-re-the-ehr-class-in-the-rm-and-the-rest-api/17172 "2026-08-17T16:41:04Z")

</div>

I have been delving more into the RM lately, trying to get a deeper understanding of how that part of the CDR works. I am paying particular attention to the EHR class structure below. I created an EHR and then used the…

---

## [Interpretation of mandatory ACTION.time when using current\_state instead of ism\_transition](https://discourse.openehr.org/t/interpretation-of-mandatory-action-time-when-using-current-state-instead-of-ism-transition/16911)

<div class="topic-metadata">

**Author:** [@jkrafft](https://discourse.openehr.org/u/jkrafft)\
**Replies:** 2\
**Last updated:** [1 June 2026 16:12 UTC](https://discourse.openehr.org/t/interpretation-of-mandatory-action-time-when-using-current-state-instead-of-ism-transition/16911 "2026-06-01T16:12:31Z")

</div>

I’m trying to better understand the relationship between the mandatory RM attribute ACTION.time and workflow/state modelling in openEHR. In the CKM, for the Procedure archetype, the RM attribute “Date and time Action ste…

---

## [Attestation 'Request'](https://discourse.openehr.org/t/attestation-request/1391)

<div class="topic-metadata">

**Author:** [@VeraPrinsen](https://discourse.openehr.org/u/VeraPrinsen)\
**Replies:** 9\
**Last updated:** [12 May 2026 12:26 UTC](https://discourse.openehr.org/t/attestation-request/1391 "2026-05-12T12:26:46Z")

</div>

Hi! We are looking at using Attestations and have a question about the following: When an attestation is required, the most common scenario will be that a Composition Version will be committed with a commit\_audit of …

---

## [Representing event timelines using the history package](https://discourse.openehr.org/t/representing-event-timelines-using-the-history-package/11876)

<div class="topic-metadata">

**Author:** [@paul.behrend](https://discourse.openehr.org/u/paul.behrend)\
**Replies:** 11\
**Last updated:** [2 April 2026 10:14 UTC](https://discourse.openehr.org/t/representing-event-timelines-using-the-history-package/11876 "2026-04-02T10:14:09Z")

</div>

I’m trying to represent a timeline of past states (values of some attribute with validity time spans) within a composition. The RM spec contains a section on the history package containing classes that I believe match th…

---

## [time asserted already implemented in EVALUATION RM](https://discourse.openehr.org/t/time-asserted-already-implemented-in-evaluation-rm/11799)

<div class="topic-metadata">

**Author:** [@tarabonet](https://discourse.openehr.org/u/tarabonet)\
**Replies:** 7\
**Last updated:** [6 March 2026 20:16 UTC](https://discourse.openehr.org/t/time-asserted-already-implemented-in-evaluation-rm/11799 "2026-03-06T20:16:09Z")

</div>

Hi all, We have noticed that when persisting archetypes of type EVALUATION, there is an option to persist an attribute called ‘time asserted’. We know that some time ago there was a request to include this attribute as…

---

## [Why does the Terminology id table has no version instead this Stringbuild logic](https://discourse.openehr.org/t/why-does-the-terminology-id-table-has-no-version-instead-this-stringbuild-logic/11707)

<div class="topic-metadata">

**Author:** [@SevKohler](https://discourse.openehr.org/u/SevKohler)\
**Replies:** 2\
**Last updated:** [29 January 2026 13:24 UTC](https://discourse.openehr.org/t/why-does-the-terminology-id-table-has-no-version-instead-this-stringbuild-logic/11707 "2026-01-29T13:24:48Z")

</div>

Shouldnt the RM have a dedicated version field also for query stability? SNOMED-CT (VERSION) is what is currently in the spec. That makes AQLs frankly quite annoying. Also SNOMED has modules and versions would be good…

---

## [Storing and reading attestations](https://discourse.openehr.org/t/storing-and-reading-attestations/11559)

<div class="topic-metadata">

**Author:** [@emmanuel.eschmann](https://discourse.openehr.org/u/emmanuel.eschmann)\
**Replies:** 6\
**Last updated:** [27 November 2025 18:28 UTC](https://discourse.openehr.org/t/storing-and-reading-attestations/11559 "2025-11-27T18:28:21Z")

</div>

We want healthcare personnel to be able to sign reports, approve prescriptions or acknowledge laboratory results. Attestations seem to us to be a suitable way of recording this signing ( Common Information Model ; Common…

---

## [Where to put an ICD-11 foundation URI?](https://discourse.openehr.org/t/where-to-put-an-icd-11-foundation-uri/11521)

<div class="topic-metadata">

**Author:** [@siljelb](https://discourse.openehr.org/u/siljelb)\
**Replies:** 4\
**Last updated:** [13 October 2025 07:25 UTC](https://discourse.openehr.org/t/where-to-put-an-icd-11-foundation-uri/11521 "2025-10-13T07:25:39Z")

</div>

If I’m using ICD-11 to code a disorder in the Problem/diagnosis archetype, I’ll use the dv\_coded\_text/defining\_code/code\_string to store the Mortality and morbidity Statistcs (MMS) code, for example “BA41.0” for Acute S…

---

## [Values for LINK.meaning](https://discourse.openehr.org/t/values-for-link-meaning/4919)

<div class="topic-metadata">

**Author:** [@emmanuel.eschmann](https://discourse.openehr.org/u/emmanuel.eschmann)\
**Replies:** 5\
**Last updated:** [7 August 2025 09:50 UTC](https://discourse.openehr.org/t/values-for-link-meaning/4919 "2025-08-07T09:50:03Z")

</div>

The openEHR specifications mentions (in section Common Information Model) that possible values for LINK.meaning are listed in the ISO 13606 specification: “\[…\] Values for meaning include those described in Annex C, ENV 1…

---

## [Can a VERSION belong to multiple VERSIONED\_OBJECT containers](https://discourse.openehr.org/t/can-a-version-belong-to-multiple-versioned-object-containers/6758)

<div class="topic-metadata">

**Author:** [@borut.jures](https://discourse.openehr.org/u/borut.jures)\
**Replies:** 17\
**Last updated:** [6 May 2025 16:58 UTC](https://discourse.openehr.org/t/can-a-version-belong-to-multiple-versioned-object-containers/6758 "2025-05-06T16:58:24Z")

</div>

The specifications describe VERSIONED\_OBJECT in Common Information Model : Figure 6 illustrates the openEHR model of a Versioned object, and its constituent Versions. In this model, an instance of the class VERSIONED\_…

---

## [Archetype\_ID doesn't have namespace](https://discourse.openehr.org/t/archetype-id-doesnt-have-namespace/6618)

<div class="topic-metadata">

**Author:** [@Mohammad\_Zawahreh](https://discourse.openehr.org/u/Mohammad_Zawahreh)\
**Replies:** 3\
**Last updated:** [1 April 2025 06:28 UTC](https://discourse.openehr.org/t/archetype-id-doesnt-have-namespace/6618 "2025-04-01T06:28:51Z")

</div>

Hi there, I came across ARCHETYPE\_ID class in Base package, used in ARCHETYPEDthat is used in LOCATABLE which is the root class of data that will result using archetypes. My question is, If data is created using an arc…

---

## [Determine template version used from a composition](https://discourse.openehr.org/t/determine-template-version-used-from-a-composition/4128)

<div class="topic-metadata">

**Author:** [@SevKohler](https://discourse.openehr.org/u/SevKohler)\
**Replies:** 16\
**Last updated:** [27 February 2025 13:02 UTC](https://discourse.openehr.org/t/determine-template-version-used-from-a-composition/4128 "2025-02-27T13:02:51Z")

</div>

Hello, is there a way to find out which version of a template was active when the composition was validated etc. ?

---

## [EHRs with different system\_id in the same server?](https://discourse.openehr.org/t/ehrs-with-different-system-id-in-the-same-server/3535)

<div class="topic-metadata">

**Author:** [@erik.sundvall](https://discourse.openehr.org/u/erik.sundvall)\
**Replies:** 39\
**Last updated:** [7 November 2024 22:13 UTC](https://discourse.openehr.org/t/ehrs-with-different-system-id-in-the-same-server/3535 "2024-11-07T22:13:11Z")

</div>

Hi! Just checking a thing The EHR root object has a system\_id attribute defined in EHR Information Model saying “The identifier of the logical EHR management system in which this EHR was created.” This raises the quest…

---

## [How many FOLDER trees can be associated with the same EHR](https://discourse.openehr.org/t/how-many-folder-trees-can-be-associated-with-the-same-ehr/5754)

<div class="topic-metadata">

**Author:** [@linforest](https://discourse.openehr.org/u/linforest)\
**Replies:** 16\
**Last updated:** [1 October 2024 15:32 UTC](https://discourse.openehr.org/t/how-many-folder-trees-can-be-associated-with-the-same-ehr/5754 "2024-10-01T15:32:21Z")

</div>

How many FOLDER trees can be associated with the same EHR at the same time? In other words, EHR 0…1 FOLDER\_tree OR EHR 0…n FOLDER\_tree? Figure 20. High-level Structure of the openEHR EHR This figure seems to impl…

---

## [What is the difference between period and duration?](https://discourse.openehr.org/t/what-is-the-difference-between-period-and-duration/5653)

<div class="topic-metadata">

**Author:** [@linforest](https://discourse.openehr.org/u/linforest)\
**Replies:** 5\
**Last updated:** [3 September 2024 13:44 UTC](https://discourse.openehr.org/t/what-is-the-difference-between-period-and-duration/5653 "2024-09-03T13:44:17Z")

</div>

Within one of the contents in a Composition instance for physical activity observations, there are two elements following the element /content/data/origin, i.e., period and duration. What is the difference between the …

---

## [Circular Dependency between Common Information Model and Data Structures Information Model](https://discourse.openehr.org/t/circular-dependency-between-common-information-model-and-data-structures-information-model/5476)

<div class="topic-metadata">

**Author:** [@jmewes](https://discourse.openehr.org/u/jmewes)\
**Replies:** 4\
**Last updated:** [16 July 2024 17:58 UTC](https://discourse.openehr.org/t/circular-dependency-between-common-information-model-and-data-structures-information-model/5476 "2024-07-16T17:58:16Z")

</div>

Hello, There is a circular dependency between the Common Information Model and Data Structures Information Model. For example, the class Item from “data-structures” inherits from Locatable from “common”. And the class F…

---

## [Additional 'Participations' metadata item](https://discourse.openehr.org/t/additional-participations-metadata-item/5191)

<div class="topic-metadata">

**Author:** [@mar.perezcolman](https://discourse.openehr.org/u/mar.perezcolman)\
**Replies:** 16\
**Last updated:** [22 May 2024 09:14 UTC](https://discourse.openehr.org/t/additional-participations-metadata-item/5191 "2024-05-22T09:14:27Z")

</div>

Good morning, I was hoping we could discuss the possibility of having additional attributes to complement the ‘role’ for the participations in the RM. In Wales, we would like to store both the Role of the participant (i…

---

## [Activity ID](https://discourse.openehr.org/t/activity-id/5163)

<div class="topic-metadata">

**Author:** [@heather.leslie](https://discourse.openehr.org/u/heather.leslie)\
**Replies:** 6\
**Last updated:** [3 May 2024 03:24 UTC](https://discourse.openehr.org/t/activity-id/5163 "2024-05-03T03:24:49Z")

</div>

I’d appreciate some advice please. In situations where multiple activities are required, I can see in the EHR Information Model specs where the corresponding ACTION for each Activity is identified (action\_archetype\_id i…

---

## [Cross-reference, citations and a solution for managed lists](https://discourse.openehr.org/t/cross-reference-citations-and-a-solution-for-managed-lists/1355)

<div class="topic-metadata">

**Author:** [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)\
**Replies:** 24\
**Last updated:** [12 February 2024 20:01 UTC](https://discourse.openehr.org/t/cross-reference-citations-and-a-solution-for-managed-lists/1355 "2024-02-12T20:01:36Z")

</div>

\[All: this is a long post on an important topic, so I’ve made it a wiki post i.e. directly editable by others. Feel free to make inline additions, but please try to retain the general integrity. I suggest to add your ini…

---

## [COMPOSITION class attributes occurrences](https://discourse.openehr.org/t/composition-class-attributes-occurrences/4822)

<div class="topic-metadata">

**Author:** [@siljelb](https://discourse.openehr.org/u/siljelb)\
**Replies:** 10\
**Last updated:** [19 January 2024 18:47 UTC](https://discourse.openehr.org/t/composition-class-attributes-occurrences/4822 "2024-01-19T18:47:07Z")

</div>

The COMPOSITION class has several top level attributes, including category (1…1), composer (1…1), context (0…1) and content (0…1). It makes sense that you can’t persist a composition with no composer or category, but to…

---

## [PARTY\_SELF vs. PARTY\_RELATED.relationship = 0 (self)](https://discourse.openehr.org/t/party-self-vs-party-related-relationship-0-self/4816)

<div class="topic-metadata">

**Author:** [@kjejor](https://discourse.openehr.org/u/kjejor)\
**Replies:** 1\
**Last updated:** [8 January 2024 15:18 UTC](https://discourse.openehr.org/t/party-self-vs-party-related-relationship-0-self/4816 "2024-01-08T15:18:49Z")

</div>

When creating a COMPOSITION with data registered by the patient we set the composer attribute to an instance of the class PARTY\_SELF. But when reading the specification we see that one could also use the class PARTY\_RELA…

---

## [Ordering of items within a CLUSTER](https://discourse.openehr.org/t/ordering-of-items-within-a-cluster/4552)

<div class="topic-metadata">

**Author:** [@richard.kavanagh](https://discourse.openehr.org/u/richard.kavanagh)\
**Replies:** 14\
**Last updated:** [20 October 2023 09:02 UTC](https://discourse.openehr.org/t/ordering-of-items-within-a-cluster/4552 "2023-10-20T09:02:07Z")

</div>

I might be taking this too literally, but just in case… In the RM documentation, a CLUSTER is defined as follows Yet in most (all?) real-world examples you see this So, is the list ordered or unordered?

---

## [Where can i find the Composition version?](https://discourse.openehr.org/t/where-can-i-find-the-composition-version/4119)

<div class="topic-metadata">

**Author:** [@SevKohler](https://discourse.openehr.org/u/SevKohler)\
**Replies:** 1\
**Last updated:** [14 June 2023 11:45 UTC](https://discourse.openehr.org/t/where-can-i-find-the-composition-version/4119 "2023-06-14T11:45:04Z")

</div>

Hello together, i wonder how i can see which version of the composition I e.g. queried ? Is this information contained in the jsons/xmls usually, cause i cant see it ? R Severin

---

## [How data access control or filter is applied when creating an EHR\_EXTRACT](https://discourse.openehr.org/t/how-data-access-control-or-filter-is-applied-when-creating-an-ehr-extract/3540)

<div class="topic-metadata">

**Author:** [@chunlan.ma](https://discourse.openehr.org/u/chunlan.ma)\
**Replies:** 1\
**Last updated:** [8 February 2023 12:41 UTC](https://discourse.openehr.org/t/how-data-access-control-or-filter-is-applied-when-creating-an-ehr-extract/3540 "2023-02-08T12:41:33Z")

</div>

Considering scenario where a patient has medicine list and problem list and these are saved as persistent composition instances. This patient has a few problems and medicines that are considered as sensitive so the patie…

---

## [Archetypes with intervals](https://discourse.openehr.org/t/archetypes-with-intervals/3507)

<div class="topic-metadata">

**Author:** [@Ruvini](https://discourse.openehr.org/u/Ruvini)\
**Replies:** 1\
**Last updated:** [2 February 2023 03:23 UTC](https://discourse.openehr.org/t/archetypes-with-intervals/3507 "2023-02-02T03:23:34Z")

</div>

Hi ! Can someone please help me to create an Archetype which contains Intervals? (ex : Interval of Duration, Interval of DateandTime)? Thank you ! :slight\_smile:

---

## [Updating directory, what's the subfolder identification strategy?](https://discourse.openehr.org/t/updating-directory-whats-the-subfolder-identification-strategy/3297)

<div class="topic-metadata">

**Author:** [@pablo](https://discourse.openehr.org/u/pablo)\
**Replies:** 9\
**Last updated:** [19 December 2022 05:02 UTC](https://discourse.openehr.org/t/updating-directory-whats-the-subfolder-identification-strategy/3297 "2022-12-19T05:02:51Z")

</div>

Some CDRs choose to store the FOLDER.uid for all folders inside EHR.directory. In that case, when creating the directory, the root directory will have an OBJECT\_VERSION\_ID in the UID since it’s versionable, but the subf…

---

## [Virtual content, citation and linking](https://discourse.openehr.org/t/virtual-content-citation-and-linking/3291)

<div class="topic-metadata">

**Author:** [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)\
**Replies:** 0\
**Last updated:** [1 December 2022 18:31 UTC](https://discourse.openehr.org/t/virtual-content-citation-and-linking/3291 "2022-12-01T18:31:52Z")

</div>

Starting to make some progress on this question on this wiki page to cover the various kinds of ‘virtual content’, citations and other kinds of inclusion, linking etc.) I believe we need a holistic analysis that covers …

[Next page](https://discourse.openehr.org/c/specifications/rm/42.md?page=1)
