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

<Patient xmlns="http://hl7.org/fhir">
  <id value="CRPatientWithCalculatedAge"/>
  <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 CRPatientWithCalculatedAge</b></p><a name="CRPatientWithCalculatedAge"> </a><a name="hcCRPatientWithCalculatedAge"> </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;">Ana María Mora Reyes (official) Female, DoB: 1975-03-15 ( Cédula Nacional: 1-2034-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="Ways to contact the Patient">Contact Detail</td><td colspan="3"><ul><li><a href="tel:+50622223333">+506 2222 3333</a></li><li><a href="mailto:ana.mora@example.cr">ana.mora@example.cr</a></li></ul></td></tr><tr><td style="background-color: #f3f5da" title="Extensión para representar la edad calculada del paciente en un momento dado, derivada de la fecha de nacimiento."><a href="StructureDefinition-cr-patient-calculated-age.html">Edad calculada del paciente</a></td><td colspan="3">50 a<span style="background: LightGoldenRodYellow"> (Details: UCUM  codea = 'a')</span></td></tr></table></div>
  </text>
  <extension url="https://hl7.or.cr/fhir/core/StructureDefinition/cr-patient-calculated-age">
    <valueAge>
      <value value="50"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="a"/>
    </valueAge>
  </extension>
  <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="1-2034-5678"/>
  </identifier>
  <active value="true"/>
  <name>
    <use value="official"/>
    <family value="Mora Reyes"/>
    <given value="Ana"/>
    <given value="María"/>
  </name>
  <telecom>
    <system value="phone"/>
    <value value="+506 2222 3333"/>
    <use value="home"/>
  </telecom>
  <telecom>
    <system value="email"/>
    <value value="ana.mora@example.cr"/>
  </telecom>
  <gender value="female"/>
  <birthDate value="1975-03-15"/>
</Patient>