<Patient xmlns="http://hl7.org/fhir">
  <id value="ma-ma-schema-1-Patient-12345" />
  <meta>
    <lastUpdated value="2023-12-18T23:07:47+00:00" />
    <source value="urn:telus:emr:ma:ma-schema-1" />
    <profile value="https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPatient" />
    <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">
      <p class="res-header-id">
        <b>Generated Narrative: Patient ma-ma-schema-1-Patient-12345</b>
      </p>
      <a name="ma-ma-schema-1-Patient-12345"></a>
      <a name="hcma-ma-schema-1-Patient-12345"></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">Last updated: 2023-12-18 23:07:47+0000; </p>
        <p style="margin-bottom: 0px">Information Source: <a href="https://simplifier.net/resolve?scope=hl7.fhir.ca.baseline@1.1.7&amp;canonical=urn:telus:emr:ma:ma-schema-1">urn:telus:emr:ma:ma-schema-1</a></p>
        <p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-profile-DwPatient.html">DwPatient</a></p>
        <p style="margin-bottom: 0px">Security Label: normal (Details: Confidentiality code N = 'normal')</p>
      </div>
      <p style="border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;">John Michael Smith(official) Male, DoB: 1975-06-15 ( Jurisdictional health number: 1234567890)</p>
      <hr />
      <table class="grid">
        <tr>
          <td style="background-color: #f3f5da" title="Record is active">Active:</td>
          <td>true</td>
          <td style="background-color: #f3f5da" title="Known status of Patient">Deceased:</td>
          <td>false</td>
        </tr>
        <tr>
          <td style="background-color: #f3f5da" title="Known Marital status of Patient">Marital Status:</td>
          <td colspan="3">
            <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-MaritalStatus M}">Married</span>
          </td>
        </tr>
        <tr>
          <td style="background-color: #f3f5da" title="Other Id (see the one above)">Other Id:</td>
          <td colspan="3">Medical Record Number/12345 (use: usual, )</td>
        </tr>
        <tr>
          <td style="background-color: #f3f5da" title="Ways to contact the Patient">Contact Detail</td>
          <td colspan="3">
            <ul>
              <li>ph: 416-555-1234(Home)</li>
              <li>ph: 647-555-5678(Mobile)</li>
              <li>
                <a href="mailto:john.smith@example.com">john.smith@example.com</a>
              </li>
              <li>123 Main Street Apartment 4B Toronto ON M5H 2N2 CA (home)</li>
            </ul>
          </td>
        </tr>
        <tr>
          <td style="background-color: #f3f5da" title="Language spoken">Language:</td>
          <td colspan="3">
            <span title="Codes:{urn:ietf:bcp:47 en}">English</span> (preferred)</td>
        </tr>
        <tr>
          <td style="background-color: #f3f5da" title="Patient Links">Links:</td>
          <td colspan="3">
            <ul>
              <li>General Practitioner: <a href="Practitioner-ma-ma-schema-1-Practitioner-789.html">Dr. Sarah Johnson</a></li>
              <li>Managing Organization: <a href="Organization-ma-ma-schema-1-Organization-0.html">Main Street Family Practice</a></li>
            </ul>
          </td>
        </tr>
        <tr>
          <td style="background-color: #f3f5da" title="null">
            <a href="StructureDefinition-ext-PatientStatus.html" />
          </td>
          <td colspan="3">
            <span title="Codes:{urn:telus:emr:ma:ma-schema-1:codetable:patient-status active}">Active</span>
          </td>
        </tr>
        <tr>
          <td style="background-color: #f3f5da" title="The gender the patient identifies with. The Patient's gender identity is used as guidance (e.g. for staff) about how to interact with the patient.">
            <a href="http://hl7.org/fhir/R4/extension-patient-genderidentity.html">genderIdentity</a>
          </td>
          <td colspan="3">
            <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-NullFlavor UNK}">Unknown</span>
          </td>
        </tr>
      </table>
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/patient-genderIdentity">
    <valueCodeableConcept>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-NullFlavor" />
        <code value="UNK" />
        <display value="Unknown" />
      </coding>
    </valueCodeableConcept>
  </extension>
  <extension url="https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/ext-PatientStatus">
    <valueCodeableConcept>
      <coding>
        <system value="urn:telus:emr:ma:ma-schema-1:codetable:patient-status" />
        <code value="active" />
        <display value="Active" />
      </coding>
    </valueCodeableConcept>
  </extension>
  <identifier>
    <use value="usual" />
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v2-0203" />
        <code value="MR" />
        <display value="Medical Record Number" />
      </coding>
    </type>
    <system value="urn:telus:emr:ma:ma-schema-1:PatientId" />
    <value value="12345" />
  </identifier>
  <identifier>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v2-0203" />
        <code value="JHN" />
        <display value="Jurisdictional health number" />
      </coding>
    </type>
    <system value="urn:oid:2.16.840.1.113883.4.56" />
    <value value="1234567890" />
    <assigner>
      <display value="ON" />
    </assigner>
  </identifier>
  <active value="true" />
  <name>
    <use value="official" />
    <text value="John Michael Smith" />
    <family value="Smith" />
    <given value="John" />
    <given value="Michael" />
  </name>
  <telecom>
    <system value="phone" />
    <value value="416-555-1234" />
    <use value="home" />
  </telecom>
  <telecom>
    <system value="phone" />
    <value value="647-555-5678" />
    <use value="mobile" />
  </telecom>
  <telecom>
    <system value="email" />
    <value value="john.smith@example.com" />
    <use value="home" />
  </telecom>
  <gender value="male" />
  <birthDate value="1975-06-15" />
  <deceasedBoolean value="false" />
  <address>
    <use value="home" />
    <type value="physical" />
    <line value="123 Main Street" />
    <line value="Apartment 4B" />
    <city value="Toronto" />
    <state value="ON" />
    <postalCode value="M5H 2N2" />
    <country value="CA" />
  </address>
  <maritalStatus>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" />
      <code value="M" />
      <display value="Married" />
    </coding>
  </maritalStatus>
  <communication>
    <language>
      <coding>
        <system value="urn:ietf:bcp:47" />
        <code value="en" />
        <display value="English" />
      </coding>
      <text value="English" />
    </language>
    <preferred value="true" />
  </communication>
  <generalPractitioner>
    <reference value="Practitioner/ma-ma-schema-1-Practitioner-789" />
    <type value="Practitioner" />
    <display value="Dr. Sarah Johnson" />
  </generalPractitioner>
  <managingOrganization>
    <reference value="Organization/ma-ma-schema-1-Organization-0" />
    <type value="Organization" />
    <display value="Main Street Family Practice" />
  </managingOrganization>
</Patient>