Using CQL with FHIR, published by HL7 International / Clinical Decision Support. This guide is not an authorized publication; it is the continuous build for version 2.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cql-ig/ and changes regularly. See the Directory of published versions
{
"resourceType" : "Observation",
"id" : "negation-example",
"text" : {
"status" : "extensions",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation negation-example</b></p><a name=\"negation-example\"> </a><a name=\"hcnegation-example\"> </a><a name=\"negation-example-en-US\"> </a><p><b>status</b>: Cancelled</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category laboratory}\">Laboratory</span></p><p><b>code</b>: <span title=\"Codes:\">Not Done Value Set: Hemoglobin lab test</span> (Not done value set: <code>http://cts.nlm.nih.gov/fhir/2.16.840.1.113762.1.4.1045.131</code>)</p><p><b>subject</b>: <a href=\"Patient-example.html\">Alana Asdf (no stated gender), DoB: 1993-06-14</a></p><p><b>effective</b>: 2013-04-02 10:30:10+0100 --> 2013-04-05 10:30:10+0100</p><p><b>issued</b>: 2013-04-03 15:30:10+0100</p></div>"
},
"status" : "cancelled",
"category" : [
{
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/observation-category",
"code" : "laboratory",
"display" : "Laboratory"
}
]
}
],
"code" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-notDoneValueSet",
"valueCanonical" : "http://cts.nlm.nih.gov/fhir/2.16.840.1.113762.1.4.1045.131"
}
],
"text" : "Not Done Value Set: Hemoglobin lab test"
},
"subject" : {
🔗 "reference" : "Patient/example"
},
"effectivePeriod" : {
"start" : "2013-04-02T10:30:10+01:00",
"end" : "2013-04-05T10:30:10+01:00"
},
"issued" : "2013-04-03T15:30:10+01:00"
}