template
    openEHR-EHR-OBSERVATION.scottish_lipids_lab_test-itemised.v1

specialize
openEHR-EHR-OBSERVATION.lab_test-itemised.v1


concept
[at0000.1.1] -- Lipids test

definition /data[at0001] passthrough -- Event Series
/data[at0001]/events[at0002] passthrough -- Any event
/data[at0001]/events[at0002]/data[at0003] passthrough -- Tree
/data[at0001]/events[at0002]/data[at0003]/items { -- Test name
ELEMENT[at0005]
occurrences {1} { -- value constraint value {
DV_TEXT {"Scottish Lipids Panel"} -- OR CODED
}
}
}
/data[at0001]/events[at0002]/data[at0003]/items { -- Test status
ELEMENT[at0073] occurrences {1} {
name { -- RENAME
DV_TEXT {"Result Status"} -- or this could be coded
}
}
}
/data[at0001]/events[at0002]/data[at0003]/items[at0057]/name { -- Overall conclusion
name { -- RENAME
DV_TEXT {"Interpretive Note"} -- or this could be coded
}
}
/data[at0001]/events[at0002]/data[at0003]/items { -- Multimedia presentation
ELEMENT[at0010] occurrences {1} {
name { -- RENAME
DV_TEXT {"Report"} -- or this could be coded
}
}
}
/data[at0001]/events[at0002]/data[at0003]/items { -- Result group
ELEMENT[at0.76] passthrough occurrences {1}
}

/data[at0001]/events[at0002]/data[at0003]/items[at0.76]/items { -- Result group
ELEMENT[at0.77.1] occurrences {1} { -- total cholesterol
value { -- redefine value
DV_QUANTITY {
units {"{AMOUNT (mole)/VOLUME}"}
}
}
}
ELEMENT[at0.77.2] occurrences {1} { -- HDL cholesterol
value { -- redefine value range
DV_QUANTITY {*}
}
}
ELEMENT[at0.77.3] occurrences {1} { -- LDL cholesterol
value { -- redefine value range
DV_QUANTITY {*}
}
}
ELEMENT[at0.77.4] occurrences {1} { -- blood glucose
value { -- redefine value range
DV_QUANTITY {*}
DV_CODED_TEXT {*}
}
}
}

ontology term_definitions = <
["en"] = <
items = <
["at0.77.1"] = <
text = <"Total Cholesterol">
description = <"Total Cholesterol value">
>
["at0.77.2"] = <
text = <"HDL Cholesterol">
description = <"HDL Cholesterol value">
>
["at0.77.3"] = <
text = <"LDL Cholesterol">
description = <"HDL Cholesterol value">
>
["at0.77.4"] = <
text = <"Blood glucose">
description = <"Blood glucose value">
>

["at0000.1.1"] = <
text = <"Laboratory test- lipds">
description = <"Lipids lab result.">
>
>
>
>