eCQM QICore Content Implementation Guide
2025.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 2025.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-2025/ and changes regularly. See the Directory of published versions

: Hospital Harm - Pressure InjuryFHIR - XML Representation

Active as of 2025-07-15

Raw xml | Download


<Measure xmlns="http://hl7.org/fhir">
  <id value="CMS826FHIRHHPI"/>
  <meta>
    <profile
             value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablemeasure"/>
    <profile
             value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm"/>
    <profile
             value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/publishable-measure-cqfm"/>
    <profile
             value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/executable-measure-cqfm"/>
    <profile
             value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cql-measure-cqfm"/>
    <profile
             value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/elm-measure-cqfm"/>
    <profile
             value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/proportion-measure-cqfm"/>
  </meta>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
  <table class="narrative-table">
    <tbody>
<tr>


<th colspan="2" scope="row" class="row-header">Metadata</th>


</tr>

<tr>


<th scope="row" class="row-header">Title</th>


<td class="content-container">Hospital Harm - Pressure InjuryFHIR</td>
</tr>



<tr>


<th scope="row" class="row-header">Version</th>


<td class="content-container">0.3.000</td>
</tr>


  
<tr>


<th scope="row" class="row-header">Short Name</th>


<td class="content-container">CMS826FHIR</td>
</tr>



  
<tr>


<th scope="row" class="row-header">GUID (Version Independent)</th>


<td class="content-container">urn:uuid:75ae89cd-c418-4de1-98c3-0230c72402b6</td>
</tr>



  
<tr>


<th scope="row" class="row-header">GUID (Version Specific)</th>


<td class="content-container">urn:uuid:7604121d-a2b5-4cf9-8ff4-37535407857a</td>
</tr>



  
    
    
<tr>


<th scope="row" class="row-header">CMS Identifier</th>


<td class="content-container">826FHIR</td>
</tr>

  


  
    
    
<tr>


<th scope="row" class="row-header">CMS Consensus Based Entity Identifier</th>


<td class="content-container">3498e</td>
</tr>

  



  
    
    
<tr>


<th scope="row" class="row-header">Effective Period</th>


<td class="content-container">2026-01-01 through 2026-12-31</td>
</tr>

  















<tr>


<th scope="row" class="row-header">Steward (Publisher)</th>


<td class="content-container">Centers for Medicare &amp; Medicaid Services (CMS)</td>
</tr>






<tr>


<th scope="row" class="row-header">Developer</th>


<td class="content-container">Mathematica</td>
</tr>






<tr>


<th scope="row" class="row-header">Description</th>


<td class="content-container"><div><p>The measure assesses the number of inpatient hospitalizations for patients aged 18 and older who suffer the harm of developing a new stage 2, stage 3. stage 4. deep tissue, or unstageable pressure injury</p>
</div></td>
</tr>



<tr>


<th scope="row" class="row-header">Copyright</th>


<td class="content-container"><div><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. 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 Organization. ICD-10 copyright 2024 World Health Organization. All Rights Reserved.</p>
</div></td>
</tr>


<tr>


<th scope="row" class="row-header">Disclaimer</th>


<td class="content-container"><div><p>This performance measure is not a clinical guideline, does not establish a standard of medical care, and has not been tested for all potential applications.   THE MEASURES AND SPECIFICATIONS ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND.   Due to technical limitations, registered trademarks are indicated by (R) or [R] and unregistered trademarks are indicated by (TM) or [TM].</p>
</div></td>
</tr>











<tr>


<th scope="row" class="row-header">Rationale</th>


<td class="content-container"><div><p>This safety dQM captures the number of patients who experience harm in the form of a pressure injury during their inpatient hospitalization. The incidence of pressure injuries in hospitalized patients has been estimated at 5.4 per 10,000 patient-days, and the rate of hospital-acquired pressure injuries (HAPIs) has been estimated at 8.4% (Li et al., 2020). Over 50% of reported pressure injuries in hospitals were stage 2 or higher (Li et al., 2020). HAPIs are serious events and one of the most common patient harms. Pressure injuries commonly cause local infection, osteomyelitis, anemia, and sepsis in addition to causing significant depression, pain, and discomfort to patients (Shui et al., 2021). Pressure injury is considered a serious reportable event by the National Quality Forum (NQF) (NQF, 2011).   Studies have shown that age, severity of illness, comorbidity indexes, and Braden scores are predictors of HAPIs (Rondinelli et al., 2018). However, even after risk adjustment for patient risk factors, significant variation in rates of HAPI exist between hospitals (Rondinelli et al., 2018). It is widely accepted that the risk of developing a pressure injury can be reduced through best practices. Hospital controlled factors that have been found to be significantly associated with an increase in pressure ulcer risk include infrequent repositioning (p=0.005) and number of days to bed change (OR, 2.89 [95% CI, 1.26-6.63]) (Tayyib et al., 2016; Bly et al., 2016). Nurse staffing, measured as hours per patient day (HPPD), skill mix, and expertise are also significant predictors of HAPI development; patients who require more nursing activity have actually been found to have a lower risk for HAPIs (Tschannen &amp; Anderson, 2020). Systematically measuring patients who develop new pressure injuries while in the hospital setting will provide hospitals with a reliable and timely measurement to more reliably assess harm reduction efforts and modify their improvement efforts in near real-time. This dQM fills a gap in measurement and provides incentives for hospitals’ quality improvement. The intent of this measure is to incentivize greater achievements in reducing harms and enhance hospital performance on patient safety outcomes.   Stage 2 pressure injuries, characterized by partial-thickness skin loss, carry a less serious burden in terms of patient harm than stage 3, stage 4, unstageable, and deep tissue pressure injuries (DTPI). Partial-thickness wounds heal primarily as a result of epidermal regeneration and often heal without untoward consequences, loss of skin function, or scar tissue formation. Based on the healing capabilities inherent in these partial-thickness wounds, it is the expert opinion of the National Pressure Ulcer Advisory Panel (NPUAP) that the presentation of stage 2 pressure injuries does not carry the same potential longstanding negative consequences to patients as do full thickness pressure injuries. Stage 2 pressure injuries constitute a very real patient harm that should be monitored and addressed; however, the relative level of harm is less than with stage 3, stage 4, unstageable pressure injuries and potentially DTPI (NPUAP, 2019).  The accurate and timely identification of DTPI is important for several reasons. Early discovery of DTPI allows prompt identification of possible causes, initiation of treatment, and potential development of preventive strategies. In addition, 24 to 72 hours can lapse between the precipitating pressure event and the onset of purple or maroon skin. This delayed manifestation becomes particularly important when the precipitating event occurred before the patient’s admission, yet the DTPI appears beyond the 24-hour window for present-on-admission status (Tescher et al., 2018).</p>
</div></td>
</tr>


<tr>


<th scope="row" class="row-header">Clinical Recommendation Statement</th>


<td class="content-container"><div><p>The Clinical Guidelines Committee for the American College of Physicians (ACP) presents the available evidence on the comparative effectiveness of various risk assessment instruments and benefits and harms of strategies to prevent pressure ulcers (Qaseem et al., 2015).  Recommendation 1: ACP recommends that clinicians should perform a risk assessment to identify patients who are at risk of developing pressure ulcers.   Recommendation 2: ACP recommends that clinicians should choose advanced static mattresses or advanced static overlays in patients who are at an increased risk of developing pressure ulcers.  Recommendation 3: ACP recommends against using alternating-air mattresses or alternating-air overlays in patients who are at an increased risk of developing pressure ulcers.  The European Pressure Ulcer Advisory Panel, National Pressure Injury Advisory Panel, and Pan Pacific Pressure Injury Alliance’s Prevention and Treatment of Pressure Ulcers/Injuries: Clinical Practice Guideline (The International Guideline) provides guidance for categorizing pressure injuries and recommendations for structured skin and risk assessment (European Pressure Ulcer Advisory Panel, National Pressure Injury Advisory Panel, and Pan Pacific Pressure Injury Alliance, 2019).  Guidelines focused on risk factors and risk assessment:  1.1: Consider individuals with limited mobility, limited activity and a high potential for friction and shear to be at risk of pressure injuries.  1.2: Consider individuals with a category/stage I pressure injury to be at risk of developing a category/stage II or greater pressure injury.  1.7: Consider the impact of diabetes mellitus on the risk of pressure injuries.  1.8: Consider the impact of perfusion and circulation deficits on the risk of pressure injuries.  1.12: Consider the impact of increased body temperature on the risk of pressure injuries.  1.17: Consider the impact of time spent immobilized before surgery, the duration of surgery and the American Society of Anesthesiologists (ASA) Physical Status Classification on surgery-related pressure injury risk.   Guidelines focused on skin and tissue assessment:  2.2: Inspect the skin of individuals at risk of pressure injuries to identify presence of erythema.  2.3: Differentiate blanchable from non-blanchable erythema using either finger pressure or the transparent disk method and evaluate the extent of erythema.   Guidelines focused on preventative skin care:  3.1: Implement a skin care regimen that includes:   - Keeping skin clean and appropriately hydrated   - Cleansing the skin promptly after episodes of incontinence   - Avoiding use of alkaline soaps and cleansers   - Protecting the skin from moisture with a barrier product  3.3: Use high absorbency incontinence products to protect the skin in individuals with or at risk of pressure injuries who have urinary incontinence.  3.4: Consider using textiles with low friction coefficients for individuals with or at risk of pressure injuries.   3.5: Use a soft silicone multi-layered foam dressing to protect the skin for individuals at risk of pressure injuries.   Guidelines focused on nutrition screening:   4.1: Conduct nutritional screening for individuals at risk of a pressure injury.  4.2: Conduct a comprehensive nutrition assessment for adults at risk of a pressure injury who are screened to be at risk of malnutrition and for all adults with a pressure injury.   4.3: Develop and implement an individualized nutrition care plan for individuals with or at risk of a pressure injury who are malnourished or who are at risk of malnutrition.   4.4: Optimize energy intake for individuals at risk of pressure injuries who are malnourished or at risk of malnutrition.   4.6: Provide 30 to 35 kcalories/kg body weight/day for adults with a pressure injury who are malnourished or at risk of malnutrition.   4.7: Provide 1.25 to 1.5 g protein/kg body weight/day for adults with a pressure injury who are malnourished or at risk of malnutrition.   4.9: Offer high calorie, high protein nutritional supplements in addition to the usual diet for adults with a pressure injury who are malnourished or at risk of malnutrition, if nutritional requirements cannot be achieved by normal dietary intake.   4.12: Discuss the benefits and harms of enteral or parenteral feeding to support pressure injury treatment in light of preferences and goals of care for individuals with pressure injuries who cannot meet their nutritional requirements through oral intake despite nutritional interventions.   Guidelines focused on repositioning and early mobilization:  5.1: Reposition all individuals with or at risk of pressure injuries on an individualized schedule, unless contraindicated.  5.2: Determine repositioning frequency with consideration to the individual’s level of activity and ability to independently reposition.   Guidelines focused on heel pressure injury:  6.1: Assess the vascular/perfusion status of the lower limbs, heels and feet when performing a skin and tissue assessment, and as part of a risk assessment.  6.2: For individuals at risk of heel pressure injuries and/or with category/stage I or II pressure injuries, elevate the heels using a specifically designed heel suspension device or a pillow/ foam cushion. Offload the heel completely in such a way as to distribute the weight of the leg along the calf without placing pressure on the Achilles tendon and the popliteal vein.  6.4: Use a prophylactic dressing as an adjunct to heel offloading and other strategies to prevent heel pressure injuries.   Guidelines focused on support surfaces:  7.4: Use a high specification reactive single layer foam mattress or overlay in preference to a foam mattress without high specification qualities for individuals at risk of developing pressure injuries.  7.7: Assess the relative benefits of using an alternating pressure air mattress or overlay for individuals at risk of pressure injuries.  7.8: Use a pressure redistribution support surface on the operating table for all individuals with or at risk of pressure injuries who are undergoing surgery.  7.12: Use a pressure redistribution cushion for preventing pressure injuries in people at high risk who are seated in a chair/wheelchair for prolonged periods, particularly if the individual is unable to perform pressure relieving maneuvers.  7.13: Assess the relative benefits of using an alternating pressure air cushion for supporting pressure injury healing in individuals who are seated in a chair/wheelchair for prolonged periods, particularly if the individual is unable to perform pressure relieving maneuvers.    Guidelines focused on device related pressure injury:  8.1: To reduce the risk of medical device related pressure injuries, review and select medical devices with consideration to:   - The device's ability to minimize tissue damage  - Correct sizing/shape of the device for the individual   - Ability to correctly apply the device according to manufacturer's instructions   - Ability to correctly secure the device  8.5: Use a prophylactic dressing beneath a medical device to reduce the risk of medical device related pressure injuries.     Guidelines focused on implementing best practices:  20.2: At the organizational level, assess the knowledge health professionals have about pressure injuries to facilitate implementation of an education program and a quality improvement program.   20.4: At an organizational level, assess and maximize the availability and quality of equipment and standards for its use as part of a quality improvement plan to reduce the incidence of pressure injuries.   20.5: At an organizational level, develop and implement a structured, tailored and multi-faceted quality improvement program to reduce the incidence of pressure injuries.   20.6: At an organizational level, engage all key stakeholders in oversight and implementation of the quality improvement program to reduce the incidence of pressure injuries.   20.7: At an organizational level, include evidence-based policies, procedures and protocols and standardized documentation systems to reduce the incidence of pressure injuries.   20.8: At an organizational level, provide clinical decision support tools as part of a quality improvement plan to reduce the incidence of pressure injuries.   20.9: Provide clinical leadership in pressure injury prevention and treatment as part of a quality improvement plan to reduce pressure injuries.   20.10: At a professional level, provide education in pressure injury prevention and treatment as part of a quality improvement plan to reduce the incidence of pressure injuries.   20.11: At an organizational level, regularly monitor, analyze and evaluate performance against quality indicators for pressure injury prevention and treatment.  20.12: At an organizational level, use feedback and reminder systems to promote the quality improvement program and its outcomes to stakeholders.   Guidelines focused on health professional education:  21.1: At the organizational level, assess the knowledge health professionals have about pressure injuries to facilitate implementation of an education program and a quality improvement program.   21.2: At an organizational level, develop and implement a multi-faceted education program for pressure injury prevention and treatment.</p>
</div></td>
</tr>




