This page is part of the Quality Measure STU2 for FHIR R4 Implementation Guide (v5.0.0-ballot: STU5 (v5.0.0) Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 4.0.0. For a full list of available versions, see the Directory of published versions
Draft as of 2022-02-22 |
<Measure xmlns="http://hl7.org/fhir">
<id value="BCSComponent"/>
<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;">BCSComponent</td>
</tr>
<tr>
<th scope="row"><b>Download cql: </b></th>
<td style="padding-left: 4px;"><a href="Library-BCSComponent.cql">BCSComponent.cql</a></td>
</tr>
<tr>
<th scope="row"><b>Url: </b></th>
<td style="padding-left: 4px;"><a href="Measure-BCSComponent.html">Breast Cancer Screening</a></td>
</tr>
<tr>
<th scope="row"><b>Version: </b></th>
<td style="padding-left: 4px;">5.0.0-ballot</td>
</tr>
<tr>
<th scope="row"><b>Name: </b></th>
<td style="padding-left: 4px;">BCSComponent</td>
</tr>
<tr>
<th scope="row"><b>Title: </b></th>
<td style="padding-left: 4px;">Breast Cancer Screening</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;">
<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;">
<span>increase </span>
</p>
</td>
</tr>
<tr>
<th scope="row"><b>Type: </b></th>
<td style="padding-left: 4px;">
<p style="margin-bottom: 5px;">
<span>process </span>
</p>
</td>
</tr>
<tr>
<th scope="row"><b>Date: </b></th>
<td style="padding-left: 4px;">2022-02-22 11:37:03-0600</td>
</tr>
<tr>
<th scope="row"><b>Publisher: </b></th>
<td style="padding-left: 4px;">HL7 International / Clinical Quality Information</td>
</tr>
<tr>
<th scope="row"><b>Description: </b></th>
<td style="padding-left: 4px;"><div><p>This is an example only.</p>
</div></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> Supplemental Data Elements: </b></th>
<td style="padding-left: 4px;">
SDE Ethnicity
SDE Payer
SDE Race
SDE Sex
</td>
</tr>
<tr>
<th scope="row"><b>Libraries: </b></th>
<td style="padding-left: 4px;">
<table class="grid-dict">
<tr><td><a href="Library-BCSComponent.html">BCS Component Library</a></td></tr>
</table>
</td>
</tr>
<tr>
<th scope="row"><b>Related Artifact Dependencies: </b></th>
<td style="padding-left: 4px;">
<li><a href="http://hl7.org/fhir/us/cqfmeasures/Library/SupplementalDataElements|2.0.000">http://hl7.org/fhir/us/cqfmeasures/Library/SupplementalDataElements|2.0.000</a></li>
<li><a href="http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1">http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1</a></li>
<li><a href="Library-MATGlobalCommonFunctions.html">MAT Global Common Functions FHIR Library</a></li>
<li><a href="http://hl7.org/fhir/us/cqfmeasures/Library/AdultOutpatientEncounters|2.0.000">http://hl7.org/fhir/us/cqfmeasures/Library/AdultOutpatientEncounters|2.0.000</a></li>
<li><a href="http://hl7.org/fhir/us/cqfmeasures/Library/Hospice|2.0.000">http://hl7.org/fhir/us/cqfmeasures/Library/Hospice|2.0.000</a></li>
<li><a href="http://hl7.org/fhir/us/cqfmeasures/Library/AdvancedIllnessandFrailtyExclusion|5.12.000">http://hl7.org/fhir/us/cqfmeasures/Library/AdvancedIllnessandFrailtyExclusion|5.12.000</a></li>
<li><a href="http://snomed.info/sct|http://snomed.info/sct/731000124108/version/201709">http://snomed.info/sct|http://snomed.info/sct/731000124108/version/201709</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.108.12.1018/expansion">Mammography</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1001/expansion">Office Visit</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1240/expansion">Annual Wellness Visit</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1025/expansion">Preventive Care Services Established Office Visit, 18 and Up</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1023/expansion">Preventive Care Services Initial Office Visit, 18 and Up</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1016/expansion">Home Healthcare Services</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion">Payer</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.307/expansion">Encounter Inpatient</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1108.15/expansion">Hospice Care Ambulatory</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.198.12.1070/expansion">Status Post Right Mastectomy</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.198.12.1071/expansion">Unilateral Mastectomy, Unspecified Laterality</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.122.12.1035/expansion">Right</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.198.12.1134/expansion">Unilateral Mastectomy Right</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.198.12.1069/expansion">Status Post Left Mastectomy</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.122.12.1036/expansion">Left</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.198.12.1133/expansion">Unilateral Mastectomy Left</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.198.12.1068/expansion">History of bilateral mastectomy</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.198.12.1005/expansion">Bilateral Mastectomy</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.118.12.1300/expansion">Frailty Device</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.113.12.1074/expansion">Frailty Diagnosis</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1088/expansion">Frailty Encounter</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.113.12.1075/expansion">Frailty Symptom</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1087/expansion">Outpatient</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1086/expansion">Observation</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1085/expansion">ED</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1084/expansion">Nonacute Inpatient</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.110.12.1082/expansion">Advanced Illness</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1083/expansion">Acute Inpatient</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.196.12.1510/expansion">Dementia Medications</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1014/expansion">Care Services in Long Term Residential Facility</a></li>
<li><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1012/expansion">Nursing Facility Visit</a></li>
</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>SDE Sex</td>
<td>out</td>
<td>0</td>
<td>1</td>
<td>Coding</td>
</tr>
<tr>
<td>Numerator</td>
<td>out</td>
<td>0</td>
<td>1</td>
<td>boolean</td>
</tr>
<tr>
<td>Denominator</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>Resource</td>
</tr>
<tr>
<td>Initial Population</td>
<td>out</td>
<td>0</td>
<td>1</td>
<td>boolean</td>
</tr>
<tr>
<td>SDE Ethnicity</td>
<td>out</td>
<td>0</td>
<td>*</td>
<td>Coding</td>
</tr>
<tr>
<td>Denominator Exclusion</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>
</table>
</td>
</tr>
<tr>
<th scope="row"><b>DataRequirements:</b></th>
<td style="padding-left: 4px;">
<table class="grid-dict">
<tr><th><b>Type</b></th><th><b>Must Support</b></th><th><b>Valueset Name</b></th><th><b>Valueset</b></th></tr>
<tr>
<td>Coverage</td>
<td>
period
type
</td>
<td>
Payer
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion">Payer</a></td>
</tr>
<tr>
<td>Patient</td>
<td>
extension
value
url
</td>
<td>
</td>
<td></td>
</tr>
<tr>
<td>Encounter</td>
<td>
type
</td>
<td>
Care Services in Long-Term Residential Facility
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1014/expansion">Care Services in Long Term Residential Facility</a></td>
</tr>
<tr>
<td>Encounter</td>
<td>
type
</td>
<td>
Nursing Facility Visit
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1012/expansion">Nursing Facility Visit</a></td>
</tr>
<tr>
<td>Encounter</td>
<td>
type
</td>
<td>
Office Visit
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1001/expansion">Office Visit</a></td>
</tr>
<tr>
<td>Encounter</td>
<td>
type
</td>
<td>
Annual Wellness Visit
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1240/expansion">Annual Wellness Visit</a></td>
</tr>
<tr>
<td>Encounter</td>
<td>
type
</td>
<td>
Preventive Care Services - Established Office Visit, 18 and Up
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1025/expansion">Preventive Care Services Established Office Visit, 18 and Up</a></td>
</tr>
<tr>
<td>Encounter</td>
<td>
type
</td>
<td>
Preventive Care Services-Initial Office Visit, 18 and Up
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1023/expansion">Preventive Care Services Initial Office Visit, 18 and Up</a></td>
</tr>
<tr>
<td>Encounter</td>
<td>
type
</td>
<td>
Home Healthcare Services
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1016/expansion">Home Healthcare Services</a></td>
</tr>
<tr>
<td>Encounter</td>
<td>
period
diagnosis
type
</td>
<td>
Acute Inpatient
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1083/expansion">Acute Inpatient</a></td>
</tr>
<tr>
<td>Encounter</td>
<td>
period
hospitalization
hospitalization.dischargeDisposition
type
status
</td>
<td>
Encounter Inpatient
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.307/expansion">Encounter Inpatient</a></td>
</tr>
<tr>
<td>Encounter</td>
<td>
period
type
</td>
<td>
Frailty Encounter
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1088/expansion">Frailty Encounter</a></td>
</tr>
<tr>
<td>Encounter</td>
<td>
type
</td>
<td>
Outpatient
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1087/expansion">Outpatient</a></td>
</tr>
<tr>
<td>Encounter</td>
<td>
type
</td>
<td>
Observation
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1086/expansion">Observation</a></td>
</tr>
<tr>
<td>Encounter</td>
<td>
type
</td>
<td>
ED
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1085/expansion">ED</a></td>
</tr>
<tr>
<td>Encounter</td>
<td>
type
</td>
<td>
Nonacute Inpatient
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1084/expansion">Nonacute Inpatient</a></td>
</tr>
<tr>
<td>Procedure</td>
<td>
code
performed
status
</td>
<td>
Unilateral Mastectomy Left
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.198.12.1133/expansion">Unilateral Mastectomy Left</a></td>
</tr>
<tr>
<td>Procedure</td>
<td>
code
performed
status
</td>
<td>
Hospice care ambulatory
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1108.15/expansion">Hospice Care Ambulatory</a></td>
</tr>
<tr>
<td>Procedure</td>
<td>
code
performed
status
</td>
<td>
Bilateral Mastectomy
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.198.12.1005/expansion">Bilateral Mastectomy</a></td>
</tr>
<tr>
<td>Procedure</td>
<td>
code
performed
status
</td>
<td>
Unilateral Mastectomy Right
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.198.12.1134/expansion">Unilateral Mastectomy Right</a></td>
</tr>
<tr>
<td>Condition</td>
<td>
code
</td>
<td>
Status Post Right Mastectomy
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.198.12.1070/expansion">Status Post Right Mastectomy</a></td>
</tr>
<tr>
<td>Condition</td>
<td>
code
</td>
<td>
Status Post Left Mastectomy
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.198.12.1069/expansion">Status Post Left Mastectomy</a></td>
</tr>
<tr>
<td>Condition</td>
<td>
bodySite
code
</td>
<td>
Unilateral Mastectomy, Unspecified Laterality
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.198.12.1071/expansion">Unilateral Mastectomy, Unspecified Laterality</a></td>
</tr>
<tr>
<td>Condition</td>
<td>
code
</td>
<td>
Frailty Diagnosis
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.113.12.1074/expansion">Frailty Diagnosis</a></td>
</tr>
<tr>
<td>Condition</td>
<td>
code
id
</td>
<td>
Advanced Illness
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.110.12.1082/expansion">Advanced Illness</a></td>
</tr>
<tr>
<td>Condition</td>
<td>
code
onset
</td>
<td>
History of bilateral mastectomy
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.198.12.1068/expansion">History of bilateral mastectomy</a></td>
</tr>
<tr>
<td>ServiceRequest</td>
<td>
code
authoredOn
intent
</td>
<td>
Hospice care ambulatory
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1108.15/expansion">Hospice Care Ambulatory</a></td>
</tr>
<tr>
<td>DeviceRequest</td>
<td>
code
authoredOn
</td>
<td>
Frailty Device
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.118.12.1300/expansion">Frailty Device</a></td>
</tr>
<tr>
<td>Observation</td>
<td>
effective
code
</td>
<td>
Frailty Symptom
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.113.12.1075/expansion">Frailty Symptom</a></td>
</tr>
<tr>
<td>MedicationDispense</td>
<td>
whenHandedOver
medication
</td>
<td>
Dementia Medications
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.196.12.1510/expansion">Dementia Medications</a></td>
</tr>
<tr>
<td>DiagnosticReport</td>
<td>
effective
code
status
</td>
<td>
Mammography
</td>
<td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.108.12.1018/expansion">Mammography</a></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>Discharge to home for hospice care (procedure)</td>
<td>428361000124107</td>
<td><a href="http://hl7.org/fhir/R4/codesystem-snomedct.html">SNOMED CT (all versions)</a></td>
</tr>
<tr>
<td>Discharge to healthcare facility for hospice care (procedure)</td>
<td>428371000124100</td>
<td><a href="http://hl7.org/fhir/R4/codesystem-snomedct.html">SNOMED CT (all versions)</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<th scope="row"><b>Logic Definitions:</b></th>
<td style="padding-left: 4px;">
<table class="grid-dict">
<tr>
<th><b>Group</b></th><th><b>Scoring</b></th><th><b>Population Criteria</b></th><th><b>Expression</b></th>
</tr>
<tr>
<td> </td>
<td>
<b>Measure scoring:</b>
<p style="margin-bottom: 5px;">
<span>Proportion</span>
</p>
</td>
<tr>
<td/>
<td/>
<td>Initial Population</td>
<td>
<pre><code class="language-cql">define "Initial Population": Patient.gender = 'female' and Global."CalendarAgeInYearsAt" ( FHIRHelpers.ToDate ( Patient.birthDate ), start of "Measurement Period" ) in Interval[51, 74 ) and exists AdultOutpatientEncounters."Qualifying Encounters"</code></pre>
</td>
</tr>
<tr>
<td/>
<td/>
<td>Denominator</td>
<td>
<pre><code class="language-cql">define "Denominator": "Initial Population"</code></pre>
</td>
</tr>
<tr>
<td/>
<td/>
<td>Denominator Exclusion</td>
<td>
<pre><code class="language-cql">define "Denominator Exclusion": Hospice."Has Hospice" or ( ( exists "Right Mastectomy Diagnosis" or exists "Right Mastectomy Procedure" ) and ( exists "Left Mastectomy" or exists "Left Mastectomy Procedure" ) ) or exists "Bilateral Mastectomy Diagnosis" or exists "Bilateral Mastectomy Procedure" or Frailty."Advanced Illness and Frailty Exclusion Not Including Over Age 80" or ( Global."CalendarAgeInYearsAt" ( FHIRHelpers.ToDate ( Patient.birthDate ), start of "Measurement Period" ) >= 65 and Frailty."Long Term Care Periods Longer Than 90 Consecutive Days" )</code></pre>
</td>
</tr>
<tr>
<td/>
<td/>
<td>Numerator</td>
<td>
<pre><code class="language-cql">define "Numerator": exists ( [DiagnosticReport: "Mammography"] Mammogram where ( Global."Normalize Interval" ( Mammogram.effective ) ends 27 months or less on or before end of "Measurement Period" ) and Mammogram.status in { 'final', 'amended', 'corrected', 'appended' } )</code></pre>
</td>
</tr>
</tr>
</table>
<table class="grid-dict">
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>SupplementalDataElements</td>
<td>SDE Sex</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><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></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>BCSComponent</td>
<td>SDE Sex</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "SDE Sex": SDE."SDE Sex"</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>BCSComponent</td>
<td>Numerator</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "Numerator": exists ( [DiagnosticReport: "Mammography"] Mammogram where ( Global."Normalize Interval" ( Mammogram.effective ) ends 27 months or less on or before end of "Measurement Period" ) and Mammogram.status in { 'final', 'amended', 'corrected', 'appended' } )</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>AdultOutpatientEncounters</td>
<td>Qualifying Encounters</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "Qualifying Encounters": ( [Encounter: "Office Visit"] union [Encounter: "Annual Wellness Visit"] union [Encounter: "Preventive Care Services - Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services-Initial Office Visit, 18 and Up"] union [Encounter: "Home Healthcare Services"] ) ValidEncounter where ValidEncounter.period during "Measurement Period" and ValidEncounter.status = 'finished'</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>BCSComponent</td>
<td>Initial Population</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "Initial Population": Patient.gender = 'female' and Global."CalendarAgeInYearsAt" ( FHIRHelpers.ToDate ( Patient.birthDate ), start of "Measurement Period" ) in Interval[51, 74 ) and exists AdultOutpatientEncounters."Qualifying Encounters"</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>BCSComponent</td>
<td>Denominator</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "Denominator": "Initial Population"</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>SupplementalDataElements</td>
<td>SDE Payer</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "SDE Payer": [Coverage: type in "Payer"] Payer return { code: Payer.type, period: Payer.period }</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>BCSComponent</td>
<td>SDE Payer</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "SDE Payer": SDE."SDE Payer"</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>SupplementalDataElements</td>
<td>SDE Ethnicity</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><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></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>BCSComponent</td>
<td>SDE Ethnicity</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "SDE Ethnicity": SDE."SDE Ethnicity"</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>Hospice</td>
<td>Has Hospice</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "Has Hospice": exists ( [Encounter: "Encounter Inpatient"] DischargeHospice where DischargeHospice.status = 'finished' and ( DischargeHospice.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or DischargeHospice.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and DischargeHospice.period ends during "Measurement Period" ) or exists ( [ServiceRequest: "Hospice care ambulatory"] HospiceOrder where HospiceOrder.intent = 'order' and HospiceOrder.authoredOn in "Measurement Period" ) or exists ( [Procedure: "Hospice care ambulatory"] HospicePerformed where HospicePerformed.status = 'completed' and Global."Normalize Interval"(HospicePerformed.performed) overlaps "Measurement Period" )</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>BCSComponent</td>
<td>Right Mastectomy Diagnosis</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "Right Mastectomy Diagnosis": ( ( [Condition: "Status Post Right Mastectomy"] ) union ( [Condition: "Unilateral Mastectomy, Unspecified Laterality"] UnilateralMastectomyDiagnosis where UnilateralMastectomyDiagnosis.bodySite in "Right" ) ) RightMastectomy where Global."Normalize Interval" ( RightMastectomy.onset ) starts on or before end of "Measurement Period"</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>BCSComponent</td>
<td>Right Mastectomy Procedure</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "Right Mastectomy Procedure": [Procedure: "Unilateral Mastectomy Right"] UnilateralMastectomyRightPerformed where Global."Normalize Interval" ( UnilateralMastectomyRightPerformed.performed ) ends on or before end of "Measurement Period" and UnilateralMastectomyRightPerformed.status = 'completed'</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>BCSComponent</td>
<td>Left Mastectomy</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "Left Mastectomy": ( ( [Condition: "Status Post Left Mastectomy"] ) union ( [Condition: "Unilateral Mastectomy, Unspecified Laterality"] UnilateralMastectomyDiagnosis where UnilateralMastectomyDiagnosis.bodySite in "Left" ) ) LeftMastectomy where Global."Normalize Interval" ( LeftMastectomy.onset ) starts on or before end of "Measurement Period"</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>BCSComponent</td>
<td>Left Mastectomy Procedure</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "Left Mastectomy Procedure": [Procedure: "Unilateral Mastectomy Left"] UnilateralMastectomyLeftPerformed where Global."Normalize Interval" ( UnilateralMastectomyLeftPerformed.performed ) ends on or before end of "Measurement Period" and UnilateralMastectomyLeftPerformed.status = 'completed'</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>BCSComponent</td>
<td>Bilateral Mastectomy Diagnosis</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "Bilateral Mastectomy Diagnosis": [Condition: "History of bilateral mastectomy"] BilateralMastectomyHistory where Global."Normalize Interval" ( BilateralMastectomyHistory.onset ) starts on or before end of "Measurement Period"</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>BCSComponent</td>
<td>Bilateral Mastectomy Procedure</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "Bilateral Mastectomy Procedure": [Procedure: "Bilateral Mastectomy"] BilateralMastectomyPerformed where Global."Normalize Interval" ( BilateralMastectomyPerformed.performed ) ends on or before end of "Measurement Period" and BilateralMastectomyPerformed.status = 'completed'</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>AdvancedIllnessandFrailtyExclusion</td>
<td>Has Criteria Indicating Frailty</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "Has Criteria Indicating Frailty": //Ask Bryn about devices exists ( [DeviceRequest: "Frailty Device"] FrailtyDeviceOrder where FrailtyDeviceOrder.authoredOn during "Measurement Period" ) // DeviceUseStatement has a known issue with the publication tooling // so it is removed to allow this IG to publish until that is fixed //or exists ( [DeviceUseStatement: "Frailty Device"] FrailtyDeviceUse // where Global."Normalize Interval"(FrailtyDeviceUse.timing) overlaps "Measurement Period" //) or exists ( [Condition: "Frailty Diagnosis"] FrailtyDiagnosis where Global."Prevalence Period"(FrailtyDiagnosis) overlaps "Measurement Period" ) or exists ( [Encounter: "Frailty Encounter"] FrailtyEncounter where FrailtyEncounter.period overlaps "Measurement Period" ) or exists ( [Observation: "Frailty Symptom"] FrailtySymptomObservation where Global."Normalize Interval"(FrailtySymptomObservation.effective) overlaps "Measurement Period" )</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>AdvancedIllnessandFrailtyExclusion</td>
<td>Outpatient Encounters with Advanced Illness</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "Outpatient Encounters with Advanced Illness": ( [Encounter: "Outpatient"] union [Encounter: "Observation"] union [Encounter: "ED"] union [Encounter: "Nonacute Inpatient"] ) OutpatientEncounter with [Condition: "Advanced Illness"] AdvancedIllnessDiagnosis such that exists ( OutpatientEncounter.diagnosis.condition EncounterDiagnosis where EndsWith(EncounterDiagnosis.reference, AdvancedIllnessDiagnosis.id) ) and OutpatientEncounter.period starts 2 years or less on or before end of "Measurement Period"</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>AdvancedIllnessandFrailtyExclusion</td>
<td>Inpatient Encounter with Advanced Illness</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "Inpatient Encounter with Advanced Illness": [Encounter: "Acute Inpatient"] InpatientEncounter with [Condition: "Advanced Illness"] AdvancedIllnessDiagnosis such that exists ( InpatientEncounter.diagnosis.condition EncounterDiagnosis where EndsWith(EncounterDiagnosis.reference, AdvancedIllnessDiagnosis.id) ) and InpatientEncounter.period starts 2 years or less on or before end of "Measurement Period"</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>AdvancedIllnessandFrailtyExclusion</td>
<td>Dementia Medications In Year Before or During Measurement Period</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "Dementia Medications In Year Before or During Measurement Period": ["MedicationDispense": "Dementia Medications"] DementiaMed where DementiaMed.whenHandedOver during Interval[ ( start of "Measurement Period" - 1 year ), end of "Measurement Period" ]</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>AdvancedIllnessandFrailtyExclusion</td>
<td>Advanced Illness and Frailty Exclusion Not Including Over Age 80</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "Advanced Illness and Frailty Exclusion Not Including Over Age 80": //If the measure does NOT include populations age 80 and older, then use this logic: Global."CalendarAgeInYearsAt"(FHIRHelpers.ToDate(Patient.birthDate), start of "Measurement Period")>= 65 and "Has Criteria Indicating Frailty" and ( Count("Outpatient Encounters with Advanced Illness")>= 2 or exists ( "Inpatient Encounter with Advanced Illness" ) or exists "Dementia Medications In Year Before or During Measurement Period" )</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>AdvancedIllnessandFrailtyExclusion</td>
<td>Long Term Care Periods During Measurement Period</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">// start here define "Long Term Care Periods During Measurement Period": ( [Encounter: "Care Services in Long-Term Residential Facility"] union [Encounter: "Nursing Facility Visit"] ) LongTermFacilityEncounter where LongTermFacilityEncounter.period overlaps "Measurement Period" return LongTermFacilityEncounter.period intersect "Measurement Period"</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>AdvancedIllnessandFrailtyExclusion</td>
<td>Long Term Care Periods Longer Than 90 Consecutive Days</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "Long Term Care Periods Longer Than 90 Consecutive Days": exists ( "Long Term Care Periods During Measurement Period" LongTermCareDuringMP where duration in days of LongTermCareDuringMP > 90 )</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>BCSComponent</td>
<td>Denominator Exclusion</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "Denominator Exclusion": Hospice."Has Hospice" or ( ( exists "Right Mastectomy Diagnosis" or exists "Right Mastectomy Procedure" ) and ( exists "Left Mastectomy" or exists "Left Mastectomy Procedure" ) ) or exists "Bilateral Mastectomy Diagnosis" or exists "Bilateral Mastectomy Procedure" or Frailty."Advanced Illness and Frailty Exclusion Not Including Over Age 80" or ( Global."CalendarAgeInYearsAt" ( FHIRHelpers.ToDate ( Patient.birthDate ), start of "Measurement Period" ) >= 65 and Frailty."Long Term Care Periods Longer Than 90 Consecutive Days" )</code></pre></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>SupplementalDataElements</td>
<td>SDE Race</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><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></td>
</tr>
<tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>
<tr>
<td>BCSComponent</td>
<td>SDE Race</td>
</tr>
<tr>
<td></td>
<td><pre class="highlight language-cql"><code class="language-cql">define "SDE Race": SDE."SDE Race"</code></pre></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</text>
<contained>
<Library>
<id value="effective-data-requirements"/>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
<valueCoding>
<system value="http://snomed.info/sct"/>
<version
value="http://snomed.info/sct/731000124108/version/201709"/>
<code value="428361000124107"/>
<display value="Discharge to home for hospice care (procedure)"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
<valueCoding>
<system value="http://snomed.info/sct"/>
<version
value="http://snomed.info/sct/731000124108/version/201709"/>
<code value="428371000124100"/>
<display
value="Discharge to healthcare facility for hospice care (procedure)"/>
</valueCoding>
</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="0"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="BCSComponent"/>
</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="1"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="BCSComponent"/>
</extension>
<extension url="name">
<valueString value="Numerator"/>
</extension>
<extension url="statement">
<valueString
value="define "Numerator": exists ( [DiagnosticReport: "Mammography"] Mammogram where ( Global."Normalize Interval" ( Mammogram.effective ) ends 27 months or less on or before end of "Measurement Period" ) and Mammogram.status in { 'final', 'amended', 'corrected', 'appended' } )"/>
</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="AdultOutpatientEncounters"/>
</extension>
<extension url="name">
<valueString value="Qualifying Encounters"/>
</extension>
<extension url="statement">
<valueString
value="define "Qualifying Encounters": ( [Encounter: "Office Visit"] union [Encounter: "Annual Wellness Visit"] union [Encounter: "Preventive Care Services - Established Office Visit, 18 and Up"] union [Encounter: "Preventive Care Services-Initial Office Visit, 18 and Up"] union [Encounter: "Home Healthcare Services"] ) ValidEncounter where ValidEncounter.period during "Measurement Period" and ValidEncounter.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="BCSComponent"/>
</extension>
<extension url="name">
<valueString value="Initial Population"/>
</extension>
<extension url="statement">
<valueString
value="define "Initial Population": Patient.gender = 'female' and Global."CalendarAgeInYearsAt" ( FHIRHelpers.ToDate ( Patient.birthDate ), start of "Measurement Period" ) in Interval[51, 74 ) and exists AdultOutpatientEncounters."Qualifying Encounters""/>
</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="BCSComponent"/>
</extension>
<extension url="name">
<valueString value="Denominator"/>
</extension>
<extension url="statement">
<valueString
value="define "Denominator": "Initial Population""/>
</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="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="6"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="BCSComponent"/>
</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="7"/>
</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="8"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="BCSComponent"/>
</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="9"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="Hospice"/>
</extension>
<extension url="name">
<valueString value="Has Hospice"/>
</extension>
<extension url="statement">
<valueString
value="define "Has Hospice": exists ( [Encounter: "Encounter Inpatient"] DischargeHospice where DischargeHospice.status = 'finished' and ( DischargeHospice.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)" or DischargeHospice.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)" ) and DischargeHospice.period ends during "Measurement Period" ) or exists ( [ServiceRequest: "Hospice care ambulatory"] HospiceOrder where HospiceOrder.intent = 'order' and HospiceOrder.authoredOn in "Measurement Period" ) or exists ( [Procedure: "Hospice care ambulatory"] HospicePerformed where HospicePerformed.status = 'completed' and Global."Normalize Interval"(HospicePerformed.performed) overlaps "Measurement Period" )"/>
</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="BCSComponent"/>
</extension>
<extension url="name">
<valueString value="Right Mastectomy Diagnosis"/>
</extension>
<extension url="statement">
<valueString
value="define "Right Mastectomy Diagnosis": ( ( [Condition: "Status Post Right Mastectomy"] ) union ( [Condition: "Unilateral Mastectomy, Unspecified Laterality"] UnilateralMastectomyDiagnosis where UnilateralMastectomyDiagnosis.bodySite in "Right" ) ) RightMastectomy where Global."Normalize Interval" ( RightMastectomy.onset ) starts on or before end of "Measurement Period""/>
</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="BCSComponent"/>
</extension>
<extension url="name">
<valueString value="Right Mastectomy Procedure"/>
</extension>
<extension url="statement">
<valueString
value="define "Right Mastectomy Procedure": [Procedure: "Unilateral Mastectomy Right"] UnilateralMastectomyRightPerformed where Global."Normalize Interval" ( UnilateralMastectomyRightPerformed.performed ) ends on or before end of "Measurement Period" and UnilateralMastectomyRightPerformed.status = 'completed'"/>
</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="BCSComponent"/>
</extension>
<extension url="name">
<valueString value="Left Mastectomy"/>
</extension>
<extension url="statement">
<valueString
value="define "Left Mastectomy": ( ( [Condition: "Status Post Left Mastectomy"] ) union ( [Condition: "Unilateral Mastectomy, Unspecified Laterality"] UnilateralMastectomyDiagnosis where UnilateralMastectomyDiagnosis.bodySite in "Left" ) ) LeftMastectomy where Global."Normalize Interval" ( LeftMastectomy.onset ) starts on or before end of "Measurement Period""/>
</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="BCSComponent"/>
</extension>
<extension url="name">
<valueString value="Left Mastectomy Procedure"/>
</extension>
<extension url="statement">
<valueString
value="define "Left Mastectomy Procedure": [Procedure: "Unilateral Mastectomy Left"] UnilateralMastectomyLeftPerformed where Global."Normalize Interval" ( UnilateralMastectomyLeftPerformed.performed ) ends on or before end of "Measurement Period" and UnilateralMastectomyLeftPerformed.status = 'completed'"/>
</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="BCSComponent"/>
</extension>
<extension url="name">
<valueString value="Bilateral Mastectomy Diagnosis"/>
</extension>
<extension url="statement">
<valueString
value="define "Bilateral Mastectomy Diagnosis": [Condition: "History of bilateral mastectomy"] BilateralMastectomyHistory where Global."Normalize Interval" ( BilateralMastectomyHistory.onset ) starts on or before end of "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="BCSComponent"/>
</extension>
<extension url="name">
<valueString value="Bilateral Mastectomy Procedure"/>
</extension>
<extension url="statement">
<valueString
value="define "Bilateral Mastectomy Procedure": [Procedure: "Bilateral Mastectomy"] BilateralMastectomyPerformed where Global."Normalize Interval" ( BilateralMastectomyPerformed.performed ) ends on or before end of "Measurement Period" and BilateralMastectomyPerformed.status = 'completed'"/>
</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="AdvancedIllnessandFrailtyExclusion"/>
</extension>
<extension url="name">
<valueString value="Has Criteria Indicating Frailty"/>
</extension>
<extension url="statement">
<valueString
value="define "Has Criteria Indicating Frailty": //Ask Bryn about devices exists ( [DeviceRequest: "Frailty Device"] FrailtyDeviceOrder where FrailtyDeviceOrder.authoredOn during "Measurement Period" ) // DeviceUseStatement has a known issue with the publication tooling // so it is removed to allow this IG to publish until that is fixed //or exists ( [DeviceUseStatement: "Frailty Device"] FrailtyDeviceUse // where Global."Normalize Interval"(FrailtyDeviceUse.timing) overlaps "Measurement Period" //) or exists ( [Condition: "Frailty Diagnosis"] FrailtyDiagnosis where Global."Prevalence Period"(FrailtyDiagnosis) overlaps "Measurement Period" ) or exists ( [Encounter: "Frailty Encounter"] FrailtyEncounter where FrailtyEncounter.period overlaps "Measurement Period" ) or exists ( [Observation: "Frailty Symptom"] FrailtySymptomObservation where Global."Normalize Interval"(FrailtySymptomObservation.effective) overlaps "Measurement Period" )"/>
</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="AdvancedIllnessandFrailtyExclusion"/>
</extension>
<extension url="name">
<valueString value="Outpatient Encounters with Advanced Illness"/>
</extension>
<extension url="statement">
<valueString
value="define "Outpatient Encounters with Advanced Illness": ( [Encounter: "Outpatient"] union [Encounter: "Observation"] union [Encounter: "ED"] union [Encounter: "Nonacute Inpatient"] ) OutpatientEncounter with [Condition: "Advanced Illness"] AdvancedIllnessDiagnosis such that exists ( OutpatientEncounter.diagnosis.condition EncounterDiagnosis where EndsWith(EncounterDiagnosis.reference, AdvancedIllnessDiagnosis.id) ) and OutpatientEncounter.period starts 2 years or less on or before end of "Measurement Period""/>
</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="AdvancedIllnessandFrailtyExclusion"/>
</extension>
<extension url="name">
<valueString value="Inpatient Encounter with Advanced Illness"/>
</extension>
<extension url="statement">
<valueString
value="define "Inpatient Encounter with Advanced Illness": [Encounter: "Acute Inpatient"] InpatientEncounter with [Condition: "Advanced Illness"] AdvancedIllnessDiagnosis such that exists ( InpatientEncounter.diagnosis.condition EncounterDiagnosis where EndsWith(EncounterDiagnosis.reference, AdvancedIllnessDiagnosis.id) ) and InpatientEncounter.period starts 2 years or less on or before end of "Measurement Period""/>
</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="AdvancedIllnessandFrailtyExclusion"/>
</extension>
<extension url="name">
<valueString
value="Dementia Medications In Year Before or During Measurement Period"/>
</extension>
<extension url="statement">
<valueString
value="define "Dementia Medications In Year Before or During Measurement Period": ["MedicationDispense": "Dementia Medications"] DementiaMed where DementiaMed.whenHandedOver during Interval[ ( start of "Measurement Period" - 1 year ), end of "Measurement 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="AdvancedIllnessandFrailtyExclusion"/>
</extension>
<extension url="name">
<valueString
value="Advanced Illness and Frailty Exclusion Not Including Over Age 80"/>
</extension>
<extension url="statement">
<valueString
value="define "Advanced Illness and Frailty Exclusion Not Including Over Age 80": //If the measure does NOT include populations age 80 and older, then use this logic: Global."CalendarAgeInYearsAt"(FHIRHelpers.ToDate(Patient.birthDate), start of "Measurement Period")>= 65 and "Has Criteria Indicating Frailty" and ( Count("Outpatient Encounters with Advanced Illness")>= 2 or exists ( "Inpatient Encounter with Advanced Illness" ) or exists "Dementia Medications In Year Before or 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="AdvancedIllnessandFrailtyExclusion"/>
</extension>
<extension url="name">
<valueString
value="Long Term Care Periods During Measurement Period"/>
</extension>
<extension url="statement">
<valueString
value="// start here define "Long Term Care Periods During Measurement Period": ( [Encounter: "Care Services in Long-Term Residential Facility"] union [Encounter: "Nursing Facility Visit"] ) LongTermFacilityEncounter where LongTermFacilityEncounter.period overlaps "Measurement Period" return LongTermFacilityEncounter.period intersect "Measurement Period""/>
</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="AdvancedIllnessandFrailtyExclusion"/>
</extension>
<extension url="name">
<valueString
value="Long Term Care Periods Longer Than 90 Consecutive Days"/>
</extension>
<extension url="statement">
<valueString
value="define "Long Term Care Periods Longer Than 90 Consecutive Days": exists ( "Long Term Care Periods During Measurement Period" LongTermCareDuringMP where duration in days of LongTermCareDuringMP > 90 )"/>
</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="BCSComponent"/>
</extension>
<extension url="name">
<valueString value="Denominator Exclusion"/>
</extension>
<extension url="statement">
<valueString
value="define "Denominator Exclusion": Hospice."Has Hospice" or ( ( exists "Right Mastectomy Diagnosis" or exists "Right Mastectomy Procedure" ) and ( exists "Left Mastectomy" or exists "Left Mastectomy Procedure" ) ) or exists "Bilateral Mastectomy Diagnosis" or exists "Bilateral Mastectomy Procedure" or Frailty."Advanced Illness and Frailty Exclusion Not Including Over Age 80" or ( Global."CalendarAgeInYearsAt" ( FHIRHelpers.ToDate ( Patient.birthDate ), start of "Measurement Period" ) >= 65 and Frailty."Long Term Care Periods Longer Than 90 Consecutive Days" )"/>
</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="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="25"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="BCSComponent"/>
</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="26"/>
</extension>
</extension>
<name value="EffectiveDataRequirements"/>
<status value="active"/>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/library-type"/>
<code value="module-definition"/>
</coding>
</type>
<date value="2022-02-22T10:37:03-07:00"/>
<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="Library Global"/>
<resource
value="http://hl7.org/fhir/us/cqfmeasures/Library/MATGlobalCommonFunctions|5.0.000"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library AdultOutpatientEncounters"/>
<resource
value="http://hl7.org/fhir/us/cqfmeasures/Library/AdultOutpatientEncounters|2.0.000"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library Hospice"/>
<resource
value="http://hl7.org/fhir/us/cqfmeasures/Library/Hospice|2.0.000"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library Frailty"/>
<resource
value="http://hl7.org/fhir/us/cqfmeasures/Library/AdvancedIllnessandFrailtyExclusion|5.12.000"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Code system SNOMEDCT:2017-09"/>
<resource
value="http://snomed.info/sct|http://snomed.info/sct/731000124108/version/201709"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Mammography"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1018"/>
</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 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-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 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 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 Encounter Inpatient"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Hospice care ambulatory"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Status Post Right Mastectomy"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1070"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display
value="Value set Unilateral Mastectomy, Unspecified Laterality"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1071"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Right"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.122.12.1035"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Unilateral Mastectomy Right"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1134"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Status Post Left Mastectomy"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1069"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Left"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.122.12.1036"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Unilateral Mastectomy Left"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1133"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set History of bilateral mastectomy"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1068"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Bilateral Mastectomy"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1005"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Frailty Device"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Frailty Diagnosis"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Frailty Encounter"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1088"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Frailty Symptom"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1075"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Outpatient"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1087"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Observation"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1086"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set ED"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Nonacute Inpatient"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1084"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Advanced Illness"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Acute Inpatient"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1083"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Dementia Medications"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1510"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display
value="Value set Care Services in Long-Term Residential Facility"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Nursing Facility Visit"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012"/>
</relatedArtifact>
<parameter>
<name value="Measurement Period"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<type value="Period"/>
</parameter>
<parameter>
<name value="SDE Sex"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="Coding"/>
</parameter>
<parameter>
<name value="Numerator"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="boolean"/>
</parameter>
<parameter>
<name value="Denominator"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="boolean"/>
</parameter>
<parameter>
<name value="SDE Payer"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Initial Population"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="boolean"/>
</parameter>
<parameter>
<name value="SDE Ethnicity"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Coding"/>
</parameter>
<parameter>
<name value="Denominator Exclusion"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="boolean"/>
</parameter>
<parameter>
<name value="SDE Race"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Coding"/>
</parameter>
<dataRequirement>
<type value="Coverage"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Coverage"/>
<mustSupport value="period"/>
<mustSupport value="type"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
<mustSupport value="extension"/>
<mustSupport value="value"/>
<mustSupport value="url"/>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<mustSupport value="type"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<mustSupport value="type"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<mustSupport value="type"/>
<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>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<mustSupport value="type"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<mustSupport value="type"/>
<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>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<mustSupport value="type"/>
<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>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<mustSupport value="type"/>
<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>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<mustSupport value="period"/>
<mustSupport value="diagnosis"/>
<mustSupport value="type"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1083"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<mustSupport value="period"/>
<mustSupport value="hospitalization"/>
<mustSupport value="hospitalization.dischargeDisposition"/>
<mustSupport value="type"/>
<mustSupport value="status"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<mustSupport value="period"/>
<mustSupport value="type"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1088"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<mustSupport value="type"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1087"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<mustSupport value="type"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1086"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<mustSupport value="type"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<mustSupport value="type"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1084"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Procedure"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
<mustSupport value="code"/>
<mustSupport value="performed"/>
<mustSupport value="status"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1133"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Procedure"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
<mustSupport value="code"/>
<mustSupport value="performed"/>
<mustSupport value="status"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Procedure"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
<mustSupport value="code"/>
<mustSupport value="performed"/>
<mustSupport value="status"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1005"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Procedure"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
<mustSupport value="code"/>
<mustSupport value="performed"/>
<mustSupport value="status"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1134"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Condition"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
<mustSupport value="code"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1070"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Condition"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
<mustSupport value="code"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1069"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Condition"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
<mustSupport value="bodySite"/>
<mustSupport value="code"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1071"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Condition"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
<mustSupport value="code"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Condition"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
<mustSupport value="code"/>
<mustSupport value="id"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Condition"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
<mustSupport value="code"/>
<mustSupport value="onset"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1068"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="ServiceRequest"/>
<profile
value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
<mustSupport value="code"/>
<mustSupport value="authoredOn"/>
<mustSupport value="intent"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="DeviceRequest"/>
<profile
value="http://hl7.org/fhir/StructureDefinition/DeviceRequest"/>
<mustSupport value="code"/>
<mustSupport value="authoredOn"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Observation"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
<mustSupport value="effective"/>
<mustSupport value="code"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1075"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="MedicationDispense"/>
<profile
value="http://hl7.org/fhir/StructureDefinition/MedicationDispense"/>
<mustSupport value="whenHandedOver"/>
<mustSupport value="medication"/>
<codeFilter>
<path value="medication"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1510"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="DiagnosticReport"/>
<profile
value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport"/>
<mustSupport value="effective"/>
<mustSupport value="code"/>
<mustSupport value="status"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.108.12.1018"/>
</codeFilter>
</dataRequirement>
</Library>
</contained>
<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-softwaresystem">
<valueReference>🔗
<reference value="Device/software-system-example"/>
</valueReference>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements">
<valueReference>
<reference value="#effective-data-requirements"/>
</valueReference>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
<valueCode value="cqi"/>
</extension>
<url value="http://hl7.org/fhir/us/cqfmeasures/Measure/BCSComponent"/>
<version value="5.0.0-ballot"/>
<name value="BCSComponent"/>
<title value="Breast Cancer Screening"/>
<status value="draft"/>
<experimental value="true"/>
<date value="2022-02-22T11:37:03-06:00"/>
<publisher value="HL7 International / Clinical Quality Information"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://www.hl7.org/Special/committees/cqi"/>
</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>
<library value="http://hl7.org/fhir/us/cqfmeasures/Library/BCSComponent"/>
<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>
<population id="2851A1BA-FBF8-4945-812E-6273F881CE13">
<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="349C20C9-EA7E-4311-9E2D-CF81F1EBCEEF">
<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"/>
</criteria>
</population>
<population id="369D1C75-B5D3-43EC-AEFC-2FF7F462306C">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="denominator-exclusion"/>
<display value="Denominator Exclusion"/>
</coding>
</code>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Denominator Exclusion"/>
</criteria>
</population>
<population id="6F1617E3-99D7-47E4-8392-85107BAA5311">
<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"/>
</criteria>
</population>
</group>
<supplementalData id="3dbb0697-08d7-48db-bc89-bc7f5230c36f">
<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="2865e9d5-f4e8-4c99-812b-5eff79b4b775">
<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="513368dc-dfea-4377-a05d-d358e7e04fbb">
<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="25a16429-e866-438f-990a-3e3a5f2f8443">
<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>
IG © 2019+ HL7 International / Clinical Quality Information. Package hl7.fhir.us.cqfmeasures#5.0.0-ballot based on FHIR 4.0.1. Generated 2023-12-15
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change