Longitudinal Maternal & Infant Health Information for Research
1.0.0 - STU 1.0.0

Publication Build: This will be filled in by the publication tooling

## : Library for Hypertensive Disorders of Pregnancy - XML Representation

Draft as of 2023-03-29

Raw xml | Download

    <Library xmlns="http://hl7.org/fhir">
      <id value="PIHCohort"/>
      <meta>
        <versionId value="1"/>
        <lastUpdated value="2022-11-08T16:21:37.288+00:00"/>
        <source value="#VbLBnOwRL6QqZNkk"/>
      </meta>
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><h2>Related Artifacts</h2><table class="grid"><tr><td>depends-on</td><td>Value set Delivery Diagnosis</td><td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.67.1.101.1.278/expansion">Delivery - Diagnosis</a></td></tr><tr><td>depends-on</td><td>Code system Observation Category</td><td><a href="http://terminology.hl7.org/3.1.0/CodeSystem-observation-category.html">Observation Category Codes</a></td></tr><tr><td>depends-on</td><td>Value set Delivery Live Births</td><td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.111.12.1015/expansion">Delivery Live Births</a></td></tr><tr><td>depends-on</td><td>Value set Delivery Procedure</td><td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1078.5/expansion">Delivery - Procedure</a></td></tr><tr><td>depends-on</td><td>Value set Non Live Birth CPT Procedures</td><td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1166.127/expansion">Non Live Birth CPT Procedures</a></td></tr><tr><td>depends-on</td><td>Value set Non Live Birth Diagnoses</td><td><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1166.137/expansion">Non Live Birth Diagnoses</a></td></tr><tr><td>depends-on</td><td>Value set Hypertensive Disorders Pregnancy ICD</td><td><code>http://www.hl7.org/fhir/us/mihr/ValueSet/hypertensive-disorders-pregnancy-ICD</code></td></tr><tr><td>depends-on</td><td>Value set Hypertensive Disorders Pregnancy SNOMED</td><td><code>http://www.hl7.org/fhir/us/mihr/ValueSet/hypertensive-disorders-pregnancy-SNOMED</code></td></tr><tr><td>depends-on</td><td>Value set Pregnancy Procedure Delivery CPT</td><td><code>http://www.hl7.org/fhir/us/mihr/ValueSet/PregnancyProcedureDelivery-CPT</code></td></tr><tr><td>depends-on</td><td>Code system SNOMEDCT</td><td><a href="http://hl7.org/fhir/R4/codesystem-snomedct.html">SNOMED CT (all versions)</a></td></tr><tr><td>depends-on</td><td>Code system LOINC</td><td><a href="http://terminology.hl7.org/3.1.0/CodeSystem-v3-loinc.html">Logical Observation Identifiers, Names and Codes (LOINC)</a></td></tr><tr><td>depends-on</td><td>FHIR model information</td><td><code>http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1</code></td></tr><tr><td>depends-on</td><td>Library FHIRHelpers</td><td><code>http://fhir.org/guides/cqf/Library/FHIRHelpers|4.0.1</code></td></tr><tr><td>depends-on</td><td>Library Global</td><td><code>http://fhir.org/guides/cqf/Library/MATGlobalCommonFunctionsFHIR4|6.1.000</code></td></tr></table><h2>Parameters</h2><table class="grid"><tr><td>Measurement Period</td><td>in</td><td>0</td><td>1</td><td>Period</td></tr><tr><td>Patient</td><td>out</td><td>0</td><td>1</td><td>Patient</td></tr><tr><td>PIH Conditions</td><td>out</td><td>0</td><td>*</td><td>Condition</td></tr><tr><td>Delivery Procedure Group</td><td>out</td><td>0</td><td>*</td><td>Procedure</td></tr><tr><td>Delivery Diagnosis Group</td><td>out</td><td>0</td><td>*</td><td>Condition</td></tr><tr><td>Non-Live Birth Group</td><td>out</td><td>0</td><td>*</td><td>Condition</td></tr><tr><td>Pregnancy Ending in Delivery</td><td>out</td><td>0</td><td>*</td><td>Resource</td></tr><tr><td>Six Weeks Postpartum Induced Hypertension</td><td>out</td><td>0</td><td>*</td><td>Condition</td></tr><tr><td>Initial Population</td><td>out</td><td>0</td><td>1</td><td>boolean</td></tr><tr><td>SDE Allergy Intolerance</td><td>out</td><td>0</td><td>*</td><td>AllergyIntolerance</td></tr><tr><td>SDE BMI</td><td>out</td><td>0</td><td>*</td><td>Observation</td></tr><tr><td>SDE Blood Pressure</td><td>out</td><td>0</td><td>*</td><td>Observation</td></tr><tr><td>SDE Height</td><td>out</td><td>0</td><td>*</td><td>Observation</td></tr><tr><td>SDE Body Temperature</td><td>out</td><td>0</td><td>*</td><td>Observation</td></tr><tr><td>SDE Body Weight</td><td>out</td><td>0</td><td>*</td><td>Observation</td></tr><tr><td>SDE Care Plan</td><td>out</td><td>0</td><td>*</td><td>CarePlan</td></tr><tr><td>SDE Care Team</td><td>out</td><td>0</td><td>*</td><td>CareTeam</td></tr><tr><td>SDE Conditions</td><td>out</td><td>0</td><td>*</td><td>Condition</td></tr><tr><td>SDE Compositions</td><td>out</td><td>0</td><td>*</td><td>Composition</td></tr><tr><td>SDE Insurance</td><td>out</td><td>0</td><td>*</td><td>Coverage</td></tr><tr><td>SDE Diagnostic Report</td><td>out</td><td>0</td><td>*</td><td>DiagnosticReport</td></tr><tr><td>SDE Document Reference</td><td>out</td><td>0</td><td>*</td><td>DocumentReference</td></tr><tr><td>SDE Device</td><td>out</td><td>0</td><td>*</td><td>Device</td></tr><tr><td>SDE Encounters</td><td>out</td><td>0</td><td>*</td><td>Encounter</td></tr><tr><td>SDE FamilyMemberHistory</td><td>out</td><td>0</td><td>*</td><td>FamilyMemberHistory</td></tr><tr><td>SDE Goal</td><td>out</td><td>0</td><td>*</td><td>Goal</td></tr><tr><td>SDE Head Circumference</td><td>out</td><td>0</td><td>*</td><td>Observation</td></tr><tr><td>SDE Heart Rate</td><td>out</td><td>0</td><td>*</td><td>Observation</td></tr><tr><td>SDE Immunization</td><td>out</td><td>0</td><td>*</td><td>Immunization</td></tr><tr><td>SDE Lab Observation</td><td>out</td><td>0</td><td>*</td><td>Observation</td></tr><tr><td>SDE Location</td><td>out</td><td>0</td><td>*</td><td>Location</td></tr><tr><td>SDE Medication</td><td>out</td><td>0</td><td>*</td><td>Medication</td></tr><tr><td>SDE Medication Request</td><td>out</td><td>0</td><td>*</td><td>MedicationRequest</td></tr><tr><td>SDE Organization</td><td>out</td><td>0</td><td>*</td><td>Organization</td></tr><tr><td>SDE Patient</td><td>out</td><td>0</td><td>*</td><td>Patient</td></tr><tr><td>SDE Pediatric BMI</td><td>out</td><td>0</td><td>*</td><td>Observation</td></tr><tr><td>SDE Occipital Frontal Head Circumference</td><td>out</td><td>0</td><td>*</td><td>Observation</td></tr><tr><td>SDE Pediatric Weight for Height</td><td>out</td><td>0</td><td>*</td><td>Observation</td></tr><tr><td>SDE Practitioner</td><td>out</td><td>0</td><td>*</td><td>Practitioner</td></tr><tr><td>SDE Practitioner Role</td><td>out</td><td>0</td><td>*</td><td>PractitionerRole</td></tr><tr><td>SDE Procedure</td><td>out</td><td>0</td><td>*</td><td>Procedure</td></tr><tr><td>SDE Provenance</td><td>out</td><td>0</td><td>*</td><td>Provenance</td></tr><tr><td>SDE Oximetry</td><td>out</td><td>0</td><td>*</td><td>Observation</td></tr><tr><td>SDE Related Person</td><td>out</td><td>0</td><td>*</td><td>RelatedPerson</td></tr><tr><td>SDE Respiratory Rate</td><td>out</td><td>0</td><td>*</td><td>Observation</td></tr><tr><td>SDE Smoking Status</td><td>out</td><td>0</td><td>*</td><td>Observation</td></tr><tr><td>SDE Vital Signs</td><td>out</td><td>0</td><td>*</td><td>Observation</td></tr></table><h2>Data Requirements</h2><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/patient.html">Patient</a> (<a href="http://hl7.org/fhir/R4/patient.html">Patient</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/condition.html">Condition</a> (<a href="http://hl7.org/fhir/R4/condition.html">Condition</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>In ValueSet <a href="http://www.hl7.org/fhir/us/mihr/ValueSet/hypertensive-disorders-pregnancy-ICD">http://www.hl7.org/fhir/us/mihr/ValueSet/hypertensive-disorders-pregnancy-ICD</a></td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/condition.html">Condition</a> (<a href="http://hl7.org/fhir/R4/condition.html">Condition</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>In ValueSet <a href="http://www.hl7.org/fhir/us/mihr/ValueSet/hypertensive-disorders-pregnancy-SNOMED">http://www.hl7.org/fhir/us/mihr/ValueSet/hypertensive-disorders-pregnancy-SNOMED</a></td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/condition.html">Condition</a> (<a href="http://hl7.org/fhir/R4/condition.html">Condition</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>In ValueSet <a href="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.278">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.278</a></td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/condition.html">Condition</a> (<a href="http://hl7.org/fhir/R4/condition.html">Condition</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>In ValueSet <a href="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.12.1015">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.12.1015</a></td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/condition.html">Condition</a> (<a href="http://hl7.org/fhir/R4/condition.html">Condition</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>In ValueSet <a href="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.5">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.5</a></td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/condition.html">Condition</a> (<a href="http://hl7.org/fhir/R4/condition.html">Condition</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>In ValueSet <a href="http://www.hl7.org/fhir/us/mihr/ValueSet/PregnancyProcedureDelivery-CPT">http://www.hl7.org/fhir/us/mihr/ValueSet/PregnancyProcedureDelivery-CPT</a></td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/condition.html">Condition</a> (<a href="http://hl7.org/fhir/R4/condition.html">Condition</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>In ValueSet <a href="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.127">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.127</a></td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/condition.html">Condition</a> (<a href="http://hl7.org/fhir/R4/condition.html">Condition</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>In ValueSet <a href="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.137">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.137</a></td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/condition.html">Condition</a> (<a href="http://hl7.org/fhir/R4/condition.html">Condition</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>One of these codes: <a href="http://snomed.info/id/40521000119100">SNOMED CT (all versions)</a> 40521000119100: Postpartum pregnancy-induced hypertension (disorder)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/condition.html">Condition</a> (<a href="http://hl7.org/fhir/R4/condition.html">Condition</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/procedure.html">Procedure</a> (<a href="http://hl7.org/fhir/R4/procedure.html">Procedure</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>In ValueSet <a href="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.12.1015">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.12.1015</a></td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/procedure.html">Procedure</a> (<a href="http://hl7.org/fhir/R4/procedure.html">Procedure</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>In ValueSet <a href="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.5">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.5</a></td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/procedure.html">Procedure</a> (<a href="http://hl7.org/fhir/R4/procedure.html">Procedure</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>In ValueSet <a href="http://www.hl7.org/fhir/us/mihr/ValueSet/PregnancyProcedureDelivery-CPT">http://www.hl7.org/fhir/us/mihr/ValueSet/PregnancyProcedureDelivery-CPT</a></td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/procedure.html">Procedure</a> (<a href="http://hl7.org/fhir/R4/procedure.html">Procedure</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/allergyintolerance.html">AllergyIntolerance</a> (<a href="http://hl7.org/fhir/R4/allergyintolerance.html">AllergyIntolerance</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/observation.html">Observation</a> (<a href="http://hl7.org/fhir/R4/observation.html">Observation</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>One of these codes: <a href="https://loinc.org/39156-5">Logical Observation Identifiers, Names and Codes (LOINC)</a> 39156-5: Body mass index (BMI) [Ratio]</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/observation.html">Observation</a> (<a href="http://hl7.org/fhir/R4/observation.html">Observation</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>One of these codes: <a href="https://loinc.org/85354-9">Logical Observation Identifiers, Names and Codes (LOINC)</a> 85354-9: Blood pressure panel with all children optional</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/observation.html">Observation</a> (<a href="http://hl7.org/fhir/R4/observation.html">Observation</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>One of these codes: <a href="https://loinc.org/8302-2">Logical Observation Identifiers, Names and Codes (LOINC)</a> 8302-2: Body height</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/observation.html">Observation</a> (<a href="http://hl7.org/fhir/R4/observation.html">Observation</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>One of these codes: <a href="https://loinc.org/8310-5">Logical Observation Identifiers, Names and Codes (LOINC)</a> 8310-5: Body temperature</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/observation.html">Observation</a> (<a href="http://hl7.org/fhir/R4/observation.html">Observation</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>One of these codes: <a href="https://loinc.org/29463-7">Logical Observation Identifiers, Names and Codes (LOINC)</a> 29463-7: Body weight</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/observation.html">Observation</a> (<a href="http://hl7.org/fhir/R4/observation.html">Observation</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>One of these codes: <a href="https://loinc.org/9843-4">Logical Observation Identifiers, Names and Codes (LOINC)</a> 9843-4: Head Occipital-frontal circumference</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/observation.html">Observation</a> (<a href="http://hl7.org/fhir/R4/observation.html">Observation</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>One of these codes: <a href="https://loinc.org/8867-4">Logical Observation Identifiers, Names and Codes (LOINC)</a> 8867-4: Heart rate</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/observation.html">Observation</a> (<a href="http://hl7.org/fhir/R4/observation.html">Observation</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>One of these codes: <a href="http://terminology.hl7.org/3.1.0/CodeSystem-observation-category.html#observation-category-laboratory">Observation Category Codes</a> laboratory: Laboratory</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/observation.html">Observation</a> (<a href="http://hl7.org/fhir/R4/observation.html">Observation</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>One of these codes: <a href="https://loinc.org/59576-9">Logical Observation Identifiers, Names and Codes (LOINC)</a> 59576-9: Body mass index (BMI) [Percentile] Per age and sex</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/observation.html">Observation</a> (<a href="http://hl7.org/fhir/R4/observation.html">Observation</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>One of these codes: <a href="https://loinc.org/8289-1">Logical Observation Identifiers, Names and Codes (LOINC)</a> 8289-1: Head Occipital-frontal circumference Percentile</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/observation.html">Observation</a> (<a href="http://hl7.org/fhir/R4/observation.html">Observation</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>One of these codes: <a href="https://loinc.org/77606-2">Logical Observation Identifiers, Names and Codes (LOINC)</a> 77606-2: Weight-for-length Per age and sex</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/observation.html">Observation</a> (<a href="http://hl7.org/fhir/R4/observation.html">Observation</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>One of these codes: <a href="https://loinc.org/9279-1">Logical Observation Identifiers, Names and Codes (LOINC)</a> 9279-1: Respiratory rate</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/observation.html">Observation</a> (<a href="http://hl7.org/fhir/R4/observation.html">Observation</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/careplan.html">CarePlan</a> (<a href="http://hl7.org/fhir/R4/careplan.html">CarePlan</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/careteam.html">CareTeam</a> (<a href="http://hl7.org/fhir/R4/careteam.html">CareTeam</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/composition.html">Composition</a> (<a href="http://hl7.org/fhir/R4/composition.html">Composition</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/coverage.html">Coverage</a> (<a href="http://hl7.org/fhir/R4/coverage.html">Coverage</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/diagnosticreport.html">DiagnosticReport</a> (<a href="http://hl7.org/fhir/R4/diagnosticreport.html">DiagnosticReport</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/documentreference.html">DocumentReference</a> (<a href="http://hl7.org/fhir/R4/documentreference.html">DocumentReference</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/device.html">Device</a> (<a href="http://hl7.org/fhir/R4/device.html">Device</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/encounter.html">Encounter</a> (<a href="http://hl7.org/fhir/R4/encounter.html">Encounter</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/familymemberhistory.html">FamilyMemberHistory</a> (<a href="http://hl7.org/fhir/R4/familymemberhistory.html">FamilyMemberHistory</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/goal.html">Goal</a> (<a href="http://hl7.org/fhir/R4/goal.html">Goal</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/immunization.html">Immunization</a> (<a href="http://hl7.org/fhir/R4/immunization.html">Immunization</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/location.html">Location</a> (<a href="http://hl7.org/fhir/R4/location.html">Location</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/medication.html">Medication</a> (<a href="http://hl7.org/fhir/R4/medication.html">Medication</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/medicationrequest.html">MedicationRequest</a> (<a href="http://hl7.org/fhir/R4/medicationrequest.html">MedicationRequest</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/organization.html">Organization</a> (<a href="http://hl7.org/fhir/R4/organization.html">Organization</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/practitioner.html">Practitioner</a> (<a href="http://hl7.org/fhir/R4/practitioner.html">Practitioner</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/practitionerrole.html">PractitionerRole</a> (<a href="http://hl7.org/fhir/R4/practitionerrole.html">PractitionerRole</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/provenance.html">Provenance</a> (<a href="http://hl7.org/fhir/R4/provenance.html">Provenance</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/relatedperson.html">RelatedPerson</a> (<a href="http://hl7.org/fhir/R4/relatedperson.html">RelatedPerson</a>)</td></tr></table><h2>Contents</h2><p><code>text/cql</code></p><pre><code class="language-sql">library PIHCohort version '0.0.01'

    using FHIR version '4.0.1'

    include FHIRHelpers version '4.0.1' called FHIRHelpers
    include MATGlobalCommonFunctionsFHIR4 version '6.1.000' called Global

    codesystem &quot;SNOMEDCT&quot;: 'http://snomed.info/sct'
    codesystem &quot;LOINC&quot;: 'http://loinc.org'
    codesystem &quot;Observation Category&quot;: 'http://terminology.hl7.org/CodeSystem/observation-category'

    valueset &quot;Hypertensive Disorders Pregnancy ICD&quot;: 'http://www.hl7.org/fhir/us/mihr/ValueSet/hypertensive-disorders-pregnancy-ICD'
    valueset &quot;Hypertensive Disorders Pregnancy SNOMED&quot;: 'http://www.hl7.org/fhir/us/mihr/ValueSet/hypertensive-disorders-pregnancy-SNOMED'

    //Delivery Procedure Group
    valueset &quot;Delivery Live Births&quot;: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.12.1015'
    valueset &quot;Delivery Procedure&quot;: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.5'
    valueset &quot;Pregnancy Procedure Delivery CPT&quot;: 'http://www.hl7.org/fhir/us/mihr/ValueSet/PregnancyProcedureDelivery-CPT'

    //Pregnancy Delivery Diagnosis
    valueset &quot;Delivery Diagnosis&quot;: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.278'

    //Non-Live Birth (Fetal Death/Abortion)
    valueset &quot;Non Live Birth CPT Procedures&quot;: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.127'
    valueset &quot;Non Live Birth Diagnoses&quot;: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.137'

    code &quot;Postpartum pregnancy-induced hypertension (disorder)&quot;: '40521000119100' from &quot;SNOMEDCT&quot;

    code &quot;BMI&quot;: '39156-5' from &quot;LOINC&quot;
    code &quot;Blood Pressure&quot;: '85354-9' from &quot;LOINC&quot;
    code &quot;Height&quot;: '8302-2' from &quot;LOINC&quot;
    code &quot;Body Temperature&quot;: '8310-5' from &quot;LOINC&quot;
    code &quot;Weight&quot;: '29463-7' from &quot;LOINC&quot;
    code &quot;Head Circumference&quot;: '9843-4' from &quot;LOINC&quot;
    code &quot;Heart Rate&quot;: '8867-4' from &quot;LOINC&quot;
    code &quot;Laboratory&quot;: 'laboratory' from &quot;Observation Category&quot;
    code &quot;Pediatric BMI&quot;: '59576-9' from &quot;LOINC&quot;
    code &quot;Frontal Head Circumference&quot;: '8289-1' from &quot;LOINC&quot;
    code &quot;Pediatric Weight&quot;: '77606-2' from &quot;LOINC&quot;
    code &quot;Pulse Oximetry&quot;: '2708-6' from &quot;LOINC&quot;
    code &quot;Oxygen Saturation&quot;: '59408-5' from &quot;LOINC&quot;
    code &quot;Respiratory Rate&quot;: '9279-1' from &quot;LOINC&quot;
    code &quot;Social History&quot;: 'social-history' from &quot;Observation Category&quot;
    code &quot;Vital Signs&quot;: 'vital-signs' from &quot;Observation Category&quot;

    parameter &quot;Measurement Period&quot; Interval&lt;DateTime&gt; //default Interval[@2022-02-01T00:00:00.0, @2022-02-28T00:00:00.0)

    context Patient

    define &quot;PIH Conditions&quot;:
    	[Condition: &quot;Hypertensive Disorders Pregnancy ICD&quot;]
    	union [Condition: &quot;Hypertensive Disorders Pregnancy SNOMED&quot;]

    define &quot;Initial Population&quot;:
    	exists(&quot;PIH Conditions&quot;
    	union &quot;Six Weeks Postpartum Induced Hypertension&quot;)

    define &quot;Pregnancy Ending in Delivery&quot;:
    	(&quot;Delivery Procedure Group&quot;
    	union &quot;Delivery Diagnosis Group&quot;
    	union &quot;Non-Live Birth Group&quot;) Delivery
    		where Coalesce(start of Global.&quot;Normalize Interval&quot;(Delivery.performed), Delivery.abatement)
    			before end of &quot;Measurement Period&quot;

    define &quot;Six Weeks Postpartum Induced Hypertension&quot;:
    	[Condition: &quot;Postpartum pregnancy-induced hypertension (disorder)&quot;] PostpartumHTN
    	with &quot;Pregnancy Ending in Delivery&quot; Delivery
    		such that start of Global.&quot;Normalize Interval&quot;(PostpartumHTN.onset) 6 weeks or less after
    			Coalesce(start of Global.&quot;Normalize Interval&quot;(Delivery.performed), Delivery.abatement)

    define &quot;Delivery Procedure Group&quot;:
    	[Procedure: &quot;Delivery Live Births&quot;]
    	union [Procedure: &quot;Delivery Procedure&quot;]
    	union [Procedure: &quot;Pregnancy Procedure Delivery CPT&quot;]

    define &quot;Delivery Diagnosis Group&quot;:
    	[Condition: &quot;Delivery Diagnosis&quot;]
    	union [Condition: &quot;Delivery Live Births&quot;]
    	union [Condition: &quot;Delivery Procedure&quot;]
    	union [Condition: &quot;Pregnancy Procedure Delivery CPT&quot;]

    define &quot;Non-Live Birth Group&quot;:
    	[Condition: &quot;Non Live Birth CPT Procedures&quot;]
    	union [Condition: &quot;Non Live Birth Diagnoses&quot;]

    //Supplemental Data Elements
    define &quot;SDE Allergy Intolerance&quot;:
    	[AllergyIntolerance] Allergy

    define &quot;SDE BMI&quot;:
    	[Observation: code ~ &quot;BMI&quot;] BMI

    define &quot;SDE Blood Pressure&quot;:
    	[Observation: code ~ &quot;Blood Pressure&quot;] BP

    define &quot;SDE Height&quot;:
    	[Observation: code ~ &quot;Height&quot;] Height

    define &quot;SDE Body Temperature&quot;:
    	[Observation: code ~ &quot;Body Temperature&quot;] BodyTemperature

    define &quot;SDE Body Weight&quot;:
    	[Observation: code ~ &quot;Weight&quot;] Weight

    define &quot;SDE Care Plan&quot;:
    	[CarePlan] CarePlans

    define &quot;SDE Care Team&quot;:
    	[CareTeam] CareTeams

    define &quot;SDE Conditions&quot;:
    	[Condition] Conditions

    define &quot;SDE Compositions&quot;:
    	[Composition] Compositions

    define &quot;SDE Insurance&quot;:
    	[Coverage] Coverages

    define &quot;SDE Diagnostic Report&quot;:
    	[DiagnosticReport] DiagnosticReports

    define &quot;SDE Document Reference&quot;:
    	[DocumentReference] DocumentReference

    define &quot;SDE Device&quot;:
    	[Device] Devices

    define &quot;SDE Encounters&quot;:
    	[Encounter] Encounters

    define &quot;SDE FamilyMemberHistory&quot;:
    	[FamilyMemberHistory] FamilyMemberHistory

    define &quot;SDE Goal&quot;:
    	[Goal] Goals

    define &quot;SDE Head Circumference&quot;:
    	[Observation: code ~ &quot;Head Circumference&quot;] HeadCircumference

    define &quot;SDE Heart Rate&quot;:
    	[Observation: code ~ &quot;Heart Rate&quot;] HeartRate

    define &quot;SDE Immunization&quot;:
    	[Immunization] Immunizations

    define &quot;SDE Lab Observation&quot;:
    	[Observation: code ~ &quot;Laboratory&quot;] LabObservations

    define &quot;SDE Location&quot;:
    	[Location] Locations

    define &quot;SDE Medication&quot;:
    	[Medication] Medications

    define &quot;SDE Medication Request&quot;:
    	[MedicationRequest] MedicationRequests

    define &quot;SDE Organization&quot;:
    	[Organization] Organizations

    define &quot;SDE Patient&quot;:
    	[Patient] Patients

    define &quot;SDE Pediatric BMI&quot;:
    	[Observation: code ~ &quot;Pediatric BMI&quot;] PediatricBMI

    define &quot;SDE Occipital Frontal Head Circumference&quot;:
    	[Observation: code ~ &quot;Frontal Head Circumference&quot;] FrontalHead

    define &quot;SDE Pediatric Weight for Height&quot;:
    	[Observation: code ~ &quot;Pediatric Weight&quot;] PediatricWeight

    define &quot;SDE Practitioner&quot;:
    	[Practitioner] Practitioners

    define &quot;SDE Practitioner Role&quot;:
    	[PractitionerRole] PractitionerRoles

    define &quot;SDE Procedure&quot;:
    	[Procedure] Procedures

    define &quot;SDE Provenance&quot;:
    	[Provenance] Provenances

    define &quot;SDE Oximetry&quot;:
    	[Observation] Oximetry
    	where (Oximetry.code ~ &quot;Pulse Oximetry&quot;
    	or Oximetry.code ~ &quot;Oxygen Saturation&quot;)

    define &quot;SDE Related Person&quot;:
    	[RelatedPerson] RelatedPersons

    define &quot;SDE Respiratory Rate&quot;:
    	[Observation: code ~ &quot;Respiratory Rate&quot;] RespiratoryRate

    define &quot;SDE Smoking Status&quot;:
        [Observation] SmokingStatus
    	with SmokingStatus.category category
    	such that category ~ &quot;Social History&quot;

    define &quot;SDE Vital Signs&quot;:
    	[Observation] VitalSigns
    	with VitalSigns.category category
    	such that category ~ &quot;Vital Signs&quot;</code></pre><p><code>Content not shown - (</code><code>application/elm+xml</code>, size = 98Kb)</p></div>
      </text>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem">
        <valueReference>
          <reference value="Device/cqf-tooling"/>
        </valueReference>
      </extension>
      <url value="http://fhir.org/guides/cqf/Library/PIHCohort"/>
      <version value="1.0.0"/>
      <name value="PIHCohort"/>
      <status value="draft"/>
      <experimental value="false"/>
      <type>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
          <code value="logic-library"/>
          <display value="Logic Library"/>
        </coding>
      </type>
      <date value="2023-03-29T19:35:10+00:00"/>
      <publisher value="HL7 Public Health Work Group"/>
      <contact>
        <name value="HL7 International - Public Health"/>
        <telecom>
          <system value="url"/>
          <value value="http://www.hl7.org/Special/committees/pher"/>
        </telecom>
      </contact>
      <jurisdiction>
        <coding>
          <system value="urn:iso:std:iso:3166"/>
          <code value="US"/>
          <display value="United States of America"/>
        </coding>
        <text value="United States of America"/>
      </jurisdiction>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Delivery Diagnosis"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.278"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Code system Observation Category"/>
        <resource
                  value="http://terminology.hl7.org/CodeSystem/observation-category"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Delivery Live Births"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.12.1015"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Delivery Procedure"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.5"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Non Live Birth CPT Procedures"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.127"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Non Live Birth Diagnoses"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.137"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Hypertensive Disorders Pregnancy ICD"/>
        <resource
                  value="http://www.hl7.org/fhir/us/mihr/ValueSet/hypertensive-disorders-pregnancy-ICD"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Hypertensive Disorders Pregnancy SNOMED"/>
        <resource
                  value="http://www.hl7.org/fhir/us/mihr/ValueSet/hypertensive-disorders-pregnancy-SNOMED"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Pregnancy Procedure Delivery CPT"/>
        <resource
                  value="http://www.hl7.org/fhir/us/mihr/ValueSet/PregnancyProcedureDelivery-CPT"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Code system SNOMEDCT"/>
        <resource value="http://snomed.info/sct"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Code system LOINC"/>
        <resource value="http://loinc.org"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="FHIR model information"/>
        <resource
                  value="http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library FHIRHelpers"/>
        <resource value="http://fhir.org/guides/cqf/Library/FHIRHelpers|4.0.1"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library Global"/>
        <resource
                  value="http://fhir.org/guides/cqf/Library/MATGlobalCommonFunctionsFHIR4|6.1.000"/>
      </relatedArtifact>
      <parameter>
        <name value="Measurement Period"/>
        <use value="in"/>
        <min value="0"/>
        <max value="1"/>
        <type value="Period"/>
      </parameter>
      <parameter>
        <name value="Patient"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="Patient"/>
      </parameter>
      <parameter>
        <name value="PIH Conditions"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Condition"/>
      </parameter>
      <parameter>
        <name value="Delivery Procedure Group"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Procedure"/>
      </parameter>
      <parameter>
        <name value="Delivery Diagnosis Group"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Condition"/>
      </parameter>
      <parameter>
        <name value="Non-Live Birth Group"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Condition"/>
      </parameter>
      <parameter>
        <name value="Pregnancy Ending in Delivery"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Resource"/>
      </parameter>
      <parameter>
        <name value="Six Weeks Postpartum Induced Hypertension"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Condition"/>
      </parameter>
      <parameter>
        <name value="Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="SDE Allergy Intolerance"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="AllergyIntolerance"/>
      </parameter>
      <parameter>
        <name value="SDE BMI"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Observation"/>
      </parameter>
      <parameter>
        <name value="SDE Blood Pressure"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Observation"/>
      </parameter>
      <parameter>
        <name value="SDE Height"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Observation"/>
      </parameter>
      <parameter>
        <name value="SDE Body Temperature"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Observation"/>
      </parameter>
      <parameter>
        <name value="SDE Body Weight"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Observation"/>
      </parameter>
      <parameter>
        <name value="SDE Care Plan"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="CarePlan"/>
      </parameter>
      <parameter>
        <name value="SDE Care Team"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="CareTeam"/>
      </parameter>
      <parameter>
        <name value="SDE Conditions"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Condition"/>
      </parameter>
      <parameter>
        <name value="SDE Compositions"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Composition"/>
      </parameter>
      <parameter>
        <name value="SDE Insurance"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Coverage"/>
      </parameter>
      <parameter>
        <name value="SDE Diagnostic Report"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="DiagnosticReport"/>
      </parameter>
      <parameter>
        <name value="SDE Document Reference"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="DocumentReference"/>
      </parameter>
      <parameter>
        <name value="SDE Device"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Device"/>
      </parameter>
      <parameter>
        <name value="SDE Encounters"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Encounter"/>
      </parameter>
      <parameter>
        <name value="SDE FamilyMemberHistory"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="FamilyMemberHistory"/>
      </parameter>
      <parameter>
        <name value="SDE Goal"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Goal"/>
      </parameter>
      <parameter>
        <name value="SDE Head Circumference"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Observation"/>
      </parameter>
      <parameter>
        <name value="SDE Heart Rate"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Observation"/>
      </parameter>
      <parameter>
        <name value="SDE Immunization"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Immunization"/>
      </parameter>
      <parameter>
        <name value="SDE Lab Observation"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Observation"/>
      </parameter>
      <parameter>
        <name value="SDE Location"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Location"/>
      </parameter>
      <parameter>
        <name value="SDE Medication"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Medication"/>
      </parameter>
      <parameter>
        <name value="SDE Medication Request"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="MedicationRequest"/>
      </parameter>
      <parameter>
        <name value="SDE Organization"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Organization"/>
      </parameter>
      <parameter>
        <name value="SDE Patient"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Patient"/>
      </parameter>
      <parameter>
        <name value="SDE Pediatric BMI"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Observation"/>
      </parameter>
      <parameter>
        <name value="SDE Occipital Frontal Head Circumference"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Observation"/>
      </parameter>
      <parameter>
        <name value="SDE Pediatric Weight for Height"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Observation"/>
      </parameter>
      <parameter>
        <name value="SDE Practitioner"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Practitioner"/>
      </parameter>
      <parameter>
        <name value="SDE Practitioner Role"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="PractitionerRole"/>
      </parameter>
      <parameter>
        <name value="SDE Procedure"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Procedure"/>
      </parameter>
      <parameter>
        <name value="SDE Provenance"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Provenance"/>
      </parameter>
      <parameter>
        <name value="SDE Oximetry"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Observation"/>
      </parameter>
      <parameter>
        <name value="SDE Related Person"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="RelatedPerson"/>
      </parameter>
      <parameter>
        <name value="SDE Respiratory Rate"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Observation"/>
      </parameter>
      <parameter>
        <name value="SDE Smoking Status"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Observation"/>
      </parameter>
      <parameter>
        <name value="SDE Vital Signs"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Observation"/>
      </parameter>
      <dataRequirement>
        <type value="Patient"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Condition"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://www.hl7.org/fhir/us/mihr/ValueSet/hypertensive-disorders-pregnancy-ICD"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Condition"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://www.hl7.org/fhir/us/mihr/ValueSet/hypertensive-disorders-pregnancy-SNOMED"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Condition"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.278"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Condition"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.12.1015"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Condition"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.5"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Condition"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://www.hl7.org/fhir/us/mihr/ValueSet/PregnancyProcedureDelivery-CPT"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Condition"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.127"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Condition"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.137"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Condition"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
        <mustSupport value="code"/>
        <mustSupport value="onset"/>
        <codeFilter>
          <path value="code"/>
          <code>
            <system value="http://snomed.info/sct"/>
            <code value="40521000119100"/>
          </code>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Condition"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Procedure"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.111.12.1015"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Procedure"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1078.5"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Procedure"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://www.hl7.org/fhir/us/mihr/ValueSet/PregnancyProcedureDelivery-CPT"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Procedure"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
      </dataRequirement>
      <dataRequirement>
        <type value="AllergyIntolerance"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/AllergyIntolerance"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Observation"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <code>
            <system value="http://loinc.org"/>
            <code value="39156-5"/>
          </code>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Observation"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <code>
            <system value="http://loinc.org"/>
            <code value="85354-9"/>
          </code>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Observation"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <code>
            <system value="http://loinc.org"/>
            <code value="8302-2"/>
          </code>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Observation"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <code>
            <system value="http://loinc.org"/>
            <code value="8310-5"/>
          </code>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Observation"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <code>
            <system value="http://loinc.org"/>
            <code value="29463-7"/>
          </code>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Observation"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <code>
            <system value="http://loinc.org"/>
            <code value="9843-4"/>
          </code>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Observation"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <code>
            <system value="http://loinc.org"/>
            <code value="8867-4"/>
          </code>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Observation"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <code>
            <system
                    value="http://terminology.hl7.org/CodeSystem/observation-category"/>
            <code value="laboratory"/>
          </code>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Observation"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <code>
            <system value="http://loinc.org"/>
            <code value="59576-9"/>
          </code>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Observation"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <code>
            <system value="http://loinc.org"/>
            <code value="8289-1"/>
          </code>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Observation"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <code>
            <system value="http://loinc.org"/>
            <code value="77606-2"/>
          </code>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Observation"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
        <mustSupport value="code"/>
        <codeFilter>
          <path value="code"/>
          <code>
            <system value="http://loinc.org"/>
            <code value="9279-1"/>
          </code>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Observation"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
        <mustSupport value="code"/>
        <mustSupport value="category"/>
      </dataRequirement>
      <dataRequirement>
        <type value="CarePlan"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/CarePlan"/>
      </dataRequirement>
      <dataRequirement>
        <type value="CareTeam"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Composition"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Composition"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Coverage"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Coverage"/>
      </dataRequirement>
      <dataRequirement>
        <type value="DiagnosticReport"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport"/>
      </dataRequirement>
      <dataRequirement>
        <type value="DocumentReference"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Device"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Device"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      </dataRequirement>
      <dataRequirement>
        <type value="FamilyMemberHistory"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Goal"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Goal"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Immunization"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Location"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Medication"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Medication"/>
      </dataRequirement>
      <dataRequirement>
        <type value="MedicationRequest"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Organization"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Practitioner"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </dataRequirement>
      <dataRequirement>
        <type value="PractitionerRole"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Provenance"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Provenance"/>
      </dataRequirement>
      <dataRequirement>
        <type value="RelatedPerson"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
      </dataRequirement>
      <content>
        <contentType value="text/cql"/>
        <data
              value=" "/>
      </content>
      <content>
        <contentType value="application/elm+xml"/>
        <data
              value=" "/>
      </content>
    </Library>