Using CQL with FHIR
1.0.0-ballot - Ballot International flag

This page is part of the Using CQL with FHIR Implementation Guide (v1.0.0-ballot: STU1 Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. . For a full list of available versions, see the Directory of published versions

: Example Negation Observation - XML Representation

Raw xml | Download



<Observation xmlns="http://hl7.org/fhir">
  <id value="negation-example"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Observation</b><a name="negation-example"> </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 &quot;negation-example&quot; </p></div><p><b>status</b>: cancelled</p><p><b>category</b>: Laboratory <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.3.0/CodeSystem-observation-category.html">Observation Category Codes</a>#laboratory)</span></p><p><b>code</b>: Not Done Value Set: Hemoglobin lab test <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (Not done value set: <a href="http://cts.nlm.nih.gov/fhir/2.16.840.1.113762.1.4.1045.131">http://cts.nlm.nih.gov/fhir/2.16.840.1.113762.1.4.1045.131</a>)</span></p><p><b>subject</b>: <a href="Patient-example.html">Patient/example</a> &quot; ASDF&quot;</p><p><b>effective</b>: 2013-04-02 10:30:10+0100 --&gt; 2013-04-05 10:30:10+0100</p><p><b>issued</b>: Apr 3, 2013, 2:30:10 PM</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>