eCQM QICore Content Implementation Guide
2023.0.0 - CI Build

eCQM QICore Content Implementation Guide, published by cqframework. This guide is not an authorized publication; it is the continuous build for version 2023.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/ecqm-content-qicore-2023/ and changes regularly. See the Directory of published versions

: Depression Remission at Twelve MonthsFHIR - TTL Representation

Draft as of 2023-08-28

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

 a fhir:Measure ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "DepressionRemissionatTwelveMonthsFHIR"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm>     ] [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/publishable-measure-cqfm"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/publishable-measure-cqfm>     ] [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/executable-measure-cqfm"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/executable-measure-cqfm>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n    <table class=\"grid dict\">\n        \n            <tr>\n                <th scope=\"row\"><b>Title: </b></th>\n                <td style=\"padding-left: 4px;\">Depression Remission at Twelve MonthsFHIR</td>\n            </tr>\n        \n\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Id: </b></th>\n                <td style=\"padding-left: 4px;\">DepressionRemissionatTwelveMonthsFHIR</td>\n            </tr>\n            \n                <tr>\n                    <th scope=\"row\"><b>Download cql: </b></th>\n                    <td style=\"padding-left: 4px;\"><a href=\"Library-DepressionRemissionatTwelveMonthsFHIR.cql\">DepressionRemissionatTwelveMonthsFHIR.cql</a></td>\n                </tr>\n            \n        \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>Url: </b></th>\n                <td style=\"padding-left: 4px;\"><a href=\"Measure-DepressionRemissionatTwelveMonthsFHIR.html\">Depression Remission at Twelve MonthsFHIR</a></td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\">\n                    <b>\n                        \n                            \n                                short-name identifier:\n                            \n                        \n                    </b>\n                </th>\n\n                <td style=\"padding-left: 4px;\">\n                    \n                        <p style=\"margin-bottom: 5px;\">\n                            <span>CMS159FHIR</span>\n                        </p>\n                    \n                </td>\n            </tr>\n        \n            <tr>\n                <th scope=\"row\">\n                    <b>\n                        \n                            \n                                version-independent identifier:\n                            \n                        \n                    </b>\n                </th>\n\n                <td style=\"padding-left: 4px;\">\n                    \n                        <p style=\"margin-bottom: 5px;\">\n                            <span>urn:uuid:5df972fb-27e0-4b59-b5f8-b041e6ffc947</span>\n                        </p>\n                    \n                </td>\n            </tr>\n        \n            <tr>\n                <th scope=\"row\">\n                    <b>\n                        \n                            \n                                version-specific identifier:\n                            \n                        \n                    </b>\n                </th>\n\n                <td style=\"padding-left: 4px;\">\n                    \n                        <p style=\"margin-bottom: 5px;\">\n                            <span>urn:uuid:2c928084808a9589018094b0efb804a6</span>\n                        </p>\n                    \n                </td>\n            </tr>\n        \n            <tr>\n                <th scope=\"row\">\n                    <b>\n                        \n                            \n                                endorser (NQF) identifier:\n                            \n                        \n                    </b>\n                </th>\n\n                <td style=\"padding-left: 4px;\">\n                    \n                        <p style=\"margin-bottom: 5px;\">\n                            <span>0710e</span>\n                        </p>\n                    \n                </td>\n            </tr>\n        \n            <tr>\n                <th scope=\"row\">\n                    <b>\n                        \n                            \n                                publisher (CMS) identifier:\n                            \n                        \n                    </b>\n                </th>\n\n                <td style=\"padding-left: 4px;\">\n                    \n                        <p style=\"margin-bottom: 5px;\">\n                            <span>159FHIR</span>\n                        </p>\n                    \n                </td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Effective Period: </b></th>\n                <td style=\"padding-left: 4px;\">2024-01-01\n                    ..2024-12-31</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        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Date: </b></th>\n                <td style=\"padding-left: 4px;\">2023-08-28 17:12:47+0000</td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Approval Date: </b></th>\n                <td style=\"padding-left: 4px;\">2023-08-28</td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Last Review Date: </b></th>\n                <td style=\"padding-left: 4px;\">2023-08-28</td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Name: </b></th>\n                <td style=\"padding-left: 4px;\">DepressionRemissionatTwelveMonthsFHIR</td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Publisher: </b></th>\n                <td style=\"padding-left: 4px;\">MN Community Measurement</td>\n            </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Author: </b></th>\n            <td style=\"padding-left: 4px;\">Telligen: <a href=\"https://www.telligen.com/\">https://www.telligen.com/</a></td>\n        </tr>\n        \n\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Description: </b></th>\n                <td style=\"padding-left: 4px;\"><div><p>The percentage of adolescent patients 12 to 17 years of age and adult patients 18 years of age or older with major depression or dysthymia who reached remission 12 months (+/- 60 days) after an index event</p>\n</div></td>\n            </tr>\n        \n\n        \n\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Use Context: </b></th>\n                <td style=\"padding-left: 4px;\">\n                    <table class=\"grid-dict\">\n                        <tr>\n                            <th><b>code</b></th>\n                            <th><b>value</b></th>\n                        </tr>\n                        \n                            <tr>\n                                <td>program</td>\n                                <td/>\n                            </tr>\n                        \n                    </table>\n                </td>\n            </tr>\n        \n\n        \n\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Purpose: </b></th>\n                <td style=\"padding-left: 4px;\"><div><p>UNKNOWN</p>\n</div></td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Copyright: </b></th>\n                <td style=\"padding-left: 4px;\"><div><p>Copyright MN Community Measurement, 2023. All rights reserved.</p>\n<p>Limited proprietary coding is contained in the Measure specifications for user convenience. Users of proprietary code sets should obtain all necessary licenses from the owners of the code sets. Mathematica disclaims all liability for use or accuracy of any third party codes contained in the specifications.</p>\n<p>CPT(R) contained in the Measure specifications is copyright 2004-2022 American Medical Association. LOINC(R) copyright 2004-2022 Regenstrief Institute, Inc. This material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2022 International Health Terminology Standards Development Organisation. ICD-10 copyright 2022 World Health Organization. All Rights Reserved.</p>\n</div></td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Disclaimer: </b></th>\n                <td style=\"padding-left: 4px;\"><div><p>The performance measure is not a clinical guideline and does not establish a standard of medical care, and has not been tested for all potential applications.</p>\n<p>THE MEASURES AND SPECIFICATIONS ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND.</p>\n<p>Due to technical limitations, registered trademarks are indicated by (R) or [R] and unregistered trademarks are indicated by (TM) or [TM].</p>\n</div></td>\n            </tr>\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Rationale: </b></th>\n            <td style=\"padding-left: 4px;\"><div><p>Adults:\nDepression is a common and treatable mental disorder. During 2013-2016, 8.1% of American adults age 20 and over had depression in a given 2 week period. Women (10.4%) were almost twice as likely as men (5.5%) to have had depression. The prevalence of depression among adults decreased as family income levels increased. About 80% of adults with depression reported at least some difficulty with work, home, or social activities because of their depression symptoms (Brody, Pratt, and Hughes, 2018).</p>\n<p>Depression is a risk factor for development of chronic illnesses such as diabetes and coronary heart disease and adversely affects the course, complications and management of chronic medical illness. Both maladaptive health risk behaviors and psychobiological factors associated with depression may explain depression's negative effect on outcomes of chronic illness (Katon, 2011).</p>\n<p>Adolescents and Adults:\nThe Centers for Disease Control and Prevention states that during 2009-2012 an estimated 7.6% of the U.S. population aged 12 and over had depression, including 3% of Americans with severe depressive symptoms. Almost 43% of persons with severe depressive symptoms reported serious difficulties in work, home and social activities, yet only 35% reported having contact with a mental health professional in the past year (Pratt and Brody, 2014).</p>\n<p>Depression is associated with higher mortality rates in all age groups. Depression is also a leading cause of medical disability, and depressed people lose 5.6 hours of productive work every week when they are depressed, 50% of which is due to absenteeism and short-term disability (Stewart et al., 2003).</p>\n<p>Adolescents:\nIn 2014, an estimated 2.8 million adolescents age 12 to 17 in the United States had at least one major depressive episode (MDE) in the past year (Center for Behavioral Health Statistics and Quality, 2015). The 2013 Youth Risk Behavior Survey of students grades 9 to 12 indicated that during the past 12 months 39.1% (F) and 20.8% (M) indicated feeling sad or hopeless almost every day for at least 2 weeks, planned suicide attempt 16.9% (F) and 10.3% (M), with attempted suicide 10.6% (F) and 5.4% (M) (Kann et al., 2014). Adolescent-onset depression is associated with chronic depression in adulthood. Many mental health conditions (anxiety, bipolar, depression, eating disorders, and substance abuse) are evident by age 14. The 12-month prevalence of MDEs increased from 8.7% in 2005 to 11.3% in 2014 in adolescents and from 8.8% to 9.6% in young adults (both P &lt; .001). The increase was larger and statistically significant only in the age range of 12 to 20 years. The trends remained significant after adjustment for substance use disorders and sociodemographic factors (Mojtabai, Olfson, and Han 2016). Mental health care contacts overall did not change over time; however, the use of specialty mental health providers increased in adolescents and young adults, and the use of prescription medications and inpatient hospitalizations increased in adolescents (Mojtabai, Olfson, and Han 2016).</p>\n</div></td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Clinical recommendation statement: </b></th>\n            <td style=\"padding-left: 4px;\"><div><p>Adults:</p>\n<p>Recommendations and algorithm notations supporting depression outcomes and duration of treatment according to Institute for Clinical Systems Improvement Health Care Guideline (Trangle et al., 2016):</p>\n<p>Recommendation: Clinicians should establish and maintain follow-up with patients. Appropriate, reliable follow-up is highly correlated with improved response and remission scores. It is also correlated with the improved safety and efficacy of medications and helps prevent relapse (Trangle et al., 2016).</p>\n<p>Proactive follow-up contacts (in person, telephone) based on the collaborative care model have been shown to significantly lower depression severity (Unutzer et al., 2002). In the available clinical effectiveness trials conducted in real clinical practice settings, even the addition of a care manager leads to modest remission rates (Trivedi et al., 2006; Unutzer et al., 2002). Interventions are critical to educating the patient regarding the importance of preventing relapse, safety and efficacy of medications, and management of potential side effects. Establish and maintain initial follow-up contact intervals (office, phone, other) (Hunkeler et al., 2000; Simon et al., 2000).</p>\n<p>The Patient Health Questionnaire-9 (PHQ-9) is an effective monitoring and management tool, and should be used routinely for subsequent visits to monitor treatment outcomes and severity. It can also help the clinician decide if/how to modify the treatment plan (Duffy et al., 2008; Lowe et al., 2004). Using a measurement-based approach to depression care, PHQ-9 results and side effect evaluation should be combined with treatment algorithms to drive patients toward remission. A five-point drop in PHQ-9 score is considered the minimal clinically significant difference (Trivedi, 2009).</p>\n<p>The goals of treatment should be to achieve remission, reduce relapse and recurrence, and return to previous level of occupational and psychosocial function.</p>\n<p>If using a PHQ-9 tool, remission translates to PHQ-9 score of less than 5 (Kroenke, 2001). Results from the Sequenced Treatment Alternatives to Relieve Depression (STAR*D) study showed that remission rates lowered with more treatment steps, but the overall cumulative rate was 67% (Rush et al., 2006).</p>\n<p>Response and remission take time. In the STAR*D study, longer times than expected were needed to reach response or remission. In fact, one-third of those who ultimately responded did so after six weeks. Of those who achieved remission by Quick Inventory of Depressive Symptomatology, 50% did so only at or after six weeks of treatment (Trivedi et al., 2006). If the primary care clinician is seeing some improvement, continue working with that patient to augment or increase dosage to reach remission. This can take up to three months.</p>\n<p>This measure assesses achievement of remission, which is a desired outcome of effective depression treatment and monitoring.</p>\n<p>Adult Depression in Primary Care - Guideline Aims (Trangle et al., 2016):</p>\n<ul>\n<li>Increase the percentage of patients with major depression or persistent depressive disorder who have improvement in outcomes from treatment for major depression or persistent depressive disorder.</li>\n<li>Increase the percentage of patients with major depression or persistent depressive disorder who have follow-up to assess for outcomes from treatment.</li>\n<li>Improve communication between the primary care physician and the mental health care clinician (if patient is co-managed).</li>\n</ul>\n<p>Adolescents:</p>\n<p>Recommendations supporting depression outcomes and duration of treatment according to American Academy of Child and Adolescent Psychiatry guideline (Birmaher et al., 2007):</p>\n<ul>\n<li>Treatment of depressive disorders should always include an acute and continuation phase; some children may also require maintenance treatment. The main goal of the acute phase is to achieve response and ultimately full symptomatic remission (definitions below).</li>\n<li>Each phase of treatment should include psychoeducation, supportive management, and family and school involvement.</li>\n<li>Education, support, and case management appear to be sufficient treatment for the management of depressed children and adolescents with an uncomplicated or brief depression or with mild psychosocial impairment.</li>\n<li>For children and adolescents who do not respond to supportive psychotherapy or who have more complicated depressions, a trial with specific types of psychotherapy and/or antidepressants is indicated.</li>\n</ul>\n<p>Recommendations supporting depression outcomes and duration of treatment according to Guidelines for Adolescent Depression in Primary Care (Zuckerbrot et al., 2018 (Part I), Zuckerbrot et al., 2018 (Part II)):</p>\n<ul>\n<li>Mild depression: consider a period of active support and monitoring before starting other evidence-based treatment</li>\n<li>Moderate or severe major clinical depression or complicating factors:\n-- consultation with mental health specialist with agreed upon roles\n-- evidence based treatment (cognitive behavioral therapy or interpersonal psychotherapy and/or antidepressant selective serotonin reuptake inhibitors)</li>\n<li>Monitor for adverse effects during antidepressant therapy\n-- clinical worsening, suicidality, unusual changes in behavior</li>\n<li>Systematic and regular tracking of goals and outcomes\n-- improvement in functioning status and resolution of depressive symptoms\nRegardless of the length of treatment, all patients should be monitored on a monthly basis for 6 to 12 months after the full resolution of symptoms.</li>\n</ul>\n</div></td>\n        </tr>\n        \n\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Guidance (Usage): </b></th>\n                <td style=\"padding-left: 4px;\">When an index assessment is conducted with PHQ-9M, the follow-up assessment can use either a PHQ-9M or PHQ-9.\n\nThis eCQM is a patient-based measure.\n\nThis FHIR-based measure has been derived from the QDM-based measure: CMS159v12. \n\nPlease refer to the HL7 QI-Core Implementation Guide (http://hl7.org/fhir/us/qicore/index.html) for more information on QI-Core and mapping recommendations from QDM to QI-Core 4.1.1 (http://hl7.org/fhir/us/qicore/qdm-to-qicore.html).</td>\n            </tr>\n        \n\n        \n            \n                <tr>\n                    <th scope=\"row\"><b>Population Criteria: </b></th>\n                    <td style=\"padding-left: 4px;\">\n                        \n                            <table class=\"grid-dict\">\n                                \n                                    <tr>\n                                        <th><b>638501ed4ba3d47c885c02b0</b></th>\n                                    </tr>\n                                \n                                \n                                    <tr>\n                                        <td>Initial Population:</td>\n                                        \n                                            <td>Adolescent patients 12 to 17 years of age and adult patients 18 years of age and older with a diagnosis of major depression or dysthymia and an initial PHQ-9 or PHQ-9M score greater than nine during the index event. Patients may be assessed using PHQ-9 or PHQ-9M on the same date or up to 7 days prior to the encounter (index event).</td>\n                                        \n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Denominator:</td>\n                                        \n                                            <td>Equals Initial Population</td>\n                                        \n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Denominator Exclusion:</td>\n                                        \n                                            <td>1: Patients who died any time prior to the end of the measure assessment period\n2: Patients who received hospice or palliative care services between the start of the denominator period and the end of the measurement assessment period\n3: Patients with a diagnosis of bipolar disorder any time prior to the end of the measure assessment period\n4: Patients with a diagnosis of personality disorder emotionally labile any time prior to the end of the measure assessment period\n5: Patients with a diagnosis of schizophrenia or psychotic disorder any time prior to the end of the measure assessment period\n6: Patients with a diagnosis of pervasive developmental disorder any time prior to the end of the measure assessment period</td>\n                                        \n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Numerator:</td>\n                                        \n                                            <td>Adolescent patients 12 to 17 years of age and adult patients 18 years of age and older who achieved remission at twelve months as demonstrated by the most recent twelve month (+/- 60 days) PHQ-9 or PHQ-9M score of less than five</td>\n                                        \n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Numerator Exclusion:</td>\n                                        \n                                            <td>None</td>\n                                        \n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Denominator Exception:</td>\n                                        \n                                            <td>None</td>\n                                        \n                                    </tr>\n                                \n                                \n                                  <tr><b>Stratifier Criteria: </b></tr>\n                                    \n                                        <tr>\n                                            <td>:</td>\n                                            \n                                                <td>Ages 12 to 17 at the time of the index assessment</td>\n                                            \n                                        </tr>\n                                    \n                                        <tr>\n                                            <td>:</td>\n                                            \n                                                <td>Ages 18 and older at the time of the index assessment</td>\n                                            \n                                        </tr>\n                                    \n                                \n                            </table>\n                        \n                    </td>\n                </tr>\n            \n        \n\n        \n            <tr>\n                <th scope=\"row\">\n                    <b> Supplemental Data Guidance\n                        : </b></th>\n                <td style=\"padding-left: 4px;\">  </td>\n            </tr>\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                                SDE Ethnicity\n                            \n                        \n                    \n                        \n                            \n                                SDE Payer\n                            \n                        \n                    \n                        \n                            \n                                SDE Race\n                            \n                        \n                    \n                        \n                            \n                                SDE Sex\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>\n                                <td><a href=\"Library-DepressionRemissionatTwelveMonthsFHIR.html\">DepressionRemissionatTwelveMonthsFHIR</a></td>\n                            </tr>\n                        \n                    </table>\n                </td>\n            </tr>\n        \n\n        \n\n        \n            \n                <tr>\n                    <th scope=\"row\"><b>Related Artifact Dependencies: </b></th>\n                    <td style=\"padding-left: 4px;\">\n                        \n                            <li><code>Library/SupplementalDataElements|3.4.000</code></li>\n                        \n                            <li><code>Library/FHIRHelpers|4.3.000</code></li>\n                        \n                            <li><code>Library/QICoreCommon|1.5.000</code></li>\n                        \n                            <li><code>Library/FHIRHelpers|4.3.000</code></li>\n                        \n                            <li><code>Library/FHIRHelpers|4.3.000</code></li>\n                        \n                            <li><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-condition-clinical.html\">Condition Clinical Status Codes</a></li>\n                        \n                            <li><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-condition-ver-status.html\">ConditionVerificationStatus</a></li>\n                        \n                            <li><a href=\"http://hl7.org/fhir/R4/codesystem-snomedct.html\">SNOMED CT (all versions)</a></li>\n                        \n                            <li><a href=\"http://tx.fhir.org/r4/ValueSet/x-loinc2.82\">LOINC</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.67.1.101.1.263/expansion\">PHQ 9 and PHQ 9M Tools</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1080.5/expansion\">Contact or Office Visit</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.113883.3.67.1.101.3.2444/expansion\">Major Depression Including Remission</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.67.1.101.1.254/expansion\">Dysthymia</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.666.5.307/expansion\">Encounter Inpatient</a></li>\n                        \n                            <li><a href=\"https://tx.fhir.org/r4/ValueSet/2.16.840.1.113883.3.464.1003.1003-20210820\">Hospice Encounter</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1584/expansion\">Hospice Care Ambulatory</a></li>\n                        \n                            <li><a href=\"https://tx.fhir.org/r4/ValueSet/2.16.840.1.113883.3.464.1003.1165-20220818\">Hospice Diagnosis</a></li>\n                        \n                            <li><a href=\"https://tx.fhir.org/r4/ValueSet/2.16.840.1.113883.3.464.1003.1167-20220820\">Palliative Care Diagnosis</a></li>\n                        \n                            <li><a href=\"https://tx.fhir.org/r4/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1090-20210224\">Palliative Care Encounter</a></li>\n                        \n                            <li><a href=\"https://tx.fhir.org/r4/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1135-20210224\">Palliative Care Intervention</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.67.1.101.1.128/expansion\">Bipolar Disorder</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.67.1.101.1.246/expansion\">Personality Disorder Emotionally Labile</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.105.12.1104/expansion\">Schizophrenia or Psychotic Disorder</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.105.12.1152/expansion\">Pervasive Developmental Disorder</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>\n                                <th><b>name</b></th>\n                                <th><b>use</b></th>\n                                <th><b>min</b></th>\n                                <th><b>max</b></th>\n                                <th><b>type</b></th>\n                            </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>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>Numerator</td>\n                                    <td>Out</td>\n                                    <td>0</td>\n                                    <td>1</td>\n                                    <td>boolean</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Stratification 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>Stratification 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>Denominator</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>1</td>\n                                    <td>Resource</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Denominator Exclusions</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>1</td>\n                                    <td>Resource</td>\n                                </tr>\n                            \n                        </table>\n                    </td>\n                </tr>\n\n                <tr>\n                    <th scope=\"row\"><b>DataRequirements:</b></th>\n                    <td style=\"padding-left: 4px;\">\n                        <table class=\"grid-dict\">\n                            <tr>\n                                <th><b>Type</b></th>\n                                <th><b>Elements</b></th>\n                                <th><b>Valueset Name</b></th>\n                                <th><b>Valueset</b></th>\n                            </tr>\n                            \n                                <tr>\n                                    <td>Patient(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-patient.html\">QICorePatient</a>)</td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Patient(<code>http://hl7.org/fhir/Patient</code>)</td>\n                                    <td>\n                                        \n                                            gender\n                                        \n                                            gender.value\n                                        \n                                            birthDate\n                                        \n                                            birthDate.value\n                                        \n                                            deceased\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Patient(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-patient.html\">QICorePatient</a>)</td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Observation(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-observation.html\">QICoreObservation</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            value\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            effective\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 PHQ 9 and PHQ 9M Tools\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.67.1.101.1.263/expansion\">PHQ 9 and PHQ 9M Tools</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Condition(<code>http://hl7.org/fhir/Condition</code>)</td>\n                                    <td>\n                                        \n                                            clinicalStatus\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Condition(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-condition.html\">QICoreCondition</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Major Depression Including Remission\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.113883.3.67.1.101.3.2444/expansion\">Major Depression Including Remission</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Condition(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-condition.html\">QICoreCondition</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Dysthymia\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.67.1.101.1.254/expansion\">Dysthymia</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Encounter(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-encounter.html\">QICoreEncounter</a>)</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                            period\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Contact or Office Visit\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1080.5/expansion\">Contact or Office Visit</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Observation(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-observation.html\">QICoreObservation</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            value\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            effective\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 PHQ 9 and PHQ 9M Tools\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.67.1.101.1.263/expansion\">PHQ 9 and PHQ 9M Tools</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Observation(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-observation.html\">QICoreObservation</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            effective\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 PHQ 9 and PHQ 9M Tools\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.67.1.101.1.263/expansion\">PHQ 9 and PHQ 9M Tools</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Observation(<code>http://hl7.org/fhir/Observation</code>)</td>\n                                    <td>\n                                        \n                                            value\n                                        \n                                            effective\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Patient(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-patient.html\">QICorePatient</a>)</td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Coverage(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-coverage.html\">QICoreCoverage</a>)</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                            period\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Payer Type\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>uri(<code>http://hl7.org/fhir/uri</code>)</td>\n                                    <td>\n                                        \n                                            value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Patient(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-patient.html\">QICorePatient</a>)</td>\n                                    <td>\n                                        \n                                            url\n                                        \n                                            extension\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Patient(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-patient.html\">QICorePatient</a>)</td>\n                                    <td>\n                                        \n                                            url\n                                        \n                                            extension\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Encounter(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-encounter.html\">QICoreEncounter</a>)</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                            hospitalization\n                                        \n                                            hospitalization.dischargeDisposition\n                                        \n                                            period\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Encounter Inpatient\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.307/expansion\">Encounter Inpatient</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Encounter(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-encounter.html\">QICoreEncounter</a>)</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                            period\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Hospice Encounter\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://tx.fhir.org/r4/ValueSet/2.16.840.1.113883.3.464.1003.1003-20210820\">Hospice Encounter</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Observation(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-observation.html\">QICoreObservation</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            value\n                                        \n                                            effective\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                                <tr>\n                                    <td>ServiceRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-servicerequest.html\">QICoreServiceRequest</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            authoredOn\n                                        \n                                            authoredOn.value\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            intent\n                                        \n                                            intent.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Hospice Care Ambulatory\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1584/expansion\">Hospice Care Ambulatory</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html\">QICoreProcedure</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            performed\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Hospice Care Ambulatory\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1584/expansion\">Hospice Care Ambulatory</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Condition(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-condition.html\">QICoreCondition</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            verificationStatus\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Hospice Diagnosis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://tx.fhir.org/r4/ValueSet/2.16.840.1.113883.3.464.1003.1165-20220818\">Hospice Diagnosis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Observation(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-observation.html\">QICoreObservation</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            effective\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Condition(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-condition.html\">QICoreCondition</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            verificationStatus\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Palliative Care Diagnosis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://tx.fhir.org/r4/ValueSet/2.16.840.1.113883.3.464.1003.1167-20220820\">Palliative Care Diagnosis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Encounter(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-encounter.html\">QICoreEncounter</a>)</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                            period\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Palliative Care Encounter\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://tx.fhir.org/r4/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1090-20210224\">Palliative Care Encounter</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html\">QICoreProcedure</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            performed\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Palliative Care Intervention\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://tx.fhir.org/r4/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1135-20210224\">Palliative Care Intervention</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Condition(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-condition.html\">QICoreCondition</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Bipolar Disorder\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.67.1.101.1.128/expansion\">Bipolar Disorder</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Condition(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-condition.html\">QICoreCondition</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Personality Disorder Emotionally Labile\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.67.1.101.1.246/expansion\">Personality Disorder Emotionally Labile</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Condition(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-condition.html\">QICoreCondition</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Schizophrenia or Psychotic Disorder\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.105.12.1104/expansion\">Schizophrenia or Psychotic Disorder</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Condition(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-condition.html\">QICoreCondition</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Pervasive Developmental Disorder\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.105.12.1152/expansion\">Pervasive Developmental Disorder</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Patient(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-patient.html\">QICorePatient</a>)</td>\n                                    <td>\n                                        \n                                            url\n                                        \n                                            extension\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Patient(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-patient.html\">QICorePatient</a>)</td>\n                                    <td>\n                                        \n                                            url\n                                        \n                                            extension\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Coverage(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-coverage.html\">QICoreCoverage</a>)</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                            period\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Payer Type\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>Patient(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-patient.html\">QICorePatient</a>)</td>\n                                    <td>\n                                        \n                                            url\n                                        \n                                            extension\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Patient(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-patient.html\">QICorePatient</a>)</td>\n                                    <td>\n                                        \n                                            url\n                                        \n                                            extension\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                        </table>\n                    </td>\n                </tr>\n\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>\n                                    <th><b>display</b></th>\n                                    <th><b>code</b></th>\n                                    <th><b>system</b></th>\n                                </tr>\n                                \n                                    <tr>\n                                        <td/>\n                                        <td>active</td>\n                                        <td><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-condition-clinical.html\">http://terminology.hl7.org/CodeSystem/condition-clinical</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td/>\n                                        <td>recurrence</td>\n                                        <td><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-condition-clinical.html\">http://terminology.hl7.org/CodeSystem/condition-clinical</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td/>\n                                        <td>relapse</td>\n                                        <td><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-condition-clinical.html\">http://terminology.hl7.org/CodeSystem/condition-clinical</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td/>\n                                        <td>unconfirmed</td>\n                                        <td><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-condition-ver-status.html\">http://terminology.hl7.org/CodeSystem/condition-ver-status</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td/>\n                                        <td>refuted</td>\n                                        <td><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-condition-ver-status.html\">http://terminology.hl7.org/CodeSystem/condition-ver-status</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td/>\n                                        <td>entered-in-error</td>\n                                        <td><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-condition-ver-status.html\">http://terminology.hl7.org/CodeSystem/condition-ver-status</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Discharge to home for hospice care (procedure)</td>\n                                        <td>428361000124107</td>\n                                        <td><a href=\"https://browser.ihtsdotools.org/\">http://snomed.info/sct</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Discharge to healthcare facility for hospice care (procedure)</td>\n                                        <td>428371000124100</td>\n                                        <td><a href=\"https://browser.ihtsdotools.org/\">http://snomed.info/sct</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Hospice care [Minimum Data Set]</td>\n                                        <td>45755-6</td>\n                                        <td><a href=\"https://loinc.org/\">http://loinc.org</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Yes (qualifier value)</td>\n                                        <td>373066001</td>\n                                        <td><a href=\"https://browser.ihtsdotools.org/\">http://snomed.info/sct</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)</td>\n                                        <td>71007-9</td>\n                                        <td><a href=\"https://loinc.org/\">http://loinc.org</a></td>\n                                    </tr>\n                                \n                            </table>\n                        </td>\n                    </tr>\n                \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>\n                                <th><b>Scoring</b></th>\n                                <th><b>Population Criteria</b></th>\n                                <th><b>Expression</b></th>\n                            </tr>\n                            <tr>\n                                \n                                <td> 638501ed4ba3d47c885c02b0 </td>\n                                <td>\n                                    \n                                        <b>Group scoring:</b>\n                                        \n                                            <span>  proportion </span>\n                                        \n                                    \n\n                                    \n\n                                    \n\n                                    \n\n                                    \n\n                                    \n\n                                    \n\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 \"Initial Population\":\n  AgeInYearsAt(start of(\"Index Depression Assessment\".effective.toInterval())) &gt;= 12</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 \"Denominator\":\n  \"Initial Population\"</code></pre>\n                                        \n                                    </td>\n                                </tr>\n                                \n                                <tr>\n                                    <td/>\n                                    <td/>\n                                    <td>Denominator Exclusion</td>\n                                    <td>\n                                        \n                                            <pre><code class=\"language-cql\">define \"Denominator Exclusions\":\n  \"Has Hospice Services in the Measure Assessment Period\"\n    or \"Has Palliative Care in the Measure Assessment Period\"\n    or \"Patient Expired\"\n    or \"Has Mental Health Disorder Diagnoses\"</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 \"Numerator\":\n  Last([Observation: \"PHQ 9 and PHQ 9M Tools\"] DepressionAssessment\n      where ToDate(start of DepressionAssessment.effective.toInterval()) during \"Measure Assessment Period\"\n        and DepressionAssessment.status in { 'final', 'amended', 'corrected' }\n      sort by start of effective.toInterval()\n  ).value &lt; 5</code></pre>\n                                        \n                                    </td>\n                                </tr>\n                                \n                                <tr>\n                                    <td/>\n                                    <td/>\n                                    <td>Numerator Exclusion</td>\n                                    <td>\n                                        \n                                            None\n                                        \n                                    </td>\n                                </tr>\n                                \n                                <tr>\n                                    <td/>\n                                    <td/>\n                                    <td>Denominator Exception</td>\n                                    <td>\n                                        \n                                            None\n                                        \n                                    </td>\n                                </tr>\n                                \n                                \n                                <tr>\n                                    <td/>\n                                    <td/>\n                                    <td/>\n                                    <td>\n                                        \n                                            <pre><code class=\"language-cql\"/></pre>\n                                        \n                                    </td>\n                                </tr>\n                                \n                                <tr>\n                                    <td/>\n                                    <td/>\n                                    <td/>\n                                    <td>\n                                        \n                                            <pre><code class=\"language-cql\"/></pre>\n                                        \n                                    </td>\n                                </tr>\n                                \n                            \n                            </tr>\n                        </table>\n                \n\n                <table class=\"grid-dict\">\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>SupplementalDataElements</td>\n                            \n                            \n                                <td>SDE Sex</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"SDE Sex\":\n  case\n      when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }\n      when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }\n      else null\n    end</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DepressionRemissionatTwelveMonthsFHIR</td>\n                            \n                            \n                                <td>SDE Sex</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"SDE Sex\":\n  SDE.\"SDE Sex\"</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DepressionRemissionatTwelveMonthsFHIR</td>\n                            \n                            \n                                <td>Depression Assessments Greater than 9</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Depression Assessments Greater than 9\":\n  [Observation: \"PHQ 9 and PHQ 9M Tools\"] DepressionAssessment\n    where DepressionAssessment.value &gt; 9\n      and DepressionAssessment.status in { 'final', 'amended', 'corrected' }</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DepressionRemissionatTwelveMonthsFHIR</td>\n                            \n                            \n                                <td>Depression Diagnoses</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Depression Diagnoses\":\n  ( [Condition: \"Major Depression Including Remission\"]\n    union [Condition: \"Dysthymia\"] ) Depression\n    where Depression.isActive ( )\n      and not ( Depression.verificationStatus ~ QICoreCommon.\"unconfirmed\"\n          or Depression.verificationStatus ~ QICoreCommon.\"refuted\"\n          or Depression.verificationStatus ~ QICoreCommon.\"entered-in-error\"\n      )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DepressionRemissionatTwelveMonthsFHIR</td>\n                            \n                            \n                                <td>Denominator Identification Period</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Denominator Identification Period\":\n  Interval[start of \"Measurement Period\" - 14 months, start of \"Measurement Period\" - 2 months )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DepressionRemissionatTwelveMonthsFHIR</td>\n                            \n                            \n                                <td>Depression Encounter</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Depression Encounter\":\n  [Encounter: \"Contact or Office Visit\"] ValidEncounter\n    with \"Depression Diagnoses\" Depression\n      such that ValidEncounter.period overlaps Depression.prevalenceInterval ( )\n        and ValidEncounter.period ends during \"Denominator Identification Period\"\n        and ValidEncounter.status = 'finished'</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DepressionRemissionatTwelveMonthsFHIR</td>\n                            \n                            \n                                <td>Index Depression Assessment</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Index Depression Assessment\":\n  First(\"Depression Assessments Greater than 9\" DepressionAssessment\n      with \"Depression Encounter\" DepressionEncounter\n        such that DepressionAssessment.effective.toInterval() during day of Interval[ToDate((start of DepressionEncounter.period) - 7 days), \n        end of DepressionEncounter.period]\n      sort by start of effective.toInterval()\n  )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DepressionRemissionatTwelveMonthsFHIR</td>\n                            \n                            \n                                <td>Measure Assessment Period</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Measure Assessment Period\":\n  \"Index Depression Assessment\" FirstIndexAssessment\n    let YearAfterIndexAssessment: date from start of FirstIndexAssessment.effective.toInterval ( ) + 12 months\n    return Interval[YearAfterIndexAssessment - 60 days, YearAfterIndexAssessment + 60 days]</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DepressionRemissionatTwelveMonthsFHIR</td>\n                            \n                            \n                                <td>Numerator</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Numerator\":\n  Last([Observation: \"PHQ 9 and PHQ 9M Tools\"] DepressionAssessment\n      where ToDate(start of DepressionAssessment.effective.toInterval()) during \"Measure Assessment Period\"\n        and DepressionAssessment.status in { 'final', 'amended', 'corrected' }\n      sort by start of effective.toInterval()\n  ).value &lt; 5</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DepressionRemissionatTwelveMonthsFHIR</td>\n                            \n                            \n                                <td>Stratification 2</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Stratification 2\":\n  \"Index Depression Assessment\" IndexAssessment\n    return AgeInYearsAt(date from start of IndexAssessment.effective.toInterval()) &gt;= 18</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DepressionRemissionatTwelveMonthsFHIR</td>\n                            \n                            \n                                <td>Stratification 1</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Stratification 1\":\n  \"Index Depression Assessment\" IndexAssessment\n    return AgeInYearsAt(date from start of IndexAssessment.effective.toInterval()) in Interval[12, 17]</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DepressionRemissionatTwelveMonthsFHIR</td>\n                            \n                            \n                                <td>Initial Population</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Initial Population\":\n  AgeInYearsAt(start of(\"Index Depression Assessment\".effective.toInterval())) &gt;= 12</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DepressionRemissionatTwelveMonthsFHIR</td>\n                            \n                            \n                                <td>Denominator</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Denominator\":\n  \"Initial Population\"</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>SupplementalDataElements</td>\n                            \n                            \n                                <td>SDE Payer</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"SDE Payer\":\n  [Coverage: type in \"Payer Type\"] Payer\n    return {\n      code: Payer.type,\n      period: Payer.period\n    }</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DepressionRemissionatTwelveMonthsFHIR</td>\n                            \n                            \n                                <td>SDE Payer</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"SDE Payer\":\n  SDE.\"SDE Payer\"</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>SupplementalDataElements</td>\n                            \n                            \n                                <td>SDE Ethnicity</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"SDE Ethnicity\":\n  Patient.ethnicity E\n    return Tuple {\n      codes: { E.ombCategory } union E.detailed,\n      display: E.text\n    }</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DepressionRemissionatTwelveMonthsFHIR</td>\n                            \n                            \n                                <td>SDE Ethnicity</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"SDE Ethnicity\":\n  SDE.\"SDE Ethnicity\"</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DepressionRemissionatTwelveMonthsFHIR</td>\n                            \n                            \n                                <td>Has Hospice Services in the Measure Assessment Period</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Has Hospice Services in the Measure Assessment Period\":\n  exists ( [Encounter: \"Encounter Inpatient\"] InpatientEncounter\n      where ( InpatientEncounter.hospitalization.dischargeDisposition ~ \"Discharge to home for hospice care (procedure)\"\n          or InpatientEncounter.hospitalization.dischargeDisposition ~ \"Discharge to healthcare facility for hospice care (procedure)\"\n      )\n        and InpatientEncounter.period ends during day of Interval[start of \"Denominator Identification Period\", end of \"Measure Assessment Period\"]\n        and InpatientEncounter.status = 'finished'\n  )\n    or exists ( [Encounter: \"Hospice Encounter\"] HospiceEncounter\n        where HospiceEncounter.period overlaps day of Interval[start of \"Denominator Identification Period\", end of \"Measure Assessment Period\"]\n          and not ( HospiceEncounter.status in { 'cancelled', 'entered-in-error', 'unknown' } )\n    )\n    or exists ( [Observation: \"Hospice care [Minimum Data Set]\"] HospiceAssessment\n        where HospiceAssessment.value ~ \"Yes (qualifier value)\"\n          and HospiceAssessment.effective.toInterval ( ) overlaps day of Interval[start of \"Denominator Identification Period\", end of \"Measure Assessment Period\"]\n          and HospiceAssessment.status in { 'final', 'amended', 'corrected' }\n    )\n    or exists ( [ServiceRequest: code in \"Hospice Care Ambulatory\"] HospiceOrder\n        where HospiceOrder.authoredOn during day of Interval[start of \"Denominator Identification Period\", end of \"Measure Assessment Period\"]\n          and HospiceOrder.status in { 'active', 'completed' }\n          and HospiceOrder.intent in { 'order', 'original-order', 'reflex-order', 'filler-order', 'instance-order' }\n    )\n    or exists ( [Procedure: \"Hospice Care Ambulatory\"] HospicePerformed\n        where HospicePerformed.performed.toInterval ( ) overlaps day of Interval[start of \"Denominator Identification Period\", end of \"Measure Assessment Period\"]\n          and not ( HospicePerformed.status in { 'not-done', 'entered-in-error', 'unknown' } )\n    )\n    or exists ( [Condition: \"Hospice Diagnosis\"] HospiceCareDiagnosis\n        where HospiceCareDiagnosis.prevalenceInterval ( ) overlaps day of Interval[start of \"Denominator Identification Period\", end of \"Measure Assessment Period\"]\n          and HospiceCareDiagnosis.isActive ( )\n          and not ( HospiceCareDiagnosis.verificationStatus ~ QICoreCommon.\"unconfirmed\"\n              or HospiceCareDiagnosis.verificationStatus ~ QICoreCommon.\"refuted\"\n              or HospiceCareDiagnosis.verificationStatus ~ QICoreCommon.\"entered-in-error\"\n          )\n    )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DepressionRemissionatTwelveMonthsFHIR</td>\n                            \n                            \n                                <td>Has Palliative Care in the Measure Assessment Period</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Has Palliative Care in the Measure Assessment Period\":\n  exists ( [Observation: \"Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)\"] PalliativeAssessment\n      where PalliativeAssessment.effective.toInterval ( ) overlaps Interval[start of \"Denominator Identification Period\", end of \"Measure Assessment Period\"]\n        and PalliativeAssessment.status in { 'final', 'amended', 'corrected' }\n  )\n    or exists ( [Condition: \"Palliative Care Diagnosis\"] PalliativeDiagnosis\n        where PalliativeDiagnosis.prevalenceInterval ( ) overlaps Interval[start of \"Denominator Identification Period\", end of \"Measure Assessment Period\"]\n          and PalliativeDiagnosis.isActive ( )\n          and not ( PalliativeDiagnosis.verificationStatus ~ QICoreCommon.\"unconfirmed\"\n              or PalliativeDiagnosis.verificationStatus ~ QICoreCommon.\"refuted\"\n              or PalliativeDiagnosis.verificationStatus ~ QICoreCommon.\"entered-in-error\"\n          )\n    )\n    or exists ( [Encounter: \"Palliative Care Encounter\"] PalliativeEncounter\n        where PalliativeEncounter.period overlaps Interval[start of \"Denominator Identification Period\", end of \"Measure Assessment Period\"]\n          and PalliativeEncounter.status = 'finished'\n    )\n    or exists ( [Procedure: \"Palliative Care Intervention\"] PalliativeIntervention\n        where PalliativeIntervention.performed.toInterval ( ) overlaps Interval[start of \"Denominator Identification Period\", end of \"Measure Assessment Period\"]\n          and not ( PalliativeIntervention.status in { 'not-done', 'entered-in-error', 'unknown' } )\n    )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DepressionRemissionatTwelveMonthsFHIR</td>\n                            \n                            \n                                <td>Patient Expired</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Patient Expired\":\n  Patient.deceased on or before end of \"Measure Assessment Period\"</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DepressionRemissionatTwelveMonthsFHIR</td>\n                            \n                            \n                                <td>Has Mental Health Disorder Diagnoses</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Has Mental Health Disorder Diagnoses\":\n  exists ( ( [Condition: \"Bipolar Disorder\"]\n      union [Condition: \"Personality Disorder Emotionally Labile\"]\n      union [Condition: \"Schizophrenia or Psychotic Disorder\"]\n      union [Condition: \"Pervasive Developmental Disorder\"] ) MentalHealthDisorderDiagnoses\n      where ToDate(start of MentalHealthDisorderDiagnoses.prevalenceInterval()) on or before end of \"Measure Assessment Period\"\n        and MentalHealthDisorderDiagnoses.isActive ( )\n        and not ( MentalHealthDisorderDiagnoses.verificationStatus ~ QICoreCommon.\"unconfirmed\"\n            or MentalHealthDisorderDiagnoses.verificationStatus ~ QICoreCommon.\"refuted\"\n            or MentalHealthDisorderDiagnoses.verificationStatus ~ QICoreCommon.\"entered-in-error\"\n        )\n  )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DepressionRemissionatTwelveMonthsFHIR</td>\n                            \n                            \n                                <td>Denominator Exclusions</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Denominator Exclusions\":\n  \"Has Hospice Services in the Measure Assessment Period\"\n    or \"Has Palliative Care in the Measure Assessment Period\"\n    or \"Patient Expired\"\n    or \"Has Mental Health Disorder Diagnoses\"</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>SupplementalDataElements</td>\n                            \n                            \n                                <td>SDE Race</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"SDE Race\":\n  Patient.race R\n    return Tuple {\n      codes: R.ombCategory union R.detailed,\n      display: R.text\n    }</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>DepressionRemissionatTwelveMonthsFHIR</td>\n                            \n                            \n                                <td>SDE Race</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"SDE Race\":\n  SDE.\"SDE Race\"</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                    </table>\n                </td>\n            </tr>\n            \n        \n    \n\n    </table>\n</div>"^^rdf:XMLLiteral ]
  ] ; # 
  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:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
