{
  "resourceType" : "Consent",
  "meta" : {
    "versionId" : "1",
    "lastUpdated" : "2024-02-01T23:00:00Z",
    "profile" : ["https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/nz-sharedcare-consent"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Consent ConsentByRelatedPersonExample</b></p><a name=\"ConsentByRelatedPersonExample\"> </a><a name=\"hcConsentByRelatedPersonExample\"> </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\">version: 1; Last updated: 2024-02-01 23:00:00+0000</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-nz-sharedcare-consent.html\">ManaakiNgaTahiConsent</a></p></div><p><b>status</b>: Active</p><p><b>scope</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/consentscope patient-privacy}\">Privacy Consent</span></p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/consentcategorycodes npp}\">Notice of Privacy Practices</span></p><p><b>patient</b>: Madeleine Meringue (Identifier: <a href=\"http://fhir.org.nz/ig/base/NamingSystem-nhi.html\" title=\"NHI number\">NHI</a>/ZAA7824\u00a0(use:\u00a0official,\u00a0))</p><p><b>dateTime</b>: 2023-06-12 02:30:35+0000</p><p><b>performer</b>: </p><ul><li>Te Tai Tokerau Rheumatic Fever Secondary Prevention Service (Identifier: <a href=\"http://fhir.org.nz/ig/base/NamingSystem-hpiOrganization.html\" title=\"HPI organizations\">HPIOrganization</a>/G0M086-B\u00a0(use:\u00a0official,\u00a0))</li><li><a href=\"#hcConsentByRelatedPersonExample/contained-Related-Person\">{Beryl Hackett</a></li></ul><p><b>organization</b>: Te Tai Tokerau Rheumatic Fever Secondary Prevention Service (Identifier: <a href=\"http://fhir.org.nz/ig/base/NamingSystem-hpiOrganization.html\" title=\"HPI organizations\">HPIOrganization</a>/G0M086-B\u00a0(use:\u00a0official,\u00a0))</p><blockquote><p><b>policy</b></p><p><b>authority</b>: <a href=\"https://www.privacy.org.nz\">https://www.privacy.org.nz</a></p><p><b>uri</b>: <a href=\"https://www.privacy.org.nz/privacy-act-2020/\">https://www.privacy.org.nz/privacy-act-2020/</a></p></blockquote><blockquote><p><b>policy</b></p><p><b>authority</b>: <a href=\"https://www.privacy.org.nz\">https://www.privacy.org.nz</a></p><p><b>uri</b>: <a href=\"https://www.privacy.org.nz/privacy-act-2020/codes-of-practice/hipc2020/\">https://www.privacy.org.nz/privacy-act-2020/codes-of-practice/hipc2020/</a></p></blockquote><blockquote><p><b>provision</b></p><p><b>type</b>: Opt In</p><p><b>period</b>: 2023-06-12 02:30:35+0000 --&gt; 2026-06-11 02:30:35+0000</p><blockquote><p><b>actor</b></p><p><b>role</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/extra-security-role-type datacollector}\">data collector</span></p><p><b>reference</b>: Te Tai Tokerau Rheumatic Fever Secondary Prevention Service (Identifier: <a href=\"http://fhir.org.nz/ig/base/NamingSystem-hpiOrganization.html\" title=\"HPI organizations\">HPIOrganization</a>/G0M086-B\u00a0(use:\u00a0official,\u00a0))</p></blockquote><blockquote><p><b>actor</b></p><p><b>role</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/extra-security-role-type datasubject}\">data subject</span></p><p><b>reference</b>: Madeleine Meringue (Identifier: <a href=\"http://fhir.org.nz/ig/base/NamingSystem-nhi.html\" title=\"NHI number\">NHI</a>/ZAA7824\u00a0(use:\u00a0official,\u00a0))</p></blockquote><blockquote><p><b>data</b></p><p><b>meaning</b>: Instance</p><p><b>reference</b>: <a href=\"Condition-ConditionExample.html\">Condition COVID-19</a></p></blockquote><blockquote><p><b>data</b></p><p><b>meaning</b>: Instance</p><p><b>reference</b>: <a href=\"Encounter-EncounterExample.html\">Encounter: status = in-progress; class = virtual (ActCode#VR); serviceType = General Practice; priority = timing critical; period = 2022-09-20 --&gt; 2022-09-27; reasonCode = patient-initiated encounter</a></p></blockquote></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: RelatedPerson #contained-Related-Person</b></p><a name=\"ConsentByRelatedPersonExample/contained-Related-Person\"> </a><a name=\"hcConsentByRelatedPersonExample/contained-Related-Person\"> </a><p><b>patient</b>: Madeleine Meringue (Identifier: <a href=\"http://fhir.org.nz/ig/base/NamingSystem-nhi.html\" title=\"NHI number\">NHI</a>/ZAA7824\u00a0(use:\u00a0official,\u00a0))</p><p><b>relationship</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleCode PRN}\">parent</span></p><p><b>name</b>: Beryl Hackett </p></blockquote></div>"
  },
  "contained" : [{
    "resourceType" : "RelatedPerson",
    "id" : "contained-Related-Person",
    "patient" : {
      "type" : "Patient",
      "identifier" : {
        "use" : "official",
        "system" : "https://standards.digital.health.nz/ns/nhi-id",
        "value" : "ZAA7824"
      },
      "display" : "Madeleine Meringue"
    },
    "relationship" : [{
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
        "code" : "PRN"
      }]
    }],
    "name" : [{
      "family" : "Hackett",
      "given" : ["Beryl"]
    }]
  }],
  "status" : "active",
  "scope" : {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/consentscope",
      "code" : "patient-privacy",
      "display" : "Privacy Consent"
    }]
  },
  "category" : [{
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/consentcategorycodes",
      "code" : "npp",
      "display" : "Notice of Privacy Practices"
    }]
  }],
  "patient" : {
    "type" : "Patient",
    "identifier" : {
      "use" : "official",
      "system" : "https://standards.digital.health.nz/ns/nhi-id",
      "value" : "ZAA7824"
    },
    "display" : "Madeleine Meringue"
  },
  "dateTime" : "2023-06-12T02:30:35.982Z",
  "performer" : [{
    "type" : "Organization",
    "identifier" : {
      "use" : "official",
      "system" : "https://standards.digital.health.nz/ns/hpi-organisation-id",
      "value" : "G0M086-B"
    },
    "display" : "Te Tai Tokerau Rheumatic Fever Secondary Prevention Service"
  },
  {
    "reference" : "#contained-Related-Person",
    "type" : "RelatedPerson",
    "display" : "{Beryl Hackett"
  }],
  "organization" : [{
    "type" : "Organization",
    "identifier" : {
      "use" : "official",
      "system" : "https://standards.digital.health.nz/ns/hpi-organisation-id",
      "value" : "G0M086-B"
    },
    "display" : "Te Tai Tokerau Rheumatic Fever Secondary Prevention Service"
  }],
  "policy" : [{
    "authority" : "https://www.privacy.org.nz",
    "uri" : "https://www.privacy.org.nz/privacy-act-2020/"
  },
  {
    "authority" : "https://www.privacy.org.nz",
    "uri" : "https://www.privacy.org.nz/privacy-act-2020/codes-of-practice/hipc2020/"
  }],
  "provision" : {
    "type" : "permit",
    "period" : {
      "start" : "2023-06-12T02:30:35Z",
      "end" : "2026-06-11T02:30:35Z"
    },
    "actor" : [{
      "role" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/extra-security-role-type",
          "code" : "datacollector",
          "display" : "data collector"
        }]
      },
      "reference" : {
        "type" : "Organization",
        "identifier" : {
          "use" : "official",
          "system" : "https://standards.digital.health.nz/ns/hpi-organisation-id",
          "value" : "G0M086-B"
        },
        "display" : "Te Tai Tokerau Rheumatic Fever Secondary Prevention Service"
      }
    },
    {
      "role" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/extra-security-role-type",
          "code" : "datasubject",
          "display" : "data subject"
        }]
      },
      "reference" : {
        "type" : "Patient",
        "identifier" : {
          "use" : "official",
          "system" : "https://standards.digital.health.nz/ns/nhi-id",
          "value" : "ZAA7824"
        },
        "display" : "Madeleine Meringue"
      }
    }],
    "data" : [{
      "meaning" : "instance",
      "reference" : {
        "reference" : "Condition/ConditionExample"
      }
    },
    {
      "meaning" : "instance",
      "reference" : {
        "reference" : "Encounter/EncounterExample"
      }
    }]
  }
}