{
  "resourceType" : "RelatedPerson",
  "id" : "ahd-trustee-example",
  "meta" : {
    "profile" : ["https://fhir.ee/ahd/StructureDefinition/ahd-trustee"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<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>"
  },
  "extension" : [{
    "url" : "https://fhir.ee/ahd/StructureDefinition/ahd-questionnaire-response-reference",
    "valueReference" : {
      "reference" : "QuestionnaireResponse/AHDQuestionnaireResponseExample"
    }
  },
  {
    "url" : "https://fhir.ee/ahd/StructureDefinition/ahd-trustee-status",
    "valueCode" : "completed"
  }],
  "identifier" : [{
    "system" : "https://fhir.ee/sid/pid/est/ni",
    "value" : "47505020022"
  }],
  "active" : true,
  "patient" : {
    "reference" : "Patient/200"
  },
  "relationship" : [{
    "coding" : [{
      "system" : "https://fhir.ee/CodeSystem/olemi-seos",
      "code" : "CON"
    }]
  }],
  "name" : [{
    "use" : "official",
    "family" : "Maasikas",
    "given" : ["Mari"]
  }],
  "telecom" : [{
    "system" : "phone",
    "value" : "+37251234567",
    "use" : "mobile"
  },
  {
    "system" : "email",
    "value" : "mari.maasikas@example.ee",
    "use" : "home"
  }]
}