NHS Digital FHIR Implementation Guide (Retired - 2.1.50)

This guidance is under active development by NHS Digital and content may be added or updated on a regular basis.

Message-Reason-Codes

Url
https://fhir.nhs.uk/ValueSet/message-reason-code

ValueSet 'MessageReasonCodes'

Version1.0.1
StatusActive

Complete set of message reasons codes

This value set includes codes from the following code systems:

  • Import all codes from CodeSystem
  • Import all codes from CodeSystem

Expansion

This expansion was generated on 2020-10-07T18:08:05+10:00

This value set contains 9 concepts

CodeSystemDisplay
notificationhttps://fhir.nhs.uk/CodeSystem/message-reason-prescriptionNotification
claimhttps://fhir.nhs.uk/CodeSystem/message-reason-prescriptionClaim
cancelhttps://fhir.nhs.uk/CodeSystem/message-reason-prescriptionCancel
edithttps://fhir.nhs.uk/CodeSystem/message-reason-encounterEdit
movedhttps://fhir.nhs.uk/CodeSystem/message-reason-encounterMoved
dischargehttps://fhir.nhs.uk/CodeSystem/message-reason-encounterDischarge
absenthttps://fhir.nhs.uk/CodeSystem/message-reason-encounterAbsent
admithttps://fhir.nhs.uk/CodeSystem/message-reason-encounterAdmit
returnhttps://fhir.nhs.uk/CodeSystem/message-reason-encounterReturned
{
    "resourceType": "ValueSet",
    "id": "message-reason-code",
    "url": "https://fhir.nhs.uk/ValueSet/message-reason-code",
    "version": "1.0.1",
    "name": "MessageReasonCodes",
    "status": "active",
    "description": "Complete set of message reasons codes",
    "compose": {
        "include":  [
            {
                "system": "https://fhir.nhs.uk/CodeSystem/message-reason-prescription",
                "version": "1.0.1"
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/message-reason-encounter",
                "version": "1.0.0"
            }
        ]
    },
    "expansion": {
        "timestamp": "2020-10-07T18:08:05+10:00",
        "total": 9,
        "offset": 0,
        "parameter":  [
            {
                "name": "version",
                "valueUri": "https://fhir.nhs.uk/CodeSystem/message-reason-encounter|1.0.0"
            },
            {
                "name": "version",
                "valueUri": "https://fhir.nhs.uk/CodeSystem/message-reason-prescription|1.0.1"
            },
            {
                "name": "count",
                "valueInteger": 2147483647
            },
            {
                "name": "offset",
                "valueInteger": 0
            }
        ],
        "contains":  [
            {
                "system": "https://fhir.nhs.uk/CodeSystem/message-reason-prescription",
                "version": "1.0.1",
                "code": "notification",
                "display": "Notification"
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/message-reason-prescription",
                "version": "1.0.1",
                "code": "claim",
                "display": "Claim"
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/message-reason-prescription",
                "version": "1.0.1",
                "code": "cancel",
                "display": "Cancel"
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/message-reason-encounter",
                "version": "1.0.0",
                "code": "edit",
                "display": "Edit"
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/message-reason-encounter",
                "version": "1.0.0",
                "code": "moved",
                "display": "Moved"
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/message-reason-encounter",
                "version": "1.0.0",
                "code": "discharge",
                "display": "Discharge"
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/message-reason-encounter",
                "version": "1.0.0",
                "code": "absent",
                "display": "Absent"
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/message-reason-encounter",
                "version": "1.0.0",
                "code": "admit",
                "display": "Admit"
            },
            {
                "system": "https://fhir.nhs.uk/CodeSystem/message-reason-encounter",
                "version": "1.0.0",
                "code": "return",
                "display": "Returned"
            }
        ]
    }
}
<ValueSet xmlns="http://hl7.org/fhir">
    <id value="message-reason-code" />
    <url value="https://fhir.nhs.uk/ValueSet/message-reason-code" />
    <version value="1.0.1" />
    <name value="MessageReasonCodes" />
    <status value="active" />
    <description value="Complete set of message reasons codes" />
    <compose>
        <include>
            <system value="https://fhir.nhs.uk/CodeSystem/message-reason-prescription" />
            <version value="1.0.1" />
        </include>
        <include>
            <system value="https://fhir.nhs.uk/CodeSystem/message-reason-encounter" />
            <version value="1.0.0" />
        </include>
    </compose>
    <expansion>
        <timestamp value="2020-10-07T18:08:05+10:00" />
        <total value="9" />
        <offset value="0" />
        <parameter>
            <name value="version" />
            <valueUri value="https://fhir.nhs.uk/CodeSystem/message-reason-encounter|1.0.0" />
        </parameter>
        <parameter>
            <name value="version" />
            <valueUri value="https://fhir.nhs.uk/CodeSystem/message-reason-prescription|1.0.1" />
        </parameter>
        <parameter>
            <name value="count" />
            <valueInteger value="2147483647" />
        </parameter>
        <parameter>
            <name value="offset" />
            <valueInteger value="0" />
        </parameter>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/message-reason-prescription" />
            <version value="1.0.1" />
            <code value="notification" />
            <display value="Notification" />
        </contains>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/message-reason-prescription" />
            <version value="1.0.1" />
            <code value="claim" />
            <display value="Claim" />
        </contains>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/message-reason-prescription" />
            <version value="1.0.1" />
            <code value="cancel" />
            <display value="Cancel" />
        </contains>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/message-reason-encounter" />
            <version value="1.0.0" />
            <code value="edit" />
            <display value="Edit" />
        </contains>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/message-reason-encounter" />
            <version value="1.0.0" />
            <code value="moved" />
            <display value="Moved" />
        </contains>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/message-reason-encounter" />
            <version value="1.0.0" />
            <code value="discharge" />
            <display value="Discharge" />
        </contains>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/message-reason-encounter" />
            <version value="1.0.0" />
            <code value="absent" />
            <display value="Absent" />
        </contains>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/message-reason-encounter" />
            <version value="1.0.0" />
            <code value="admit" />
            <display value="Admit" />
        </contains>
        <contains>
            <system value="https://fhir.nhs.uk/CodeSystem/message-reason-encounter" />
            <version value="1.0.0" />
            <code value="return" />
            <display value="Returned" />
        </contains>
    </expansion>
</ValueSet>
back to top