<tr>
  
  
  
  

<th scope="row" class="row-header">Citation</th>


  
  
  <td class="content-container">
    
    
    
    <div><p>CITATION - American College of Physicians (ACP). (2015). Risk assessment and prevention of pressure ulcers: a clinical practice guideline.</p>
</div>
    
    
    
    
    
  </td>
</tr>

<tr>
  
  
  
  

<th scope="row" class="row-header">Citation</th>


  
  
  <td class="content-container">
    
    
    
    <div><p>CITATION - Bly, D., Schallom, M., Sona, C., &amp; Klinkenberg, D. (2016). A model of pressure, oxygenation, and perfusion risk factors for pressure ulcers in the intensive care unit. American Journal of Critical Care, 25(2), 156–154</p>
</div>
    
    
    
    
    
  </td>
</tr>

<tr>
  
  
  
  

<th scope="row" class="row-header">Citation</th>


  
  
  <td class="content-container">
    
    
    
    <div><p>CITATION - Brem, H., Maggi, J., Nierman, D., Rolnitzky, L., Bell, D., Rennert, R., Golinko, M., Yan, A., Lyder, C., Vladeck, B. High cost of stage IV pressure ulcers. Am J Surg. 2010 Oct;200(4):473-7. doi: 10.1016/j.amjsurg.2009.12.021. PMID: 20887840; PMCID: PMC2950802.</p>
</div>
    
    
    
    
    
  </td>
</tr>

<tr>
  
  
  
  

<th scope="row" class="row-header">Citation</th>


  
  
  <td class="content-container">
    
    
    
    <div><p>CITATION - Centers for Medicare &amp; Medicaid Services. (2015). Hospital-acquired conditions. Retrieved January 13, 2017, from https://www.cms.gov/Medicare/Medicare-Fee-for-Service-Payment/HospitalAcqCond/Hospital-Acquired_Conditions.html</p>
</div>
    
    
    
    
    
  </td>
</tr>

<tr>
  
  
  
  

<th scope="row" class="row-header">Citation</th>


  
  
  <td class="content-container">
    
    
    
    <div><p>CITATION - Cremasco, M. F., Wenzel, F., Zanei, S. S. V., &amp; Whitaker, I. Y. (2013). Pressure ulcers in the intensive care unit: the relationship between nursing workload, illness severity and pressure ulcer risk. Journal of Clinical Nursing, 22(15–16), 2183–2191. https://doi.org/10.1111/j.1365-2702.2012.04216.x</p>
</div>
    
    
    
    
    
  </td>
</tr>

<tr>
  
  
  
  

<th scope="row" class="row-header">Citation</th>


  
  
  <td class="content-container">
    
    
    
    <div><p>CITATION - European Pressure Ulcer Advisory Panel, National Pressure Injury Advisory Panel and Pan Pacific Pressure Injury Alliance. (2019). Prevention and treatment of pressure ulcers/injuries: clinical practice guideline. The International Guideline: Haesler (Ed.). EPUAP/NPIAP/PPPIA.</p>
</div>
    
    
    
    
    
  </td>
</tr>

<tr>
  
  
  
  

<th scope="row" class="row-header">Citation</th>


  
  
  <td class="content-container">
    
    
    
    <div><p>CITATION - Gunningberg, L., Donaldson, N., Aydin, C., Idvall, E. (2011). Exploring variation in pressure ulcer prevalence in Sweden and the USA: Benchmarking in action. 18. Journal of evaluation in clinical practice., 904-910</p>
</div>
    
    
    
    
    
  </td>
</tr>

<tr>
  
  
  
  

<th scope="row" class="row-header">Citation</th>


  
  
  <td class="content-container">
    
    
    
    <div><p>CITATION - Li, Z., Lin, F., Thalib, L., &amp; Chaboyer, W. (2020). Global prevalence and incidence of pressure injuries in hospitalised adult patients: A systematic review and meta-analysis. International Journal of Nursing Studies, Vol. 105. https://doi.org/10.1016/j.ijnurstu.103546</p>
</div>
    
    
    
    
    
  </td>
</tr>

<tr>
  
  
  
  

<th scope="row" class="row-header">Citation</th>


  
  
  <td class="content-container">
    
    
    
    <div><p>CITATION - National Pressure Ulcer Advisory Panel (NPUAP), Submission of Open Comment August 23, 2019, retrieved May 12, 2020 from: https://cdn.ymaws.com/npiap.com/resource/resmgr/npuap_nqf_response_final_8.2.pdf</p>
</div>
    
    
    
    
    
  </td>
</tr>

<tr>
  
  
  
  

<th scope="row" class="row-header">Citation</th>


  
  
  <td class="content-container">
    
    
    
    <div><p>CITATION - Rondinelli, J., Zuniga, S., Kipnis, P., Kawar, L. N., Liu, V., &amp; Escobar, G. J. (2018). Hospital-acquired pressure injury: Risk-adjusted comparisons in an integrated healthcare delivery system. Nurs Res, 67(1), 16–25</p>
</div>
    
    
    
    
    
  </td>
</tr>

<tr>
  
  
  
  

<th scope="row" class="row-header">Citation</th>


  
  
  <td class="content-container">
    
    
    
    <div><p>CITATION - Tayyib, N., Coyer, F., &amp; Lewis, P. (2016). Saudi Arabian adult intensive care unit pressure ulcer incidence and risk factors: A prospective cohort study. International Wound Journal, 13(5), 912–919. https://doi.org/10.1111/iwj.12406</p>
</div>
    
    
    
    
    
  </td>
</tr>

<tr>
  
  
  
  

<th scope="row" class="row-header">Citation</th>


  
  
  <td class="content-container">
    
    
    
    <div><p>CITATION - Wound Management &amp; Prevention. (2018, November). Index: Ostomy wound management. 64(11):30-41. ISSN 1943-2720</p>
</div>
    
    
    
    
    
  </td>
</tr>







<tr>


<th scope="row" class="row-header">Guidance (Usage)</th>


<td class="content-container">This dQM is an episode-based measure. An episode is defined as each inpatient hospitalization or encounter that ends during the measurement period.  This FHIR-based measure has been derived from the QDM-based measure: CMS826v3. Please refer to the HL7 QI-Core Implementation Guide (https://hl7.org/fhir/us/qicore/STU6/) for more information on QI-Core and mapping recommendations from QDM to QI-Core STU 6 (https://hl7.org/fhir/us/qicore/STU6/qdm-to-qicore.html).</td>
</tr>



  
    
    <tr>


<th colspan="2" scope="row" class="row-header">Measure Group (Rate) (ID: Group_1)</th>


</tr>
  
  
  
  
<tr>


<th scope="row" class="row-header">Basis</th>


<td class="content-container">Encounter</td>
</tr>



  
<tr>


<th scope="row" class="row-header">Scoring</th>


<td class="content-container"><span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-scoring proportion}">Proportion</span></td>
</tr>







  
<tr>


<th scope="row" class="row-header">Type</th>


<td class="content-container"><span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-type outcome}">Outcome</span></td>
</tr>




  
<tr>


<th scope="row" class="row-header">Rate Aggregation</th>


<td class="content-container">None</td>
</tr>



  
<tr>


<th scope="row" class="row-header">Improvement Notation</th>


<td class="content-container"><span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-improvement-notation decrease}">decrease</span></td>
</tr>


  
  
    <tr>
      
        

<th scope="row" class="row-header">Initial Population</th>


      
      <td class="content-container">
        
        <em>ID</em>: InitialPopulation_1
        <br/>
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Inpatient hospitalizations that end during the measurement period for patients aged 18 and older</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#primary-cms826fhirhhpi-initial-population">Initial Population</a> 
          
        
      </td>
    </tr>
  

  
    <tr>
      
        

<th scope="row" class="row-header">Denominator</th>


      
      <td class="content-container">
        
        <em>ID</em>: Denominator_1
        <br/>
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Equals Initial Population</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#primary-cms826fhirhhpi-denominator">Denominator</a> 
          
        
      </td>
    </tr>
  

  
    <tr>
      
        

<th scope="row" class="row-header">Denominator Exclusion</th>


      
      <td class="content-container">
        
        <em>ID</em>: DenominatorExclusion_1
        <br/>
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Inpatient hospitalizations for patients with a DTPI or stage 2, 3, 4 or unstageable pressure injury diagnosis present on admission as indicated by a present on admission indicator of Y or W.  Inpatient hospitalizations for patients with a DTPI found on exam within 72 hours after the start of the encounter  Inpatient hospitalizations for patients with a stage 2, 3, 4, or unstageable pressure injury found on exam within 24 hours after the start of the encounter</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#primary-cms826fhirhhpi-denominator-exclusions">Denominator Exclusions</a> 
          
        
      </td>
    </tr>
  

  
    <tr>
      
        

<th scope="row" class="row-header">Numerator</th>


      
      <td class="content-container">
        
        <em>ID</em>: Numerator_1
        <br/>
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Inpatient hospitalizations for patients with a new deep tissue pressure injury (DTPI) or stage 2, 3, 4, or unstageable pressure injury, as evidenced by any of the following:  A DTPI or stage 2, 3, 4, or unstageable pressure injury diagnosis not present on admission as indicated by a present on admission indicator of N  or U.  A DTPI found on exam greater than 72 hours after the start of the encounter  A stage 2, 3, 4 or unstageable pressure injury found on exam greater than 24 hours after the start of the encounter  Only one harm (new qualifying pressure injury) is counted per hospitalization.</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#primary-cms826fhirhhpi-numerator">Numerator</a> 
          
        
      </td>
    </tr>
  

  


  
    
<tr>


<th scope="row" class="row-header">Supplemental Data Guidance</th>


<td class="content-container">For every patient evaluated by this measure, also identify payer, race, ethnicity and sex</td>
</tr>

  


  <tr>


<th colspan="2" scope="row" class="row-header">Supplemental Data Elements</th>


</tr>


<tr>
  

<th scope="row" class="row-header">Supplemental Data Element</th>


  <td class="content-container">
    
      <em>ID</em>: sde-ethnicity
      
      <br/>
      
    
    
      
        
          <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
        
        <br/>
      
    
    
      <em>Description</em>: SDE Ethnicity
    
    
      
        <br/>
        
        <em>Logic Definition</em>: <a href="#cms826fhirhhpi-sde-ethnicity">SDE Ethnicity</a> 
      
    
  </td>
</tr>

<tr>
  

<th scope="row" class="row-header">Supplemental Data Element</th>


  <td class="content-container">
    
      <em>ID</em>: sde-payer
      
      <br/>
      
    
    
      
        
          <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
        
        <br/>
      
    
    
      <em>Description</em>: SDE Payer
    
    
      
        <br/>
        
        <em>Logic Definition</em>: <a href="#cms826fhirhhpi-sde-payer">SDE Payer</a> 
      
    
  </td>
</tr>

<tr>
  

<th scope="row" class="row-header">Supplemental Data Element</th>


  <td class="content-container">
    
      <em>ID</em>: sde-race
      
      <br/>
      
    
    
      
        
          <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
        
        <br/>
      
    
    
      <em>Description</em>: SDE Race
    
    
      
        <br/>
        
        <em>Logic Definition</em>: <a href="#cms826fhirhhpi-sde-race">SDE Race</a> 
      
    
  </td>
</tr>

<tr>
  

<th scope="row" class="row-header">Supplemental Data Element</th>


  <td class="content-container">
    
      <em>ID</em>: sde-sex
      
      <br/>
      
    
    
      
        
          <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
        
        <br/>
      
    
    
      <em>Description</em>: SDE Sex
    
    
      
        <br/>
        
        <em>Logic Definition</em>: <a href="#cms826fhirhhpi-sde-sex">SDE Sex</a> 
      
    
  </td>
