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
<Observation xmlns="http://hl7.org/fhir">
<id value="negation-example"/>
<text>
<status value="extensions"/>
<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>
</text>
<status value="cancelled"/>
<category>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/observation-category"/>
<code value="laboratory"/>
<display value="Laboratory"/>
</coding>
</category>
<code>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-notDoneValueSet">
<valueCanonical
value="http://cts.nlm.nih.gov/fhir/2.16.840.1.113762.1.4.1045.131"/>
</extension>
<text value="Not Done Value Set: Hemoglobin lab test"/>
</code>
<subject>🔗
<reference value="Patient/example"/>
</subject>
<effectivePeriod>
<start value="2013-04-02T10:30:10+01:00"/>
<end value="2013-04-05T10:30:10+01:00"/>
</effectivePeriod>
<issued value="2013-04-03T15:30:10+01:00"/>
</Observation>