<?xml version="1.0" encoding="UTF-8"?>

<Group xmlns="http://hl7.org/fhir">
  <id value="ExampleCohortDefinition"/>
  <meta>
    <profile value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-groupdefinition"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Group ExampleCohortDefinition</b></p><a name="ExampleCohortDefinition"> </a><a name="hcExampleCohortDefinition"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-crmi-groupdefinition.html">CRMI GroupDefinition</a></p></div><p><b>type</b>: Person</p><p><b>actual</b>: false</p><p><b>name</b>: Adult Diabetes Patients</p><blockquote><p><b>characteristic</b></p><p><b>code</b>: <span title="Codes:{http://snomed.info/sct 64572001}">Patients with diabetes diagnosis</span></p><p><b>value</b>: <span title="Codes:{http://snomed.info/sct 73211009}">Diabetes mellitus</span></p><p><b>exclude</b>: false</p></blockquote><blockquote><p><b>characteristic</b></p><p><b>code</b>: <span title="Codes:{http://loinc.org 30525-0}">Adults 18 years and older</span></p><p><b>value</b>: 18 years<span style="background: LightGoldenRodYellow"> (Details: UCUM  codea = 'a')</span></p><p><b>exclude</b>: false</p></blockquote><blockquote><p><b>characteristic</b></p><p><b>code</b>: <span title="Codes:{http://loinc.org 4548-4}">Patients with high HbA1c (&gt;6%)</span></p><p><b>value</b>: ?rref?</p><p><b>exclude</b>: false</p></blockquote></div>
  </text>
  <type value="person"/>
  <actual value="false"/>
  <name value="Adult Diabetes Patients"/>
  <characteristic>
    <code>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="64572001"/>
        <display value="Disease (disorder)"/>
      </coding>
      <text value="Patients with diabetes diagnosis"/>
    </code>
    <valueCodeableConcept>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="73211009"/>
        <display value="Diabetes mellitus"/>
      </coding>
    </valueCodeableConcept>
    <exclude value="false"/>
  </characteristic>
  <characteristic>
    <code>
      <coding>
        <system value="http://loinc.org"/>
        <code value="30525-0"/>
        <display value="Age"/>
      </coding>
      <text value="Adults 18 years and older"/>
    </code>
    <valueQuantity>
      <value value="18"/>
      <unit value="years"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="a"/>
    </valueQuantity>
    <exclude value="false"/>
  </characteristic>
  <characteristic>
    <code>
      <coding>
        <system value="http://loinc.org"/>
        <code value="4548-4"/>
        <display value="Hemoglobin A1c/Hemoglobin.total in Blood"/>
      </coding>
      <text value="Patients with high HbA1c (&gt;6%)"/>
    </code>
    <valueReference>
      <extension url="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-groupCharacteristicValueCanonical">
        <valueCanonical value="http://example.org/fhir/StructureDefinition/high-a1c-observation"/>
      </extension>
    </valueReference>
    <exclude value="false"/>
  </characteristic>
</Group>