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

: CQL Tests - Types - XML Representation

Raw xml | Download


<Binary xmlns="http://hl7.org/fhir">
  <id value="binary-test-cqltypestest"/>
  <contentType value="application/elm+xml"/>
  <data
        value="PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjx0ZXN0cyB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL2hsNy5vcmcvZmhpcnBhdGgvdGVzdHMiIHhzaTpzY2hlbWFMb2NhdGlvbj0iaHR0cDovL2hsNy5vcmcvZmhpcnBhdGgvdGVzdHMgLi4vLi4vdGVzdFNjaGVtYS90ZXN0U2NoZW1hLnhzZCINCgluYW1lPSJDcWxUeXBlc1Rlc3QiIHJlZmVyZW5jZT0iaHR0cHM6Ly9jcWwuaGw3Lm9yZy8wOS1iLWNxbHJlZmVyZW5jZS5odG1sI3R5cGVzLTIiPg0KCTwhLS0gVE9ETzogR28gdGhyb3VnaCB0aGlzIGZpbGUgYW5kIGZsZXNoIG91dCBvciBjb3JyZWN0DQoJYWxsIHRoZSBib3VuZHMgY2hlY2tpbmcgYWdhaW5zdCB0aGUgQ1FMIHNwZWMuIC0tPg0KCTxncm91cCBuYW1lPSJBbnkiPg0KCQk8IS0tIFJFUExBQ0VEIEJZIFRlc3RJc29sYXRlZENxbEV4cHJzIDogVmFsdWVMaXRlcmFsc0FuZFNlbGVjdG9ycy54bWwNCgkJPHRlc3QgbmFtZT0iQW55SW50ZWdlciI+DQoJCQk8ZXhwcmVzc2lvbj41PC9leHByZXNzaW9uPg0KCQkJPG91dHB1dD41PC9vdXRwdXQ+DQoJCTwvdGV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