NHS England FHIR Implementation Guide (deprecated)

Important Announcement regarding this Implementation Guide
  • As of 04/10/2023, this implementation guide has been deprecated and all development on the legacy NHS England FHIR Implementation Guide assets has ceased.
  • Therefore, vendors looking to start new implementations or looking to update existing implementations should use the new NHS England Implementation Guide. Vendors continuing to implement legacy NHS England FHIR Implementation Guide based solutions do so at their own risk and on the understanding that no maintenance or support will be available.

eps-issue-code-to-fhir-issue-type

Url
https://fhir.nhs.uk/ConceptMap/eps-issue-code-to-fhir-issue-type
Source CodeSystem Destination CodeSystem
https://fhir.nhs.uk/CodeSystem/EPS-IssueCode http://hl7.org/fhir/issue-type

SourceEquivalenceDestinationComment
PATIENT_DECEASED (Patient is recorded as dead)specializesbusiness-rule (Business Rule Violation)HTTP code: 422
DUPLICATE_PRESCRIPTION_ID (Duplicate prescription ID exists)specializesduplicate (Duplicate)HTTP code: 422
INVALID_NUMBER_MEDICATIONREQUEST (Number of items on a prescription should be between 1 and 4)specializesbusiness-rule (Business Rule Violation)HTTP code: 422
MISMATCH_AUTHORISED_REPEAT_COUNT (Mismatch in authorised repeat counts)specializesbusiness-rule (Business Rule Violation)HTTP code: 422
INVALID_REPEAT_COUNT (Repeat count should be between 1 and 99)specializesbusiness-rule (Business Rule Violation)HTTP code: 422
DUPLICATE_MEDICATIONREQUEST_ID (Duplicate item ID exists)specializesduplicate (Duplicate)HTTP code: 422
INVALID_CHECK_DIGIT (Error in check digit)specializesvalue (Element value invalid)HTTP code: 400
INVALID_MESSAGE (Invalid message)specializesstructure (Structural Issue)HTTP code: 400
{
    "resourceType": "ConceptMap",
    "id": "eps-issue-code-to-fhir-issue-type",
    "url": "https://fhir.nhs.uk/ConceptMap/eps-issue-code-to-fhir-issue-type",
    "version": "1.1.0",
    "name": "EPSissuecodetofhirissuetype",
    "title": "EPS Issue Code to FHIR Issue Type Map",
    "status": "draft",
    "experimental": true,
    "date": "2020-08-05",
    "publisher": "NHS Digital",
    "description": "EPS Issue Code to FHIR Issue Type Map",
    "purpose": "NHS Digital Spine",
    "group":  [
        {
            "source": "https://fhir.nhs.uk/CodeSystem/EPS-IssueCode",
            "target": "http://hl7.org/fhir/issue-type",
            "element":  [
                {
                    "code": "PATIENT_DECEASED",
                    "display": "Patient is recorded as dead",
                    "target":  [
                        {
                            "code": "business-rule",
                            "display": "Business Rule Violation",
                            "equivalence": "specializes",
                            "comment": "HTTP code: 422"
                        }
                    ]
                },
                {
                    "code": "DUPLICATE_PRESCRIPTION_ID",
                    "display": "Duplicate prescription ID exists",
                    "target":  [
                        {
                            "code": "duplicate",
                            "display": "Duplicate",
                            "equivalence": "specializes",
                            "comment": "HTTP code: 422"
                        }
                    ]
                },
                {
                    "code": "INVALID_NUMBER_MEDICATIONREQUEST",
                    "display": "Number of items on a prescription should be between 1 and 4",
                    "target":  [
                        {
                            "code": "business-rule",
                            "display": "Business Rule Violation",
                            "equivalence": "specializes",
                            "comment": "HTTP code: 422"
                        }
                    ]
                },
                {
                    "code": "MISMATCH_AUTHORISED_REPEAT_COUNT",
                    "display": "Mismatch in authorised repeat counts",
                    "target":  [
                        {
                            "code": "business-rule",
                            "display": "Business Rule Violation",
                            "equivalence": "specializes",
                            "comment": "HTTP code: 422"
                        }
                    ]
                },
                {
                    "code": "INVALID_REPEAT_COUNT",
                    "display": "Repeat count should be between 1 and 99",
                    "target":  [
                        {
                            "code": "business-rule",
                            "display": "Business Rule Violation",
                            "equivalence": "specializes",
                            "comment": "HTTP code: 422"
                        }
                    ]
                },
                {
                    "code": "DUPLICATE_MEDICATIONREQUEST_ID",
                    "display": "Duplicate item ID exists",
                    "target":  [
                        {
                            "code": "duplicate",
                            "display": "Duplicate",
                            "equivalence": "specializes",
                            "comment": "HTTP code: 422"
                        }
                    ]
                },
                {
                    "code": "INVALID_CHECK_DIGIT",
                    "display": "Error in check digit",
                    "target":  [
                        {
                            "code": "value",
                            "display": "Element value invalid",
                            "equivalence": "specializes",
                            "comment": "HTTP code: 400"
                        }
                    ]
                },
                {
                    "code": "INVALID_MESSAGE",
                    "display": "Invalid message",
                    "target":  [
                        {
                            "code": "structure",
                            "display": "Structural Issue",
                            "equivalence": "specializes",
                            "comment": "HTTP code: 400"
                        }
                    ]
                }
            ]
        }
    ]
}
<ConceptMap xmlns="http://hl7.org/fhir">
    <id value="eps-issue-code-to-fhir-issue-type" />
    <url value="https://fhir.nhs.uk/ConceptMap/eps-issue-code-to-fhir-issue-type" />
    <version value="1.1.0" />
    <name value="EPSissuecodetofhirissuetype" />
    <title value="EPS Issue Code to FHIR Issue Type Map" />
    <status value="draft" />
    <experimental value="true" />
    <date value="2020-08-05" />
    <publisher value="NHS Digital" />
    <description value="EPS Issue Code to FHIR Issue Type Map" />
    <purpose value="NHS Digital Spine" />
    <group>
        <source value="https://fhir.nhs.uk/CodeSystem/EPS-IssueCode" />
        <target value="http://hl7.org/fhir/issue-type" />
        <element>
            <code value="PATIENT_DECEASED" />
            <display value="Patient is recorded as dead" />
            <target>
                <code value="business-rule" />
                <display value="Business Rule Violation" />
                <equivalence value="specializes" />
                <comment value="HTTP code: 422" />
            </target>
        </element>
        <element>
            <code value="DUPLICATE_PRESCRIPTION_ID" />
            <display value="Duplicate prescription ID exists" />
            <target>
                <code value="duplicate" />
                <display value="Duplicate" />
                <equivalence value="specializes" />
                <comment value="HTTP code: 422" />
            </target>
        </element>
        <element>
            <code value="INVALID_NUMBER_MEDICATIONREQUEST" />
            <display value="Number of items on a prescription should be between 1 and 4" />
            <target>
                <code value="business-rule" />
                <display value="Business Rule Violation" />
                <equivalence value="specializes" />
                <comment value="HTTP code: 422" />
            </target>
        </element>
        <element>
            <code value="MISMATCH_AUTHORISED_REPEAT_COUNT" />
            <display value="Mismatch in authorised repeat counts" />
            <target>
                <code value="business-rule" />
                <display value="Business Rule Violation" />
                <equivalence value="specializes" />
                <comment value="HTTP code: 422" />
            </target>
        </element>
        <element>
            <code value="INVALID_REPEAT_COUNT" />
            <display value="Repeat count should be between 1 and 99" />
            <target>
                <code value="business-rule" />
                <display value="Business Rule Violation" />
                <equivalence value="specializes" />
                <comment value="HTTP code: 422" />
            </target>
        </element>
        <element>
            <code value="DUPLICATE_MEDICATIONREQUEST_ID" />
            <display value="Duplicate item ID exists" />
            <target>
                <code value="duplicate" />
                <display value="Duplicate" />
                <equivalence value="specializes" />
                <comment value="HTTP code: 422" />
            </target>
        </element>
        <element>
            <code value="INVALID_CHECK_DIGIT" />
            <display value="Error in check digit" />
            <target>
                <code value="value" />
                <display value="Element value invalid" />
                <equivalence value="specializes" />
                <comment value="HTTP code: 400" />
            </target>
        </element>
        <element>
            <code value="INVALID_MESSAGE" />
            <display value="Invalid message" />
            <target>
                <code value="structure" />
                <display value="Structural Issue" />
                <equivalence value="specializes" />
                <comment value="HTTP code: 400" />
            </target>
        </element>
    </group>
</ConceptMap>

back to top