eCQM QICore Content Subset Implementation Guide
2024.0.0 - CI Build
eCQM QICore Content Subset Implementation Guide, published by cqframework. This guide is not an authorized publication; it is the continuous build for version 2024.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-2024-subset/ and changes regularly. See the Directory of published versions
Active as of 2024-09-09 |
<Measure xmlns="http://hl7.org/fhir">
<id value="SevereObstetricComplicationsFHIR"/>
<meta>
<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"/>
</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">Knowledge Artifact Metadata</th>
</tr>
<tr>
<th scope="row" class="row-header">Name (machine-readable)</th>
<td class="content-container">SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<th scope="row" class="row-header">Title (human-readable)</th>
<td class="content-container">Severe Obstetric ComplicationsFHIR</td>
</tr>
<tr>
<th scope="row" class="row-header">Status</th>
<td class="content-container">Active</td>
</tr>
<tr>
<th scope="row" class="row-header">Experimental</th>
<td class="content-container">true</td>
</tr>
<tr>
<th scope="row" class="row-header">Description</th>
<td class="content-container"><div><p>Patients with severe obstetric complications that occur during the inpatient delivery hospitalization</p>
</div></td>
</tr>
<tr>
<th scope="row" class="row-header">Purpose</th>
<td class="content-container"><div><p>UNKNOWN</p>
</div></td>
</tr>
<tr>
<th scope="row" class="row-header">Clinical Usage</th>
<td class="content-container">In the case of multiple births, map the first delivery date/time (Baby A) as the delivery date/time for the encounter. This measure allows for 3 approaches to determine gestational age (GA) in the following order of precedence:
1. The GA is calculated using the American College of Obstetricians and Gynecologists ReVITALize guidelines.*
2. The GA is obtained from a discrete field in the electronic health record. This option is only used when the calculated GA is not available.
3. The GA is based on ICD10 or SNOMED codes indicative of weeks gestation. This option is only used when results from items #1 and #2 (see above) are not available.
Wherever gestational age is mentioned, relative to the delivery, the intent is to capture the last estimated gestational age prior to or at the time of delivery.
*ACOG ReVITALize Guidelines for Calculating Gestational Age (ACOG, 2014):
Gestational Age = (280-(Estimated Due Date minus Reference Date))/7
--Estimated Due Date (EDD): The best obstetrical EDD is determined by last menstrual period if confirmed by early ultrasound or no ultrasound performed, or early ultrasound if no known last menstrual period or the ultrasound is not consistent with last menstrual period, or known date of fertilization (e.g., assisted reproductive technology)
--Reference Date is the date on which you are trying to determine gestational age. For purposes of this eCQM, Reference Date would be the Date of Delivery.
Note however the calculation may yield a non-whole number and gestational age should be rounded down to the nearest completed week. For example, an infant born on the 5th day of the 36th week (35 weeks and 5/7 days) is at a gestational age of 35 weeks, not 36 weeks.
Definition:
For this measure, specifications are modeled after the nationally available and adopted CDC definition for Severe Maternal Morbidity (SMM) with the addition of maternal mortality. At times, we may refer to the CDC indicators of morbidity as SMM, but the outcome of the measure, which includes morbidity and mortality, is referred to as Severe Obstetric Complications (SOC).
Note: This measure will be stratified by race/ethnicity and payer after measure submission.
This eCQM 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 CMS1028v3.
Please refer to the HL7 QI-Core Implementation Guide (https://hl7.org/fhir/us/qicore/STU4.1.1/) for more information on QI-Core and mapping recommendations from QDM to QI-Core 4.1.1 (https://hl7.org/fhir/us/qicore/STU4.1.1/qdm-to-qicore.html).</td>
</tr>
<tr>
<th scope="row" class="row-header">Effective Period</th>
<td class="content-container">2025-01-01..2025-12-31</td>
</tr>
<tr>
<th scope="row" class="row-header">Use Context</th>
<td class="content-container"><span title="{http://terminology.hl7.org/CodeSystem/usage-context-type venue}">Venue</span> = <span title="Codes:{http://hl7.org/fhir/us/cqfmeasures/CodeSystem/intended-venue-codes eh}">EH</span></td>
</tr>
<tr>
<th scope="row" class="row-header">Measure Developer</th>
<td class="content-container">The Joint Commission: <a href="https://www.jointcommission.org/">https://www.jointcommission.org/</a></td>
</tr>
<tr>
<th scope="row" class="row-header">Measure Developer</th>
<td class="content-container">Centers for Medicare & Medicaid Services (CMS): <a href="https://www.cms.gov/">https://www.cms.gov/</a></td>
</tr>
<tr>
<th scope="row" class="row-header">Measure Developer</th>
<td class="content-container">Yale New Haven Health Service Corporation/ Center for Outcomes Research and Evaluation: <a href="https://medicine.yale.edu/core/">https://medicine.yale.edu/core/</a></td>
</tr>
<tr>
<th scope="row" class="row-header">Measure Steward</th>
<td class="content-container">The Joint Commission</td>
</tr>
<tr>
<th scope="row" class="row-header">Steward Contact Details</th>
<td class="content-container"><a href="https://www.jointcommission.org/">https://www.jointcommission.org/</a></td>
</tr>
<tr>
<th scope="row" class="row-header">Copyright</th>
<td class="content-container"><div><p>Measure specifications are in the Public Domain.</p>
<p>LOINC(R) copyright 2004-2023 Regenstrief Institute, Inc. This material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2023 International Health Terminology Standards Development Organisation. ICD-10 copyright 2023 World Health Organization. All Rights Reserved.</p>
</div></td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header">Measure Metadata</th>
</tr>
<tr>
<th scope="row" class="row-header">Short Name Identifier</th>
<td class="content-container">CMS1028FHIR</td>
</tr>
<tr>
<th scope="row" class="row-header">Version Independent Identifier</th>
<td class="content-container">urn:uuid:6cf03fe2-b962-4f83-ac37-26d7477183c7</td>
</tr>
<tr>
<th scope="row" class="row-header">Version Specific Identifier</th>
<td class="content-container">urn:uuid:3efa7f95-1d8e-45fa-af68-023d3554e8c1</td>
</tr>
<tr>
<th scope="row" class="row-header">Publisher (CMS) Identifier</th>
<td class="content-container">1028FHIR</td>
</tr>
<tr>
<th scope="row" class="row-header">Version Number</th>
<td class="content-container">0.1.000</td>
</tr>
<tr>
<th scope="row" class="row-header">Measure 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">Rationale</th>
<td class="content-container"><div><p>The United States (US) experiences higher rates of maternal morbidity and mortality than most other developed countries. These rates have continued to trend upward in recent decades (CDC, 2021). Research indicates that the overall rate of severe maternal morbidity (SMM) increased by almost 200% between 1993 and 2014 to 144 per 10,000 delivery hospitalizations (CDC, 2021), with more than 25,000 women per year experiencing obstetric complications (U.S. Department of Health and Human Services, 2020). Recent maternal mortality data from 2018 reveal that 658 women in the US died from maternal causes, resulting in a rate of 17.4 deaths per 100,000 live births, with 77% of the deaths attributed to direct obstetric causes like hemorrhage, preeclampsia, obstetric embolism, and other complications (Hoyert & Minino, 2018). 144 per 10,000 women hospitalized for delivery have experienced SMM, including hemorrhage, embolism, hypertension, stroke, and other serious complications (CDC, 2021). Racial and ethnic disparities exist: Black women and Hispanic women are at a significantly higher risk for developing these complications than are Non-Hispanic White women (Leonard, Main, Scott, Profit, & Carmichael, 2019). Increasing rates of SMM are resulting in increased healthcare costs, longer hospitalization stays and impacts on a woman's health (Callaghan, Creanga, & Kuklina, 2012).</p>
<p>There is limited national evaluation of hospitals' performance on maternal morbidity and mortality although SMM is widely used at the population level. SMM is linked to maternal mortality, varies significantly among hospitals, and has significant racial/ethnic and urban/rural disparities. SMM is a cost driver for both Medicaid and commercial plans. This measure is important as it will assist in the discovery and understanding of SMM patterns that can lead to improvements in the safety and quality of maternal care necessary to reduce SMM rates.</p>
</div></td>
</tr>
<tr>
<th scope="row" class="row-header">Clinical Recommendation Statement</th>
<td class="content-container"><div><p>Healthy People 2030 Measure (MICH-05): Reduce severe maternal complications identified during delivery hospitalizations (U.S. Department of Health and Human Services, n.d.).</p>
<p>The American College of Obstetricians and Gynecologists (ACOG) and the Society for Maternal-Fetal Medicine recommend identifying potential cases of severe maternal morbidity for further review, with a focus on outcomes and complications, and consider this an important step toward promoting safe obstetric care (American College of Obstetricians and Gynecologists and the Society for Maternal–Fetal Medicine, Kilpatrick, & Ecker, 2016).</p>
</div></td>
</tr>
<tr>
<th scope="row" class="row-header">Guidance</th>
<td class="content-container"><div><p>In the case of multiple births, map the first delivery date/time (Baby A) as the delivery date/time for the encounter. This measure allows for 3 approaches to determine gestational age (GA) in the following order of precedence:</p>
<ol>
<li>The GA is calculated using the American College of Obstetricians and Gynecologists ReVITALize guidelines.*</li>
<li>The GA is obtained from a discrete field in the electronic health record. This option is only used when the calculated GA is not available.</li>
<li>The GA is based on ICD10 or SNOMED codes indicative of weeks gestation. This option is only used when results from items #1 and #2 (see above) are not available.</li>
</ol>
<p>Wherever gestational age is mentioned, relative to the delivery, the intent is to capture the last estimated gestational age prior to or at the time of delivery.</p>
<p>*ACOG ReVITALize Guidelines for Calculating Gestational Age (ACOG, 2014):</p>
<pre><code> Gestational Age = (280-(Estimated Due Date minus Reference Date))/7
</code></pre>
<p>--Estimated Due Date (EDD): The best obstetrical EDD is determined by last menstrual period if confirmed by early ultrasound or no ultrasound performed, or early ultrasound if no known last menstrual period or the ultrasound is not consistent with last menstrual period, or known date of fertilization (e.g., assisted reproductive technology)
--Reference Date is the date on which you are trying to determine gestational age. For purposes of this eCQM, Reference Date would be the Date of Delivery.</p>
<p>Note however the calculation may yield a non-whole number and gestational age should be rounded down to the nearest completed week. For example, an infant born on the 5th day of the 36th week (35 weeks and 5/7 days) is at a gestational age of 35 weeks, not 36 weeks.</p>
<p>Definition:
For this measure, specifications are modeled after the nationally available and adopted CDC definition for Severe Maternal Morbidity (SMM) with the addition of maternal mortality. At times, we may refer to the CDC indicators of morbidity as SMM, but the outcome of the measure, which includes morbidity and mortality, is referred to as Severe Obstetric Complications (SOC).</p>
<p>Note: This measure will be stratified by race/ethnicity and payer after measure submission.</p>
<p>This eCQM is an episode-based measure. An episode is defined as each inpatient hospitalization or encounter that ends during the measurement period.</p>
<p>This FHIR-based measure has been derived from the QDM-based measure CMS1028v3.</p>
<p>Please refer to the HL7 QI-Core Implementation Guide (https://hl7.org/fhir/us/qicore/STU4.1.1/) for more information on QI-Core and mapping recommendations from QDM to QI-Core 4.1.1 (https://hl7.org/fhir/us/qicore/STU4.1.1/qdm-to-qicore.html).</p>
</div></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, sex, variable calculated gestational age, SOC diagnosis details, and SOC procedure details
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Guidance</th>
<td class="content-container">The Severe Obstetric Complications Risk Adjustment Methodology Report is available on the eCQI Resource Center (https://ecqi.healthit.gov).
Pre-existing conditions and variables must be present on admission. Please note that present on admission codes may be extracted from billing/claims data that was entered by coding staff (Leonard, Kennedy, Carmichael, Lyell, & Main, 2020; Main, Leonard, & Menard, 2020).
- Anemia (includes sickle cell disease)
- Asthma
- Autoimmune Disease
- Bariatric Surgery
- Bleeding Disorder
- Cardiac Disease
- Economic Housing Instability
- Gastrointestinal Disease
- Gestational Diabetes
- HIV
- Hypertension
- Long-term Anticoagulant Use
- Maternal Age (derived from birthdate)
- Mental Health Disorder
- Morbid Obesity
- Multiple Pregnancy
- Neuromuscular Disease
- Obstetric VTE
- Other Pre-eclampsia
- Placenta Previa
- Placental Abruption
- Placental Accreta Spectrum
- Pre-existing Diabetes
- Preterm Birth
- Previous Cesarean
- Pulmonary Hypertension
- Renal Disease
- Severe Pre-eclampsia
- Substance Abuse
- Thyrotoxicosis
Lab and Physical Exam Results:
Report the first resulted value 24 hours prior to start of encounter and before time of delivery in UCUM units specified:
- Heart rate: {beats}/min
- Systolic blood pressure: mm[Hg]
- Hematocrit: %
- White blood cell count: 10*3/uL
Note regarding submission of risk variable data: The risk variable definitions are included in the specifications and risk variable data should be sent with eCQM data in the QRDA1 file. Specific risk variable templates are not needed in the QRDA1 files.</td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header">Measure Population Criteria (ID: 64efa90856d636294b157c9a)</th>
</tr>
<tr>
<th scope="row" class="row-header">Summary</th>
<td class="content-container">All Severe Obstetric Complications (SOC)</td>
</tr>
<tr>
<th scope="row" class="row-header">Initial Population</th>
<td class="content-container">
<em>ID</em>: 8D56845B-BA26-4F6A-8D23-BBFD696C9450
<br/>
<em>Description</em>:
<p style="white-space: pre-line" class="tab-one">Inpatient hospitalizations for patients age greater than or equal to 8 years and less than 65 admitted to the hospital for inpatient acute care who undergo a delivery procedure with a discharge date during the measurement period</p>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-initial-population">Initial Population</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Denominator</th>
<td class="content-container">
<em>ID</em>: 8542DE86-6114-4575-9A2B-D09A0FA7C671
<br/>
<em>Description</em>:
<p style="white-space: pre-line" class="tab-one">Inpatient hospitalizations for patients delivering stillborn or live birth with greater than or equal to 20 weeks, 0 days gestation completed</p>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-denominator">Denominator</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Denominator Exclusion</th>
<td class="content-container">
<em>ID</em>: 16605347-8AF3-47AA-B230-65B7208909B9
<br/>
<em>Description</em>:
<p style="white-space: pre-line" class="tab-one">Inpatient hospitalizations for patients with confirmed diagnosis of COVID with COVID-related respiratory condition or patients with confirmed diagnosis of COVID with COVID-related respiratory procedure during the encounter</p>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-denominator-exclusion">Denominator Exclusion</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Numerator</th>
<td class="content-container">
<em>ID</em>: 05AD3648-8C60-4938-96C4-82385B9C4F91
<br/>
<em>Description</em>:
<p style="white-space: pre-line" class="tab-one">Two numerator populations are defined for this measure:
1. All Severe Obstetric Complications (SOC).
2. SOC excluding encounters where transfusion was the only SOC.
Inpatient hospitalizations for patients with severe obstetric complications (not present on admission that occur during the current delivery encounter) including the following:
- Severe maternal morbidity diagnoses (see list below)
- Severe maternal morbidity procedures (see list below)
- Discharge disposition of expired
Please note that present on admission codes may be extracted from billing/claims data that was entered by coding staff.
Severe Maternal Morbidity Diagnoses:
- Cardiac
Acute heart failure
Acute myocardial infarction
Aortic aneurysm
Cardiac arrest/ventricular fibrillation
Heart failure/arrest during procedure or surgery
- Hemorrhage
Disseminated intravascular coagulation
Shock
- Renal
Acute renal failure
- Respiratory
Adult respiratory distress syndrome
Pulmonary edema
- Sepsis
- Other OB
Air and thrombotic embolism
Amniotic fluid embolism
Eclampsia
Severe anesthesia complications
- Other Medical
Puerperal cerebrovascular disorder
Sickle cell disease with crisis
Severe Maternal Morbidity Procedures:
- Blood transfusion
- Conversion of cardiac rhythm
- Hysterectomy
- Temporary tracheostomy
- Ventilation</p>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-numerator">Numerator</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Numerator Exclusion</th>
<td class="content-container">
<em>ID</em>: e29f29ee-889e-4314-983c-e0ddc189a16c
<br/>
<em>Description</em>:
<p style="white-space: pre-line" class="tab-one">Inpatient hospitalizations with blood transfusion or hysterectomy with a diagnosis of placenta percreta or placenta increta and no additional severe obstetrical complications.</p>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-soc-with-hysterectomy-or-blood-transfusion-with-placenta-increta-or-placenta-percreta-without-additional-soc">SOC with Hysterectomy or Blood Transfusion with Placenta Increta or Placenta Percreta Without Additional SOC</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Population 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">Two hospital-level measure scores are calculated as a risk-adjusted proportion reported as a rate per 10,000 delivery hospitalizations: 1. All Severe Obstetric Complications (SOC). ((Num1 – NumExcl) / (Den-DenExcl)) * 10,000 2. SOC excluding encounters where transfusion was the only SOC. ((Num2 – NumExcl) / (Den-DenExcl)) * 10,000 Num1: Number of delivery encounters with SOC Num2: Number of delivery encounters with SOC excluding encounters where transfusion was the only SOC NumExcl: Delivery encounters with blood transfusion or hysterectomy with Placenta Percreta or Placenta Increta Den: Delivery encounters with > or = 20 weeks gestation completed DenExcl: Delivery encounters for patients with a COVID diagnosis and COVID-related respiratory condition or a COVID diagnosis and COVID-related respiratory procedure</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}">Decreased score indicates improvement</span></td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header">Measure Population Criteria (ID: 658b2eadd4b024647cc00341)</th>
</tr>
<tr>
<th scope="row" class="row-header">Summary</th>
<td class="content-container">SOC excluding encounters where transfusion was the only SOC</td>
</tr>
<tr>
<th scope="row" class="row-header">Initial Population</th>
<td class="content-container">
<em>ID</em>: 4e1478e6-a3d4-42e5-a5cd-0026cc5617ed
<br/>
<em>Description</em>:
<p style="white-space: pre-line" class="tab-one">Inpatient hospitalizations for patients age >= 8 years and < 65 admitted to the hospital for inpatient acute care who undergo a delivery procedure with a discharge date that ends during the measurement period</p>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-initial-population">Initial Population</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Denominator</th>
<td class="content-container">
<em>ID</em>: e4a80a9b-190c-4cd1-bc7b-8d6d9e5720cd
<br/>
<em>Description</em>:
<p style="white-space: pre-line" class="tab-one">Inpatient hospitalizations for patients delivering stillborn or live birth with >= 20 weeks, 0 days gestation completed</p>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-denominator">Denominator</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Denominator Exclusion</th>
<td class="content-container">
<em>ID</em>: 4db4aa26-e64c-4d09-81fd-d119e14fee05
<br/>
<em>Description</em>:
<p style="white-space: pre-line" class="tab-one">Inpatient hospitalizations for patients with confirmed diagnosis of COVID with COVID-related respiratory condition or patients with confirmed diagnosis of COVID with COVID-related respiratory procedure during the encounter</p>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-denominator-exclusion">Denominator Exclusion</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Numerator</th>
<td class="content-container">
<em>ID</em>: 0d5818b3-43e6-4d06-991f-adcc939f01b8
<br/>
<em>Description</em>:
<p style="white-space: pre-line" class="tab-one">Inpatient hospitalizations for patients with severe obstetric complications (not present on admission that occur during the current delivery encounter) including severe maternal morbidity diagnoses (see following list), severe maternal morbidity procedures (see following list), and discharge disposition of expired, yet excluding encounters where transfusion was the only SOC.
Please note that present on admission codes may be those entered by coding staff, extracted from billing/claims data.
Severe Maternal Morbidity Diagnoses:
- Cardiac
Acute heart failure
Acute myocardial infarction
Aortic aneurysm
Cardiac arrest/ventricular fibrillation
Heart failure/arrest during procedure or surgery
- Hemorrhage
Disseminated intravascular coagulation
Shock
- Renal
Acute renal failure
- Respiratory
Adult respiratory distress syndrome
Pulmonary edema
- Sepsis
- Other OB
Air and thrombotic embolism
Amniotic fluid embolism
Eclampsia
Severe anesthesia complications
- Other Medical
Puerperal cerebrovascular disorder
Sickle cell disease with crisis
Severe Maternal Morbidity Procedures:
- Blood transfusion
- Conversion of cardiac rhythm
- Hysterectomy
- Temporary tracheostomy
- Ventilation</p>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-delivery-encounters-with-severe-obstetric-complications-excluding-blood-transfusions-only">Delivery Encounters with Severe Obstetric Complications Excluding Blood Transfusions Only</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Numerator Exclusion</th>
<td class="content-container">
<em>ID</em>: b5aef46b-f0d5-442b-b1d4-564444fd471a
<br/>
<em>Description</em>:
<p style="white-space: pre-line" class="tab-one">Inpatient hospitalizations with blood transfusion or hysterectomy with a diagnosis of placenta percreta or placenta increta and no additional severe obstetrical complications.</p>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-soc-excluding-blood-transfusions-only-with-hysterectomy-or-blood-transfusion-with-placenta-increta-or-placenta-percreta-without-additional-soc">SOC Excluding Blood Transfusions Only with Hysterectomy or Blood Transfusion with Placenta Increta or Placenta Percreta Without Additional SOC</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Population 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">SOC excluding encounters where transfusion was the only SOC, calculated as a risk-adjusted proportion reported as a rate per 10,000 delivery hospitalizations: ((Num2 – NumExcl) / (Den-DenExcl)) * 10,000 Num2: Number of delivery encounters with SOC excluding encounters where transfusion was the only SOC; NumExcl: Delivery encounters with blood transfusion or hysterectomy with Placenta Percreta or Placenta Increta; Den: Delivery encounters with > or = 20 weeks gestation completed; DenExcl: Delivery encounters for patients with a COVID diagnosis and COVID-related respiratory condition or a COVID diagnosis and COVID-related respiratory procedure</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="#severeobstetriccomplicationsfhir-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="#severeobstetriccomplicationsfhir-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="#severeobstetriccomplicationsfhir-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="#severeobstetriccomplicationsfhir-sde-sex">SDE Sex</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-variable-calculated-gestational-age
<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 Variable Calculated Gestational Age
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-sde-variable-calculated-gestational-age">SDE Variable Calculated Gestational Age</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-soc-diagnoses-detail
<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 SOC Diagnoses Detail
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-sde-soc-diagnoses-detail">SDE SOC Diagnoses Detail</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-soc-procedure-detail
<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 SOC Procedure Detail
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-sde-soc-procedure-detail">SDE SOC Procedure Detail</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-delivery-encounters-with-severe-obstetric-complication-diagnosis
<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 Delivery Encounters with Severe Obstetric Complication Diagnosis
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-sde-delivery-encounters-with-severe-obstetric-complication-diagnosis">SDE Delivery Encounters with Severe Obstetric Complication Diagnosis</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-delivery-encounters-with-severe-obstetric-complication-procedures
<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 Delivery Encounters with Severe Obstetric Complication Procedures
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-sde-delivery-encounters-with-severe-obstetric-complication-procedures">SDE Delivery Encounters with Severe Obstetric Complication Procedures</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-lab-and-physical-exam-results
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Lab and Physical Exam Results
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-lab-and-physical-exam-results">Risk Variable Lab and Physical Exam Results</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-asthma
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Asthma
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-asthma">Risk Variable Asthma</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-autoimmune-disease
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Autoimmune Disease
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-autoimmune-disease">Risk Variable Autoimmune Disease</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-bariatric-surgery
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Bariatric Surgery
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-bariatric-surgery">Risk Variable Bariatric Surgery</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-bleeding-disorder
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Bleeding Disorder
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-bleeding-disorder">Risk Variable Bleeding Disorder</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-morbid-obesity
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Morbid Obesity
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-morbid-obesity">Risk Variable Morbid Obesity</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-cardiac-disease
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Cardiac Disease
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-cardiac-disease">Risk Variable Cardiac Disease</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-economic-housing-instability
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Economic Housing Instability
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-economic-housing-instability">Risk Variable Economic Housing Instability</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-gastrointestinal-disease
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Gastrointestinal Disease
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-gastrointestinal-disease">Risk Variable Gastrointestinal Disease</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-gestational-diabetes
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Gestational Diabetes
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-gestational-diabetes">Risk Variable Gestational Diabetes</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-hiv
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable HIV
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-hiv">Risk Variable HIV</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-hypertension
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Hypertension
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-hypertension">Risk Variable Hypertension</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-long-term-anticoagulant-use
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Long Term Anticoagulant Use
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-long-term-anticoagulant-use">Risk Variable Long Term Anticoagulant Use</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-mental-health-disorder
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Mental Health Disorder
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-mental-health-disorder">Risk Variable Mental Health Disorder</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-multiple-pregnancy
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Multiple Pregnancy
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-multiple-pregnancy">Risk Variable Multiple Pregnancy</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-neuromuscular
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Neuromuscular
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-neuromuscular">Risk Variable Neuromuscular</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-obstetrical-vte
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Obstetrical VTE
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-obstetrical-vte">Risk Variable Obstetrical VTE</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-placenta-previa
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Placenta Previa
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-placenta-previa">Risk Variable Placenta Previa</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-placental-abruption
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Placental Abruption
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-placental-abruption">Risk Variable Placental Abruption</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-placental-accreta-spectrum
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Placental Accreta Spectrum
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-placental-accreta-spectrum">Risk Variable Placental Accreta Spectrum</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-preexisting-diabetes
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Preexisting Diabetes
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-preexisting-diabetes">Risk Variable Preexisting Diabetes</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-previous-cesarean
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Previous Cesarean
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-previous-cesarean">Risk Variable Previous Cesarean</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-pulmonary-hypertension
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Pulmonary Hypertension
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-pulmonary-hypertension">Risk Variable Pulmonary Hypertension</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-renal-disease
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Renal Disease
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-renal-disease">Risk Variable Renal Disease</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-severe-preeclampsia
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Severe Preeclampsia
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-severe-preeclampsia">Risk Variable Severe Preeclampsia</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-substance-abuse
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Substance Abuse
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-substance-abuse">Risk Variable Substance Abuse</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-thyrotoxicosis
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Thyrotoxicosis
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-thyrotoxicosis">Risk Variable Thyrotoxicosis</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-other-preeclampsia
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Other Preeclampsia
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-other-preeclampsia">Risk Variable Other Preeclampsia</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-preterm-birth
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Preterm Birth
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-preterm-birth">Risk Variable Preterm Birth</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-anemia
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Anemia
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-anemia">Risk Variable Anemia</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-systolic-blood-pressure
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Systolic Blood Pressure
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-systolic-blood-pressure">Risk Variable Systolic Blood Pressure</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-heart-rate
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Heart Rate
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-heart-rate">Risk Variable Heart Rate</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-first-white-blood-cell-count-lab-test
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable First White Blood Cell Count Lab Test
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-first-white-blood-cell-count-lab-test">Risk Variable First White Blood Cell Count Lab Test</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-first-hematocrit-lab-test
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable First Hematocrit Lab Test
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-first-hematocrit-lab-test">Risk Variable First Hematocrit Lab Test</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: delivery-encounters-with-blood-transfusion
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Delivery Encounters with Blood Transfusion
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-delivery-encounters-with-blood-transfusion">Delivery Encounters with Blood Transfusion</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: risk-variable-maternal-age
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>
<br/>
<em>Description</em>: Risk Variable Maternal Age
<br/>
<em>Logic Definition</em>: <a href="#severeobstetriccomplicationsfhir-risk-variable-maternal-age">Risk Variable Maternal Age</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-SevereObstetricComplicationsFHIR.html">SevereObstetricComplicationsFHIR</a></td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Library PCMaternal
<br/>
<em>Resource</em>: <code>Library/PCMaternal|5.19.000</code>
<br/>
<em>Canonical URL</em>: <tt>Library/PCMaternal|5.19.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|2.2.000</code>
<br/>
<em>Canonical URL</em>: <tt>Library/CQMCommon|2.2.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|2.1.000</code>
<br/>
<em>Canonical URL</em>: <tt>Library/QICoreCommon|2.1.000</tt>
</td>
</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|3.5.000</code>
<br/>
<em>Canonical URL</em>: <tt>Library/SupplementalDataElements|3.5.000</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</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">Dependency</th>
<td class="content-container">
<em>Description</em>: Code system AdministrativeGender
<br/>
<em>Resource</em>: <a href="http://hl7.org/fhir/R4/codesystem-administrative-gender.html">AdministrativeGender</a>
<br/>
<em>Canonical URL</em>: <tt>http://hl7.org/fhir/administrative-gender</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Encounter Inpatient
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.307/expansion">Encounter Inpatient</a>
<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">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Delivery Procedures
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.59/expansion">Delivery Procedures</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.59</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Observation Services
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1111.143/expansion">Observation Services</a>
<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">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set ED Visit and OB Triage
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.369/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.369</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.369</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Estimated Gestational Age at Delivery
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.26/expansion">Estimated Gestational Age at Delivery</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.26</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set 20 to 42 Plus Weeks Gestation
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.67/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.67</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.67</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Present On Admission is Yes or Exempt
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.63/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.63</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.63</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Acute or Persistent Asthma
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.271/expansion">Asthma</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.271</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Present on Admission is No or Unable To Determine
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.370/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.370</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.370</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Severe Maternal Morbidity Diagnoses
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.255/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.255</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.255</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Severe Maternal Morbidity Procedures
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.256/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.256</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.256</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Patient Expired
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.309/expansion">Patient Expired</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.309</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Blood Transfusion
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.213/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.213</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.213</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Placenta Increta or Percreta
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.388/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.388</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.388</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Hysterectomy
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.358/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.358</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.358</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Conversion of Cardiac Rhythm
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.357/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.357</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.357</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Tracheostomy
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.359/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.359</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.359</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Ventilation
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.360/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.360</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.360</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Placenta Accreta
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.302/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.302</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.302</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Neuromuscular Disease
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.308/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.308</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.308</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Hypertension
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.332/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.332</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.332</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Preterm Birth
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.299/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.299</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.299</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Payer Type
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion">Payer</a>
<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">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Placental Abruption
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.305/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.305</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.305</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set COVID 19 Confirmed
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.373/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.373</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.373</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Respiratory Conditions Related to COVID 19
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.376/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.376</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.376</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Respiratory Support Procedures Related to COVID 19
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.379/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.379</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.379</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Morbid or Severe Obesity
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.290/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.290</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.290</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Preexisting Diabetes
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.275/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.275</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.275</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Bariatric Surgery
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.317/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.317</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.317</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Placenta Previa
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.78/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.78</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.78</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Bleeding Disorder
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.287/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.287</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.287</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set White blood cells count lab test
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.129/expansion">White blood cells count lab test</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.129</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Hematocrit lab test
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.114/expansion">Hematocrit lab test</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.114</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Severe Preeclampsia
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.327/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.327</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.327</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Anemia
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.323/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.323</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.323</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Cardiac Disease
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.341/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.341</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.341</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Long Term Anticoagulant Use
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.366/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.366</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.366</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Acute Heart Failure
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.233/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.233</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.233</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Acute Myocardial Infarction
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.623/expansion">Acute Myocardial Infarction (AMI)</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.623</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Acute Renal Failure
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.53/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.53</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.53</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Acute Respiratory Distress Syndrome
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.214/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.214</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.214</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Air and Thrombotic Embolism
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.243/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.243</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.243</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Amniotic Fluid Embolism
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.217/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.217</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.217</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Aortic Aneurysm
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.219/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.219</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.219</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Cardiac Arrest Ventricular Fibrillation
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.221/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.221</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.221</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Disseminated Intravascular Coagulation
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.223/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.223</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.223</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Eclampsia
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.225/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.225</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.225</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Heart Failure Cardiac Arrest Related to Procedure or Surgery
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.227/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.227</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.227</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Puerperal Cerebrovascular Disorder
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.229/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.229</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.229</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Pulmonary Edema
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.231/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.231</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.231</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Sepsis
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.237/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.237</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.237</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Severe Anesthesia Complications
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.235/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.235</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.235</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Shock
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.239/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.239</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.239</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Sickle Cell Disease with Crisis
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.241/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.241</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.241</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Substance Abuse
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.320/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.320</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.320</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Renal Disease
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.335/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.335</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.335</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Gastrointestinal Disease
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.338/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.338</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.338</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Pulmonary Hypertension
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.281/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.281</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.281</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Thyrotoxicosis
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.296/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.296</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.296</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Mild or Moderate Preeclampsia
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.329/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.329</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.329</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Economic Housing Instability
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.292/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.292</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.292</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set HIV in Pregnancy Childbirth and Puerperium
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.272/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.272</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.272</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Mental Health Disorder
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.314/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.314</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.314</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Venous Thromboembolism in Pregnancy
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.363/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.363</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.363</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Autoimmune Disease
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.311/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.311</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.311</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Previous Cesarean
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.278/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.278</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.278</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Gestational Diabetes
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.269/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.269</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.269</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Multiple Pregnancy
<br/>
<em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.284/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.284</a>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.284</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: Date and time of obstetric delivery
<br/>
<em>Code</em>: 93857-1
<br/>
<em>System</em>: <tt>http://loinc.org</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: Delivery date Estimated
<br/>
<em>Code</em>: 11778-8
<br/>
<em>System</em>: <tt>http://loinc.org</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: Male
<br/>
<em>Code</em>: M
<br/>
<em>System</em>: <tt>http://hl7.org/fhir/administrative-gender</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: Female
<br/>
<em>Code</em>: F
<br/>
<em>System</em>: <tt>http://hl7.org/fhir/administrative-gender</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: Systolic BP
<br/>
<em>Code</em>: 8480-6
<br/>
<em>System</em>: <tt>http://loinc.org</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Measurement Period
<br/>
<em>Use</em>: In
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: 1
<br/>
<em>Type</em>: Period
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Asthma
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: SDE Delivery Encounters with Severe Obstetric Complication Diagnosis
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Placental Accreta Spectrum
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Neuromuscular
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Hypertension
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: SOC with Hysterectomy or Blood Transfusion with Placenta Increta or Placenta Percreta Without Additional SOC
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Preterm Birth
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: SDE Payer
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Placental Abruption
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Denominator Exclusion
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Morbid Obesity
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Preexisting Diabetes
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Bariatric Surgery
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: SDE Race
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: 1
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Placenta Previa
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: SDE Sex
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: 1
<br/>
<em>Type</em>: Coding
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Bleeding Disorder
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable First White Blood Cell Count Lab Test
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable First Hematocrit Lab Test
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Severe Preeclampsia
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Anemia
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Cardiac Disease
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Long Term Anticoagulant Use
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Systolic Blood Pressure
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: SDE SOC Diagnoses Detail
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Substance Abuse
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Renal Disease
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: SDE Variable Calculated Gestational Age
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Gastrointestinal Disease
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Delivery Encounters with Severe Obstetric Complications Excluding Blood Transfusions Only
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Pulmonary Hypertension
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Thyrotoxicosis
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Other Preeclampsia
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Initial Population
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Economic Housing Instability
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable HIV
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: SDE Delivery Encounters with Severe Obstetric Complication Procedures
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: SOC Excluding Blood Transfusions Only with Hysterectomy or Blood Transfusion with Placenta Increta or Placenta Percreta Without Additional SOC
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Heart Rate
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Maternal Age
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Mental Health Disorder
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Obstetrical VTE
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Autoimmune Disease
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Previous Cesarean
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Gestational Diabetes
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: SDE SOC Procedure Detail
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Numerator
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Risk Variable Multiple Pregnancy
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Denominator
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Delivery Encounters with Blood Transfusion
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: *
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: SDE Ethnicity
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: 1
<br/>
<em>Type</em>: Resource
</td>
</tr>
<tr>
<th colspan="2" scope="row" class="section-header"><a name="effective-data-requirements"> </a>Measure Logic Data Requirements</th>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Encounter
<br/>
<em>Profile(s)</em>:
<a href="http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-encounter.html">QICoreEncounter</a>
<br/>
<em>Must Support Elements</em>: type, period, status, status.value, condition, condition.reference, condition.reference.value, extension, condition.code, hospitalization, hospitalization.dischargeDisposition, id, id.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> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1111.143/expansion">Observation Services</a>
<br/>
<span class="tab-one"><em>Path</em>: status.value</span>
<br/>
<span class="tab-one"><em>Code</em>: </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>:
<a href="http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-encounter.html">QICoreEncounter</a>
<br/>
<em>Must Support Elements</em>: type, period, status, status.value, condition, condition.reference, condition.reference.value, extension, condition.code, hospitalization, hospitalization.dischargeDisposition, id, id.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> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.369/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.369</a>
<br/>
<span class="tab-one"><em>Path</em>: status.value</span>
<br/>
<span class="tab-one"><em>Code</em>: </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>:
<a href="http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-encounter.html">QICoreEncounter</a>
<br/>
<em>Must Support Elements</em>: type, status, status.value, period, condition, condition.reference, condition.reference.value, extension, condition.code, hospitalization, hospitalization.dischargeDisposition, id, id.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> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.307/expansion">Encounter Inpatient</a>
<br/>
<span class="tab-one"><em>Path</em>: status.value</span>
<br/>
<span class="tab-one"><em>Code</em>: </span>
<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>:
<a href="http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-patient.html">QICorePatient</a>
<br/>
<em>Must Support Elements</em>: race, ethnicity
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Procedure
<br/>
<em>Profile(s)</em>:
<a href="http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html">QICoreProcedure</a>
<br/>
<em>Must Support Elements</em>: code, status, status.value, performed
<br/>
<em>Code Filter(s)</em>:
<br/>
<span class="tab-one"><em>Path</em>: code</span>
<br/>
<span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.59/expansion">Delivery Procedures</a>
<br/>
<span class="tab-one"><em>Path</em>: status.value</span>
<br/>
<span class="tab-one"><em>Code</em>: </span>
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Procedure
<br/>
<em>Profile(s)</em>:
<a href="http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html">QICoreProcedure</a>
<br/>
<em>Must Support Elements</em>: code, status, status.value, performed
<br/>
<em>Code Filter(s)</em>:
<br/>
<span class="tab-one"><em>Path</em>: code</span>
<br/>
<span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.256/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.256</a>
<br/>
<span class="tab-one"><em>Path</em>: status.value</span>
<br/>
<span class="tab-one"><em>Code</em>: </span>
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Procedure
<br/>
<em>Profile(s)</em>:
<a href="http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html">QICoreProcedure</a>
<br/>
<em>Must Support Elements</em>: code, status, status.value, performed
<br/>
<em>Code Filter(s)</em>:
<br/>
<span class="tab-one"><em>Path</em>: code</span>
<br/>
<span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.358/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.358</a>
<br/>
<span class="tab-one"><em>Path</em>: status.value</span>
<br/>
<span class="tab-one"><em>Code</em>: </span>
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Procedure
<br/>
<em>Profile(s)</em>:
<a href="http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html">QICoreProcedure</a>
<br/>
<em>Must Support Elements</em>: code, status, status.value, performed
<br/>
<em>Code Filter(s)</em>:
<br/>
<span class="tab-one"><em>Path</em>: code</span>
<br/>
<span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.357/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.357</a>
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Procedure
<br/>
<em>Profile(s)</em>:
<a href="http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html">QICoreProcedure</a>
<br/>
<em>Must Support Elements</em>: code, status, status.value, performed
<br/>
<em>Code Filter(s)</em>:
<br/>
<span class="tab-one"><em>Path</em>: code</span>
<br/>
<span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.359/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.359</a>
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Procedure
<br/>
<em>Profile(s)</em>:
<a href="http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html">QICoreProcedure</a>
<br/>
<em>Must Support Elements</em>: code, status, status.value, performed
<br/>
<em>Code Filter(s)</em>:
<br/>
<span class="tab-one"><em>Path</em>: code</span>
<br/>
<span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.360/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.360</a>
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Procedure
<br/>
<em>Profile(s)</em>:
<a href="http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html">QICoreProcedure</a>
<br/>
<em>Must Support Elements</em>: code, status, status.value, performed
<br/>
<em>Code Filter(s)</em>:
<br/>
<span class="tab-one"><em>Path</em>: code</span>
<br/>
<span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.379/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.379</a>
<br/>
<span class="tab-one"><em>Path</em>: status.value</span>
<br/>
<span class="tab-one"><em>Code</em>: </span>
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Procedure
<br/>
<em>Profile(s)</em>:
<a href="http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html">QICoreProcedure</a>
<br/>
<em>Must Support Elements</em>: code, status, status.value, performed
<br/>
<em>Code Filter(s)</em>:
<br/>
<span class="tab-one"><em>Path</em>: code</span>
<br/>
<span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.256/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.256</a>
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Procedure
<br/>
<em>Profile(s)</em>:
<a href="http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html">QICoreProcedure</a>
<br/>
<em>Must Support Elements</em>: code, status, status.value, performed
<br/>
<em>Code Filter(s)</em>:
<br/>
<span class="tab-one"><em>Path</em>: code</span>
<br/>
<span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.213/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.213</a>
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Procedure
<br/>
<em>Profile(s)</em>:
<a href="http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html">QICoreProcedure</a>
<br/>
<em>Must Support Elements</em>: code, status, status.value, performed
<br/>
<em>Code Filter(s)</em>:
<br/>
<span class="tab-one"><em>Path</em>: code</span>
<br/>
<span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.213/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.213</a>
<br/>
<span class="tab-one"><em>Path</em>: status.value</span>
<br/>
<span class="tab-one"><em>Code</em>: </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>:
<a href="http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-observation.html">QICoreObservation</a>
<br/>
<em>Must Support Elements</em>: code, value, status, status.value, effective
<br/>
<em>Code Filter(s)</em>:
<br/>
<span class="tab-one"><em>Path</em>: code</span>
<br/>
<span class="tab-one"><em>Code</em>: </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>:
<a href="http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-observation.html">QICoreObservation</a>
<br/>
<em>Must Support Elements</em>: code, value, status, status.value, effective
<br/>
<em>Code Filter(s)</em>:
<br/>
<span class="tab-one"><em>Path</em>: code</span>
<br/>
<span class="tab-one"><em>Code</em>: </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>:
<a href="http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-observation.html">QICoreObservation</a>
<br/>
<em>Must Support Elements</em>: code, effective, value, status, status.value
<br/>
<em>Code Filter(s)</em>:
<br/>
<span class="tab-one"><em>Path</em>: code</span>
<br/>
<span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.26/expansion">Estimated Gestational Age at Delivery</a>
<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>:
<a href="http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-condition.html">QICoreCondition</a>
<br/>
<em>Must Support Elements</em>: id, id.value, code
<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>:
<a href="http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-coverage.html">QICoreCoverage</a>
<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> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion">Payer</a>
<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>:
<a href="http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-observation-lab.html">US Core Laboratory Result Observation Profile</a>
<br/>
<em>Must Support Elements</em>: code, issued, issued.value, status, status.value, value
<br/>
<em>Code Filter(s)</em>:
<br/>
<span class="tab-one"><em>Path</em>: code</span>
<br/>
<span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.129/expansion">White blood cells count lab test</a>
<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>:
<a href="http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-observation-lab.html">US Core Laboratory Result Observation Profile</a>
<br/>
<em>Must Support Elements</em>: code, issued, issued.value, status, status.value, value
<br/>
<em>Code Filter(s)</em>:
<br/>
<span class="tab-one"><em>Path</em>: code</span>
<br/>
<span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.114/expansion">Hematocrit lab test</a>
<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>:
<a href="http://hl7.org/fhir/R4/bp.html">Observation Blood Pressure Profile</a>
<br/>
<em>Must Support Elements</em>: effective, status, status.value, component
<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>:
<a href="http://hl7.org/fhir/R4/heartrate.html">Observation Heart Rate Profile</a>
<br/>
<em>Must Support Elements</em>: effective, status, status.value, value
<br/>
</td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header">Measure Logic Definitions</th>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="cqmcommon-inpatient-encounter"> </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">define "Inpatient Encounter":
[Encounter: "Encounter Inpatient"] EncounterInpatient
where EncounterInpatient.status = 'finished'
and EncounterInpatient.period ends during day of "Measurement Period"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="pcmaternal-encounter-with-age-range"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> PCMaternal</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Encounter with Age Range":
CQMCommon."Inpatient Encounter" InpatientEncounter
where AgeInYearsAt(date from start of InpatientEncounter.period) in Interval[ 8, 65 )</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="pcmaternal-delivery-encounter-with-age-range"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> PCMaternal</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Delivery Encounter with Age Range":
"Encounter with Age Range" EncounterWithAge
with ["Procedure": "Delivery Procedures"] DeliveryProcedure
such that DeliveryProcedure.status = 'completed'
and DeliveryProcedure.performed.toInterval ( ) starts during EncounterWithAge.hospitalizationWithEDOBTriageObservation ()</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-delivery-encounters-with-calculated-gestational-age-greater-than-or-equal-to-20-weeks"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Delivery Encounters with Calculated Gestational Age Greater than or Equal to 20 Weeks":
PCMaternal."Delivery Encounter with Age Range" DeliveryEncounter
where DeliveryEncounter.calculatedGestationalAge ( ) >= 20</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-delivery-encounters-with-estimated-gestational-age-assessment-greater-than-or-equal-to-20-weeks"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Delivery Encounters with Estimated Gestational Age Assessment Greater than or Equal to 20 Weeks":
PCMaternal."Delivery Encounter with Age Range" DeliveryEncounter
where DeliveryEncounter.calculatedGestationalAge ( ) is null
and ( DeliveryEncounter.lastEstimatedGestationalAge ( ) >= 20 weeks )</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-delivery-encounters-with-gestational-age-greater-than-or-equal-to-20-weeks-based-on-coding"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Delivery Encounters with Gestational Age Greater than or Equal to 20 Weeks Based on Coding":
PCMaternal."Delivery Encounter with Age Range" DeliveryEncounter
let CGA: DeliveryEncounter.calculatedGestationalAge ( ),
EGA: DeliveryEncounter.lastEstimatedGestationalAge ( )
where CGA is null
and EGA is null
and exists ( ( DeliveryEncounter.encounterDiagnosis ( ) ) EncounterDiagnosis
where EncounterDiagnosis.code in "20 to 42 Plus Weeks Gestation"
)</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-delivery-encounters-at-greater-than-or-equal-to-20-weeks-gestation"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Delivery Encounters At Greater than or Equal to 20 Weeks Gestation":
"Delivery Encounters with Calculated Gestational Age Greater than or Equal to 20 Weeks"
union "Delivery Encounters with Estimated Gestational Age Assessment Greater than or Equal to 20 Weeks"
union "Delivery Encounters with Gestational Age Greater than or Equal to 20 Weeks Based on Coding"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-asthma"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Asthma":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Acute or Persistent Asthma"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-delivery-encounters-with-severe-obstetric-complications-diagnosis-or-procedure-excluding-blood-transfusion"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Delivery Encounters with Severe Obstetric Complications Diagnosis or Procedure Excluding Blood Transfusion":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsNoOrUTD ( ) in "Severe Maternal Morbidity Diagnoses"
or exists ( ["Procedure": "Severe Maternal Morbidity Procedures"] SMMProcedures
where SMMProcedures.status = 'completed'
and SMMProcedures.performed.toInterval ( ) starts during day of TwentyWeeksPlusEncounter.hospitalizationWithEDOBTriageObservation ( )
)</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-delivery-encounters-with-expiration"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Delivery Encounters with Expiration":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.hospitalization.dischargeDisposition in "Patient Expired"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-delivery-encounters-with-blood-transfusion"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Delivery Encounters with Blood Transfusion":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
with ["Procedure": "Blood Transfusion"] BloodTransfusion
such that BloodTransfusion.status = 'completed'
and BloodTransfusion.performed.toInterval ( ) starts during day of TwentyWeeksPlusEncounter.hospitalizationWithEDOBTriageObservation ( )</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-delivery-encounters-with-severe-obstetric-complications"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Delivery Encounters with Severe Obstetric Complications":
"Delivery Encounters with Severe Obstetric Complications Diagnosis or Procedure Excluding Blood Transfusion"
union "Delivery Encounters with Expiration"
union "Delivery Encounters with Blood Transfusion"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-delivery-encounters-with-hysterectomy"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Delivery Encounters with Hysterectomy":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
with ["Procedure": "Hysterectomy"] Hysterectomy
such that Hysterectomy.status = 'completed'
and Hysterectomy.performed.toInterval ( ) starts during day of TwentyWeeksPlusEncounter.hospitalizationWithEDOBTriageObservation ( )</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-cardiac-conversion,-tracheostomy-or-ventilation-procedures"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Cardiac Conversion, Tracheostomy or Ventilation Procedures":
["Procedure": "Conversion of Cardiac Rhythm"]
union ["Procedure": "Tracheostomy"]
union ["Procedure": "Ventilation"]</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-delivery-encounters-with-cardiac-conversion,-tracheostomy-or-ventilation-procedures"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Delivery Encounters with Cardiac Conversion, Tracheostomy or Ventilation Procedures":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
with "Cardiac Conversion, Tracheostomy or Ventilation Procedures" ConvTrachVentProcedures
such that ConvTrachVentProcedures.status = 'completed'
and ConvTrachVentProcedures.performed.toInterval ( ) starts during day of TwentyWeeksPlusEncounter.hospitalizationWithEDOBTriageObservation ( )</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-soc-with-hysterectomy-or-blood-transfusion-with-placenta-increta-or-placenta-percreta-without-additional-soc"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SOC with Hysterectomy or Blood Transfusion with Placenta Increta or Placenta Percreta Without Additional SOC":
( "Delivery Encounters with Severe Obstetric Complications" SOCEncounter
where exists ( ( SOCEncounter.encounterDiagnosis ( ) ) EncounterDiagnosis
where EncounterDiagnosis.code in "Placenta Increta or Percreta"
)
and ( exists "Delivery Encounters with Blood Transfusion"
or exists "Delivery Encounters with Hysterectomy"
)
)
//The following logic keeps encounter in the numerator if there is an additional SOC besides Blood Transfusion or Hysterectomy
except ( ( "Delivery Encounters with Severe Obstetric Complications" SOCEncounter
where ( SOCEncounter.pOAIsNoOrUTD ( ) in "Severe Maternal Morbidity Diagnoses" )
)
union "Delivery Encounters with Cardiac Conversion, Tracheostomy or Ventilation Procedures"
union "Delivery Encounters with Expiration"
)</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-sde-delivery-encounters-with-severe-obstetric-complication-diagnosis"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SDE Delivery Encounters with Severe Obstetric Complication Diagnosis":
( "Delivery Encounters with Severe Obstetric Complications"
except "SOC with Hysterectomy or Blood Transfusion with Placenta Increta or Placenta Percreta Without Additional SOC" ) Encounter
where Encounter.pOAIsNoOrUTD ( ) in "Severe Maternal Morbidity Diagnoses"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-placental-accreta-spectrum"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Placental Accreta Spectrum":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Placenta Accreta"
or TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Placenta Increta or Percreta"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-neuromuscular"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Neuromuscular":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Neuromuscular Disease"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-hypertension"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Hypertension":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Hypertension"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-preterm-birth"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Preterm Birth":
/* CGA = Calculated Gestational Age. EGA = Estimated Gestational Age. */
( PCMaternal."Delivery Encounter with Age Range" DeliveryEncounter
let CGA: DeliveryEncounter.calculatedGestationalAge ( ),
EGA: DeliveryEncounter.lastEstimatedGestationalAge ( )
where CGA in Interval[20, 36]
or ( CGA is null
and ( EGA >= 20 weeks
and EGA <= 36 weeks
)
)
)
union ( PCMaternal."Delivery Encounter with Age Range" DeliveryEncounter
let CGA: DeliveryEncounter.calculatedGestationalAge ( ),
EGA: DeliveryEncounter.lastEstimatedGestationalAge ( )
where CGA is null
and EGA is null
and DeliveryEncounter.pOAIsYesOrExempt ( ) in "Preterm Birth"
)</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 "SDE Payer":
[Coverage: type in "Payer Type"] Payer
return {
code: Payer.type,
period: Payer.period
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-sde-payer"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SDE Payer":
SDE."SDE Payer"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-placental-abruption"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Placental Abruption":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Placental Abruption"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-delivery-encounters-with-covid-and-respiratory-condition-or-procedure"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Delivery Encounters with COVID and Respiratory Condition or Procedure":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where exists ( ( TwentyWeeksPlusEncounter.encounterDiagnosis ( ) ) EncounterDiagnosis
where EncounterDiagnosis.code in "COVID 19 Confirmed"
)
and ( exists ( ( TwentyWeeksPlusEncounter.encounterDiagnosis ( ) ) EncounterDiagnosis
where EncounterDiagnosis.code in "Respiratory Conditions Related to COVID 19"
)
or exists ( ["Procedure": "Respiratory Support Procedures Related to COVID 19"] COVIDRespiratoryProcedure
where COVIDRespiratoryProcedure.status = 'completed'
and COVIDRespiratoryProcedure.performed.toInterval ( ) starts during day of TwentyWeeksPlusEncounter.hospitalizationWithEDOBTriageObservation ( )
)
)</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-denominator-exclusion"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Denominator Exclusion":
"Delivery Encounters with COVID and Respiratory Condition or Procedure"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-morbid-obesity"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Morbid Obesity":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Morbid or Severe Obesity"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-preexisting-diabetes"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Preexisting Diabetes":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Preexisting Diabetes"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-bariatric-surgery"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Bariatric Surgery":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Bariatric Surgery"</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 "SDE Race":
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="severeobstetriccomplicationsfhir-sde-race"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SDE Race":
SDE."SDE Race"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-placenta-previa"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Placenta Previa":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Placenta Previa"</code></pre>
</td>
</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 "SDE Sex":
case
when Patient.gender = 'male' then "M"
when Patient.gender = 'female' then "F"
else null
end</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-sde-sex"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SDE Sex":
SDE."SDE Sex"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-bleeding-disorder"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Bleeding Disorder":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Bleeding Disorder"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-first-white-blood-cell-count-lab-test"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//First resulted value 24 hours prior to start of encounter and before time of delivery
//Report white blood cell count as 10*3/uL
define "Risk Variable First White Blood Cell Count Lab Test":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
let FirstWBC: First(["USCoreLaboratoryResultObservationProfile": "White blood cells count lab test"] WBC
where WBC.issued during Interval[start of TwentyWeeksPlusEncounter.hospitalizationWithEDOBTriageObservation() - 1440 minutes, TwentyWeeksPlusEncounter.lastTimeOfDelivery()]
and WBC.status in { 'final', 'amended', 'corrected' }
and WBC.value is not null
sort by issued.earliest()
)
return {
EncounterId: TwentyWeeksPlusEncounter.id,
FirstWBCResult: FirstWBC.value as Quantity,
Timing: FirstWBC.issued
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-first-hematocrit-lab-test"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//First resulted value 24 hours prior to start of encounter and before time of delivery
//Report hematocrit as %
define "Risk Variable First Hematocrit Lab Test":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
let FirstHematocrit: First(["USCoreLaboratoryResultObservationProfile": "Hematocrit lab test"] Hematocrit
where Hematocrit.issued during Interval[start of TwentyWeeksPlusEncounter.hospitalizationWithEDOBTriageObservation() - 1440 minutes, TwentyWeeksPlusEncounter.lastTimeOfDelivery()]
and Hematocrit.status in { 'final', 'amended', 'corrected' }
and Hematocrit.value is not null
sort by issued.earliest()
)
return {
EncounterId: TwentyWeeksPlusEncounter.id,
FirstHematocritResult: FirstHematocrit.value as Quantity,
Timing: FirstHematocrit.issued
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-severe-preeclampsia"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Severe Preeclampsia":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Severe Preeclampsia"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-anemia"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Anemia":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Anemia"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-cardiac-disease"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Cardiac Disease":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Cardiac Disease"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-long-term-anticoagulant-use"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Long Term Anticoagulant Use":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Long Term Anticoagulant Use"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-systolic-blood-pressure"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//First resulted value 24 hours prior to start of encounter and before time of delivery
//Report systolic blood pressure as mm[Hg]
//Systolic blood pressure value cannot be null per QICore profile requirement.
define "Risk Variable Systolic Blood Pressure":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
let FirstSystolicBP: First(["observation-bp"] BP
where BP.effective.earliest() during Interval[start of TwentyWeeksPlusEncounter.hospitalizationWithEDOBTriageObservation() - 1440 minutes, TwentyWeeksPlusEncounter.lastTimeOfDelivery()]
and BP.status in { 'final', 'amended', 'corrected' }
and BP.component.value is not null
sort by effective.earliest()
)
return {
EncounterId: TwentyWeeksPlusEncounter.id,
FirstSBPResult: FirstSystolicBP.component C
where C.code ~ "Systolic blood pressure"
return C.value as Quantity,
Timing: FirstSystolicBP.effective.earliest ( )
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-sde-soc-diagnoses-detail"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SDE SOC Diagnoses Detail":
"SDE Delivery Encounters with Severe Obstetric Complication Diagnosis" Encounter
let complication: Encounter.pOAIsNoOrUTD ( )
return {
id: Encounter.id,
// code: Encounter.type,
complications: complication C
where C in "Severe Maternal Morbidity Diagnoses"
return {
code: C,
SOCDxCategory: C.sOCDxCategory ( )
}
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-substance-abuse"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Substance Abuse":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Substance Abuse"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-renal-disease"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Renal Disease":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Renal Disease"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="pcmaternal-variable-calculated-gestational-age"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> PCMaternal</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Variable Calculated Gestational Age":
// This definition establishes a variable of CGA (Calculated Gestational Age). CGA is a supplemental data element to store the calculated gestational age result from the "CalculatedGestationalAge" function. The data element enables the capturing and saving of the CGA for data analysis post data receipt. Hospitals do not need to submit any additional data to comply with this definition
"Delivery Encounter with Age Range" DeliveryEncounter
let CGA: DeliveryEncounter.calculatedGestationalAge()
// return { QualifyingEncounter, CGA }
return {
EncounterID: DeliveryEncounter.id,
CalculatedCGA: CGA
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-sde-variable-calculated-gestational-age"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SDE Variable Calculated Gestational Age":
//This definition establishes a variable of CGA (Calculated Gestational Age). CGA is a supplemental data element to store the calculated gestational age result from the "CalculatedGestationalAge" function. The data element enables the capturing and saving of the CGA for data analysis post data receipt. Hospitals do not need to submit any additional data to comply with this definition.
PCMaternal."Variable Calculated Gestational Age"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-gastrointestinal-disease"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Gastrointestinal Disease":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Gastrointestinal Disease"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-delivery-encounters-with-severe-obstetric-complications-excluding-blood-transfusions"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Delivery Encounters with Severe Obstetric Complications Excluding Blood Transfusions":
"Delivery Encounters with Severe Obstetric Complications Diagnosis or Procedure Excluding Blood Transfusion"
union "Delivery Encounters with Expiration"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-delivery-encounters-with-severe-obstetric-complications-excluding-blood-transfusions-only"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Delivery Encounters with Severe Obstetric Complications Excluding Blood Transfusions Only":
"Delivery Encounters with Severe Obstetric Complications"
intersect "Delivery Encounters with Severe Obstetric Complications Excluding Blood Transfusions"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-pulmonary-hypertension"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Pulmonary Hypertension":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Pulmonary Hypertension"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-thyrotoxicosis"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Thyrotoxicosis":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Thyrotoxicosis"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-other-preeclampsia"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Other Preeclampsia":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Mild or Moderate Preeclampsia"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-initial-population"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Initial Population":
PCMaternal."Delivery Encounter with Age Range"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-economic-housing-instability"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Economic Housing Instability":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Economic Housing Instability"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-hiv"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable HIV":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "HIV in Pregnancy Childbirth and Puerperium"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-sde-delivery-encounters-with-severe-obstetric-complication-procedures"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SDE Delivery Encounters with Severe Obstetric Complication Procedures":
( "Delivery Encounters with Severe Obstetric Complications"
except "SOC with Hysterectomy or Blood Transfusion with Placenta Increta or Placenta Percreta Without Additional SOC" ) Encounter
where exists ( ["Procedure": "Severe Maternal Morbidity Procedures"]
union ["Procedure": "Blood Transfusion"] ) SMMProcedures
where SMMProcedures.status = 'completed'
and SMMProcedures.performed.toInterval ( ) starts during day of Encounter.hospitalizationWithEDOBTriageObservation ( )</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-soc-excluding-blood-transfusions-only-with-hysterectomy-or-blood-transfusion-with-placenta-increta-or-placenta-percreta-without-additional-soc"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SOC Excluding Blood Transfusions Only with Hysterectomy or Blood Transfusion with Placenta Increta or Placenta Percreta Without Additional SOC":
( "Delivery Encounters with Severe Obstetric Complications Excluding Blood Transfusions Only" SOCExcludingTransfusion
where exists ( ( SOCExcludingTransfusion.encounterDiagnosis ( ) ) EncounterDiagnoses
where EncounterDiagnoses.code in "Placenta Increta or Percreta"
)
and ( exists "Delivery Encounters with Blood Transfusion"
or exists "Delivery Encounters with Hysterectomy"
)
)
//The following logic keeps encounter in the numerator if there is an additional SOC besides Blood Transfusion or Hysterectomy
except ( ( "Delivery Encounters with Severe Obstetric Complications Excluding Blood Transfusions Only" SOCExcludingTransfusion
where SOCExcludingTransfusion.pOAIsNoOrUTD ( ) in "Severe Maternal Morbidity Diagnoses"
)
union "Delivery Encounters with Cardiac Conversion, Tracheostomy or Ventilation Procedures"
union "Delivery Encounters with Expiration"
)</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-heart-rate"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//First resulted value 24 hours prior to start of encounter and before time of delivery
//Report heart rate as beats/min
//Heart rate value cannot be null per QICore profile requirement.
define "Risk Variable Heart Rate":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
let FirstHeartRate: First(["observation-heartrate"] HeartRate
where HeartRate.effective.earliest() during Interval[start of TwentyWeeksPlusEncounter.hospitalizationWithEDOBTriageObservation() - 1440 minutes, TwentyWeeksPlusEncounter.lastTimeOfDelivery()]
and HeartRate.status in { 'final', 'amended', 'corrected' }
sort by effective.earliest()
)
return {
EncounterId: TwentyWeeksPlusEncounter.id,
FirstHRResult: FirstHeartRate.value as Quantity,
Timing: FirstHeartRate.effective.earliest ( )
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-maternal-age"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Maternal Age":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
let MaternalAge: AgeInYearsAt(date from start of TwentyWeeksPlusEncounter.period)
return { TwentyWeeksPlusEncounter, MaternalAge }</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-mental-health-disorder"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Mental Health Disorder":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Mental Health Disorder"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-obstetrical-vte"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Obstetrical VTE":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Venous Thromboembolism in Pregnancy"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-autoimmune-disease"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Autoimmune Disease":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Autoimmune Disease"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-previous-cesarean"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Previous Cesarean":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Previous Cesarean"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-gestational-diabetes"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Gestational Diabetes":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Gestational Diabetes"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-sde-soc-procedure-detail"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SDE SOC Procedure Detail":
"SDE Delivery Encounters with Severe Obstetric Complication Procedures" Encounter
let procedure: Encounter.sOCProcedures ( )
return {
id: Encounter.id,
// code: Encounter.code,
procedures: procedure P
return {
code: P,
SOCProcedureCategory: P.sOCProcedureCategory ( )
}
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-numerator"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Numerator":
"Delivery Encounters with Severe Obstetric Complications"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-risk-variable-multiple-pregnancy"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Risk Variable Multiple Pregnancy":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Multiple Pregnancy"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-denominator"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Denominator":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation"</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 "SDE Ethnicity":
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="severeobstetriccomplicationsfhir-sde-ethnicity"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SDE Ethnicity":
SDE."SDE Ethnicity"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="pcmaternal-hospitalizationwithedobtriageobservation"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> PCMaternal</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*define function "HospitalizationWithEDOBTriageObservation"(Encounter Encounter ):
HospitalizationWithEDOBTriageObservation returns the total interval from the start of any immediately prior emergency department visit or OB Triage visit through the observation visit to the discharge of the given encounter
Encounter Visit
let ObsVisit: Last(["Encounter": "Observation Services"] LastObs
where LastObs.period ends 1 hour or less on or before start of Visit.period
and LastObs.status = 'finished'
sort by
end of period
),
VisitStart: Coalesce(start of ObsVisit.period, start of Visit.period),
EDOBTriageVisit: Last(["Encounter": "ED Visit and OB Triage"] LastEDOBTriage
where LastEDOBTriage.period ends 1 hour or less on or before VisitStart
and LastEDOBTriage.status = 'finished'
sort by
end of period
)
return Interval[Coalesce(start of EDOBTriageVisit.period, VisitStart),
end of Visit.period]*/
define fluent function hospitalizationWithEDOBTriageObservation (TheEncounter Encounter ):
/*hospitalizationWithEDOBTriageObservation returns the total interval from the start of any immediately prior emergency department visit or OB Triage visit through the observation visit to the discharge of the given encounter*/
TheEncounter Visit
let ObsVisit: Last(["Encounter": "Observation Services"] LastObs
where LastObs.period ends 1 hour or less on or before start of Visit.period
and LastObs.status = 'finished'
sort by
end of period
),
VisitStart: Coalesce(start of ObsVisit.period, start of Visit.period),
EDOBTriageVisit: Last(["Encounter": "ED Visit and OB Triage"] LastEDOBTriage
where LastEDOBTriage.period ends 1 hour or less on or before VisitStart
and LastEDOBTriage.status = 'finished'
sort by
end of period
)
return Interval[Coalesce(start of EDOBTriageVisit.period, VisitStart),
end of Visit.period]</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="pcmaternal-calculatedgestationalage"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> PCMaternal</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define fluent function calculatedGestationalAge (TheEncounter Encounter ):
//Gestational Age = (280-(Estimated Delivery Date minus Reference Date/Delivery Date))/7
( 280 - ( difference in days between TheEncounter.lastTimeOfDelivery () and TheEncounter.lastEstimatedDeliveryDate( )) ) div 7</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="pcmaternal-lasttimeofdelivery"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> PCMaternal</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define fluent function lastTimeOfDelivery (TheEncounter Encounter ):
Last(["Observation": "Date and time of obstetric delivery"] TimeOfDelivery
where TimeOfDelivery.value as DateTime is not null
and TimeOfDelivery.status in { 'final', 'amended', 'corrected' }
and TimeOfDelivery.effective.earliest () during TheEncounter.hospitalizationWithEDOBTriageObservation ()
and TimeOfDelivery.value as DateTime during TheEncounter.hospitalizationWithEDOBTriageObservation()
sort by effective.earliest()
).value as DateTime</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="qicorecommon-earliest"> </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: Given an interval, return the starting point if the interval has a starting boundary specified,
otherwise, return the ending point
*/
define fluent function earliest(choice Choice<DateTime, Quantity, Interval<DateTime>, Interval<Quantity>> ):
(choice.toInterval()) period
return
if (period."hasStart"()) then start of period
else end of period</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="pcmaternal-lastestimateddeliverydate"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> PCMaternal</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*===============================================================*/
/* 03/14/2022 from MATGlobalCommonFunctionsv7.000 - latest QDM */
/* even though this PCMaternalFHIR was derived from */
/* PCMaternal=2.1.000 cql, to make next update easier. */
/* Will need to re-insert "Global". in front of these */
/* function names later (whereever they are directly used.*/
define fluent function lastEstimatedDeliveryDate (TheEncounter Encounter ):
/*This function identifies the last time the EDD was assessed 42 weeks or less prior to or on delivery and stores the result of that assessment.*/
Last(["Observation": "Delivery date Estimated"] EstimatedDateOfDelivery
where EstimatedDateOfDelivery.value as DateTime is not null
and EstimatedDateOfDelivery.status in { 'final', 'amended', 'corrected' }
and EstimatedDateOfDelivery.effective.earliest ( ) 42 weeks or less before or on TheEncounter.lastTimeOfDelivery ()
sort by effective.earliest ( )
).value as DateTime</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="pcmaternal-lastestimatedgestationalage"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> PCMaternal</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*define fluent function lastEstimatedGestationalAge (TheEncounter Encounter ):
Last(["Observation": "Estimated Gestational Age at Delivery"] EstimatedGestationalAge
where EstimatedGestationalAge.value is not null
and EstimatedGestationalAge.status in { 'final', 'amended', 'corrected' }
and EstimatedGestationalAge.effective.earliest() 24 hours or less before or on TheEncounter.lastTimeOfDelivery ()
sort by effective.earliest ()
).value as Quantity*/
define fluent function lastEstimatedGestationalAge (TheEncounter Encounter ):
Last(["Observation": "Estimated Gestational Age at Delivery"] EstimatedGestationalAge
let EGATiming: EstimatedGestationalAge.effective.earliest() where
(EGATiming 24 hours or less before or on TheEncounter.lastTimeOfDelivery ()
and EstimatedGestationalAge.value is not null
and EstimatedGestationalAge.status in { 'final', 'amended', 'corrected' }) or
(EGATiming same day as TheEncounter.lastTimeOfDelivery ()
and EGATiming during TheEncounter.hospitalizationWithEDOBTriageObservation()
and EstimatedGestationalAge.value is not null)
sort by effective.earliest ())
.value as Quantity</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="cqmcommon-encounterdiagnosis"> </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 resources referenced by the diagnosis element of the Encounter
*/
define fluent function encounterDiagnosis(Encounter Encounter ):
Encounter.diagnosis D
return singleton from ([Condition] C where C.id = D.condition.reference.getId())</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="qicorecommon-getid"> </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 the tail of the given uri (i.e. everything after the last slash in the URI).
@comment: This function can be used to determine the logical id of a given resource. It can be used in
a single-server environment to trace references. However, this function does not attempt to resolve
or distinguish the base of the given url, and so cannot be used safely in multi-server environments.
*/
define fluent function getId(uri String):
Last(Split(uri, '/'))</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-poaisyesorexempt"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define fluent function pOAIsYesOrExempt(TheEncounter Encounter):
TheEncounter.diagnosis EncounterDiagnoses
where EncounterDiagnoses.diagnosisPresentOnAdmission in "Present On Admission is Yes or Exempt"
return EncounterDiagnoses.condition.getCondition ( ).code</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="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 ([Condition] C where C.id = reference.reference.getId())</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-poaisnoorutd"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define fluent function pOAIsNoOrUTD(TheEncounter Encounter):
TheEncounter.diagnosis EncounterDiagnoses
where EncounterDiagnoses.diagnosisPresentOnAdmission in "Present on Admission is No or Unable To Determine"
return EncounterDiagnoses.condition.getCondition ( ).code</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 scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-socdxcategory"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define fluent function sOCDxCategory(Dx Concept):
case
when Dx in "Acute Heart Failure" then 'Acute Heart Failure'
when Dx in "Acute Myocardial Infarction" then 'Acute Myocardial Infarction'
when Dx in "Acute Renal Failure" then 'Acute Renal Failure'
when Dx in "Acute Respiratory Distress Syndrome" then 'Acute Respiratory Distress Syndrome'
when Dx in "Air and Thrombotic Embolism" then 'Air and Thrombotic Embolism'
when Dx in "Amniotic Fluid Embolism" then 'Amniotic Fluid Embolism'
when Dx in "Aortic Aneurysm" then 'Aortic Aneurysm'
when Dx in "Cardiac Arrest Ventricular Fibrillation" then 'Cardiac Arrest Ventricular Fibrillation'
when Dx in "Disseminated Intravascular Coagulation" then 'Disseminated Intravascular Coagulation'
when Dx in "Eclampsia" then 'Eclampsia'
when Dx in "Heart Failure Cardiac Arrest Related to Procedure or Surgery" then 'Heart Failure Cardiac Arrest Related to Procedure or Surgery'
when Dx in "Puerperal Cerebrovascular Disorder" then 'Puerperal Cerebrovascular Disorder'
when Dx in "Pulmonary Edema" then 'Pulmonary Edema'
when Dx in "Sepsis" then 'Sepsis'
when Dx in "Severe Anesthesia Complications" then 'Severe Anesthesia Complications'
when Dx in "Shock" then 'Shock'
when Dx in "Sickle Cell Disease with Crisis" then 'Sickle Cell Disease with Crisis'
else null end</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-socprocedures"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define fluent function sOCProcedures(TheEncounter Encounter):
( ["Procedure": "Severe Maternal Morbidity Procedures"]
union ["Procedure": "Blood Transfusion"] ) SMMProcedures
where SMMProcedures.status = 'completed'
and SMMProcedures.performed.toInterval ( ) starts during day of TheEncounter.hospitalizationWithEDOBTriageObservation ( )</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="severeobstetriccomplicationsfhir-socprocedurecategory"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> SevereObstetricComplicationsFHIR</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define fluent function sOCProcedureCategory(TheProcedure Procedure):
case
when TheProcedure.code in "Blood Transfusion" then 'Blood Transfusion'
when TheProcedure.code in "Conversion of Cardiac Rhythm" then 'Conversion of cardiac rhythm'
when TheProcedure.code in "Hysterectomy" then 'Hysterectomy'
when TheProcedure.code in "Tracheostomy" then 'Tracheostomy'
when TheProcedure.code in "Ventilation" then 'Ventilation'
else null end</code></pre>
</td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header">Generated using version 0.4.6 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://loinc.org"/>
<code value="93857-1"/>
<display value="Date and time of obstetric delivery"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
<valueCoding>
<system value="http://loinc.org"/>
<code value="11778-8"/>
<display value="Delivery date Estimated"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
<valueCoding>
<system value="http://hl7.org/fhir/administrative-gender"/>
<code value="M"/>
<display value="Male"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
<valueCoding>
<system value="http://hl7.org/fhir/administrative-gender"/>
<code value="F"/>
<display value="Female"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
<valueCoding>
<system value="http://loinc.org"/>
<code value="8480-6"/>
<display value="Systolic BP"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="CQMCommon"/>
</extension>
<extension url="name">
<valueString value="Inpatient Encounter"/>
</extension>
<extension url="statement">
<valueString
value="define "Inpatient Encounter":
[Encounter: "Encounter Inpatient"] EncounterInpatient
where EncounterInpatient.status = 'finished'
and EncounterInpatient.period ends during day of "Measurement Period""/>
</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="PCMaternal"/>
</extension>
<extension url="name">
<valueString value="Encounter with Age Range"/>
</extension>
<extension url="statement">
<valueString
value="define "Encounter with Age Range":
CQMCommon."Inpatient Encounter" InpatientEncounter
where AgeInYearsAt(date from start of InpatientEncounter.period) in Interval[ 8, 65 )"/>
</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="PCMaternal"/>
</extension>
<extension url="name">
<valueString value="Delivery Encounter with Age Range"/>
</extension>
<extension url="statement">
<valueString
value="define "Delivery Encounter with Age Range":
"Encounter with Age Range" EncounterWithAge
with ["Procedure": "Delivery Procedures"] DeliveryProcedure
such that DeliveryProcedure.status = 'completed'
and DeliveryProcedure.performed.toInterval ( ) starts during EncounterWithAge.hospitalizationWithEDOBTriageObservation ()"/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString
value="Delivery Encounters with Calculated Gestational Age Greater than or Equal to 20 Weeks"/>
</extension>
<extension url="statement">
<valueString
value="define "Delivery Encounters with Calculated Gestational Age Greater than or Equal to 20 Weeks":
PCMaternal."Delivery Encounter with Age Range" DeliveryEncounter
where DeliveryEncounter.calculatedGestationalAge ( ) >= 20"/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString
value="Delivery Encounters with Estimated Gestational Age Assessment Greater than or Equal to 20 Weeks"/>
</extension>
<extension url="statement">
<valueString
value="define "Delivery Encounters with Estimated Gestational Age Assessment Greater than or Equal to 20 Weeks":
PCMaternal."Delivery Encounter with Age Range" DeliveryEncounter
where DeliveryEncounter.calculatedGestationalAge ( ) is null
and ( DeliveryEncounter.lastEstimatedGestationalAge ( ) >= 20 weeks )"/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString
value="Delivery Encounters with Gestational Age Greater than or Equal to 20 Weeks Based on Coding"/>
</extension>
<extension url="statement">
<valueString
value="define "Delivery Encounters with Gestational Age Greater than or Equal to 20 Weeks Based on Coding":
PCMaternal."Delivery Encounter with Age Range" DeliveryEncounter
let CGA: DeliveryEncounter.calculatedGestationalAge ( ),
EGA: DeliveryEncounter.lastEstimatedGestationalAge ( )
where CGA is null
and EGA is null
and exists ( ( DeliveryEncounter.encounterDiagnosis ( ) ) EncounterDiagnosis
where EncounterDiagnosis.code in "20 to 42 Plus Weeks Gestation"
)"/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString
value="Delivery Encounters At Greater than or Equal to 20 Weeks Gestation"/>
</extension>
<extension url="statement">
<valueString
value="define "Delivery Encounters At Greater than or Equal to 20 Weeks Gestation":
"Delivery Encounters with Calculated Gestational Age Greater than or Equal to 20 Weeks"
union "Delivery Encounters with Estimated Gestational Age Assessment Greater than or Equal to 20 Weeks"
union "Delivery Encounters with Gestational Age Greater than or Equal to 20 Weeks Based on Coding""/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Asthma"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Asthma":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Acute or Persistent Asthma""/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString
value="Delivery Encounters with Severe Obstetric Complications Diagnosis or Procedure Excluding Blood Transfusion"/>
</extension>
<extension url="statement">
<valueString
value="define "Delivery Encounters with Severe Obstetric Complications Diagnosis or Procedure Excluding Blood Transfusion":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsNoOrUTD ( ) in "Severe Maternal Morbidity Diagnoses"
or exists ( ["Procedure": "Severe Maternal Morbidity Procedures"] SMMProcedures
where SMMProcedures.status = 'completed'
and SMMProcedures.performed.toInterval ( ) starts during day of TwentyWeeksPlusEncounter.hospitalizationWithEDOBTriageObservation ( )
)"/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Delivery Encounters with Expiration"/>
</extension>
<extension url="statement">
<valueString
value="define "Delivery Encounters with Expiration":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.hospitalization.dischargeDisposition in "Patient Expired""/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Delivery Encounters with Blood Transfusion"/>
</extension>
<extension url="statement">
<valueString
value="define "Delivery Encounters with Blood Transfusion":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
with ["Procedure": "Blood Transfusion"] BloodTransfusion
such that BloodTransfusion.status = 'completed'
and BloodTransfusion.performed.toInterval ( ) starts during day of TwentyWeeksPlusEncounter.hospitalizationWithEDOBTriageObservation ( )"/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString
value="Delivery Encounters with Severe Obstetric Complications"/>
</extension>
<extension url="statement">
<valueString
value="define "Delivery Encounters with Severe Obstetric Complications":
"Delivery Encounters with Severe Obstetric Complications Diagnosis or Procedure Excluding Blood Transfusion"
union "Delivery Encounters with Expiration"
union "Delivery Encounters with Blood Transfusion""/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Delivery Encounters with Hysterectomy"/>
</extension>
<extension url="statement">
<valueString
value="define "Delivery Encounters with Hysterectomy":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
with ["Procedure": "Hysterectomy"] Hysterectomy
such that Hysterectomy.status = 'completed'
and Hysterectomy.performed.toInterval ( ) starts during day of TwentyWeeksPlusEncounter.hospitalizationWithEDOBTriageObservation ( )"/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString
value="Cardiac Conversion, Tracheostomy or Ventilation Procedures"/>
</extension>
<extension url="statement">
<valueString
value="define "Cardiac Conversion, Tracheostomy or Ventilation Procedures":
["Procedure": "Conversion of Cardiac Rhythm"]
union ["Procedure": "Tracheostomy"]
union ["Procedure": "Ventilation"]"/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString
value="Delivery Encounters with Cardiac Conversion, Tracheostomy or Ventilation Procedures"/>
</extension>
<extension url="statement">
<valueString
value="define "Delivery Encounters with Cardiac Conversion, Tracheostomy or Ventilation Procedures":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
with "Cardiac Conversion, Tracheostomy or Ventilation Procedures" ConvTrachVentProcedures
such that ConvTrachVentProcedures.status = 'completed'
and ConvTrachVentProcedures.performed.toInterval ( ) starts during day of TwentyWeeksPlusEncounter.hospitalizationWithEDOBTriageObservation ( )"/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString
value="SOC with Hysterectomy or Blood Transfusion with Placenta Increta or Placenta Percreta Without Additional SOC"/>
</extension>
<extension url="statement">
<valueString
value="define "SOC with Hysterectomy or Blood Transfusion with Placenta Increta or Placenta Percreta Without Additional SOC":
( "Delivery Encounters with Severe Obstetric Complications" SOCEncounter
where exists ( ( SOCEncounter.encounterDiagnosis ( ) ) EncounterDiagnosis
where EncounterDiagnosis.code in "Placenta Increta or Percreta"
)
and ( exists "Delivery Encounters with Blood Transfusion"
or exists "Delivery Encounters with Hysterectomy"
)
)
//The following logic keeps encounter in the numerator if there is an additional SOC besides Blood Transfusion or Hysterectomy
except ( ( "Delivery Encounters with Severe Obstetric Complications" SOCEncounter
where ( SOCEncounter.pOAIsNoOrUTD ( ) in "Severe Maternal Morbidity Diagnoses" )
)
union "Delivery Encounters with Cardiac Conversion, Tracheostomy or Ventilation Procedures"
union "Delivery Encounters with Expiration"
)"/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString
value="SDE Delivery Encounters with Severe Obstetric Complication Diagnosis"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Delivery Encounters with Severe Obstetric Complication Diagnosis":
( "Delivery Encounters with Severe Obstetric Complications"
except "SOC with Hysterectomy or Blood Transfusion with Placenta Increta or Placenta Percreta Without Additional SOC" ) Encounter
where Encounter.pOAIsNoOrUTD ( ) in "Severe Maternal Morbidity Diagnoses""/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Placental Accreta Spectrum"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Placental Accreta Spectrum":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Placenta Accreta"
or TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Placenta Increta or Percreta""/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Neuromuscular"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Neuromuscular":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Neuromuscular Disease""/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Hypertension"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Hypertension":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Hypertension""/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Preterm Birth"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Preterm Birth":
/* CGA = Calculated Gestational Age. EGA = Estimated Gestational Age. */
( PCMaternal."Delivery Encounter with Age Range" DeliveryEncounter
let CGA: DeliveryEncounter.calculatedGestationalAge ( ),
EGA: DeliveryEncounter.lastEstimatedGestationalAge ( )
where CGA in Interval[20, 36]
or ( CGA is null
and ( EGA >= 20 weeks
and EGA <= 36 weeks
)
)
)
union ( PCMaternal."Delivery Encounter with Age Range" DeliveryEncounter
let CGA: DeliveryEncounter.calculatedGestationalAge ( ),
EGA: DeliveryEncounter.lastEstimatedGestationalAge ( )
where CGA is null
and EGA is null
and DeliveryEncounter.pOAIsYesOrExempt ( ) in "Preterm Birth"
)"/>
</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="SupplementalDataElements"/>
</extension>
<extension url="name">
<valueString value="SDE Payer"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Payer":
[Coverage: type in "Payer Type"] Payer
return {
code: Payer.type,
period: Payer.period
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="21"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="SDE Payer"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Payer":
SDE."SDE Payer""/>
</extension>
<extension url="displaySequence">
<valueInteger value="22"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Placental Abruption"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Placental Abruption":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Placental Abruption""/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString
value="Delivery Encounters with COVID and Respiratory Condition or Procedure"/>
</extension>
<extension url="statement">
<valueString
value="define "Delivery Encounters with COVID and Respiratory Condition or Procedure":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where exists ( ( TwentyWeeksPlusEncounter.encounterDiagnosis ( ) ) EncounterDiagnosis
where EncounterDiagnosis.code in "COVID 19 Confirmed"
)
and ( exists ( ( TwentyWeeksPlusEncounter.encounterDiagnosis ( ) ) EncounterDiagnosis
where EncounterDiagnosis.code in "Respiratory Conditions Related to COVID 19"
)
or exists ( ["Procedure": "Respiratory Support Procedures Related to COVID 19"] COVIDRespiratoryProcedure
where COVIDRespiratoryProcedure.status = 'completed'
and COVIDRespiratoryProcedure.performed.toInterval ( ) starts during day of TwentyWeeksPlusEncounter.hospitalizationWithEDOBTriageObservation ( )
)
)"/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Denominator Exclusion"/>
</extension>
<extension url="statement">
<valueString
value="define "Denominator Exclusion":
"Delivery Encounters with COVID and Respiratory Condition or Procedure""/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Morbid Obesity"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Morbid Obesity":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Morbid or Severe Obesity""/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Preexisting Diabetes"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Preexisting Diabetes":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Preexisting Diabetes""/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Bariatric Surgery"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Bariatric Surgery":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Bariatric Surgery""/>
</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="SupplementalDataElements"/>
</extension>
<extension url="name">
<valueString value="SDE Race"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Race":
Patient.race R
return Tuple {
codes: R.ombCategory union R.detailed,
display: R.text
}"/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="SDE Race"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Race":
SDE."SDE Race""/>
</extension>
<extension url="displaySequence">
<valueInteger value="30"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Placenta Previa"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Placenta Previa":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Placenta Previa""/>
</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="SupplementalDataElements"/>
</extension>
<extension url="name">
<valueString value="SDE Sex"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Sex":
case
when Patient.gender = 'male' then "M"
when Patient.gender = 'female' then "F"
else null
end"/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="SDE Sex"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Sex":
SDE."SDE Sex""/>
</extension>
<extension url="displaySequence">
<valueInteger value="33"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Bleeding Disorder"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Bleeding Disorder":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Bleeding Disorder""/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString
value="Risk Variable First White Blood Cell Count Lab Test"/>
</extension>
<extension url="statement">
<valueString
value="//First resulted value 24 hours prior to start of encounter and before time of delivery
//Report white blood cell count as 10*3/uL
define "Risk Variable First White Blood Cell Count Lab Test":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
let FirstWBC: First(["USCoreLaboratoryResultObservationProfile": "White blood cells count lab test"] WBC
where WBC.issued during Interval[start of TwentyWeeksPlusEncounter.hospitalizationWithEDOBTriageObservation() - 1440 minutes, TwentyWeeksPlusEncounter.lastTimeOfDelivery()]
and WBC.status in { 'final', 'amended', 'corrected' }
and WBC.value is not null
sort by issued.earliest()
)
return {
EncounterId: TwentyWeeksPlusEncounter.id,
FirstWBCResult: FirstWBC.value as Quantity,
Timing: FirstWBC.issued
}"/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable First Hematocrit Lab Test"/>
</extension>
<extension url="statement">
<valueString
value="//First resulted value 24 hours prior to start of encounter and before time of delivery
//Report hematocrit as %
define "Risk Variable First Hematocrit Lab Test":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
let FirstHematocrit: First(["USCoreLaboratoryResultObservationProfile": "Hematocrit lab test"] Hematocrit
where Hematocrit.issued during Interval[start of TwentyWeeksPlusEncounter.hospitalizationWithEDOBTriageObservation() - 1440 minutes, TwentyWeeksPlusEncounter.lastTimeOfDelivery()]
and Hematocrit.status in { 'final', 'amended', 'corrected' }
and Hematocrit.value is not null
sort by issued.earliest()
)
return {
EncounterId: TwentyWeeksPlusEncounter.id,
FirstHematocritResult: FirstHematocrit.value as Quantity,
Timing: FirstHematocrit.issued
}"/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Severe Preeclampsia"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Severe Preeclampsia":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Severe Preeclampsia""/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Anemia"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Anemia":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Anemia""/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Cardiac Disease"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Cardiac Disease":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Cardiac Disease""/>
</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="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Long Term Anticoagulant Use"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Long Term Anticoagulant Use":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Long Term Anticoagulant Use""/>
</extension>
<extension url="displaySequence">
<valueInteger value="40"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Systolic Blood Pressure"/>
</extension>
<extension url="statement">
<valueString
value="//First resulted value 24 hours prior to start of encounter and before time of delivery
//Report systolic blood pressure as mm[Hg]
//Systolic blood pressure value cannot be null per QICore profile requirement.
define "Risk Variable Systolic Blood Pressure":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
let FirstSystolicBP: First(["observation-bp"] BP
where BP.effective.earliest() during Interval[start of TwentyWeeksPlusEncounter.hospitalizationWithEDOBTriageObservation() - 1440 minutes, TwentyWeeksPlusEncounter.lastTimeOfDelivery()]
and BP.status in { 'final', 'amended', 'corrected' }
and BP.component.value is not null
sort by effective.earliest()
)
return {
EncounterId: TwentyWeeksPlusEncounter.id,
FirstSBPResult: FirstSystolicBP.component C
where C.code ~ "Systolic blood pressure"
return C.value as Quantity,
Timing: FirstSystolicBP.effective.earliest ( )
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="41"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="SDE SOC Diagnoses Detail"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE SOC Diagnoses Detail":
"SDE Delivery Encounters with Severe Obstetric Complication Diagnosis" Encounter
let complication: Encounter.pOAIsNoOrUTD ( )
return {
id: Encounter.id,
// code: Encounter.type,
complications: complication C
where C in "Severe Maternal Morbidity Diagnoses"
return {
code: C,
SOCDxCategory: C.sOCDxCategory ( )
}
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="42"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Substance Abuse"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Substance Abuse":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Substance Abuse""/>
</extension>
<extension url="displaySequence">
<valueInteger value="43"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Renal Disease"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Renal Disease":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Renal Disease""/>
</extension>
<extension url="displaySequence">
<valueInteger value="44"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="PCMaternal"/>
</extension>
<extension url="name">
<valueString value="Variable Calculated Gestational Age"/>
</extension>
<extension url="statement">
<valueString
value="define "Variable Calculated Gestational Age":
// This definition establishes a variable of CGA (Calculated Gestational Age). CGA is a supplemental data element to store the calculated gestational age result from the "CalculatedGestationalAge" function. The data element enables the capturing and saving of the CGA for data analysis post data receipt. Hospitals do not need to submit any additional data to comply with this definition
"Delivery Encounter with Age Range" DeliveryEncounter
let CGA: DeliveryEncounter.calculatedGestationalAge()
// return { QualifyingEncounter, CGA }
return {
EncounterID: DeliveryEncounter.id,
CalculatedCGA: CGA
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="45"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="SDE Variable Calculated Gestational Age"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Variable Calculated Gestational Age":
//This definition establishes a variable of CGA (Calculated Gestational Age). CGA is a supplemental data element to store the calculated gestational age result from the "CalculatedGestationalAge" function. The data element enables the capturing and saving of the CGA for data analysis post data receipt. Hospitals do not need to submit any additional data to comply with this definition.
PCMaternal."Variable Calculated Gestational Age""/>
</extension>
<extension url="displaySequence">
<valueInteger value="46"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Gastrointestinal Disease"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Gastrointestinal Disease":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Gastrointestinal Disease""/>
</extension>
<extension url="displaySequence">
<valueInteger value="47"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString
value="Delivery Encounters with Severe Obstetric Complications Excluding Blood Transfusions"/>
</extension>
<extension url="statement">
<valueString
value="define "Delivery Encounters with Severe Obstetric Complications Excluding Blood Transfusions":
"Delivery Encounters with Severe Obstetric Complications Diagnosis or Procedure Excluding Blood Transfusion"
union "Delivery Encounters with Expiration""/>
</extension>
<extension url="displaySequence">
<valueInteger value="48"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString
value="Delivery Encounters with Severe Obstetric Complications Excluding Blood Transfusions Only"/>
</extension>
<extension url="statement">
<valueString
value="define "Delivery Encounters with Severe Obstetric Complications Excluding Blood Transfusions Only":
"Delivery Encounters with Severe Obstetric Complications"
intersect "Delivery Encounters with Severe Obstetric Complications Excluding Blood Transfusions""/>
</extension>
<extension url="displaySequence">
<valueInteger value="49"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Pulmonary Hypertension"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Pulmonary Hypertension":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Pulmonary Hypertension""/>
</extension>
<extension url="displaySequence">
<valueInteger value="50"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Thyrotoxicosis"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Thyrotoxicosis":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Thyrotoxicosis""/>
</extension>
<extension url="displaySequence">
<valueInteger value="51"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Other Preeclampsia"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Other Preeclampsia":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Mild or Moderate Preeclampsia""/>
</extension>
<extension url="displaySequence">
<valueInteger value="52"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Initial Population"/>
</extension>
<extension url="statement">
<valueString
value="define "Initial Population":
PCMaternal."Delivery Encounter with Age Range""/>
</extension>
<extension url="displaySequence">
<valueInteger value="53"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Economic Housing Instability"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Economic Housing Instability":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Economic Housing Instability""/>
</extension>
<extension url="displaySequence">
<valueInteger value="54"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable HIV"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable HIV":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "HIV in Pregnancy Childbirth and Puerperium""/>
</extension>
<extension url="displaySequence">
<valueInteger value="55"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString
value="SDE Delivery Encounters with Severe Obstetric Complication Procedures"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Delivery Encounters with Severe Obstetric Complication Procedures":
( "Delivery Encounters with Severe Obstetric Complications"
except "SOC with Hysterectomy or Blood Transfusion with Placenta Increta or Placenta Percreta Without Additional SOC" ) Encounter
where exists ( ["Procedure": "Severe Maternal Morbidity Procedures"]
union ["Procedure": "Blood Transfusion"] ) SMMProcedures
where SMMProcedures.status = 'completed'
and SMMProcedures.performed.toInterval ( ) starts during day of Encounter.hospitalizationWithEDOBTriageObservation ( )"/>
</extension>
<extension url="displaySequence">
<valueInteger value="56"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString
value="SOC Excluding Blood Transfusions Only with Hysterectomy or Blood Transfusion with Placenta Increta or Placenta Percreta Without Additional SOC"/>
</extension>
<extension url="statement">
<valueString
value="define "SOC Excluding Blood Transfusions Only with Hysterectomy or Blood Transfusion with Placenta Increta or Placenta Percreta Without Additional SOC":
( "Delivery Encounters with Severe Obstetric Complications Excluding Blood Transfusions Only" SOCExcludingTransfusion
where exists ( ( SOCExcludingTransfusion.encounterDiagnosis ( ) ) EncounterDiagnoses
where EncounterDiagnoses.code in "Placenta Increta or Percreta"
)
and ( exists "Delivery Encounters with Blood Transfusion"
or exists "Delivery Encounters with Hysterectomy"
)
)
//The following logic keeps encounter in the numerator if there is an additional SOC besides Blood Transfusion or Hysterectomy
except ( ( "Delivery Encounters with Severe Obstetric Complications Excluding Blood Transfusions Only" SOCExcludingTransfusion
where SOCExcludingTransfusion.pOAIsNoOrUTD ( ) in "Severe Maternal Morbidity Diagnoses"
)
union "Delivery Encounters with Cardiac Conversion, Tracheostomy or Ventilation Procedures"
union "Delivery Encounters with Expiration"
)"/>
</extension>
<extension url="displaySequence">
<valueInteger value="57"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Heart Rate"/>
</extension>
<extension url="statement">
<valueString
value="//First resulted value 24 hours prior to start of encounter and before time of delivery
//Report heart rate as beats/min
//Heart rate value cannot be null per QICore profile requirement.
define "Risk Variable Heart Rate":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
let FirstHeartRate: First(["observation-heartrate"] HeartRate
where HeartRate.effective.earliest() during Interval[start of TwentyWeeksPlusEncounter.hospitalizationWithEDOBTriageObservation() - 1440 minutes, TwentyWeeksPlusEncounter.lastTimeOfDelivery()]
and HeartRate.status in { 'final', 'amended', 'corrected' }
sort by effective.earliest()
)
return {
EncounterId: TwentyWeeksPlusEncounter.id,
FirstHRResult: FirstHeartRate.value as Quantity,
Timing: FirstHeartRate.effective.earliest ( )
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="58"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Maternal Age"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Maternal Age":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
let MaternalAge: AgeInYearsAt(date from start of TwentyWeeksPlusEncounter.period)
return { TwentyWeeksPlusEncounter, MaternalAge }"/>
</extension>
<extension url="displaySequence">
<valueInteger value="59"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Mental Health Disorder"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Mental Health Disorder":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Mental Health Disorder""/>
</extension>
<extension url="displaySequence">
<valueInteger value="60"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Obstetrical VTE"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Obstetrical VTE":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Venous Thromboembolism in Pregnancy""/>
</extension>
<extension url="displaySequence">
<valueInteger value="61"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Autoimmune Disease"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Autoimmune Disease":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Autoimmune Disease""/>
</extension>
<extension url="displaySequence">
<valueInteger value="62"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Previous Cesarean"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Previous Cesarean":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Previous Cesarean""/>
</extension>
<extension url="displaySequence">
<valueInteger value="63"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Gestational Diabetes"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Gestational Diabetes":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Gestational Diabetes""/>
</extension>
<extension url="displaySequence">
<valueInteger value="64"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="SDE SOC Procedure Detail"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE SOC Procedure Detail":
"SDE Delivery Encounters with Severe Obstetric Complication Procedures" Encounter
let procedure: Encounter.sOCProcedures ( )
return {
id: Encounter.id,
// code: Encounter.code,
procedures: procedure P
return {
code: P,
SOCProcedureCategory: P.sOCProcedureCategory ( )
}
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="65"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Numerator"/>
</extension>
<extension url="statement">
<valueString
value="define "Numerator":
"Delivery Encounters with Severe Obstetric Complications""/>
</extension>
<extension url="displaySequence">
<valueInteger value="66"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Risk Variable Multiple Pregnancy"/>
</extension>
<extension url="statement">
<valueString
value="define "Risk Variable Multiple Pregnancy":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation" TwentyWeeksPlusEncounter
where TwentyWeeksPlusEncounter.pOAIsYesOrExempt ( ) in "Multiple Pregnancy""/>
</extension>
<extension url="displaySequence">
<valueInteger value="67"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="Denominator"/>
</extension>
<extension url="statement">
<valueString
value="define "Denominator":
"Delivery Encounters At Greater than or Equal to 20 Weeks Gestation""/>
</extension>
<extension url="displaySequence">
<valueInteger value="68"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SupplementalDataElements"/>
</extension>
<extension url="name">
<valueString value="SDE Ethnicity"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Ethnicity":
Patient.ethnicity E
return Tuple {
codes: { E.ombCategory } union E.detailed,
display: E.text
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="69"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="SDE Ethnicity"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Ethnicity":
SDE."SDE Ethnicity""/>
</extension>
<extension url="displaySequence">
<valueInteger value="70"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="PCMaternal"/>
</extension>
<extension url="name">
<valueString value="hospitalizationWithEDOBTriageObservation"/>
</extension>
<extension url="statement">
<valueString
value="/*define function "HospitalizationWithEDOBTriageObservation"(Encounter Encounter ):
HospitalizationWithEDOBTriageObservation returns the total interval from the start of any immediately prior emergency department visit or OB Triage visit through the observation visit to the discharge of the given encounter
Encounter Visit
let ObsVisit: Last(["Encounter": "Observation Services"] LastObs
where LastObs.period ends 1 hour or less on or before start of Visit.period
and LastObs.status = 'finished'
sort by
end of period
),
VisitStart: Coalesce(start of ObsVisit.period, start of Visit.period),
EDOBTriageVisit: Last(["Encounter": "ED Visit and OB Triage"] LastEDOBTriage
where LastEDOBTriage.period ends 1 hour or less on or before VisitStart
and LastEDOBTriage.status = 'finished'
sort by
end of period
)
return Interval[Coalesce(start of EDOBTriageVisit.period, VisitStart),
end of Visit.period]*/
define fluent function hospitalizationWithEDOBTriageObservation (TheEncounter Encounter ):
/*hospitalizationWithEDOBTriageObservation returns the total interval from the start of any immediately prior emergency department visit or OB Triage visit through the observation visit to the discharge of the given encounter*/
TheEncounter Visit
let ObsVisit: Last(["Encounter": "Observation Services"] LastObs
where LastObs.period ends 1 hour or less on or before start of Visit.period
and LastObs.status = 'finished'
sort by
end of period
),
VisitStart: Coalesce(start of ObsVisit.period, start of Visit.period),
EDOBTriageVisit: Last(["Encounter": "ED Visit and OB Triage"] LastEDOBTriage
where LastEDOBTriage.period ends 1 hour or less on or before VisitStart
and LastEDOBTriage.status = 'finished'
sort by
end of period
)
return Interval[Coalesce(start of EDOBTriageVisit.period, VisitStart),
end of Visit.period]"/>
</extension>
<extension url="displaySequence">
<valueInteger value="71"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="PCMaternal"/>
</extension>
<extension url="name">
<valueString value="calculatedGestationalAge"/>
</extension>
<extension url="statement">
<valueString
value="define fluent function calculatedGestationalAge (TheEncounter Encounter ):
//Gestational Age = (280-(Estimated Delivery Date minus Reference Date/Delivery Date))/7
( 280 - ( difference in days between TheEncounter.lastTimeOfDelivery () and TheEncounter.lastEstimatedDeliveryDate( )) ) div 7"/>
</extension>
<extension url="displaySequence">
<valueInteger value="72"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="PCMaternal"/>
</extension>
<extension url="name">
<valueString value="lastTimeOfDelivery"/>
</extension>
<extension url="statement">
<valueString
value="define fluent function lastTimeOfDelivery (TheEncounter Encounter ):
Last(["Observation": "Date and time of obstetric delivery"] TimeOfDelivery
where TimeOfDelivery.value as DateTime is not null
and TimeOfDelivery.status in { 'final', 'amended', 'corrected' }
and TimeOfDelivery.effective.earliest () during TheEncounter.hospitalizationWithEDOBTriageObservation ()
and TimeOfDelivery.value as DateTime during TheEncounter.hospitalizationWithEDOBTriageObservation()
sort by effective.earliest()
).value as DateTime"/>
</extension>
<extension url="displaySequence">
<valueInteger value="73"/>
</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="earliest"/>
</extension>
<extension url="statement">
<valueString
value="/*
@description: Given an interval, return the starting point if the interval has a starting boundary specified,
otherwise, return the ending point
*/
define fluent function earliest(choice Choice<DateTime, Quantity, Interval<DateTime>, Interval<Quantity>> ):
(choice.toInterval()) period
return
if (period."hasStart"()) then start of period
else end of period"/>
</extension>
<extension url="displaySequence">
<valueInteger value="74"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="PCMaternal"/>
</extension>
<extension url="name">
<valueString value="lastEstimatedDeliveryDate"/>
</extension>
<extension url="statement">
<valueString
value="/*===============================================================*/
/* 03/14/2022 from MATGlobalCommonFunctionsv7.000 - latest QDM */
/* even though this PCMaternalFHIR was derived from */
/* PCMaternal=2.1.000 cql, to make next update easier. */
/* Will need to re-insert "Global". in front of these */
/* function names later (whereever they are directly used.*/
define fluent function lastEstimatedDeliveryDate (TheEncounter Encounter ):
/*This function identifies the last time the EDD was assessed 42 weeks or less prior to or on delivery and stores the result of that assessment.*/
Last(["Observation": "Delivery date Estimated"] EstimatedDateOfDelivery
where EstimatedDateOfDelivery.value as DateTime is not null
and EstimatedDateOfDelivery.status in { 'final', 'amended', 'corrected' }
and EstimatedDateOfDelivery.effective.earliest ( ) 42 weeks or less before or on TheEncounter.lastTimeOfDelivery ()
sort by effective.earliest ( )
).value as DateTime"/>
</extension>
<extension url="displaySequence">
<valueInteger value="75"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="PCMaternal"/>
</extension>
<extension url="name">
<valueString value="lastEstimatedGestationalAge"/>
</extension>
<extension url="statement">
<valueString
value="/*define fluent function lastEstimatedGestationalAge (TheEncounter Encounter ):
Last(["Observation": "Estimated Gestational Age at Delivery"] EstimatedGestationalAge
where EstimatedGestationalAge.value is not null
and EstimatedGestationalAge.status in { 'final', 'amended', 'corrected' }
and EstimatedGestationalAge.effective.earliest() 24 hours or less before or on TheEncounter.lastTimeOfDelivery ()
sort by effective.earliest ()
).value as Quantity*/
define fluent function lastEstimatedGestationalAge (TheEncounter Encounter ):
Last(["Observation": "Estimated Gestational Age at Delivery"] EstimatedGestationalAge
let EGATiming: EstimatedGestationalAge.effective.earliest() where
(EGATiming 24 hours or less before or on TheEncounter.lastTimeOfDelivery ()
and EstimatedGestationalAge.value is not null
and EstimatedGestationalAge.status in { 'final', 'amended', 'corrected' }) or
(EGATiming same day as TheEncounter.lastTimeOfDelivery ()
and EGATiming during TheEncounter.hospitalizationWithEDOBTriageObservation()
and EstimatedGestationalAge.value is not null)
sort by effective.earliest ())
.value as Quantity"/>
</extension>
<extension url="displaySequence">
<valueInteger value="76"/>
</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="encounterDiagnosis"/>
</extension>
<extension url="statement">
<valueString
value="/*
@description: Returns the Condition resources referenced by the diagnosis element of the Encounter
*/
define fluent function encounterDiagnosis(Encounter Encounter ):
Encounter.diagnosis D
return singleton from ([Condition] C where C.id = D.condition.reference.getId())"/>
</extension>
<extension url="displaySequence">
<valueInteger value="77"/>
</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="getId"/>
</extension>
<extension url="statement">
<valueString
value="/*
@description: Returns the tail of the given uri (i.e. everything after the last slash in the URI).
@comment: This function can be used to determine the logical id of a given resource. It can be used in
a single-server environment to trace references. However, this function does not attempt to resolve
or distinguish the base of the given url, and so cannot be used safely in multi-server environments.
*/
define fluent function getId(uri String):
Last(Split(uri, '/'))"/>
</extension>
<extension url="displaySequence">
<valueInteger value="78"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="pOAIsYesOrExempt"/>
</extension>
<extension url="statement">
<valueString
value="define fluent function pOAIsYesOrExempt(TheEncounter Encounter):
TheEncounter.diagnosis EncounterDiagnoses
where EncounterDiagnoses.diagnosisPresentOnAdmission in "Present On Admission is Yes or Exempt"
return EncounterDiagnoses.condition.getCondition ( ).code"/>
</extension>
<extension url="displaySequence">
<valueInteger value="79"/>
</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="80"/>
</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 ([Condition] C where C.id = reference.reference.getId())"/>
</extension>
<extension url="displaySequence">
<valueInteger value="81"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="pOAIsNoOrUTD"/>
</extension>
<extension url="statement">
<valueString
value="define fluent function pOAIsNoOrUTD(TheEncounter Encounter):
TheEncounter.diagnosis EncounterDiagnoses
where EncounterDiagnoses.diagnosisPresentOnAdmission in "Present on Admission is No or Unable To Determine"
return EncounterDiagnoses.condition.getCondition ( ).code"/>
</extension>
<extension url="displaySequence">
<valueInteger value="82"/>
</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="83"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="sOCDxCategory"/>
</extension>
<extension url="statement">
<valueString
value="define fluent function sOCDxCategory(Dx Concept):
case
when Dx in "Acute Heart Failure" then 'Acute Heart Failure'
when Dx in "Acute Myocardial Infarction" then 'Acute Myocardial Infarction'
when Dx in "Acute Renal Failure" then 'Acute Renal Failure'
when Dx in "Acute Respiratory Distress Syndrome" then 'Acute Respiratory Distress Syndrome'
when Dx in "Air and Thrombotic Embolism" then 'Air and Thrombotic Embolism'
when Dx in "Amniotic Fluid Embolism" then 'Amniotic Fluid Embolism'
when Dx in "Aortic Aneurysm" then 'Aortic Aneurysm'
when Dx in "Cardiac Arrest Ventricular Fibrillation" then 'Cardiac Arrest Ventricular Fibrillation'
when Dx in "Disseminated Intravascular Coagulation" then 'Disseminated Intravascular Coagulation'
when Dx in "Eclampsia" then 'Eclampsia'
when Dx in "Heart Failure Cardiac Arrest Related to Procedure or Surgery" then 'Heart Failure Cardiac Arrest Related to Procedure or Surgery'
when Dx in "Puerperal Cerebrovascular Disorder" then 'Puerperal Cerebrovascular Disorder'
when Dx in "Pulmonary Edema" then 'Pulmonary Edema'
when Dx in "Sepsis" then 'Sepsis'
when Dx in "Severe Anesthesia Complications" then 'Severe Anesthesia Complications'
when Dx in "Shock" then 'Shock'
when Dx in "Sickle Cell Disease with Crisis" then 'Sickle Cell Disease with Crisis'
else null end"/>
</extension>
<extension url="displaySequence">
<valueInteger value="84"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="sOCProcedures"/>
</extension>
<extension url="statement">
<valueString
value="define fluent function sOCProcedures(TheEncounter Encounter):
( ["Procedure": "Severe Maternal Morbidity Procedures"]
union ["Procedure": "Blood Transfusion"] ) SMMProcedures
where SMMProcedures.status = 'completed'
and SMMProcedures.performed.toInterval ( ) starts during day of TheEncounter.hospitalizationWithEDOBTriageObservation ( )"/>
</extension>
<extension url="displaySequence">
<valueInteger value="85"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="SevereObstetricComplicationsFHIR"/>
</extension>
<extension url="name">
<valueString value="sOCProcedureCategory"/>
</extension>
<extension url="statement">
<valueString
value="define fluent function sOCProcedureCategory(TheProcedure Procedure):
case
when TheProcedure.code in "Blood Transfusion" then 'Blood Transfusion'
when TheProcedure.code in "Conversion of Cardiac Rhythm" then 'Conversion of cardiac rhythm'
when TheProcedure.code in "Hysterectomy" then 'Hysterectomy'
when TheProcedure.code in "Tracheostomy" then 'Tracheostomy'
when TheProcedure.code in "Ventilation" then 'Ventilation'
else null end"/>
</extension>
<extension url="displaySequence">
<valueInteger value="86"/>
</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 PCMaternal"/>
<resource value="Library/PCMaternal|5.19.000"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library CQMCommon"/>
<resource value="Library/CQMCommon|2.2.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|2.1.000"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library SDE"/>
<resource value="Library/SupplementalDataElements|3.5.000"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Code system LOINC"/>
<resource value="http://loinc.org"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Code system AdministrativeGender"/>
<resource value="http://hl7.org/fhir/administrative-gender"/>
</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 Delivery Procedures"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.59"/>
</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 ED Visit and OB Triage"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.369"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Estimated Gestational Age at Delivery"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.26"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set 20 to 42 Plus Weeks Gestation"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.67"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Present On Admission is Yes or Exempt"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.63"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Acute or Persistent Asthma"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.271"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display
value="Value set Present on Admission is No or Unable To Determine"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.370"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Severe Maternal Morbidity Diagnoses"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.255"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Severe Maternal Morbidity Procedures"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.256"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Patient Expired"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.309"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Blood Transfusion"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.213"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Placenta Increta or Percreta"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.388"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Hysterectomy"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.358"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Conversion of Cardiac Rhythm"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.357"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Tracheostomy"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.359"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Ventilation"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.360"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Placenta Accreta"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.302"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Neuromuscular Disease"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.308"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Hypertension"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.332"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Preterm Birth"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.299"/>
</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 Placental Abruption"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.305"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set COVID 19 Confirmed"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.373"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display
value="Value set Respiratory Conditions Related to COVID 19"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.376"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display
value="Value set Respiratory Support Procedures Related to COVID 19"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.379"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Morbid or Severe Obesity"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.290"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Preexisting Diabetes"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.275"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Bariatric Surgery"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.317"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Placenta Previa"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.78"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Bleeding Disorder"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.287"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set White blood cells count lab test"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.129"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Hematocrit lab test"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.114"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Severe Preeclampsia"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.327"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Anemia"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.323"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Cardiac Disease"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.341"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Long Term Anticoagulant Use"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.366"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Acute Heart Failure"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.233"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Acute Myocardial Infarction"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.623"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Acute Renal Failure"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.53"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Acute Respiratory Distress Syndrome"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.214"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Air and Thrombotic Embolism"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.243"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Amniotic Fluid Embolism"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.217"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Aortic Aneurysm"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.219"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Cardiac Arrest Ventricular Fibrillation"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.221"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Disseminated Intravascular Coagulation"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.223"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Eclampsia"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.225"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display
value="Value set Heart Failure Cardiac Arrest Related to Procedure or Surgery"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.227"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Puerperal Cerebrovascular Disorder"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.229"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Pulmonary Edema"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.231"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Sepsis"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.237"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Severe Anesthesia Complications"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.235"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Shock"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.239"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Sickle Cell Disease with Crisis"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.241"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Substance Abuse"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.320"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Renal Disease"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.335"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Gastrointestinal Disease"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.338"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Pulmonary Hypertension"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.281"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Thyrotoxicosis"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.296"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Mild or Moderate Preeclampsia"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.329"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Economic Housing Instability"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.292"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display
value="Value set HIV in Pregnancy Childbirth and Puerperium"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.272"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Mental Health Disorder"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.314"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Venous Thromboembolism in Pregnancy"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.363"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Autoimmune Disease"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.311"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Previous Cesarean"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.278"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Gestational Diabetes"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.269"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Multiple Pregnancy"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.284"/>
</relatedArtifact>
<parameter>
<name value="Measurement Period"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<type value="Period"/>
</parameter>
<parameter>
<name value="Risk Variable Asthma"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name
value="SDE Delivery Encounters with Severe Obstetric Complication Diagnosis"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Placental Accreta Spectrum"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Neuromuscular"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Hypertension"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name
value="SOC with Hysterectomy or Blood Transfusion with Placenta Increta or Placenta Percreta Without Additional SOC"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Preterm Birth"/>
<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="Risk Variable Placental Abruption"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Denominator Exclusion"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Morbid Obesity"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Preexisting Diabetes"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Bariatric Surgery"/>
<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>
<parameter>
<name value="Risk Variable Placenta Previa"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Sex"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="Coding"/>
</parameter>
<parameter>
<name value="Risk Variable Bleeding Disorder"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable First White Blood Cell Count Lab Test"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable First Hematocrit Lab Test"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Severe Preeclampsia"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Anemia"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Cardiac Disease"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Long Term Anticoagulant Use"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Systolic Blood Pressure"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE SOC Diagnoses Detail"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Substance Abuse"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Renal Disease"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Variable Calculated Gestational Age"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Gastrointestinal Disease"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name
value="Delivery Encounters with Severe Obstetric Complications Excluding Blood Transfusions Only"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Pulmonary Hypertension"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Thyrotoxicosis"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Other Preeclampsia"/>
<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="Risk Variable Economic Housing Instability"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable HIV"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name
value="SDE Delivery Encounters with Severe Obstetric Complication Procedures"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name
value="SOC Excluding Blood Transfusions Only with Hysterectomy or Blood Transfusion with Placenta Increta or Placenta Percreta Without Additional SOC"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Heart Rate"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Maternal Age"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Mental Health Disorder"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Obstetrical VTE"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Autoimmune Disease"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Previous Cesarean"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Gestational Diabetes"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE SOC Procedure Detail"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Numerator"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Risk Variable Multiple Pregnancy"/>
<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="Delivery Encounters with Blood Transfusion"/>
<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>
<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"/>
<mustSupport value="condition"/>
<mustSupport value="condition.reference"/>
<mustSupport value="condition.reference.value"/>
<mustSupport value="extension"/>
<mustSupport value="condition.code"/>
<mustSupport value="hospitalization"/>
<mustSupport value="hospitalization.dischargeDisposition"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143"/>
</codeFilter>
<codeFilter>
<path value="status.value"/>
<code>
<code value="finished"/>
</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"/>
<mustSupport value="condition"/>
<mustSupport value="condition.reference"/>
<mustSupport value="condition.reference.value"/>
<mustSupport value="extension"/>
<mustSupport value="condition.code"/>
<mustSupport value="hospitalization"/>
<mustSupport value="hospitalization.dischargeDisposition"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.369"/>
</codeFilter>
<codeFilter>
<path value="status.value"/>
<code>
<code value="finished"/>
</code>
</codeFilter>
<dateFilter>
<path value="period"/>
<valuePeriod>
<extension url="http://hl7.org/fhir/uv/crmi-analysisException">
<valueString
value="Error attempting to determine filter value: toFhirValue not implemented for Subtract"/>
</extension>
</valuePeriod>
</dateFilter>
</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"/>
<mustSupport value="condition"/>
<mustSupport value="condition.reference"/>
<mustSupport value="condition.reference.value"/>
<mustSupport value="extension"/>
<mustSupport value="condition.code"/>
<mustSupport value="hospitalization"/>
<mustSupport value="hospitalization.dischargeDisposition"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"/>
</codeFilter>
<codeFilter>
<path value="status.value"/>
<code>
<code value="finished"/>
</code>
</codeFilter>
<dateFilter>
<path value="period"/>
<valuePeriod>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-expression">
<valueExpression>
<language value="text/cql-identifier"/>
<expression value="Measurement Period"/>
</valueExpression>
</extension>
</valuePeriod>
</dateFilter>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="race"/>
<mustSupport value="ethnicity"/>
</dataRequirement>
<dataRequirement>
<type value="Procedure"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"/>
<mustSupport value="code"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="performed"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.59"/>
</codeFilter>
<codeFilter>
<path value="status.value"/>
<code>
<code value="completed"/>
</code>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Procedure"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"/>
<mustSupport value="code"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="performed"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.256"/>
</codeFilter>
<codeFilter>
<path value="status.value"/>
<code>
<code value="completed"/>
</code>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Procedure"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"/>
<mustSupport value="code"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="performed"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.358"/>
</codeFilter>
<codeFilter>
<path value="status.value"/>
<code>
<code value="completed"/>
</code>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Procedure"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"/>
<mustSupport value="code"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="performed"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.357"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Procedure"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"/>
<mustSupport value="code"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="performed"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.359"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Procedure"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"/>
<mustSupport value="code"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="performed"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.360"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Procedure"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"/>
<mustSupport value="code"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="performed"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.379"/>
</codeFilter>
<codeFilter>
<path value="status.value"/>
<code>
<code value="completed"/>
</code>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Procedure"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"/>
<mustSupport value="code"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="performed"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.256"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Procedure"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"/>
<mustSupport value="code"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="performed"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.213"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Procedure"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"/>
<mustSupport value="code"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="performed"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.213"/>
</codeFilter>
<codeFilter>
<path value="status.value"/>
<code>
<code value="completed"/>
</code>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Observation"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation"/>
<mustSupport value="code"/>
<mustSupport value="value"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="effective"/>
<codeFilter>
<path value="code"/>
<code>
<system value="http://loinc.org"/>
<code value="93857-1"/>
<display value="Date and time of obstetric delivery"/>
</code>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Observation"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation"/>
<mustSupport value="code"/>
<mustSupport value="value"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="effective"/>
<codeFilter>
<path value="code"/>
<code>
<system value="http://loinc.org"/>
<code value="11778-8"/>
<display value="Delivery date Estimated"/>
</code>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Observation"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation"/>
<mustSupport value="code"/>
<mustSupport value="effective"/>
<mustSupport value="value"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.26"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Condition"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="code"/>
</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="Observation"/>
<profile
value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/>
<mustSupport value="code"/>
<mustSupport value="issued"/>
<mustSupport value="issued.value"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="value"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.129"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Observation"/>
<profile
value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/>
<mustSupport value="code"/>
<mustSupport value="issued"/>
<mustSupport value="issued.value"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="value"/>
<codeFilter>
<path value="code"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.114"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Observation"/>
<profile value="http://hl7.org/fhir/StructureDefinition/bp"/>
<mustSupport value="effective"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="component"/>
</dataRequirement>
<dataRequirement>
<type value="Observation"/>
<profile value="http://hl7.org/fhir/StructureDefinition/heartrate"/>
<mustSupport value="effective"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="value"/>
</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, sex, variable calculated gestational age, SOC diagnosis details, and SOC procedure details
"/>
</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/us/cqfmeasures/StructureDefinition/cqfm-supplementalDataGuidance" id="riskAdjustmentVariableGuidance">
<extension url="guidance">
<valueString
value="The Severe Obstetric Complications Risk Adjustment Methodology Report is available on the eCQI Resource Center (https://ecqi.healthit.gov).
Pre-existing conditions and variables must be present on admission. Please note that present on admission codes may be extracted from billing/claims data that was entered by coding staff (Leonard, Kennedy, Carmichael, Lyell, & Main, 2020; Main, Leonard, & Menard, 2020).
- Anemia (includes sickle cell disease)
- Asthma
- Autoimmune Disease
- Bariatric Surgery
- Bleeding Disorder
- Cardiac Disease
- Economic Housing Instability
- Gastrointestinal Disease
- Gestational Diabetes
- HIV
- Hypertension
- Long-term Anticoagulant Use
- Maternal Age (derived from birthdate)
- Mental Health Disorder
- Morbid Obesity
- Multiple Pregnancy
- Neuromuscular Disease
- Obstetric VTE
- Other Pre-eclampsia
- Placenta Previa
- Placental Abruption
- Placental Accreta Spectrum
- Pre-existing Diabetes
- Preterm Birth
- Previous Cesarean
- Pulmonary Hypertension
- Renal Disease
- Severe Pre-eclampsia
- Substance Abuse
- Thyrotoxicosis
Lab and Physical Exam Results:
Report the first resulted value 24 hours prior to start of encounter and before time of delivery in UCUM units specified:
- Heart rate: {beats}/min
- Systolic blood pressure: mm[Hg]
- Hematocrit: %
- White blood cell count: 10*3/uL
Note regarding submission of risk variable data: The risk variable definitions are included in the specifications and risk variable data should be sent with eCQM data in the QRDA1 file. Specific risk variable templates are not needed in the QRDA1 files."/>
</extension>
<extension url="usage">
<valueCodeableConcept>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
<display value="Risk Adjustment Factor"/>
</coding>
<text value="Risk Adjustment Variable Guidance"/>
</valueCodeableConcept>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem">
<valueReference>
<reference value="Device/cqf-tooling"/>
</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/SevereObstetricComplicationsFHIR"/>
<identifier>
<use value="usual"/>
<type>
<coding>
<system
value="http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type"/>
<code value="short-name"/>
<display value="Short Name"/>
</coding>
</type>
<system value="https://madie.cms.gov/measure/shortName"/>
<value value="CMS1028FHIR"/>
</identifier>
<identifier>
<use value="official"/>
<type>
<coding>
<system
value="http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type"/>
<code value="version-independent"/>
<display value="Version Independent"/>
</coding>
</type>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:uuid:6cf03fe2-b962-4f83-ac37-26d7477183c7"/>
</identifier>
<identifier>
<use value="official"/>
<type>
<coding>
<system
value="http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type"/>
<code value="version-specific"/>
<display value="Version Specific"/>
</coding>
</type>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:uuid:3efa7f95-1d8e-45fa-af68-023d3554e8c1"/>
</identifier>
<identifier>
<use value="official"/>
<type>
<coding>
<system
value="http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type"/>
<code value="publisher"/>
<display value="Publisher"/>
</coding>
</type>
<system value="https://madie.cms.gov/measure/cmsId"/>
<value value="1028FHIR"/>
<assigner>
<display value="CMS"/>
</assigner>
</identifier>
<version value="0.1.000"/>
<name value="SevereObstetricComplicationsFHIR"/>
<title value="Severe Obstetric ComplicationsFHIR"/>
<status value="active"/>
<experimental value="true"/>
<date value="2024-09-09T19:21:02+00:00"/>
<publisher value="The Joint Commission"/>
<contact>
<telecom>
<system value="url"/>
<value value="https://www.jointcommission.org/"/>
</telecom>
</contact>
<description
value="Patients with severe obstetric complications that occur during the inpatient delivery hospitalization"/>
<useContext>
<code>
<system
value="http://terminology.hl7.org/CodeSystem/usage-context-type"/>
<code value="venue"/>
<display value="Venue"/>
</code>
<valueCodeableConcept>
<coding>
<system
value="http://hl7.org/fhir/us/cqfmeasures/CodeSystem/intended-venue-codes"/>
<code value="eh"/>
<display value="EH"/>
</coding>
</valueCodeableConcept>
</useContext>
<purpose value="UNKNOWN"/>
<usage
value="In the case of multiple births, map the first delivery date/time (Baby A) as the delivery date/time for the encounter. This measure allows for 3 approaches to determine gestational age (GA) in the following order of precedence:
1. The GA is calculated using the American College of Obstetricians and Gynecologists ReVITALize guidelines.*
2. The GA is obtained from a discrete field in the electronic health record. This option is only used when the calculated GA is not available.
3. The GA is based on ICD10 or SNOMED codes indicative of weeks gestation. This option is only used when results from items #1 and #2 (see above) are not available.
Wherever gestational age is mentioned, relative to the delivery, the intent is to capture the last estimated gestational age prior to or at the time of delivery.
*ACOG ReVITALize Guidelines for Calculating Gestational Age (ACOG, 2014):
Gestational Age = (280-(Estimated Due Date minus Reference Date))/7
--Estimated Due Date (EDD): The best obstetrical EDD is determined by last menstrual period if confirmed by early ultrasound or no ultrasound performed, or early ultrasound if no known last menstrual period or the ultrasound is not consistent with last menstrual period, or known date of fertilization (e.g., assisted reproductive technology)
--Reference Date is the date on which you are trying to determine gestational age. For purposes of this eCQM, Reference Date would be the Date of Delivery.
Note however the calculation may yield a non-whole number and gestational age should be rounded down to the nearest completed week. For example, an infant born on the 5th day of the 36th week (35 weeks and 5/7 days) is at a gestational age of 35 weeks, not 36 weeks.
Definition:
For this measure, specifications are modeled after the nationally available and adopted CDC definition for Severe Maternal Morbidity (SMM) with the addition of maternal mortality. At times, we may refer to the CDC indicators of morbidity as SMM, but the outcome of the measure, which includes morbidity and mortality, is referred to as Severe Obstetric Complications (SOC).
Note: This measure will be stratified by race/ethnicity and payer after measure submission.
This eCQM 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 CMS1028v3.
Please refer to the HL7 QI-Core Implementation Guide (https://hl7.org/fhir/us/qicore/STU4.1.1/) for more information on QI-Core and mapping recommendations from QDM to QI-Core 4.1.1 (https://hl7.org/fhir/us/qicore/STU4.1.1/qdm-to-qicore.html)."/>
<copyright
value="Measure specifications are in the Public Domain.
LOINC(R) copyright 2004-2023 Regenstrief Institute, Inc. This material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2023 International Health Terminology Standards Development Organisation. ICD-10 copyright 2023 World Health Organization. All Rights Reserved."/>
<effectivePeriod>
<start value="2025-01-01"/>
<end value="2025-12-31"/>
</effectivePeriod>
<author>
<name value="The Joint Commission"/>
<telecom>
<system value="url"/>
<value value="https://www.jointcommission.org/"/>
</telecom>
</author>
<author>
<name value="Centers for Medicare & Medicaid Services (CMS)"/>
<telecom>
<system value="url"/>
<value value="https://www.cms.gov/"/>
</telecom>
</author>
<author>
<name
value="Yale New Haven Health Service Corporation/ Center for Outcomes Research and Evaluation"/>
<telecom>
<system value="url"/>
<value value="https://medicine.yale.edu/core/"/>
</telecom>
</author>
<library
value="https://madie.cms.gov/Library/SevereObstetricComplicationsFHIR"/>
<disclaimer
value="These performance measures are not clinical guidelines and do not establish a standard of medical care, and have not been tested for all potential applications. The measures and specifications are provided without warranty."/>
<scoring>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/measure-scoring"/>
<code value="proportion"/>
<display value="Proportion"/>
</coding>
<text value="Proportion"/>
</scoring>
<rationale
value="The United States (US) experiences higher rates of maternal morbidity and mortality than most other developed countries. These rates have continued to trend upward in recent decades (CDC, 2021). Research indicates that the overall rate of severe maternal morbidity (SMM) increased by almost 200% between 1993 and 2014 to 144 per 10,000 delivery hospitalizations (CDC, 2021), with more than 25,000 women per year experiencing obstetric complications (U.S. Department of Health and Human Services, 2020). Recent maternal mortality data from 2018 reveal that 658 women in the US died from maternal causes, resulting in a rate of 17.4 deaths per 100,000 live births, with 77% of the deaths attributed to direct obstetric causes like hemorrhage, preeclampsia, obstetric embolism, and other complications (Hoyert & Minino, 2018). 144 per 10,000 women hospitalized for delivery have experienced SMM, including hemorrhage, embolism, hypertension, stroke, and other serious complications (CDC, 2021). Racial and ethnic disparities exist: Black women and Hispanic women are at a significantly higher risk for developing these complications than are Non-Hispanic White women (Leonard, Main, Scott, Profit, & Carmichael, 2019). Increasing rates of SMM are resulting in increased healthcare costs, longer hospitalization stays and impacts on a woman's health (Callaghan, Creanga, & Kuklina, 2012).
There is limited national evaluation of hospitals' performance on maternal morbidity and mortality although SMM is widely used at the population level. SMM is linked to maternal mortality, varies significantly among hospitals, and has significant racial/ethnic and urban/rural disparities. SMM is a cost driver for both Medicaid and commercial plans. This measure is important as it will assist in the discovery and understanding of SMM patterns that can lead to improvements in the safety and quality of maternal care necessary to reduce SMM rates."/>
<clinicalRecommendationStatement
value="Healthy People 2030 Measure (MICH-05): Reduce severe maternal complications identified during delivery hospitalizations (U.S. Department of Health and Human Services, n.d.).
The American College of Obstetricians and Gynecologists (ACOG) and the Society for Maternal-Fetal Medicine recommend identifying potential cases of severe maternal morbidity for further review, with a focus on outcomes and complications, and consider this an important step toward promoting safe obstetric care (American College of Obstetricians and Gynecologists and the Society for Maternal–Fetal Medicine, Kilpatrick, & Ecker, 2016)."/>
<guidance
value="In the case of multiple births, map the first delivery date/time (Baby A) as the delivery date/time for the encounter. This measure allows for 3 approaches to determine gestational age (GA) in the following order of precedence:
1. The GA is calculated using the American College of Obstetricians and Gynecologists ReVITALize guidelines.*
2. The GA is obtained from a discrete field in the electronic health record. This option is only used when the calculated GA is not available.
3. The GA is based on ICD10 or SNOMED codes indicative of weeks gestation. This option is only used when results from items #1 and #2 (see above) are not available.
Wherever gestational age is mentioned, relative to the delivery, the intent is to capture the last estimated gestational age prior to or at the time of delivery.
*ACOG ReVITALize Guidelines for Calculating Gestational Age (ACOG, 2014):
Gestational Age = (280-(Estimated Due Date minus Reference Date))/7
--Estimated Due Date (EDD): The best obstetrical EDD is determined by last menstrual period if confirmed by early ultrasound or no ultrasound performed, or early ultrasound if no known last menstrual period or the ultrasound is not consistent with last menstrual period, or known date of fertilization (e.g., assisted reproductive technology)
--Reference Date is the date on which you are trying to determine gestational age. For purposes of this eCQM, Reference Date would be the Date of Delivery.
Note however the calculation may yield a non-whole number and gestational age should be rounded down to the nearest completed week. For example, an infant born on the 5th day of the 36th week (35 weeks and 5/7 days) is at a gestational age of 35 weeks, not 36 weeks.
Definition:
For this measure, specifications are modeled after the nationally available and adopted CDC definition for Severe Maternal Morbidity (SMM) with the addition of maternal mortality. At times, we may refer to the CDC indicators of morbidity as SMM, but the outcome of the measure, which includes morbidity and mortality, is referred to as Severe Obstetric Complications (SOC).
Note: This measure will be stratified by race/ethnicity and payer after measure submission.
This eCQM 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 CMS1028v3.
Please refer to the HL7 QI-Core Implementation Guide (https://hl7.org/fhir/us/qicore/STU4.1.1/) for more information on QI-Core and mapping recommendations from QDM to QI-Core 4.1.1 (https://hl7.org/fhir/us/qicore/STU4.1.1/qdm-to-qicore.html)."/>
<group id="64efa90856d636294b157c9a">
<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="Two hospital-level measure scores are calculated as a risk-adjusted proportion reported as a rate per 10,000 delivery hospitalizations: 1. All Severe Obstetric Complications (SOC). ((Num1 – NumExcl) / (Den-DenExcl)) * 10,000 2. SOC excluding encounters where transfusion was the only SOC. ((Num2 – NumExcl) / (Den-DenExcl)) * 10,000 Num1: Number of delivery encounters with SOC Num2: Number of delivery encounters with SOC excluding encounters where transfusion was the only SOC NumExcl: Delivery encounters with blood transfusion or hysterectomy with Placenta Percreta or Placenta Increta Den: Delivery encounters with > or = 20 weeks gestation completed DenExcl: Delivery encounters for patients with a COVID diagnosis and COVID-related respiratory condition or a COVID diagnosis and COVID-related respiratory procedure"/>
</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="Decreased score indicates improvement"/>
</coding>
</valueCodeableConcept>
</extension>
<description value="All Severe Obstetric Complications (SOC)"/>
<population id="8D56845B-BA26-4F6A-8D23-BBFD696C9450">
<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 for patients age greater than or equal to 8 years and less than 65 admitted to the hospital for inpatient acute care who undergo a delivery procedure with a discharge date during the measurement period"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Initial Population"/>
</criteria>
</population>
<population id="8542DE86-6114-4575-9A2B-D09A0FA7C671">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="denominator"/>
<display value="Denominator"/>
</coding>
</code>
<description
value="Inpatient hospitalizations for patients delivering stillborn or live birth with greater than or equal to 20 weeks, 0 days gestation completed"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Denominator"/>
</criteria>
</population>
<population id="16605347-8AF3-47AA-B230-65B7208909B9">
<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 confirmed diagnosis of COVID with COVID-related respiratory condition or patients with confirmed diagnosis of COVID with COVID-related respiratory procedure during the encounter"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Denominator Exclusion"/>
</criteria>
</population>
<population id="05AD3648-8C60-4938-96C4-82385B9C4F91">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="numerator"/>
<display value="Numerator"/>
</coding>
</code>
<description
value="Two numerator populations are defined for this measure:
1. All Severe Obstetric Complications (SOC).
2. SOC excluding encounters where transfusion was the only SOC.
Inpatient hospitalizations for patients with severe obstetric complications (not present on admission that occur during the current delivery encounter) including the following:
- Severe maternal morbidity diagnoses (see list below)
- Severe maternal morbidity procedures (see list below)
- Discharge disposition of expired
Please note that present on admission codes may be extracted from billing/claims data that was entered by coding staff.
Severe Maternal Morbidity Diagnoses:
- Cardiac
Acute heart failure
Acute myocardial infarction
Aortic aneurysm
Cardiac arrest/ventricular fibrillation
Heart failure/arrest during procedure or surgery
- Hemorrhage
Disseminated intravascular coagulation
Shock
- Renal
Acute renal failure
- Respiratory
Adult respiratory distress syndrome
Pulmonary edema
- Sepsis
- Other OB
Air and thrombotic embolism
Amniotic fluid embolism
Eclampsia
Severe anesthesia complications
- Other Medical
Puerperal cerebrovascular disorder
Sickle cell disease with crisis
Severe Maternal Morbidity Procedures:
- Blood transfusion
- Conversion of cardiac rhythm
- Hysterectomy
- Temporary tracheostomy
- Ventilation"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Numerator"/>
</criteria>
</population>
<population id="e29f29ee-889e-4314-983c-e0ddc189a16c">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="numerator-exclusion"/>
<display value="Numerator Exclusion"/>
</coding>
</code>
<description
value="Inpatient hospitalizations with blood transfusion or hysterectomy with a diagnosis of placenta percreta or placenta increta and no additional severe obstetrical complications."/>
<criteria>
<language value="text/cql-identifier"/>
<expression
value="SOC with Hysterectomy or Blood Transfusion with Placenta Increta or Placenta Percreta Without Additional SOC"/>
</criteria>
</population>
</group>
<group id="658b2eadd4b024647cc00341">
<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="SOC excluding encounters where transfusion was the only SOC, calculated as a risk-adjusted proportion reported as a rate per 10,000 delivery hospitalizations: ((Num2 – NumExcl) / (Den-DenExcl)) * 10,000 Num2: Number of delivery encounters with SOC excluding encounters where transfusion was the only SOC; NumExcl: Delivery encounters with blood transfusion or hysterectomy with Placenta Percreta or Placenta Increta; Den: Delivery encounters with > or = 20 weeks gestation completed; DenExcl: Delivery encounters for patients with a COVID diagnosis and COVID-related respiratory condition or a COVID diagnosis and COVID-related respiratory procedure"/>
</extension>
<description
value="SOC excluding encounters where transfusion was the only SOC"/>
<population id="4e1478e6-a3d4-42e5-a5cd-0026cc5617ed">
<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 for patients age >= 8 years and < 65 admitted to the hospital for inpatient acute care who undergo a delivery procedure with a discharge date that ends during the measurement period"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Initial Population"/>
</criteria>
</population>
<population id="e4a80a9b-190c-4cd1-bc7b-8d6d9e5720cd">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="denominator"/>
<display value="Denominator"/>
</coding>
</code>
<description
value="Inpatient hospitalizations for patients delivering stillborn or live birth with >= 20 weeks, 0 days gestation completed"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Denominator"/>
</criteria>
</population>
<population id="4db4aa26-e64c-4d09-81fd-d119e14fee05">
<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 confirmed diagnosis of COVID with COVID-related respiratory condition or patients with confirmed diagnosis of COVID with COVID-related respiratory procedure during the encounter"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Denominator Exclusion"/>
</criteria>
</population>
<population id="0d5818b3-43e6-4d06-991f-adcc939f01b8">
<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 severe obstetric complications (not present on admission that occur during the current delivery encounter) including severe maternal morbidity diagnoses (see following list), severe maternal morbidity procedures (see following list), and discharge disposition of expired, yet excluding encounters where transfusion was the only SOC.
Please note that present on admission codes may be those entered by coding staff, extracted from billing/claims data.
Severe Maternal Morbidity Diagnoses:
- Cardiac
Acute heart failure
Acute myocardial infarction
Aortic aneurysm
Cardiac arrest/ventricular fibrillation
Heart failure/arrest during procedure or surgery
- Hemorrhage
Disseminated intravascular coagulation
Shock
- Renal
Acute renal failure
- Respiratory
Adult respiratory distress syndrome
Pulmonary edema
- Sepsis
- Other OB
Air and thrombotic embolism
Amniotic fluid embolism
Eclampsia
Severe anesthesia complications
- Other Medical
Puerperal cerebrovascular disorder
Sickle cell disease with crisis
Severe Maternal Morbidity Procedures:
- Blood transfusion
- Conversion of cardiac rhythm
- Hysterectomy
- Temporary tracheostomy
- Ventilation"/>
<criteria>
<language value="text/cql-identifier"/>
<expression
value="Delivery Encounters with Severe Obstetric Complications Excluding Blood Transfusions Only"/>
</criteria>
</population>
<population id="b5aef46b-f0d5-442b-b1d4-564444fd471a">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="numerator-exclusion"/>
<display value="Numerator Exclusion"/>
</coding>
</code>
<description
value="Inpatient hospitalizations with blood transfusion or hysterectomy with a diagnosis of placenta percreta or placenta increta and no additional severe obstetrical complications."/>
<criteria>
<language value="text/cql-identifier"/>
<expression
value="SOC Excluding Blood Transfusions Only with Hysterectomy or Blood Transfusion with Placenta Increta or Placenta Percreta Without Additional SOC"/>
</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>
<supplementalData id="sde-variable-calculated-gestational-age">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Variable Calculated Gestational Age"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Variable Calculated Gestational Age"/>
</criteria>
</supplementalData>
<supplementalData id="sde-soc-diagnoses-detail">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE SOC Diagnoses Detail"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE SOC Diagnoses Detail"/>
</criteria>
</supplementalData>
<supplementalData id="sde-soc-procedure-detail">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE SOC Procedure Detail"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE SOC Procedure Detail"/>
</criteria>
</supplementalData>
<supplementalData
id="sde-delivery-encounters-with-severe-obstetric-complication-diagnosis">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description
value="SDE Delivery Encounters with Severe Obstetric Complication Diagnosis"/>
<criteria>
<language value="text/cql-identifier"/>
<expression
value="SDE Delivery Encounters with Severe Obstetric Complication Diagnosis"/>
</criteria>
</supplementalData>
<supplementalData
id="sde-delivery-encounters-with-severe-obstetric-complication-procedures">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description
value="SDE Delivery Encounters with Severe Obstetric Complication Procedures"/>
<criteria>
<language value="text/cql-identifier"/>
<expression
value="SDE Delivery Encounters with Severe Obstetric Complication Procedures"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-lab-and-physical-exam-results">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Lab and Physical Exam Results"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Lab and Physical Exam Results"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-asthma">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Asthma"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Asthma"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-autoimmune-disease">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Autoimmune Disease"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Autoimmune Disease"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-bariatric-surgery">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Bariatric Surgery"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Bariatric Surgery"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-bleeding-disorder">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Bleeding Disorder"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Bleeding Disorder"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-morbid-obesity">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Morbid Obesity"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Morbid Obesity"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-cardiac-disease">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Cardiac Disease"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Cardiac Disease"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-economic-housing-instability">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Economic Housing Instability"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Economic Housing Instability"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-gastrointestinal-disease">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Gastrointestinal Disease"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Gastrointestinal Disease"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-gestational-diabetes">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Gestational Diabetes"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Gestational Diabetes"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-hiv">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable HIV"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable HIV"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-hypertension">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Hypertension"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Hypertension"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-long-term-anticoagulant-use">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Long Term Anticoagulant Use"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Long Term Anticoagulant Use"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-mental-health-disorder">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Mental Health Disorder"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Mental Health Disorder"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-multiple-pregnancy">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Multiple Pregnancy"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Multiple Pregnancy"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-neuromuscular">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Neuromuscular"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Neuromuscular"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-obstetrical-vte">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Obstetrical VTE"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Obstetrical VTE"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-placenta-previa">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Placenta Previa"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Placenta Previa"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-placental-abruption">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Placental Abruption"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Placental Abruption"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-placental-accreta-spectrum">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Placental Accreta Spectrum"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Placental Accreta Spectrum"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-preexisting-diabetes">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Preexisting Diabetes"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Preexisting Diabetes"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-previous-cesarean">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Previous Cesarean"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Previous Cesarean"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-pulmonary-hypertension">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Pulmonary Hypertension"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Pulmonary Hypertension"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-renal-disease">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Renal Disease"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Renal Disease"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-severe-preeclampsia">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Severe Preeclampsia"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Severe Preeclampsia"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-substance-abuse">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Substance Abuse"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Substance Abuse"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-thyrotoxicosis">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Thyrotoxicosis"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Thyrotoxicosis"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-other-preeclampsia">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Other Preeclampsia"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Other Preeclampsia"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-preterm-birth">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Preterm Birth"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Preterm Birth"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-anemia">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Anemia"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Anemia"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-systolic-blood-pressure">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Systolic Blood Pressure"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Systolic Blood Pressure"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-heart-rate">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Heart Rate"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Heart Rate"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-first-white-blood-cell-count-lab-test">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable First White Blood Cell Count Lab Test"/>
<criteria>
<language value="text/cql-identifier"/>
<expression
value="Risk Variable First White Blood Cell Count Lab Test"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-first-hematocrit-lab-test">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable First Hematocrit Lab Test"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable First Hematocrit Lab Test"/>
</criteria>
</supplementalData>
<supplementalData id="delivery-encounters-with-blood-transfusion">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Delivery Encounters with Blood Transfusion"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Delivery Encounters with Blood Transfusion"/>
</criteria>
</supplementalData>
<supplementalData id="risk-variable-maternal-age">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="risk-adjustment-factor"/>
</coding>
</usage>
<description value="Risk Variable Maternal Age"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Risk Variable Maternal Age"/>
</criteria>
</supplementalData>
</Measure>