PackagesCanonicalsLogsProblems
    Packages
    uk.nhsdigital.r4@2.4.6
    https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history
{
  "description": "MedicationRequest Status Reason History. Taken from HL7v3 UK Cancellation Reason Response",
  "_filename": "CodeSystem-medicationrequest-status-history.json",
  "package_name": "uk.nhsdigital.r4",
  "date": "2020-08-28",
  "publisher": "NHS Digital",
  "content": "complete",
  "name": "MedicationRequestStatusReasonHistory",
  "type": null,
  "experimental": "true",
  "resourceType": "CodeSystem",
  "title": "MedicationRequest Status Reason History",
  "package_version": "2.4.6",
  "status": "draft",
  "id": "43de1017-9e34-408f-994d-4ff9c2564246",
  "kind": null,
  "url": "https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history",
  "identifier": [ {
    "value": "medicationrequest-status-history",
    "system": "https://fhir.nhs.uk/identifier/CodeSystem"
  } ],
  "concept": [ {
    "code": "R-0001",
    "display": "Prescription/item was cancelled",
    "definition": "The cancellation request was successful, and the user is notified accordingly. If the entire prescription has been cancelled, the wording “prescription cancelled successfully” should be included within the user notification. Where one or more medication items have been cancelled, the wording “prescription item(s) cancelled successfully” should be included within the user notification. If the system cannot determine whether an individual item or the entire prescription has been cancelled, the wording “prescription/prescription item cancelled successfully” should be included within the user notification."
  }, {
    "code": "R-0002",
    "display": "Prescription/item was not cancelled – With dispenser",
    "definition": "The cancellation request was unsuccessful because the prescription has been transmitted to a pharmacy for dispensing. The cancellation request identifies the prescription/item to be cancelled and sets a flag in the Spine that should that prescription be returned to the Spine by the dispenser, the prescription will be cancelled, and a cancel response will be sent to the prescriber indicating that the initial cancel request was successful. The user is notified accordingly."
  }, {
    "code": "R-0003",
    "display": "Prescription item was not cancelled – With dispenser active",
    "definition": "The cancellation request was unsuccessful because the prescription has been transmitted to a pharmacy for dispensing and the Spine has identified that dispensing events have been recorded against that prescription. The Spine has been updated accordingly. The response will notify the prescriber which dispenser has the prescription using the ‘Dispenser Information’ block defined within the DMS. It cannot be cancelled. The user must be notified accordingly."
  }, {
    "code": "R-0004",
    "display": "Prescription/item was not cancelled – Dispensed to Patient",
    "definition": "The cancellation request was unsuccessful because the prescription has been transmitted to a pharmacy for dispensing and the Spine has identified that dispensing events have been recorded against that prescription. The Spine has been updated accordingly. The prescription is recorded as having been dispensed. The user must be notified accordingly."
  }, {
    "code": "R-0005",
    "display": "Prescription item had expired",
    "definition": "The prescription item cannot be cancelled because the prescription item has expired. The user must be notified accordingly."
  }, {
    "code": "R-0006",
    "display": "Prescription/item had already been cancelled",
    "definition": "The prescription/item cannot be cancelled because a cancellation request from a prescriber has already been received and the prescription has been cancelled. The user must be notified accordingly. If the entire prescription has been cancelled, the wording “prescription cancelled successfully” should be included within the user notification. Where one or more medication items have been cancelled, the wording “prescription item(s) cancelled successfully” should be included within the user notification. If the system cannot determine whether an individual item or the entire prescription has been cancelled, the wording “prescription/prescription item cancelled successfully” should be included within the user notification."
  }, {
    "code": "R-0007",
    "display": "Prescription/item cancellation requested by another prescriber",
    "definition": "The prescription/item cannot be cancelled because a cancellation request from a prescriber has already been received and the prescription has been marked for cancellation. This would indicate that the prescription is with a dispenser. In this case, the previous cancellation request has set a flag in the Spine such that should that prescription be returned to the Spine, the prescription will be cancelled and a cancel response will be sent to the prescriber The user must be notified accordingly"
  }, {
    "code": "R-0008",
    "display": "Prescription/item not found",
    "definition": "The prescription/item cannot be cancelled because the prescription to be cancelled has not been recorded by the Spine. This situation can occur when; • The cancel request arrives in the ETP component of the Spine before the prescription that is being cancelled. See below for guidance on this scenario. • A cancel request is made for a prescription where there is an error in the prescription UUID defined in the prescription message. • The processing of the prescription has been completed by the ETP component and the Spine has been updated accordingly. In all cases the user must be notified accordingly."
  }, {
    "code": "R-0009",
    "display": "Cancellation functionality disabled in Spine",
    "definition": "The Spine cancellation functionality has been disabled at the request of the Authority and the message is rejected. The cancellation request will not be processed. The prescriber should seek other means to cancel the prescription."
  }, {
    "code": "R-0010",
    "display": "Prescription/item was not cancelled. Prescription has been not dispensed."
  }, {
    "code": "R-0099",
    "display": "Incompatible version of Request. [Additional Information (if any)]",
    "definition": "The user should inform their system supplier that an incompatible version of a request message has been used. This scenario may occur when a new version of the ETP service is deployed but any messaging incompatibles will be carefully managed by the CFH Programme."
  }, {
    "code": "R-5000",
    "display": "Unable to process message. [Additional Information (if any)]",
    "definition": "The user should inform their system supplier that a message was rejected by the Spine."
  }, {
    "code": "R-5888",
    "display": "Invalid message",
    "definition": "The user should inform their system supplier that a message was rejected as invalid by the Spine."
  }, {
    "code": "R-5006",
    "display": "Format of date passed is invalid",
    "definition": "The format of a date/time attribute with the prescription does not confirm with the format defined within the DMS. The System must correct the date/time attribute and re-submit the prescription to the Spine."
  } ],
  "caseSensitive": true,
  "version": "1.1.4",
  "contact": [ {
    "name": "Interoperability Team",
    "telecom": [ {
      "use": "work",
      "value": "interoperabilityteam@nhs.net",
      "system": "email"
    } ]
  } ]
}