DiagnosticsThis is Snapshot #3 for FHIR R5, released to support Connectathon 32. For a full list of available versions, see the Directory of published versions.
| Orders and Observations Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Device, Encounter, Patient, Practitioner, RelatedPerson |
Raw Turtle (+ also see Turtle/RDF Format Specification)
Clinical assessment tool example - GCS with individual scores as related QuestionnaireAnswer
@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
[a fhir:Observation;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "gcs-qa"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"gcs-qa\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Observation "gcs-qa" </p></div><p><b>status</b>: <span title=\" the mandatory quality flags: \">final</span></p><p><b>code</b>: <span title=\" \n Observations are often coded in multiple code systems.\n - LOINC\n - or SNOMED\n -and/or the source system may provides its own "local" code, which may be less or more granular than LOINC.\n In this example there is only LOINC\n \">Glasgow Coma Scale , (GCS) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#9269-2 "Glasgow coma score total")</span></span></p><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example: Peter James Chalmers</a> "Peter CHALMERS"</p><p><b>effective</b>: 2014-12-11T04:44:16Z</p><p><b>value</b>: <span title=\" In FHIR, units may be represented twice. Once in the\n agreed human representation, and once in a coded form.\n In this example the UCUM unit is provided but no human representation since this is often not displayed\n \">13 {score}<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code {score} = '{score}')</span></span></p><blockquote><p><b>referenceRange</b></p><p><b>high</b>: 8 {score}<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code {score} = '{score}')</span></p><p><b>type</b>: <span title=\" meaning as text \">Severe TBI <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></span></p></blockquote><blockquote><p><b>referenceRange</b></p><p><b>low</b>: 9 {score}<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code {score} = '{score}')</span></p><p><b>high</b>: 12 {score}<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code {score} = '{score}')</span></p><p><b>type</b>: <span title=\" meaning as text \">Moderate TBI <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></span></p></blockquote><blockquote><p><b>referenceRange</b></p><p><b>low</b>: 13 {score}<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code {score} = '{score}')</span></p><p><b>type</b>: <span title=\" meaning as text \">Mild TBI <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></span></p></blockquote><p><b>derivedFrom</b>: <span title=\" put the references to the QuestionnairAnswer example here using the derived-From type \"><a href=\"questionnaireresponse-example-gcs.html\">QuestionnaireResponse/gcs: GCS form results</a></span></p></div>"
]; # the mandatory quality flags:
fhir:Observation.status [ fhir:value "final"]; #
fhir:Observation.code [
fhir:CodeableConcept.coding [
fhir:index 0;
a loinc:9269-2;
fhir:Coding.system [ fhir:value "http://loinc.org" ];
fhir:Coding.code [ fhir:value "9269-2" ];
fhir:Coding.display [ fhir:value "Glasgow coma score total" ]
]; # LOINC - always recommended to have a LOINC code
fhir:CodeableConcept.text [ fhir:value "Glasgow Coma Scale , (GCS)" ]
]; #
Observations are often coded in multiple code systems.
- LOINC
- or SNOMED
-and/or the source system may provides its own "local" code, which may be less or more granular than LOINC.
In this example there is only LOINC
fhir:Observation.subject [
fhir:Reference.reference [ fhir:value "Patient/example" ];
fhir:Reference.display [ fhir:value "Peter James Chalmers" ]
]; #
fhir:Observation.effectiveDateTime [ fhir:value "2014-12-11T04:44:16Z"^^xsd:dateTime]; #
fhir:Observation.valueQuantity [
fhir:Quantity.value [ fhir:value "13"^^xsd:decimal ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "{score}" ]
]; # In FHIR, units may be represented twice. Once in the
agreed human representation, and once in a coded form.
In this example the UCUM unit is provided but no human representation since this is often not displayed
fhir:Observation.referenceRange [
fhir:index 0;
fhir:Observation.referenceRange.high [
fhir:Quantity.value [ fhir:value "8"^^xsd:decimal ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "{score}" ]
];
fhir:Observation.referenceRange.type [
fhir:CodeableConcept.text [ fhir:value "Severe TBI" ]
] # meaning as text
], [
fhir:index 1;
fhir:Observation.referenceRange.low [
fhir:Quantity.value [ fhir:value "9"^^xsd:decimal ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "{score}" ]
];
fhir:Observation.referenceRange.high [
fhir:Quantity.value [ fhir:value "12"^^xsd:decimal ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "{score}" ]
];
fhir:Observation.referenceRange.type [
fhir:CodeableConcept.text [ fhir:value "Moderate TBI" ]
] # meaning as text
], [
fhir:index 2;
fhir:Observation.referenceRange.low [
fhir:Quantity.value [ fhir:value "13"^^xsd:decimal ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "{score}" ]
];
fhir:Observation.referenceRange.type [
fhir:CodeableConcept.text [ fhir:value "Mild TBI" ]
] # meaning as text
]; #
fhir:Observation.derivedFrom [
fhir:index 0;
fhir:Reference.reference [ fhir:value "QuestionnaireResponse/gcs" ];
fhir:Reference.display [ fhir:value "GCS form results" ]
]] . # put the references to the QuestionnairAnswer example here using the derived-From type
# - ontology header ------------------------------------------------------------
[a owl:Ontology;
owl:imports fhir:fhir.ttl] .
# -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.
FHIR ®© HL7.org 2011+. FHIR R5 Ballot hl7.fhir.core#5.0.0-snapshot3 generated on Wed, Dec 14, 2022 07:17+1100.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R4B |
Compare to R5 Draft |
|
Propose a change