Care Coordination and 360 Referrals (Proof of Concept)
0.1.0 - proof-of-concept United Kingdom flag

Care Coordination and 360 Referrals (Proof of Concept) - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: Message Definition - Referral Order Status (O51)

Draft as of 2026-11-01

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/MessageDefinition/referral-order-status> a fhir:MessageDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "referral-order-status"] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<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>: 0.1.0</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-01</p><p><b>publisher</b>: Kevin Mayfield</p><p><b>contact</b>: <a href=\"https://github.com/KevinMayfield/PatientCareCoordination\">https://github.com/KevinMayfield/PatientCareCoordination</a></p><p><b>description</b>: </p><div><p>FHIR Message equivalent of the IHE 360X HL7 v2.5.1 <code>OSU^O51^OSU_O51</code> order status update.\nThe <a href=\"StructureDefinition-ReferralTask.html\">Referral Task</a> carries the status\n(<code>status</code>, <code>businessStatus</code>, <code>statusReason</code>); for an interim note [PCC-59] or outcome\n[PCC-57] the message also carries the clinical document referenced from <code>Task.output</code>.</p>\n<p>The message does <strong>not</strong> carry a <code>Patient</code> resource. Both sides of the exchange already\nknow the patient from the referral, so <code>Task.for</code> identifies the patient by NHS Number\n(<code>for.identifier</code>), <code>Task.requester</code> the referrer (professional code) and <code>Task.owner</code>\nthe Referral Recipient (service identifier), alongside the references.</p>\n<table class=\"grid\">\n<thead>\n<tr>\n<th>360X</th>\n<th>ORC-1 / ORC-5</th>\n<th>Task.businessStatus</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Accept [PCC-55]</td>\n<td>OK / IP</td>\n<td>accepted</td>\n</tr>\n<tr>\n<td>Decline [PCC-55, PCC-56]</td>\n<td>UA / CA</td>\n<td>declined</td>\n</tr>\n<tr>\n<td>Deferred (NHS, indicative)</td>\n<td>OH / HD</td>\n<td>deferred</td>\n</tr>\n<tr>\n<td>Redirected (NHS, indicative)</td>\n<td>RU / RP</td>\n<td>redirected</td>\n</tr>\n<tr>\n<td>Interim Consultation Note [PCC-59]</td>\n<td>SC / A</td>\n<td>interim-report</td>\n</tr>\n<tr>\n<td>Referral Outcome [PCC-57]</td>\n<td>SC / CM</td>\n<td>completed</td>\n</tr>\n<tr>\n<td>Cancel Request [PCC-58]</td>\n<td>CA / CA</td>\n<td>cancel-requested</td>\n</tr>\n<tr>\n<td>Cancel Confirmation [PCC-58]</td>\n<td>CR / CA</td>\n<td>cancelled</td>\n</tr>\n</tbody>\n</table>\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-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-ReferralTask.html\">Referral Task</a></td><td>1</td><td>1</td></tr></table><p><b>responseRequired</b>: Never</p></div>"
  ] ;
  fhir:MessageDefinition.url [ fhir:value "https://fhir.acmeexample.org.uk/PatientCareCoordination/MessageDefinition/referral-order-status"] ;
  fhir:MessageDefinition.version [ fhir:value "0.1.0"] ;
  fhir:MessageDefinition.name [ fhir:value "ReferralOrderStatus"] ;
  fhir:MessageDefinition.title [ fhir:value "Referral Order Status (O51)"] ;
  fhir:MessageDefinition.status [ fhir:value "draft"] ;
  fhir:MessageDefinition.experimental [ fhir:value "true"^^xsd:boolean] ;
  fhir:MessageDefinition.date [ fhir:value "2026-11-01"^^xsd:date] ;
  fhir:MessageDefinition.publisher [ fhir:value "Kevin Mayfield"] ;
  fhir:MessageDefinition.contact [
     fhir:index -1 ;
     fhir:ContactDetail.telecom [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://github.com/KevinMayfield/PatientCareCoordination" ]
     ]
  ] ;
  fhir:MessageDefinition.description [ fhir:value "FHIR Message equivalent of the IHE 360X HL7 v2.5.1 `OSU^O51^OSU_O51` order status update.\nThe [Referral Task](StructureDefinition-ReferralTask.html) carries the status\n(`status`, `businessStatus`, `statusReason`); for an interim note [PCC-59] or outcome\n[PCC-57] the message also carries the clinical document referenced from `Task.output`.\n\nThe message does **not** carry a `Patient` resource. Both sides of the exchange already\nknow the patient from the referral, so `Task.for` identifies the patient by NHS Number\n(`for.identifier`), `Task.requester` the referrer (professional code) and `Task.owner`\nthe Referral Recipient (service identifier), alongside the references.\n\n| 360X | ORC-1 / ORC-5 | Task.businessStatus |\n|---|---|---|\n| Accept [PCC-55] | OK / IP | accepted |\n| Decline [PCC-55, PCC-56] | UA / CA | declined |\n| Deferred (NHS, indicative) | OH / HD | deferred |\n| Redirected (NHS, indicative) | RU / RP | redirected |\n| Interim Consultation Note [PCC-59] | SC / A | interim-report |\n| Referral Outcome [PCC-57] | SC / CM | completed |\n| Cancel Request [PCC-58] | CA / CA | cancel-requested |\n| Cancel Confirmation [PCC-58] | CR / CA | cancelled |"] ;
  fhir:MessageDefinition.jurisdiction [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
       fhir:Coding.code [ fhir:value "GB" ] ;
       fhir:Coding.display [ fhir:value "United Kingdom of Great Britain and Northern Ireland" ]
     ]
  ] ;
  fhir:MessageDefinition.eventCoding [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0003" ] ;
     fhir:Coding.code [ fhir:value "O51" ]
  ] ;
  fhir:MessageDefinition.category [ fhir:value "notification"] ;
  fhir:MessageDefinition.focus [
     fhir:index -1 ;
     fhir:MessageDefinition.focus.code [ fhir:value "Task" ] ;
     fhir:MessageDefinition.focus.profile [
       fhir:value "https://fhir.acmeexample.org.uk/PatientCareCoordination/StructureDefinition/ReferralTask" ;
       fhir:link <https://fhir.acmeexample.org.uk/PatientCareCoordination/StructureDefinition/ReferralTask>
     ] ;
     fhir:MessageDefinition.focus.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
     fhir:MessageDefinition.focus.max [ fhir:value "1" ]
  ] ;
  fhir:MessageDefinition.responseRequired [ fhir:value "never"] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/MessageDefinition/referral-order-status.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/MessageDefinition/referral-order-status.ttl> .