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

: Example CMS55v2 (NQF-0495) Quality Measure CQL Library (using QDM) - 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-cms55v1-qdm-cql"] ; # 
  fhir:contentType [ fhir:v "text/cql"] ; # 
  fhir:data [ fhir:v "bGlicmFyeSBDTVM1NSB2ZXJzaW9uICcxJw0KDQovKg0KCUNNUzU1djEgTlFGMDQ5NQ0KCU1lZGlhbiBUaW1lIGZyb20gRUQgQXJyaXZhbCB0byBFRCBEZXBhcnR1cmUgZm9yIEFkbWl0dGVkIEVEIFBhdGllbnRzDQoNClBvcHVsYXRpb24gY3JpdGVyaWENCg0KICAgIEluaXRpYWwgUGF0aWVudCBQb3B1bGF0aW9uID0NCiAgICAgICAgQU5EOiAiT2NjdXJyZW5jZSBBIG9mIEVuY291bnRlciwgUGVyZm9ybWVkOiBFbmNvdW50ZXIgSW5wYXRpZW50IChsZW5ndGggb2Ygc3RheSA8PSAxMjAgZGF5KHMpKSINCiAgICAgICAgQU5EOiAiT2NjdXJyZW5jZSBBIG9mIEVuY291bnRlciwgUGVyZm9ybWVkOiBFbmNvdW50ZXIgSW5wYXRpZW50IChkaXNjaGFyZ2UgZGF0ZXRpbWUpIiBkdXJpbmcgIk1lYXN1cmVtZW50IFBlcmlvZCINCiAgICBNZWFzdXJlIFBvcHVsYXRpb24gPQ0KICAgICAgICBBTkQ6ICJJbml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