{
  "resourceType" : "Consent",
  "meta" : {
    "versionId" : "1",
    "lastUpdated" : "2023-11-24T00:10:00Z",
    "profile" : ["http://hl7.org/fhir/StructureDefinition/Consent"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Consent ActiveConsentExample</b></p><a name=\"ActiveConsentExample\"> </a><a name=\"hcActiveConsentExample\"> </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: 2023-11-24 00:10:00+0000</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.org/fhir/R4/consent.html\">Consent</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>: 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><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></div>"
  },
  "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"
  }],
  "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"
      }
    }]
  }
}