<CodeSystem xmlns="http://hl7.org/fhir">
  <url value="https://fhir.nhs.uk/STU3/CodeSystem/eRS-ReferralState-1" />
  <version value="1.0.1" />
  <name value="eRS Referral State" />
  <status value="active" />
  <date value="2025-11-24" />
  <publisher value="NHS Digital" />
  <contact>
    <name value="Interoperability Team" />
    <telecom>
      <system value="email" />
      <value value="interoperabilityteam@nhs.net" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="A CodeSystem to identify the Referral State of an appointment or referral." />
  <copyright value="Copyright © 2022 NHS Digital" />
  <caseSensitive value="true" />
  <content value="complete" />
  <concept>
    <code value="APPT_CANCELLED_BY_PATIENT" />
    <display value="The referrals most recent appointment was cancelled at the request of, or directly by, a patient" />
  </concept>
  <concept>
    <code value="APPT_CANCELLED_BY_PROVIDER" />
    <display value="The referrals most recent appointment was cancelled by the service provider" />
  </concept>
  <concept>
    <code value="ASSESSMENT_RESULT" />
    <display value="A service provider has reviewed and drafted, or submitted a clinical assessment for the referral" />
  </concept>
  <concept>
    <code value="AWAITING_TRIAGE" />
    <display value="The triage referral is currently pending review with a service provider" />
  </concept>
  <concept>
    <code value="BOOKED" />
    <display value="The referral has a current state of booked" />
  </concept>
  <concept>
    <code value="CANCELLED_REFERRAL" />
    <display value="The referral has been cancelled and cannot be progressed any further" />
  </concept>
  <concept>
    <code value="DEFERRED_TO_PROVIDER" />
    <display value="The service provider will arrange the patient’s appointment" />
  </concept>
  <concept>
    <code value="DID_NOT_ATTEND" />
    <display value="The patient did not attend their last appointment" />
  </concept>
  <concept>
    <code value="NOT_BOOKED" />
    <display value="The referral is currently not booked, there is currently no planned patient encounter" />
  </concept>
  <concept>
    <code value="REJECTED" />
    <display value="The referral was rejected by a provider at their service" />
  </concept>
  <concept>
    <code value="TRIAGE_RESPONSE" />
    <display value="A service has passed the referral back to the referrer, with advice" />
  </concept>
  <concept>
    <code value="TRIAGED_PROVIDER_TO_ACTION" />
    <display value="The service provider has recorded a review decision, with the intention of processing this referral" />
  </concept>
</CodeSystem>