{
  "resourceType" : "MessageDefinition",
  "id" : "laboratory-order",
  "language" : "en",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MessageDefinition laboratory-order</b></p><a name=\"laboratory-order\"> </a><a name=\"hclaboratory-order\"> </a><p><b>url</b>: <a href=\"MessageDefinition-laboratory-order.html\">MessageDefinition Laboratory Order (O21)</a></p><p><b>version</b>: 0.1.0</p><p><b>name</b>: LaboratoryOrder</p><p><b>title</b>: Laboratory Order (O21)</p><p><b>status</b>: Draft</p><p><b>experimental</b>: true</p><p><b>date</b>: 2026-11-04</p><p><b>publisher</b>: Kevin Mayfield</p><p><b>contact</b>: <a href=\"https://github.com/KevinMayfield/PathologyAndLaboratory\">https://github.com/KevinMayfield/PathologyAndLaboratory</a></p><p><b>description</b>: </p><div><p>FHIR Message equivalent of the HL7 v2.5.1 <code>OML^O21^OML_O21</code> message, sent by the Order\nPlacer (EPR, GP system, order comms) to the Order Filler (LIMS) for\n<a href=\"LAB-1.html\">Placer Order Management [LAB-1]</a>, by the Order Filler to the Order Placer\nfor <a href=\"LAB-2.html\">Filler Order Management [LAB-2]</a>, and by a Requester (referring\nlaboratory) to a Subcontractor (reference laboratory) for\n<a href=\"LAB-35.html\">Sub-order Management [LAB-35]</a>.</p>\n<p>Each ORC/OBR pair becomes a <a href=\"StructureDefinition-LaboratoryOrder.html\">Laboratory Order</a>,\nPID a <a href=\"StructureDefinition-Patient.html\">Patient</a> and SPM a\n<a href=\"StructureDefinition-Specimen.html\">Specimen</a>. See <a href=\"mapping.html\">Mapping HL7 v2 and FHIR</a>.</p>\n<p>The HL7 v2 acknowledgement <code>ORL^O22</code> (or <code>ACK^O21</code>) is a FHIR response message\n(<code>MessageHeader.response</code>).</p>\n</div><p><b>jurisdiction</b>: <span title=\"Codes:{urn:iso:std:iso:3166 GB}\">United Kingdom of Great Britain and Northern Ireland</span></p><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><p><b>category</b>: Consequence</p><h3>Focus</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Profile</b></td><td><b>Min</b></td><td><b>Max</b></td></tr><tr><td style=\"display: none\">*</td><td>ServiceRequest</td><td><a href=\"StructureDefinition-LaboratoryOrder.html\">Laboratory Order</a></td><td>1</td><td>*</td></tr></table><p><b>responseRequired</b>: Always</p></div>"
  },
  "url" : "https://examplesihe.org.uk/MessageDefinition/laboratory-order",
  "version" : "0.1.0",
  "name" : "LaboratoryOrder",
  "title" : "Laboratory Order (O21)",
  "status" : "draft",
  "experimental" : true,
  "date" : "2026-11-04",
  "publisher" : "Kevin Mayfield",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "https://github.com/KevinMayfield/PathologyAndLaboratory"
    }]
  }],
  "description" : "FHIR Message equivalent of the HL7 v2.5.1 `OML^O21^OML_O21` message, sent by the Order\nPlacer (EPR, GP system, order comms) to the Order Filler (LIMS) for\n[Placer Order Management [LAB-1]](LAB-1.html), by the Order Filler to the Order Placer\nfor [Filler Order Management [LAB-2]](LAB-2.html), and by a Requester (referring\nlaboratory) to a Subcontractor (reference laboratory) for\n[Sub-order Management [LAB-35]](LAB-35.html).\n\nEach ORC/OBR pair becomes a [Laboratory Order](StructureDefinition-LaboratoryOrder.html),\nPID a [Patient](StructureDefinition-Patient.html) and SPM a\n[Specimen](StructureDefinition-Specimen.html). See [Mapping HL7 v2 and FHIR](mapping.html).\n\nThe HL7 v2 acknowledgement `ORL^O22` (or `ACK^O21`) is a FHIR response message\n(`MessageHeader.response`).",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "urn:iso:std:iso:3166",
      "code" : "GB",
      "display" : "United Kingdom of Great Britain and Northern Ireland"
    }]
  }],
  "eventCoding" : {
    "system" : "http://terminology.hl7.org/CodeSystem/v2-0003",
    "code" : "O21",
    "display" : "OML - Laboratory order"
  },
  "category" : "consequence",
  "focus" : [{
    "code" : "ServiceRequest",
    "profile" : "https://examplesihe.org.uk/StructureDefinition/LaboratoryOrder",
    "min" : 1,
    "max" : "*"
  }],
  "responseRequired" : "always"
}