{
  "resourceType" : "Encounter",
  "meta" : {
    "versionId" : "1",
    "lastUpdated" : "2025-09-04T09:00:00.000Z",
    "source" : "https://standards.digital.health.nz/ns/hpi-facility-id/F12345",
    "profile" : ["https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/DHOutpatientEncounterDelete",
    "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/DHOutpatientEncounter"],
    "tag" : [{
      "system" : "https://hub.services.digital.health.nz/ns/correlation-id",
      "code" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Encounter dho-outpatient-encounter-delete-instance</b></p><a name=\"dho-outpatient-encounter-delete-instance\"> </a><a name=\"hcdho-outpatient-encounter-delete-instance\"> </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: 2025-09-04 09:00:00+0000; </p><p style=\"margin-bottom: 0px\">Information Source: <a href=\"https://standards.digital.health.nz/ns/hpi-facility-id/F12345\">https://standards.digital.health.nz/ns/hpi-facility-id/F12345</a></p><p style=\"margin-bottom: 0px\">Profiles: <a href=\"StructureDefinition-DHOutpatientEncounterDelete.html\">Dunedin Hospital Outpatient Delete Encounter</a>, <a href=\"StructureDefinition-DHOutpatientEncounter.html\">Dunedin Hospital Outpatient Get Encounter</a></p><p style=\"margin-bottom: 0px\">Tag: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx (Details: correlation-id code xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)</p></div><p><b>status</b>: Cancelled</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/6.5.0/CodeSystem-v3-ActCode.html#v3-ActCode-AMB\">ActCode AMB</a>: Ambulatory</p></div>"
  },
  "status" : "cancelled",
  "class" : {
    "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
    "code" : "AMB",
    "display" : "Ambulatory"
  }
}