Metadata
Title | Diagnostic Delay of Venous Thromboembolism in Primary CareFHIR
Version | 1.0.000
Short Name | CMS1173FHIR
GUID (Version Independent) | urn:uuid:fba2a9e0-d884-4aa0-9f90-184c0be9d41c
GUID (Version Specific) | urn:uuid:cea80e8b-f5a9-48ce-9918-8f93e042989d
CMS Identifier | 1173FHIR
CMS Consensus Based Entity Identifier | 3749e
Effective Period | 2026-01-01 through 2026-12-31
Steward (Publisher) | Brigham and Womens Health
Developer | Brigham and Womens Health
Description | Percentage of episodes for patients 18 years of age and older with documented Venous Thromboembolism (VTE) symptoms in the primary care setting and who had a diagnosis of VTE that occurs > 24 hours and within 30 days following the index primary care visit where symptoms for the VTE were first present.
Copyright | This electronic Clinical Quality Measure (Measure) and related data specifications are owned and stewarded by the Brigham and Women's Hospital (BWH). BWH is not responsible for any use of the Measure. BWH makes no representations, warranties, or endorsement about the quality of any organization or physician that uses or reports performance measures and BWH has no liability to anyone who relies on such measures or specifications. CPT(R) contained in the Measure specifications is copyright 2004-2024 American Medical Association. LOINC(R) copyright 2004-2024 Regenstrief Institute, Inc. This material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2024 International Health Terminology Standards Development Organisation. ICD-10 copyright 2024 World Health Organization. All Rights Reserved. Due to technical limitations, registered trademarks are indicated by (R) or [R].
Disclaimer | 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. THE MEASURE AND SPECIFICATIONS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.
Rationale | Venous Thromboembolism or VTE disease consists of pulmonary embolism and deep vein thrombosis. VTE is a deadly disease and more timely treatment can improve patient outcomes (Beckman, et al. 2010). Evidence from the literature as well as data from our site support this linkage. According to the Centers for Disease Control and Prevention (CDC) up to 900,000 people in USA are affected by VTE which results is more than 100,000 deaths each year (CDC, 2024). Pulmonary embolism (PE) is an independent predictor of reduced survival for up to 3 months after onset and up to 45% of patients with a PE die within 3 months (Heit JA, 2006). VTE is also associated with increased morbidity, increased health care costs and decreased quality of life (Rathbun S, 2009 and Rabinovich N, 2017). Long term morbidity includes post-thrombotic syndrome (PTS) and pulmonary hypertension (Kahn SR, 2004). PTS is a chronic complication of deep vein thrombosis (DVT) that develops in 20-50% of patients (Rabinovich N, 2017). PTS is associated with chronic venous insufficiency and associated signs and symptoms can impose significant morbidity and have a negative impact on quality of life. VTE can also have an impact on subsequent pregnancies, estrogen use, surgery, life insurance and travel (Tran HA, 2019). The best way to prevent PTS is to prevent the occurrence of DVT, and to provide optimal anticoagulation for the acute phase of DVT once it occurs. The evidence that PE increases morbidity and mortality is robust and DVT is strongly associated with PE. Traditionally, there has not been a systematic way to measure the incidence of delayed diagnosis of VTE and therefore the estimates in the literature are based on manual record review and vary widely. The DOVE eCQM is an automated tool that quantifies delayed diagnosis that builds a foundation for automated VTE risk assessment and prompt treatment to prevent delayed diagnosis and adverse outcomes. The American Society of Hematology published VTE diagnosis guidelines to provide an evidence-based strategy to efficiently evaluate patients (Lim, 2018, updated 2022). The goal of these guidelines is to improve diagnostic accuracy by assisting providers with evaluating patients with suspected VTE while reducing unnecessary and more invasive testing (Lim, et al. 2018). While routine use of guidelines in primary care would likely reduce the number of missed or delayed VTE diagnoses, integration into practice is challenging. VTE symptoms are nonspecific and often present as symptoms consistent with an underlying chronic illness. Strategies such as clinical decision support and measurement of diagnostic performance are needed to assist primary care providers with adopting VTE diagnosis guidelines and routinely using them in clinical practice. Currently, there is no way to measure VTE diagnostic performance. Metrics are needed to quantify suboptimal VTE diagnostic performance, improved early recognition of VTE symptoms, and ultimately reducing unfavorable VTE outcomes. Measuring and reporting delayed VTE diagnosis rates will inform healthcare providers and facilities about opportunities to improve care, strengthen incentives for quality improvement, and ultimately improve the quality of care received by patients.
Clinical Recommendation Statement | Venous Thromboembolism (VTE), including deep vein thrombosis (DVT) and pulmonary embolism (PE), is a significant and often fatal condition that affects up to 900,000 individuals in the U.S. each year, resulting in over 100,000 deaths (CDC, 2024). Evidence indicates that prompt diagnosis and timely initiation of treatment can significantly reduce mortality and improve patient outcomes, particularly in primary care where VTE symptoms are frequently under-recognized (Beckman et al., 2010).
Citation | Ageno W, Agnelli G, Imberti D, Moia M, Palareti G, Pistelli R, Rossi R, Verso M, MASTER Investigators. Factors associated with the timing of diagnosis of venous thromboembolism: results from the MASTER registry. Thrombosis research. 2008 Jan 1;121(6):751-6.
Citation | Al-Ani F, Shariff S, Siqueira L, Seyam A, Lazo-Langner A. Identifying venous thromboembolism and major bleeding in emergency room discharges using administrative data. Thromb Res. 2015 Dec;136(6):1195-8. doi: 10.1016/j.thromres.2015.10.035. Epub 2015 Oct 29. PMID: 26553020.
Citation | Alotaibi GS, Wu C, Senthilselvan A, McMurtry MS. The validity of ICD codes coupled with imaging procedure codes for identifying acute venous thromboembolism using administrative data. Vasc Med. 2015 Aug;20(4):364-8. doi: 10.1177/1358863X15573839. Epub 2015 Apr 1. PMID: 25834115.
Citation | Baumgartner C, Go AS, Fan D, Sung SH, Witt DM, Schmelzer JR, Williams MS, Yale SH, VanWormer JJ, Fang MC. Administrative codes inaccurately identify recurrent venous thromboembolism: The CVRN VTE study. Thromb Res. 2020 May;189:112-118. doi: 10.1016/j.thromres.2020.02.023. Epub 2020 Mar 5. PMID: 32199174; PMCID: PMC7335977.
Citation | Beckman MG, Hooper WC, Critchley SE, Ortel TL. Venous thromboembolism: a public health concern. Am J Prev Med. 2010 Apr;38(4 Suppl):S495-501. doi: 10.1016/j.amepre.2009.12.017. PMID: 20331949.
Citation | Büller HR, Ten Cate-Hoek AJ, Hoes AW, Joore MA, Moons KG, Oudega R, Prins MH, Stoffers HE, Toll DB, van der Velde EF, van Weert HC; AMUSE (Amsterdam Maastricht Utrecht Study on thromboEmbolism) Investigators. Safely ruling out deep venous thrombosis in primary care. Ann Intern Med. 2009 Feb 17;150(4):229-35. PMID: 19221374.
Citation | Casez P, Labarère J, Sevestre MA, Haddouche M, Courtois X, Mercier S, Lewandowski E, Fauconnier J, François P, Bosson JL. ICD-10 hospital discharge diagnosis codes were sensitive for identifying pulmonary embolism but not deep vein thrombosis. J Clin Epidemiol. 2010 Jul;63(7):790-7. doi: 10.1016/j.jclinepi.2009.09.002. Epub 2009 Dec 2. PMID: 19959332.
Citation | Chopard R, Albertsen IE, Piazza G. Diagnosis and Treatment of Lower Extremity Venous Thromboembolism: A Review. JAMA. 2020 Nov 3;324(17):1765-1776. doi: 10.1001/jama.2020.17272. PMID: 33141212.
Citation | Dalen JE. Pulmonary embolism: what have we learned since virchow?: natural history, pathophysiology, and diagnosis. Chest. 2002 Oct 1;122(4):1440-56.
Citation | Fang MC, Fan D, Sung SH, Witt DM, Schmelzer JR, Steinhubl SR, Yale SH, Go AS. Validity of Using Inpatient and Outpatient Administrative Codes to Identify Acute Venous Thromboembolism: The CVRN VTE Study. Med Care. 2017 Dec;55(12):e137-e143. doi: 10.1097/MLR.0000000000000524. PMID: 29135777; PMCID: PMC5125903.
Citation | Heit JA. The epidemiology of venous thromboembolism in the community: implications for prevention and management. J Thromb Thrombolysis. 2006 Feb;21(1):23-9. doi: 10.1007/s11239-006-5572-y. PMID: 16475038.
Citation | Kahn SR, Ginsberg JS. Relationship between deep venous thrombosis and the postthrombotic syndrome. Archives of internal medicine. 2004 Jan 12;164(1):17-26.
Citation | Kearon C. Diagnosis of suspected venous thromboembolism. Hematology Am Soc Hematol Educ Program. 2016 Dec 2;2016(1):397-403. doi: 10.1182/asheducation-2016.1.397. PMID: 27913507; PMCID: PMC6142443.
Citation | Li T, Curtin-Bowen M, Pullman A, Lipsitz S, Syrowatka A, Sainlaire M, Thai T, Businger A, Davis A, Lieberman JR, Blanchfield B, Bates DW, Dykes PC. Testing of a Risk-Standardized Major Bleeding and Venous Thromboembolism Electronic Clinical Quality Measure for Elective Total Hip and/or Knee Arthroplasties. AMIA Annu Symp Proc. 2022 Feb 21;2021:736-743. PMID: 35308961; PMCID: PMC8861692.
Citation | Monaghan TF, Rahman SN, Agudelo CW, et al. Foundational Statistical Principles in Medical Research: Sensitivity, Specificity, Positive Predictive Value, and Negative Predictive Value. Medicina (Kaunas). 2021;57(5):503. Published 2021 May 16. doi:10.3390/medicina57050503
Citation | Ozsu S, Oztuna F, Bulbul Y, Topbas M, Ozlu T, Kosucu P, Ozsu A. The role of risk factors in delayed diagnosis of pulmonary embolism. The American journal of emergency medicine. 2011 Jan 1;29(1):26-32.
Citation | Pellathy T, Saul M, Clermont G, Dubrawski AW, Pinsky MR, Hravnak M. Accuracy of identifying hospital acquired venous thromboembolism by administrative coding: implications for big data and machine learning research. Journal of Clinical Monitoring and Computing. 2021 Feb 8:1-9.
Citation | Rabinovich A, Kahn SR. The postthrombotic syndrome: current evidence and future challenges. J Thromb Haemost. 2017 Feb;15(2):230-241. doi: 10.1111/jth.13569. Epub 2017 Jan 23. PMID: 27860129.
Citation | Rathbun S. Cardiology patient pages. The Surgeon General's call to action to prevent deep vein thrombosis and pulmonary embolism. Circulation. 2009 Apr 21;119(15):e480-2. doi: 10.1161/CIRCULATIONAHA.108.841403. PMID: 19380627.
Citation | Righini M, Le Gal G, Bounameaux H. Venous thromboembolism diagnosis: unresolved issues. Thromb Haemost. 2015 Jun;113(6):1184-92. doi: 10.1160/TH14-06-0530. Epub 2014 Dec 11. PMID: 25503584.
Citation | Schiff GD, Hasan O, Kim S, Abrams R, Cosby K, Lambert BL, Elstein AS, Hasler S, Kabongo ML, Krosnjar N, Odwazny R, Wisniewski MF, McNutt RA. Diagnostic error in medicine: analysis of 583 physician-reported errors. Arch Intern Med. 2009 Nov 9;169(20):1881-7. doi: 10.1001/archinternmed.2009.333. PMID: 19901140.
Citation | Tran HA, Gibbs H, Merriman E, Curnow JL, Young L, Bennett A, Tan CW, Chunilal SD, Ward CM, Baker R, Nandurkar H. New guidelines from the Thrombosis and Haemostasis Society of Australia and New Zealand for the diagnosis and management of venous thromboembolism. Med J Aust. 2019 Mar;210(5):227-235. doi: 10.5694/mja2.50004. Epub 2019 Feb 10. Erratum in: Med J Aust. 2019 Jul;211(2):94. doi: 10.5694/mja2.50260.
Citation | Uhland H, Goldberg LM. Pulmonary Embolism: A Commonly Missed Clinical Entity EMBOLISM. Dis Chest. 1964 May;45:533-6. doi: 10.1378/chest.45.5.533. PMID: 14147480
Citation | Van Maanen R, Kingma AEC, Oudega R, Rutten FH, Moons K, Geersing GJ. Real-life impact of clinical prediction rules for venous thromboembolism in primary care: a cross-sectional cohort study. BMJ Open. 2020 Dec 28;10(12):e039913. doi: 10.1136/bmjopen-2020-039913. PMID: 33372074; PMCID: PMC7772307.
Documentation | Citation: CDC 2024: Data and Statistics on Venous Thromboembolism | Venous Thromboembolism (Blood Clots) | CDC, Accessed July 31, 2024. https://www.cdc.gov/blood-clots/data-research/facts-stats/index.html
Documentation | Citation: Wendy Lim, Grégoire Le Gal, Shannon M. Bates, Marc Righini, Linda B. Haramati, Eddy Lang, Jeffrey A. Kline, Sonja Chasteen, Marcia Snyder, Payal Patel, Meha Bhatt, Parth Patel, Cody Braun, Housne Begum, Wojtek Wiercioch, Holger J. Schünemann, Reem A. Mustafa; American Society of Hematology 2018 guidelines for management of venous thromboembolism: diagnosis of venous thromboembolism. Blood Adv 2018; 2 (22): 3226–3256. doi: https://doi.org/10.1182/bloodadvances.2018024828
Definition | Qualified VTE Encounter Definition: A Qualified VTE Encounter is an encounter performed by a qualified provider types with VTE diagnosis code (ICD10) for which a VTE-related imaging scan is performed within 30 days of the index PCP visit where VTE symptoms are reported and an anticoagulant medication is ordered within 12 hours of the imaging scan result.
Guidance (Usage) | This eCQM is an episode-based measure. An episode is defined as each eligible encounter for patients aged 18 years and older at the start of the Qualified VTE Encounter during the measurement period. This measure is to be reported for every eligible encounter during the measurement period. This eCQM is intended to be reported by integrated health systems with access to both ambulatory and inpatient documentation. The VTE symptoms can be captured through structured, coded data (see “VTE Symptoms” value set). Reporters of the eCQM can also opt to use clinical notes and a Natural Language Processing (NLP) platform that can be freely licensed from Brigham and Women’s Hospital (BWH). This platform, VTExt, is part of the MTERMS platform of Python NLP tools (proprietary to the BWH MTERMS lab). For access to the full MTERMS VTExt tool, please contact the MTERMS lab at BWHMTERMS@bwh.harvard.edu. When using NLP, the MTERMS VTExt tool is not required; however, the expectation for the eCQM is to use the same rule-based approach implemented by BWH. Reporters of the eCQM can use their own code to better suit their organization’s database / note structure / formatting, but such code should use the same rule-based NLP approach as VTExt (i.e., regular expressions). This version of the eCQM uses QDM version 5.6. Please refer to the eCQI resource center (https://ecqi.healthit.gov/qdm) for more information on the QDM.
Measure Group (Rate) (ID: Group_1)
Basis | Encounter
Scoring | [http://terminology.hl7.org/CodeSystem/measure-scoring#proportion: 'Proportion']
Type | [http://terminology.hl7.org/CodeSystem/measure-type#intermediate-outcome: 'Intermediate Outcome']
Improvement Notation | [http://terminology.hl7.org/CodeSystem/measure-improvement-notation#decrease: 'Decreased score indicates improvement']
Initial Population | ID: InitialPopulation_1 Description: All Qualified VTE Encounters in which the patient was aged 18 or older at the start of the Qualified VTE Encounter. Logic Definition: Initial Population
Denominator | ID: Denominator_1 Description: Equals Initial Population. Logic Definition: Denominator
Denominator Exclusion | ID: DenominatorExclusion_1 Description: Exclude qualified VTE encounter with a hospice care service documented within previous 90 Days Exclude qualified VTE encounter with a palliative care service documented within previous 90 Days Exclude qualified VTE encounter with another qualified VTE encounter documented within previous 6 months Logic Definition: Denominator Exclusions
Numerator | ID: Numerator_1 Description: All qualified VTE encounters in which the VTE diagnosis occurs greater than 24 hours and within 30 days following the index PCP visit Logic Definition: Numerator
Supplemental Data Guidance | For every patient evaluated by this measure also identify payer, race, ethnicity and sex
Supplemental Data Elements
Supplemental Data Element | ID: sde-ethnicity Usage Code: [http://terminology.hl7.org/CodeSystem/measure-data-usage#supplemental-data] Description: SDE Ethnicity Logic Definition: SDE Ethnicity
Supplemental Data Element | ID: sde-payer Usage Code: [http://terminology.hl7.org/CodeSystem/measure-data-usage#supplemental-data] Description: SDE Payer Logic Definition: SDE Payer
Supplemental Data Element | ID: sde-race Usage Code: [http://terminology.hl7.org/CodeSystem/measure-data-usage#supplemental-data] Description: SDE Race Logic Definition: SDE Race
Supplemental Data Element | ID: sde-sex Usage Code: [http://terminology.hl7.org/CodeSystem/measure-data-usage#supplemental-data] Description: SDE Sex Logic Definition: SDE Sex
Measure Logic
Primary Library | https://madie.cms.gov/Library/CMS1173FHIRDiagnosticDelayVTE
Contents | Population Criteria Logic Definitions Terminology Dependencies Data Requirements
Population Criteria
Measure Group (Rate) (ID: Group_1)
Initial Population
    define "Initial Population":
        /***
        * Includes all Qualified VTE Encounters in which the patient was aged 18 or older at the start of the qualified VTE encounter.
        ***/

      "Qualified VTE Encounters During Measurement Period" QualifiedEncounter
        where AgeInYearsAt(date from start of QualifiedEncounter.period) >= 18
Denominator
    define "Denominator":
      "Initial Population"
Denominator Exclusion
    define "Denominator Exclusions":
      "Qualified VTE Encounter With Hospice Services Within Previous 90 Days"
        union "Qualified VTE Encounter With Palliative Care Within Previous 90 Days"
        union "Qualified VTE Encounter With Other Qualified VTE Encounter Documented Within Previous 6 Months"
Numerator
    define "Numerator":
        /***
        * Includes all qualified VTE encounters in which the VTE diagnosis started greater than 24 hours after a qualifying PCP visit.
        ****/

      "Qualifying Delayed VTE Encounter"
Logic Definitions
Logic Definition | Library Name: SupplementalDataElements
    define "SDE Sex":
      case
        when Patient.sex = '248153007' then "Male (finding)"
        when Patient.sex = '248152002' then "Female (finding)"
        else null
      end
Logic Definition | Library Name: SupplementalDataElements
    define "SDE Payer":
      [Coverage: type in "Payer Type"] Payer
        return {
          code: Payer.type,
          period: Payer.period
        }
Logic Definition | Library Name: SupplementalDataElements
    define "SDE Ethnicity":
      Patient.ethnicity E
        return Tuple {
          codes: { E.ombCategory } union E.detailed,
          display: E.text
        }
Logic Definition | Library Name: SupplementalDataElements
    define "SDE Race":
      Patient.race R
        return Tuple {
          codes: R.ombCategory union R.detailed,
          display: R.text
        }
Logic Definition | Library Name: FHIRHelpers
    define function ToString(value uri): value.value
Logic Definition | Library Name: FHIRHelpers
    /*
    @description: Converts the given [Period](https://hl7.org/fhir/datatypes.html#Period)
    value to a CQL DateTime Interval
    @comment: If the start value of the given period is unspecified, the starting
    boundary of the resulting interval will be open (meaning the start of the interval
    is unknown, as opposed to interpreted as the beginning of time).
    */
    define function ToInterval(period FHIR.Period):
        if period is null then
            null
        else
            if period."start" is null then
                Interval(period."start".value, period."end".value]
            else
                Interval[period."start".value, period."end".value]
Logic Definition | Library Name: FHIRHelpers
    /*
    @description: Converts the given FHIR [CodeableConcept](https://hl7.org/fhir/datatypes.html#CodeableConcept) value to a CQL Concept.
    */
    define function ToConcept(concept FHIR.CodeableConcept):
        if concept is null then
            null
        else
            System.Concept {
                codes: concept.coding C return ToCode(C),
                display: concept.text.value
            }
Logic Definition | Library Name: FHIRHelpers
    /*
    @description: Converts the given FHIR [Coding](https://hl7.org/fhir/datatypes.html#Coding) value to a CQL Code.
    */
    define function ToCode(coding FHIR.Coding):
        if coding is null then
            null
        else
            System.Code {
              code: coding.code.value,
              system: coding.system.value,
              version: coding.version.value,
              display: coding.display.value
            }
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    define "SDE Sex":
      SDE."SDE Sex"
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    define "Qualifying Performed Encounters":
      ( ["Encounter": "Office Visit"]
        union ["Encounter": "Outpatient Encounter"]
        union ["Encounter": "Encounter Inpatient"] ) Encounter
        where Encounter.status = 'finished'
          and Encounter.period starts during day of Interval[start of "Measurement Period" - 180 days, end of "Measurement Period"]
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    define "Qualifying Performed VTE Encounters":
      "Qualifying Performed Encounters" VTEEncounter
        where VTEEncounter.reasonCode in "VTE Diagnoses"
          or exists ( [ConditionEncounterDiagnosis: "VTE Diagnoses"] VTECondition
              where VTECondition.isConfirmedCondition ( )
                and VTEEncounter.reasonReference.references ( VTECondition )
          )
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    define "Qualifying Performed PCP Visits":
      ( ["Encounter": "Outpatient Encounter"]
        union ["Encounter": "Office Visit"] ) PCPVisit
        where PCPVisit.status = 'finished'
          and PCPVisit.period ends during day of Interval[start of "Measurement Period" - 210 days, end of "Measurement Period"]
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    define "Qualifying Performed PCP Visits With VTE Symptom":
      "Qualifying Performed PCP Visits" IndexPCPVisit
        where IndexPCPVisit.reasonCode in "VTE Symptoms"
          or exists ( [ConditionEncounterDiagnosis: "VTE Symptoms"] VTESymptomCondition
              where VTESymptomCondition.isVerified ( )
                and IndexPCPVisit.reasonReference.references ( VTESymptomCondition )
          )
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    define "Qualifying VTE Imaging Diagnostic Report":
      ["DiagnosticReportNote": "Imaging Related to VTE"] VTEDiagnosticReport
        where VTEDiagnosticReport.status in { 'final', 'amended', 'corrected' }
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    define "AntiCoagulant Therapy Ordered":
      ["MedicationRequest": "Anticoagulant Medications"] AntiCoagulant
        where AntiCoagulant.status in { 'active', 'completed' }
          and AntiCoagulant.intent = 'order'
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    define "Qualified VTE Encounters":
      from
        "Qualifying Performed VTE Encounters" VTEEncounter,
        "Qualifying Performed PCP Visits With VTE Symptom" IndexPCP,
        "Qualifying VTE Imaging Diagnostic Report" VTEStudy,
        "AntiCoagulant Therapy Ordered" AntiCoagulantOrdered
        where VTEStudy.effective.toInterval ( ) starts during day of VTEEncounter.period
          and ( AntiCoagulantOrdered.authoredOn 12 hours or less before VTEStudy.effective
              or AntiCoagulantOrdered.authoredOn 12 hours or less after VTEStudy.effective
          )
          and IndexPCP.period starts 30 days or less on or before VTEStudy.effective
        return VTEEncounter
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    define "Qualified VTE Encounters During Measurement Period":
      "Qualified VTE Encounters" QualifiedVTEEncounter
        where QualifiedVTEEncounter.period starts during day of "Measurement Period"
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    define "Qualifying Delayed VTE Encounter":
      "Qualified VTE Encounters During Measurement Period" DelayedVTEEncounter
        with "Qualifying Performed PCP Visits With VTE Symptom" IndexPCPVisit
          such that DelayedVTEEncounter.period starts during day of Interval[end of IndexPCPVisit.period + 2 day, end of IndexPCPVisit.period + 30 days]
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    define "Numerator":
        /***
        * Includes all qualified VTE encounters in which the VTE diagnosis started greater than 24 hours after a qualifying PCP visit.
        ****/

      "Qualifying Delayed VTE Encounter"
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    define "Initial Population":
        /***
        * Includes all Qualified VTE Encounters in which the patient was aged 18 or older at the start of the qualified VTE encounter.
        ***/

      "Qualified VTE Encounters During Measurement Period" QualifiedEncounter
        where AgeInYearsAt(date from start of QualifiedEncounter.period) >= 18
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    define "Denominator":
      "Initial Population"
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    define "SDE Payer":
      SDE."SDE Payer"
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    define "SDE Ethnicity":
      SDE."SDE Ethnicity"
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    define "Qualified VTE Encounter With Hospice Services Within Previous 90 Days":
      from
        "Qualified VTE Encounters" QualifiedVTEEncounter
        let NinetyDaysBeforeVTEEncounter: Interval[start of QualifiedVTEEncounter.period - 90 days, end of QualifiedVTEEncounter.period]
        where exists ( ["Encounter": "Encounter Inpatient"] InpatientEncounter
            where ( InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to home for hospice care (procedure)"
                or InpatientEncounter.hospitalization.dischargeDisposition ~ "Discharge to healthcare facility for hospice care (procedure)"
            )
              and InpatientEncounter.period ends during day of NinetyDaysBeforeVTEEncounter
              and InpatientEncounter.status = 'finished'
        )
          or exists ( ["Encounter": "Hospice Encounter"] HospiceEncounter
              where HospiceEncounter.period overlaps day of NinetyDaysBeforeVTEEncounter
          )
          or exists ( ( [ObservationScreeningAssessment: "Hospice care [Minimum Data Set]"] ) HospiceAssessment
              where HospiceAssessment.value ~ "Yes (qualifier value)"
                and HospiceAssessment.effective.toInterval ( ) overlaps day of NinetyDaysBeforeVTEEncounter
          )
          or exists ( ( [ServiceRequest: "Hospice Care Ambulatory"] ) HospiceOrder
              where HospiceOrder.authoredOn during day of NinetyDaysBeforeVTEEncounter
                and HospiceOrder.status in { 'active', 'completed' }
          )
          or exists ( ( [Procedure: "Hospice Care Ambulatory"] ) HospicePerformed
              where HospicePerformed.performed.toInterval ( ) overlaps day of NinetyDaysBeforeVTEEncounter
          )
          or exists ( ( [ConditionEncounterDiagnosis: "Hospice Diagnosis"] ) HospiceCareDiagnosis
              where HospiceCareDiagnosis.prevalenceInterval ( ) overlaps day of NinetyDaysBeforeVTEEncounter
                and HospiceCareDiagnosis.isVerified ( )
          )
          or exists ( ( [ConditionProblemsHealthConcerns: "Hospice Diagnosis"] ) HospiceCareConcern
              where HospiceCareConcern.prevalenceInterval ( ) overlaps day of NinetyDaysBeforeVTEEncounter
                and HospiceCareConcern.isVerified ( )
          )
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    define "Qualified VTE Encounter With Palliative Care Within Previous 90 Days":
      from
        "Qualified VTE Encounters" QualifiedVTEEncounter
        let NinetyDaysBeforeVTEEncounter: Interval[start of QualifiedVTEEncounter.period - 90 days, end of QualifiedVTEEncounter.period]
        where exists ( ( [ObservationScreeningAssessment: "Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)"] ) PalliativeAssessment
            where PalliativeAssessment.effective.toInterval ( ) overlaps day of NinetyDaysBeforeVTEEncounter
              and PalliativeAssessment.status in { 'final', 'amended', 'corrected' }
        )
          or exists ( ( ( [ConditionEncounterDiagnosis: "Palliative Care Diagnosis"] ) ) PalliativeCareDiagnosis
              where PalliativeCareDiagnosis.prevalenceInterval ( ) overlaps day of NinetyDaysBeforeVTEEncounter
                and PalliativeCareDiagnosis.isVerified ( )
          )
          or exists ( ( [ConditionProblemsHealthConcerns: "Palliative Care Diagnosis"] ) PalliativeCareConcern
              where PalliativeCareConcern.prevalenceInterval ( ) overlaps day of NinetyDaysBeforeVTEEncounter
                and PalliativeCareConcern.isVerified ( )
          )
          or exists ( ( [Encounter: "Palliative Care Encounter"] ) PalliativeEncounter
              where PalliativeEncounter.period overlaps day of NinetyDaysBeforeVTEEncounter
          )
          or exists ( ( [Procedure: "Palliative Care Intervention"] ) PalliativeIntervention
              where PalliativeIntervention.performed.toInterval ( ) overlaps day of NinetyDaysBeforeVTEEncounter
          )
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    define "Qualified VTE Encounter With Other Qualified VTE Encounter Documented Within Previous 6 Months":
      "Qualified VTE Encounters" CurrentQualifiedVTE
        with "Qualified VTE Encounters" PreviousQualifiedVTE
          such that PreviousQualifiedVTE.period starts 6 months or less before start of CurrentQualifiedVTE.period
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    define "Denominator Exclusions":
      "Qualified VTE Encounter With Hospice Services Within Previous 90 Days"
        union "Qualified VTE Encounter With Palliative Care Within Previous 90 Days"
        union "Qualified VTE Encounter With Other Qualified VTE Encounter Documented Within Previous 6 Months"
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    define "SDE Race":
      SDE."SDE Race"
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    /*

    /*
    @description: Returns true if the given Condition is confirmed
    */

    define fluent function isConfirmedCondition(condition ConditionEncounterDiagnosis):
      condition.verificationStatus ~ QICoreCommon."confirmed"
Logic Definition | Library Name: CMS1173FHIRDiagnosticDelayVTE
    /*
    @description: Returns true if the given condition either has no verification status or has a verification status of confirmed, unconfirmed, provisional, or differential
    */

    define fluent function isVerified(condition Choice<ConditionEncounterDiagnosis, ConditionProblemsHealthConcerns>):
      condition.verificationStatus is not null implies ( condition.verificationStatus ~ QICoreCommon."confirmed"
          or condition.verificationStatus ~ QICoreCommon."unconfirmed"
          or condition.verificationStatus ~ QICoreCommon."provisional"
          or condition.verificationStatus ~ QICoreCommon."differential"
      )
Logic Definition | Library Name: QICoreCommon
    /*
    @description: Returns true if any of the given references are to the given resource
    @comment: Returns true if the `id` element of the given resource exactly equals the tail of any of the given references.
    NOTE: This function assumes resources from the same source server.
    */
    define fluent function references(references List<Reference>, resource Resource):
      exists (references R where R.references(resource))
Logic Definition | Library Name: QICoreCommon
    /*
    @description: Returns true if the given reference is to the given resource
    @comment: Returns true if the `id` element of the given resource exactly equals the tail of the given reference.
    NOTE: This function assumes resources from the same source server.
    */
    define fluent function references(reference Reference, resource Resource):
      resource.id = Last(Split(reference.reference, '/'))
Logic Definition | Library Name: QICoreCommon
    /*
    @description: Normalizes a value that is a choice of timing-valued types to an equivalent interval
    @comment: Normalizes a choice type of DateTime, Quanitty, Interval<DateTime>, or Interval<Quantity> types
    to an equivalent interval. This selection of choice types is a superset of the majority of choice types that are used as possible
    representations for timing-valued elements in QICore, allowing this function to be used across any resource.
    The input can be provided as a DateTime, Quantity, Interval<DateTime> or Interval<Quantity>.
    The intent of this function is to provide a clear and concise mechanism to treat single
    elements that have multiple possible representations as intervals so that logic doesn't have to account
    for the variability. More complex calculations (such as medication request period or dispense period
    calculation) need specific guidance and consideration. That guidance may make use of this function, but
    the focus of this function is on single element calculations where the semantics are unambiguous.
    If the input is a DateTime, the result a DateTime Interval beginning and ending on that DateTime.
    If the input is a Quantity, the quantity is expected to be a calendar-duration interpreted as an Age,
    and the result is a DateTime Interval beginning on the Date the patient turned that age and ending immediately before one year later.
    If the input is a DateTime Interval, the result is the input.
    If the input is a Quantity Interval, the quantities are expected to be calendar-durations interpreted as an Age, and the result
    is a DateTime Interval beginning on the date the patient turned the age given as the start of the quantity interval, and ending
    immediately before one year later than the date the patient turned the age given as the end of the quantity interval.
    If the input is a Timing, an error will be thrown indicating that Timing calculations are not implemented. Any other input will reslt in a null DateTime Interval
    */
    define fluent function toInterval(choice Choice<DateTime, Quantity, Interval<DateTime>, Interval<Quantity>, Timing>):
      case
    	  when choice is DateTime then
        	Interval[choice as DateTime, choice as DateTime]
    		when choice is Interval<DateTime> then
      		choice as Interval<DateTime>
    		when choice is Quantity then
    		  Interval[Patient.birthDate + (choice as Quantity),
    			  Patient.birthDate + (choice as Quantity) + 1 year)
    		when choice is Interval<Quantity> then
    		  Interval[Patient.birthDate + (choice.low as Quantity),
    			  Patient.birthDate + (choice.high as Quantity) + 1 year)
    		when choice is Timing then
          Message(null, true, 'NOT_IMPLEMENTED', 'Error', 'Calculation of an interval from a Timing value is not supported') as Interval<DateTime>
    		else
    			null as Interval<DateTime>
    	end
Logic Definition | Library Name: QICoreCommon
    /*
    @description: Returns an interval representing the normalized prevalence period of a given Condition.
    @comment: Uses the ToInterval and ToAbatementInterval functions to determine the widest potential interval from
    onset to abatement as specified in the given Condition. If the condition is active, or has an abatement date the resulting
    interval will have a closed ending boundary. Otherwise, the resulting interval will have an open ending boundary.
    */
    define fluent function prevalenceInterval(condition Choice<"ConditionEncounterDiagnosis", "ConditionProblemsHealthConcerns">):
    if condition.clinicalStatus ~ "active"
      or condition.clinicalStatus ~ "recurrence"
      or condition.clinicalStatus ~ "relapse" then
      Interval[start of condition.onset.toInterval(), end of condition.abatementInterval()]
    else
        (end of condition.abatementInterval()) abatementDate
        return if abatementDate is null then
          Interval[start of condition.onset.toInterval(), abatementDate)
        else
          Interval[start of condition.onset.toInterval(), abatementDate]
Logic Definition | Library Name: QICoreCommon
    /*
    @description: Returns an interval representing the normalized abatement of a given Condition.
    @comment: If the abatement element of the Condition is represented as a DateTime, the result
    is an interval beginning and ending on that DateTime.
    If the abatement is represented as a Quantity, the quantity is expected to be a calendar-duration and is interpreted as the age of the patient. The
    result is an interval from the date the patient turned that age to immediately before one year later.
    If the abatement is represented as a Quantity Interval, the quantities are expected to be calendar-durations and are interpreted as an age range during
    which the abatement occurred. The result is an interval from the date the patient turned the starting age of the quantity interval, and ending immediately
    before one year later than the date the patient turned the ending age of the quantity interval.
    */
    define fluent function abatementInterval(condition Choice<"ConditionEncounterDiagnosis", "ConditionProblemsHealthConcerns">):
    	if condition.abatement is DateTime then
    	  Interval[condition.abatement as DateTime, condition.abatement as DateTime]
    	else if condition.abatement is Quantity then
    		Interval[Patient.birthDate + (condition.abatement as Quantity),
    			Patient.birthDate + (condition.abatement as Quantity) + 1 year)
    	else if condition.abatement is Interval<Quantity> then
    	  Interval[Patient.birthDate + (condition.abatement.low as Quantity),
    		  Patient.birthDate + (condition.abatement.high as Quantity) + 1 year)
    	else if condition.abatement is Interval<DateTime> then
    	  Interval[condition.abatement.low, condition.abatement.high)
    	else null as Interval<DateTime>
Terminology
Code System | Description: Code system SNOMEDCT Resource: http://snomed.info/sct Canonical URL: `http://snomed.info/sct`
Code System | Description: Code system ConditionVerificationStatusCodes Resource: http://terminology.hl7.org/CodeSystem/condition-ver-status Canonical URL: `http://terminology.hl7.org/CodeSystem/condition-ver-status`
Code System | Description: Code system LOINC Resource: http://loinc.org Canonical URL: `http://loinc.org`
Code System | Description: Code system ConditionClinicalStatusCodes Resource: http://terminology.hl7.org/CodeSystem/condition-clinical Canonical URL: `http://terminology.hl7.org/CodeSystem/condition-clinical`
Value Set | Description: Value set Office Visit Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001 Canonical URL: `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001`
Value Set | Description: Value set Outpatient Encounter Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1087 Canonical URL: `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1087`
Value Set | Description: Value set Encounter Inpatient Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307 Canonical URL: `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307`
Value Set | Description: Value set VTE Diagnoses Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.49 Canonical URL: `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.49`
Value Set | Description: Value set VTE Symptoms Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.51 Canonical URL: `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.51`
Value Set | Description: Value set Imaging Related to VTE Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.47 Canonical URL: `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.47`
Value Set | Description: Value set Anticoagulant Medications Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.19 Canonical URL: `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.19`
Value Set | Description: Value set Payer Type Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591 Canonical URL: `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591`
Value Set | Description: Value set Hospice Encounter Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1003 Canonical URL: `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1003`
Value Set | Description: Value set Hospice Care Ambulatory Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15 Canonical URL: `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15`
Value Set | Description: Value set Hospice Diagnosis Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1165 Canonical URL: `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1165`
Value Set | Description: Value set Palliative Care Diagnosis Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1167 Canonical URL: `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1167`
Value Set | Description: Value set Palliative Care Encounter Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1090 Canonical URL: `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1090`
Value Set | Description: Value set Palliative Care Intervention Resource: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1135 Canonical URL: `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1135`
Direct Reference Code | Display: Male (finding) Code: 248153007 System: `http://snomed.info/sct`
Direct Reference Code | Display: Female (finding) Code: 248152002 System: `http://snomed.info/sct`
Direct Reference Code | Display: Confirmed Code: confirmed System: `http://terminology.hl7.org/CodeSystem/condition-ver-status`
Direct Reference Code | Display: Unconfirmed Code: unconfirmed System: `http://terminology.hl7.org/CodeSystem/condition-ver-status`
Direct Reference Code | Display: Provisional Code: provisional System: `http://terminology.hl7.org/CodeSystem/condition-ver-status`
Direct Reference Code | Display: Differential Code: differential System: `http://terminology.hl7.org/CodeSystem/condition-ver-status`
Direct Reference Code | Display: Discharge to home for hospice care (procedure) Code: 428361000124107 System: `http://snomed.info/sct`
Direct Reference Code | Display: Discharge to healthcare facility for hospice care (procedure) Code: 428371000124100 System: `http://snomed.info/sct`
Direct Reference Code | Display: Hospice care [Minimum Data Set] Code: 45755-6 System: `http://loinc.org`
Direct Reference Code | Display: Yes (qualifier value) Code: 373066001 System: `http://snomed.info/sct`
Direct Reference Code | Display: Active Code: active System: `http://terminology.hl7.org/CodeSystem/condition-clinical`
Direct Reference Code | Display: Recurrence Code: recurrence System: `http://terminology.hl7.org/CodeSystem/condition-clinical`
Direct Reference Code | Display: Relapse Code: relapse System: `http://terminology.hl7.org/CodeSystem/condition-clinical`
Direct Reference Code | Display: Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal) Code: 71007-9 System: `http://loinc.org`
Dependencies
Dependency | Description: QICore model information Resource: http://hl7.org/fhir/Library/QICore-ModelInfo Canonical URL: `http://hl7.org/fhir/Library/QICore-ModelInfo`
Dependency | Description: Library SDE Resource: https://madie.cms.gov/Library/SupplementalDataElements|5.1.000 Canonical URL: `https://madie.cms.gov/Library/SupplementalDataElements|5.1.000`
Dependency | Description: Library FHIRHelpers Resource: https://madie.cms.gov/Library/FHIRHelpers|4.4.000 Canonical URL: `https://madie.cms.gov/Library/FHIRHelpers|4.4.000`
Dependency | Description: Library QICoreCommon Resource: https://madie.cms.gov/Library/QICoreCommon|4.0.000 Canonical URL: `https://madie.cms.gov/Library/QICoreCommon|4.0.000`
Data Requirements
Data Requirement | Type: Patient Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient Must Support Elements: extension, url, birthDate, birthDate.value
Data Requirement | Type: Encounter Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter Must Support Elements: type, status, status.value, period, reasonCode, reasonReference Code Filter(s): Path: type ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1087
Data Requirement | Type: Encounter Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter Must Support Elements: type, status, status.value, period, reasonCode, reasonReference Code Filter(s): Path: type ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001
Data Requirement | Type: Encounter Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter Must Support Elements: type, status, status.value, period, reasonCode, reasonReference, hospitalization, hospitalization.dischargeDisposition Code Filter(s): Path: type ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307
Data Requirement | Type: Encounter Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter Must Support Elements: type, period, status, status.value, reasonCode, reasonReference Code Filter(s): Path: type ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1003
Data Requirement | Type: Encounter Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter Must Support Elements: type, period, status, status.value, reasonCode, reasonReference Code Filter(s): Path: type ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1090
Data Requirement | Type: Condition Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition-encounter-diagnosis Must Support Elements: verificationStatus
Data Requirement | Type: Condition Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition-encounter-diagnosis Must Support Elements: code Code Filter(s): Path: code ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.49
Data Requirement | Type: Condition Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition-encounter-diagnosis Must Support Elements: code Code Filter(s): Path: code ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.51
Data Requirement | Type: Condition Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition-encounter-diagnosis Must Support Elements: code Code Filter(s): Path: code ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1165
Data Requirement | Type: Condition Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition-encounter-diagnosis Must Support Elements: code Code Filter(s): Path: code ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1167
Data Requirement | Type: Resource Profile(s): http://hl7.org/fhir/StructureDefinition/Resource Must Support Elements: id, id.value
Data Requirement | Type: DiagnosticReport Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-diagnosticreport-note Must Support Elements: code, status, status.value, effective Code Filter(s): Path: code ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.47
Data Requirement | Type: MedicationRequest Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest Must Support Elements: medication, status, status.value, intent, intent.value, authoredOn, authoredOn.value Code Filter(s): Path: medication ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1206.19
Data Requirement | Type: MedicationRequest Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest Must Support Elements: medication.reference.value, status, status.value, intent, intent.value, authoredOn, authoredOn.value
Data Requirement | Type: Medication Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medication Must Support Elements: id.value, code
Data Requirement | Type: Coverage Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage Must Support Elements: type, period Code Filter(s): Path: type ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
Data Requirement | Type: Observation Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation-screening-assessment Must Support Elements: code, value, effective Code Filter(s): Path: code Code(s): http://loinc.org#45755-6: 'Hospice care [Minimum Data Set]'
Data Requirement | Type: Observation Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation-screening-assessment Must Support Elements: code, effective, status, status.value Code Filter(s): Path: code Code(s): http://loinc.org#71007-9: 'Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)'
Data Requirement | Type: ServiceRequest Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest Must Support Elements: code, authoredOn, authoredOn.value, status, status.value Code Filter(s): Path: code ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15
Data Requirement | Type: Procedure Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure Must Support Elements: code, performed Code Filter(s): Path: code ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15
Data Requirement | Type: Procedure Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure Must Support Elements: code, performed Code Filter(s): Path: code ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1135
Data Requirement | Type: Condition Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition-problems-health-concerns Must Support Elements: code Code Filter(s): Path: code ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1165
Data Requirement | Type: Condition Profile(s): http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition-problems-health-concerns Must Support Elements: code Code Filter(s): Path: code ValueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1167
Generated using version 0.4.8 of the sample-content-ig Liquid templates