fhir:value [
a fhir:Coding ;
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/condition-clinical>         ] ;
fhir:code [ fhir:v "active" ]       ]     ] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
fhir:value [
a fhir:Coding ;
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/condition-clinical>         ] ;
fhir:code [ fhir:v "recurrence" ]       ]     ] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
fhir:value [
a fhir:Coding ;
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/condition-clinical>         ] ;
fhir:code [ fhir:v "relapse" ]       ]     ] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
fhir:value [
a fhir:Coding ;
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/condition-ver-status>         ] ;
fhir:code [ fhir:v "unconfirmed" ]       ]     ] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
fhir:value [
a fhir:Coding ;
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/condition-ver-status>         ] ;
fhir:code [ fhir:v "refuted" ]       ]     ] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
fhir:value [
a fhir:Coding ;
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/condition-ver-status>         ] ;
fhir:code [ fhir:v "entered-in-error" ]       ]     ] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
fhir:value [
a fhir:Coding, sct:428361000124107 ;
fhir:system [
fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
fhir:l <http://snomed.info/sct>         ] ;
fhir:code [ fhir:v "428361000124107" ] ;
fhir:display [ fhir:v "Discharge to home for hospice care (procedure)" ]       ]     ] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
fhir:value [
a fhir:Coding, sct:428371000124100 ;
fhir:system [
fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
fhir:l <http://snomed.info/sct>         ] ;
fhir:code [ fhir:v "428371000124100" ] ;
fhir:display [ fhir:v "Discharge to healthcare facility for hospice care (procedure)" ]       ]     ] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
fhir:value [
a fhir:Coding, loinc:45755-6 ;
fhir:system [
fhir:v "http://loinc.org"^^xsd:anyURI ;
fhir:l <http://loinc.org>         ] ;
fhir:code [ fhir:v "45755-6" ] ;
fhir:display [ fhir:v "Hospice care [Minimum Data Set]" ]       ]     ] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
fhir:value [
a fhir:Coding, sct:373066001 ;
fhir:system [
fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
fhir:l <http://snomed.info/sct>         ] ;
fhir:code [ fhir:v "373066001" ] ;
fhir:display [ fhir:v "Yes (qualifier value)" ]       ]     ] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
fhir:value [
a fhir:Coding, loinc:71007-9 ;
fhir:system [
fhir:v "http://loinc.org"^^xsd:anyURI ;
fhir:l <http://loinc.org>         ] ;
fhir:code [ fhir:v "71007-9" ] ;
fhir:display [ fhir:v "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)" ]       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "SupplementalDataElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "SDE Sex"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"SDE Sex\":\n  case\n      when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }\n      when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }\n      else null\n    end"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 0         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "DepressionRemissionatTwelveMonthsFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "SDE Sex"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"SDE Sex\":\n  SDE.\"SDE Sex\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 1         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "DepressionRemissionatTwelveMonthsFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Depression Assessments Greater than 9"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Depression Assessments Greater than 9\":\n  [Observation: \"PHQ 9 and PHQ 9M Tools\"] DepressionAssessment\n    where DepressionAssessment.value > 9\n      and DepressionAssessment.status in { 'final', 'amended', 'corrected' }"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 2         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "DepressionRemissionatTwelveMonthsFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Depression Diagnoses"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Depression Diagnoses\":\n  ( [Condition: \"Major Depression Including Remission\"]\n    union [Condition: \"Dysthymia\"] ) Depression\n    where Depression.isActive ( )\n      and not ( Depression.verificationStatus ~ QICoreCommon.\"unconfirmed\"\n          or Depression.verificationStatus ~ QICoreCommon.\"refuted\"\n          or Depression.verificationStatus ~ QICoreCommon.\"entered-in-error\"\n      )"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 3         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "DepressionRemissionatTwelveMonthsFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Denominator Identification Period"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Denominator Identification Period\":\n  Interval[start of \"Measurement Period\" - 14 months, start of \"Measurement Period\" - 2 months )"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 4         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "DepressionRemissionatTwelveMonthsFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Depression Encounter"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Depression Encounter\":\n  [Encounter: \"Contact or Office Visit\"] ValidEncounter\n    with \"Depression Diagnoses\" Depression\n      such that ValidEncounter.period overlaps Depression.prevalenceInterval ( )\n        and ValidEncounter.period ends during \"Denominator Identification Period\"\n        and ValidEncounter.status = 'finished'"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 5         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "DepressionRemissionatTwelveMonthsFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Index Depression Assessment"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Index Depression Assessment\":\n  First(\"Depression Assessments Greater than 9\" DepressionAssessment\n      with \"Depression Encounter\" DepressionEncounter\n        such that DepressionAssessment.effective.toInterval() during day of Interval[ToDate((start of DepressionEncounter.period) - 7 days), \n        end of DepressionEncounter.period]\n      sort by start of effective.toInterval()\n  )"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 6         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "DepressionRemissionatTwelveMonthsFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Measure Assessment Period"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Measure Assessment Period\":\n  \"Index Depression Assessment\" FirstIndexAssessment\n    let YearAfterIndexAssessment: date from start of FirstIndexAssessment.effective.toInterval ( ) + 12 months\n    return Interval[YearAfterIndexAssessment - 60 days, YearAfterIndexAssessment + 60 days]"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 7         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "DepressionRemissionatTwelveMonthsFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Numerator"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Numerator\":\n  Last([Observation: \"PHQ 9 and PHQ 9M Tools\"] DepressionAssessment\n      where ToDate(start of DepressionAssessment.effective.toInterval()) during \"Measure Assessment Period\"\n        and DepressionAssessment.status in { 'final', 'amended', 'corrected' }\n      sort by start of effective.toInterval()\n  ).value < 5"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 8         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "DepressionRemissionatTwelveMonthsFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Stratification 2"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Stratification 2\":\n  \"Index Depression Assessment\" IndexAssessment\n    return AgeInYearsAt(date from start of IndexAssessment.effective.toInterval()) >= 18"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 9         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "DepressionRemissionatTwelveMonthsFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Stratification 1"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Stratification 1\":\n  \"Index Depression Assessment\" IndexAssessment\n    return AgeInYearsAt(date from start of IndexAssessment.effective.toInterval()) in Interval[12, 17]"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 10         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "DepressionRemissionatTwelveMonthsFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Initial Population"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Initial Population\":\n  AgeInYearsAt(start of(\"Index Depression Assessment\".effective.toInterval())) >= 12"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 11         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "DepressionRemissionatTwelveMonthsFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Denominator"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Denominator\":\n  \"Initial Population\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 12         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "SupplementalDataElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "SDE Payer"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"SDE Payer\":\n  [Coverage: type in \"Payer Type\"] Payer\n    return {\n      code: Payer.type,\n      period: Payer.period\n    }"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 13         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "DepressionRemissionatTwelveMonthsFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "SDE Payer"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"SDE Payer\":\n  SDE.\"SDE Payer\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 14         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "SupplementalDataElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "SDE Ethnicity"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"SDE Ethnicity\":\n  Patient.ethnicity E\n    return Tuple {\n      codes: { E.ombCategory } union E.detailed,\n      display: E.text\n    }"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 15         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "DepressionRemissionatTwelveMonthsFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "SDE Ethnicity"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"SDE Ethnicity\":\n  SDE.\"SDE Ethnicity\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 16         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "DepressionRemissionatTwelveMonthsFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Has Hospice Services in the Measure Assessment Period"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Has Hospice Services in the Measure Assessment Period\":\n  exists ( [Encounter: \"Encounter Inpatient\"] InpatientEncounter\n      where ( InpatientEncounter.hospitalization.dischargeDisposition ~ \"Discharge to home for hospice care (procedure)\"\n          or InpatientEncounter.hospitalization.dischargeDisposition ~ \"Discharge to healthcare facility for hospice care (procedure)\"\n      )\n        and InpatientEncounter.period ends during day of Interval[start of \"Denominator Identification Period\", end of \"Measure Assessment Period\"]\n        and InpatientEncounter.status = 'finished'\n  )\n    or exists ( [Encounter: \"Hospice Encounter\"] HospiceEncounter\n        where HospiceEncounter.period overlaps day of Interval[start of \"Denominator Identification Period\", end of \"Measure Assessment Period\"]\n          and not ( HospiceEncounter.status in { 'cancelled', 'entered-in-error', 'unknown' } )\n    )\n    or exists ( [Observation: \"Hospice care [Minimum Data Set]\"] HospiceAssessment\n        where HospiceAssessment.value ~ \"Yes (qualifier value)\"\n          and HospiceAssessment.effective.toInterval ( ) overlaps day of Interval[start of \"Denominator Identification Period\", end of \"Measure Assessment Period\"]\n          and HospiceAssessment.status in { 'final', 'amended', 'corrected' }\n    )\n    or exists ( [ServiceRequest: code in \"Hospice Care Ambulatory\"] HospiceOrder\n        where HospiceOrder.authoredOn during day of Interval[start of \"Denominator Identification Period\", end of \"Measure Assessment Period\"]\n          and HospiceOrder.status in { 'active', 'completed' }\n          and HospiceOrder.intent in { 'order', 'original-order', 'reflex-order', 'filler-order', 'instance-order' }\n    )\n    or exists ( [Procedure: \"Hospice Care Ambulatory\"] HospicePerformed\n        where HospicePerformed.performed.toInterval ( ) overlaps day of Interval[start of \"Denominator Identification Period\", end of \"Measure Assessment Period\"]\n          and not ( HospicePerformed.status in { 'not-done', 'entered-in-error', 'unknown' } )\n    )\n    or exists ( [Condition: \"Hospice Diagnosis\"] HospiceCareDiagnosis\n        where HospiceCareDiagnosis.prevalenceInterval ( ) overlaps day of Interval[start of \"Denominator Identification Period\", end of \"Measure Assessment Period\"]\n          and HospiceCareDiagnosis.isActive ( )\n          and not ( HospiceCareDiagnosis.verificationStatus ~ QICoreCommon.\"unconfirmed\"\n              or HospiceCareDiagnosis.verificationStatus ~ QICoreCommon.\"refuted\"\n              or HospiceCareDiagnosis.verificationStatus ~ QICoreCommon.\"entered-in-error\"\n          )\n    )"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 17         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "DepressionRemissionatTwelveMonthsFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Has Palliative Care in the Measure Assessment Period"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Has Palliative Care in the Measure Assessment Period\":\n  exists ( [Observation: \"Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)\"] PalliativeAssessment\n      where PalliativeAssessment.effective.toInterval ( ) overlaps Interval[start of \"Denominator Identification Period\", end of \"Measure Assessment Period\"]\n        and PalliativeAssessment.status in { 'final', 'amended', 'corrected' }\n  )\n    or exists ( [Condition: \"Palliative Care Diagnosis\"] PalliativeDiagnosis\n        where PalliativeDiagnosis.prevalenceInterval ( ) overlaps Interval[start of \"Denominator Identification Period\", end of \"Measure Assessment Period\"]\n          and PalliativeDiagnosis.isActive ( )\n          and not ( PalliativeDiagnosis.verificationStatus ~ QICoreCommon.\"unconfirmed\"\n              or PalliativeDiagnosis.verificationStatus ~ QICoreCommon.\"refuted\"\n              or PalliativeDiagnosis.verificationStatus ~ QICoreCommon.\"entered-in-error\"\n          )\n    )\n    or exists ( [Encounter: \"Palliative Care Encounter\"] PalliativeEncounter\n        where PalliativeEncounter.period overlaps Interval[start of \"Denominator Identification Period\", end of \"Measure Assessment Period\"]\n          and PalliativeEncounter.status = 'finished'\n    )\n    or exists ( [Procedure: \"Palliative Care Intervention\"] PalliativeIntervention\n        where PalliativeIntervention.performed.toInterval ( ) overlaps Interval[start of \"Denominator Identification Period\", end of \"Measure Assessment Period\"]\n          and not ( PalliativeIntervention.status in { 'not-done', 'entered-in-error', 'unknown' } )\n    )"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 18         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "DepressionRemissionatTwelveMonthsFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Patient Expired"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Patient Expired\":\n  Patient.deceased on or before end of \"Measure Assessment Period\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 19         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "DepressionRemissionatTwelveMonthsFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Has Mental Health Disorder Diagnoses"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Has Mental Health Disorder Diagnoses\":\n  exists ( ( [Condition: \"Bipolar Disorder\"]\n      union [Condition: \"Personality Disorder Emotionally Labile\"]\n      union [Condition: \"Schizophrenia or Psychotic Disorder\"]\n      union [Condition: \"Pervasive Developmental Disorder\"] ) MentalHealthDisorderDiagnoses\n      where ToDate(start of MentalHealthDisorderDiagnoses.prevalenceInterval()) on or before end of \"Measure Assessment Period\"\n        and MentalHealthDisorderDiagnoses.isActive ( )\n        and not ( MentalHealthDisorderDiagnoses.verificationStatus ~ QICoreCommon.\"unconfirmed\"\n            or MentalHealthDisorderDiagnoses.verificationStatus ~ QICoreCommon.\"refuted\"\n            or MentalHealthDisorderDiagnoses.verificationStatus ~ QICoreCommon.\"entered-in-error\"\n        )\n  )"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 20         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "DepressionRemissionatTwelveMonthsFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Denominator Exclusions"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Denominator Exclusions\":\n  \"Has Hospice Services in the Measure Assessment Period\"\n    or \"Has Palliative Care in the Measure Assessment Period\"\n    or \"Patient Expired\"\n    or \"Has Mental Health Disorder Diagnoses\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 21         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "SupplementalDataElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "SDE Race"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"SDE Race\":\n  Patient.race R\n    return Tuple {\n      codes: R.ombCategory union R.detailed,\n      display: R.text\n    }"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 22         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "DepressionRemissionatTwelveMonthsFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "SDE Race"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"SDE Race\":\n  SDE.\"SDE Race\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 23         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] ) ;
fhir:status [ fhir:v "active" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/library-type"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/library-type>         ] ;
fhir:code [ fhir:v "module-definition" ]       ] )     ] ;
    ( fhir:relatedArtifact [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Library SDE" ] ;
fhir:resource [
fhir:v "Library/SupplementalDataElements|3.4.000"^^xsd:anyURI ;
fhir:l fhir:Library/SupplementalDataElements?version=3.4.000       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Library FHIRHelpers" ] ;
fhir:resource [
fhir:v "Library/FHIRHelpers|4.3.000"^^xsd:anyURI ;
fhir:l fhir:Library/FHIRHelpers?version=4.3.000       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Library QICoreCommon" ] ;
fhir:resource [
fhir:v "Library/QICoreCommon|1.5.000"^^xsd:anyURI ;
fhir:l fhir:Library/QICoreCommon?version=1.5.000       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Library FHIRHelpers" ] ;
fhir:resource [
fhir:v "Library/FHIRHelpers|4.3.000"^^xsd:anyURI ;
fhir:l fhir:Library/FHIRHelpers?version=4.3.000       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Library FHIRHelpers" ] ;
fhir:resource [
fhir:v "Library/FHIRHelpers|4.3.000"^^xsd:anyURI ;
fhir:l fhir:Library/FHIRHelpers?version=4.3.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:l <http://terminology.hl7.org/CodeSystem/condition-clinical>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Code system ConditionVerificationStatusCodes" ] ;
fhir:resource [
fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/condition-ver-status>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Code system SNOMEDCT" ] ;
fhir:resource [
fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
fhir:l <http://snomed.info/sct>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Code system LOINC" ] ;
fhir:resource [
fhir:v "http://loinc.org"^^xsd:anyURI ;
fhir:l <http://loinc.org>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set PHQ 9 and PHQ 9M Tools" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.263"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.263>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Contact or Office Visit" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1080.5"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1080.5>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Major Depression Including Remission" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.113883.3.67.1.101.3.2444"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.113883.3.67.1.101.3.2444>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Dysthymia" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.254"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.254>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Payer Type" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"^^xsd:anyURI ;
fhir:l <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 Encounter Inpatient" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Hospice Encounter" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1003"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1003>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Hospice Care Ambulatory" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Hospice Diagnosis" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1165"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1165>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Palliative Care Diagnosis" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1167"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1167>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Palliative Care Encounter" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1090"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1090>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Palliative Care Intervention" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1135"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1135>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Bipolar Disorder" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.128"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.128>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Personality Disorder Emotionally Labile" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.246"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.246>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Schizophrenia or Psychotic Disorder" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1104"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1104>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Pervasive Developmental Disorder" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1152"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1152>       ]     ] ) ;
    ( fhir:parameter [
fhir:name [ fhir:v "Measurement Period" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "Period" ]     ] [
fhir:name [ fhir:v "SDE Sex" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "Coding" ]     ] [
fhir:name [ fhir:v "Numerator" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "boolean" ]     ] [
fhir:name [ fhir:v "Stratification 2" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "boolean" ]     ] [
fhir:name [ fhir:v "Stratification 1" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "boolean" ]     ] [
fhir:name [ fhir:v "Denominator" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
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 ] ;
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 ] ;
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 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "Resource" ]     ] [
fhir:name [ fhir:v "Denominator Exclusions" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
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 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "Resource" ]     ] ) ;
    ( fhir:dataRequirement [
fhir:type [ fhir:v "Patient" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient>       ] )     ] [
fhir:type [ fhir:v "Patient" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/Patient"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/Patient>       ] ) ;
      ( fhir:mustSupport [ fhir:v "gender" ] [ fhir:v "gender.value" ] [ fhir:v "birthDate" ] [ fhir:v "birthDate.value" ] [ fhir:v "deceased" ] )     ] [
fhir:type [ fhir:v "Patient" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient>       ] )     ] [
fhir:type [ fhir:v "Observation" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "value" ] [ fhir:v "status" ] [ fhir:v "status.value" ] [ fhir:v "effective" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.263"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.263>         ]       ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/Condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/Condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "clinicalStatus" ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.113883.3.67.1.101.3.2444"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.113883.3.67.1.101.3.2444>         ]       ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.254"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.254>         ]       ] )     ] [
fhir:type [ fhir:v "Encounter" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter>       ] ) ;
      ( fhir:mustSupport [ fhir:v "type" ] [ fhir:v "period" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "type" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1080.5"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1080.5>         ]       ] )     ] [
fhir:type [ fhir:v "Observation" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "value" ] [ fhir:v "status" ] [ fhir:v "status.value" ] [ fhir:v "effective" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.263"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.263>         ]       ] )     ] [
fhir:type [ fhir:v "Observation" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.263"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.263>         ]       ] )     ] [
fhir:type [ fhir:v "Observation" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/Observation"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/Observation>       ] ) ;
      ( fhir:mustSupport [ fhir:v "value" ] [ fhir:v "effective" ] )     ] [
fhir:type [ fhir:v "Patient" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient>       ] )     ] [
fhir:type [ fhir:v "Coverage" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage>       ] ) ;
      ( fhir:mustSupport [ fhir:v "type" ] [ fhir:v "period" ] ) ;
      ( 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:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591>         ]       ] )     ] [
fhir:type [ fhir:v "uri" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/uri"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uri>       ] ) ;
      ( fhir:mustSupport [ fhir:v "value" ] )     ] [
fhir:type [ fhir:v "Patient" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient>       ] ) ;
      ( fhir:mustSupport [ fhir:v "url" ] [ fhir:v "extension" ] )     ] [
fhir:type [ fhir:v "Patient" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient>       ] ) ;
      ( fhir:mustSupport [ fhir:v "url" ] [ fhir:v "extension" ] )     ] [
fhir:type [ fhir:v "Encounter" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter>       ] ) ;
      ( fhir:mustSupport [ fhir:v "type" ] [ fhir:v "hospitalization" ] [ fhir:v "hospitalization.dischargeDisposition" ] [ fhir:v "period" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "type" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307>         ]       ] )     ] [
fhir:type [ fhir:v "Encounter" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter>       ] ) ;
      ( fhir:mustSupport [ fhir:v "type" ] [ fhir:v "period" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ;
      ( 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.1003"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1003>         ]       ] )     ] [
fhir:type [ fhir:v "Observation" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "value" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
        ( fhir:code [
a loinc:45755-6 ;
fhir:system [
fhir:v "http://loinc.org"^^xsd:anyURI ;
fhir:l <http://loinc.org>           ] ;
fhir:code [ fhir:v "45755-6" ] ;
fhir:display [ fhir:v "Hospice care [Minimum Data Set]" ]         ] )       ] )     ] [
fhir:type [ fhir:v "ServiceRequest" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] [ fhir:v "status" ] [ fhir:v "status.value" ] [ fhir:v "intent" ] [ fhir:v "intent.value" ] ) ;
      ( 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.1584"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584>         ]       ] )     ] [
fhir:type [ fhir:v "Procedure" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "performed" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ;
      ( 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.1584"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584>         ]       ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "verificationStatus" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1165"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1165>         ]       ] )     ] [
fhir:type [ fhir:v "Observation" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "effective" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
        ( fhir:code [
a loinc:71007-9 ;
fhir:system [
fhir:v "http://loinc.org"^^xsd:anyURI ;
fhir:l <http://loinc.org>           ] ;
fhir:code [ fhir:v "71007-9" ] ;
fhir:display [ fhir:v "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)" ]         ] )       ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "verificationStatus" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1167"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1167>         ]       ] )     ] [
fhir:type [ fhir:v "Encounter" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter>       ] ) ;
      ( fhir:mustSupport [ fhir:v "type" ] [ fhir:v "period" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ;
      ( 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.1090"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1090>         ]       ] )     ] [
fhir:type [ fhir:v "Procedure" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "performed" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1135"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1135>         ]       ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.128"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.128>         ]       ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.246"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.246>         ]       ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1104"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1104>         ]       ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1152"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1152>         ]       ] )     ] [
fhir:type [ fhir:v "Patient" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient>       ] ) ;
      ( fhir:mustSupport [ fhir:v "url" ] [ fhir:v "extension" ] )     ] [
fhir:type [ fhir:v "Patient" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient>       ] ) ;
      ( fhir:mustSupport [ fhir:v "url" ] [ fhir:v "extension" ] )     ] [
fhir:type [ fhir:v "Coverage" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage>       ] ) ;
      ( fhir:mustSupport [ fhir:v "type" ] [ fhir:v "period" ] ) ;
      ( 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:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591>         ]       ] )     ] [
fhir:type [ fhir:v "Patient" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient>       ] ) ;
      ( fhir:mustSupport [ fhir:v "url" ] [ fhir:v "extension" ] )     ] [
fhir:type [ fhir:v "Patient" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient>       ] ) ;
      ( fhir:mustSupport [ fhir:v "url" ] [ fhir:v "extension" ] )     ] )
  ] ) ; # 
  fhir:extension ( [
fhir:id [ fhir:v "supplementalDataGuidance" ] ;
    ( fhir:extension [
fhir:url [
fhir:v "guidance"^^xsd:anyURI ;
fhir:l fhir:guidance       ]     ] [
fhir:url [
fhir:v "usage"^^xsd:anyURI ;
fhir:l fhir:usage       ] ;
fhir:value [
a fhir:CodeableConcept ;
        ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-data-usage>           ] ;
fhir:code [ fhir:v "supplemental-data" ] ;
fhir:display [ fhir:v "Supplemental Data" ]         ] ) ;
fhir:text [ fhir:v "Supplemental Data Guidance" ]       ]     ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-supplementalDataGuidance"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-supplementalDataGuidance>     ]
  ] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements>     ] ;
