Quality Measure Implementation Guide (STU4)
4.0.0 - STU4 United States of America flag

This page is part of the Quality Measure STU2 for FHIR R4 Implementation Guide (v4.0.0: STU4 (v4.0.0)) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: Preventive Care and Screening: Tobacco Use: Screening and Cessation Intervention - TTL Representation

Draft as of 2022-02-22

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

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