{
  "resourceType" : "RelatedPerson",
  "id" : "ex-attorney",
  "meta" : {
    "profile" : ["http://johnmoehrke.github.io/RelatedPersonConsent/StructureDefinition/AuthorizedRelatedPerson"],
    "security" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
      "code" : "HTEST"
    }]
  },
  "text" : {
    "status" : "extensions",
    "div" : "<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>"
  },
  "extension" : [{
    "url" : "http://johnmoehrke.github.io/RelatedPersonConsent/StructureDefinition/JFM-authorizingConsent",
    "valueReference" : {
      "reference" : "Consent/ex-poa"
    }
  }],
  "active" : true,
  "patient" : {
    "reference" : "Patient/ex-elderly"
  },
  "relationship" : [{
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
      "code" : "POWATT",
      "display" : "power of attorney"
    }]
  }],
  "name" : [{
    "use" : "official",
    "family" : "Luz",
    "given" : ["Ralph"]
  }],
  "gender" : "male"
}