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 1.1.0-cibuild 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
: Example Negation Observation - TTL Representation
Raw ttl | Download
@prefix fhir: <http://hl7.org/fhir/> .
@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:id [ fhir:v "negation-example"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation </b><a name=\"negation-example\"> </a><a name=\"hcnegation-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\">ResourceObservation "negation-example" </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.5.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> " ASDF"</p><p><b>effective</b>: 2013-04-02 10:30:10+0100 --> 2013-04-05 10:30:10+0100</p><p><b>issued</b>: Apr 3, 2013, 2:30:10 PM</p></div>"
] ; #
fhir:status [ fhir:v "cancelled"] ; #
fhir:category ( [
( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "laboratory" ] ;
fhir:display [ fhir:v "Laboratory" ] ] )
] ) ; #
fhir:code [
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-notDoneValueSet"^^xsd:anyURI ] ;
fhir:value [
fhir:v "http://cts.nlm.nih.gov/fhir/2.16.840.1.113762.1.4.1045.131"^^xsd:anyURI ;
fhir:link <http://cts.nlm.nih.gov/fhir/2.16.840.1.113762.1.4.1045.131> ] ] ) ;
fhir:text [ fhir:v "Not Done Value Set: Hemoglobin lab test" ]
] ; #
fhir:subject [
fhir:reference [ fhir:v "Patient/example" ]
] ; #
fhir:effective [
a fhir:Period ;
fhir:start [ fhir:v "2013-04-02T10:30:10+01:00"^^xsd:dateTime ] ;
fhir:end [ fhir:v "2013-04-05T10:30:10+01:00"^^xsd:dateTime ]
] ; #
fhir:issued [ fhir:v "2013-04-03T15:30:10+01:00"^^xsd:dateTime] . #