{
  "resourceType" : "Bundle",
  "id" : "ProcedureScheduledMessage",
  "meta" : {
    "profile" : ["https://fhir.nwgenomics.nhs.uk/Imaging/StructureDefinition/BundleMessage"]
  },
  "language" : "en",
  "identifier" : {
    "system" : "https://ris.example.nhs.uk/Id/message",
    "value" : "RIS-MSG-0005601"
  },
  "type" : "message",
  "timestamp" : "2026-10-27T09:00:00Z",
  "entry" : [{
    "fullUrl" : "https://fhir.example.nhs.uk/R4/MessageHeader/ProcedureScheduledMessageHeader",
    "resource" : {
      "resourceType" : "MessageHeader",
      "id" : "ProcedureScheduledMessageHeader",
      "meta" : {
        "lastUpdated" : "2026-10-27T09:00:00Z",
        "profile" : ["https://fhir.nwgenomics.nhs.uk/Imaging/StructureDefinition/MessageHeader"]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MessageHeader_ProcedureScheduledMessageHeader\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MessageHeader ProcedureScheduledMessageHeader</b></p><a name=\"ProcedureScheduledMessageHeader\"> </a><a name=\"hcProcedureScheduledMessageHeader\"> </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\">Last updated: 2026-10-27 09:00:00+0000</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-MessageHeader.html\">Document Message (MessageHeader)</a></p></div><p><b>event</b>: <a href=\"http://terminology.hl7.org/7.5.0/CodeSystem-v2-0003.html#v2-0003-O23\">event: O23</a> (OMI - Imaging order)</p><h3>Destinations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Endpoint</b></td><td><b>Receiver</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"https://pacs.example.nhs.uk/R4/$process-message\">https://pacs.example.nhs.uk/R4/$process-message</a></td><td>Identifier: <a href=\"NamingSystem-ods-organization-code-namingsystem.html\" title=\"The identifier system for an Organisation registered with the Organisation Data Service (ODS).\">ODS Organisation Code</a>/R0A</td></tr></table><p><b>sender</b>: Identifier: <a href=\"NamingSystem-ods-organization-code-namingsystem.html\" title=\"The identifier system for an Organisation registered with the Organisation Data Service (ODS).\">ODS Organisation Code</a>/R0A</p><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Endpoint</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"https://ris.example.nhs.uk/R4\">https://ris.example.nhs.uk/R4</a></td></tr></table><p><b>focus</b>: </p><ul><li><a href=\"ServiceRequest-RadiologyServiceRequestScheduled.html\">ServiceRequest CT Thorax abdomen pelvis with contrast</a></li><li><a href=\"ImagingStudy-RadiologyImagingStudyScheduled.html\">ImagingStudy: identifier = Study Instance UID: DICOM Unique Id#urn:oid:2.25.170157840389855822130589223217853734980; status = registered; modality = Computed Tomography (DICOM#CT); procedureCode = CT of thorax, abdomen and pelvis with contrast; description = CT thorax, abdomen and pelvis with contrast</a></li></ul><p><b>definition</b>: <a href=\"MessageDefinition-procedure-scheduled.html\">Procedure Scheduled (O23)</a></p></div>"
      },
      "eventCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/v2-0003",
        "code" : "O23",
        "display" : "OMI - Imaging order"
      },
      "destination" : [{
        "endpoint" : "https://pacs.example.nhs.uk/R4/$process-message",
        "receiver" : {
          "identifier" : {
            "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
            "value" : "R0A"
          }
        }
      }],
      "sender" : {
        "identifier" : {
          "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
          "value" : "R0A"
        }
      },
      "source" : {
        "endpoint" : "https://ris.example.nhs.uk/R4"
      },
      "focus" : [{
        "reference" : "ServiceRequest/RadiologyServiceRequestScheduled"
      },
      {
        "reference" : "ImagingStudy/RadiologyImagingStudyScheduled"
      }],
      "definition" : "https://fhir.nwgenomics.nhs.uk/Imaging/MessageDefinition/procedure-scheduled"
    }
  },
  {
    "fullUrl" : "https://fhir.example.nhs.uk/R4/ServiceRequest/RadiologyServiceRequestScheduled",
    "resource" : {
      "resourceType" : "ServiceRequest",
      "id" : "RadiologyServiceRequestScheduled",
      "meta" : {
        "profile" : ["https://fhir.nwgenomics.nhs.uk/Imaging/StructureDefinition/RadiologyServiceRequest"]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ServiceRequest_RadiologyServiceRequestScheduled\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest RadiologyServiceRequestScheduled</b></p><a name=\"RadiologyServiceRequestScheduled\"> </a><a name=\"hcRadiologyServiceRequestScheduled\"> </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-RadiologyServiceRequest.html\">Radiology Service Request</a></p></div><p><b>identifier</b>: Accession ID/RAD26110001</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>category</b>: <span title=\"Codes:{http://snomed.info/sct 363679005}\">Imaging</span></p><p><b>code</b>: <span title=\"Codes:{https://fhir.interweavedigital.nhs.uk/CodeSystem/Interweave-NICIP CCHAPC}, {http://snomed.info/sct 433761009}\">CT Thorax abdomen pelvis with contrast</span></p><p><b>subject</b>: <a href=\"Patient-PatientManchester.html\">Sansa MANCHESTER  Female, DoB: 1972-09-21 ( R0A4990415)</a></p><p><b>occurrence</b>: 2026-10-28 14:00:00+0000</p><p><b>authoredOn</b>: 2026-10-26 10:15:00+0000</p><p><b>reasonCode</b>: <span title=\"Codes:\">Staging of suspected colorectal cancer</span></p></div>"
      },
      "identifier" : [{
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "ACSN"
          },
          {
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "PLAC"
          }]
        },
        "system" : "http://example.org/R0A/accession-number",
        "value" : "RAD26110001",
        "assigner" : {
          "identifier" : {
            "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
            "value" : "R0A"
          }
        }
      }],
      "status" : "active",
      "intent" : "order",
      "category" : [{
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "363679005"
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "https://fhir.interweavedigital.nhs.uk/CodeSystem/Interweave-NICIP",
          "code" : "CCHAPC",
          "display" : "CT Thorax abdomen pelvis with contrast"
        },
        {
          "system" : "http://snomed.info/sct",
          "code" : "433761009",
          "display" : "CT of thorax, abdomen and pelvis with contrast"
        }]
      },
      "subject" : {
        "reference" : "Patient/PatientManchester"
      },
      "occurrenceDateTime" : "2026-10-28T14:00:00Z",
      "authoredOn" : "2026-10-26T10:15:00Z",
      "reasonCode" : [{
        "text" : "Staging of suspected colorectal cancer"
      }]
    }
  },
  {
    "fullUrl" : "https://fhir.example.nhs.uk/R4/ImagingStudy/RadiologyImagingStudyScheduled",
    "resource" : {
      "resourceType" : "ImagingStudy",
      "id" : "RadiologyImagingStudyScheduled",
      "meta" : {
        "profile" : ["https://fhir.nwgenomics.nhs.uk/Imaging/StructureDefinition/RadiologyImagingStudy"]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ImagingStudy_RadiologyImagingStudyScheduled\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ImagingStudy RadiologyImagingStudyScheduled</b></p><a name=\"RadiologyImagingStudyScheduled\"> </a><a name=\"hcRadiologyImagingStudyScheduled\"> </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-RadiologyImagingStudy.html\">Radiology Imaging Study</a></p></div><p><b>identifier</b>: Study Instance UID/urn:oid:2.25.170157840389855822130589223217853734980</p><p><b>status</b>: Registered</p><p><b>modality</b>: <a href=\"http://hl7.org/fhir/R4/codesystem-dicom-dcim.html#dicom-dcim-CT\">DICOM: CT</a> (Computed Tomography)</p><p><b>subject</b>: <a href=\"Patient-PatientManchester.html\">Sansa MANCHESTER  Female, DoB: 1972-09-21 ( R0A4990415)</a></p><p><b>basedOn</b>: <a href=\"ServiceRequest-RadiologyServiceRequestScheduled.html\">ServiceRequest CT Thorax abdomen pelvis with contrast</a></p><p><b>procedureCode</b>: <span title=\"Codes:{http://snomed.info/sct 433761009}\">CT of thorax, abdomen and pelvis with contrast</span></p><p><b>description</b>: CT thorax, abdomen and pelvis with contrast</p></div>"
      },
      "identifier" : [{
        "type" : {
          "coding" : [{
            "system" : "http://dicom.nema.org/resources/ontology/DCM",
            "code" : "110180",
            "display" : "Study Instance UID"
          }]
        },
        "system" : "urn:dicom:uid",
        "value" : "urn:oid:2.25.170157840389855822130589223217853734980"
      }],
      "status" : "registered",
      "modality" : [{
        "system" : "http://dicom.nema.org/resources/ontology/DCM",
        "code" : "CT",
        "display" : "Computed Tomography"
      }],
      "subject" : {
        "reference" : "Patient/PatientManchester"
      },
      "basedOn" : [{
        "reference" : "ServiceRequest/RadiologyServiceRequestScheduled",
        "identifier" : {
          "type" : {
            "coding" : [{
              "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code" : "ACSN"
            }]
          },
          "system" : "http://example.org/R0A/accession-number",
          "value" : "RAD26110001",
          "assigner" : {
            "identifier" : {
              "value" : "R0A"
            }
          }
        }
      }],
      "procedureCode" : [{
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "433761009",
          "display" : "CT of thorax, abdomen and pelvis with contrast"
        }]
      }],
      "description" : "CT thorax, abdomen and pelvis with contrast"
    }
  },
  {
    "fullUrl" : "https://fhir.example.nhs.uk/R4/Patient/PatientManchester",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "PatientManchester",
      "meta" : {
        "profile" : ["https://fhir.nwgenomics.nhs.uk/Imaging/StructureDefinition/Patient"]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_PatientManchester\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient PatientManchester</b></p><a name=\"PatientManchester\"> </a><a name=\"hcPatientManchester\"> </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-Patient.html\">Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Sansa MANCHESTER  Female, DoB: 1972-09-21 ( R0A4990415)</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=\"NamingSystem-nhs-number-namingsystem.html\" title=\"NHS Number allocated to the patient in England and Wales. For more details see: [NHS Data Model Dictionary](https://www.datadictionary.nhs.uk/attributes/nhs_number.html)\">NHS Number</a>/9737383192</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\">Oxford Rd MANCHESTER M13 9PL </td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Patient Links\">Links:</td><td colspan=\"3\"><ul><li>General Practitioner: Identifier: <a href=\"NamingSystem-ods-organization-code-namingsystem.html\" title=\"The identifier system for an Organisation registered with the Organisation Data Service (ODS).\">ODS Organisation Code</a>/P84673</li></ul></td></tr></table></div>"
      },
      "identifier" : [{
        "value" : "R0A4990415",
        "assigner" : {
          "identifier" : {
            "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
            "value" : "R0A"
          }
        }
      },
      {
        "system" : "https://fhir.nhs.uk/Id/nhs-number",
        "value" : "9737383192"
      }],
      "name" : [{
        "family" : "MANCHESTER",
        "given" : ["Sansa"]
      }],
      "gender" : "female",
      "birthDate" : "1972-09-21",
      "address" : [{
        "line" : ["Oxford Rd"],
        "city" : "MANCHESTER",
        "postalCode" : "M13 9PL"
      }],
      "generalPractitioner" : [{
        "identifier" : {
          "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
          "value" : "P84673"
        }
      }]
    }
  }]
}