eCQM QICore Content Implementation Guide
2025.0.0 - CI Build
eCQM QICore Content Implementation Guide, published by cqframework. This guide is not an authorized publication; it is the continuous build for version 2025.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/ecqm-content-qicore-2025/ and changes regularly. See the Directory of published versions
Active as of 2025-04-18 |
<Library xmlns="http://hl7.org/fhir">
<id value="CMS1056CTClinicalFHIR"/>
<meta>
<profile
value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablelibrary"/>
<profile
value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-computablelibrary"/>
<profile
value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablelibrary"/>
<profile
value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-executablelibrary"/>
<profile
value="http://hl7.org/fhir/uv/cql/StructureDefinition/cql-library"/>
<profile
value="http://hl7.org/fhir/uv/cql/StructureDefinition/elm-json-library"/>
<profile
value="http://hl7.org/fhir/uv/cql/StructureDefinition/elm-xml-library"/>
</meta>
<language value="en"/>
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<table class="grid dict">
<tr>
<th scope="row"><b>Title: </b></th>
<td style="padding-left: 4px;">CMS1056CTClinicalFHIR</td>
</tr>
<tr>
<th scope="row"><b>Id: </b></th>
<td style="padding-left: 4px;">CMS1056CTClinicalFHIR</td>
</tr>
<tr>
<th scope="row"><b>Version: </b></th>
<td style="padding-left: 4px;">0.6.000</td>
</tr>
<tr>
<th scope="row"><b>Url: </b></th>
<td style="padding-left: 4px;">https://madie.cms.gov/Library/CMS1056CTClinicalFHIR</td>
</tr>
<tr>
<th scope="row">
<b>
official
</b>
</th>
<td style="padding-left: 4px;">
<p style="margin-bottom: 5px;">
<span>CMS1056CTClinicalFHIR</span>
</p>
</td>
</tr>
<tr>
<th scope="row"><b>Type: </b></th>
<td style="padding-left: 4px;">
<p style="margin-bottom: 5px;">
<b>system: </b> <span>http://terminology.hl7.org/CodeSystem/library-type</span>
</p>
<p style="margin-bottom: 5px;">
<b>code: </b> <span>logic-library</span>
</p>
</td>
</tr>
<tr>
<th scope="row"><b>Date: </b></th>
<td style="padding-left: 4px;">2025-04-18T13:49:26+00:00</td>
</tr>
<tr>
<th scope="row"><b>Publisher: </b></th>
<td style="padding-left: 4px;">Alara Imaging, Inc.</td>
</tr>
<tr>
<th scope="row"><b>Description: </b></th>
<td style="padding-left: 4px;">CMS1056CTClinicalFHIR</td>
</tr>
<tr>
<th scope="row"><b>Related Artifacts: </b></th>
<td style="padding-left: 4px;">
<p><b>Dependencies</b></p>
<ul>
<li>https://madie.cms.gov/Library/SupplementalDataElements|5.1.000</li>
<li>https://madie.cms.gov/Library/QICoreCommon|4.0.000</li>
<li>https://madie.cms.gov/Library/FHIRHelpers|4.4.000</li>
<li>https://madie.cms.gov/Library/AlaraCommonFunctions|1.6.000</li>
<li>http://loinc.org</li>
</ul>
</td>
</tr>
<tr>
<th scope="row"><b>Data Requirements:</b></th>
<td style="padding-left: 4px;">
<table class="grid-dict">
<tr><th><b>Type</b></th><th><b>Profile</b></th><th><b>MS</b></th><th><b>Code Filter</b></th></tr>
<tr>
<th>Patient</th>
<th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</th>
<th>;;</th>
<th>
</th>
</tr>
<tr>
<th>Observation</th>
<th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation-lab</th>
<th>;;;;</th>
<th>
<b>code filter: </b>
<br/>
<span style="padding-left: 4px;">
<b>path: </b><span>code</span>
</span>
<br/>
<p style="margin-bottom: 5px;">
<b>system: </b> <span>http://loinc.org</span>
</p>
<p style="margin-bottom: 5px;">
<b>code: </b> <span>96914-7</span>
</p>
<p style="margin-bottom: 5px;">
<b>display: </b> <span>CT dose and image quality category</span>
</p>
</th>
</tr>
<tr>
<th>Coverage</th>
<th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage</th>
<th>;;</th>
<th>
<b>code filter: </b>
<br/>
<span style="padding-left: 4px;">
<b>path: </b><span>type</span>
</span>
<br/>
<span style="padding-left: 4px;">
<b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591</span>
</span>
</th>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2">
<table>
<tr><th><a id="cql-content"><b>Content: </b></a> text/cql</th></tr>
<tr><td><pre><code class="language-cql">library CMS1056CTClinicalFHIR version '0.6.000'
using QICore version '6.0.0'
include FHIRHelpers version '4.4.000' called FHIRHelpers
include CQMCommon version '4.0.000' called CQMCommon
include QICoreCommon version '4.0.000' called QICoreCommon
include SupplementalDataElements version '5.1.000' called SDE
include AlaraCommonFunctions version '1.6.000' called AlaraCommon
codesystem "LOINC": 'http://loinc.org'
code "Birth date": '21112-8' from "LOINC" display 'Birth date'
code "CT dose and image quality category": '96914-7' from "LOINC" display 'CT dose and image quality category'
code "Full Body": 'LA31771-1' from "LOINC" display 'Full Body'
parameter "Measurement Period" Interval<DateTime>
context Patient
define "SDE Ethnicity":
SDE."SDE Ethnicity"
define "SDE Payer":
SDE."SDE Payer"
define "SDE Race":
SDE."SDE Race"
define "SDE Sex":
SDE."SDE Sex"
define "Patients with Qualifying CTScan":
[LaboratoryResultObservation: "CT dose and image quality category"] CTScanResult
where QICoreCommon.ToInterval ( CTScanResult.effective ) ends during day of "Measurement Period"
and ( AgeInYearsAt(start of "Measurement Period") >= 18 )
define "Patients with Qualifying CTScan with Values":
"Patients with Qualifying CTScan" CTScan
where AlaraCommon."Global Noise Value" ( CTScan ) is not null
and AlaraCommon."Size Adjusted Value" ( CTScan ) is not null
and CTScan.value is not null
define "Initial Population":
exists ( "Patients with Qualifying CTScan" )
define "Denominator":
exists ( "Patients with Qualifying CTScan with Values" )
define "Denominator Exclusion":
exists ( "Patients with Qualifying CTScan with Values" CTScan
where ( CTScan.value as Concept ).codes contains "Full Body"
)
define "Numerator":
exists ( "Patients with Qualifying CTScan with Values" CTScan
where AlaraCommon."CT Scan Qualifies" ( CTScan )
)</code></pre></td></tr>
</table>
</td>
</tr>
</table>
</div>
</text>
<contained>
<Parameters>
<id value="options"/>
<parameter>
<name value="translatorVersion"/>
<valueString value="3.25.0"/>
</parameter>
<parameter>
<name value="option"/>
<valueString value="EnableAnnotations"/>
</parameter>
<parameter>
<name value="option"/>
<valueString value="EnableLocators"/>
</parameter>
<parameter>
<name value="option"/>
<valueString value="DisableListDemotion"/>
</parameter>
<parameter>
<name value="option"/>
<valueString value="DisableListPromotion"/>
</parameter>
<parameter>
<name value="format"/>
<valueString value="JSON"/>
</parameter>
<parameter>
<name value="format"/>
<valueString value="XML"/>
</parameter>
<parameter>
<name value="analyzeDataRequirements"/>
<valueBoolean value="false"/>
</parameter>
<parameter>
<name value="collapseDataRequirements"/>
<valueBoolean value="false"/>
</parameter>
<parameter>
<name value="compatibilityLevel"/>
<valueString value="1.5"/>
</parameter>
<parameter>
<name value="enableCqlOnly"/>
<valueBoolean value="false"/>
</parameter>
<parameter>
<name value="errorLevel"/>
<valueString value="Info"/>
</parameter>
<parameter>
<name value="signatureLevel"/>
<valueString value="Overloads"/>
</parameter>
<parameter>
<name value="validateUnits"/>
<valueBoolean value="true"/>
</parameter>
<parameter>
<name value="verifyOnly"/>
<valueBoolean value="false"/>
</parameter>
</Parameters>
</contained>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system value="http://loinc.org"/>
<code value="21112-8"/>
<display value="Birth date"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system value="http://loinc.org"/>
<code value="96914-7"/>
<display value="CT dose and image quality category"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system value="http://loinc.org"/>
<code value="LA31771-1"/>
<display value="Full Body"/>
</valueCoding>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions">
<valueReference>
<reference value="#options"/>
</valueReference>
</extension>
<url value="https://madie.cms.gov/Library/CMS1056CTClinicalFHIR"/>
<identifier>
<use value="official"/>
<system value="https://madie.cms.gov/login"/>
<value value="CMS1056CTClinicalFHIR"/>
</identifier>
<version value="0.6.000"/>
<name value="CMS1056CTClinicalFHIR"/>
<title value="CMS1056CTClinicalFHIR"/>
<status value="active"/>
<experimental value="false"/>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/library-type"/>
<code value="logic-library"/>
</coding>
</type>
<date value="2025-04-18T13:49:26+00:00"/>
<publisher value="Alara Imaging, Inc."/>
<description value="CMS1056CTClinicalFHIR"/>
<content>
<contentType value="text/cql"/>
<data
value="bGlicmFyeSBDTVMxMDU2Q1RDbGluaWNhbEZISVIgdmVyc2lvbiAnMC42LjAwMCcNCg0KdXNpbmcgUUlDb3JlIHZlcnNpb24gJzYuMC4wJw0KDQppbmNsdWRlIEZISVJIZWxwZXJzIHZlcnNpb24gJzQuNC4wMDAnIGNhbGxlZCBGSElSSGVscGVycw0KaW5jbHVkZSBDUU1Db21tb24gdmVyc2lvbiAnNC4wLjAwMCcgY2FsbGVkIENRTUNvbW1vbg0KaW5jbHVkZSBRSUNvcmVDb21tb24gdmVyc2lvbiAnNC4wLjAwMCcgY2FsbGVkIFFJQ29yZUNvbW1vbg0KaW5jbHVkZSBTdXBwbGVtZW50YWxEYXRhRWxlbWVudHMgdmVyc2lvbiAnNS4xLjAwMCcgY2FsbGVkIFNERQ0KaW5jbHVkZSBBbGFyYUNvbW1vbkZ1bmN0aW9ucyB2ZXJzaW9uICcxLjYuMDAwJyBjYWxsZWQgQWxhcmFDb21tb24NCg0KY29kZXN5c3RlbSAiTE9JTkMiOiAnaHR0cDovL2xvaW5jLm9yZycNCg0KY29kZSAiQmlydGggZGF0ZSI6ICcyMTExMi04JyBmcm9tICJMT0lOQyIgZGlzcGxheSAnQmlydGggZGF0ZScNCmNvZGUgIkNUIGRvc2UgYW5kIGltYWdlIHF1YWxpdHkgY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