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

<RelatedPerson xmlns="http://hl7.org/fhir">
  <id value="ahd-trustee-example"/>
  <meta>
    <profile value="https://fhir.ee/ahd/StructureDefinition/ahd-trustee"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: RelatedPerson ahd-trustee-example</b></p><a name="ahd-trustee-example"> </a><a name="hcahd-trustee-example"> </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-ahd-trustee.html">AHD trustee (RelatedPerson)</a></p></div><p style="border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;">Mari Maasikas (official) - CON (https://fhir.ee/sid/pid/est/ni#47505020022)</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="The patient this person is related to">Patient:</td><td colspan="3"><a href="Patient-200.html">Pauliine Jänes (official) (no stated gender), DoB Unknown ( https://fhir.ee/sid/pid/est/ni#49406240016)</a></td></tr><tr><td style="background-color: #f3f5da" title="The nature of the relationship between the patient and the related person">Relationship:</td><td colspan="3"><span title="Codes:{https://fhir.ee/CodeSystem/olemi-seos CON}">CON</span></td></tr><tr><td style="background-color: #f3f5da" title="Ways to contact the Related Person">Contact Detail</td><td colspan="3"><ul><li><a href="tel:+37251234567">+37251234567</a></li><li><a href="mailto:mari.maasikas@example.ee">mari.maasikas@example.ee</a></li></ul></td></tr><tr><td style="background-color: #f3f5da" title="Status that shows whether the trustee has accepted the request. The statuses are ootel (Requested), kehtiv (Completed), tagasilükatud (Rejected), tühistatud (Cancelled)."><a href="StructureDefinition-ahd-trustee-status.html">AHD trustee status (Code)</a></td><td colspan="3">completed</td></tr><tr><td style="background-color: #f3f5da" title="Reference to the content that the trustee is connected with."><a href="StructureDefinition-ahd-questionnaire-response-reference.html">AHD content reference</a></td><td colspan="3"><a href="QuestionnaireResponse-AHDQuestionnaireResponseExample.html">Response to Questionnaire '-&gt;Patsiendi elulõpu tahteavaldus' about '-&gt;Pauliine Jänes (official) (no stated gender), DoB Unknown ( https://fhir.ee/sid/pid/est/ni#49406240016)'</a></td></tr></table></div>
  </text>
  <extension url="https://fhir.ee/ahd/StructureDefinition/ahd-questionnaire-response-reference">
    <valueReference>
      <reference value="QuestionnaireResponse/AHDQuestionnaireResponseExample"/>
    </valueReference>
  </extension>
  <extension url="https://fhir.ee/ahd/StructureDefinition/ahd-trustee-status">
    <valueCode value="completed"/>
  </extension>
  <identifier>
    <system value="https://fhir.ee/sid/pid/est/ni"/>
    <value value="47505020022"/>
  </identifier>
  <active value="true"/>
  <patient>
    <reference value="Patient/200"/>
  </patient>
  <relationship>
    <coding>
      <system value="https://fhir.ee/CodeSystem/olemi-seos"/>
      <code value="CON"/>
    </coding>
  </relationship>
  <name>
    <use value="official"/>
    <family value="Maasikas"/>
    <given value="Mari"/>
  </name>
  <telecom>
    <system value="phone"/>
    <value value="+37251234567"/>
    <use value="mobile"/>
  </telecom>
  <telecom>
    <system value="email"/>
    <value value="mari.maasikas@example.ee"/>
    <use value="home"/>
  </telecom>
</RelatedPerson>