</tr>


<tr>


<th colspan="2" scope="row" class="row-header">Measure Logic</th>


</tr>

<tr>


<th scope="row" class="row-header">Primary Library</th>


<td class="content-container"><a href="Library-CMS826FHIRHHPI.html">CMS826FHIRHHPI</a></td>
</tr>




<tr>
  <th scope="row" class="row-header">Contents</th>
  <td class="content-container">
    <em><a href="#population-criteria">Population Criteria</a></em>
    <br/>
    <em><a href="#definitions">Logic Definitions</a></em>
    <br/>
    <em><a href="#terminology">Terminology</a></em>
    <br/>
    <em><a href="#dependencies">Dependencies</a></em>
    <br/>
    <em><a href="#data-requirements">Data Requirements</a></em>
    <br/>
  </td>
</tr>


  <tr>


<th colspan="2" scope="row" class="row-header"><a name="population-criteria"> </a>Population Criteria</th>


</tr>
  
  
  
  
    
    <tr>


<th colspan="2" scope="row" class="row-header">Measure Group (Rate) (ID: Group_1)</th>


</tr>
  
  
  
  
    
      
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
            
              
            
            <tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="primary-cms826fhirhhpi-initial-population"> </a>
    
    
    Initial Population
    
  </th>
</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Initial Population&quot;:
  &quot;Encounter with Age 18 and Older&quot;</code></pre>
  </td>

</tr>

          
        
          
        
          
        
          
        
          
            
              
            
            <tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="primary-cms826fhirhhpi-initial-population"> </a>
    
    
    Initial Population
    
  </th>
</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Initial Population&quot;:
  &quot;Encounter with Age 18 and Older&quot;</code></pre>
  </td>

</tr>

          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
      
    
  

  
    
      
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
            
              
            
            <tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="primary-cms826fhirhhpi-denominator"> </a>
    
    
    Denominator
    
  </th>
</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Denominator&quot;:
  &quot;Initial Population&quot;</code></pre>
  </td>

</tr>

          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
      
    
  

  
    
      
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
            
              
            
            <tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="primary-cms826fhirhhpi-denominator-exclusions"> </a>
    
    
    Denominator Exclusion
    
  </th>
</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Denominator Exclusions&quot;:
  &quot;Encounter with Deep Tissue Pressure Injury POA by Indicator or Skin Exam within First 72 Hours&quot;
    union &quot;Encounter with Stage 2, 3, 4 or Unstageable Pressure Injury POA&quot;</code></pre>
  </td>

</tr>

          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
      
    
  

  
    
      
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
            
              
            
            <tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="primary-cms826fhirhhpi-numerator"> </a>
    
    
    Numerator
    
  </th>
</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Numerator&quot;:
  &quot;Encounter with New Deep Tissue Pressure Injury&quot;
    union &quot;Encounter with New Stage 2, 3, 4 or Unstageable Pressure Injury&quot;</code></pre>
  </td>

</tr>

          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
      
    
  

  
  

  
  


  <tr>


<th colspan="2" scope="row" class="row-header"><a name="definitions"> </a>Logic Definitions</th>


</tr>
  
  
          
        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="supplementaldataelements-sde-sex"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> SupplementalDataElements</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Sex&quot;:
  case
    when Patient.sex = '248153007' then &quot;Male (finding)&quot;
    when Patient.sex = '248152002' then &quot;Female (finding)&quot;
    else null
  end</code></pre>
  </td>

</tr>



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="supplementaldataelements-sde-payer"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> SupplementalDataElements</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Payer&quot;:
  [Coverage: type in &quot;Payer Type&quot;] Payer
    return {
      code: Payer.type,
      period: Payer.period
    }</code></pre>
  </td>

</tr>



        



        



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="supplementaldataelements-sde-ethnicity"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> SupplementalDataElements</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Ethnicity&quot;:
  Patient.ethnicity E
    return Tuple {
      codes: { E.ombCategory } union E.detailed,
      display: E.text
    }</code></pre>
  </td>

</tr>



        



        



        



        



        



        



        



        



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="supplementaldataelements-sde-race"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> SupplementalDataElements</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Race&quot;:
  Patient.race R
    return Tuple {
      codes: R.ombCategory union R.detailed,
      display: R.text
    }</code></pre>
  </td>

</tr>



        



        



        



        



        



        



        



        



        



        



        



        



        




        
        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="qicorecommon-references"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> QICoreCommon</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@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&lt;Reference&gt;, resource Resource):
  exists (references R where R.references(resource))</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="qicorecommon-references"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> QICoreCommon</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@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, '/'))</code></pre>
  </td>

</tr>



        



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="qicorecommon-references"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> QICoreCommon</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@description: Returns true if the given reference is to the given resourceId
@comment: Returns true if the `resourceId` parameter exactly equals the tail of the given reference.
NOTE: This function assumes resources from the same source server.
*/
define fluent function references(reference Reference, resourceId String):
  resourceId = Last(Split(reference.reference, '/'))</code></pre>
  </td>

</tr>



        



        



        



        




        
        



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-sde-sex"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Sex&quot;:
  SDE.&quot;SDE Sex&quot;</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-encounter-with-age-18-and-older"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Encounter with Age 18 and Older&quot;:
  [&quot;Encounter&quot;: &quot;Encounter Inpatient&quot;] InpatientEncounter
    where AgeInYearsAt(date from start of InpatientEncounter.period) &gt;= 18
      and InpatientEncounter.period ends during day of &quot;Measurement Period&quot;
      and InpatientEncounter.status = 'finished'</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-encounter-with-new-deep-tissue-pressure-injury-not-poa-by-indicator"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Encounter with New Deep Tissue Pressure Injury Not POA by Indicator&quot;:
  &quot;Encounter with Age 18 and Older&quot; InpatientHospitalization
    where InpatientHospitalization.isDiagnosisPresentOnAdmission ( &quot;Pressure Injury Deep Tissue Diagnoses&quot;, &quot;Not Present On Admission or Documentation Insufficient to Determine&quot; )</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-clinical-skinexams-with-pressure-injury"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Clinical SkinExams with Pressure Injury&quot;:
  [&quot;ObservationClinicalResult&quot;: &quot;Physical findings of Skin&quot;] ClinicalSkinExam
    where ClinicalSkinExam.isIn ( &quot;Pressure Injury Stage 2, 3, 4 or Unstageable&quot; )</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-simple-skinexams-with-pressure-injury"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Simple SkinExams with Pressure Injury&quot;:
  [&quot;SimpleObservation&quot;: &quot;Physical findings of Skin&quot;] ObsSkinExam
    where ObsSkinExam.isIn ( &quot;Pressure Injury Stage 2, 3, 4 or Unstageable&quot; )</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-skinexams-with-pressure-injury"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// Skin exams may be either a SimpleObservation or an ObservationClinicalResult
// The following union is used to combine the two types of skin exams



define &quot;SkinExams with Pressure Injury&quot;:
  &quot;Clinical SkinExams with Pressure Injury&quot;
    union &quot;Simple SkinExams with Pressure Injury&quot;</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-encounter-with-new-deep-tissue-pressure-injury-by-skin-exam-after-first-72-hours"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Encounter with New Deep Tissue Pressure Injury by Skin Exam after First 72 Hours&quot;:
  &quot;Encounter with Age 18 and Older&quot; InpatientHospitalization
    let hospitalizationPeriod: InpatientHospitalization.hospitalizationWithObservation ( )
    with &quot;SkinExams with Pressure Injury&quot; SkinExam
      such that SkinExam.effective.toInterval ( ) starts during Interval[start of hospitalizationPeriod + 72 hours, end of hospitalizationPeriod]</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-encounter-with-new-deep-tissue-pressure-injury"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Encounter with New Deep Tissue Pressure Injury&quot;:
  &quot;Encounter with New Deep Tissue Pressure Injury Not POA by Indicator&quot;
    union &quot;Encounter with New Deep Tissue Pressure Injury by Skin Exam after First 72 Hours&quot;</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-encounter-with-new-stage-2,-3,-4-or-unstageable-pressure-injury-not-poa-by-indicator"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Encounter with New Stage 2, 3, 4 or Unstageable Pressure Injury Not POA by Indicator&quot;:
  &quot;Encounter with Age 18 and Older&quot; InpatientHospitalization
    where InpatientHospitalization.isDiagnosisPresentOnAdmission ( &quot;Pressure Injury Stage 2, 3, 4, or Unstageable Diagnoses&quot;, &quot;Not Present On Admission or Documentation Insufficient to Determine&quot; )</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-encounter-with-new-stage-2,-3,-4-or-unstageable-pressure-injury-by-skin-exam-after-first-24-hours"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Encounter with New Stage 2, 3, 4 or Unstageable Pressure Injury by Skin Exam after First 24 Hours&quot;:
  &quot;Encounter with Age 18 and Older&quot; InpatientHospitalization
    let hospitalizationPeriod: CQMCommon.&quot;HospitalizationWithObservation&quot; ( InpatientHospitalization )
    with &quot;SkinExams with Pressure Injury&quot; SkinExam
      such that SkinExam.effective.toInterval ( ) starts during Interval[start of hospitalizationPeriod + 24 hours, end of hospitalizationPeriod]</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-encounter-with-new-stage-2,-3,-4-or-unstageable-pressure-injury"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Encounter with New Stage 2, 3, 4 or Unstageable Pressure Injury&quot;:
  &quot;Encounter with New Stage 2, 3, 4 or Unstageable Pressure Injury Not POA by Indicator&quot;
    union &quot;Encounter with New Stage 2, 3, 4 or Unstageable Pressure Injury by Skin Exam after First 24 Hours&quot;</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-numerator"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Numerator&quot;:
  &quot;Encounter with New Deep Tissue Pressure Injury&quot;
    union &quot;Encounter with New Stage 2, 3, 4 or Unstageable Pressure Injury&quot;</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Initial Population&quot;:
  &quot;Encounter with Age 18 and Older&quot;</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-denominator"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Denominator&quot;:
  &quot;Initial Population&quot;</code></pre>
  </td>

</tr>



        



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-sde-payer"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Payer&quot;:
  SDE.&quot;SDE Payer&quot;</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Initial Population&quot;:
  &quot;Encounter with Age 18 and Older&quot;</code></pre>
  </td>

</tr>



        



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-sde-ethnicity"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Ethnicity&quot;:
  SDE.&quot;SDE Ethnicity&quot;</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-encounter-with-deep-tissue-pressure-injury-poa-by-indicator"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Encounter with Deep Tissue Pressure Injury POA by Indicator&quot;:
  &quot;Encounter with Age 18 and Older&quot; InpatientHospitalization
    where InpatientHospitalization.isDiagnosisPresentOnAdmission ( &quot;Pressure Injury Deep Tissue Diagnoses&quot;, &quot;Present on Admission or Clinically Undetermined&quot; )</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-encounter-with-deep-tissue-pressure-injury-poa-by-skin-exam-within-first-72-hours"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Encounter with Deep Tissue Pressure Injury POA by Skin Exam within First 72 Hours&quot;:
  &quot;Encounter with Age 18 and Older&quot; InpatientHospitalization
    let hospitalizationPeriod: InpatientHospitalization.hospitalizationWithObservation ( )
    with &quot;SkinExams with Pressure Injury&quot; SkinExam
      such that SkinExam.effective.toInterval ( ) starts during Interval[start of hospitalizationPeriod, start of hospitalizationPeriod + 72 hours]</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-encounter-with-deep-tissue-pressure-injury-poa-by-indicator-or-skin-exam-within-first-72-hours"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Encounter with Deep Tissue Pressure Injury POA by Indicator or Skin Exam within First 72 Hours&quot;:
  &quot;Encounter with Deep Tissue Pressure Injury POA by Indicator&quot;
    union &quot;Encounter with Deep Tissue Pressure Injury POA by Skin Exam within First 72 Hours&quot;</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-encounter-with-stage-2,-3,-4,-or-unstageable-pressure-injury-present-on-admission-by-poa-indicator"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Encounter with Stage 2, 3, 4, or Unstageable Pressure Injury Present on Admission by POA Indicator&quot;:
  &quot;Encounter with Age 18 and Older&quot; InpatientHospitalization
    where InpatientHospitalization.isDiagnosisPresentOnAdmission ( &quot;Pressure Injury Stage 2, 3, 4, or Unstageable Diagnoses&quot;, &quot;Present on Admission or Clinically Undetermined&quot; )</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-encounter-with-stage-2,-3,-4-or-unstageable-pressure-injury-poa-by-skin-exam-within-24-hours"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Encounter with Stage 2, 3, 4 or Unstageable Pressure Injury POA by Skin Exam within 24 Hours&quot;:
  &quot;Encounter with Age 18 and Older&quot; InpatientHospitalization
    let hospitalizationPeriod: InpatientHospitalization.hospitalizationWithObservation ( )
    with &quot;SkinExams with Pressure Injury&quot; SkinExam
      such that SkinExam.effective.toInterval ( ) starts during Interval[start of hospitalizationPeriod, start of hospitalizationPeriod + 24 hours]</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-encounter-with-stage-2,-3,-4-or-unstageable-pressure-injury-poa"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Encounter with Stage 2, 3, 4 or Unstageable Pressure Injury POA&quot;:
  &quot;Encounter with Stage 2, 3, 4, or Unstageable Pressure Injury Present on Admission by POA Indicator&quot;
    union &quot;Encounter with Stage 2, 3, 4 or Unstageable Pressure Injury POA by Skin Exam within 24 Hours&quot;</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-denominator-exclusions"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Denominator Exclusions&quot;:
  &quot;Encounter with Deep Tissue Pressure Injury POA by Indicator or Skin Exam within First 72 Hours&quot;
    union &quot;Encounter with Stage 2, 3, 4 or Unstageable Pressure Injury POA&quot;</code></pre>
  </td>

