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

: Bundle Message - Referral Order Status (O51), referral outcome

Raw json | Download

{
  "resourceType" : "Bundle",
  "id" : "ReferralOrderStatusOutcomeMessage",
  "meta" : {
    "profile" : [
      🔗 "https://fhir.acmeexample.org.uk/PatientCareCoordination/StructureDefinition/BundleMessage"
    ]
  },
  "language" : "en",
  "identifier" : {
    "system" : "https://fhir.mft.nhs.uk/Id/message",
    "value" : "MFT-MSG-779950"
  },
  "type" : "message",
  "timestamp" : "2026-09-24T11:00:00+01:00",
  "entry" : [
    {
      "fullUrl" : "https://fhir.example.nhs.uk/R4/MessageHeader/ReferralOrderStatusOutcomeHeader",
      "resource" : {
        "resourceType" : "MessageHeader",
        "id" : "ReferralOrderStatusOutcomeHeader",
        "meta" : {
          "lastUpdated" : "2026-09-24T11:00:00+01:00",
          "profile" : [
            🔗 "https://fhir.acmeexample.org.uk/PatientCareCoordination/StructureDefinition/MessageHeader"
          ]
        },
        "language" : "en",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MessageHeader_ReferralOrderStatusOutcomeHeader\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MessageHeader ReferralOrderStatusOutcomeHeader</b></p><a name=\"ReferralOrderStatusOutcomeHeader\"> </a><a name=\"hcReferralOrderStatusOutcomeHeader\"> </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-09-24 11:00:00+0100</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-O51\">event: O51</a> (OSU – Order Status Update)</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://fhir.example-practice.nhs.uk/R4/$process-message\">https://fhir.example-practice.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>/P89020</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://fhir.mft.nhs.uk/R4\">https://fhir.mft.nhs.uk/R4</a></td></tr></table><p><b>focus</b>: <a href=\"Task-CardiologyReferralCompleted.html\">Task Fulfill the focal request</a></p><p><b>definition</b>: <a href=\"MessageDefinition-referral-order-status.html\">Referral Order Status (O51)</a></p></div>"
        },
        "eventCoding" : {
          "system" : "http://terminology.hl7.org/CodeSystem/v2-0003",
          "code" : "O51"
        },
        "destination" : [
          {
            "endpoint" : "https://fhir.example-practice.nhs.uk/R4/$process-message",
            "receiver" : {
              "identifier" : {
                "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
                "value" : "P89020"
              }
            }
          }
        ],
        "sender" : {
          "identifier" : {
            "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
            "value" : "R0A"
          }
        },
        "source" : {
          "endpoint" : "https://fhir.mft.nhs.uk/R4"
        },
        "focus" : [
          {
            🔗 "reference" : "Task/CardiologyReferralCompleted"
          }
        ],
        "definition" : "https://fhir.acmeexample.org.uk/PatientCareCoordination/MessageDefinition/referral-order-status"
      }
    },
    {
      "fullUrl" : "https://fhir.example.nhs.uk/R4/Task/CardiologyReferralCompleted",
      "resource" : {
        "resourceType" : "Task",
        "id" : "CardiologyReferralCompleted",
        "meta" : {
          "profile" : [
            🔗 "https://fhir.acmeexample.org.uk/PatientCareCoordination/StructureDefinition/ReferralTask"
          ]
        },
        "language" : "en",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Task_CardiologyReferralCompleted\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Task CardiologyReferralCompleted</b></p><a name=\"CardiologyReferralCompleted\"> </a><a name=\"hcCardiologyReferralCompleted\"> </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-ReferralTask.html\">Referral Task</a></p></div><p><b>basedOn</b>: <a href=\"ServiceRequest-CardiologyReferral.html\">ServiceRequest Referral to cardiology service</a></p><p><b>status</b>: Completed</p><p><b>businessStatus</b>: <span title=\"Codes:{https://fhir.acmeexample.org.uk/PatientCareCoordination/CodeSystem/referral-workflow-status completed}\">Referral completed</span></p><p><b>intent</b>: order</p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/CodeSystem/task-code fulfill}\">Fulfill the focal request</span></p><p><b>focus</b>: <a href=\"ServiceRequest-CardiologyReferral.html\">ServiceRequest Referral to cardiology service</a></p><p><b>for</b>: <a href=\"Patient-Patient-Tameside.html\">Hodor TAMESIDE  Male, DoB: 1960-07-27 ( National Health Plan Identifier: NHS Number#9737383397)</a></p><p><b>authoredOn</b>: 2026-09-04 10:15:00+0100</p><p><b>lastModified</b>: 2026-09-24 11:00:00+0100</p><p><b>requester</b>: <a href=\"PractitionerRole-GPAllenRole.html\">Dr Allen, HT PRACTICE (P89020)</a></p><p><b>owner</b>: <a href=\"HealthcareService-CardiologyService.html\">General Cardiology Outpatients, Manchester University NHS Foundation Trust (R0A)</a></p><blockquote><p><b>output</b></p><p><b>type</b>: <span title=\"Codes:{https://fhir.acmeexample.org.uk/PatientCareCoordination/CodeSystem/referral-task-parameter interim-report}\">Interim consultation note</span></p><p><b>value</b>: <a href=\"Composition-CardiologyInterimNote.html\">Composition Cardiology clinic letter</a></p></blockquote><blockquote><p><b>output</b></p><p><b>type</b>: <span title=\"Codes:{https://fhir.acmeexample.org.uk/PatientCareCoordination/CodeSystem/referral-task-parameter outcome-report}\">Referral outcome</span></p><p><b>value</b>: <a href=\"Composition-CardiologyOutcomeNote.html\">Composition Cardiology discharge report</a></p></blockquote><blockquote><p><b>output</b></p><p><b>type</b>: <span title=\"Codes:{https://fhir.acmeexample.org.uk/PatientCareCoordination/CodeSystem/referral-task-parameter appointment}\">Appointment</span></p><p><b>value</b>: <a href=\"Appointment-CardiologyAppointment.html\">Appointment: identifier = https://fhir.mft.nhs.uk/Id/appointment#APT-998877; status = booked; serviceType = Cardiology; start = 2026-09-07 14:00:00+0100; end = 2026-09-07 14:30:00+0100</a></p></blockquote></div>"
        },
        "basedOn" : [
          {
            🔗 "reference" : "ServiceRequest/CardiologyReferral",
            "identifier" : {
              "type" : {
                "coding" : [
                  {
                    "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                    "code" : "PLAC"
                  }
                ]
              },
              "system" : "https://fhir.example-practice.nhs.uk/Id/referral",
              "value" : "REF-2026-000123",
              "assigner" : {
                "identifier" : {
                  "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
                  "value" : "P89020"
                }
              }
            }
          }
        ],
        "status" : "completed",
        "businessStatus" : {
          "coding" : [
            {
              "system" : "https://fhir.acmeexample.org.uk/PatientCareCoordination/CodeSystem/referral-workflow-status",
              "code" : "completed"
            }
          ]
        },
        "intent" : "order",
        "code" : {
          "coding" : [
            {
              "system" : "http://hl7.org/fhir/CodeSystem/task-code",
              "code" : "fulfill"
            }
          ]
        },
        "focus" : {
          🔗 "reference" : "ServiceRequest/CardiologyReferral"
        },
        "for" : {
          🔗 "reference" : "Patient/Patient-Tameside",
          "identifier" : {
            "system" : "https://fhir.nhs.uk/Id/nhs-number",
            "value" : "9737383397"
          }
        },
        "authoredOn" : "2026-09-04T10:15:00+01:00",
        "lastModified" : "2026-09-24T11:00:00+01:00",
        "requester" : {
          🔗 "reference" : "PractitionerRole/GPAllenRole",
          "identifier" : {
            "system" : "https://fhir.hl7.org.uk/Id/gmp-number",
            "value" : "G1234567"
          },
          "display" : "Dr Allen, HT PRACTICE (P89020)"
        },
        "owner" : {
          🔗 "reference" : "HealthcareService/CardiologyService",
          "identifier" : {
            "system" : "http://fhir.nhs.net/Id/ers-service",
            "value" : "1234567"
          },
          "display" : "General Cardiology Outpatients, Manchester University NHS Foundation Trust (R0A)"
        },
        "output" : [
          {
            "type" : {
              "coding" : [
                {
                  "system" : "https://fhir.acmeexample.org.uk/PatientCareCoordination/CodeSystem/referral-task-parameter",
                  "code" : "interim-report"
                }
              ]
            },
            "valueReference" : {
              🔗 "reference" : "Composition/CardiologyInterimNote"
            }
          },
          {
            "type" : {
              "coding" : [
                {
                  "system" : "https://fhir.acmeexample.org.uk/PatientCareCoordination/CodeSystem/referral-task-parameter",
                  "code" : "outcome-report"
                }
              ]
            },
            "valueReference" : {
              🔗 "reference" : "Composition/CardiologyOutcomeNote"
            }
          },
          {
            "type" : {
              "coding" : [
                {
                  "system" : "https://fhir.acmeexample.org.uk/PatientCareCoordination/CodeSystem/referral-task-parameter",
                  "code" : "appointment"
                }
              ]
            },
            "valueReference" : {
              🔗 "reference" : "Appointment/CardiologyAppointment"
            }
          }
        ]
      }
    },
    {
      "fullUrl" : "https://fhir.example.nhs.uk/R4/Composition/CardiologyOutcomeNote",
      "resource" : {
        "resourceType" : "Composition",
        "id" : "CardiologyOutcomeNote",
        "meta" : {
          "profile" : [
            🔗 "http://hl7.eu/fhir/hdr/StructureDefinition/composition-eu-hdr"
          ]
        },
        "language" : "en",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Composition_CardiologyOutcomeNote\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Composition CardiologyOutcomeNote</b></p><a name=\"CardiologyOutcomeNote\"> </a><a name=\"hcCardiologyOutcomeNote\"> </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=\"http://hl7.eu/fhir/hdr/1.0.0/StructureDefinition-composition-eu-hdr.html\">Composition (HDR)</a></p></div><p><b>identifier</b>: <code>https://fhir.mft.nhs.uk/Id/document</code>/DOC-55777</p><p><b>status</b>: Final</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 34105-7}\">Hospital Discharge Summary</span></p><p><b>encounter</b>: <a href=\"Encounter-CardiacCatheterisationSpell.html\">Encounter: identifier = Account number: 1001166717; status = finished; class = inpatient encounter (ActCode#IMP); serviceType = Cardiology; period = 2026-09-21 08:00:00+0100 --&gt; 2026-09-21 17:00:00+0100</a></p><p><b>date</b>: 2026-09-24 11:00:00+0100</p><p><b>author</b>: <a href=\"PractitionerRole-CardiologistBrownRole.html\">Brown (https://fhir.hl7.org.uk/Id/gmc-number#GMC Number#7654321) at Manchester University NHS Foundation Trust (https://fhir.nhs.uk/Id/ods-organization-code#ODS Organisation Code#R0A)</a></p><p><b>title</b>: Cardiology discharge report</p><p><b>custodian</b>: <a href=\"Organization-R0A.html\">Manchester University NHS Foundation Trust (https://fhir.nhs.uk/Id/ods-organization-code#ODS Organisation Code#R0A)</a></p></div>"
        },
        "identifier" : {
          "system" : "https://fhir.mft.nhs.uk/Id/document",
          "value" : "DOC-55777"
        },
        "status" : "final",
        "type" : {
          "coding" : [
            {
              "system" : "http://loinc.org",
              "code" : "34105-7",
              "display" : "Hospital Discharge Summary"
            }
          ]
        },
        "subject" : {
          🔗 "reference" : "Patient/Patient-Tameside"
        },
        "encounter" : {
          🔗 "reference" : "Encounter/CardiacCatheterisationSpell"
        },
        "date" : "2026-09-24T11:00:00+01:00",
        "author" : [
          {
            🔗 "reference" : "PractitionerRole/CardiologistBrownRole"
          }
        ],
        "title" : "Cardiology discharge report",
        "custodian" : {
          🔗 "reference" : "Organization/R0A"
        },
        "section" : [
          {
            "title" : "Hospital course",
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "8648-8"
                }
              ]
            },
            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Cardiac catheterisation on 21 September 2026 confirmed coronary artery disease.</div>"
            }
          },
          {
            "title" : "Plan of care",
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "18776-5"
                }
              ]
            },
            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Medical management. GP to review lipids and blood pressure in 3 months. Discharged from cardiology.</div>"
            }
          }
        ]
      }
    }
  ]
}