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

<Patient xmlns="http://hl7.org/fhir">
  <id value="CRPatientWithContactEmergency"/>
  <meta>
    <profile value="https://hl7.or.cr/fhir/core/StructureDefinition/cr-core-patient"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Patient CRPatientWithContactEmergency</b></p><a name="CRPatientWithContactEmergency"> </a><a name="hcCRPatientWithContactEmergency"> </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-cr-core-patient.html">Paciente</a></p></div><p style="border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;">Carlos Alberto Fernández Arias (official) Male, DoB: 1995-07-10 ( Cédula Nacional: 6-1234-5678 (use: official, ))</p><hr/><table class="grid"><tr><td style="background-color: #f3f5da" title="Record is active">Active:</td><td colspan="3">true</td></tr><tr><td style="background-color: #f3f5da" title="Nominated Contact: Mother">Mother:</td><td colspan="3"><ul><li>Rosa Arias Méndez (Official) (Female)</li><li><a href="tel:+50623456789">+506 2345 6789</a></li></ul></td></tr><tr><td style="background-color: #f3f5da" title="Nominated Contact: Marital status">Marital status:</td><td colspan="3"><ul><li>Juan Morales Campos (Official) (Male)</li><li><a href="tel:+50698765432">+506 9876 5432</a></li><li><a href="mailto:juan.morales@example.cr">juan.morales@example.cr</a></li></ul></td></tr></table></div>
  </text>
  <identifier>
    <use value="official"/>
    <type>
      <coding>
        <system value="https://hl7.or.cr/fhir/terminology/CodeSystem/identifier-type"/>
        <code value="cedula-nacional"/>
        <display value="Cédula Nacional"/>
      </coding>
    </type>
    <system value="https://hl7.or.cr/fhir/identifier/client-registry"/>
    <value value="6-1234-5678"/>
  </identifier>
  <active value="true"/>
  <name>
    <use value="official"/>
    <family value="Fernández Arias"/>
    <given value="Carlos"/>
    <given value="Alberto"/>
  </name>
  <gender value="male"/>
  <birthDate value="1995-07-10"/>
  <contact>
    <relationship>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="72705000"/>
      </coding>
    </relationship>
    <name>
      <use value="official"/>
      <family value="Arias Méndez"/>
      <given value="Rosa"/>
    </name>
    <telecom>
      <system value="phone"/>
      <value value="+506 2345 6789"/>
      <use value="home"/>
    </telecom>
    <gender value="female"/>
  </contact>
  <contact>
    <relationship>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="125680007"/>
      </coding>
    </relationship>
    <name>
      <use value="official"/>
      <family value="Morales Campos"/>
      <given value="Juan"/>
    </name>
    <telecom>
      <system value="phone"/>
      <value value="+506 9876 5432"/>
      <use value="mobile"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="juan.morales@example.cr"/>
    </telecom>
    <gender value="male"/>
  </contact>
</Patient>