</tr>



        



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-sde-race"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Race&quot;:
  SDE.&quot;SDE Race&quot;</code></pre>
  </td>

</tr>



        



        



        



        



        



        



        



        



        



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cms826fhirhhpi-isin"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CMS826FHIRHHPI</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// @description This function, attached to either a SimpleObseration or an ObservationClinicalResult,  is used to determine if the observation is completed and its value is in the given value set
// @example  anObservation.isIn(&quot;Pressure Injury Stage 2, 3, 4 or Unstageable&quot;)



define fluent function isIn(observation Choice&lt;&quot;SimpleObservation&quot;, &quot;ObservationClinicalResult&quot;&gt;, vset ValueSet):
  observation.status in { 'final', 'amended', 'corrected' }
    and observation.effective during &quot;Measurement Period&quot;
    and case
      when observation is SimpleObservation then ( observation as SimpleObservation ).value as Concept in vset
      when observation is ObservationClinicalResult then ( observation as ObservationClinicalResult ).value as Concept in vset 
      else null end</code></pre>
  </td>

</tr>



        



        




        
        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cqmcommon-isdiagnosispresentonadmission"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CQMCommon</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
 @description: Returns true if the given diagnosis is present on admission, based on the given poaValueSet
 @comment: See the QICore 6 Authoring Patterns discussion on [Principal Diagnosis and Present on Admission](https://github.com/cqframework/CQL-Formatting-and-Usage-Wiki/wiki/Authoring-Patterns-QICore-v6.0.0#conditions-present-on-admission-and-principal-diagnoses) for more information
 */
 define fluent function isDiagnosisPresentOnAdmission(encounter Encounter, diagnosisValueSet ValueSet, poaValueSet ValueSet):
   exists (
     (encounter.claimDiagnosis()) CD
       where CD.onAdmission in poaValueSet
         and (
           CD.diagnosis in diagnosisValueSet
             or CD.diagnosis.getCondition().code in diagnosisValueSet
         )
   )</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cqmcommon-claimdiagnosis"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CQMCommon</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@description: Returns the claim diagnosis elements for the given encounter
@comment: See the QICore 6 Authoring Patterns discussion on [Principal Diagnosis and Present on Admission](https://github.com/cqframework/CQL-Formatting-and-Usage-Wiki/wiki/Authoring-Patterns-QICore-v6.0.0#conditions-present-on-admission-and-principal-diagnoses) for more information
*/
define fluent function claimDiagnosis(encounter Encounter):
  encounter E
    let 
      claim: ([Claim] C where C.status = 'active' and C.use = 'claim' and exists (C.item I where I.encounter.references(E))),
      claimItem: (claim.item I where I.encounter.references(E))
    return claim.diagnosis D where D.sequence in claimItem.diagnosisSequence</code></pre>
  </td>

</tr>



        



        



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cqmcommon-getcondition"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CQMCommon</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@description: Returns the Condition resource for the given reference
*/
define fluent function getCondition(reference Reference):
  singleton from (([ConditionEncounterDiagnosis] union [ConditionProblemsHealthConcerns]) C where reference.references(C.id))</code></pre>
  </td>

</tr>



        



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cqmcommon-hospitalizationwithobservation"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CQMCommon</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@description: Hospitalization with Observation returns the total interval from the start of any immediately prior emergency department visit through the observation visit to the discharge of the given encounter
*/
define fluent function hospitalizationWithObservation(TheEncounter Encounter ):
  TheEncounter Visit
  		let ObsVisit: Last([Encounter: &quot;Observation Services&quot;] LastObs
  				where LastObs.status = 'finished'
            and LastObs.period ends 1 hour or less on or before start of Visit.period
  				sort by end of period
  			),
  			VisitStart: Coalesce(start of ObsVisit.period, start of Visit.period),
  			EDVisit: Last([Encounter: &quot;Emergency Department Visit&quot;] LastED
  				where LastED.status = 'finished'
            and LastED.period ends 1 hour or less on or before VisitStart
  				sort by end of period
  			)
  		return Interval[Coalesce(start of EDVisit.period, VisitStart), end of Visit.period]</code></pre>
  </td>

</tr>



        



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="cqmcommon-hospitalizationwithobservation"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> CQMCommon</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@description: Hospitalization with Observation returns the total interval from the start of any immediately prior emergency department visit through the observation visit to the discharge of the given encounter
@deprecated: This function is deprecated. Use the fluent function `hospitalizationWithObservation()` instead.
*/
define function &quot;HospitalizationWithObservation&quot;(TheEncounter Encounter ):
  TheEncounter Visit
  		let ObsVisit: Last([Encounter: &quot;Observation Services&quot;] LastObs
  				where LastObs.status = 'finished'
            and LastObs.period ends 1 hour or less on or before start of Visit.period
  				sort by end of period
  			),
  			VisitStart: Coalesce(start of ObsVisit.period, start of Visit.period),
  			EDVisit: Last([Encounter: &quot;Emergency Department Visit&quot;] LastED
  				where LastED.status = 'finished'
            and LastED.period ends 1 hour or less on or before VisitStart
  				sort by end of period
  			)
  		return Interval[Coalesce(start of EDVisit.period, VisitStart), end of Visit.period]</code></pre>
  </td>

</tr>



        




        
        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="fhirhelpers-tostring"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> FHIRHelpers</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToString(value uri): value.value</code></pre>
  </td>

</tr>



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="fhirhelpers-tointerval"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> FHIRHelpers</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@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.&quot;start&quot; is null then
            Interval(period.&quot;start&quot;.value, period.&quot;end&quot;.value]
        else
            Interval[period.&quot;start&quot;.value, period.&quot;end&quot;.value]</code></pre>
  </td>

</tr>



        



        



        



        



        



        



        



        



        



        


<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="fhirhelpers-tocode"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> FHIRHelpers</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@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
        }</code></pre>
  </td>

</tr>





  
  


  <tr>


<th colspan="2" scope="row" class="row-header"><a name="terminology"> </a>Terminology</th>


</tr>
  
  
  

 

 

 

 

 

 

 


<tr>
  
  
  

<th scope="row" class="row-header">Code System</th>


  
  <td class="content-container">
    
    <em>Description</em>: Code system SNOMEDCT
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <a href="http://hl7.org/fhir/R4/codesystem-snomedct.html">SNOMED CT (all versions)</a>
    <br/>
    <em>Canonical URL</em>: <tt>http://snomed.info/sct</tt>
    
  </td>
</tr>
 


<tr>
  
  
  

<th scope="row" class="row-header">Code System</th>


  
  <td class="content-container">
    
    <em>Description</em>: Code system LOINC
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <a href="http://terminology.hl7.org/5.5.0/CodeSystem-v3-loinc.html">Logical Observation Identifiers, Names and Codes (LOINC)</a>
    <br/>
    <em>Canonical URL</em>: <tt>http://loinc.org</tt>
    
  </td>
</tr>
 


<tr>
  
  

<th scope="row" class="row-header">Value Set</th>


  
  
  <td class="content-container">
    
    <em>Description</em>: Value set Encounter Inpatient
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <code>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307</code>
    <br/>
    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307</tt>
    
  </td>
</tr>
 


<tr>
  
  

<th scope="row" class="row-header">Value Set</th>


  
  
  <td class="content-container">
    
    <em>Description</em>: Value set Pressure Injury Deep Tissue Diagnoses
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <code>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.194</code>
    <br/>
    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.194</tt>
    
  </td>
</tr>
 


<tr>
  
  

<th scope="row" class="row-header">Value Set</th>


  
  
  <td class="content-container">
    
    <em>Description</em>: Value set Not Present On Admission or Documentation Insufficient to Determine
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <code>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.198</code>
    <br/>
    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.198</tt>
    
  </td>
</tr>
 


<tr>
  
  

<th scope="row" class="row-header">Value Set</th>


  
  
  <td class="content-container">
    
    <em>Description</em>: Value set Observation Services
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <code>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143</code>
    <br/>
    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143</tt>
    
  </td>
</tr>
 


<tr>
  
  

<th scope="row" class="row-header">Value Set</th>


  
  
  <td class="content-container">
    
    <em>Description</em>: Value set Emergency Department Visit
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <code>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292</code>
    <br/>
    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292</tt>
    
  </td>
</tr>
 


<tr>
  
  

<th scope="row" class="row-header">Value Set</th>


  
  
  <td class="content-container">
    
    <em>Description</em>: Value set Pressure Injury Stage 2, 3, 4 or Unstageable
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <code>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.113</code>
    <br/>
    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.113</tt>
    
  </td>
</tr>
 


<tr>
  
  

<th scope="row" class="row-header">Value Set</th>


  
  
  <td class="content-container">
    
    <em>Description</em>: Value set Pressure Injury Stage 2, 3, 4, or Unstageable Diagnoses
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <code>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.196</code>
    <br/>
    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.196</tt>
    
  </td>
</tr>
 


<tr>
  
  

<th scope="row" class="row-header">Value Set</th>


  
  
  <td class="content-container">
    
    <em>Description</em>: Value set Payer Type
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <code>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591</code>
    <br/>
    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591</tt>
    
  </td>
</tr>
 


<tr>
  
  

<th scope="row" class="row-header">Value Set</th>


  
  
  <td class="content-container">
    
    <em>Description</em>: Value set Present on Admission or Clinically Undetermined
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <code>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.197</code>
    <br/>
    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.197</tt>
    
  </td>
</tr>
 


  
  <tr>
    <th scope="row" class="row-header">Direct Reference Code</th>
    <td class="content-container">
      
        <em>Display</em>: Male (finding)
        <br/>
      
      <em>Code</em>: 248153007
      <br/>
      <em>System</em>: <tt>http://snomed.info/sct</tt>
    </td>
  </tr>

  <tr>
    <th scope="row" class="row-header">Direct Reference Code</th>
    <td class="content-container">
      
        <em>Display</em>: Female (finding)
        <br/>
      
      <em>Code</em>: 248152002
      <br/>
      <em>System</em>: <tt>http://snomed.info/sct</tt>
    </td>
  </tr>

  <tr>
    <th scope="row" class="row-header">Direct Reference Code</th>
    <td class="content-container">
      
        <em>Display</em>: Physical findings of Skin
        <br/>
      
      <em>Code</em>: 8709-8
      <br/>
      <em>System</em>: <tt>http://loinc.org</tt>
    </td>
  </tr>

  
  


  <tr>


<th colspan="2" scope="row" class="row-header"><a name="dependencies"> </a>Dependencies</th>


</tr>
  
  
  


<tr>
  

<th scope="row" class="row-header">Dependency</th>


  <td class="content-container">
    
    <em>Description</em>: Library SDE
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <code>Library/SupplementalDataElements|5.1.000</code>
    <br/>
    <em>Canonical URL</em>: <tt>Library/SupplementalDataElements|5.1.000</tt>
    
  </td>
</tr>
 


<tr>
  

<th scope="row" class="row-header">Dependency</th>


  <td class="content-container">
    
    <em>Description</em>: Library FHIRHelpers
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <code>Library/FHIRHelpers|4.4.000</code>
    <br/>
    <em>Canonical URL</em>: <tt>Library/FHIRHelpers|4.4.000</tt>
    
  </td>
</tr>
 


<tr>
  

<th scope="row" class="row-header">Dependency</th>


  <td class="content-container">
    
    <em>Description</em>: Library FHIRHelpers
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <code>Library/FHIRHelpers|4.4.000</code>
    <br/>
    <em>Canonical URL</em>: <tt>Library/FHIRHelpers|4.4.000</tt>
    
  </td>
</tr>
 


<tr>
  

<th scope="row" class="row-header">Dependency</th>


  <td class="content-container">
    
    <em>Description</em>: Library CQMCommon
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <code>Library/CQMCommon|4.1.000</code>
    <br/>
    <em>Canonical URL</em>: <tt>Library/CQMCommon|4.1.000</tt>
    
  </td>
</tr>
 


<tr>
  

<th scope="row" class="row-header">Dependency</th>


  <td class="content-container">
    
    <em>Description</em>: Library QICoreCommon
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <code>Library/QICoreCommon|4.0.000</code>
    <br/>
    <em>Canonical URL</em>: <tt>Library/QICoreCommon|4.0.000</tt>
    
  </td>
</tr>
 


<tr>
  

<th scope="row" class="row-header">Dependency</th>


  <td class="content-container">
    
    <em>Description</em>: Library FHIRHelpers
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <code>Library/FHIRHelpers|4.4.000</code>
    <br/>
    <em>Canonical URL</em>: <tt>Library/FHIRHelpers|4.4.000</tt>
    
  </td>
</tr>
 


<tr>
  

<th scope="row" class="row-header">Dependency</th>


  <td class="content-container">
    
    <em>Description</em>: Library QICoreCommon
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <code>Library/QICoreCommon|4.0.000</code>
    <br/>
    <em>Canonical URL</em>: <tt>Library/QICoreCommon|4.0.000</tt>
    
  </td>
</tr>
 

 

 

 

 

 

 

 

 

 

 

 


  
  


  <tr>


<th colspan="2" scope="row" class="row-header"><a name="data-requirements"> </a>Data Requirements</th>


</tr>
  
  
  
<tr>
  <th scope="row" class="row-header">Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Patient
    <br/>
  
    <em>Profile(s)</em>: 
  
    <code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</code>
    <br/>        
  
   
   
   
  </td>
</tr>

<tr>
  <th scope="row" class="row-header">Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Claim
    <br/>
  
    <em>Profile(s)</em>: 
  
    <code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-claim</code>
    <br/>        
  
   
   
    <em>Must Support Elements</em>: status, status.value, use, use.value, item
    <br/>
   
   
  </td>
</tr>

<tr>
  <th scope="row" class="row-header">Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Condition
    <br/>
  
    <em>Profile(s)</em>: 
  
    <code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition-encounter-diagnosis</code>
    <br/>        
  
   
   
   
  </td>
</tr>

<tr>
  <th scope="row" class="row-header">Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Condition
    <br/>
  
    <em>Profile(s)</em>: 
  
    <code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition-problems-health-concerns</code>
    <br/>        
  
   
   
   
  </td>
</tr>

<tr>
  <th scope="row" class="row-header">Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Observation
    <br/>
  
    <em>Profile(s)</em>: 
  
    <code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation-clinical-result</code>
    <br/>        
  
   
   
    <em>Must Support Elements</em>: code
    <br/>
   
  
    <em>Code Filter(s)</em>: 
    <br/>
  
  
    <span class="tab-one"><em>Path</em>: code</span>
    <br/>
  
  
  
  
    <span class="tab-one"><em>Code(s)</em>: 
    
      
      <a href="https://loinc.org/8709-8">LOINC 8709-8</a>: Physical findings of Skin
      
    
    </span>
    <br/>
  
  
   
  </td>
</tr>

<tr>
  <th scope="row" class="row-header">Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Observation
    <br/>
  
    <em>Profile(s)</em>: 
  
    <code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-simple-observation</code>
    <br/>        
  
   
   
    <em>Must Support Elements</em>: code
    <br/>
   
  
    <em>Code Filter(s)</em>: 
    <br/>
  
  
    <span class="tab-one"><em>Path</em>: code</span>
    <br/>
  
  
  
  
    <span class="tab-one"><em>Code(s)</em>: 
    
      
      <a href="https://loinc.org/8709-8">LOINC 8709-8</a>: Physical findings of Skin
      
    
    </span>
    <br/>
  
  
   
  </td>
</tr>

<tr>
  <th scope="row" class="row-header">Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Encounter
    <br/>
  
    <em>Profile(s)</em>: 
  
    <code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter</code>
    <br/>        
  
   
   
    <em>Must Support Elements</em>: type, status, status.value, period
    <br/>
   
  
    <em>Code Filter(s)</em>: 
    <br/>
  
  
    <span class="tab-one"><em>Path</em>: type</span>
    <br/>
  
  
  
    <span class="tab-one"><em>ValueSet</em>:</span> <code>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143</code>
    <br/> 
  
  
  
   
  </td>
</tr>

<tr>
  <th scope="row" class="row-header">Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Encounter
    <br/>
  
    <em>Profile(s)</em>: 
  
    <code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter</code>
    <br/>        
  
   
   
    <em>Must Support Elements</em>: type, status, status.value, period
    <br/>
   
  
    <em>Code Filter(s)</em>: 
    <br/>
  
  
    <span class="tab-one"><em>Path</em>: type</span>
    <br/>
  
  
  
    <span class="tab-one"><em>ValueSet</em>:</span> <code>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292</code>
    <br/> 
  
  
  
   
  </td>
</tr>

<tr>
  <th scope="row" class="row-header">Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Patient
    <br/>
  
    <em>Profile(s)</em>: 
  
    <code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</code>
    <br/>        
  
   
   
    <em>Must Support Elements</em>: url
    <br/>
   
   
  </td>
</tr>

<tr>
  <th scope="row" class="row-header">Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Coverage
    <br/>
  
    <em>Profile(s)</em>: 
  
    <code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage</code>
    <br/>        
  
   
   
    <em>Must Support Elements</em>: type, period
    <br/>
   
  
    <em>Code Filter(s)</em>: 
    <br/>
  
  
    <span class="tab-one"><em>Path</em>: type</span>
    <br/>
  
  
  
    <span class="tab-one"><em>ValueSet</em>:</span> <code>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591</code>
    <br/> 
  
  
  
   
  </td>
</tr>

<tr>
  <th scope="row" class="row-header">Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Encounter
    <br/>
  
    <em>Profile(s)</em>: 
  
    <code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter</code>
    <br/>        
  
   
   
    <em>Must Support Elements</em>: type, period, status, status.value
    <br/>
   
  
    <em>Code Filter(s)</em>: 
    <br/>
  
  
    <span class="tab-one"><em>Path</em>: type</span>
    <br/>
  
  
  
    <span class="tab-one"><em>ValueSet</em>:</span> <code>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307</code>
    <br/> 
  
  
  
   
  </td>
</tr>

<tr>
  <th scope="row" class="row-header">Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Patient
    <br/>
  
    <em>Profile(s)</em>: 
  
    <code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</code>
    <br/>        
  
   
   
    <em>Must Support Elements</em>: url, extension
    <br/>
   
   
  </td>
</tr>

  
  

<tr>
  <th colspan="2" scope="row" class="row-header">Generated using version 0.4.8 of the sample-content-ig Liquid templates</th>
</tr>

    </tbody>
  </table>
</div>
  </text>
  <contained>
    <Library>
      <id value="effective-data-requirements"/>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
        <valueCoding>
          <system value="http://snomed.info/sct"/>
          <code value="248153007"/>
          <display value="Male (finding)"/>
        </valueCoding>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
        <valueCoding>
          <system value="http://snomed.info/sct"/>
          <code value="248152002"/>
          <display value="Female (finding)"/>
        </valueCoding>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
        <valueCoding>
          <system value="http://loinc.org"/>
          <code value="8709-8"/>
          <display value="Physical findings of Skin"/>
        </valueCoding>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="SupplementalDataElements"/>
        </extension>
        <extension url="name">
          <valueString value="SDE Sex"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;SDE Sex&quot;:
  case
    when Patient.sex = '248153007' then &quot;Male (finding)&quot;
    when Patient.sex = '248152002' then &quot;Female (finding)&quot;
    else null
  end"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="0"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString value="SDE Sex"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;SDE Sex&quot;:
  SDE.&quot;SDE Sex&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString value="Encounter with Age 18 and Older"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Encounter with Age 18 and Older&quot;:
  [&quot;Encounter&quot;: &quot;Encounter Inpatient&quot;] InpatientEncounter
    where AgeInYearsAt(date from start of InpatientEncounter.period) &gt;= 18
      and InpatientEncounter.period ends during day of &quot;Measurement Period&quot;
      and InpatientEncounter.status = 'finished'"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="2"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString
                       value="Encounter with New Deep Tissue Pressure Injury Not POA by Indicator"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Encounter with New Deep Tissue Pressure Injury Not POA by Indicator&quot;:
  &quot;Encounter with Age 18 and Older&quot; InpatientHospitalization
    where InpatientHospitalization.isDiagnosisPresentOnAdmission ( &quot;Pressure Injury Deep Tissue Diagnoses&quot;, &quot;Not Present On Admission or Documentation Insufficient to Determine&quot; )"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="3"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString value="Clinical SkinExams with Pressure Injury"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Clinical SkinExams with Pressure Injury&quot;:
  [&quot;ObservationClinicalResult&quot;: &quot;Physical findings of Skin&quot;] ClinicalSkinExam
    where ClinicalSkinExam.isIn ( &quot;Pressure Injury Stage 2, 3, 4 or Unstageable&quot; )"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="4"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString value="Simple SkinExams with Pressure Injury"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Simple SkinExams with Pressure Injury&quot;:
  [&quot;SimpleObservation&quot;: &quot;Physical findings of Skin&quot;] ObsSkinExam
    where ObsSkinExam.isIn ( &quot;Pressure Injury Stage 2, 3, 4 or Unstageable&quot; )"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="5"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString value="SkinExams with Pressure Injury"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="// Skin exams may be either a SimpleObservation or an ObservationClinicalResult
// The following union is used to combine the two types of skin exams



define &quot;SkinExams with Pressure Injury&quot;:
  &quot;Clinical SkinExams with Pressure Injury&quot;
    union &quot;Simple SkinExams with Pressure Injury&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="6"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString
                       value="Encounter with New Deep Tissue Pressure Injury by Skin Exam after First 72 Hours"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Encounter with New Deep Tissue Pressure Injury by Skin Exam after First 72 Hours&quot;:
  &quot;Encounter with Age 18 and Older&quot; InpatientHospitalization
    let hospitalizationPeriod: InpatientHospitalization.hospitalizationWithObservation ( )
    with &quot;SkinExams with Pressure Injury&quot; SkinExam
      such that SkinExam.effective.toInterval ( ) starts during Interval[start of hospitalizationPeriod + 72 hours, end of hospitalizationPeriod]"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="7"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString
                       value="Encounter with New Deep Tissue Pressure Injury"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Encounter with New Deep Tissue Pressure Injury&quot;:
  &quot;Encounter with New Deep Tissue Pressure Injury Not POA by Indicator&quot;
    union &quot;Encounter with New Deep Tissue Pressure Injury by Skin Exam after First 72 Hours&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="8"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString
                       value="Encounter with New Stage 2, 3, 4 or Unstageable Pressure Injury Not POA by Indicator"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Encounter with New Stage 2, 3, 4 or Unstageable Pressure Injury Not POA by Indicator&quot;:
  &quot;Encounter with Age 18 and Older&quot; InpatientHospitalization
    where InpatientHospitalization.isDiagnosisPresentOnAdmission ( &quot;Pressure Injury Stage 2, 3, 4, or Unstageable Diagnoses&quot;, &quot;Not Present On Admission or Documentation Insufficient to Determine&quot; )"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="9"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString
                       value="Encounter with New Stage 2, 3, 4 or Unstageable Pressure Injury by Skin Exam after First 24 Hours"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Encounter with New Stage 2, 3, 4 or Unstageable Pressure Injury by Skin Exam after First 24 Hours&quot;:
  &quot;Encounter with Age 18 and Older&quot; InpatientHospitalization
    let hospitalizationPeriod: CQMCommon.&quot;HospitalizationWithObservation&quot; ( InpatientHospitalization )
    with &quot;SkinExams with Pressure Injury&quot; SkinExam
      such that SkinExam.effective.toInterval ( ) starts during Interval[start of hospitalizationPeriod + 24 hours, end of hospitalizationPeriod]"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="10"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString
                       value="Encounter with New Stage 2, 3, 4 or Unstageable Pressure Injury"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Encounter with New Stage 2, 3, 4 or Unstageable Pressure Injury&quot;:
  &quot;Encounter with New Stage 2, 3, 4 or Unstageable Pressure Injury Not POA by Indicator&quot;
    union &quot;Encounter with New Stage 2, 3, 4 or Unstageable Pressure Injury by Skin Exam after First 24 Hours&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="11"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString value="Numerator"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Numerator&quot;:
  &quot;Encounter with New Deep Tissue Pressure Injury&quot;
    union &quot;Encounter with New Stage 2, 3, 4 or Unstageable Pressure Injury&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="12"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString value="Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Initial Population&quot;:
  &quot;Encounter with Age 18 and Older&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="13"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString value="Denominator"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Denominator&quot;:
  &quot;Initial Population&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="14"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="SupplementalDataElements"/>
        </extension>
        <extension url="name">
          <valueString value="SDE Payer"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;SDE Payer&quot;:
  [Coverage: type in &quot;Payer Type&quot;] Payer
    return {
      code: Payer.type,
      period: Payer.period
    }"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="15"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString value="SDE Payer"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;SDE Payer&quot;:
  SDE.&quot;SDE Payer&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="16"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString value="Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Initial Population&quot;:
  &quot;Encounter with Age 18 and Older&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="17"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="SupplementalDataElements"/>
        </extension>
        <extension url="name">
          <valueString value="SDE Ethnicity"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;SDE Ethnicity&quot;:
  Patient.ethnicity E
    return Tuple {
      codes: { E.ombCategory } union E.detailed,
      display: E.text
    }"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="18"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString value="SDE Ethnicity"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;SDE Ethnicity&quot;:
  SDE.&quot;SDE Ethnicity&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="19"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString
                       value="Encounter with Deep Tissue Pressure Injury POA by Indicator"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Encounter with Deep Tissue Pressure Injury POA by Indicator&quot;:
  &quot;Encounter with Age 18 and Older&quot; InpatientHospitalization
    where InpatientHospitalization.isDiagnosisPresentOnAdmission ( &quot;Pressure Injury Deep Tissue Diagnoses&quot;, &quot;Present on Admission or Clinically Undetermined&quot; )"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="20"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString
                       value="Encounter with Deep Tissue Pressure Injury POA by Skin Exam within First 72 Hours"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Encounter with Deep Tissue Pressure Injury POA by Skin Exam within First 72 Hours&quot;:
  &quot;Encounter with Age 18 and Older&quot; InpatientHospitalization
    let hospitalizationPeriod: InpatientHospitalization.hospitalizationWithObservation ( )
    with &quot;SkinExams with Pressure Injury&quot; SkinExam
      such that SkinExam.effective.toInterval ( ) starts during Interval[start of hospitalizationPeriod, start of hospitalizationPeriod + 72 hours]"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="21"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString
                       value="Encounter with Deep Tissue Pressure Injury POA by Indicator or Skin Exam within First 72 Hours"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Encounter with Deep Tissue Pressure Injury POA by Indicator or Skin Exam within First 72 Hours&quot;:
  &quot;Encounter with Deep Tissue Pressure Injury POA by Indicator&quot;
    union &quot;Encounter with Deep Tissue Pressure Injury POA by Skin Exam within First 72 Hours&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="22"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString
                       value="Encounter with Stage 2, 3, 4, or Unstageable Pressure Injury Present on Admission by POA Indicator"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Encounter with Stage 2, 3, 4, or Unstageable Pressure Injury Present on Admission by POA Indicator&quot;:
  &quot;Encounter with Age 18 and Older&quot; InpatientHospitalization
    where InpatientHospitalization.isDiagnosisPresentOnAdmission ( &quot;Pressure Injury Stage 2, 3, 4, or Unstageable Diagnoses&quot;, &quot;Present on Admission or Clinically Undetermined&quot; )"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="23"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString
                       value="Encounter with Stage 2, 3, 4 or Unstageable Pressure Injury POA by Skin Exam within 24 Hours"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Encounter with Stage 2, 3, 4 or Unstageable Pressure Injury POA by Skin Exam within 24 Hours&quot;:
  &quot;Encounter with Age 18 and Older&quot; InpatientHospitalization
    let hospitalizationPeriod: InpatientHospitalization.hospitalizationWithObservation ( )
    with &quot;SkinExams with Pressure Injury&quot; SkinExam
      such that SkinExam.effective.toInterval ( ) starts during Interval[start of hospitalizationPeriod, start of hospitalizationPeriod + 24 hours]"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="24"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString
                       value="Encounter with Stage 2, 3, 4 or Unstageable Pressure Injury POA"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Encounter with Stage 2, 3, 4 or Unstageable Pressure Injury POA&quot;:
  &quot;Encounter with Stage 2, 3, 4, or Unstageable Pressure Injury Present on Admission by POA Indicator&quot;
    union &quot;Encounter with Stage 2, 3, 4 or Unstageable Pressure Injury POA by Skin Exam within 24 Hours&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="25"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString value="Denominator Exclusions"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Denominator Exclusions&quot;:
  &quot;Encounter with Deep Tissue Pressure Injury POA by Indicator or Skin Exam within First 72 Hours&quot;
    union &quot;Encounter with Stage 2, 3, 4 or Unstageable Pressure Injury POA&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="26"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="SupplementalDataElements"/>
        </extension>
        <extension url="name">
          <valueString value="SDE Race"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;SDE Race&quot;:
  Patient.race R
    return Tuple {
      codes: R.ombCategory union R.detailed,
      display: R.text
    }"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="27"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString value="SDE Race"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;SDE Race&quot;:
  SDE.&quot;SDE Race&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="28"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="FHIRHelpers"/>
        </extension>
        <extension url="name">
          <valueString value="ToString"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define function ToString(value uri): value.value"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="29"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="FHIRHelpers"/>
        </extension>
        <extension url="name">
          <valueString value="ToInterval"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="/*
@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.&quot;start&quot; is null then
            Interval(period.&quot;start&quot;.value, period.&quot;end&quot;.value]
        else
            Interval[period.&quot;start&quot;.value, period.&quot;end&quot;.value]"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="30"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CQMCommon"/>
        </extension>
        <extension url="name">
          <valueString value="isDiagnosisPresentOnAdmission"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="/*
 @description: Returns true if the given diagnosis is present on admission, based on the given poaValueSet
 @comment: See the QICore 6 Authoring Patterns discussion on [Principal Diagnosis and Present on Admission](https://github.com/cqframework/CQL-Formatting-and-Usage-Wiki/wiki/Authoring-Patterns-QICore-v6.0.0#conditions-present-on-admission-and-principal-diagnoses) for more information
 */
 define fluent function isDiagnosisPresentOnAdmission(encounter Encounter, diagnosisValueSet ValueSet, poaValueSet ValueSet):
   exists (
     (encounter.claimDiagnosis()) CD
       where CD.onAdmission in poaValueSet
         and (
           CD.diagnosis in diagnosisValueSet
             or CD.diagnosis.getCondition().code in diagnosisValueSet
         )
   )"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="31"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CQMCommon"/>
        </extension>
        <extension url="name">
          <valueString value="claimDiagnosis"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="/*
@description: Returns the claim diagnosis elements for the given encounter
@comment: See the QICore 6 Authoring Patterns discussion on [Principal Diagnosis and Present on Admission](https://github.com/cqframework/CQL-Formatting-and-Usage-Wiki/wiki/Authoring-Patterns-QICore-v6.0.0#conditions-present-on-admission-and-principal-diagnoses) for more information
*/
define fluent function claimDiagnosis(encounter Encounter):
  encounter E
    let 
      claim: ([Claim] C where C.status = 'active' and C.use = 'claim' and exists (C.item I where I.encounter.references(E))),
      claimItem: (claim.item I where I.encounter.references(E))
    return claim.diagnosis D where D.sequence in claimItem.diagnosisSequence"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="32"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="QICoreCommon"/>
        </extension>
        <extension url="name">
          <valueString value="references"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="/*
@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&lt;Reference&gt;, resource Resource):
  exists (references R where R.references(resource))"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="33"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="QICoreCommon"/>
        </extension>
        <extension url="name">
          <valueString value="references"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="/*
@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, '/'))"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="34"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CQMCommon"/>
        </extension>
        <extension url="name">
          <valueString value="getCondition"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="/*
