Hi all,

After a thread on the openehr-clinical list about associated symptoms 
(cf. subject "Associated symptoms" on openehr-clinical) some technical 
questions about computation of time came to my mind.

In openEHR the time data can be found in different places in different 
ENTRY types.

OBSERVATIONs have HISTORYs for attributes "data" and "state". Time data 
in HISTORY represent the timing of observations, they may be used for 
computations. Time data in the ITEM_STRUCTURE of the attribute "data" of 
an EVENT in a HISTORY should not be used for computation.
An example for the latter is archetype 
openEHR-EHR-OBSERVATION.symptom_check.v1 which includes CLUSTER 
archetype openEHR-EHR-CLUSTER.symptom.v3.adl. 
openEHR-EHR-CLUSTER.symptom.v3.adl defines time data at archetype node 
at0063 "Date / time of onset". This time data should not be used for 
computation to avoid contradiction with time data recorded in the 
HISTORY of the OBSERVATION.

Is this right?


EVALUATIONs have time data somewhere in the ITEM_STRUCTURE of their 
attribute "data". This time data may be used for computation.
For example archetype openEHR-EHR-EVALUATION.problem-diagnosis.v1 
defines time data at archetype node at0003 "Date of initial onset" which 
may be used for computation.

Is this right?


ACTIONs have time data in attribute "time" which states when the action 
completed and in the ITEM_STRUCTURE of the attribute "description". Both 
time data may be used for computation.
An example for the latter is archetype openEHR-EHR-ACTION.medication.v1 
which includes archetype openEHR-EHR-ITEM_TREE.medication.v1. 
openEHR-EHR-ITEM_TREE.medication.v1 defines time data at archetype node 
at0019 "Date (time) of first administration". This time data may be used 
for computation.

Is this right?
What about archetype node at0032 "Date (time) of last administration" of 
openEHR-EHR-ITEM_TREE.medication.v1? Does it contradict time data in 
attribute "time" in ACTIONs?


INSTRUCTIONs have time data in "expiry_time" and in the ITEM_STRUCTURE 
of the attribute "description". Both time data may be used for 
computation.
An example for the latter is archetype 
openEHR-EHR-INSTRUCTION.medication.v1 which includes archetype 
openEHR-EHR-ITEM_TREE.medication.v1. openEHR-EHR-ITEM_TREE.medication.v1 
defines time data at archetype node at0019 "Date (time) of first 
administration". This time data may be used for computation.

Is this right?
Here archetype node at0032 "Date (time) of last administration" of 
openEHR-EHR-ITEM_TREE.medication.v1 could also contradict the attribute 
"expiry_time" of INSTRUCTIONs, but the semantics of these time data is 
quite different, thus this should not be a problem, right?



Any comments really welcome.

Cheers,
Bruno

-- 
Bruno Cadonna
   Database and Information Systems (DIS)
     Faculty of Computer Science
       Free University of Bozen-Bolzano

Piazza Domenicani 3
39100 Bozen/Bolzano
Italy

web: http://www.inf.unibz.it/dis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cadonna.vcf
Type: text/x-vcard
Size: 450 bytes
Desc: not available
URL: 
<http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20080709/26aa0e79/attachment.vcf>

Reply via email to