Magentus Practice Management FHIR Implementation Guide
1.2.16 - ci-build

Magentus Practice Management FHIR Implementation Guide - Local Development build (v1.2.16) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## : EBookings Create Booking Transaction - JSON Representation

Raw json | Download

    {
      "resourceType" : "Bundle",
      "id" : "1303a909-0849-4339-baf3-227d5ef8f33b",
      "type" : "transaction",
      "timestamp" : "2022-12-12T23:25:12.718+00:00",
      "entry" : [
        {
          "fullUrl" : "urn:uuid:8e25f073-cbaa-4ff5-af3c-cc13db829ac6",
          "resource" : {
            "resourceType" : "ServiceRequest",
            "id" : "8e25f073-cbaa-4ff5-af3c-cc13db829ac6",
            "meta" : {
              "profile" : [
                🔗 "http://fhir.geniesolutions.io/StructureDefinition/ebookings-servicerequest"
              ]
            },
            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ServiceRequest_8e25f073-cbaa-4ff5-af3c-cc13db829ac6\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest 8e25f073-cbaa-4ff5-af3c-cc13db829ac6</b></p><a name=\"8e25f073-cbaa-4ff5-af3c-cc13db829ac6\"> </a><a name=\"hc8e25f073-cbaa-4ff5-af3c-cc13db829ac6\"> </a><a name=\"8e25f073-cbaa-4ff5-af3c-cc13db829ac6-en-US\"> </a><p><b>identifier</b>: <code>http://ns.electronichealth.net.au/id/hpio-scoped/order/1.0/8003621566684455</code>/36</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>category</b>: <span title=\"Codes:\">Lower limb surgery</span></p><p><b>priority</b>: Routine</p><p><b>code</b>: <span title=\"Codes:\">Knee Replacement</span></p><p><b>subject</b>: <a href=\"Patient-1078d551-7be2-49f7-a122-c230b8757f2f.html\">Mary Smith (official) Female, DoB: 1967-01-20 ( IHI:\u00a0Austalian Healthcare Identifier - Individual#8003608833357361)</a></p><p><b>occurrence</b>: 2022-04-01 11:45:00+1000</p><p><b>authoredOn</b>: 2022-01-21</p><p><b>requester</b>: <a href=\"Practitioner-7d66ccbc-8185-4c6f-a0ae-257b65ef675c.html\">Practitioner Trevor Wright (official)</a></p><p><b>performer</b>: <a href=\"Practitioner-7d66ccbc-8185-4c6f-a0ae-257b65ef675c.html\">Practitioner Trevor Wright (official)</a></p><p><b>locationCode</b>: <span title=\"Codes:{http://snomed.info/sct 440654001}\">Inpatient</span></p><p><b>locationReference</b>: Ashford Private Hospital</p><p><b>reasonCode</b>: <span title=\"Codes:\">Sore stomach</span></p><p><b>insurance</b>: <a href=\"#hc8e25f073-cbaa-4ff5-af3c-cc13db829ac6/1\">Coverage: identifier = Insurance Member Number:\u00a08279115; status = active; type = health insurance plan policy</a></p><p><b>bodySite</b>: <span title=\"Codes:{http://snomed.info/sct 7771000}\">Left</span></p><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Coverage  #1</b></p><a name=\"8e25f073-cbaa-4ff5-af3c-cc13db829ac6/1\"> </a><a name=\"hc8e25f073-cbaa-4ff5-af3c-cc13db829ac6/1\"> </a><a name=\"8e25f073-cbaa-4ff5-af3c-cc13db829ac6/1-en-US\"> </a><p><b>identifier</b>: Insurance Member Number/8279115</p><p><b>status</b>: Active</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode HIP}\">Private Insurance Plan</span></p><p><b>beneficiary</b>: <a href=\"Patient-1078d551-7be2-49f7-a122-c230b8757f2f.html\">Mary Smith (official) Female, DoB: 1967-01-20 ( IHI:\u00a0Austalian Healthcare Identifier - Individual#8003608833357361)</a></p><p><b>payor</b>: Bupa HI Pty Ltd (Identifier: National Insurance Organization Identifier/BUP)</p></blockquote></div>"
            },
            "contained" : [
              {
                "resourceType" : "Coverage",
                "id" : "1",
                "meta" : {
                  "profile" : [
                    🔗 "http://fhir.geniesolutions.io/StructureDefinition/gs-coverage"
                  ]
                },
                "identifier" : [
                  {
                    "type" : {
                      "coding" : [
                        {
                          "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                          "code" : "MB"
                        }
                      ],
                      "text" : "Insurance Member Number"
                    },
                    "system" : "https://privatehealth.gov.au/insurer/BUP/member/memberid",
                    "value" : "8279115",
                    "assigner" : {
                      "display" : "Bupa HI Pty Ltd"
                    }
                  }
                ],
                "status" : "active",
                "type" : {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
                      "code" : "HIP",
                      "display" : "health insurance plan policy"
                    }
                  ],
                  "text" : "Private Insurance Plan"
                },
                "beneficiary" : {
                  🔗 "reference" : "Patient/1078d551-7be2-49f7-a122-c230b8757f2f"
                },
                "payor" : [
                  {
                    "identifier" : {
                      "type" : {
                        "coding" : [
                          {
                            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                            "code" : "NII"
                          }
                        ]
                      },
                      "system" : "https://privatehealth.gov.au/dynamic/insurer",
                      "value" : "BUP"
                    },
                    "display" : "Bupa HI Pty Ltd"
                  }
                ]
              }
            ],
            "identifier" : [
              {
                "system" : "http://ns.electronichealth.net.au/id/hpio-scoped/order/1.0/8003621566684455",
                "value" : "36",
                "assigner" : {
                  "display" : "Jonathanport Medical Centre"
                }
              }
            ],
            "status" : "active",
            "intent" : "order",
            "category" : [
              {
                "text" : "Lower limb surgery"
              }
            ],
            "priority" : "routine",
            "code" : {
              "text" : "Knee Replacement"
            },
            "subject" : {
              🔗 "reference" : "Patient/1078d551-7be2-49f7-a122-c230b8757f2f"
            },
            "occurrenceDateTime" : "2022-04-01T11:45:00+10:00",
            "authoredOn" : "2022-01-21",
            "requester" : {
              🔗 "reference" : "Practitioner/7d66ccbc-8185-4c6f-a0ae-257b65ef675c"
            },
            "performer" : [
              {
                🔗 "reference" : "Practitioner/7d66ccbc-8185-4c6f-a0ae-257b65ef675c"
              }
            ],
            "locationCode" : [
              {
                "coding" : [
                  {
                    "system" : "http://snomed.info/sct",
                    "code" : "440654001",
                    "display" : "Inpatient environment"
                  }
                ],
                "text" : "Inpatient"
              }
            ],
            "locationReference" : [
              {
                "display" : "Ashford Private Hospital"
              }
            ],
            "reasonCode" : [
              {
                "text" : "Sore stomach"
              }
            ],
            "insurance" : [
              {
                "reference" : "#1"
              }
            ],
            "bodySite" : [
              {
                "coding" : [
                  {
                    "system" : "http://snomed.info/sct",
                    "code" : "7771000",
                    "display" : "Left"
                  }
                ]
              }
            ]
          },
          "request" : {
            "method" : "PUT",
            "url" : "ServiceRequest/8e25f073-cbaa-4ff5-af3c-cc13db829ac6"
          }
        },
        {
          "fullUrl" : "urn:uuid: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" : "generated",
              "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><a name=\"840fdd86-f273-4c56-89af-cc5dcda592ab-en-US\"> </a><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>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-1078d551-7be2-49f7-a122-c230b8757f2f.html\">Mary Smith (official) Female, DoB: 1967-01-20 ( IHI:\u00a0Austalian Healthcare Identifier - Individual#8003608833357361)</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-6d408eeb-e31a-40c4-aece-0122d9ba2c1d.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://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}\">Anesthesiologist</span></p><p><b>actor</b>: Dr Geoff Dolittle</p><p><b>status</b>: Tentative</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><a name=\"840fdd86-f273-4c56-89af-cc5dcda592ab/2-en-US\"> </a><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-1078d551-7be2-49f7-a122-c230b8757f2f.html\">Mary Smith (official) Female, DoB: 1967-01-20 ( IHI:\u00a0Austalian Healthcare Identifier - Individual#8003608833357361)</a></p><p><b>note</b>: Syntho-Knee Serial|33228331</p></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><a name=\"840fdd86-f273-4c56-89af-cc5dcda592ab/3-en-US\"> </a><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-1078d551-7be2-49f7-a122-c230b8757f2f.html\">Mary Smith (official) Female, DoB: 1967-01-20 ( IHI:\u00a0Austalian Healthcare Identifier - Individual#8003608833357361)</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/1078d551-7be2-49f7-a122-c230b8757f2f"
                },
                "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/1078d551-7be2-49f7-a122-c230b8757f2f"
                }
              }
            ],
            "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",
            "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/1078d551-7be2-49f7-a122-c230b8757f2f"
                },
                "required" : "required",
                "status" : "accepted"
              },
              {
                "type" : [
                  {
                    "coding" : [
                      {
                        "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                        "code" : "PPRF",
                        "display" : "primary performer"
                      }
                    ]
                  }
                ],
                "actor" : {
                  🔗 "reference" : "PractitionerRole/6d408eeb-e31a-40c4-aece-0122d9ba2c1d",
                  "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://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" : "Anesthesiologist"
                      }
                    ]
                  }
                ],
                "actor" : {
                  "display" : "Dr Geoff Dolittle"
                },
                "status" : "tentative"
              }
            ]
          },
          "request" : {
            "method" : "PUT",
            "url" : "Appointment/840fdd86-f273-4c56-89af-cc5dcda592ab"
          }
        },
        {
          "fullUrl" : "urn:uuid:7d66ccbc-8185-4c6f-a0ae-257b65ef675c",
          "resource" : {
            "resourceType" : "Practitioner",
            "id" : "7d66ccbc-8185-4c6f-a0ae-257b65ef675c",
            "meta" : {
              "profile" : [
                🔗 "http://fhir.geniesolutions.io/StructureDefinition/gs-practitioner"
              ]
            },
            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_7d66ccbc-8185-4c6f-a0ae-257b65ef675c\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Practitioner 7d66ccbc-8185-4c6f-a0ae-257b65ef675c</b></p><a name=\"7d66ccbc-8185-4c6f-a0ae-257b65ef675c\"> </a><a name=\"hc7d66ccbc-8185-4c6f-a0ae-257b65ef675c\"> </a><a name=\"7d66ccbc-8185-4c6f-a0ae-257b65ef675c-en-US\"> </a><p><b>identifier</b>: HPI-I/8003611804185423</p><p><b>active</b>: true</p><p><b>name</b>: Trevor Wright (Official)</p><p><b>telecom</b>: ph: (07) 4334 1223(Work), fax: (07) 4334 1225(Work)</p></div>"
            },
            "identifier" : [
              {
                "type" : {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                      "code" : "NPI"
                    }
                  ],
                  "text" : "HPI-I"
                },
                "system" : "http://ns.electronichealth.net.au/id/hi/hpii/1.0",
                "value" : "8003611804185423"
              }
            ],
            "active" : true,
            "name" : [
              {
                "use" : "official",
                "family" : "Wright",
                "given" : [
                  "Trevor"
                ],
                "prefix" : [
                  "Dr"
                ]
              }
            ],
            "telecom" : [
              {
                "system" : "phone",
                "value" : "(07) 4334 1223",
                "use" : "work"
              },
              {
                "system" : "fax",
                "value" : "(07) 4334 1225",
                "use" : "work"
              }
            ]
          },
          "request" : {
            "method" : "PUT",
            "url" : "Practitioner/7d66ccbc-8185-4c6f-a0ae-257b65ef675c"
          }
        },
        {
          "fullUrl" : "urn:uuid:d16c9bd2-db58-482a-a572-83a094676d68",
          "resource" : {
            "resourceType" : "ChargeItem",
            "id" : "d16c9bd2-db58-482a-a572-83a094676d68",
            "meta" : {
              "profile" : [
                🔗 "http://fhir.geniesolutions.io/StructureDefinition/ebookings-chargeitem"
              ]
            },
            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ChargeItem_d16c9bd2-db58-482a-a572-83a094676d68\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ChargeItem d16c9bd2-db58-482a-a572-83a094676d68</b></p><a name=\"d16c9bd2-db58-482a-a572-83a094676d68\"> </a><a name=\"hcd16c9bd2-db58-482a-a572-83a094676d68\"> </a><a name=\"d16c9bd2-db58-482a-a572-83a094676d68-en-US\"> </a><p><b>status</b>: Planned</p><p><b>code</b>: <span title=\"Codes:{urn:oid:1.2.36.1.2001.1005.21 49518}\">Knee, total replacement arthroplasty of</span></p><p><b>subject</b>: <a href=\"Patient-1078d551-7be2-49f7-a122-c230b8757f2f.html\">Mary Smith (official) Female, DoB: 1967-01-20 ( IHI:\u00a0Austalian Healthcare Identifier - Individual#8003608833357361)</a></p><p><b>context</b>: <a href=\"Encounter-1a1fafa9-c22c-4557-9670-4010f68f0745.html\">Encounter: status = planned; class = inpatient encounter (ActCode#IMP); period = 2022-04-01 11:45:00+1000 --&gt; 2022-04-02; reasonCode = </a></p></div>"
            },
            "status" : "planned",
            "code" : {
              "coding" : [
                {
                  "system" : "urn:oid:1.2.36.1.2001.1005.21",
                  "code" : "49518",
                  "display" : "Total replacement arthroplasty of knee"
                }
              ],
              "text" : "Knee, total replacement arthroplasty of"
            },
            "subject" : {
              🔗 "reference" : "Patient/1078d551-7be2-49f7-a122-c230b8757f2f"
            },
            "context" : {
              🔗 "reference" : "Encounter/1a1fafa9-c22c-4557-9670-4010f68f0745"
            }
          },
          "request" : {
            "method" : "PUT",
            "url" : "ChargeItem/d16c9bd2-db58-482a-a572-83a094676d68"
          }
        },
        {
          "fullUrl" : "urn:uuid:c4a180ea-a865-46f6-ba3d-a82fd83c58f9",
          "resource" : {
            "resourceType" : "ChargeItem",
            "id" : "c4a180ea-a865-46f6-ba3d-a82fd83c58f9",
            "meta" : {
              "profile" : [
                🔗 "http://fhir.geniesolutions.io/StructureDefinition/ebookings-chargeitem"
              ]
            },
            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ChargeItem_c4a180ea-a865-46f6-ba3d-a82fd83c58f9\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ChargeItem c4a180ea-a865-46f6-ba3d-a82fd83c58f9</b></p><a name=\"c4a180ea-a865-46f6-ba3d-a82fd83c58f9\"> </a><a name=\"hcc4a180ea-a865-46f6-ba3d-a82fd83c58f9\"> </a><a name=\"c4a180ea-a865-46f6-ba3d-a82fd83c58f9-en-US\"> </a><p><b>status</b>: Planned</p><p><b>code</b>: <span title=\"Codes:{urn:oid:1.2.36.1.2001.1005.21 51303}\">Assistant at Operation</span></p><p><b>subject</b>: <a href=\"Patient-1078d551-7be2-49f7-a122-c230b8757f2f.html\">Mary Smith (official) Female, DoB: 1967-01-20 ( IHI:\u00a0Austalian Healthcare Identifier - Individual#8003608833357361)</a></p><p><b>context</b>: <a href=\"Encounter-1a1fafa9-c22c-4557-9670-4010f68f0745.html\">Encounter: status = planned; class = inpatient encounter (ActCode#IMP); period = 2022-04-01 11:45:00+1000 --&gt; 2022-04-02; reasonCode = </a></p></div>"
            },
            "status" : "planned",
            "code" : {
              "coding" : [
                {
                  "system" : "urn:oid:1.2.36.1.2001.1005.21",
                  "code" : "51303"
                }
              ],
              "text" : "Assistant at Operation"
            },
            "subject" : {
              🔗 "reference" : "Patient/1078d551-7be2-49f7-a122-c230b8757f2f"
            },
            "context" : {
              🔗 "reference" : "Encounter/1a1fafa9-c22c-4557-9670-4010f68f0745"
            }
          },
          "request" : {
            "method" : "PUT",
            "url" : "ChargeItem/c4a180ea-a865-46f6-ba3d-a82fd83c58f9"
          }
        },
        {
          "fullUrl" : "urn:uuid:ecaf5c8d-5f6b-46b2-89e2-6a96304d6358",
          "resource" : {
            "resourceType" : "Consent",
            "id" : "ecaf5c8d-5f6b-46b2-89e2-6a96304d6358",
            "meta" : {
              "profile" : [
                🔗 "http://fhir.geniesolutions.io/StructureDefinition/ebookings-consent"
              ]
            },
            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Consent_ecaf5c8d-5f6b-46b2-89e2-6a96304d6358\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Consent ecaf5c8d-5f6b-46b2-89e2-6a96304d6358</b></p><a name=\"ecaf5c8d-5f6b-46b2-89e2-6a96304d6358\"> </a><a name=\"hcecaf5c8d-5f6b-46b2-89e2-6a96304d6358\"> </a><a name=\"ecaf5c8d-5f6b-46b2-89e2-6a96304d6358-en-US\"> </a><p><b>status</b>: Active</p><p><b>scope</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/consentscope treatment}\">Treatment</span></p><p><b>category</b>: <span title=\"Codes:{http://loinc.org 59284-0}\">Consent Document</span></p><p><b>patient</b>: <a href=\"Patient-1078d551-7be2-49f7-a122-c230b8757f2f.html\">Mary Smith (official) Female, DoB: 1967-01-20 ( IHI:\u00a0Austalian Healthcare Identifier - Individual#8003608833357361)</a></p><p><b>dateTime</b>: 2022-09-12</p><p><b>performer</b>: <a href=\"Patient-1078d551-7be2-49f7-a122-c230b8757f2f.html\">Mary Smith (official) Female, DoB: 1967-01-20 ( IHI:\u00a0Austalian Healthcare Identifier - Individual#8003608833357361)</a></p><p><b>organization</b>: <a href=\"Organization-fec5f6ca-f9e7-4c54-92b9-385d2fac8328.html\">Jonathanport Medical Centre</a></p><h3>Policies</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Authority</b></td><td><b>Uri</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"http://healthscope.com.au\">http://healthscope.com.au</a></td><td><a href=\"http://healthscope.com.au/consent-policy/HMR4.7A\">http://healthscope.com.au/consent-policy/HMR4.7A</a></td></tr></table><blockquote><p><b>provision</b></p><p><b>type</b>: Opt In</p><h3>Actors</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Role</b></td><td><b>Reference</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleClass PROV}\">healthcare provider</span></td><td><a href=\"PractitionerRole-6d408eeb-e31a-40c4-aece-0122d9ba2c1d.html\">Trevor Wright</a></td></tr></table><p><b>code</b>: <span title=\"Codes:\">Knee Replacement</span></p><h3>Data</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Meaning</b></td><td><b>Reference</b></td></tr><tr><td style=\"display: none\">*</td><td>Dependents</td><td><a href=\"ServiceRequest-8e25f073-cbaa-4ff5-af3c-cc13db829ac6.html\">ServiceRequest </a></td></tr></table><h3>Provisions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td>Opt In</td><td><span title=\"Codes:{http://loinc.org 10415-8}\">Transfuse blood exchange transfusion [Volume]</span></td></tr></table></blockquote></div>"
            },
            "status" : "active",
            "scope" : {
              "coding" : [
                {
                  "system" : "http://terminology.hl7.org/CodeSystem/consentscope",
                  "code" : "treatment"
                }
              ]
            },
            "category" : [
              {
                "coding" : [
                  {
                    "system" : "http://loinc.org",
                    "code" : "59284-0",
                    "display" : "Consent Document"
                  }
                ]
              }
            ],
            "patient" : {
              🔗 "reference" : "Patient/1078d551-7be2-49f7-a122-c230b8757f2f"
            },
            "dateTime" : "2022-09-12",
            "performer" : [
              {
                🔗 "reference" : "Patient/1078d551-7be2-49f7-a122-c230b8757f2f"
              }
            ],
            "organization" : [
              {
                🔗 "reference" : "Organization/fec5f6ca-f9e7-4c54-92b9-385d2fac8328",
                "display" : "Jonathanport Medical Centre"
              }
            ],
            "policy" : [
              {
                "authority" : "http://healthscope.com.au",
                "uri" : "http://healthscope.com.au/consent-policy/HMR4.7A"
              }
            ],
            "provision" : {
              "type" : "permit",
              "actor" : [
                {
                  "role" : {
                    "coding" : [
                      {
                        "system" : "http://terminology.hl7.org/CodeSystem/v3-RoleClass",
                        "code" : "PROV",
                        "display" : "healthcare provider"
                      }
                    ]
                  },
                  "reference" : {
                    🔗 "reference" : "PractitionerRole/6d408eeb-e31a-40c4-aece-0122d9ba2c1d",
                    "display" : "Trevor Wright"
                  }
                }
              ],
              "code" : [
                {
                  "text" : "Knee Replacement"
                }
              ],
              "data" : [
                {
                  "meaning" : "dependents",
                  "reference" : {
                    🔗 "reference" : "ServiceRequest/8e25f073-cbaa-4ff5-af3c-cc13db829ac6"
                  }
                }
              ],
              "provision" : [
                {
                  "type" : "permit",
                  "code" : [
                    {
                      "coding" : [
                        {
                          "system" : "http://loinc.org",
                          "code" : "10415-8",
                          "display" : "Transfuse blood exchange transfusion [Volume]"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          },
          "request" : {
            "method" : "PUT",
            "url" : "Consent/ecaf5c8d-5f6b-46b2-89e2-6a96304d6358"
          }
        },
        {
          "fullUrl" : "urn:uuid:1a1fafa9-c22c-4557-9670-4010f68f0745",
          "resource" : {
            "resourceType" : "Encounter",
            "id" : "1a1fafa9-c22c-4557-9670-4010f68f0745",
            "meta" : {
              "profile" : [
                🔗 "http://fhir.geniesolutions.io/StructureDefinition/ebookings-encounter"
              ]
            },
            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Encounter_1a1fafa9-c22c-4557-9670-4010f68f0745\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Encounter 1a1fafa9-c22c-4557-9670-4010f68f0745</b></p><a name=\"1a1fafa9-c22c-4557-9670-4010f68f0745\"> </a><a name=\"hc1a1fafa9-c22c-4557-9670-4010f68f0745\"> </a><a name=\"1a1fafa9-c22c-4557-9670-4010f68f0745-en-US\"> </a><p><b>status</b>: Planned</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-v3-ActCode.html#v3-ActCode-IMP\">ActCode</a> IMP: inpatient encounter</p><p><b>subject</b>: <a href=\"Patient-1078d551-7be2-49f7-a122-c230b8757f2f.html\">Mary Smith (official) Female, DoB: 1967-01-20 ( IHI:\u00a0Austalian Healthcare Identifier - Individual#8003608833357361)</a></p><p><b>basedOn</b>: <a href=\"ServiceRequest-8e25f073-cbaa-4ff5-af3c-cc13db829ac6.html\">ServiceRequest </a></p><p><b>period</b>: 2022-04-01 11:45:00+1000 --&gt; 2022-04-02</p><h3>Lengths</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>System</b></td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td>2</td><td><a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-v3-ucum.html\">http://unitsofmeasure.org</a></td><td>d</td></tr></table><p><b>reasonCode</b>: <span title=\"Codes:\">Sore stomach</span></p><h3>Locations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Location</b></td></tr><tr><td style=\"display: none\">*</td><td>Ashford Private Hospital</td></tr></table></div>"
            },
            "status" : "planned",
            "class" : {
              "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
              "code" : "IMP",
              "display" : "inpatient encounter"
            },
            "subject" : {
              🔗 "reference" : "Patient/1078d551-7be2-49f7-a122-c230b8757f2f"
            },
            "basedOn" : [
              {
                🔗 "reference" : "ServiceRequest/8e25f073-cbaa-4ff5-af3c-cc13db829ac6"
              }
            ],
            "period" : {
              "start" : "2022-04-01T11:45:00+10:00",
              "end" : "2022-04-02"
            },
            "length" : {
              "value" : 2,
              "system" : "http://unitsofmeasure.org",
              "code" : "d"
            },
            "reasonCode" : [
              {
                "text" : "Sore stomach"
              }
            ],
            "location" : [
              {
                "location" : {
                  "display" : "Ashford Private Hospital"
                }
              }
            ]
          },
          "request" : {
            "method" : "PUT",
            "url" : "Encounter/1a1fafa9-c22c-4557-9670-4010f68f0745"
          }
        },
        {
          "fullUrl" : "urn:uuid:1078d551-7be2-49f7-a122-c230b8757f2f",
          "resource" : {
            "resourceType" : "Patient",
            "id" : "1078d551-7be2-49f7-a122-c230b8757f2f",
            "meta" : {
              "profile" : [
                🔗 "http://fhir.geniesolutions.io/StructureDefinition/gs-patient"
              ]
            },
            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_1078d551-7be2-49f7-a122-c230b8757f2f\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient 1078d551-7be2-49f7-a122-c230b8757f2f</b></p><a name=\"1078d551-7be2-49f7-a122-c230b8757f2f\"> </a><a name=\"hc1078d551-7be2-49f7-a122-c230b8757f2f\"> </a><a name=\"1078d551-7be2-49f7-a122-c230b8757f2f-en-US\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Mary Smith (official) Female, DoB: 1967-01-20 ( IHI:\u00a0Austalian Healthcare Identifier - Individual#8003608833357361)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td colspan=\"3\">true</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Other Ids (see the one above)\">Other Ids:</td><td colspan=\"3\"><ul><li>Medicare Number/32788511952\u00a0(,\u00a0period:\u00a0(?) --&gt; 2023-12)</li><li>Insurance Member Number/8279115</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li>ph: 0441344122(Mobile)</li><li>ph: 0239991221(Home)</li><li><a href=\"mailto:jonosmith56@gmail.com\">jonosmith56@gmail.com</a></li><li>12 Boundary road South Brisbane QLD 4101 (home)</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Patient Links\">Links:</td><td colspan=\"3\"><ul><li>Managing Organization: <a href=\"Organization-fec5f6ca-f9e7-4c54-92b9-385d2fac8328.html\">Jonathanport Medical Centre</a></li></ul></td></tr></table></div>"
            },
            "identifier" : [
              {
                "type" : {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                      "code" : "NI"
                    }
                  ],
                  "text" : "IHI"
                },
                "system" : "http://ns.electronichealth.net.au/id/hi/ihi/1.0",
                "value" : "8003608833357361"
              },
              {
                "type" : {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                      "code" : "MC"
                    }
                  ],
                  "text" : "Medicare Number"
                },
                "system" : "http://ns.electronichealth.net.au/id/medicare-number",
                "value" : "32788511952",
                "period" : {
                  "end" : "2023-12"
                }
              },
              {
                "type" : {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                      "code" : "MB"
                    }
                  ],
                  "text" : "Insurance Member Number"
                },
                "system" : "https://privatehealth.gov.au/insurer/BUP/member/memberid",
                "value" : "8279115",
                "assigner" : {
                  "display" : "Bupa HI Pty Ltd"
                }
              }
            ],
            "active" : true,
            "name" : [
              {
                "use" : "official",
                "family" : "Smith",
                "given" : [
                  "Mary"
                ],
                "prefix" : [
                  "Mrs"
                ]
              }
            ],
            "telecom" : [
              {
                "system" : "phone",
                "value" : "0441344122",
                "use" : "mobile"
              },
              {
                "system" : "phone",
                "value" : "0239991221",
                "use" : "home"
              },
              {
                "system" : "email",
                "value" : "jonosmith56@gmail.com",
                "use" : "home"
              }
            ],
            "gender" : "female",
            "birthDate" : "1967-01-20",
            "address" : [
              {
                "use" : "home",
                "type" : "physical",
                "line" : [
                  "12 Boundary road"
                ],
                "city" : "South Brisbane",
                "state" : "QLD",
                "postalCode" : "4101"
              }
            ],
            "managingOrganization" : {
              🔗 "reference" : "Organization/fec5f6ca-f9e7-4c54-92b9-385d2fac8328",
              "display" : "Jonathanport Medical Centre"
            }
          },
          "request" : {
            "method" : "PUT",
            "url" : "Patient/1078d551-7be2-49f7-a122-c230b8757f2f"
          }
        },
        {
          "fullUrl" : "urn:uuid:fec5f6ca-f9e7-4c54-92b9-385d2fac8328",
          "resource" : {
            "resourceType" : "Organization",
            "id" : "fec5f6ca-f9e7-4c54-92b9-385d2fac8328",
            "meta" : {
              "profile" : [
                🔗 "http://fhir.geniesolutions.io/StructureDefinition/gs-organization"
              ]
            },
            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_fec5f6ca-f9e7-4c54-92b9-385d2fac8328\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization fec5f6ca-f9e7-4c54-92b9-385d2fac8328</b></p><a name=\"fec5f6ca-f9e7-4c54-92b9-385d2fac8328\"> </a><a name=\"hcfec5f6ca-f9e7-4c54-92b9-385d2fac8328\"> </a><a name=\"fec5f6ca-f9e7-4c54-92b9-385d2fac8328-en-US\"> </a><p><b>identifier</b>: HPI-O/8003621566684455</p><p><b>active</b>: true</p><p><b>name</b>: Jonathanport Medical Centre</p><p><b>telecom</b>: ph: (02) 3999 1220(Work), fax: (02) 3999 1221(Work), <a href=\"mailto:mosesmichele@example.org\">mosesmichele@example.org</a></p><p><b>address</b>: Apt. 473 44 Bridges Mount Jonathanport ACT 2025 (work)</p></div>"
            },
            "identifier" : [
              {
                "type" : {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org.au/CodeSystem/v2-0203",
                      "code" : "NOI"
                    }
                  ],
                  "text" : "HPI-O"
                },
                "system" : "http://ns.electronichealth.net.au/id/hi/hpio/1.0",
                "value" : "8003621566684455"
              }
            ],
            "active" : true,
            "name" : "Jonathanport Medical Centre",
            "telecom" : [
              {
                "system" : "phone",
                "value" : "(02) 3999 1220",
                "use" : "work"
              },
              {
                "system" : "fax",
                "value" : "(02) 3999 1221",
                "use" : "work"
              },
              {
                "system" : "email",
                "value" : "mosesmichele@example.org",
                "use" : "work"
              }
            ],
            "address" : [
              {
                "use" : "work",
                "type" : "physical",
                "line" : [
                  "Apt. 473 44 Bridges Mount"
                ],
                "city" : "Jonathanport",
                "state" : "ACT",
                "postalCode" : "2025"
              }
            ]
          },
          "request" : {
            "method" : "PUT",
            "url" : "Organization/fec5f6ca-f9e7-4c54-92b9-385d2fac8328"
          }
        },
        {
          "fullUrl" : "urn:uuid:6d408eeb-e31a-40c4-aece-0122d9ba2c1d",
          "resource" : {
            "resourceType" : "PractitionerRole",
            "id" : "6d408eeb-e31a-40c4-aece-0122d9ba2c1d",
            "meta" : {
              "profile" : [
                🔗 "http://fhir.geniesolutions.io/StructureDefinition/gs-practitionerrole"
              ]
            },
            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"PractitionerRole_6d408eeb-e31a-40c4-aece-0122d9ba2c1d\"> </a><p class=\"res-header-id\"><b>Generated Narrative: PractitionerRole 6d408eeb-e31a-40c4-aece-0122d9ba2c1d</b></p><a name=\"6d408eeb-e31a-40c4-aece-0122d9ba2c1d\"> </a><a name=\"hc6d408eeb-e31a-40c4-aece-0122d9ba2c1d\"> </a><a name=\"6d408eeb-e31a-40c4-aece-0122d9ba2c1d-en-US\"> </a><p><b>identifier</b>: Medicare Provider Number/2426621B</p><p><b>active</b>: true</p><p><b>practitioner</b>: <a href=\"Practitioner-7d66ccbc-8185-4c6f-a0ae-257b65ef675c.html\">Trevor Wright</a></p><p><b>organization</b>: <a href=\"Organization-fec5f6ca-f9e7-4c54-92b9-385d2fac8328.html\">Jonathanport Medical Centre</a></p><p><b>location</b>: Jonathanport Medical Centre</p></div>"
            },
            "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"
              }
            ],
            "active" : true,
            "practitioner" : {
              🔗 "reference" : "Practitioner/7d66ccbc-8185-4c6f-a0ae-257b65ef675c",
              "display" : "Trevor Wright"
            },
            "organization" : {
              🔗 "reference" : "Organization/fec5f6ca-f9e7-4c54-92b9-385d2fac8328",
              "display" : "Jonathanport Medical Centre"
            },
            "location" : [
              {
                "display" : "Jonathanport Medical Centre"
              }
            ]
          },
          "request" : {
            "method" : "PUT",
            "url" : "PractitionerRole/6d408eeb-e31a-40c4-aece-0122d9ba2c1d"
          }
        },
        {
          "fullUrl" : "urn:uuid:c17392bb-5f86-4906-be86-71e6f7634e77",
          "resource" : {
            "resourceType" : "HealthcareService",
            "id" : "c17392bb-5f86-4906-be86-71e6f7634e77",
            "meta" : {
              "profile" : [
                🔗 "http://fhir.geniesolutions.io/StructureDefinition/gs-healthcareservice"
              ]
            },
            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"HealthcareService_c17392bb-5f86-4906-be86-71e6f7634e77\"> </a><p class=\"res-header-id\"><b>Generated Narrative: HealthcareService c17392bb-5f86-4906-be86-71e6f7634e77</b></p><a name=\"c17392bb-5f86-4906-be86-71e6f7634e77\"> </a><a name=\"hcc17392bb-5f86-4906-be86-71e6f7634e77\"> </a><a name=\"c17392bb-5f86-4906-be86-71e6f7634e77-en-US\"> </a><p><b>identifier</b>: Hospital Provider Number/0065020L</p><p><b>active</b>: true</p><p><b>providedBy</b>: Ashford Private Hospital</p><p><b>location</b>: Ashford Private Hospital</p><p><b>name</b>: Ashford Private Hospital</p></div>"
            },
            "identifier" : [
              {
                "type" : {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                      "code" : "PRN",
                      "display" : "Provider number"
                    }
                  ],
                  "text" : "Hospital Provider Number"
                },
                "system" : "https://www.health.gov.au/resources/publications/list-of-declared-hospitals",
                "value" : "0065020L"
              }
            ],
            "active" : true,
            "providedBy" : {
              "display" : "Ashford Private Hospital"
            },
            "location" : [
              {
                "display" : "Ashford Private Hospital"
              }
            ],
            "name" : "Ashford Private Hospital"
          },
          "request" : {
            "method" : "PUT",
            "url" : "HealthcareService/c17392bb-5f86-4906-be86-71e6f7634e77"
          }
        }
      ]
    }