@description: Returns the Condition resource for the given reference
*/
define fluent function getCondition(reference Reference):
  singleton from (([ConditionEncounterDiagnosis] union [ConditionProblemsHealthConcerns]) C where reference.references(C.id))"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="35"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="QICoreCommon"/>
        </extension>
        <extension url="name">
          <valueString value="references"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="/*
@description: Returns true if the given reference is to the given resourceId
@comment: Returns true if the `resourceId` parameter exactly equals the tail of the given reference.
NOTE: This function assumes resources from the same source server.
*/
define fluent function references(reference Reference, resourceId String):
  resourceId = Last(Split(reference.reference, '/'))"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="36"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CQMCommon"/>
        </extension>
        <extension url="name">
          <valueString value="hospitalizationWithObservation"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="/*
@description: Hospitalization with Observation returns the total interval from the start of any immediately prior emergency department visit through the observation visit to the discharge of the given encounter
*/
define fluent function hospitalizationWithObservation(TheEncounter Encounter ):
  TheEncounter Visit
  		let ObsVisit: Last([Encounter: &quot;Observation Services&quot;] LastObs
  				where LastObs.status = 'finished'
            and LastObs.period ends 1 hour or less on or before start of Visit.period
  				sort by end of period
  			),
  			VisitStart: Coalesce(start of ObsVisit.period, start of Visit.period),
  			EDVisit: Last([Encounter: &quot;Emergency Department Visit&quot;] LastED
  				where LastED.status = 'finished'
            and LastED.period ends 1 hour or less on or before VisitStart
  				sort by end of period
  			)
  		return Interval[Coalesce(start of EDVisit.period, VisitStart), end of Visit.period]"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="37"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CMS826FHIRHHPI"/>
        </extension>
        <extension url="name">
          <valueString value="isIn"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="// @description This function, attached to either a SimpleObseration or an ObservationClinicalResult,  is used to determine if the observation is completed and its value is in the given value set
