{
  "resourceType" : "MessageDefinition",
  "id" : "referral-order",
  "language" : "en",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MessageDefinition referral-order</b></p><a name=\"referral-order\"> </a><a name=\"hcreferral-order\"> </a><p><b>url</b>: <a href=\"MessageDefinition-referral-order.html\">MessageDefinition Referral Order (O19)</a></p><p><b>version</b>: 2.2.5</p><p><b>name</b>: ReferralOrder</p><p><b>title</b>: Referral Order (O19)</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>OMG^O19^OMG_O19</code>\nreferral order (ORC-1 <code>NW</code>), used for a <a href=\"StructureDefinition-GeneticClinicalReferral.html\">Genetic Clinical\nReferral</a> - <code>ServiceRequest.code</code>\nSNOMED CT <code>306119003</code>. The Referral Recipient replies with a <a href=\"MessageDefinition-referral-order-status.html\">Referral Order Status\n(O51)</a> message (accept or decline). A\nlaboratory order sent as <code>OMG^O19</code> uses the <a href=\"MessageDefinition-laboratory-order.html\">Laboratory\nOrder</a> FHIR Message instead.</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-O19\">event: O19</a> (OMG - General clinical 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=\"http://hl7.org/fhir/R4/servicerequest.html\">ServiceRequest</a></td><td>1</td><td>1</td></tr></table><p><b>responseRequired</b>: Always</p><blockquote><p><b>allowedResponse</b></p><p><b>message</b>: <a href=\"MessageDefinition-referral-order-status.html\">Referral Order Status (O51)</a></p><p><b>situation</b>: </p><div><p>Accept (ORC-1 OK, ORC-5 IP) or decline (ORC-1 UA, ORC-5 CA) [PCC-55].</p>\n</div></blockquote><blockquote><p><b>allowedResponse</b></p><p><b>message</b>: <a href=\"MessageDefinition-acknowledgement.html\">Message Definition - Acknowledgement</a></p></blockquote></div>"
  },
  "url" : "https://fhir.nwgenomics.nhs.uk/MessageDefinition/referral-order",
  "version" : "2.2.5",
  "name" : "ReferralOrder",
  "title" : "Referral Order (O19)",
  "status" : "draft",
  "experimental" : true,
  "date" : "2026-11-03",
  "publisher" : "NHS North West Genomics",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "https://www.nwgenomics.nhs.uk/contact-us"
    }]
  }],
  "description" : "**For future use.** FHIR Message equivalent of the IHE 360X HL7 v2.5.1 `OMG^O19^OMG_O19`\nreferral order (ORC-1 `NW`), used for a [Genetic Clinical\nReferral](StructureDefinition-GeneticClinicalReferral.html) - `ServiceRequest.code`\nSNOMED CT `306119003`. The Referral Recipient replies with a [Referral Order Status\n(O51)](MessageDefinition-referral-order-status.html) message (accept or decline). A\nlaboratory order sent as `OMG^O19` uses the [Laboratory\nOrder](MessageDefinition-laboratory-order.html) FHIR Message instead.",
  "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" : "O19"
  },
  "category" : "consequence",
  "focus" : [{
    "code" : "ServiceRequest",
    "profile" : "http://hl7.org/fhir/StructureDefinition/ServiceRequest",
    "min" : 1,
    "max" : "1"
  }],
  "responseRequired" : "always",
  "allowedResponse" : [{
    "message" : "https://fhir.nwgenomics.nhs.uk/MessageDefinition/referral-order-status",
    "situation" : "Accept (ORC-1 OK, ORC-5 IP) or decline (ORC-1 UA, ORC-5 CA) [PCC-55]."
  },
  {
    "message" : "https://fhir.nwgenomics.nhs.uk/MessageDefinition/acknowledgement"
  }]
}