<Condition xmlns="http://hl7.org/fhir">
  <id value="chr-on-west-Condition-problem-list-4001" />
  <meta>
    <lastUpdated value="2024-11-15T14:30:00+00:00" />
    <source value="urn:telus:emr:chr:on-west:123" />
    <profile value="https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwCondition" />
    <security>
      <system value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality" />
      <code value="N" />
      <display value="normal" />
    </security>
  </meta>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">Type 2 Diabetes Mellitus - Active condition managed with metformin and lifestyle modifications. Patient demonstrates good glycemic control.</div>
  </text>
  <identifier>
    <use value="official" />
    <system value="urn:telus:emr:chr:on-west:123:Medical_History_Records" />
    <value value="4001" />
  </identifier>
  <clinicalStatus>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/condition-clinical" />
      <code value="active" />
      <display value="Active" />
      <userSelected value="true" />
    </coding>
    <text value="Active" />
  </clinicalStatus>
  <category>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/condition-category" />
      <code value="problem-list-item" />
      <display value="Problem List Item" />
      <userSelected value="true" />
    </coding>
    <text value="Medical History Record" />
  </category>
  <code>
    <coding>
      <system value="http://hl7.org/fhir/sid/icd-9" />
      <code value="250.00" />
      <display value="Diabetes mellitus without mention of complication, type II or unspecified type, not stated as uncontrolled" />
      <userSelected value="true" />
    </coding>
    <text value="Type 2 Diabetes Mellitus" />
  </code>
  <subject>
    <reference value="Patient/chr-on-west-Patient-12345" />
    <type value="Patient" />
  </subject>
  <onsetDateTime value="2020-03-15" />
  <recordedDate value="2020-03-20T10:15:00Z" />
  <note>
    <text value="Notes: Patient diagnosed with Type 2 Diabetes Mellitus in March 2020. Currently managed with metformin 1000mg BID and lifestyle modifications including diet and exercise. HbA1c levels have been stable at 6.8% over the past year. Patient demonstrates good understanding of disease management and compliance with treatment plan." />
  </note>
  <note>
    <text value="Description: Chronic metabolic disorder characterized by hyperglycemia. Patient requires ongoing monitoring and management." />
  </note>
  <note>
    <text value="Life Stage: Adult" />
  </note>
</Condition>