{
  "resourceType" : "Bundle",
  "id" : "sa-example-response-bundle-approved",
  "meta" : {
    "profile" : ["https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/sa-response-bundle"]
  },
  "type" : "collection",
  "timestamp" : "2026-10-14T10:35:07+13:00",
  "entry" : [{
    "fullUrl" : "https://api.example.health.nz/fhir/ClaimResponse/sa-example-cr-approved",
    "resource" : {
      "resourceType" : "ClaimResponse",
      "id" : "sa-example-cr-approved",
      "meta" : {
        "profile" : ["https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/sa-application-claimresponse"]
      },
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ClaimResponse_sa-example-cr-approved\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ClaimResponse sa-example-cr-approved</b></p><a name=\"sa-example-cr-approved\"> </a><a name=\"hcsa-example-cr-approved\"> </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-sa-application-claimresponse.html\">SA Application ClaimResponse</a></p></div><blockquote><p><b>Application Status</b></p><ul><li>status: DONE</li><li>outcome: APPROVED</li></ul></blockquote><p><b>identifier</b>: <a href=\"NamingSystem-sa-approval-number.html\" title=\"Special Authority Approval Number. Carried on ClaimResponse.identifier and ClaimResponse.preAuthRef (D23).\">SAApprovalNumber</a>/26SA0004567</p><p><b>status</b>: Active</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/claim-type pharmacy}\">Pharmacy</span></p><p><b>use</b>: Preauthorization</p><p><b>patient</b>: <a href=\"Patient-sa-example-patient.html\">Aroha Parata (official) (no stated gender), DoB: 1968-03-14 ( https://standards.digital.health.nz/ns/nhi-id#NHI#ZZZ0016\u00a0(use:\u00a0official))</a></p><p><b>created</b>: 2026-10-14 10:35:07+1300</p><p><b>insurer</b>: Health New Zealand | Te Whatu Ora</p><p><b>requestor</b>: <a href=\"Practitioner-sa-example-applicant.html\">Jane Smith (official) (https://standards.digital.health.nz/ns/hpi-person-id#HPIProvider#99ZZZZ\u00a0(use:\u00a0official))</a></p><p><b>request</b>: Identifier: <a href=\"NamingSystem-sa-application-number.html\" title=\"Special Authority Application Number allocated by the special-authority-application-service. The only identifier carried on Claim.identifier (D23).\">SAApplicationNumber</a>/000123456</p><p><b>outcome</b>: Processing Complete</p><p><b>disposition</b>: Application approved</p><p><b>preAuthRef</b>: 26SA0004567</p><p><b>preAuthPeriod</b>: 2026-10-14 --&gt; 2027-10-14</p></div>"
      },
      "extension" : [{
        "extension" : [{
          "url" : "status",
          "valueCode" : "DONE"
        },
        {
          "url" : "outcome",
          "valueCode" : "APPROVED"
        }],
        "url" : "https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/application-status"
      }],
      "identifier" : [{
        "system" : "https://fhir-ig.digital.health.nz/special-authority/ns/approval-number",
        "value" : "26SA0004567"
      }],
      "status" : "active",
      "type" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/claim-type",
          "code" : "pharmacy"
        }]
      },
      "use" : "preauthorization",
      "patient" : {
        "reference" : "Patient/sa-example-patient"
      },
      "created" : "2026-10-14T10:35:07+13:00",
      "insurer" : {
        "display" : "Health New Zealand | Te Whatu Ora"
      },
      "requestor" : {
        "reference" : "Practitioner/sa-example-applicant"
      },
      "request" : {
        "identifier" : {
          "system" : "https://fhir-ig.digital.health.nz/special-authority/ns/application-number",
          "value" : "000123456"
        }
      },
      "outcome" : "complete",
      "disposition" : "Application approved",
      "preAuthRef" : "26SA0004567",
      "preAuthPeriod" : {
        "start" : "2026-10-14",
        "end" : "2027-10-14"
      }
    }
  },
  {
    "fullUrl" : "https://api.example.health.nz/fhir/Patient/sa-example-patient",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "sa-example-patient",
      "meta" : {
        "profile" : ["https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/sa-patient"]
      },
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_sa-example-patient\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient sa-example-patient</b></p><a name=\"sa-example-patient\"> </a><a name=\"hcsa-example-patient\"> </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-sa-patient.html\">SA Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Aroha Parata (official) (no stated gender), DoB: 1968-03-14 ( https://standards.digital.health.nz/ns/nhi-id#NHI#ZZZ0016\u00a0(use:\u00a0official))</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\">12 Kowhai Street Waikanae 5036 NZ (home) (NZ Suburb: Waikanae Beach)</td></tr></table></div>"
      },
      "identifier" : [{
        "use" : "official",
        "system" : "https://standards.digital.health.nz/ns/nhi-id",
        "value" : "ZZZ0016"
      }],
      "name" : [{
        "use" : "official",
        "family" : "Parata",
        "given" : ["Aroha"],
        "prefix" : ["Ms"]
      }],
      "birthDate" : "1968-03-14",
      "address" : [{
        "extension" : [{
          "url" : "http://hl7.org.nz/fhir/StructureDefinition/suburb",
          "valueString" : "Waikanae Beach"
        }],
        "use" : "home",
        "line" : ["12 Kowhai Street"],
        "city" : "Waikanae",
        "postalCode" : "5036",
        "country" : "NZ"
      }]
    }
  },
  {
    "fullUrl" : "https://api.example.health.nz/fhir/Practitioner/sa-example-applicant",
    "resource" : {
      "resourceType" : "Practitioner",
      "id" : "sa-example-applicant",
      "meta" : {
        "profile" : ["https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/sa-practitioner"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_sa-example-applicant\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Practitioner sa-example-applicant</b></p><a name=\"sa-example-applicant\"> </a><a name=\"hcsa-example-applicant\"> </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-sa-practitioner.html\">SA Practitioner</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Jane Smith (official) (https://standards.digital.health.nz/ns/hpi-person-id#HPIProvider#99ZZZZ\u00a0(use:\u00a0official))</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Other Id (see the one above)\">Other Id:</td><td colspan=\"3\"><a href=\"http://fhir.org.nz/ig/base/3.1.0/NamingSystem-medical-council-id.html\" title=\"Medical Council of New Zealand Register Number\">NZMC</a>/12345\u00a0(use:\u00a0secondary)</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Practitioner\">Contact Detail</td><td colspan=\"3\">1 Main Highway Otaki 5512 NZ (work)</td></tr></table></div>"
      },
      "identifier" : [{
        "use" : "official",
        "system" : "https://standards.digital.health.nz/ns/hpi-person-id",
        "value" : "99ZZZZ"
      },
      {
        "use" : "secondary",
        "system" : "https://standards.digital.health.nz/ns/medical-council-id",
        "value" : "12345"
      }],
      "name" : [{
        "use" : "official",
        "family" : "Smith",
        "given" : ["Jane"],
        "prefix" : ["Dr"]
      }],
      "address" : [{
        "use" : "work",
        "line" : ["1 Main Highway"],
        "city" : "Otaki",
        "postalCode" : "5512",
        "country" : "NZ"
      }]
    }
  }]
}