# Small inconsistency in EHR 1.0.2 PDF vs. HTML versions

**URL:** <https://discourse.openehr.org/t/small-inconsistency-in-ehr-1-0-2-pdf-vs-html-versions/2186>\
**Category:** Specifications\
**Created:** [12 December 2021 17:52 UTC](https://discourse.openehr.org/t/small-inconsistency-in-ehr-1-0-2-pdf-vs-html-versions/2186 "2021-12-12T17:52:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pablo](https://discourse.openehr.org/user_avatar/discourse.openehr.org/pablo/32/3505_2.png) [@pablo](https://discourse.openehr.org/u/pablo)\
**Post date:** [12 December 2021 17:52 UTC](https://discourse.openehr.org/t/small-inconsistency-in-ehr-1-0-2-pdf-vs-html-versions/2186/1 "2021-12-12T17:52:27Z")

</div>

In the PDF, EHR.system\_id is a String, in the HTML version EHR.system\_id is a HIER\_OBJECT\_ID.

 ![Screenshot_2021-12-12_14-51-42](https://discourse.openehr.org/uploads/default/original/2X/f/ffd3cff5cc6ac74913f98b49f02e6b5bf1482d8e.png)

It seems at some point in the HTML generation that change was introduced and was also migrated to newer versions of the EHR spec, though there is no change log associated with the change in the type.

Looking at the JSON schemas, it seems that modification was taken there too, so the type is HIER\_OBJECT\_ID.

> <https://github.com/openEHR/specifications-ITS-JSON/blob/master/components/openehr_rm_1.0.3_all.json#L468>

If this was a mistake in the HTML generated, we are spreading this error all around. If this change was planned, certainly the v1.0.2 HTML is incorrect, but if v1.0.3 does include this change on purpose, we are missing the change log for this.

---

<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 December 2021 21:03 UTC](https://discourse.openehr.org/t/small-inconsistency-in-ehr-1-0-2-pdf-vs-html-versions/2186/2 "2021-12-12T21:03:49Z")

</div>

@thomas.beale will know better, but looking in my archives, I think the EHR.system\_id was introduced in v0.96 and was always a HIER\_OBJECT\_ID, or at least I found it in v1.0, v1.0.1 and v1.0.2 pdfs (see for instance EHR IM pdf in [openEHR - Release 1.0](https://specifications.openehr.org/releases/1.0)).  
The problem is that the diagram was incorrectly defining it as string, while the class description was always as HIER\_OBJECT\_ID.

---

<div class="post-metadata">

**Author:** ![pablo](https://discourse.openehr.org/user_avatar/discourse.openehr.org/pablo/32/3505_2.png) [@pablo](https://discourse.openehr.org/u/pablo)\
**Post date:** [12 December 2021 21:07 UTC](https://discourse.openehr.org/t/small-inconsistency-in-ehr-1-0-2-pdf-vs-html-versions/2186/3 "2021-12-12T21:07:47Z")

</div>

You are right @sebastian.iancu , I was only checking the UMLs.

---

<div class="post-metadata">

**Author:** ![pablo](https://discourse.openehr.org/user_avatar/discourse.openehr.org/pablo/32/3505_2.png) [@pablo](https://discourse.openehr.org/u/pablo)\
**Post date:** [12 December 2021 21:17 UTC](https://discourse.openehr.org/t/small-inconsistency-in-ehr-1-0-2-pdf-vs-html-versions/2186/4 "2021-12-12T21:17:13Z")

</div>

Checking other parts of the model, AUDIT\_DETAILS.system\_id in RM 1.0.2 is String in both UML and text definition. Shouldn’t that be HIER\_OBJECT\_ID too?

@sebastian.iancu @thomas.beale what do you think?
