{
  "resourceType" : "Bundle",
  "id" : "LaboratoryOrderMessage",
  "meta" : {
    "profile" : ["https://examplesihe.org.uk/StructureDefinition/BundleMessage"]
  },
  "language" : "en",
  "identifier" : {
    "system" : "https://fhir.examplesurgery.nhs.uk/Id/message",
    "value" : "GP-MSG-000501"
  },
  "type" : "message",
  "timestamp" : "2026-11-03T09:10:05Z",
  "entry" : [{
    "fullUrl" : "https://fhir.example.nhs.uk/R4/MessageHeader/LaboratoryOrderMessageHeader",
    "resource" : {
      "resourceType" : "MessageHeader",
      "id" : "LaboratoryOrderMessageHeader",
      "meta" : {
        "lastUpdated" : "2026-11-03T09:10:05Z"
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MessageHeader_LaboratoryOrderMessageHeader\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MessageHeader LaboratoryOrderMessageHeader</b></p><a name=\"LaboratoryOrderMessageHeader\"> </a><a name=\"hcLaboratoryOrderMessageHeader\"> </a><div style=\"display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Last updated: 2026-11-03 09:10:05+0000</p></div><p><b>event</b>: <a href=\"http://terminology.hl7.org/7.5.0/CodeSystem-v2-0003.html#v2-0003-O21\">event: O21</a> (OML - Laboratory order)</p><h3>Destinations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>Endpoint</b></td><td><b>Receiver</b></td></tr><tr><td style=\"display: none\">*</td><td>LIMS</td><td><a href=\"https://lims.example.nhs.uk/R4/$process-message\">https://lims.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>/A12345</p><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td style=\"display: none\">*</td><td>GPSYSTEM</td><td><a href=\"https://gp.example.nhs.uk/R4\">https://gp.example.nhs.uk/R4</a></td></tr></table><p><b>focus</b>: <a href=\"ServiceRequest-LaboratoryOrderFBCNew.html\">ServiceRequest FBC - full blood count</a></p><p><b>definition</b>: <a href=\"MessageDefinition-laboratory-order.html\">Laboratory Order (O21)</a></p></div>"
      },
      "eventCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/v2-0003",
        "code" : "O21",
        "display" : "OML - Laboratory order"
      },
      "destination" : [{
        "name" : "LIMS",
        "endpoint" : "https://lims.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" : "A12345"
        }
      },
      "source" : {
        "name" : "GPSYSTEM",
        "endpoint" : "https://gp.example.nhs.uk/R4"
      },
      "focus" : [{
        "reference" : "ServiceRequest/LaboratoryOrderFBCNew"
      }],
      "definition" : "https://examplesihe.org.uk/MessageDefinition/laboratory-order"
    }
  },
  {
    "fullUrl" : "https://fhir.example.nhs.uk/R4/ServiceRequest/LaboratoryOrderFBCNew",
    "resource" : {
      "resourceType" : "ServiceRequest",
      "id" : "LaboratoryOrderFBCNew",
      "meta" : {
        "profile" : ["https://examplesihe.org.uk/StructureDefinition/LaboratoryOrder"]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ServiceRequest_LaboratoryOrderFBCNew\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest LaboratoryOrderFBCNew</b></p><a name=\"LaboratoryOrderFBCNew\"> </a><a name=\"hcLaboratoryOrderFBCNew\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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-LaboratoryOrder.html\">Laboratory Order</a></p></div><p><b>identifier</b>: Placer Identifier/GP-ORD-000123</p><p><b>requisition</b>: <code>https://fhir.examplesurgery.nhs.uk/Id/requisition</code>/GP-REQ-000045</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>priority</b>: Routine</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 1022441000000101}\">FBC - full blood count</span></p><p><b>subject</b>: <a href=\"Patient-PatientOctaviaCHISLETT.html\">Octavia CHISLETT  Female, DoB: 2008-09-20 ( National Health Plan Identifier: NHS Number#9449305552)</a></p><p><b>authoredOn</b>: 2026-11-03 09:10:00+0000</p><p><b>requester</b>: <a href=\"PractitionerRole-PractitionerRoleGP.html\">Alex GREEN (https://fhir.hl7.org.uk/Id/gmp-number#GMP Number#G1234567) at Example Surgery (https://fhir.nhs.uk/Id/ods-organization-code#ODS Organisation Code#A12345)</a></p><p><b>performer</b>: <a href=\"Organization-OrganizationMFT.html\">Manchester University NHS Foundation Trust (https://fhir.nhs.uk/Id/ods-organization-code#ODS Organisation Code#R0A)</a></p><p><b>reasonCode</b>: <span title=\"Codes:\">Tiredness</span></p><p><b>note</b>: </p><blockquote><div><p>Tired all the time for 3 months. ? anaemia</p>\n</div></blockquote></div>"
      },
      "identifier" : [{
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "PLAC"
          }]
        },
        "system" : "https://fhir.examplesurgery.nhs.uk/Id/order",
        "value" : "GP-ORD-000123",
        "assigner" : {
          "identifier" : {
            "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
            "value" : "A12345"
          }
        }
      }],
      "requisition" : {
        "system" : "https://fhir.examplesurgery.nhs.uk/Id/requisition",
        "value" : "GP-REQ-000045"
      },
      "status" : "active",
      "intent" : "order",
      "priority" : "routine",
      "code" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "1022441000000101",
          "display" : "FBC - full blood count"
        }]
      },
      "subject" : {
        "reference" : "Patient/PatientOctaviaCHISLETT"
      },
      "authoredOn" : "2026-11-03T09:10:00Z",
      "requester" : {
        "reference" : "PractitionerRole/PractitionerRoleGP"
      },
      "performer" : [{
        "reference" : "Organization/OrganizationMFT"
      }],
      "reasonCode" : [{
        "text" : "Tiredness"
      }],
      "note" : [{
        "text" : "Tired all the time for 3 months. ? anaemia"
      }]
    }
  },
  {
    "fullUrl" : "https://fhir.example.nhs.uk/R4/Patient/PatientOctaviaCHISLETT",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "PatientOctaviaCHISLETT",
      "meta" : {
        "profile" : ["https://examplesihe.org.uk/StructureDefinition/Patient"]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_PatientOctaviaCHISLETT\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient PatientOctaviaCHISLETT</b></p><a name=\"PatientOctaviaCHISLETT\"> </a><a name=\"hcPatientOctaviaCHISLETT\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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;\">Octavia CHISLETT  Female, DoB: 2008-09-20 ( National Health Plan Identifier: NHS Number#9449305552)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Other Id (see the one above)\">Other Id:</td><td colspan=\"3\">Medical record number/633</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\">1 RAVENSFIELD GARDENS EPSOM KT19 0ST </td></tr></table></div>"
      },
      "identifier" : [{
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "NH"
          }]
        },
        "system" : "https://fhir.nhs.uk/Id/nhs-number",
        "value" : "9449305552"
      },
      {
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "MR"
          }]
        },
        "system" : "https://fhir.mft.nhs.uk/Id/mrn",
        "value" : "633",
        "assigner" : {
          "identifier" : {
            "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
            "value" : "R0A"
          }
        }
      }],
      "name" : [{
        "family" : "CHISLETT",
        "given" : ["Octavia"],
        "prefix" : ["Miss"]
      }],
      "gender" : "female",
      "birthDate" : "2008-09-20",
      "address" : [{
        "line" : ["1 RAVENSFIELD GARDENS"],
        "city" : "EPSOM",
        "district" : "SURREY",
        "postalCode" : "KT19 0ST"
      }]
    }
  },
  {
    "fullUrl" : "https://fhir.example.nhs.uk/R4/PractitionerRole/PractitionerRoleGP",
    "resource" : {
      "resourceType" : "PractitionerRole",
      "id" : "PractitionerRoleGP",
      "meta" : {
        "profile" : ["https://examplesihe.org.uk/StructureDefinition/PractitionerRole"]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"PractitionerRole_PractitionerRoleGP\"> </a><p class=\"res-header-id\"><b>Generated Narrative: PractitionerRole PractitionerRoleGP</b></p><a name=\"PractitionerRoleGP\"> </a><a name=\"hcPractitionerRoleGP\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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-PractitionerRole.html\">PractitionerRole</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Alex GREEN (https://fhir.hl7.org.uk/Id/gmp-number#GMP Number#G1234567) at Example Surgery (https://fhir.nhs.uk/Id/ods-organization-code#ODS Organisation Code#A12345)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"The practitioner who is able to provide the services in this role\">Practitioner:</td><td colspan=\"3\"><a href=\"Practitioner-PractitionerGP.html\">Alex GREEN (https://fhir.hl7.org.uk/Id/gmp-number#GMP Number#G1234567)</a></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The organization where the practitioner performs the roles\">Organization:</td><td colspan=\"3\"><a href=\"Organization-OrganizationExampleSurgery.html\">Example Surgery (https://fhir.nhs.uk/Id/ods-organization-code#ODS Organisation Code#A12345)</a></td></tr></table></div>"
      },
      "practitioner" : {
        "reference" : "Practitioner/PractitionerGP"
      },
      "organization" : {
        "reference" : "Organization/OrganizationExampleSurgery",
        "identifier" : {
          "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
          "value" : "A12345"
        }
      }
    }
  },
  {
    "fullUrl" : "https://fhir.example.nhs.uk/R4/Practitioner/PractitionerGP",
    "resource" : {
      "resourceType" : "Practitioner",
      "id" : "PractitionerGP",
      "meta" : {
        "profile" : ["https://examplesihe.org.uk/StructureDefinition/Practitioner"]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_PractitionerGP\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Practitioner PractitionerGP</b></p><a name=\"PractitionerGP\"> </a><a name=\"hcPractitionerGP\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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-Practitioner.html\">Practitioner</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Alex GREEN (https://fhir.hl7.org.uk/Id/gmp-number#GMP Number#G1234567)</p><hr/></div>"
      },
      "identifier" : [{
        "system" : "https://fhir.hl7.org.uk/Id/gmp-number",
        "value" : "G1234567"
      }],
      "name" : [{
        "family" : "GREEN",
        "given" : ["Alex"],
        "prefix" : ["Dr"]
      }]
    }
  },
  {
    "fullUrl" : "https://fhir.example.nhs.uk/R4/Organization/OrganizationExampleSurgery",
    "resource" : {
      "resourceType" : "Organization",
      "id" : "OrganizationExampleSurgery",
      "meta" : {
        "profile" : ["https://examplesihe.org.uk/StructureDefinition/Organization"]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_OrganizationExampleSurgery\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization OrganizationExampleSurgery</b></p><a name=\"OrganizationExampleSurgery\"> </a><a name=\"hcOrganizationExampleSurgery\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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-Organization.html\">Organization</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Example Surgery (https://fhir.nhs.uk/Id/ods-organization-code#ODS Organisation Code#A12345)</p><hr/></div>"
      },
      "identifier" : [{
        "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
        "value" : "A12345"
      }],
      "name" : "Example Surgery"
    }
  },
  {
    "fullUrl" : "https://fhir.example.nhs.uk/R4/Organization/OrganizationMFT",
    "resource" : {
      "resourceType" : "Organization",
      "id" : "OrganizationMFT",
      "meta" : {
        "profile" : ["https://examplesihe.org.uk/StructureDefinition/Organization"]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_OrganizationMFT\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization OrganizationMFT</b></p><a name=\"OrganizationMFT\"> </a><a name=\"hcOrganizationMFT\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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-Organization.html\">Organization</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Manchester University NHS Foundation Trust (https://fhir.nhs.uk/Id/ods-organization-code#ODS Organisation Code#R0A)</p><hr/></div>"
      },
      "identifier" : [{
        "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
        "value" : "R0A"
      }],
      "name" : "Manchester University NHS Foundation Trust"
    }
  }]
}