UK Core Implementation Guide STU3 Sequence - Sprint 6 Review

UK Core EPS Issue Code

HTML View

This code system https://fhir.hl7.org.uk/CodeSystem/UKCore-EPSIssueCode defines the following codes:

CodeDisplayDefinition
PATIENT_DECEASEDPatient is recorded as deadNot applicable to prescribing systems Note. The Spine will not reject a prescription for a dead patient however the requirement to check PDS for death status before prescribing prevents this scenario occurring.
DUPLICATE_PRESCRIPTION_IDDuplicate prescription ID existsThe System SHALL create a new prescription UUID and re-submit the prescription to the Spine.
MISSING_DIGITAL_SIGNATUREDigital signature not foundThe System SHALL create and apply a digital signature to the prescription and re-submit the prescription to the Spine
INVALID_MESSAGEInvalid messageThe prescription message has failed structural validation at the Spine. A defect report SHOULD be raised against the local System or the Spine (whichever is in error). The prescriber SHALL be notified accordingly to use a paper FP10 prescription.
INVALID_NUMBER_MEDICATIONREQUESTSNumber of items on a prescription SHALL be between 1 and 4The prescriber SHALL be notified accordingly and asked to split the items across separate prescriptions.
MISMATCH_AUTHORISED_REPEAT_COUNTMismatch in authorised repeat countsThe “repeatNumber” attribute exists at both the prescription and item level. An item cannot be authorised for more repeats than the prescription.
INVALID_REPEAT_COUNTRepeat count SHALL be between 1 and 99The maximum “high” value for the “repeatNumber” attribute is 99.
DUPLICATE_MEDICATIONREQUEST_IDDuplicate item ID existsThe System SHALL create a new line item UUID and re-submit the prescription to the Spine.
INVALID_CHECK_DIGITError in check digitThe System SHALL re-calculate / correct the check digit and re-submit the prescription to the Spine.
INVALID_DATE_FORMATFormat of date passed is invalidThe format of a date/time attribute with the prescription does not confirm with the format defined within the DMS. The System SHALL correct the date/time attribute and re-submit the prescription to the Spine.
PRESCRIPTION_CANCELLEDPrescription has been cancelledInform the dispenser to advise the patient that their prescription has been cancelled
PRESCRIPTION_EXPIREDPrescription has expiredInform the dispenser that the prescription has expired and it cannot be downloaded
PRESCRIPTION_WITH_ANOTHER_DISPENSERPrescription is with another dispenserInform the dispenser that the prescription has been downloaded by another dispenser. The rejection message will contain details of the dispensing site that has the prescription.
PRESCRIPTION_DISPENSEDPrescription has been dispensedInform the dispenser to advise the patient that this prescription has already been dispensed.
NO_MORE_PRESCRIPTIONSNo more prescriptions availableNo further request messages to pull down nominated prescriptions should be submitted at this time
SERVICE_DISABLEDfunctionality disabled in spineThe Spine nomination functionality has been disabled at the request of the Authority and the message is rejected. The request will not be processed. However, the prescription request by prescription unique identifier SHOULD be available.
PRESCRIPTION_NOT_FOUNDPrescription can not be found. Contact prescriber
PRESCRIPTION_INVALID_STATE_TRANSITIONInvalid State Transition for Prescription
MEDICATIONREQUEST_INVALID_STATE_TRANSITIONInvalid State Transition for Prescription Item
MEDICATIONREQUEST_NOT_FOUNDPrescription Item Not found
CLAIM_INVALID_NOT_DISPENSEDInvalid Claim. Prescription is not Dispensed
DISPENSE_AMEND_IDENTIFIER_MISMATCHDispense Amendment/Cancellation Request does not pertain to Last Dispense
CLAIM_AMEND_PERIOD_ISSUEClaim amendment is not permitted outside of the claim period

Table View

