<ValueSet xmlns="http://hl7.org/fhir">
  <id value="UKCore-AppointmentReasonCode" />
  <url value="https://fhir.hl7.org.uk/ValueSet/UKCore-AppointmentReasonCode" />
  <version value="1.0.0" />
  <name value="UKCoreAppointmentReasonCode" />
  <title value="UK Core Appointment Reason Code" />
  <status value="active" />
  <date value="2022-05-20" />
  <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 an appointment reason." />
  <copyright value="Copyright © 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® 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." />
  <compose>
    <include>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0276" />
    </include>
    <include>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-AppointmentReasonCode" />
    </include>
  </compose>
  <expansion>
    <identifier value="7ecbba5a-30ae-4cf6-a822-0ad3ca676b62" />
    <timestamp value="2022-05-03T14:16:28+00:00" />
    <total value="6" />
    <offset value="0" />
    <parameter>
      <name value="version" />
      <valueUri value="https://fhir.hl7.org.uk/CodeSystem/UKCore-AppointmentReasonCode|1.0.0" />
    </parameter>
    <parameter>
      <name value="version" />
      <valueUri value="http://terminology.hl7.org/CodeSystem/v2-0276|2.9" />
    </parameter>
    <parameter>
      <name value="count" />
      <valueInteger value="2147483647" />
    </parameter>
    <parameter>
      <name value="offset" />
      <valueInteger value="0" />
    </parameter>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0276" />
      <version value="2.9" />
      <code value="FOLLOWUP" />
      <display value="A follow up visit from a previous appointment" />
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0276" />
      <version value="2.9" />
      <code value="WALKIN" />
      <display value="A previously unscheduled walk-in visit" />
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0276" />
      <version value="2.9" />
      <code value="CHECKUP" />
      <display value="A routine check-up, such as an annual physical" />
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0276" />
      <version value="2.9" />
      <code value="EMERGENCY" />
      <display value="Emergency appointment" />
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0276" />
      <version value="2.9" />
      <code value="ROUTINE" />
      <display value="Routine appointment - default if not valued" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-AppointmentReasonCode" />
      <version value="1.0.0" />
      <code value="urgent-follow-up" />
      <display value="Urgent follow-up" />
    </contains>
  </expansion>
</ValueSet>