fhir:value [
a fhir:Reference ;
fhir:l <#effective-data-requirements> ;
fhir:reference [ fhir:v "#effective-data-requirements" ]     ]
  ] ) ; # 
  fhir:url [
fhir:v "http://ecqi.healthit.gov/ecqms/Measure/DepressionRemissionatTwelveMonthsFHIR"^^xsd:anyURI ;
fhir:l <http://ecqi.healthit.gov/ecqms/Measure/DepressionRemissionatTwelveMonthsFHIR>
  ] ; # 
  fhir:identifier ( [
fhir:use [ fhir:v "usual" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type>         ] ;
fhir:code [ fhir:v "short-name" ]       ] )     ] ;
fhir:system [
fhir:v "https://madie.cms.gov/measure/shortName"^^xsd:anyURI ;
fhir:l <https://madie.cms.gov/measure/shortName>     ] ;
fhir:value [ fhir:v "CMS159FHIR" ]
  ] [
fhir:use [ fhir:v "official" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type>         ] ;
fhir:code [ fhir:v "version-independent" ]       ] )     ] ;
fhir:system [
fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
fhir:l <urn:ietf:rfc:3986>     ] ;
fhir:value [ fhir:v "urn:uuid:5df972fb-27e0-4b59-b5f8-b041e6ffc947" ]
  ] [
fhir:use [ fhir:v "official" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type>         ] ;
fhir:code [ fhir:v "version-specific" ]       ] )     ] ;
fhir:system [
fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
fhir:l <urn:ietf:rfc:3986>     ] ;
fhir:value [ fhir:v "urn:uuid:2c928084808a9589018094b0efb804a6" ]
  ] [
fhir:use [ fhir:v "official" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type>         ] ;
fhir:code [ fhir:v "endorser" ]       ] )     ] ;
fhir:system [
fhir:v "https://madie.cms.gov/measure/nqfId"^^xsd:anyURI ;
fhir:l <https://madie.cms.gov/measure/nqfId>     ] ;
fhir:value [ fhir:v "0710e" ] ;
fhir:assigner [
fhir:display [ fhir:v "NQF" ]     ]
  ] [
fhir:use [ fhir:v "official" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type>         ] ;
fhir:code [ fhir:v "publisher" ]       ] )     ] ;
fhir:system [
fhir:v "https://madie.cms.gov/measure/cmsId"^^xsd:anyURI ;
fhir:l <https://madie.cms.gov/measure/cmsId>     ] ;
fhir:value [ fhir:v "159FHIR" ] ;
fhir:assigner [
fhir:display [ fhir:v "CMS" ]     ]
  ] ) ; # 
  fhir:version [ fhir:v "0.0.001"] ; # 
  fhir:name [ fhir:v "DepressionRemissionatTwelveMonthsFHIR"] ; # 
  fhir:title [ fhir:v "Depression Remission at Twelve MonthsFHIR"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2023-08-28T17:12:47+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "MN Community Measurement"] ; # 
  fhir:contact ( [
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "www.mncm.org" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "The percentage of adolescent patients 12 to 17 years of age and adult patients 18 years of age or older with major depression or dysthymia who reached remission 12 months (+/- 60 days) after an index event"] ; # 
  fhir:useContext ( [
fhir:code [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/usage-context-type>       ] ;
fhir:code [ fhir:v "program" ]     ] ;
fhir:value [
a fhir:CodeableConcept ;
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/quality-programs"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/CodeSystem/quality-programs>         ] ;
fhir:code [ fhir:v "ep-ec" ] ;
fhir:display [ fhir:v "EP/EC" ]       ] )     ]
  ] ) ; # 
  fhir:purpose [ fhir:v "UNKNOWN"] ; # 
  fhir:usage [ fhir:v "When an index assessment is conducted with PHQ-9M, the follow-up assessment can use either a PHQ-9M or PHQ-9.\n\nThis eCQM is a patient-based measure.\n\nThis FHIR-based measure has been derived from the QDM-based measure: CMS159v12. \n\nPlease refer to the HL7 QI-Core Implementation Guide (http://hl7.org/fhir/us/qicore/index.html) for more information on QI-Core and mapping recommendations from QDM to QI-Core 4.1.1 (http://hl7.org/fhir/us/qicore/qdm-to-qicore.html)."] ; # 
  fhir:copyright [ fhir:v "Copyright MN Community Measurement, 2023. All rights reserved.\n\nLimited proprietary coding is contained in the Measure specifications for user convenience. Users of proprietary code sets should obtain all necessary licenses from the owners of the code sets. Mathematica disclaims all liability for use or accuracy of any third party codes contained in the specifications.\n\nCPT(R) contained in the Measure specifications is copyright 2004-2022 American Medical Association. LOINC(R) copyright 2004-2022 Regenstrief Institute, Inc. This material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2022 International Health Terminology Standards Development Organisation. ICD-10 copyright 2022 World Health Organization. All Rights Reserved."] ; # 
  fhir:approvalDate [ fhir:v "2023-08-28"^^xsd:date] ; # 
  fhir:lastReviewDate [ fhir:v "2023-08-28"^^xsd:date] ; # 
  fhir:effectivePeriod [
fhir:start [ fhir:v "2024-01-01"^^xsd:date ] ;
fhir:end [ fhir:v "2024-12-31"^^xsd:date ]
  ] ; # 
  fhir:author ( [
fhir:name [ fhir:v "Telligen" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://www.telligen.com/" ]     ] )
  ] ) ; # 
  fhir:library ( [
fhir:v "http://ecqi.healthit.gov/ecqms/Library/DepressionRemissionatTwelveMonthsFHIR"^^xsd:anyURI ;
fhir:l <http://ecqi.healthit.gov/ecqms/Library/DepressionRemissionatTwelveMonthsFHIR>
  ] ) ; # 
  fhir:disclaimer [ fhir:v "The performance measure is not a clinical guideline and does not establish a standard of medical care, and has not been tested for all potential applications.\n\nTHE MEASURES AND SPECIFICATIONS ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND.\n\nDue to technical limitations, registered trademarks are indicated by (R) or [R] and unregistered trademarks are indicated by (TM) or [TM]."] ; # 
  fhir:rationale [ fhir:v "Adults:\nDepression is a common and treatable mental disorder. During 2013-2016, 8.1% of American adults age 20 and over had depression in a given 2 week period. Women (10.4%) were almost twice as likely as men (5.5%) to have had depression. The prevalence of depression among adults decreased as family income levels increased. About 80% of adults with depression reported at least some difficulty with work, home, or social activities because of their depression symptoms (Brody, Pratt, and Hughes, 2018).\n\nDepression is a risk factor for development of chronic illnesses such as diabetes and coronary heart disease and adversely affects the course, complications and management of chronic medical illness. Both maladaptive health risk behaviors and psychobiological factors associated with depression may explain depression's negative effect on outcomes of chronic illness (Katon, 2011).\n\nAdolescents and Adults:\nThe Centers for Disease Control and Prevention states that during 2009-2012 an estimated 7.6% of the U.S. population aged 12 and over had depression, including 3% of Americans with severe depressive symptoms. Almost 43% of persons with severe depressive symptoms reported serious difficulties in work, home and social activities, yet only 35% reported having contact with a mental health professional in the past year (Pratt and Brody, 2014).\n\nDepression is associated with higher mortality rates in all age groups. Depression is also a leading cause of medical disability, and depressed people lose 5.6 hours of productive work every week when they are depressed, 50% of which is due to absenteeism and short-term disability (Stewart et al., 2003).\n\nAdolescents:\nIn 2014, an estimated 2.8 million adolescents age 12 to 17 in the United States had at least one major depressive episode (MDE) in the past year (Center for Behavioral Health Statistics and Quality, 2015). The 2013 Youth Risk Behavior Survey of students grades 9 to 12 indicated that during the past 12 months 39.1% (F) and 20.8% (M) indicated feeling sad or hopeless almost every day for at least 2 weeks, planned suicide attempt 16.9% (F) and 10.3% (M), with attempted suicide 10.6% (F) and 5.4% (M) (Kann et al., 2014). Adolescent-onset depression is associated with chronic depression in adulthood. Many mental health conditions (anxiety, bipolar, depression, eating disorders, and substance abuse) are evident by age 14. The 12-month prevalence of MDEs increased from 8.7% in 2005 to 11.3% in 2014 in adolescents and from 8.8% to 9.6% in young adults (both P < .001). The increase was larger and statistically significant only in the age range of 12 to 20 years. The trends remained significant after adjustment for substance use disorders and sociodemographic factors (Mojtabai, Olfson, and Han 2016). Mental health care contacts overall did not change over time; however, the use of specialty mental health providers increased in adolescents and young adults, and the use of prescription medications and inpatient hospitalizations increased in adolescents (Mojtabai, Olfson, and Han 2016)."] ; # 
  fhir:clinicalRecommendationStatement [ fhir:v "Adults:\n\nRecommendations and algorithm notations supporting depression outcomes and duration of treatment according to Institute for Clinical Systems Improvement Health Care Guideline (Trangle et al., 2016):\n\nRecommendation: Clinicians should establish and maintain follow-up with patients. Appropriate, reliable follow-up is highly correlated with improved response and remission scores. It is also correlated with the improved safety and efficacy of medications and helps prevent relapse (Trangle et al., 2016).\n\nProactive follow-up contacts (in person, telephone) based on the collaborative care model have been shown to significantly lower depression severity (Unutzer et al., 2002). In the available clinical effectiveness trials conducted in real clinical practice settings, even the addition of a care manager leads to modest remission rates (Trivedi et al., 2006; Unutzer et al., 2002). Interventions are critical to educating the patient regarding the importance of preventing relapse, safety and efficacy of medications, and management of potential side effects. Establish and maintain initial follow-up contact intervals (office, phone, other) (Hunkeler et al., 2000; Simon et al., 2000).\n\nThe Patient Health Questionnaire-9 (PHQ-9) is an effective monitoring and management tool, and should be used routinely for subsequent visits to monitor treatment outcomes and severity. It can also help the clinician decide if/how to modify the treatment plan (Duffy et al., 2008; Lowe et al., 2004). Using a measurement-based approach to depression care, PHQ-9 results and side effect evaluation should be combined with treatment algorithms to drive patients toward remission. A five-point drop in PHQ-9 score is considered the minimal clinically significant difference (Trivedi, 2009).\n\nThe goals of treatment should be to achieve remission, reduce relapse and recurrence, and return to previous level of occupational and psychosocial function.\n\nIf using a PHQ-9 tool, remission translates to PHQ-9 score of less than 5 (Kroenke, 2001). Results from the Sequenced Treatment Alternatives to Relieve Depression (STAR*D) study showed that remission rates lowered with more treatment steps, but the overall cumulative rate was 67% (Rush et al., 2006).\n\nResponse and remission take time. In the STAR*D study, longer times than expected were needed to reach response or remission. In fact, one-third of those who ultimately responded did so after six weeks. Of those who achieved remission by Quick Inventory of Depressive Symptomatology, 50% did so only at or after six weeks of treatment (Trivedi et al., 2006). If the primary care clinician is seeing some improvement, continue working with that patient to augment or increase dosage to reach remission. This can take up to three months.\n\nThis measure assesses achievement of remission, which is a desired outcome of effective depression treatment and monitoring.\n\nAdult Depression in Primary Care - Guideline Aims (Trangle et al., 2016): \n- Increase the percentage of patients with major depression or persistent depressive disorder who have improvement in outcomes from treatment for major depression or persistent depressive disorder.\n- Increase the percentage of patients with major depression or persistent depressive disorder who have follow-up to assess for outcomes from treatment.\n- Improve communication between the primary care physician and the mental health care clinician (if patient is co-managed).\n\nAdolescents:\n\nRecommendations supporting depression outcomes and duration of treatment according to American Academy of Child and Adolescent Psychiatry guideline (Birmaher et al., 2007): \n- Treatment of depressive disorders should always include an acute and continuation phase; some children may also require maintenance treatment. The main goal of the acute phase is to achieve response and ultimately full symptomatic remission (definitions below).\n- Each phase of treatment should include psychoeducation, supportive management, and family and school involvement.\n- Education, support, and case management appear to be sufficient treatment for the management of depressed children and adolescents with an uncomplicated or brief depression or with mild psychosocial impairment.\n- For children and adolescents who do not respond to supportive psychotherapy or who have more complicated depressions, a trial with specific types of psychotherapy and/or antidepressants is indicated.\n\nRecommendations supporting depression outcomes and duration of treatment according to Guidelines for Adolescent Depression in Primary Care (Zuckerbrot et al., 2018 (Part I), Zuckerbrot et al., 2018 (Part II)): \n- Mild depression: consider a period of active support and monitoring before starting other evidence-based treatment\n- Moderate or severe major clinical depression or complicating factors:\n  -- consultation with mental health specialist with agreed upon roles\n  -- evidence based treatment (cognitive behavioral therapy or interpersonal psychotherapy and/or antidepressant selective serotonin reuptake inhibitors)  \n- Monitor for adverse effects during antidepressant therapy\n  -- clinical worsening, suicidality, unusual changes in behavior\n- Systematic and regular tracking of goals and outcomes\n  -- improvement in functioning status and resolution of depressive symptoms\nRegardless of the length of treatment, all patients should be monitored on a monthly basis for 6 to 12 months after the full resolution of symptoms."] ; # 
  fhir:group ( [
fhir:id [ fhir:v "638501ed4ba3d47c885c02b0" ] ;
    ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring>       ] ;
fhir:value [
a fhir:CodeableConcept ;
        ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-scoring"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-scoring>           ] ;
fhir:code [ fhir:v "proportion" ] ;
fhir:display [ fhir:v "Proportion" ]         ] )       ]     ] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis>       ] ;
fhir:value [
a fhir:Code ;
fhir:v "boolean"       ]     ] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type>       ] ;
fhir:value [
a fhir:CodeableConcept ;
        ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-type"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-type>           ] ;
fhir:code [ fhir:v "outcome" ] ;
fhir:display [ fhir:v "Outcome" ]         ] )       ]     ] ) ;
    ( fhir:population [
fhir:id [ fhir:v "79475301-B38D-44E8-83B9-6A6DD118560C" ] ;
fhir:code [
        ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>           ] ;
fhir:code [ fhir:v "initial-population" ] ;
fhir:display [ fhir:v "Initial Population" ]         ] )       ] ;
fhir:description [ fhir:v "Adolescent patients 12 to 17 years of age and adult patients 18 years of age and older with a diagnosis of major depression or dysthymia and an initial PHQ-9 or PHQ-9M score greater than nine during the index event. Patients may be assessed using PHQ-9 or PHQ-9M on the same date or up to 7 days prior to the encounter (index event)." ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Initial Population" ]       ]     ] [
fhir:id [ fhir:v "DA92444E-2C41-43FB-9CD8-39CCEACCA6AC" ] ;
fhir:code [
        ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>           ] ;
fhir:code [ fhir:v "denominator" ] ;
fhir:display [ fhir:v "Denominator" ]         ] )       ] ;
fhir:description [ fhir:v "Equals Initial Population" ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Denominator" ]       ]     ] [
fhir:id [ fhir:v "471C7190-4570-4C9A-8A7D-1B35BC05ACEC" ] ;
fhir:code [
        ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>           ] ;
fhir:code [ fhir:v "denominator-exclusion" ] ;
fhir:display [ fhir:v "Denominator Exclusion" ]         ] )       ] ;
fhir:description [ fhir:v "1: Patients who died any time prior to the end of the measure assessment period\n2: Patients who received hospice or palliative care services between the start of the denominator period and the end of the measurement assessment period\n3: Patients with a diagnosis of bipolar disorder any time prior to the end of the measure assessment period\n4: Patients with a diagnosis of personality disorder emotionally labile any time prior to the end of the measure assessment period\n5: Patients with a diagnosis of schizophrenia or psychotic disorder any time prior to the end of the measure assessment period\n6: Patients with a diagnosis of pervasive developmental disorder any time prior to the end of the measure assessment period" ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Denominator Exclusions" ]       ]     ] [
fhir:id [ fhir:v "39C78852-17AB-4756-A6BB-08D94F74695E" ] ;
fhir:code [
        ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>           ] ;
fhir:code [ fhir:v "numerator" ] ;
fhir:display [ fhir:v "Numerator" ]         ] )       ] ;
fhir:description [ fhir:v "Adolescent patients 12 to 17 years of age and adult patients 18 years of age and older who achieved remission at twelve months as demonstrated by the most recent twelve month (+/- 60 days) PHQ-9 or PHQ-9M score of less than five" ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Numerator" ]       ]     ] [
fhir:id [ fhir:v "e36807d7-c74a-42ba-931f-4b55c1ed23fb" ] ;
fhir:code [
        ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>           ] ;
fhir:code [ fhir:v "numerator-exclusion" ] ;
fhir:display [ fhir:v "Numerator Exclusion" ]         ] )       ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ]       ]     ] [
fhir:id [ fhir:v "390bdec4-bf61-44dd-b71b-9f468ee6042b" ] ;
fhir:code [
        ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>           ] ;
fhir:code [ fhir:v "denominator-exception" ] ;
fhir:display [ fhir:v "Denominator Exception" ]         ] )       ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ]       ]     ] ) ;
    ( fhir:stratifier [
fhir:id [ fhir:v "09ab309f-67f0-40a4-8029-d3f0af19b7ae" ] ;
      ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-appliesTo"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-appliesTo>         ] ;
fhir:value [
a fhir:CodeableConcept ;
          ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>             ] ;
fhir:code [ fhir:v "initial-population" ] ;
fhir:display [ fhir:v "Initial Population" ]           ] )         ]       ] ) ;
fhir:description [ fhir:v "Ages 12 to 17 at the time of the index assessment" ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Stratification 1" ]       ]     ] [
fhir:id [ fhir:v "4f86a85c-ca8a-43a4-b0ff-8e68590d2ea2" ] ;
      ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-appliesTo"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-appliesTo>         ] ;
fhir:value [
a fhir:CodeableConcept ;
          ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>             ] ;
fhir:code [ fhir:v "initial-population" ] ;
fhir:display [ fhir:v "Initial Population" ]           ] )         ]       ] ) ;
fhir:description [ fhir:v "Ages 18 and older at the time of the index assessment" ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Stratification 2" ]       ]     ] )
  ] ) ; # 
  fhir:supplementalData ( [
fhir:id [ fhir:v "sde-ethnicity" ] ;
    ( fhir:usage [
      ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-data-usage>         ] ;
fhir:code [ fhir:v "supplemental-data" ]       ] )     ] ) ;
fhir:description [ fhir:v "SDE Ethnicity" ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "SDE Ethnicity" ]     ]
  ] [
fhir:id [ fhir:v "sde-payer" ] ;
    ( fhir:usage [
      ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-data-usage>         ] ;
fhir:code [ fhir:v "supplemental-data" ]       ] )     ] ) ;
fhir:description [ fhir:v "SDE Payer" ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "SDE Payer" ]     ]
  ] [
fhir:id [ fhir:v "sde-race" ] ;
    ( fhir:usage [
      ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-data-usage>         ] ;
fhir:code [ fhir:v "supplemental-data" ]       ] )     ] ) ;
fhir:description [ fhir:v "SDE Race" ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "SDE Race" ]     ]
  ] [
fhir:id [ fhir:v "sde-sex" ] ;
    ( fhir:usage [
      ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-data-usage>         ] ;
fhir:code [ fhir:v "supplemental-data" ]       ] )     ] ) ;
fhir:description [ fhir:v "SDE Sex" ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "SDE Sex" ]     ]
  ] ) . #