This page is part of the Quality Measure STU2 for FHIR R4 Implementation Guide (v2.1.0: STU3 Ballot 1) based on FHIR R4. The current version which supercedes this version is 3.0.0. For a full list of available versions, see the Directory of published versions
<Measure xmlns="http://hl7.org/fhir">
<id value="TSCComponent"/>
<meta>
<profile
value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/proportion-measure-cqfm"/>
<profile
value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm"/>
</meta>
<language value="en"/>
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<table class="grid dict">
<tr>
<th scope="row"><b>Id: </b></th>
<td style="padding-left: 4px;">TSCComponent</td>
</tr>
<tr>
<th scope="row"><b>Url: </b></th>
<td style="padding-left: 4px;">http://hl7.org/fhir/us/cqfmeasures/Measure/TSCComponent</td>
</tr>
<tr>
<th scope="row"><b>Version: </b></th>
<td style="padding-left: 4px;">0.0.001</td>
</tr>
<tr>
<th scope="row"><b>Name: </b></th>
<td style="padding-left: 4px;">TSCComponent</td>
</tr>
<tr>
<th scope="row"><b>Title: </b></th>
<td style="padding-left: 4px;">Preventive Care and Screening: Tobacco Use: Screening and Cessation Intervention</td>
</tr>
<tr>
<th scope="row"><b>Status: </b></th>
<td style="padding-left: 4px;">draft</td>
</tr>
<tr>
<th scope="row"><b>Experimental: </b></th>
<td style="padding-left: 4px;">true</td>
</tr>
<tr>
<th scope="row"><b>Scoring: </b></th>
<td style="padding-left: 4px;">
<p style="margin-bottom: 5px;">
<b>system: </b> <span>http://terminology.hl7.org/CodeSystem/measure-scoring</span>
</p>
<p style="margin-bottom: 5px;">
<b>code: </b> <span>proportion</span>
</p>
<p style="margin-bottom: 5px;">
<b>display: </b> <span>Proportion</span>
</p>
</td>
</tr>
<tr>
<th scope="row"><b>Improvement Notation: </b></th>
<td style="padding-left: 4px;">
<p style="margin-bottom: 5px;">
<b>system: </b> <span>http://terminology.hl7.org/CodeSystem/measure-improvement-notation</span>
</p>
<p style="margin-bottom: 5px;">
<b>code: </b> <span>increase</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/measure-type</span>
</p>
<p style="margin-bottom: 5px;">
<b>code: </b> <span>process</span>
</p>
</td>
</tr>
<tr>
<th scope="row"><b>Date: </b></th>
<td style="padding-left: 4px;">2021-04-03T13:00:06-06:00</td>
</tr>
<tr>
<th scope="row"><b>Publisher: </b></th>
<td style="padding-left: 4px;">Clinical Quality Information WG</td>
</tr>
<tr>
<th scope="row"><b>Description: </b></th>
<td style="padding-left: 4px;">This is an example only.</td>
</tr>
<tr>
<th scope="row"><b>Parameters: </b></th>
<td style="padding-left: 4px;">
<table class="grid-dict">
<tr><th><b>name</b></th><th><b>use</b></th><th><b>min</b></th><th><b>max</b></th><th><b>type</b></th></tr>
<tr>
<td>Measurement Period</td>
<td>in</td>
<td>0</td>
<td>1</td>
<td>Period</td>
</tr>
<tr>
<td>Numerator 3</td>
<td>out</td>
<td>0</td>
<td>1</td>
<td>boolean</td>
</tr>
<tr>
<td>Most Recent Tobacco Use Screening Indicates Tobacco Non User</td>
<td>out</td>
<td>0</td>
<td>1</td>
<td>Observation</td>
</tr>
<tr>
<td>Most Recent Tobacco Use Screening Indicates Tobacco User</td>
<td>out</td>
<td>0</td>
<td>1</td>
<td>Observation</td>
</tr>
<tr>
<td>Tobacco Cessation Counseling Given</td>
<td>out</td>
<td>0</td>
<td>*</td>
<td>Encounter</td>
</tr>
<tr>
<td>Tobacco Cessation Pharmacotherapy Ordered</td>
<td>out</td>
<td>0</td>
<td>*</td>
<td>MedicationRequest</td>
</tr>
<tr>
<td>Denominator Exceptions 1</td>
<td>out</td>
<td>0</td>
<td>1</td>
<td>boolean</td>
</tr>
<tr>
<td>Medical Reason for Not Screening for Tobacco Use</td>
<td>out</td>
<td>0</td>
<td>*</td>
<td>Observation</td>
</tr>
<tr>
<td>Has Limited Life Expectancy</td>
<td>out</td>
<td>0</td>
<td>1</td>
<td>boolean</td>
</tr>
<tr>
<td>Numerator 1</td>
<td>out</td>
<td>0</td>
<td>1</td>
<td>boolean</td>
</tr>
<tr>
<td>Numerator 2</td>
<td>out</td>
<td>0</td>
<td>1</td>
<td>boolean</td>
</tr>
<tr>
<td>SDE Race</td>
<td>out</td>
<td>0</td>
<td>*</td>
<td>Coding</td>
</tr>
<tr>
<td>Patient</td>
<td>out</td>
<td>0</td>
<td>1</td>
<td>Patient</td>
</tr>
<tr>
<td>SDE Sex</td>
<td>out</td>
<td>0</td>
<td>1</td>
<td>Coding</td>
</tr>
<tr>
<td>Denominator 3</td>
<td>out</td>
<td>0</td>
<td>1</td>
<td>boolean</td>
</tr>
<tr>
<td>Initial Population</td>
<td>out</td>
<td>0</td>
<td>1</td>
<td>boolean</td>
</tr>
<tr>
<td>Office Based Visit During Measurement Period</td>
<td>out</td>
<td>0</td>
<td>*</td>
<td>Encounter</td>
</tr>
<tr>
<td>Preventive Visit During Measurement Period</td>
<td>out</td>
<td>0</td>
<td>*</td>
<td>Encounter</td>
</tr>
<tr>
<td>Denominator 2</td>
<td>out</td>
<td>0</td>
<td>1</td>
<td>boolean</td>
</tr>
<tr>
<td>SDE Payer</td>
<td>out</td>
<td>0</td>
<td>*</td>
<td>Any</td>
</tr>
<tr>
<td>SDE Ethnicity</td>
<td>out</td>
<td>0</td>
<td>*</td>
<td>Coding</td>
</tr>
<tr>
<td>Denominator Exceptions 2</td>
<td>out</td>
<td>0</td>
<td>1</td>
<td>boolean</td>
</tr>
<tr>
<td>Medical Reason for Not Counseling Tobacco User</td>
<td>out</td>
<td>0</td>
<td>*</td>
<td>Procedure</td>
</tr>
<tr>
<td>Medical Reason for Not Ordering Tobacco Cessation Pharmacotherapy</td>
<td>out</td>
<td>0</td>
<td>*</td>
<td>MedicationRequest</td>
</tr>
<tr>
<td>Denominator Exceptions 3</td>
<td>out</td>
<td>0</td>
<td>1</td>
<td>boolean</td>
</tr>
<tr>
<td>Denominator 1</td>
<td>out</td>
<td>0</td>
<td>1</td>
<td>boolean</td>
</tr>
</table>
</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>path</b></th><th><b>valueSet or system</b></th><th><b>code</b></th></tr>
<tr>
<td>Observation</td>
<td>code</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1278</td>
<td></td>
</tr>
<tr>
<td>Observation</td>
<td>code</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1278</td>
<td></td>
</tr>
<tr>
<td>Encounter</td>
<td>type</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.509</td>
<td></td>
</tr>
<tr>
<td>MedicationRequest</td>
<td>medication</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1190</td>
<td></td>
</tr>
<tr>
<td>Observation</td>
<td>code</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1278</td>
<td></td>
</tr>
<tr>
<td>Condition</td>
<td></td>
</tr>
<tr>
<td>Patient</td>
<td></td>
</tr>
<tr>
<td>Patient</td>
<td></td>
</tr>
<tr>
<td>Encounter</td>
<td>type</td>
<td></td>
<td>96158</td>
</tr>
<tr>
<td>Encounter</td>
<td>type</td>
<td></td>
<td>96156</td>
</tr>
<tr>
<td>Encounter</td>
<td>type</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016</td>
<td></td>
</tr>
<tr>
<td>Encounter</td>
<td>type</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1011</td>
<td></td>
</tr>
<tr>
<td>Encounter</td>
<td>type</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001</td>
<td></td>
</tr>
<tr>
<td>Encounter</td>
<td>type</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1285</td>
<td></td>
</tr>
<tr>
<td>Encounter</td>
<td>type</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1022</td>
<td></td>
</tr>
<tr>
<td>Encounter</td>
<td>type</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1492</td>
<td></td>
</tr>
<tr>
<td>Encounter</td>
<td>type</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1496</td>
<td></td>
</tr>
<tr>
<td>Encounter</td>
<td>type</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1141</td>
<td></td>
</tr>
<tr>
<td>Encounter</td>
<td>type</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1530</td>
<td></td>
</tr>
<tr>
<td>Encounter</td>
<td>type</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240</td>
<td></td>
</tr>
<tr>
<td>Encounter</td>
<td>type</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025</td>
<td></td>
</tr>
<tr>
<td>Encounter</td>
<td>type</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1027</td>
<td></td>
</tr>
<tr>
<td>Encounter</td>
<td>type</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1030</td>
<td></td>
</tr>
<tr>
<td>Encounter</td>
<td>type</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1026</td>
<td></td>
</tr>
<tr>
<td>Encounter</td>
<td>type</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023</td>
<td></td>
</tr>
<tr>
<td>Coverage</td>
<td>type</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591</td>
<td></td>
</tr>
<tr>
<td>Patient</td>
<td></td>
</tr>
<tr>
<td>Procedure</td>
<td>code</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.509</td>
<td></td>
</tr>
<tr>
<td>MedicationRequest</td>
<td>medication</td>
<td>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1190</td>
<td></td>
</tr>
</table>
</td>
</tr>
<tr>
<th scope="row"><b>Direct Reference Codes: </b></th>
<td style="padding-left: 4px;">
<table class="grid-dict">
<tr><th><b>display</b></th><th><b>code</b></th><th><b>system</b></th></tr>
<tr>
<td></td>
<td>active</td>
<td></td>
</tr>
<tr>
<td>Health behavior intervention, individual, face-to-face; initial 30 minutes</td>
<td>96158</td>
<td></td>
</tr>
<tr>
<td>Health behavior assessment, or re-assessment (ie, health-focused clinical interview, behavioral observations, clinical decision making)</td>
<td>96156</td>
<td></td>
</tr>
</table>
</td>
</tr>
<tr>
<th scope="row"><b>Supplemental Data: </b></th>
<td style="padding-left: 4px;">
<table class="grid-dict">
<tr><th><b>expression</b></th><th><b>system</b></th></tr>
<tr>
<td>SDE Ethnicity</td>
<td>http://terminology.hl7.org/CodeSystem/measure-data-usage</td>
</tr>
<tr>
<td>SDE Payer</td>
<td>http://terminology.hl7.org/CodeSystem/measure-data-usage</td>
</tr>
<tr>
<td>SDE Race</td>
<td>http://terminology.hl7.org/CodeSystem/measure-data-usage</td>
</tr>
<tr>
<td>SDE Sex</td>
<td>http://terminology.hl7.org/CodeSystem/measure-data-usage</td>
</tr>
</table>
</td>
</tr>
<tr>
<th scope="row"><b>Jurisdiction: </b></th>
<td style="padding-left: 25px;">US</td>
</tr>
<tr>
<th scope="row"><b>Effective Period: </b></th>
<td style="padding-left: 4px;">2022-01-01..2022-12-31</td>
</tr>
<tr>
<th scope="row"><b>Related Artifacts: </b></th>
<td style="padding-left: 4px;">
<p><b>Dependencies</b></p>
<ul>
<li>http://hl7.org/fhir/us/cqfmeasures/Library/MATGlobalCommonFunctions|5.0.000</li>
<li>http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1</li>
<li>http://hl7.org/fhir/us/cqfmeasures/Library/SupplementalDataElements|2.0.000</li>
<li>http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1</li>
<li>http://terminology.hl7.org/CodeSystem/condition-clinical</li>
<li>http://www.ama-assn.org/go/cpt</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1278</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1189</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1170</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.509</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1190</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1011</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1285</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1022</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1492</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1496</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1141</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1530</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1027</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1030</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1026</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591</li>
<li>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1007</li>
</ul>
</td>
</tr>
<tr>
<th scope="row"><b>Logic Definitions: </b></th>
<td style="padding-left: 4px;">
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>Numerator 3</td>
</tr>
</table>
<pre><code class="language-cql">define "Numerator 3":
"Most Recent Tobacco Use Screening Indicates Tobacco Non User" is not null
or ( "Most Recent Tobacco Use Screening Indicates Tobacco User" is not null
and ( exists "Tobacco Cessation Counseling Given"
or exists "Tobacco Cessation Pharmacotherapy Ordered"
//or exists "Active Pharmacotherapy for Tobacco Cessation"
)
)</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>Most Recent Tobacco Use Screening Indicates Tobacco Non User</td>
</tr>
</table>
<pre><code class="language-cql">define "Most Recent Tobacco Use Screening Indicates Tobacco Non User":
( Last(["Observation": "Tobacco Use Screening"] TobaccoUseScreening
where Global."Normalize Interval"(TobaccoUseScreening.effective)overlaps "Measurement Period"
sort by start of Global."Normalize Interval"(effective)
)) MostRecentTobaccoUseScreening
where MostRecentTobaccoUseScreening.value in "Tobacco Non-User"</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>Most Recent Tobacco Use Screening Indicates Tobacco User</td>
</tr>
</table>
<pre><code class="language-cql">define "Most Recent Tobacco Use Screening Indicates Tobacco User":
( Last(["Observation": "Tobacco Use Screening"] TobaccoUseScreening
where Global."Normalize Interval"(TobaccoUseScreening.effective)overlaps "Measurement Period"
sort by start of Global."Normalize Interval"(effective)
)) MostRecentTobaccoUseScreening
where MostRecentTobaccoUseScreening.value in "Tobacco User"</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>Tobacco Cessation Counseling Given</td>
</tr>
</table>
<pre><code class="language-cql">// MedicationStatement is not available in R5, known publication issue
//define "Active Pharmacotherapy for Tobacco Cessation":
// ["MedicationStatement": "Tobacco Use Cessation Pharmacotherapy"] TakingCessationPharmacotherapy
// where Global."Normalize Interval" ( TakingCessationPharmacotherapy.effective ) overlaps after "Measurement Period"
// and TakingCessationPharmacotherapy.status in { 'active', 'completed' }define "Tobacco Cessation Counseling Given":
["Encounter": "Tobacco Use Cessation Counseling"] TobaccoCessationCounseling
where TobaccoCessationCounseling.period during "Measurement Period"
and TobaccoCessationCounseling.status = 'finished'</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>Tobacco Cessation Pharmacotherapy Ordered</td>
</tr>
</table>
<pre><code class="language-cql">define "Tobacco Cessation Pharmacotherapy Ordered":
["MedicationRequest": "Tobacco Use Cessation Pharmacotherapy"] CessationPharmacotherapyOrdered
where CessationPharmacotherapyOrdered.authoredOn during "Measurement Period"
and CessationPharmacotherapyOrdered.status = 'active'</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>Denominator Exceptions 1</td>
</tr>
</table>
<pre><code class="language-cql">define "Denominator Exceptions 1":
exists "Medical Reason for Not Screening for Tobacco Use"
or "Has Limited Life Expectancy"</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>Medical Reason for Not Screening for Tobacco Use</td>
</tr>
</table>
<pre><code class="language-cql">define "Medical Reason for Not Screening for Tobacco Use":
["Observation": "Tobacco Use Screening"] NoTobaccoUseScreening
where NoTobaccoUseScreening.issued during "Measurement Period"
and "Not Done"(NoTobaccoUseScreening)
and "Not Done Reason in Medical Reason"(NoTobaccoUseScreening)
and NoTobaccoUseScreening.status = 'final'</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>Has Limited Life Expectancy</td>
</tr>
</table>
<pre><code class="language-cql">//or exists "Active Pharmacotherapy for Tobacco Cessation"define "Has Limited Life Expectancy":
exists ( ["Condition"] LimitedLifeExpectancy
where Global."Prevalence Period" ( LimitedLifeExpectancy ) overlaps after "Measurement Period"
and LimitedLifeExpectancy.clinicalStatus ~ ToConcept(Global."active")
)</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>Numerator 1</td>
</tr>
</table>
<pre><code class="language-cql">define "Numerator 1":
"Most Recent Tobacco Use Screening Indicates Tobacco Non User" is not null
or "Most Recent Tobacco Use Screening Indicates Tobacco User" is not null</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>Numerator 2</td>
</tr>
</table>
<pre><code class="language-cql">define "Numerator 2":
exists "Tobacco Cessation Counseling Given"
or exists "Tobacco Cessation Pharmacotherapy Ordered"</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>SDE Race</td>
</tr>
</table>
<pre><code class="language-cql">define "SDE Race":
SDE."SDE Race"</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>SupplementalDataElements</td>
<td>SDE Race</td>
</tr>
</table>
<pre><code class="language-cql">define "SDE Race":
(flatten (
Patient.extension Extension
where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'
return Extension.extension
)) E
where E.url = 'ombCategory'
or E.url = 'detailed'
return E.value as Coding</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>SDE Sex</td>
</tr>
</table>
<pre><code class="language-cql">define "SDE Sex":
SDE."SDE Sex"</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>SupplementalDataElements</td>
<td>SDE Sex</td>
</tr>
</table>
<pre><code class="language-cql">define "SDE Sex":
case
when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }
when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }
else null
end</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>Denominator 3</td>
</tr>
</table>
<pre><code class="language-cql">define "Denominator 3":
"Initial Population"</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>Initial Population</td>
</tr>
</table>
<pre><code class="language-cql">define "Initial Population":
exists ( ["Patient"] BirthDate
where Global."CalendarAgeInYearsAt" ( FHIRHelpers.ToDate ( BirthDate.birthDate ), start of "Measurement Period" ) >= 18
)
and ( Count("Office Based Visit During Measurement Period")>= 2
or exists "Preventive Visit During Measurement Period"
)</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>Office Based Visit During Measurement Period</td>
</tr>
</table>
<pre><code class="language-cql">define "Office Based Visit During Measurement Period":
( ["Encounter": "Health behavior intervention, individual, face-to-face; initial 30 minutes"]
union ["Encounter": "Health behavior assessment, or re-assessment (ie, health-focused clinical interview, behavioral observations, clinical decision making)"]
union ["Encounter": "Home Healthcare Services"]
union ["Encounter": "Occupational Therapy Evaluation"]
union ["Encounter": "Office Visit"]
union ["Encounter": "Ophthalmological Services"]
union ["Encounter": "Physical Therapy Evaluation"]
union ["Encounter": "Psych Visit - Diagnostic Evaluation"]
union ["Encounter": "Psych Visit - Psychotherapy"]
union ["Encounter": "Psychoanalysis"]
union ["Encounter": "Speech and Hearing Evaluation"] ) OfficeBasedEncounter
where OfficeBasedEncounter.period during "Measurement Period"
and OfficeBasedEncounter.status = 'finished'</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>Preventive Visit During Measurement Period</td>
</tr>
</table>
<pre><code class="language-cql">define "Preventive Visit During Measurement Period":
( ["Encounter": "Annual Wellness Visit"]
union ["Encounter": "Preventive Care Services - Established Office Visit, 18 and Up"]
union ["Encounter": "Preventive Care Services - Group Counseling"]
union ["Encounter": "Preventive Care Services - Other"]
union ["Encounter": "Preventive Care Services-Individual Counseling"]
union ["Encounter": "Preventive Care Services-Initial Office Visit, 18 and Up"] ) PreventiveEncounter
where PreventiveEncounter.period during "Measurement Period"
and PreventiveEncounter.status = 'finished'</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>Denominator 2</td>
</tr>
</table>
<pre><code class="language-cql">define "Denominator 2":
"Initial Population"
and "Most Recent Tobacco Use Screening Indicates Tobacco User" is not null</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>SDE Payer</td>
</tr>
</table>
<pre><code class="language-cql">define "SDE Payer":
SDE."SDE Payer"</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>SupplementalDataElements</td>
<td>SDE Payer</td>
</tr>
</table>
<pre><code class="language-cql">define "SDE Payer":
[Coverage: type in "Payer"] Payer
return {
code: Payer.type,
period: Payer.period
}</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>Initial Population</td>
</tr>
</table>
<pre><code class="language-cql">define "Initial Population":
exists ( ["Patient"] BirthDate
where Global."CalendarAgeInYearsAt" ( FHIRHelpers.ToDate ( BirthDate.birthDate ), start of "Measurement Period" ) >= 18
)
and ( Count("Office Based Visit During Measurement Period")>= 2
or exists "Preventive Visit During Measurement Period"
)</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>SDE Ethnicity</td>
</tr>
</table>
<pre><code class="language-cql">define "SDE Ethnicity":
SDE."SDE Ethnicity"</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>SupplementalDataElements</td>
<td>SDE Ethnicity</td>
</tr>
</table>
<pre><code class="language-cql">define "SDE Ethnicity":
(flatten (
Patient.extension Extension
where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'
return Extension.extension
)) E
where E.url = 'ombCategory'
or E.url = 'detailed'
return E.value as Coding</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>Denominator Exceptions 2</td>
</tr>
</table>
<pre><code class="language-cql">define "Denominator Exceptions 2":
exists "Medical Reason for Not Counseling Tobacco User"
or exists "Medical Reason for Not Ordering Tobacco Cessation Pharmacotherapy"
or "Has Limited Life Expectancy"</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>Medical Reason for Not Counseling Tobacco User</td>
</tr>
</table>
<pre><code class="language-cql">define "Medical Reason for Not Counseling Tobacco User":
["Procedure": "Tobacco Use Cessation Counseling"] NoTobaccoCessationCounseling
where Global."Normalize Interval" ( NoTobaccoCessationCounseling.performed ) starts during "Measurement Period"
and ( ( NoTobaccoCessationCounseling.status = 'not-done'
and NoTobaccoCessationCounseling.statusReason in "Medical Reason"
)
or ( "Not Done"(NoTobaccoCessationCounseling)
and "Not Done Reason in Medical Reason"(NoTobaccoCessationCounseling)
)
)</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>Medical Reason for Not Ordering Tobacco Cessation Pharmacotherapy</td>
</tr>
</table>
<pre><code class="language-cql">define "Medical Reason for Not Ordering Tobacco Cessation Pharmacotherapy":
["MedicationRequest": "Tobacco Use Cessation Pharmacotherapy"] NoCessationPharmacotherapyOrdered
where NoCessationPharmacotherapyOrdered.authoredOn during "Measurement Period"
and NoCessationPharmacotherapyOrdered.status = 'completed'
and ( ( "Not Done"(NoCessationPharmacotherapyOrdered)
and "Not Done Reason in Medical Reason"(NoCessationPharmacotherapyOrdered)
)
or ( NoCessationPharmacotherapyOrdered.doNotPerform = true
and NoCessationPharmacotherapyOrdered.statusReason in "Medical Reason"
)
)</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>Denominator Exceptions 3</td>
</tr>
</table>
<pre><code class="language-cql">define "Denominator Exceptions 3":
exists "Medical Reason for Not Screening for Tobacco Use"
or exists "Medical Reason for Not Counseling Tobacco User"
or exists "Medical Reason for Not Ordering Tobacco Cessation Pharmacotherapy"
or "Has Limited Life Expectancy"</code></pre>
<br/><br/>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th><th><b>sequence</b></th></tr>
<tr>
<td>TSCComponent</td>
<td>Denominator 1</td>
</tr>
</table>
<pre><code class="language-cql">define "Denominator 1":
"Initial Population"</code></pre>
<br/><br/>
</td>
</tr>
</table>
</div>
</text>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis">
<valueCode value="boolean"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="Measurement Period"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<type value="Period"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="Numerator 3"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="boolean"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="Most Recent Tobacco Use Screening Indicates Tobacco Non User"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="Observation"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="Most Recent Tobacco Use Screening Indicates Tobacco User"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="Observation"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="Tobacco Cessation Counseling Given"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Encounter"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="Tobacco Cessation Pharmacotherapy Ordered"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="MedicationRequest"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="Denominator Exceptions 1"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="boolean"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="Medical Reason for Not Screening for Tobacco Use"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Observation"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="Has Limited Life Expectancy"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="boolean"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="Numerator 1"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="boolean"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="Numerator 2"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="boolean"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="SDE Race"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Coding"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="Patient"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="Patient"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="SDE Sex"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="Coding"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="Denominator 3"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="boolean"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="Initial Population"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="boolean"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="Office Based Visit During Measurement Period"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Encounter"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="Preventive Visit During Measurement Period"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Encounter"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="Denominator 2"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="boolean"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="SDE Payer"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Any"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="SDE Ethnicity"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Coding"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="Denominator Exceptions 2"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="boolean"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="Medical Reason for Not Counseling Tobacco User"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Procedure"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name
value="Medical Reason for Not Ordering Tobacco Cessation Pharmacotherapy"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="MedicationRequest"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="Denominator Exceptions 3"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="boolean"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter">
<valueParameterDefinition>
<name value="Denominator 1"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="boolean"/>
</valueParameterDefinition>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Observation"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1278"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Observation"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1278"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.509"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="MedicationRequest"/>
<profile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
<codeFilter>
<path value="medication"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1190"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Observation"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1278"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Condition"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Patient"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Patient"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<codeFilter>
<path value="type"/>
<code>
<system value="http://www.ama-assn.org/go/cpt"/>
<code value="96158"/>
<display
value="Health behavior intervention, individual, face-to-face; initial 30 minutes"/>
</code>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<codeFilter>
<path value="type"/>
<code>
<system value="http://www.ama-assn.org/go/cpt"/>
<code value="96156"/>
<display
value="Health behavior assessment, or re-assessment (ie, health-focused clinical interview, behavioral observations, clinical decision making)"/>
</code>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1011"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1285"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1022"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1492"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1496"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1141"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1530"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1027"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1030"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1026"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Coverage"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Coverage"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Patient"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="Procedure"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.509"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement">
<valueDataRequirement>
<type value="MedicationRequest"/>
<profile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
<codeFilter>
<path value="medication"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1190"/>
</codeFilter>
</valueDataRequirement>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
<valueCoding>
<system value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
<code value="active"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
<valueCoding>
<system value="http://www.ama-assn.org/go/cpt"/>
<code value="96158"/>
<display
value="Health behavior intervention, individual, face-to-face; initial 30 minutes"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
<valueCoding>
<system value="http://www.ama-assn.org/go/cpt"/>
<code value="96156"/>
<display
value="Health behavior assessment, or re-assessment (ie, health-focused clinical interview, behavioral observations, clinical decision making)"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="Numerator 3"/>
</extension>
<extension url="statement">
<valueString
value="define "Numerator 3":
"Most Recent Tobacco Use Screening Indicates Tobacco Non User" is not null
or ( "Most Recent Tobacco Use Screening Indicates Tobacco User" is not null
and ( exists "Tobacco Cessation Counseling Given"
or exists "Tobacco Cessation Pharmacotherapy Ordered"
//or exists "Active Pharmacotherapy for Tobacco Cessation"
)
)"/>
</extension>
<extension url="displaySequence">
<valueInteger value="0"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString
value="Most Recent Tobacco Use Screening Indicates Tobacco Non User"/>
</extension>
<extension url="statement">
<valueString
value="define "Most Recent Tobacco Use Screening Indicates Tobacco Non User":
( Last(["Observation": "Tobacco Use Screening"] TobaccoUseScreening
where Global."Normalize Interval"(TobaccoUseScreening.effective)overlaps "Measurement Period"
sort by start of Global."Normalize Interval"(effective)
)) MostRecentTobaccoUseScreening
where MostRecentTobaccoUseScreening.value in "Tobacco Non-User""/>
</extension>
<extension url="displaySequence">
<valueInteger value="1"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString
value="Most Recent Tobacco Use Screening Indicates Tobacco User"/>
</extension>
<extension url="statement">
<valueString
value="define "Most Recent Tobacco Use Screening Indicates Tobacco User":
( Last(["Observation": "Tobacco Use Screening"] TobaccoUseScreening
where Global."Normalize Interval"(TobaccoUseScreening.effective)overlaps "Measurement Period"
sort by start of Global."Normalize Interval"(effective)
)) MostRecentTobaccoUseScreening
where MostRecentTobaccoUseScreening.value in "Tobacco User""/>
</extension>
<extension url="displaySequence">
<valueInteger value="2"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="Tobacco Cessation Counseling Given"/>
</extension>
<extension url="statement">
<valueString
value="// MedicationStatement is not available in R5, known publication issue
//define "Active Pharmacotherapy for Tobacco Cessation":
// ["MedicationStatement": "Tobacco Use Cessation Pharmacotherapy"] TakingCessationPharmacotherapy
// where Global."Normalize Interval" ( TakingCessationPharmacotherapy.effective ) overlaps after "Measurement Period"
// and TakingCessationPharmacotherapy.status in { 'active', 'completed' }define "Tobacco Cessation Counseling Given":
["Encounter": "Tobacco Use Cessation Counseling"] TobaccoCessationCounseling
where TobaccoCessationCounseling.period during "Measurement Period"
and TobaccoCessationCounseling.status = 'finished'"/>
</extension>
<extension url="displaySequence">
<valueInteger value="3"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="Tobacco Cessation Pharmacotherapy Ordered"/>
</extension>
<extension url="statement">
<valueString
value="define "Tobacco Cessation Pharmacotherapy Ordered":
["MedicationRequest": "Tobacco Use Cessation Pharmacotherapy"] CessationPharmacotherapyOrdered
where CessationPharmacotherapyOrdered.authoredOn during "Measurement Period"
and CessationPharmacotherapyOrdered.status = 'active'"/>
</extension>
<extension url="displaySequence">
<valueInteger value="4"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="Denominator Exceptions 1"/>
</extension>
<extension url="statement">
<valueString
value="define "Denominator Exceptions 1":
exists "Medical Reason for Not Screening for Tobacco Use"
or "Has Limited Life Expectancy""/>
</extension>
<extension url="displaySequence">
<valueInteger value="5"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="Medical Reason for Not Screening for Tobacco Use"/>
</extension>
<extension url="statement">
<valueString
value="define "Medical Reason for Not Screening for Tobacco Use":
["Observation": "Tobacco Use Screening"] NoTobaccoUseScreening
where NoTobaccoUseScreening.issued during "Measurement Period"
and "Not Done"(NoTobaccoUseScreening)
and "Not Done Reason in Medical Reason"(NoTobaccoUseScreening)
and NoTobaccoUseScreening.status = 'final'"/>
</extension>
<extension url="displaySequence">
<valueInteger value="6"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="Has Limited Life Expectancy"/>
</extension>
<extension url="statement">
<valueString
value="//or exists "Active Pharmacotherapy for Tobacco Cessation"define "Has Limited Life Expectancy":
exists ( ["Condition"] LimitedLifeExpectancy
where Global."Prevalence Period" ( LimitedLifeExpectancy ) overlaps after "Measurement Period"
and LimitedLifeExpectancy.clinicalStatus ~ ToConcept(Global."active")
)"/>
</extension>
<extension url="displaySequence">
<valueInteger value="7"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="Numerator 1"/>
</extension>
<extension url="statement">
<valueString
value="define "Numerator 1":
"Most Recent Tobacco Use Screening Indicates Tobacco Non User" is not null
or "Most Recent Tobacco Use Screening Indicates Tobacco User" is not null"/>
</extension>
<extension url="displaySequence">
<valueInteger value="8"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="Numerator 2"/>
</extension>
<extension url="statement">
<valueString
value="define "Numerator 2":
exists "Tobacco Cessation Counseling Given"
or exists "Tobacco Cessation Pharmacotherapy Ordered""/>
</extension>
<extension url="displaySequence">
<valueInteger value="9"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="SDE Race"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Race":
SDE."SDE Race""/>
</extension>
<extension url="displaySequence">
<valueInteger value="10"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SupplementalDataElements"/>
</extension>
<extension url="name">
<valueString value="SDE Race"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Race":
(flatten (
Patient.extension Extension
where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'
return Extension.extension
)) E
where E.url = 'ombCategory'
or E.url = 'detailed'
return E.value as Coding"/>
</extension>
<extension url="displaySequence">
<valueInteger value="11"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="SDE Sex"/>
</extension>
<extension url="statement">
<valueString value="define "SDE Sex":
SDE."SDE Sex""/>
</extension>
<extension url="displaySequence">
<valueInteger value="12"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SupplementalDataElements"/>
</extension>
<extension url="name">
<valueString value="SDE Sex"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Sex":
case
when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }
when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }
else null
end"/>
</extension>
<extension url="displaySequence">
<valueInteger value="13"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="Denominator 3"/>
</extension>
<extension url="statement">
<valueString
value="define "Denominator 3":
"Initial Population""/>
</extension>
<extension url="displaySequence">
<valueInteger value="14"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="Initial Population"/>
</extension>
<extension url="statement">
<valueString
value="define "Initial Population":
exists ( ["Patient"] BirthDate
where Global."CalendarAgeInYearsAt" ( FHIRHelpers.ToDate ( BirthDate.birthDate ), start of "Measurement Period" ) >= 18
)
and ( Count("Office Based Visit During Measurement Period")>= 2
or exists "Preventive Visit During Measurement Period"
)"/>
</extension>
<extension url="displaySequence">
<valueInteger value="15"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="Office Based Visit During Measurement Period"/>
</extension>
<extension url="statement">
<valueString
value="define "Office Based Visit During Measurement Period":
( ["Encounter": "Health behavior intervention, individual, face-to-face; initial 30 minutes"]
union ["Encounter": "Health behavior assessment, or re-assessment (ie, health-focused clinical interview, behavioral observations, clinical decision making)"]
union ["Encounter": "Home Healthcare Services"]
union ["Encounter": "Occupational Therapy Evaluation"]
union ["Encounter": "Office Visit"]
union ["Encounter": "Ophthalmological Services"]
union ["Encounter": "Physical Therapy Evaluation"]
union ["Encounter": "Psych Visit - Diagnostic Evaluation"]
union ["Encounter": "Psych Visit - Psychotherapy"]
union ["Encounter": "Psychoanalysis"]
union ["Encounter": "Speech and Hearing Evaluation"] ) OfficeBasedEncounter
where OfficeBasedEncounter.period during "Measurement Period"
and OfficeBasedEncounter.status = 'finished'"/>
</extension>
<extension url="displaySequence">
<valueInteger value="16"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="Preventive Visit During Measurement Period"/>
</extension>
<extension url="statement">
<valueString
value="define "Preventive Visit During Measurement Period":
( ["Encounter": "Annual Wellness Visit"]
union ["Encounter": "Preventive Care Services - Established Office Visit, 18 and Up"]
union ["Encounter": "Preventive Care Services - Group Counseling"]
union ["Encounter": "Preventive Care Services - Other"]
union ["Encounter": "Preventive Care Services-Individual Counseling"]
union ["Encounter": "Preventive Care Services-Initial Office Visit, 18 and Up"] ) PreventiveEncounter
where PreventiveEncounter.period during "Measurement Period"
and PreventiveEncounter.status = 'finished'"/>
</extension>
<extension url="displaySequence">
<valueInteger value="17"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="Denominator 2"/>
</extension>
<extension url="statement">
<valueString
value="define "Denominator 2":
"Initial Population"
and "Most Recent Tobacco Use Screening Indicates Tobacco User" is not null"/>
</extension>
<extension url="displaySequence">
<valueInteger value="18"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="SDE Payer"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Payer":
SDE."SDE Payer""/>
</extension>
<extension url="displaySequence">
<valueInteger value="19"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SupplementalDataElements"/>
</extension>
<extension url="name">
<valueString value="SDE Payer"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Payer":
[Coverage: type in "Payer"] Payer
return {
code: Payer.type,
period: Payer.period
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="20"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="Initial Population"/>
</extension>
<extension url="statement">
<valueString
value="define "Initial Population":
exists ( ["Patient"] BirthDate
where Global."CalendarAgeInYearsAt" ( FHIRHelpers.ToDate ( BirthDate.birthDate ), start of "Measurement Period" ) >= 18
)
and ( Count("Office Based Visit During Measurement Period")>= 2
or exists "Preventive Visit During Measurement Period"
)"/>
</extension>
<extension url="displaySequence">
<valueInteger value="21"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="SDE Ethnicity"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Ethnicity":
SDE."SDE Ethnicity""/>
</extension>
<extension url="displaySequence">
<valueInteger value="22"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SupplementalDataElements"/>
</extension>
<extension url="name">
<valueString value="SDE Ethnicity"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Ethnicity":
(flatten (
Patient.extension Extension
where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'
return Extension.extension
)) E
where E.url = 'ombCategory'
or E.url = 'detailed'
return E.value as Coding"/>
</extension>
<extension url="displaySequence">
<valueInteger value="23"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="Denominator Exceptions 2"/>
</extension>
<extension url="statement">
<valueString
value="define "Denominator Exceptions 2":
exists "Medical Reason for Not Counseling Tobacco User"
or exists "Medical Reason for Not Ordering Tobacco Cessation Pharmacotherapy"
or "Has Limited Life Expectancy""/>
</extension>
<extension url="displaySequence">
<valueInteger value="24"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="Medical Reason for Not Counseling Tobacco User"/>
</extension>
<extension url="statement">
<valueString
value="define "Medical Reason for Not Counseling Tobacco User":
["Procedure": "Tobacco Use Cessation Counseling"] NoTobaccoCessationCounseling
where Global."Normalize Interval" ( NoTobaccoCessationCounseling.performed ) starts during "Measurement Period"
and ( ( NoTobaccoCessationCounseling.status = 'not-done'
and NoTobaccoCessationCounseling.statusReason in "Medical Reason"
)
or ( "Not Done"(NoTobaccoCessationCounseling)
and "Not Done Reason in Medical Reason"(NoTobaccoCessationCounseling)
)
)"/>
</extension>
<extension url="displaySequence">
<valueInteger value="25"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString
value="Medical Reason for Not Ordering Tobacco Cessation Pharmacotherapy"/>
</extension>
<extension url="statement">
<valueString
value="define "Medical Reason for Not Ordering Tobacco Cessation Pharmacotherapy":
["MedicationRequest": "Tobacco Use Cessation Pharmacotherapy"] NoCessationPharmacotherapyOrdered
where NoCessationPharmacotherapyOrdered.authoredOn during "Measurement Period"
and NoCessationPharmacotherapyOrdered.status = 'completed'
and ( ( "Not Done"(NoCessationPharmacotherapyOrdered)
and "Not Done Reason in Medical Reason"(NoCessationPharmacotherapyOrdered)
)
or ( NoCessationPharmacotherapyOrdered.doNotPerform = true
and NoCessationPharmacotherapyOrdered.statusReason in "Medical Reason"
)
)"/>
</extension>
<extension url="displaySequence">
<valueInteger value="26"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="Denominator Exceptions 3"/>
</extension>
<extension url="statement">
<valueString
value="define "Denominator Exceptions 3":
exists "Medical Reason for Not Screening for Tobacco Use"
or exists "Medical Reason for Not Counseling Tobacco User"
or exists "Medical Reason for Not Ordering Tobacco Cessation Pharmacotherapy"
or "Has Limited Life Expectancy""/>
</extension>
<extension url="displaySequence">
<valueInteger value="27"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="TSCComponent"/>
</extension>
<extension url="name">
<valueString value="Denominator 1"/>
</extension>
<extension url="statement">
<valueString
value="define "Denominator 1":
"Initial Population""/>
</extension>
<extension url="displaySequence">
<valueInteger value="28"/>
</extension>
</extension>
<url value="http://hl7.org/fhir/us/cqfmeasures/Measure/TSCComponent"/>
<version value="0.0.001"/>
<name value="TSCComponent"/>
<title
value="Preventive Care and Screening: Tobacco Use: Screening and Cessation Intervention"/>
<status value="draft"/>
<experimental value="true"/>
<date value="2021-04-03T13:00:06-06:00"/>
<publisher value="Clinical Quality Information WG"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://www.hl7.org/Special/committees/cqi/index.cfm"/>
</telecom>
</contact>
<description value="This is an example only."/>
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="US"/>
</coding>
</jurisdiction>
<effectivePeriod>
<start value="2022-01-01"/>
<end value="2022-12-31"/>
</effectivePeriod>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library Global"/>
<resource
value="http://hl7.org/fhir/us/cqfmeasures/Library/MATGlobalCommonFunctions|5.0.000"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library FHIRHelpers"/>
<resource
value="http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library SDE"/>
<resource
value="http://hl7.org/fhir/us/cqfmeasures/Library/SupplementalDataElements|2.0.000"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library FHIRHelpers"/>
<resource
value="http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Code system ConditionClinicalStatusCodes"/>
<resource value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Code system CPT"/>
<resource value="http://www.ama-assn.org/go/cpt"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Tobacco Use Screening"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1278"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Tobacco Non-User"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1189"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Tobacco User"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1170"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Tobacco Use Cessation Counseling"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.509"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Tobacco Use Cessation Pharmacotherapy"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1190"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Home Healthcare Services"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Occupational Therapy Evaluation"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1011"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Office Visit"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Ophthalmological Services"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1285"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Physical Therapy Evaluation"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1022"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Psych Visit - Diagnostic Evaluation"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1492"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Psych Visit - Psychotherapy"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1496"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Psychoanalysis"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1141"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Speech and Hearing Evaluation"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1530"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Annual Wellness Visit"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display
value="Value set Preventive Care Services - Established Office Visit, 18 and Up"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Preventive Care Services - Group Counseling"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1027"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Preventive Care Services - Other"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1030"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Preventive Care Services-Individual Counseling"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1026"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display
value="Value set Preventive Care Services-Initial Office Visit, 18 and Up"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Payer"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Medical Reason"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1007"/>
</relatedArtifact>
<library value="http://ecqi.healthit.gov/ecqms/Library/TSCComponentLibrary"/>
<scoring>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/measure-scoring"/>
<code value="proportion"/>
<display value="Proportion"/>
</coding>
</scoring>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/measure-type"/>
<code value="process"/>
</coding>
</type>
<improvementNotation>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-improvement-notation"/>
<code value="increase"/>
</coding>
</improvementNotation>
<group id="group-1">
<code>
<text value="Group 1"/>
</code>
<population id="1DE7294A-72AE-42D1-A2A6-BCAE23DBA8A6">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="initial-population"/>
<display value="Initial Population"/>
</coding>
</code>
<criteria>
<language value="text/cql.identifier"/>
<expression value="Initial Population"/>
</criteria>
</population>
<population id="0F57D23C-C2AA-4CE1-9E20-33DAE1F2B145">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="denominator"/>
<display value="Denominator"/>
</coding>
</code>
<criteria>
<language value="text/cql.identifier"/>
<expression value="Denominator 1"/>
</criteria>
</population>
<population id="570F7624-72EC-4CFC-9137-F48E476D77DC">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="denominator-exception"/>
<display value="Denominator Exception"/>
</coding>
</code>
<criteria>
<language value="text/cql.identifier"/>
<expression value="Denominator Exceptions 1"/>
</criteria>
</population>
<population id="20577EB7-3FE9-43D2-B918-A8C7AE5E0E91">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="numerator"/>
<display value="Numerator"/>
</coding>
</code>
<criteria>
<language value="text/cql.identifier"/>
<expression value="Numerator 1"/>
</criteria>
</population>
</group>
<group id="group-2">
<code>
<text value="Group 2"/>
</code>
<population id="DD346C87-5D2B-4319-B41D-7BF64ADF95D0">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="initial-population"/>
<display value="Initial Population"/>
</coding>
</code>
<criteria>
<language value="text/cql.identifier"/>
<expression value="Initial Population"/>
</criteria>
</population>
<population id="A1FAA872-5C94-4F2B-A355-8E3A3390369C">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="denominator"/>
<display value="Denominator"/>
</coding>
</code>
<criteria>
<language value="text/cql.identifier"/>
<expression value="Denominator 2"/>
</criteria>
</population>
<population id="3AE470CD-37DF-492D-A3A4-365BAF744C5A">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="denominator-exception"/>
<display value="Denominator Exception"/>
</coding>
</code>
<criteria>
<language value="text/cql.identifier"/>
<expression value="Denominator Exceptions 2"/>
</criteria>
</population>
<population id="B1F8B729-7BBD-4616-B39C-E90444B7884C">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="numerator"/>
<display value="Numerator"/>
</coding>
</code>
<criteria>
<language value="text/cql.identifier"/>
<expression value="Numerator 2"/>
</criteria>
</population>
</group>
<group id="group-3">
<code>
<text value="Group 3"/>
</code>
<population id="EA2696EE-326B-490A-82B5-E4D8FC581E77">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="initial-population"/>
<display value="Initial Population"/>
</coding>
</code>
<criteria>
<language value="text/cql.identifier"/>
<expression value="Initial Population"/>
</criteria>
</population>
<population id="D346BB79-EFD1-4DB1-902A-36F027BE75E9">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="denominator"/>
<display value="Denominator"/>
</coding>
</code>
<criteria>
<language value="text/cql.identifier"/>
<expression value="Denominator 3"/>
</criteria>
</population>
<population id="6BBFE753-2072-4848-B189-0E5B44BE1F52">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="denominator-exception"/>
<display value="Denominator Exception"/>
</coding>
</code>
<criteria>
<language value="text/cql.identifier"/>
<expression value="Denominator Exceptions 3"/>
</criteria>
</population>
<population id="F8E22F0F-7307-4BED-9295-648803772928">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="numerator"/>
<display value="Numerator"/>
</coding>
</code>
<criteria>
<language value="text/cql.identifier"/>
<expression value="Numerator 3"/>
</criteria>
</population>
</group>
<supplementalData id="fe7bab72-cc69-44bb-a678-473b24811e67">
<usage>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<criteria>
<language value="text/cql.identifier"/>
<expression value="SDE Ethnicity"/>
</criteria>
</supplementalData>
<supplementalData id="2486f84d-df90-489b-8f5c-e55cdcfb361e">
<usage>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<criteria>
<language value="text/cql.identifier"/>
<expression value="SDE Payer"/>
</criteria>
</supplementalData>
<supplementalData id="bb0949c4-1f7b-4ce2-a988-c2e60f1a0079">
<usage>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<criteria>
<language value="text/cql.identifier"/>
<expression value="SDE Race"/>
</criteria>
</supplementalData>
<supplementalData id="742028bc-5aa5-4a5b-927d-be1908e10aaf">
<usage>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<criteria>
<language value="text/cql.identifier"/>
<expression value="SDE Sex"/>
</criteria>
</supplementalData>
</Measure>