Clinical Quality Language Specification
1.5.3 - Release 1 Errata 2

Clinical Quality Language Specification, published by Clinical Decision Support WG. This guide is not an authorized publication; it is the continuous build for version 1.5.3 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cql/ and changes regularly. See the Directory of published versions

: Related Context Retrieve Example CQL Library - 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:Binary ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "binary-example-example.relatedcontextretrieve-0.1.0-cql"] ; # 
  fhir:contentType [ fhir:v "text/cql"] ; # 
  fhir:data [ fhir:v "bGlicmFyeSBFeGFtcGxlLlJlbGF0ZWRDb250ZXh0UmV0cmlldmUgdmVyc2lvbiAnMC4xLjAnDQoNCnVzaW5nIFFETSB2ZXJzaW9uICc1LjUnDQoNCi8qDQpDb25zaWRlciB0aGUgZXhhbXBsZSBvZiBhICJtb3RoZXItaW5mYW50IiBtZWFzdXJlIHRoYXQgcmVxdWlyZXMgZGF0YSBmcm9tIGJvdGggYSBtb3RoZXINCmFuZCB0aGUgaW5mYW50LiBJZiB3ZSB0aGluayBhYm91dCB0aGUgbWVhc3VyZSBhcyB3cml0dGVuIGZyb20gdGhlIGluZmFudHMgcGVyc3BlY3RpdmUsDQp0aGVuIHdlIG5lZWQgc29tZSB3YXkgdG8gYmUgYWJsZSB0byBhY2Nlc3MgdGhlIGRhdGEgZnJvbSB0aGUgbW90aGVyJ3MgcmVjb3JkLg0KKi8NCg0KY29kZXN5c3RlbSAiU05PTUVEIjogJzEuMi4zLjQuNScNCnZhbHVlc2V0ICJFc3RpbWF0ZWQgRHVlIERhdGUgRXhhbSI6ICdUQkQnDQp2YWx1ZXNldCAiTGl2ZSBEZWxpdmVyeS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