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

<RelatedPerson xmlns="http://hl7.org/fhir">
  <id value="ex-attorney"/>
  <meta>
    <profile value="http://johnmoehrke.github.io/RelatedPersonConsent/StructureDefinition/AuthorizedRelatedPerson"/>
    <security>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
      <code value="HTEST"/>
    </security>
  </meta>
  <text>
    <status value="extensions"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: RelatedPerson ex-attorney</b></p><a name="ex-attorney"> </a><a name="hcex-attorney"> </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-AuthorizedRelatedPerson.html">Authorized RelatedPerson</a></p><p style="margin-bottom: 0px">Security Label: <a href="http://terminology.hl7.org/7.3.0/CodeSystem-v3-ActReason.html">test health data (Details: ActReason code HTEST = 'test health data')</a></p></div><p><b>Extension that points at an authorizing Consent</b>: <a href="Consent-ex-poa.html">ex-poa</a></p><p><b>active</b>: true</p><p><b>patient</b>: <a href="Patient-ex-elderly.html">John Schmidt  Other, DoB: 1923-07-25</a></p><p><b>relationship</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleCode POWATT}">power of attorney</span></p><p><b>name</b>: Ralph Luz (Official)</p><p><b>gender</b>: Male</p></div>
  </text>
  <extension url="http://johnmoehrke.github.io/RelatedPersonConsent/StructureDefinition/JFM-authorizingConsent">
    <valueReference>
      <reference value="Consent/ex-poa"/>
    </valueReference>
  </extension>
  <active value="true"/>
  <patient>
    <reference value="Patient/ex-elderly"/>
  </patient>
  <relationship>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
      <code value="POWATT"/>
      <display value="power of attorney"/>
    </coding>
  </relationship>
  <name>
    <use value="official"/>
    <family value="Luz"/>
    <given value="Ralph"/>
  </name>
  <gender value="male"/>
</RelatedPerson>