<?xml version="1.0" encoding="UTF-8"?>

<MessageDefinition xmlns="http://hl7.org/fhir">
  <id value="referral-order-status"/>
  <language value="en"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: MessageDefinition referral-order-status</b></p><a name="referral-order-status"> </a><a name="hcreferral-order-status"> </a><p><b>url</b>: <a href="MessageDefinition-referral-order-status.html">MessageDefinition Referral Order Status (O51)</a></p><p><b>version</b>: 2.2.5</p><p><b>name</b>: ReferralOrderStatus</p><p><b>title</b>: Referral Order Status (O51)</p><p><b>status</b>: Draft</p><p><b>experimental</b>: true</p><p><b>date</b>: 2026-11-03</p><p><b>publisher</b>: NHS North West Genomics</p><p><b>contact</b>: <a href="https://www.nwgenomics.nhs.uk/contact-us">https://www.nwgenomics.nhs.uk/contact-us</a></p><p><b>description</b>: </p><div><p><strong>For future use.</strong> FHIR Message equivalent of the IHE 360X HL7 v2.5.1 <code>OSU^O51^OSU_O51</code>
order status update, for a <a href="StructureDefinition-GeneticClinicalReferral.html">Genetic Clinical
Referral</a> or a laboratory order (<a href="StructureDefinition-GenomicTestOrder.html">Genomic
Test Order</a>). The
<a href="StructureDefinition-Task.html">Task</a> carries the status
(<code>status</code>, <code>businessStatus</code>, <code>statusReason</code>). The message contains only the
<code>MessageHeader</code> and the <code>Task</code>. For an outcome [PCC-57], <code>Task.output</code> references the
clinical document or reports externally - for a laboratory order, the genomic test reports
in the NHS England Unified Genomic Record (UGR), each with its Report Identifier.</p>
<p>Where the referral is managed by the NHS England Genomic Order Management Service (GOMS),
the Regional Integration Engine (RIE) receives a <code>genomic-order-event-1</code> notification
from the NHS England Multicast Notification Service (MNS), retrieves the <code>Task</code> from GOMS,
and converts it to this message (or HL7 v2 <code>OSU^O51</code>) for the Referral Initiator - see
<a href="PCC-55.html#status-updates-from-goms-via-mns">Referral Request [PCC-55]</a>.</p>
<table class="grid">
<thead>
<tr>
<th>360X</th>
<th>ORC-1 / ORC-5</th>
<th>Task.businessStatus</th>
</tr>
</thead>
<tbody>
<tr>
<td>Accept [PCC-55]</td>
<td>OK / IP</td>
<td>accepted</td>
</tr>
<tr>
<td>Decline [PCC-55, PCC-56]</td>
<td>UA / CA</td>
<td>declined</td>
</tr>
<tr>
<td>Interim Consultation Note [PCC-59]</td>
<td>SC / A</td>
<td>interim-report</td>
</tr>
<tr>
<td>Referral Outcome [PCC-57]</td>
<td>SC / CM</td>
<td>completed</td>
</tr>
<tr>
<td>Cancel Request [PCC-58]</td>
<td>CA / CA</td>
<td>cancel-requested</td>
</tr>
<tr>
<td>Cancel Confirmation [PCC-58]</td>
<td>CR / CA</td>
<td>cancelled</td>
</tr>
</tbody>
</table>
</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-O51">event: O51</a> (OSU – Order Status Update)</p><p><b>category</b>: Notification</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>Task</td><td><a href="StructureDefinition-Task.html">Task</a></td><td>1</td><td>1</td></tr></table><p><b>responseRequired</b>: Error/reject conditions only</p><h3>AllowedResponses</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Message</b></td></tr><tr><td style="display: none">*</td><td><a href="MessageDefinition-acknowledgement.html">Message Definition - Acknowledgement</a></td></tr></table></div>
  </text>
  <url value="https://fhir.nwgenomics.nhs.uk/MessageDefinition/referral-order-status"/>
  <version value="2.2.5"/>
  <name value="ReferralOrderStatus"/>
  <title value="Referral Order Status (O51)"/>
  <status value="draft"/>
  <experimental value="true"/>
  <date value="2026-11-03"/>
  <publisher value="NHS North West Genomics"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="https://www.nwgenomics.nhs.uk/contact-us"/>
    </telecom>
  </contact>
  <description value="**For future use.** FHIR Message equivalent of the IHE 360X HL7 v2.5.1 `OSU^O51^OSU_O51`&#xA;order status update, for a [Genetic Clinical&#xA;Referral](StructureDefinition-GeneticClinicalReferral.html) or a laboratory order ([Genomic&#xA;Test Order](StructureDefinition-GenomicTestOrder.html)). The&#xA;[Task](StructureDefinition-Task.html) carries the status&#xA;(`status`, `businessStatus`, `statusReason`). The message contains only the&#xA;`MessageHeader` and the `Task`. For an outcome [PCC-57], `Task.output` references the&#xA;clinical document or reports externally - for a laboratory order, the genomic test reports&#xA;in the NHS England Unified Genomic Record (UGR), each with its Report Identifier.&#xA;&#xA;Where the referral is managed by the NHS England Genomic Order Management Service (GOMS),&#xA;the Regional Integration Engine (RIE) receives a `genomic-order-event-1` notification&#xA;from the NHS England Multicast Notification Service (MNS), retrieves the `Task` from GOMS,&#xA;and converts it to this message (or HL7 v2 `OSU^O51`) for the Referral Initiator - see&#xA;[Referral Request [PCC-55]](PCC-55.html#status-updates-from-goms-via-mns).&#xA;&#xA;| 360X | ORC-1 / ORC-5 | Task.businessStatus |&#xA;|---|---|---|&#xA;| Accept [PCC-55] | OK / IP | accepted |&#xA;| Decline [PCC-55, PCC-56] | UA / CA | declined |&#xA;| Interim Consultation Note [PCC-59] | SC / A | interim-report |&#xA;| Referral Outcome [PCC-57] | SC / CM | completed |&#xA;| Cancel Request [PCC-58] | CA / CA | cancel-requested |&#xA;| Cancel Confirmation [PCC-58] | CR / CA | cancelled |"/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="GB"/>
      <display value="United Kingdom of Great Britain and Northern Ireland"/>
    </coding>
  </jurisdiction>
  <eventCoding>
    <system value="http://terminology.hl7.org/CodeSystem/v2-0003"/>
    <code value="O51"/>
  </eventCoding>
  <category value="notification"/>
  <focus>
    <code value="Task"/>
    <profile value="https://fhir.nwgenomics.nhs.uk/StructureDefinition/Task"/>
    <min value="1"/>
    <max value="1"/>
  </focus>
  <responseRequired value="on-error"/>
  <allowedResponse>
    <message value="https://fhir.nwgenomics.nhs.uk/MessageDefinition/acknowledgement"/>
  </allowedResponse>
</MessageDefinition>