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 CMS146v2 Quality Measure CQL Library (using QUICK) - XML Representation

Raw xml | Download


<Binary xmlns="http://hl7.org/fhir">
  <id value="binary-example-cms146v2-cqm-cql"/>
  <contentType value="text/cql"/>
  <data
        value="bGlicmFyeSBDTVMxNDYgdmVyc2lvbiAnMicNCg0KLyogQ01TIDE0NnYyDQogKg0KICogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KICogUURNIExvZ2ljDQogKiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQogKiBJbml0aWFsIFBhdGllbnQgUG9wdWxhdGlvbiA9DQogKiAgICAgQU5EOiAiUGF0aWVudCBDaGFyYWN0ZXJpc3RpYyBCaXJ0aGRhdGU6IGJpcnRoIGRhdGUiID49IDIgeWVhcihzKSBzdGFydHMgYmVmb3JlIHN0YXJ0IG9mICJNZWFzdXJlbWVudCBQZXJpb2QiDQogKiAgICAgQU5EOiAiUGF0aWVudCBDaGFyYWN0ZXJpc3RpYyBCaXJ0aGRhdGU6IGJpcnRoIGRhdGUiIDwgMTggeWVhcihzKSBzdGFydHMgYmVmb3JlIHN0YXJ0IG9mICJNZWFzdXJlbWVudCBQZXJpb2QiDQogKiAgICAgQU5EOg0KICogICAgICAgICBBTkQ6ICJPY2N1cnJlbmNlIEEgb2YgRW5jb3VudGVyLCBQZXJmb3JtZWQ6IEFtYnVsYXRvcnkvRUQgVmlzaXQiIGR1cmluZyAiTWVhc3VyZW1lbnQgUGVyaW9kIg0KICogICAgICAgICBBTkQ6ICJNZWRpY2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