// @example  anObservation.isIn(&quot;Pressure Injury Stage 2, 3, 4 or Unstageable&quot;)



define fluent function isIn(observation Choice&lt;&quot;SimpleObservation&quot;, &quot;ObservationClinicalResult&quot;&gt;, vset ValueSet):
  observation.status in { 'final', 'amended', 'corrected' }
    and observation.effective during &quot;Measurement Period&quot;
    and case
      when observation is SimpleObservation then ( observation as SimpleObservation ).value as Concept in vset
      when observation is ObservationClinicalResult then ( observation as ObservationClinicalResult ).value as Concept in vset 
      else null end"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="38"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="CQMCommon"/>
        </extension>
        <extension url="name">
          <valueString value="HospitalizationWithObservation"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="/*
@description: Hospitalization with Observation returns the total interval from the start of any immediately prior emergency department visit through the observation visit to the discharge of the given encounter
@deprecated: This function is deprecated. Use the fluent function `hospitalizationWithObservation()` instead.
*/
define function &quot;HospitalizationWithObservation&quot;(TheEncounter Encounter ):
  TheEncounter Visit
  		let ObsVisit: Last([Encounter: &quot;Observation Services&quot;] LastObs
  				where LastObs.status = 'finished'
            and LastObs.period ends 1 hour or less on or before start of Visit.period
  				sort by end of period
  			),
  			VisitStart: Coalesce(start of ObsVisit.period, start of Visit.period),
  			EDVisit: Last([Encounter: &quot;Emergency Department Visit&quot;] LastED
  				where LastED.status = 'finished'
            and LastED.period ends 1 hour or less on or before VisitStart
  				sort by end of period
  			)
  		return Interval[Coalesce(start of EDVisit.period, VisitStart), end of Visit.period]"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="39"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
        <extension url="libraryName">
          <valueString value="FHIRHelpers"/>
        </extension>
        <extension url="name">
          <valueString value="ToCode"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="/*
