{
  "resourceType" : "Bundle",
  "id" : "CPB1",
  "type" : "searchset",
  "entry" : [{
    "fullUrl" : "https://bsa-uat.pinga.health/fhir/CarePlan/CP123",
    "resource" : {
      "resourceType" : "CarePlan",
      "id" : "CP123",
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"CarePlan_CP123\"> </a><p class=\"res-header-id\"><b>Generated Narrative: CarePlan CP123</b></p><a name=\"CP123\"> </a><a name=\"hcCP123\"> </a><p><b>Programme Status Extension</b>: <span title=\"Codes:{https://fhir-ig.digital.health.nz/bsa/CodeSystem/programme-status not-enrolled}\">Not enrolled</span></p><p><b>Pathway State Extension</b>: <span title=\"Codes:{https://fhir-ig.digital.health.nz/bsa/CodeSystem/pathway-state exited}\">Exited</span></p><p><b>Pathway Substate Extension</b>: <span title=\"Codes:{https://fhir-ig.digital.health.nz/bsa/CodeSystem/pathway-substate deceased}\">Deceased</span></p><p><b>Pathway State Date Last Modified Extension</b>: 2025-11-07 13:16:36+0000</p><p><b>status</b>: On Hold</p><p><b>intent</b>: Plan</p><p><b>subject</b>: Identifier: ZXE24NV</p><p><b>period</b>: 2005-05-16 00:00:00+0000 --&gt; 2017-08-13 12:00:00+0000</p><p><b>author</b>: Identifier: GZZ956-B</p></div>"
      },
      "extension" : [{
        "url" : "https://fhir-ig.digital.health.nz/bsa/StructureDefinition/programme-status",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir-ig.digital.health.nz/bsa/CodeSystem/programme-status",
            "code" : "not-enrolled"
          }]
        }
      },
      {
        "url" : "https://fhir-ig.digital.health.nz/bsa/StructureDefinition/pathway-state",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir-ig.digital.health.nz/bsa/CodeSystem/pathway-state",
            "code" : "exited"
          }]
        }
      },
      {
        "url" : "https://fhir-ig.digital.health.nz/bsa/StructureDefinition/pathway-substate",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir-ig.digital.health.nz/bsa/CodeSystem/pathway-substate",
            "code" : "deceased",
            "display" : "Deceased"
          }],
          "text" : "Deceased"
        }
      },
      {
        "url" : "https://fhir-ig.digital.health.nz/bsa/StructureDefinition/pathway-state-date-last-modified",
        "valueDateTime" : "2025-11-07T13:16:36+00:00"
      }],
      "status" : "on-hold",
      "intent" : "plan",
      "subject" : {
        "type" : "Patient",
        "identifier" : {
          "value" : "ZXE24NV"
        }
      },
      "period" : {
        "start" : "2005-05-16T00:00:00+00:00",
        "end" : "2017-08-13T12:00:00+00:00"
      },
      "author" : {
        "type" : "Organization",
        "identifier" : {
          "value" : "GZZ956-B"
        }
      }
    }
  },
  {
    "fullUrl" : "https://bsa-uat.pinga.health/fhir/CarePlan/DR456",
    "resource" : {
      "resourceType" : "CarePlan",
      "id" : "DR456",
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"CarePlan_DR456\"> </a><p class=\"res-header-id\"><b>Generated Narrative: CarePlan DR456</b></p><a name=\"DR456\"> </a><a name=\"hcDR456\"> </a><p><b>Programme Status Extension</b>: <span title=\"Codes:{https://fhir-ig.digital.health.nz/bsa/CodeSystem/programme-status enrolled}\">Enrolled</span></p><p><b>Pathway State Extension</b>: <span title=\"Codes:{https://fhir-ig.digital.health.nz/bsa/CodeSystem/pathway-state booked}\">booked</span></p><p><b>Pathway Substate Extension</b>: <span title=\"Codes:{https://fhir-ig.digital.health.nz/bsa/CodeSystem/pathway-substate confirmed}\">Confirmed</span></p><p><b>Pathway State Date Last Modified Extension</b>: 2025-11-07 13:16:36+0000</p><p><b>status</b>: Active</p><p><b>intent</b>: Plan</p><p><b>subject</b>: Identifier: ZUA48EH</p><p><b>period</b>: 2015-05-16 00:00:00+0000 --&gt; (ongoing)</p><p><b>author</b>: Identifier: GZZ956-B</p></div>"
      },
      "extension" : [{
        "url" : "https://fhir-ig.digital.health.nz/bsa/StructureDefinition/programme-status",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir-ig.digital.health.nz/bsa/CodeSystem/programme-status",
            "code" : "enrolled"
          }]
        }
      },
      {
        "url" : "https://fhir-ig.digital.health.nz/bsa/StructureDefinition/pathway-state",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir-ig.digital.health.nz/bsa/CodeSystem/pathway-state",
            "code" : "booked"
          }],
          "text" : "booked"
        }
      },
      {
        "url" : "https://fhir-ig.digital.health.nz/bsa/StructureDefinition/pathway-substate",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir-ig.digital.health.nz/bsa/CodeSystem/pathway-substate",
            "code" : "confirmed",
            "display" : "Confirmed"
          }],
          "text" : "Confirmed"
        }
      },
      {
        "url" : "https://fhir-ig.digital.health.nz/bsa/StructureDefinition/pathway-state-date-last-modified",
        "valueDateTime" : "2025-11-07T13:16:36+00:00"
      }],
      "status" : "active",
      "intent" : "plan",
      "subject" : {
        "type" : "Patient",
        "identifier" : {
          "value" : "ZUA48EH"
        }
      },
      "period" : {
        "start" : "2015-05-16T00:00:00+00:00"
      },
      "author" : {
        "type" : "Organization",
        "identifier" : {
          "value" : "GZZ956-B"
        }
      }
    }
  }]
}