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 QUICK) - JSON Representation

Raw json | Download

{
  "resourceType" : "Binary",
  "id" : "binary-example-cms55v1-nqf0495-cql",
  "contentType" : "text/cql",
  "data" : "bGlicmFyeSBDTVM1NSB2ZXJzaW9uICcxJw0KDQovKg0KCUNNUzU1djEgTlFGMDQ5NQ0KCU1lZGlhbiBUaW1lIGZyb20gRUQgQXJyaXZhbCB0byBFRCBEZXBhcnR1cmUgZm9yIEFkbWl0dGVkIEVEIFBhdGllbnRzDQoNClBvcHVsYXRpb24gY3JpdGVyaWENCg0KICAgIEluaXRpYWwgUGF0aWVudCBQb3B1bGF0aW9uID0NCiAgICAgICAgQU5EOiAiT2NjdXJyZW5jZSBBIG9mIEVuY291bnRlciwgUGVyZm9ybWVkOiBFbmNvdW50ZXIgSW5wYXRpZW50IChsZW5ndGggb2Ygc3RheSA8PSAxMjAgZGF5KHMpKSINCiAgICAgICAgQU5EOiAiT2NjdXJyZW5jZSBBIG9mIEVuY291bnRlciwgUGVyZm9ybWVkOiBFbmNvdW50ZXIgSW5wYXRpZW50IChkaXNjaGFyZ2UgZGF0ZXRpbWUpIiBkdXJpbmcgIk1lYXN1cmVtZW50IFBlcmlvZCINCiAgICBNZWFzdXJlIFBvcHVsYXRpb24gPQ0KICAgICAgICBBTkQ6ICJJbml0aWFsIFBhdGllbnQgUG9wdWxhdGlvbiINCiAgICAgICAgQU5EOiAiT2NjdXJyZW5jZSBBIG9mIEVuY291bnRlciwgUGVyZm9ybWVkOiBFbWVyZ2VuY3kgRGVwYXJ0bWVudCBWaXNpdCIgPD0gMSBob3VyKHMpIGVuZHMgYmVmb3JlIHN0YXJ0IG9mICJPY2N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