# Archetype blood\_pressure: Data \<-\> State \<-\> Protocol - correlation

**URL:** <https://discourse.openehr.org/t/archetype-blood-pressure-data-state-protocol-correlation/14583>\
**Category:** Technical (archive)\
**Created:** [29 September 2006 13:31 UTC](https://discourse.openehr.org/t/archetype-blood-pressure-data-state-protocol-correlation/14583 "2006-09-29T13:31:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christoph\_Rinner](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/c/f07891/32.png) [@Christoph\_Rinner](https://discourse.openehr.org/u/Christoph_Rinner)\
**Post date:** [29 September 2006 13:31 UTC](https://discourse.openehr.org/t/archetype-blood-pressure-data-state-protocol-correlation/14583/1 "2006-09-29T13:31:33Z")

</div>

Hi,

I am writing my diploma thesis at the Vienna Medical University. I have  
two questions concerning the openEHR-EHR-OBSERVATION.blood\_pressure.v1  
Archetype (Date 22/03/2006) and would be very thankful if someone could  
answer them briefly.

1st:  
I read in the "The openEHR Reference Model - EHR Information Model"  
(openehr\_ehr\_im.pdf Revision: 5.1.0) in chapter "8.2.3.4 Two ways of  
Recording State" that there are two ways to record States inside a History.  
In this Blood pressure measurement Archetype they have chosen the way  
where the state is recorded outside data History.  
Isn´t it necessary to correlate a blood pressure measurement [at0003] to a  
position [at0008] (Systolic: 120, Diastolic: 80, Position: Standing)?  
What is the medical reason for modelling it like that? Even if it is made  
the other way the problem still occurs with the protocol. When we try to  
match an Instrument [at0012] (from Protocol) to a certain blood pressure  
measurement (Systolic: 120, Diastolic: 80, Instrument: XYZ) we don´t know  
which instrument belongs to which blood pressure. Am I wrong? Is there a  
way to correlate them? Is there no need to correlate them?

2nd:  
Why does the "state" begin with an ITEM\_LIST[at0007] and not with a  
History? In the documentation it looks as if "state" and "data" have the  
same structure.  
([http://www.openehr.org/uml/release-1.0/Printable/Printable.html#\_9\_0\_76d0249\_1109066126764\_414607\_2244](http://www.openehr.org/uml/release-1.0/Printable/Printable.html#_9_0_76d0249_1109066126764_414607_2244))

Thanks a lot in advance.

Christoph Rinner

---

<div class="post-metadata">

**Author:** ![thomas.beale](https://discourse.openehr.org/user_avatar/discourse.openehr.org/thomas.beale/32/35_2.png) [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)\
**Post date:** [29 September 2006 16:45 UTC](https://discourse.openehr.org/t/archetype-blood-pressure-data-state-protocol-correlation/14583/2 "2006-09-29T16:45:20Z")

</div>

Christoph Rinner wrote:

> Hi,
> 
> I am writing my diploma thesis at the Vienna Medical University. I have  
> two questions concerning the openEHR-EHR-OBSERVATION.blood\_pressure.v1  
> Archetype (Date 22/03/2006) and would be very thankful if someone could  
> answer them briefly.
> 
> 1st:  
> I read in the "The openEHR Reference Model - EHR Information Model"  
> (openehr\_ehr\_im.pdf Revision: 5.1.0) in chapter "8.2.3.4 Two ways of  
> Recording State" that there are two ways to record States inside a History.  
> In this Blood pressure measurement Archetype they have chosen the way  
> where the state is recorded outside data History.  
> Isn´t it necessary to correlate a blood pressure measurement [at0003] to a  
> position [at0008] (Systolic: 120, Diastolic: 80, Position: Standing)?  
> &nbsp;&nbsp;

Actually, this archetype has been remodelled using the other method.  
Both methods make sense, depending on what you are doing, but the  
state-on-Event method is more likely with normal GP and hospital  
recording, whereas the other one would be more likely used in sport  
medicine, or maybe in conjunction with ECG etc in general fitness testing.

> What is the medical reason for modelling it like that? Even if it is made  
> the other way the problem still occurs with the protocol. When we try to  
> match an Instrument [at0012] (from Protocol) to a certain blood pressure  
> measurement (Systolic: 120, Diastolic: 80, Instrument: XYZ) we don´t know  
> which instrument belongs to which blood pressure. Am I wrong? Is there a  
> way to correlate them? Is there no need to correlate them?  
> &nbsp;&nbsp;

No, protocol (i.e. method of measurement) is the same for the whole  
history - this is definitional. You can't safely change how you record  
something in mid-series - you have to record a new time series.

> 2nd:  
> Why does the "state" begin with an ITEM\_LIST[at0007] and not with a  
> History? In the documentation it looks as if "state" and "data" have the  
> same structure.  
> &nbsp;&nbsp;

they do; this was an error in the Archetype Editor which has now been  
fixed, but the archetypes have not being upgraded yet.

- thomas beale

---

<div class="post-metadata">

**Author:** ![Sam](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@Sam](https://discourse.openehr.org/u/Sam)\
**Post date:** [8 October 2006 10:14 UTC](https://discourse.openehr.org/t/archetype-blood-pressure-data-state-protocol-correlation/14583/3 "2006-10-08T10:14:35Z")

</div>

Christoph  
Some things have been around for a long time in our development and one was to have state defined at the root level even though it applied to each event. The current editor should read both but saves the correct version.  
The result is attached, Sam

Christoph Rinner wrote:

> **(attachments)**
>
> [openEHR-EHR-OBSERVATION.blood\_pressure.v1.adl](https://discourse.openehr.org/404) (25 KB)

---

<div class="post-metadata">

**Author:** ![Mattias\_Forss1](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@Mattias\_Forss1](https://discourse.openehr.org/u/Mattias_Forss1)\
**Post date:** [9 October 2006 07:52 UTC](https://discourse.openehr.org/t/archetype-blood-pressure-data-state-protocol-correlation/14583/4 "2006-10-09T07:52:47Z")

</div>

I should point out that the embedded state within each event isn't  
supported by the Java Archetype Editor (only separate state with  
history), but a new version that supports this will probably be out  
soon...

Actually, when the Java editor finds a state defined at the root level  
it is transformed to a state with history because that is the closest  
thing it resembles.

/Mattias

---

<div class="post-metadata">

**Author:** ![Mattias\_Forss1](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@Mattias\_Forss1](https://discourse.openehr.org/u/Mattias_Forss1)\
**Post date:** [9 October 2006 09:14 UTC](https://discourse.openehr.org/t/archetype-blood-pressure-data-state-protocol-correlation/14583/5 "2006-10-09T09:14:20Z")

</div>

Another question related to this. Is there any need in an archetype  
editor to specify different data and state for some events instead of  
always creating them in the first event in the history and then let  
all the succeding events reference (use\_node) the data and state in  
the first event? If a user decides to edit ADL manually and sets  
different data and state for some events, it is not supported by  
neither of the current archetype editors...

/Mattias

---

<div class="post-metadata">

**Author:** ![thomas.beale](https://discourse.openehr.org/user_avatar/discourse.openehr.org/thomas.beale/32/35_2.png) [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)\
**Post date:** [11 October 2006 20:00 UTC](https://discourse.openehr.org/t/archetype-blood-pressure-data-state-protocol-correlation/14583/6 "2006-10-11T20:00:41Z")

</div>

Mattias Forss wrote:

---

<div class="post-metadata">

**Author:** ![Mattias\_Forss1](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@Mattias\_Forss1](https://discourse.openehr.org/u/Mattias_Forss1)\
**Post date:** [12 October 2006 07:32 UTC](https://discourse.openehr.org/t/archetype-blood-pressure-data-state-protocol-correlation/14583/7 "2006-10-12T07:32:30Z")

</div>

> Mattias Forss wrote:  
> \>  
> \>\>  
> \>\>\> Christoph  
> \>\>\> Some things have been around for a long time in our development and one was  
> \>\>\> to have state defined at the root level even though it applied to each  
> \>\>\> event. The current editor should read both but saves the correct version.  
> \>\>\> The result is attached, Sam  
> \>\>\>  
> \>\> I should point out that the embedded state within each event isn't  
> \>\> supported by the Java Archetype Editor (only separate state with  
> \>\> history), but a new version that supports this will probably be out  
> \>\> soon...  
> \>\>  
> \>\> Actually, when the Java editor finds a state defined at the root level  
> \>\> it is transformed to a state with history because that is the closest  
> \>\> thing it resembles.  
> \>\>  
> \>\>  
> \>  
> \> Another question related to this. Is there any need in an archetype  
> \> editor to specify different data and state for some events instead of  
> \> always creating them in the first event in the history and then let  
> \> all the succeding events reference (use\_node) the data and state in  
> \> the first event? If a user decides to edit ADL manually and sets  
> \> different data and state for some events, it is not supported by  
> \> neither of the current archetype editors...  
> \>  
> In general this should not happen, since the phenomenon being recorded  
> in each event is supposed to be the same one, just at different time-points.

Just what I suspected. Thanks

Mattias