CodeSystem.id[0]UKCore-EPSIssueCode
CodeSystem.url[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-EPSIssueCode
CodeSystem.version[0]1.1.0
CodeSystem.name[0]UKCoreEPSIssueCode
CodeSystem.title[0]UK Core EPS Issue Code
CodeSystem.status[0]active
CodeSystem.date[0]2022-08-26
CodeSystem.publisher[0]HL7 UK
CodeSystem.contact[0].name[0]HL7 UK
CodeSystem.contact[0].telecom[0].system[0]email
CodeSystem.contact[0].telecom[0].value[0]ukcore@hl7.org.uk
CodeSystem.contact[0].telecom[0].use[0]work
CodeSystem.contact[0].telecom[0].rank[0]1
CodeSystem.description[0]A set of codes that define types of EPS issue.
CodeSystem.copyright[0]Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at https://www.hl7.org/fhir/license.html.
CodeSystem.caseSensitive[0]True
CodeSystem.content[0]complete
CodeSystem.concept[0].code[0]PATIENT_DECEASED
CodeSystem.concept[0].display[0]Patient is recorded as dead
CodeSystem.concept[0].definition[0]Not applicable to prescribing systems Note. The Spine will not reject a prescription for a dead patient however the requirement to check PDS for death status before prescribing prevents this scenario occurring.
CodeSystem.concept[1].code[0]DUPLICATE_PRESCRIPTION_ID
CodeSystem.concept[1].display[0]Duplicate prescription ID exists
CodeSystem.concept[1].definition[0]The System SHALL create a new prescription UUID and re-submit the prescription to the Spine.
CodeSystem.concept[2].code[0]MISSING_DIGITAL_SIGNATURE
CodeSystem.concept[2].display[0]Digital signature not found
CodeSystem.concept[2].definition[0]The System SHALL create and apply a digital signature to the prescription and re-submit the prescription to the Spine
CodeSystem.concept[3].code[0]INVALID_MESSAGE
CodeSystem.concept[3].display[0]Invalid message
CodeSystem.concept[3].definition[0]The prescription message has failed structural validation at the Spine. A defect report SHOULD be raised against the local System or the Spine (whichever is in error). The prescriber SHALL be notified accordingly to use a paper FP10 prescription.
CodeSystem.concept[4].code[0]INVALID_NUMBER_MEDICATIONREQUESTS
CodeSystem.concept[4].display[0]Number of items on a prescription SHALL be between 1 and 4
CodeSystem.concept[4].definition[0]The prescriber SHALL be notified accordingly and asked to split the items across separate prescriptions.
CodeSystem.concept[5].code[0]MISMATCH_AUTHORISED_REPEAT_COUNT
CodeSystem.concept[5].display[0]Mismatch in authorised repeat counts
CodeSystem.concept[5].definition[0]The “repeatNumber” attribute exists at both the prescription and item level. An item cannot be authorised for more repeats than the prescription.
CodeSystem.concept[6].code[0]INVALID_REPEAT_COUNT
CodeSystem.concept[6].display[0]Repeat count SHALL be between 1 and 99
CodeSystem.concept[6].definition[0]The maximum “high” value for the “repeatNumber” attribute is 99.
CodeSystem.concept[7].code[0]DUPLICATE_MEDICATIONREQUEST_ID
CodeSystem.concept[7].display[0]Duplicate item ID exists
CodeSystem.concept[7].definition[0]The System SHALL create a new line item UUID and re-submit the prescription to the Spine.
CodeSystem.concept[8].code[0]INVALID_CHECK_DIGIT
CodeSystem.concept[8].display[0]Error in check digit
CodeSystem.concept[8].definition[0]The System SHALL re-calculate / correct the check digit and re-submit the prescription to the Spine.
CodeSystem.concept[9].code[0]INVALID_DATE_FORMAT
CodeSystem.concept[9].display[0]Format of date passed is invalid
CodeSystem.concept[9].definition[0]The format of a date/time attribute with the prescription does not confirm with the format defined within the DMS. The System SHALL correct the date/time attribute and re-submit the prescription to the Spine.
CodeSystem.concept[10].code[0]PRESCRIPTION_CANCELLED
CodeSystem.concept[10].display[0]Prescription has been cancelled
CodeSystem.concept[10].definition[0]Inform the dispenser to advise the patient that their prescription has been cancelled
CodeSystem.concept[11].code[0]PRESCRIPTION_EXPIRED
CodeSystem.concept[11].display[0]Prescription has expired
CodeSystem.concept[11].definition[0]Inform the dispenser that the prescription has expired and it cannot be downloaded
CodeSystem.concept[12].code[0]PRESCRIPTION_WITH_ANOTHER_DISPENSER
CodeSystem.concept[12].display[0]Prescription is with another dispenser
CodeSystem.concept[12].definition[0]Inform the dispenser that the prescription has been downloaded by another dispenser. The rejection message will contain details of the dispensing site that has the prescription.
CodeSystem.concept[13].code[0]PRESCRIPTION_DISPENSED
CodeSystem.concept[13].display[0]Prescription has been dispensed
CodeSystem.concept[13].definition[0]Inform the dispenser to advise the patient that this prescription has already been dispensed.
CodeSystem.concept[14].code[0]NO_MORE_PRESCRIPTIONS
CodeSystem.concept[14].display[0]No more prescriptions available
CodeSystem.concept[14].definition[0]No further request messages to pull down nominated prescriptions should be submitted at this time
CodeSystem.concept[15].code[0]SERVICE_DISABLED
CodeSystem.concept[15].display[0]functionality disabled in spine
CodeSystem.concept[15].definition[0]The Spine nomination functionality has been disabled at the request of the Authority and the message is rejected. The request will not be processed. However, the prescription request by prescription unique identifier SHOULD be available.
CodeSystem.concept[16].code[0]PRESCRIPTION_NOT_FOUND
CodeSystem.concept[16].display[0]Prescription can not be found. Contact prescriber
CodeSystem.concept[17].code[0]PRESCRIPTION_INVALID_STATE_TRANSITION
CodeSystem.concept[17].display[0]Invalid State Transition for Prescription
CodeSystem.concept[18].code[0]MEDICATIONREQUEST_INVALID_STATE_TRANSITION
CodeSystem.concept[18].display[0]Invalid State Transition for Prescription Item
CodeSystem.concept[19].code[0]MEDICATIONREQUEST_NOT_FOUND
CodeSystem.concept[19].display[0]Prescription Item Not found
CodeSystem.concept[20].code[0]CLAIM_INVALID_NOT_DISPENSED
CodeSystem.concept[20].display[0]Invalid Claim. Prescription is not Dispensed
CodeSystem.concept[21].code[0]DISPENSE_AMEND_IDENTIFIER_MISMATCH
CodeSystem.concept[21].display[0]Dispense Amendment/Cancellation Request does not pertain to Last Dispense
CodeSystem.concept[22].code[0]CLAIM_AMEND_PERIOD_ISSUE
CodeSystem.concept[22].display[0]Claim amendment is not permitted outside of the claim period

XML View

<CodeSystem xmlns="http://hl7.org/fhir">
    <id value="UKCore-EPSIssueCode" />
    <url value="https://fhir.hl7.org.uk/CodeSystem/UKCore-EPSIssueCode" />
    <version value="1.1.0" />
    <name value="UKCoreEPSIssueCode" />
    <title value="UK Core EPS Issue Code" />
    <status value="active" />
    <date value="2022-08-26" />
    <publisher value="HL7 UK" />
    <contact>
        <name value="HL7 UK" />
        <telecom>
            <system value="email" />
            <value value="ukcore@hl7.org.uk" />
            <use value="work" />
            <rank value="1" />
        </telecom>
    </contact>
    <description value="A set of codes that define types of EPS issue." />
    <copyright value="Copyright &#169; 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License.  You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the specific language governing permissions and limitations under the License. HL7&#174; FHIR&#174; standard Copyright &#169; 2011+ HL7 The HL7&#174; FHIR&#174; standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html." />
    <caseSensitive value="true" />
    <content value="complete" />
    <concept>
        <code value="PATIENT_DECEASED" />
        <display value="Patient is recorded as dead" />
        <definition value="Not applicable to prescribing systems Note. The Spine will not reject a prescription for a dead patient however the requirement to check PDS for death status before prescribing prevents this scenario occurring." />
    </concept>
    <concept>
        <code value="DUPLICATE_PRESCRIPTION_ID" />
        <display value="Duplicate prescription ID exists" />
        <definition value="The System SHALL create a new prescription UUID and re-submit the prescription to the Spine." />
    </concept>
    <concept>
        <code value="MISSING_DIGITAL_SIGNATURE" />
        <display value="Digital signature not found" />
        <definition value="The System SHALL create and apply a digital signature to the prescription and re-submit the prescription to the Spine" />
    </concept>
    <concept>
        <code value="INVALID_MESSAGE" />
        <display value="Invalid message" />
        <definition value="The prescription message has failed structural validation at the Spine. A defect report SHOULD be raised against the local System or the Spine (whichever is in error). The prescriber SHALL be notified accordingly to use a paper FP10 prescription." />
    </concept>
    <concept>
        <code value="INVALID_NUMBER_MEDICATIONREQUESTS" />
        <display value="Number of items on a prescription SHALL be between 1 and 4" />
        <definition value="The prescriber SHALL be notified accordingly and asked to split the items across separate prescriptions." />
    </concept>
    <concept>
        <code value="MISMATCH_AUTHORISED_REPEAT_COUNT" />
        <display value="Mismatch in authorised repeat counts" />
        <definition value="The “repeatNumber” attribute exists at both the prescription and item level. An item cannot be authorised for more repeats than the prescription." />
    </concept>
    <concept>
        <code value="INVALID_REPEAT_COUNT" />
        <display value="Repeat count SHALL be between 1 and 99" />
        <definition value="The maximum “high” value for the “repeatNumber” attribute is 99." />
    </concept>
    <concept>
        <code value="DUPLICATE_MEDICATIONREQUEST_ID" />
        <display value="Duplicate item ID exists" />
        <definition value="The System SHALL create a new line item UUID and re-submit the prescription to the Spine." />
    </concept>
    <concept>
        <code value="INVALID_CHECK_DIGIT" />
        <display value="Error in check digit" />
        <definition value="The System SHALL re-calculate / correct the check digit and re-submit the prescription to the Spine." />
    </concept>
    <concept>
        <code value="INVALID_DATE_FORMAT" />
        <display value="Format of date passed is invalid" />
        <definition value="The format of a date/time attribute with the prescription does not confirm with the format defined within the DMS. The System SHALL correct the date/time attribute and re-submit the prescription to the Spine." />
    </concept>
    <concept>
        <code value="PRESCRIPTION_CANCELLED" />
        <display value="Prescription has been cancelled" />
        <definition value="Inform the dispenser to advise the patient that their prescription has been cancelled" />
    </concept>
    <concept>
        <code value="PRESCRIPTION_EXPIRED" />
        <display value="Prescription has expired" />
        <definition value="Inform the dispenser that the prescription has expired and it cannot be downloaded" />
    </concept>
    <concept>
        <code value="PRESCRIPTION_WITH_ANOTHER_DISPENSER" />
        <display value="Prescription is with another dispenser" />
        <definition value="Inform the dispenser that the prescription has been downloaded by another dispenser. The rejection message will contain details of the dispensing site that has the prescription." />
    </concept>
    <concept>
        <code value="PRESCRIPTION_DISPENSED" />
        <display value="Prescription has been dispensed" />
        <definition value="Inform the dispenser to advise the patient that this prescription has already been dispensed." />
    </concept>
    <concept>
        <code value="NO_MORE_PRESCRIPTIONS" />
        <display value="No more prescriptions available" />
        <definition value="No further request messages to pull down nominated prescriptions should be submitted at this time" />
    </concept>
    <concept>
        <code value="SERVICE_DISABLED" />
        <display value="functionality disabled in spine" />
        <definition value="The Spine nomination functionality has been disabled at the request of the Authority and the message is rejected. The request will not be processed. However, the prescription request by prescription unique identifier SHOULD be available." />
    </concept>
    <concept>
        <code value="PRESCRIPTION_NOT_FOUND" />
        <display value="Prescription can not be found. Contact prescriber" />
    </concept>
    <concept>
        <code value="PRESCRIPTION_INVALID_STATE_TRANSITION" />
        <display value="Invalid State Transition for Prescription" />
    </concept>
    <concept>
        <code value="MEDICATIONREQUEST_INVALID_STATE_TRANSITION" />
        <display value="Invalid State Transition for Prescription Item" />
    </concept>
    <concept>
        <code value="MEDICATIONREQUEST_NOT_FOUND" />
        <display value="Prescription Item Not found" />
    </concept>
    <concept>
        <code value="CLAIM_INVALID_NOT_DISPENSED" />
        <display value="Invalid Claim. Prescription is not Dispensed" />
    </concept>
    <concept>
        <code value="DISPENSE_AMEND_IDENTIFIER_MISMATCH" />
        <display value="Dispense Amendment/Cancellation Request does not pertain to Last Dispense" />
    </concept>
    <concept>
        <code value="CLAIM_AMEND_PERIOD_ISSUE" />
        <display value="Claim amendment is not permitted outside of the claim period" />
    </concept>
</CodeSystem>

JSON View

{
    "resourceType": "CodeSystem",
    "id": "UKCore-EPSIssueCode",
    "url": "https://fhir.hl7.org.uk/CodeSystem/UKCore-EPSIssueCode",
    "version": "1.1.0",
    "name": "UKCoreEPSIssueCode",
    "title": "UK Core EPS Issue Code",
    "status": "active",
    "date": "2022-08-26",
    "publisher": "HL7 UK",
    "contact":  [
        {
            "name": "HL7 UK",
            "telecom":  [
                {
                    "system": "email",
                    "value": "ukcore@hl7.org.uk",
                    "use": "work",
                    "rank": 1
                }
            ]
        }
    ],
    "description": "A set of codes that define types of EPS issue.",
    "copyright": "Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License.  You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html.",
    "caseSensitive": true,
    "content": "complete",
    "concept":  [
        {
            "code": "PATIENT_DECEASED",
            "display": "Patient is recorded as dead",
            "definition": "Not applicable to prescribing systems Note. The Spine will not reject a prescription for a dead patient however the requirement to check PDS for death status before prescribing prevents this scenario occurring."
        },
        {
            "code": "DUPLICATE_PRESCRIPTION_ID",
            "display": "Duplicate prescription ID exists",
            "definition": "The System SHALL create a new prescription UUID and re-submit the prescription to the Spine."
        },
        {
            "code": "MISSING_DIGITAL_SIGNATURE",
            "display": "Digital signature not found",
            "definition": "The System SHALL create and apply a digital signature to the prescription and re-submit the prescription to the Spine"
        },
        {
            "code": "INVALID_MESSAGE",
            "display": "Invalid message",
            "definition": "The prescription message has failed structural validation at the Spine. A defect report SHOULD be raised against the local System or the Spine (whichever is in error). The prescriber SHALL be notified accordingly to use a paper FP10 prescription."
        },
        {
            "code": "INVALID_NUMBER_MEDICATIONREQUESTS",
            "display": "Number of items on a prescription SHALL be between 1 and 4",
            "definition": "The prescriber SHALL be notified accordingly and asked to split the items across separate prescriptions."
        },
        {
            "code": "MISMATCH_AUTHORISED_REPEAT_COUNT",
            "display": "Mismatch in authorised repeat counts",
            "definition": "The “repeatNumber” attribute exists at both the prescription and item level. An item cannot be authorised for more repeats than the prescription."
        },
        {
            "code": "INVALID_REPEAT_COUNT",
            "display": "Repeat count SHALL be between 1 and 99",
            "definition": "The maximum “high” value for the “repeatNumber” attribute is 99."
        },
        {
            "code": "DUPLICATE_MEDICATIONREQUEST_ID",
            "display": "Duplicate item ID exists",
            "definition": "The System SHALL create a new line item UUID and re-submit the prescription to the Spine."
        },
        {
            "code": "INVALID_CHECK_DIGIT",
            "display": "Error in check digit",
            "definition": "The System SHALL re-calculate / correct the check digit and re-submit the prescription to the Spine."
        },
        {
            "code": "INVALID_DATE_FORMAT",
            "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 SHALL correct the date/time attribute and re-submit the prescription to the Spine."
        },
        {
            "code": "PRESCRIPTION_CANCELLED",
            "display": "Prescription has been cancelled",
            "definition": "Inform the dispenser to advise the patient that their prescription has been cancelled"
        },
        {
            "code": "PRESCRIPTION_EXPIRED",
            "display": "Prescription has expired",
            "definition": "Inform the dispenser that the prescription has expired and it cannot be downloaded"
        },
        {
            "code": "PRESCRIPTION_WITH_ANOTHER_DISPENSER",
            "display": "Prescription is with another dispenser",
            "definition": "Inform the dispenser that the prescription has been downloaded by another dispenser. The rejection message will contain details of the dispensing site that has the prescription."
        },
        {
            "code": "PRESCRIPTION_DISPENSED",
            "display": "Prescription has been dispensed",
            "definition": "Inform the dispenser to advise the patient that this prescription has already been dispensed."
        },
        {
            "code": "NO_MORE_PRESCRIPTIONS",
            "display": "No more prescriptions available",
            "definition": "No further request messages to pull down nominated prescriptions should be submitted at this time"
        },
        {
            "code": "SERVICE_DISABLED",
            "display": "functionality disabled in spine",
            "definition": "The Spine nomination functionality has been disabled at the request of the Authority and the message is rejected. The request will not be processed. However, the prescription request by prescription unique identifier SHOULD be available."
        },
        {
            "code": "PRESCRIPTION_NOT_FOUND",
            "display": "Prescription can not be found. Contact prescriber"
        },
        {
            "code": "PRESCRIPTION_INVALID_STATE_TRANSITION",
            "display": "Invalid State Transition for Prescription"
        },
        {
            "code": "MEDICATIONREQUEST_INVALID_STATE_TRANSITION",
            "display": "Invalid State Transition for Prescription Item"
        },
        {
            "code": "MEDICATIONREQUEST_NOT_FOUND",
            "display": "Prescription Item Not found"
        },
        {
            "code": "CLAIM_INVALID_NOT_DISPENSED",
            "display": "Invalid Claim. Prescription is not Dispensed"
        },
        {
            "code": "DISPENSE_AMEND_IDENTIFIER_MISMATCH",
            "display": "Dispense Amendment/Cancellation Request does not pertain to Last Dispense"
        },
        {
            "code": "CLAIM_AMEND_PERIOD_ISSUE",
            "display": "Claim amendment is not permitted outside of the claim period"
        }
    ]
}


back to top