{
  "resourceType" : "Bundle",
  "id" : "BundleEBookingsSearchSet",
  "type" : "searchset",
  "total" : 1,
  "link" : [{
    "relation" : "self",
    "url" : "https://h6ecf46mvl.execute-api.ap-southeast-2.amazonaws.com/dev/Appointment?status=pending%0D%0A_lastUpdated%3Dgt2022-12-13T12%3A30%3A00Z%0D%0A_include%3DAppointment%3Abased-on%0D%0A_include%3Diterate%3AServiceRequest%3Arequester%0D%0A_include%3DAppointment%3Aactor%0D%0A_revinclude%3Aiterate%3DEncounter%3Abased-on%0D%0A_revinclude%3Aiterate%3DConsent%3Aactor%0D%0A_revinclude%3Aiterate%3DConsent%3Adata%0D%0A_revinclude%3Aiterate%3DConsent%3Aconsentor%0D%0A_include%3Aiterate%3DPatient%3Aorganization%0D%0A_revinclude%3Aiterate%3DChargeItem%3Acontext%0D%0A_include%3Aiterate%3DPractitionerRole%3Apractitioner%0D%0A_include%3Aiterate%3DPractitionerRole%3Aorganization"
  }],
  "entry" : [{
    "fullUrl" : "https://h6ecf46mvl.execute-api.ap-southeast-2.amazonaws.com/dev/Appointment/840fdd86-f273-4c56-89af-cc5dcda592ab",
    "resource" : {
      "resourceType" : "Appointment",
      "id" : "840fdd86-f273-4c56-89af-cc5dcda592ab",
      "meta" : {
        "profile" : ["http://fhir.geniesolutions.io/StructureDefinition/ebookings-appointment"]
      },
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Appointment_840fdd86-f273-4c56-89af-cc5dcda592ab\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Appointment 840fdd86-f273-4c56-89af-cc5dcda592ab</b></p><a name=\"840fdd86-f273-4c56-89af-cc5dcda592ab\"> </a><a name=\"hc840fdd86-f273-4c56-89af-cc5dcda592ab\"> </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-ebookings-appointment.html\">EBookings Appointment</a></p></div><p><b>EBookings Appointment lastModified Extension</b>: 2022-02-01 13:00:00+1000</p><p><b>status</b>: Pending</p><p><b>serviceType</b>: <span title=\"Codes:\">Knee Replacement</span></p><p><b>reasonCode</b>: <span title=\"Codes:\">Sore stomach</span></p><p><b>supportingInformation</b>: </p><ul><li><a href=\"#hc840fdd86-f273-4c56-89af-cc5dcda592ab/2\">Device: type = Prosthesis; note = Syntho-Knee Serial|33228331</a></li><li><a href=\"#hc840fdd86-f273-4c56-89af-cc5dcda592ab/3\">ServiceRequest LA</a></li></ul><p><b>start</b>: 2022-04-01 11:45:00+1000</p><p><b>end</b>: 2022-04-01 12:00:00+1000</p><p><b>created</b>: 2022-02-01 08:00:00+1000</p><p><b>comment</b>: Preoperative notes</p><p><b>patientInstruction</b>: Fast from 2:00 AM</p><p><b>basedOn</b>: <a href=\"ServiceRequest-8e25f073-cbaa-4ff5-af3c-cc13db829ac6.html\">ServiceRequest </a></p><blockquote><p><b>participant</b></p><p><b>type</b>: <span title=\"Codes:{http://snomed.info/sct 116154003}\">Patient</span></p><p><b>actor</b>: <a href=\"Patient-6ad72107-5bf0-4100-a948-24e91f77abf5.html\">Bob Smith (official) Male, DoB: 1969-02-01 ( IHI:\u00a0Austalian Healthcare Identifier - Individual#8003604122594301)</a></p><p><b>required</b>: Required</p><p><b>status</b>: Accepted</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType PPRF}\">primary performer</span></p><p><b>actor</b>: <a href=\"PractitionerRole-7dadc12c-859a-449e-9244-3e0fdca6553c.html\">Trevor Wright</a></p><p><b>required</b>: Required</p><p><b>status</b>: Accepted</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: <span title=\"Codes:{http://snomed.info/sct 22232009}\">Hospital</span></p><p><b>actor</b>: <a href=\"HealthcareService-c17392bb-5f86-4906-be86-71e6f7634e77.html\">Ashford Private Hospital</a></p><p><b>required</b>: Required</p><p><b>status</b>: Needs Action</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: <span title=\"Codes:{http://snomed.info/sct 309904001}\">Intensive care unit</span></p><p><b>actor</b>: ICU</p><p><b>status</b>: Accepted</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType SPRF}\">secondary performer</span></p><p><b>actor</b>: Dr Andrew Demo</p><p><b>status</b>: Tentative</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: <span title=\"Codes:{http://snomed.info/sct 88189002}\">Anaesthetist</span></p><p><b>actor</b>: Dr Geoff Dolittle</p><p><b>status</b>: Tentative</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: <span title=\"Codes:{http://snomed.info/sct 82296001}\">Paediatrician</span></p><p><b>actor</b>: Dr Mary Smith</p><p><b>status</b>: Accepted</p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Device #2</b></p><a name=\"840fdd86-f273-4c56-89af-cc5dcda592ab/2\"> </a><a name=\"hc840fdd86-f273-4c56-89af-cc5dcda592ab/2\"> </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-ebookings-prosthesis.html\">EBookings Prosthesis Device</a></p></div><h3>DeviceNames</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td>Syntho-Knee</td><td>User Friendly name</td></tr></table><p><b>type</b>: <span title=\"Codes:{http://snomed.info/sct 53350007}\">Prosthesis</span></p><p><b>patient</b>: <a href=\"Patient-6ad72107-5bf0-4100-a948-24e91f77abf5.html\">Bob Smith (official) Male, DoB: 1969-02-01 ( IHI:\u00a0Austalian Healthcare Identifier - Individual#8003604122594301)</a></p><p><b>note</b>: </p><blockquote><div><p>Syntho-Knee Serial|33228331</p>\n</div></blockquote></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest #3</b></p><a name=\"840fdd86-f273-4c56-89af-cc5dcda592ab/3\"> </a><a name=\"hc840fdd86-f273-4c56-89af-cc5dcda592ab/3\"> </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-ebookings-anaestheticrequest.html\">EBookings Anaesthetic Request</a></p></div><p><b>status</b>: Active</p><p><b>intent</b>: Plan</p><p><b>code</b>: <span title=\"Codes:{http://fhir.geniesolutions.io/CodeSystem/gs-anaesthetictype LA}\">Local Anaesthetic</span></p><p><b>subject</b>: <a href=\"Patient-6ad72107-5bf0-4100-a948-24e91f77abf5.html\">Bob Smith (official) Male, DoB: 1969-02-01 ( IHI:\u00a0Austalian Healthcare Identifier - Individual#8003604122594301)</a></p></blockquote></div>"
      },
      "contained" : [{
        "resourceType" : "Device",
        "id" : "2",
        "meta" : {
          "profile" : ["http://fhir.geniesolutions.io/StructureDefinition/ebookings-prosthesis"]
        },
        "deviceName" : [{
          "name" : "Syntho-Knee",
          "type" : "user-friendly-name"
        }],
        "type" : {
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "53350007",
            "display" : "Prosthesis"
          }]
        },
        "patient" : {
          "reference" : "Patient/6ad72107-5bf0-4100-a948-24e91f77abf5"
        },
        "note" : [{
          "text" : "Syntho-Knee Serial|33228331"
        }]
      },
      {
        "resourceType" : "ServiceRequest",
        "id" : "3",
        "meta" : {
          "profile" : ["http://fhir.geniesolutions.io/StructureDefinition/ebookings-anaestheticrequest"]
        },
        "status" : "active",
        "intent" : "plan",
        "code" : {
          "coding" : [{
            "system" : "http://fhir.geniesolutions.io/CodeSystem/gs-anaesthetictype",
            "code" : "LA",
            "display" : "LA"
          }],
          "text" : "Local Anaesthetic"
        },
        "subject" : {
          "reference" : "Patient/6ad72107-5bf0-4100-a948-24e91f77abf5"
        }
      }],
      "extension" : [{
        "url" : "http://fhir.geniesolutions.io/StructureDefinition/ebookings-appointment-lastModified-ext",
        "valueDateTime" : "2022-02-01T13:00:00.000+10:00"
      }],
      "status" : "pending",
      "serviceType" : [{
        "text" : "Knee Replacement"
      }],
      "reasonCode" : [{
        "text" : "Sore stomach"
      }],
      "supportingInformation" : [{
        "reference" : "#2"
      },
      {
        "reference" : "#3"
      }],
      "start" : "2022-04-01T11:45:00.000+10:00",
      "end" : "2022-04-01T12:00:00.000+10:00",
      "created" : "2022-02-01T08:00:00.000+10:00",
      "comment" : "Preoperative notes",
      "patientInstruction" : "Fast from 2:00 AM",
      "basedOn" : [{
        "reference" : "ServiceRequest/8e25f073-cbaa-4ff5-af3c-cc13db829ac6",
        "identifier" : {
          "system" : "http://ns.electronichealth.net.au/id/hpio-scoped/order/1.0/8003621566684455",
          "value" : "36",
          "assigner" : {
            "display" : "Jonathanport Medical Centre"
          }
        }
      }],
      "participant" : [{
        "type" : [{
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "116154003",
            "display" : "Patient"
          }]
        }],
        "actor" : {
          "reference" : "Patient/6ad72107-5bf0-4100-a948-24e91f77abf5"
        },
        "required" : "required",
        "status" : "accepted"
      },
      {
        "type" : [{
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code" : "PPRF",
            "display" : "primary performer"
          }]
        }],
        "actor" : {
          "reference" : "PractitionerRole/7dadc12c-859a-449e-9244-3e0fdca6553c",
          "identifier" : {
            "type" : {
              "coding" : [{
                "system" : "http://terminology.hl7.org.au/CodeSystem/v2-0203",
                "code" : "UPIN"
              }],
              "text" : "Medicare Provider Number"
            },
            "system" : "http://ns.electronichealth.net.au/id/medicare-provider-number",
            "value" : "2426621B"
          },
          "display" : "Trevor Wright"
        },
        "required" : "required",
        "status" : "accepted"
      },
      {
        "type" : [{
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "22232009",
            "display" : "Hospital"
          }]
        }],
        "actor" : {
          "reference" : "HealthcareService/c17392bb-5f86-4906-be86-71e6f7634e77",
          "identifier" : {
            "type" : {
              "coding" : [{
                "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                "code" : "PRN"
              }],
              "text" : "Hospital Provider Number"
            },
            "system" : "https://www.health.gov.au/resources/publications/list-of-declared-hospitals",
            "value" : "0065020L"
          },
          "display" : "Ashford Private Hospital"
        },
        "required" : "required",
        "status" : "needs-action"
      },
      {
        "type" : [{
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "309904001",
            "display" : "Intensive care unit"
          }]
        }],
        "actor" : {
          "type" : "Location",
          "display" : "ICU"
        },
        "status" : "accepted"
      },
      {
        "type" : [{
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code" : "SPRF",
            "display" : "secondary performer"
          }]
        }],
        "actor" : {
          "display" : "Dr Andrew Demo"
        },
        "status" : "tentative"
      },
      {
        "type" : [{
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "88189002",
            "display" : "Anaesthetist"
          }]
        }],
        "actor" : {
          "display" : "Dr Geoff Dolittle"
        },
        "status" : "tentative"
      },
      {
        "type" : [{
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "82296001",
            "display" : "Paediatrician"
          }]
        }],
        "actor" : {
          "display" : "Dr Mary Smith"
        },
        "status" : "accepted"
      }]
    },
    "search" : {
      "mode" : "match"
    }
  }]
}