@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
        }"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="40"/>
        </extension>
      </extension>
      <name value="EffectiveDataRequirements"/>
      <status value="active"/>
      <type>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
          <code value="module-definition"/>
        </coding>
      </type>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library SDE"/>
        <resource value="Library/SupplementalDataElements|5.1.000"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library FHIRHelpers"/>
        <resource value="Library/FHIRHelpers|4.4.000"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library FHIRHelpers"/>
        <resource value="Library/FHIRHelpers|4.4.000"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library CQMCommon"/>
        <resource value="Library/CQMCommon|4.1.000"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library QICoreCommon"/>
        <resource value="Library/QICoreCommon|4.0.000"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library FHIRHelpers"/>
        <resource value="Library/FHIRHelpers|4.4.000"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library QICoreCommon"/>
        <resource value="Library/QICoreCommon|4.0.000"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Code system SNOMEDCT"/>
        <resource value="http://snomed.info/sct"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Code system LOINC"/>
        <resource value="http://loinc.org"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Encounter Inpatient"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Pressure Injury Deep Tissue Diagnoses"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.194"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display
                 value="Value set Not Present On Admission or Documentation Insufficient to Determine"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.198"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Observation Services"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Emergency Department Visit"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display
                 value="Value set Pressure Injury Stage 2, 3, 4 or Unstageable"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.113"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display
                 value="Value set Pressure Injury Stage 2, 3, 4, or Unstageable Diagnoses"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.196"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Payer Type"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display
                 value="Value set Present on Admission or Clinically Undetermined"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1147.197"/>
      </relatedArtifact>
      <parameter>
        <name value="Measurement Period"/>
        <use value="in"/>
        <min value="0"/>
        <max value="1"/>
        <type value="Period"/>
      </parameter>
      <parameter>
        <name value="SDE Sex"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="Coding"/>
      </parameter>
      <parameter>
        <name value="Numerator"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Resource"/>
      </parameter>
      <parameter>
        <name value="Denominator"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Resource"/>
      </parameter>
      <parameter>
        <name value="SDE Payer"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Resource"/>
      </parameter>
      <parameter>
        <name value="Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Resource"/>
      </parameter>
      <parameter>
        <name value="SDE Ethnicity"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="Resource"/>
      </parameter>
      <parameter>
        <name value="Denominator Exclusions"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Resource"/>
      </parameter>
      <parameter>
        <name value="SDE Race"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="Resource"/>
      </parameter>
      <dataRequirement>
        <type value="Patient"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Patient"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
        <mustSupport value="url"/>
        <mustSupport value="value.value"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Patient"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
        <mustSupport value="url"/>
        <mustSupport value="value.value"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Patient"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="period"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Claim"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-claim"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <mustSupport value="use"/>
        <mustSupport value="use.value"/>
        <mustSupport value="item"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Claim"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-claim"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <mustSupport value="use"/>
        <mustSupport value="use.value"/>
        <mustSupport value="item"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Condition"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition-encounter-diagnosis"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Condition"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition-problems-health-concerns"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="period"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <mustSupport value="period"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <mustSupport value="period"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <mustSupport value="period"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <mustSupport value="period"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Observation"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation-clinical-result"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <code>
            <system value="http://loinc.org"/>
            <code value="8709-8"/>
            <display value="Physical findings of Skin"/>
          </code>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Observation"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-simple-observation"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <code>
            <system value="http://loinc.org"/>
            <code value="8709-8"/>
            <display value="Physical findings of Skin"/>
          </code>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Observation"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation-clinical-result"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <code>
            <system value="http://loinc.org"/>
            <code value="8709-8"/>
            <display value="Physical findings of Skin"/>
          </code>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Observation"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-simple-observation"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <code>
            <system value="http://loinc.org"/>
            <code value="8709-8"/>
            <display value="Physical findings of Skin"/>
          </code>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="period"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="period"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <mustSupport value="period"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <mustSupport value="period"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <mustSupport value="period"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <mustSupport value="period"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="period"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Coverage"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage"/>
        <mustSupport value="type"/>
        <mustSupport value="period"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Patient"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
        <mustSupport value="url"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Patient"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
        <mustSupport value="url"/>
        <mustSupport value="extension"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="period"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="period"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="period"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="period"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Patient"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
        <mustSupport value="url"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Patient"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
        <mustSupport value="url"/>
        <mustSupport value="extension"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="period"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="period"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Coverage"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage"/>
        <mustSupport value="type"/>
        <mustSupport value="period"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="period"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Patient"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
        <mustSupport value="url"/>
        <mustSupport value="extension"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Patient"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
        <mustSupport value="url"/>
        <mustSupport value="extension"/>
      </dataRequirement>
    </Library>
  </contained>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-supplementalDataGuidance" id="supplementalDataGuidance">
    <extension url="guidance">
      <valueString
                   value="For every patient evaluated by this measure, also identify payer, race, ethnicity and sex"/>
    </extension>
    <extension url="usage">
      <valueCodeableConcept>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
          <code value="supplemental-data"/>
          <display value="Supplemental Data"/>
        </coding>
        <text value="Supplemental Data Guidance"/>
      </valueCodeableConcept>
    </extension>
  </extension>
  <extension
             url="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements">
    <valueReference>
      <reference value="#effective-data-requirements"/>
    </valueReference>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements" id="effective-data-requirements">
    <valueReference>
      <reference value="#effective-data-requirements"/>
    </valueReference>
  </extension>
  <url value="https://madie.cms.gov/Measure/CMS826FHIRHHPI"/>
  <identifier>
    <use value="usual"/>
    <type>
      <coding>
        <system
                value="http://terminology.hl7.org/CodeSystem/artifact-identifier-type"/>
        <code value="short-name"/>
        <display value="Short Name"/>
      </coding>
    </type>
    <system value="https://madie.cms.gov/measure/shortName"/>
    <value value="CMS826FHIR"/>
  </identifier>
  <identifier>
    <use value="official"/>
    <type>
      <coding>
        <system
                value="http://terminology.hl7.org/CodeSystem/artifact-identifier-type"/>
        <code value="version-independent"/>
        <display value="Version Independent"/>
      </coding>
    </type>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:uuid:75ae89cd-c418-4de1-98c3-0230c72402b6"/>
  </identifier>
  <identifier>
    <use value="official"/>
    <type>
      <coding>
        <system
                value="http://terminology.hl7.org/CodeSystem/artifact-identifier-type"/>
        <code value="version-specific"/>
        <display value="Version Specific"/>
      </coding>
    </type>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:uuid:7604121d-a2b5-4cf9-8ff4-37535407857a"/>
  </identifier>
  <identifier>
    <use value="official"/>
    <type>
      <coding>
        <system
                value="http://terminology.hl7.org/CodeSystem/artifact-identifier-type"/>
        <code value="endorser"/>
        <display value="Endorser"/>
      </coding>
    </type>
    <system value="https://madie.cms.gov/measure/cbeId"/>
    <value value="3498e"/>
    <assigner>
      <display value="CMS Consensus Based Entity"/>
    </assigner>
  </identifier>
  <identifier>
    <use value="official"/>
    <type>
      <coding>
        <system
                value="http://terminology.hl7.org/CodeSystem/artifact-identifier-type"/>
        <code value="publisher"/>
        <display value="Publisher"/>
      </coding>
    </type>
    <system value="https://madie.cms.gov/measure/cmsId"/>
    <value value="826FHIR"/>
    <assigner>
      <display value="CMS"/>
    </assigner>
  </identifier>
  <version value="0.3.000"/>
  <name value="CMS826FHIRHHPI"/>
  <title value="Hospital Harm - Pressure InjuryFHIR"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2025-07-15T13:37:41+00:00"/>
  <publisher value="Centers for Medicare &amp; Medicaid Services (CMS)"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="https://www.cms.gov/"/>
    </telecom>
  </contact>
  <description
               value="The measure assesses the number of inpatient hospitalizations for patients aged 18 and older who suffer the harm of developing a new stage 2, stage 3. stage 4. deep tissue, or unstageable pressure injury"/>
  <usage
         value="This dQM is an episode-based measure. An episode is defined as each inpatient hospitalization or encounter that ends during the measurement period.  This FHIR-based measure has been derived from the QDM-based measure: CMS826v3. Please refer to the HL7 QI-Core Implementation Guide (https://hl7.org/fhir/us/qicore/STU6/) for more information on QI-Core and mapping recommendations from QDM to QI-Core STU 6 (https://hl7.org/fhir/us/qicore/STU6/qdm-to-qicore.html)."/>
  <copyright
             value="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. 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 Organization. ICD-10 copyright 2024 World Health Organization. All Rights Reserved."/>
  <effectivePeriod>
    <start value="2026-01-01"/>
    <end value="2026-12-31"/>
  </effectivePeriod>
  <author>
    <name value="Mathematica"/>
    <telecom>
      <system value="url"/>
      <value value="https://www.mathematica.org/"/>
    </telecom>
  </author>
  <relatedArtifact>
    <type value="citation"/>
    <citation
              value="CITATION - American College of Physicians (ACP). (2015). Risk assessment and prevention of pressure ulcers: a clinical practice guideline. "/>
  </relatedArtifact>
  <relatedArtifact>
    <type value="citation"/>
    <citation
              value="CITATION - Bly, D., Schallom, M., Sona, C., &amp; Klinkenberg, D. (2016). A model of pressure, oxygenation, and perfusion risk factors for pressure ulcers in the intensive care unit. American Journal of Critical Care, 25(2), 156–154 "/>
  </relatedArtifact>
  <relatedArtifact>
    <type value="citation"/>
    <citation
              value="CITATION - Brem, H., Maggi, J., Nierman, D., Rolnitzky, L., Bell, D., Rennert, R., Golinko, M., Yan, A., Lyder, C., Vladeck, B. High cost of stage IV pressure ulcers. Am J Surg. 2010 Oct;200(4):473-7. doi: 10.1016/j.amjsurg.2009.12.021. PMID: 20887840; PMCID: PMC2950802. "/>
  </relatedArtifact>
  <relatedArtifact>
    <type value="citation"/>
    <citation
              value="CITATION - Centers for Medicare &amp; Medicaid Services. (2015). Hospital-acquired conditions. Retrieved January 13, 2017, from https://www.cms.gov/Medicare/Medicare-Fee-for-Service-Payment/HospitalAcqCond/Hospital-Acquired_Conditions.html "/>
  </relatedArtifact>
  <relatedArtifact>
    <type value="citation"/>
    <citation
              value="CITATION - Cremasco, M. F., Wenzel, F., Zanei, S. S. V., &amp; Whitaker, I. Y. (2013). Pressure ulcers in the intensive care unit: the relationship between nursing workload, illness severity and pressure ulcer risk. Journal of Clinical Nursing, 22(15–16), 2183–2191. https://doi.org/10.1111/j.1365-2702.2012.04216.x "/>
  </relatedArtifact>
  <relatedArtifact>
    <type value="citation"/>
    <citation
              value="CITATION - European Pressure Ulcer Advisory Panel, National Pressure Injury Advisory Panel and Pan Pacific Pressure Injury Alliance. (2019). Prevention and treatment of pressure ulcers/injuries: clinical practice guideline. The International Guideline: Haesler (Ed.). EPUAP/NPIAP/PPPIA. "/>
  </relatedArtifact>
  <relatedArtifact>
    <type value="citation"/>
    <citation
              value="CITATION - Gunningberg, L., Donaldson, N., Aydin, C., Idvall, E. (2011). Exploring variation in pressure ulcer prevalence in Sweden and the USA: Benchmarking in action. 18. Journal of evaluation in clinical practice., 904-910 "/>
  </relatedArtifact>
  <relatedArtifact>
    <type value="citation"/>
    <citation
              value="CITATION - Li, Z., Lin, F., Thalib, L., &amp; Chaboyer, W. (2020). Global prevalence and incidence of pressure injuries in hospitalised adult patients: A systematic review and meta-analysis. International Journal of Nursing Studies, Vol. 105. https://doi.org/10.1016/j.ijnurstu.103546 "/>
  </relatedArtifact>
  <relatedArtifact>
    <type value="citation"/>
    <citation
              value="CITATION - National Pressure Ulcer Advisory Panel (NPUAP), Submission of Open Comment August 23, 2019, retrieved May 12, 2020 from: https://cdn.ymaws.com/npiap.com/resource/resmgr/npuap_nqf_response_final_8.2.pdf "/>
  </relatedArtifact>
  <relatedArtifact>
    <type value="citation"/>
    <citation
              value="CITATION - Rondinelli, J., Zuniga, S., Kipnis, P., Kawar, L. N., Liu, V., &amp; Escobar, G. J. (2018). Hospital-acquired pressure injury: Risk-adjusted comparisons in an integrated healthcare delivery system. Nurs Res, 67(1), 16–25 "/>
  </relatedArtifact>
  <relatedArtifact>
    <type value="citation"/>
    <citation
              value="CITATION - Tayyib, N., Coyer, F., &amp; Lewis, P. (2016). Saudi Arabian adult intensive care unit pressure ulcer incidence and risk factors: A prospective cohort study. International Wound Journal, 13(5), 912–919. https://doi.org/10.1111/iwj.12406 "/>
  </relatedArtifact>
  <relatedArtifact>
    <type value="citation"/>
    <citation
              value="CITATION - Wound Management &amp; Prevention. (2018, November). Index: Ostomy wound management. 64(11):30-41. ISSN 1943-2720 "/>
  </relatedArtifact>
  <library value="https://madie.cms.gov/Library/CMS826FHIRHHPI"/>
  <disclaimer
              value="This performance measure is not a clinical guideline, does not establish a standard of medical care, and has not been tested for all potential applications.   THE MEASURES AND SPECIFICATIONS ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND.   Due to technical limitations, registered trademarks are indicated by (R) or [R] and unregistered trademarks are indicated by (TM) or [TM]."/>
  <rationale
             value="This safety dQM captures the number of patients who experience harm in the form of a pressure injury during their inpatient hospitalization. The incidence of pressure injuries in hospitalized patients has been estimated at 5.4 per 10,000 patient-days, and the rate of hospital-acquired pressure injuries (HAPIs) has been estimated at 8.4% (Li et al., 2020). Over 50% of reported pressure injuries in hospitals were stage 2 or higher (Li et al., 2020). HAPIs are serious events and one of the most common patient harms. Pressure injuries commonly cause local infection, osteomyelitis, anemia, and sepsis in addition to causing significant depression, pain, and discomfort to patients (Shui et al., 2021). Pressure injury is considered a serious reportable event by the National Quality Forum (NQF) (NQF, 2011).   Studies have shown that age, severity of illness, comorbidity indexes, and Braden scores are predictors of HAPIs (Rondinelli et al., 2018). However, even after risk adjustment for patient risk factors, significant variation in rates of HAPI exist between hospitals (Rondinelli et al., 2018). It is widely accepted that the risk of developing a pressure injury can be reduced through best practices. Hospital controlled factors that have been found to be significantly associated with an increase in pressure ulcer risk include infrequent repositioning (p=0.005) and number of days to bed change (OR, 2.89 [95% CI, 1.26-6.63]) (Tayyib et al., 2016; Bly et al., 2016). Nurse staffing, measured as hours per patient day (HPPD), skill mix, and expertise are also significant predictors of HAPI development; patients who require more nursing activity have actually been found to have a lower risk for HAPIs (Tschannen &amp; Anderson, 2020). Systematically measuring patients who develop new pressure injuries while in the hospital setting will provide hospitals with a reliable and timely measurement to more reliably assess harm reduction efforts and modify their improvement efforts in near real-time. This dQM fills a gap in measurement and provides incentives for hospitals’ quality improvement. The intent of this measure is to incentivize greater achievements in reducing harms and enhance hospital performance on patient safety outcomes.   Stage 2 pressure injuries, characterized by partial-thickness skin loss, carry a less serious burden in terms of patient harm than stage 3, stage 4, unstageable, and deep tissue pressure injuries (DTPI). Partial-thickness wounds heal primarily as a result of epidermal regeneration and often heal without untoward consequences, loss of skin function, or scar tissue formation. Based on the healing capabilities inherent in these partial-thickness wounds, it is the expert opinion of the National Pressure Ulcer Advisory Panel (NPUAP) that the presentation of stage 2 pressure injuries does not carry the same potential longstanding negative consequences to patients as do full thickness pressure injuries. Stage 2 pressure injuries constitute a very real patient harm that should be monitored and addressed; however, the relative level of harm is less than with stage 3, stage 4, unstageable pressure injuries and potentially DTPI (NPUAP, 2019).  The accurate and timely identification of DTPI is important for several reasons. Early discovery of DTPI allows prompt identification of possible causes, initiation of treatment, and potential development of preventive strategies. In addition, 24 to 72 hours can lapse between the precipitating pressure event and the onset of purple or maroon skin. This delayed manifestation becomes particularly important when the precipitating event occurred before the patient’s admission, yet the DTPI appears beyond the 24-hour window for present-on-admission status (Tescher et al., 2018)."/>
  <clinicalRecommendationStatement
                                   value="The Clinical Guidelines Committee for the American College of Physicians (ACP) presents the available evidence on the comparative effectiveness of various risk assessment instruments and benefits and harms of strategies to prevent pressure ulcers (Qaseem et al., 2015).  Recommendation 1: ACP recommends that clinicians should perform a risk assessment to identify patients who are at risk of developing pressure ulcers.   Recommendation 2: ACP recommends that clinicians should choose advanced static mattresses or advanced static overlays in patients who are at an increased risk of developing pressure ulcers.  Recommendation 3: ACP recommends against using alternating-air mattresses or alternating-air overlays in patients who are at an increased risk of developing pressure ulcers.  The European Pressure Ulcer Advisory Panel, National Pressure Injury Advisory Panel, and Pan Pacific Pressure Injury Alliance’s Prevention and Treatment of Pressure Ulcers/Injuries: Clinical Practice Guideline (The International Guideline) provides guidance for categorizing pressure injuries and recommendations for structured skin and risk assessment (European Pressure Ulcer Advisory Panel, National Pressure Injury Advisory Panel, and Pan Pacific Pressure Injury Alliance, 2019).  Guidelines focused on risk factors and risk assessment:  1.1: Consider individuals with limited mobility, limited activity and a high potential for friction and shear to be at risk of pressure injuries.  1.2: Consider individuals with a category/stage I pressure injury to be at risk of developing a category/stage II or greater pressure injury.  1.7: Consider the impact of diabetes mellitus on the risk of pressure injuries.  1.8: Consider the impact of perfusion and circulation deficits on the risk of pressure injuries.  1.12: Consider the impact of increased body temperature on the risk of pressure injuries.  1.17: Consider the impact of time spent immobilized before surgery, the duration of surgery and the American Society of Anesthesiologists (ASA) Physical Status Classification on surgery-related pressure injury risk.   Guidelines focused on skin and tissue assessment:  2.2: Inspect the skin of individuals at risk of pressure injuries to identify presence of erythema.  2.3: Differentiate blanchable from non-blanchable erythema using either finger pressure or the transparent disk method and evaluate the extent of erythema.   Guidelines focused on preventative skin care:  3.1: Implement a skin care regimen that includes:   - Keeping skin clean and appropriately hydrated   - Cleansing the skin promptly after episodes of incontinence   - Avoiding use of alkaline soaps and cleansers   - Protecting the skin from moisture with a barrier product  3.3: Use high absorbency incontinence products to protect the skin in individuals with or at risk of pressure injuries who have urinary incontinence.  3.4: Consider using textiles with low friction coefficients for individuals with or at risk of pressure injuries.   3.5: Use a soft silicone multi-layered foam dressing to protect the skin for individuals at risk of pressure injuries.   Guidelines focused on nutrition screening:   4.1: Conduct nutritional screening for individuals at risk of a pressure injury.  4.2: Conduct a comprehensive nutrition assessment for adults at risk of a pressure injury who are screened to be at risk of malnutrition and for all adults with a pressure injury.   4.3: Develop and implement an individualized nutrition care plan for individuals with or at risk of a pressure injury who are malnourished or who are at risk of malnutrition.   4.4: Optimize energy intake for individuals at risk of pressure injuries who are malnourished or at risk of malnutrition.   4.6: Provide 30 to 35 kcalories/kg body weight/day for adults with a pressure injury who are malnourished or at risk of malnutrition.   4.7: Provide 1.25 to 1.5 g protein/kg body weight/day for adults with a pressure injury who are malnourished or at risk of malnutrition.   4.9: Offer high calorie, high protein nutritional supplements in addition to the usual diet for adults with a pressure injury who are malnourished or at risk of malnutrition, if nutritional requirements cannot be achieved by normal dietary intake.   4.12: Discuss the benefits and harms of enteral or parenteral feeding to support pressure injury treatment in light of preferences and goals of care for individuals with pressure injuries who cannot meet their nutritional requirements through oral intake despite nutritional interventions.   Guidelines focused on repositioning and early mobilization:  5.1: Reposition all individuals with or at risk of pressure injuries on an individualized schedule, unless contraindicated.  5.2: Determine repositioning frequency with consideration to the individual’s level of activity and ability to independently reposition.   Guidelines focused on heel pressure injury:  6.1: Assess the vascular/perfusion status of the lower limbs, heels and feet when performing a skin and tissue assessment, and as part of a risk assessment.  6.2: For individuals at risk of heel pressure injuries and/or with category/stage I or II pressure injuries, elevate the heels using a specifically designed heel suspension device or a pillow/ foam cushion. Offload the heel completely in such a way as to distribute the weight of the leg along the calf without placing pressure on the Achilles tendon and the popliteal vein.  6.4: Use a prophylactic dressing as an adjunct to heel offloading and other strategies to prevent heel pressure injuries.   Guidelines focused on support surfaces:  7.4: Use a high specification reactive single layer foam mattress or overlay in preference to a foam mattress without high specification qualities for individuals at risk of developing pressure injuries.  7.7: Assess the relative benefits of using an alternating pressure air mattress or overlay for individuals at risk of pressure injuries.  7.8: Use a pressure redistribution support surface on the operating table for all individuals with or at risk of pressure injuries who are undergoing surgery.  7.12: Use a pressure redistribution cushion for preventing pressure injuries in people at high risk who are seated in a chair/wheelchair for prolonged periods, particularly if the individual is unable to perform pressure relieving maneuvers.  7.13: Assess the relative benefits of using an alternating pressure air cushion for supporting pressure injury healing in individuals who are seated in a chair/wheelchair for prolonged periods, particularly if the individual is unable to perform pressure relieving maneuvers.    Guidelines focused on device related pressure injury:  8.1: To reduce the risk of medical device related pressure injuries, review and select medical devices with consideration to:   - The device's ability to minimize tissue damage  - Correct sizing/shape of the device for the individual   - Ability to correctly apply the device according to manufacturer's instructions   - Ability to correctly secure the device  8.5: Use a prophylactic dressing beneath a medical device to reduce the risk of medical device related pressure injuries.     Guidelines focused on implementing best practices:  20.2: At the organizational level, assess the knowledge health professionals have about pressure injuries to facilitate implementation of an education program and a quality improvement program.   20.4: At an organizational level, assess and maximize the availability and quality of equipment and standards for its use as part of a quality improvement plan to reduce the incidence of pressure injuries.   20.5: At an organizational level, develop and implement a structured, tailored and multi-faceted quality improvement program to reduce the incidence of pressure injuries.   20.6: At an organizational level, engage all key stakeholders in oversight and implementation of the quality improvement program to reduce the incidence of pressure injuries.   20.7: At an organizational level, include evidence-based policies, procedures and protocols and standardized documentation systems to reduce the incidence of pressure injuries.   20.8: At an organizational level, provide clinical decision support tools as part of a quality improvement plan to reduce the incidence of pressure injuries.   20.9: Provide clinical leadership in pressure injury prevention and treatment as part of a quality improvement plan to reduce pressure injuries.   20.10: At a professional level, provide education in pressure injury prevention and treatment as part of a quality improvement plan to reduce the incidence of pressure injuries.   20.11: At an organizational level, regularly monitor, analyze and evaluate performance against quality indicators for pressure injury prevention and treatment.  20.12: At an organizational level, use feedback and reminder systems to promote the quality improvement program and its outcomes to stakeholders.   Guidelines focused on health professional education:  21.1: At the organizational level, assess the knowledge health professionals have about pressure injuries to facilitate implementation of an education program and a quality improvement program.   21.2: At an organizational level, develop and implement a multi-faceted education program for pressure injury prevention and treatment."/>
  <group id="Group_1">
    <extension
               url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring">
      <valueCodeableConcept>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-scoring"/>
          <code value="proportion"/>
          <display value="Proportion"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <extension
               url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis">
      <valueCode value="Encounter"/>
    </extension>
    <extension
               url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type">
      <valueCodeableConcept>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/measure-type"/>
          <code value="outcome"/>
          <display value="Outcome"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <extension
               url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-rateAggregation">
      <valueCode value="None"/>
    </extension>
    <extension
               url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-improvementNotation">
      <valueCodeableConcept>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-improvement-notation"/>
          <code value="decrease"/>
          <display value="decrease"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <population id="InitialPopulation_1">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <description
                   value="Inpatient hospitalizations that end during the measurement period for patients aged 18 and older"/>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Initial Population"/>
      </criteria>
    </population>
    <population id="Denominator_1">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="denominator"/>
          <display value="Denominator"/>
        </coding>
      </code>
      <description value="Equals Initial Population"/>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Denominator"/>
      </criteria>
    </population>
    <population id="DenominatorExclusion_1">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="denominator-exclusion"/>
          <display value="Denominator Exclusion"/>
        </coding>
      </code>
      <description
                   value="Inpatient hospitalizations for patients with a DTPI or stage 2, 3, 4 or unstageable pressure injury diagnosis present on admission as indicated by a present on admission indicator of Y or W.  Inpatient hospitalizations for patients with a DTPI found on exam within 72 hours after the start of the encounter  Inpatient hospitalizations for patients with a stage 2, 3, 4, or unstageable pressure injury found on exam within 24 hours after the start of the encounter"/>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Denominator Exclusions"/>
      </criteria>
    </population>
    <population id="Numerator_1">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="numerator"/>
          <display value="Numerator"/>
        </coding>
      </code>
      <description
                   value="Inpatient hospitalizations for patients with a new deep tissue pressure injury (DTPI) or stage 2, 3, 4, or unstageable pressure injury, as evidenced by any of the following:  A DTPI or stage 2, 3, 4, or unstageable pressure injury diagnosis not present on admission as indicated by a present on admission indicator of N  or U.  A DTPI found on exam greater than 72 hours after the start of the encounter  A stage 2, 3, 4 or unstageable pressure injury found on exam greater than 24 hours after the start of the encounter  Only one harm (new qualifying pressure injury) is counted per hospitalization."/>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Numerator"/>
      </criteria>
    </population>
  </group>
  <supplementalData id="sde-ethnicity">
    <usage>
      <coding>
        <system
                value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
        <code value="supplemental-data"/>
      </coding>
    </usage>
    <description value="SDE Ethnicity"/>
    <criteria>
      <language value="text/cql-identifier"/>
      <expression value="SDE Ethnicity"/>
    </criteria>
  </supplementalData>
  <supplementalData id="sde-payer">
    <usage>
      <coding>
        <system
                value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
        <code value="supplemental-data"/>
      </coding>
    </usage>
    <description value="SDE Payer"/>
    <criteria>
      <language value="text/cql-identifier"/>
      <expression value="SDE Payer"/>
    </criteria>
  </supplementalData>
  <supplementalData id="sde-race">
    <usage>
      <coding>
        <system
                value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
        <code value="supplemental-data"/>
      </coding>
    </usage>
    <description value="SDE Race"/>
    <criteria>
      <language value="text/cql-identifier"/>
      <expression value="SDE Race"/>
    </criteria>
  </supplementalData>
  <supplementalData id="sde-sex">
    <usage>
      <coding>
        <system
                value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
        <code value="supplemental-data"/>
      </coding>
    </usage>
    <description value="SDE Sex"/>
    <criteria>
      <language value="text/cql-identifier"/>
      <expression value="SDE Sex"/>
    </criteria>
  </supplementalData>
</Measure>