...
- OBSERVATION – Lab test result - openEHR-EHR-OBSERVATION.laboratory_test_result.v1
- data/events/data:
- ITEM_TREE
- items:
- ELEMENT – Test Name
- CLUSTER – Specimen detail ← Archetype
- etc
- CLUSTER – Test Findings ← Archetype lab analyte - triglycerides
- items
- ELEMENT
- value
- QUANTITY
- value
- ELEMENT
- items
- CLUSTER – Test Findings ← Archetype lab analyte - LDL
- items
- ELEMENT
- value
- QUANTITY
- value
- ELEMENT
- items
- CLUSTER – Test Findings ← Archetype lab analyte - HDL
- items
- ELEMENT
- value
- QUANTITY
- value
- ELEMENT
- items
- items:
- ITEM_TREE
- data/events/data:
The second is a structure in which the Test Findings are a panel, e.g:
- OBSERVATION – Lab test result - openEHR-EHR-OBSERVATION.laboratory_test_result.v1
- data/events/data:
- ITEM_TREE
- items:
- ELEMENT – Test Name
- CLUSTER – Specimen detail ← Archetype
- etc
- CLUSTER – Test Findings ← Archetype lab test panel - openEHR-EHR-CLUSTER.laboratory_test_panel.v0
- CLUSTER – Test Findings ← Archetype lab analyte - triglycerides - openEHR-EHR-CLUSTER.laboratory_test_analyte.v1
- items
- ELEMENT
- value
- QUANTITY
- value
- ELEMENT
- items
- CLUSTER – Test Findings ← Archetype lab analyte - LDLitems - LDL - openEHR-EHR-CLUSTER.laboratory_test_analyte.v1
- items
- ELEMENT
- value
- QUANTITY
- value
- ELEMENT
- items
- CLUSTER – Test Findings ← Archetype lab analyte - HDL - openEHR-EHR-CLUSTER.laboratory_test_analyte.v1
- items
- ELEMENT
- value
- QUANTITY
- value
- ELEMENT
- items
- CLUSTER – Test Findings ← Archetype lab analyte - triglycerides - openEHR-EHR-CLUSTER.laboratory_test_analyte.v1
- items:
- ITEM_TREE
- data/events/data:
More generally, a free mixture of Panels and single Analytes could be used.
Another example in which some analytes may have more than one DATA_VALUE, e.g. % and abs values:
- OBSERVATION – Lab test result - openEHR-EHR-OBSERVATION.laboratory_test_result.v1
- data/events/data:
- ITEM_TREE
- items:
- ELEMENT – Test Name
- CLUSTER – Specimen detail ← Archetype
- etc
- CLUSTER – Test Findings ← Archetype lab test panel - openEHR-EHR-CLUSTER.laboratory_test_panel.v0
- CLUSTER – Test Findings ← Archetype lab analyte - Leukocytes - openEHR-EHR-CLUSTER.laboratory_test_analyte.v1
- items
- ELEMENT
- value
- QUANTITY
- value
- ELEMENT
- items
- CLUSTER – Test Findings ← Archetype lab analyte - LDL - openEHR-EHR-CLUSTER.laboratory_test_analyte.v1
- items
- ELEMENT
- value
- QUANTITY
- value
- ELEMENT
- items
- CLUSTER – Test Findings ← Archetype lab analyte - HDL - openEHR-EHR-CLUSTER.laboratory_test_analyte.v1
- items
- ELEMENT
- value
- QUANTITY
- value
- ELEMENT
- items
- CLUSTER – Test Findings ← Archetype lab analyte - Leukocytes - openEHR-EHR-CLUSTER.laboratory_test_analyte.v1
- items:
- ITEM_TREE
- data/events/data:
PROBLEM: querying paths are different if one pattern is not consistently used for the same kinds of analyte. E.g. if serum sodium and serum potassium are imported from a message feed and included under a panel by one implementation, but directly by another, and both implementations feed data to the same health record, there will be a problem querying, unless the CONTAINS operator is used.
...