<ValueSet xmlns="http://hl7.org/fhir">
  <id value="UKCore-SourceOfAdmission" />
  <url value="https://fhir.hl7.org.uk/ValueSet/UKCore-SourceOfAdmission" />
  <version value="2.1.0" />
  <name value="UKCoreSourceOfAdmission" />
  <title value="UK Core Source Of Admission" />
  <status value="active" />
  <date value="2022-01-07" />
  <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 the source of admission to a hospital provider spell or a nursing episode when the patient is in a hospital site or a care home." />
  <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="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland" />
    </include>
    <include>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionWales" />
    </include>
  </compose>
  <expansion>
    <identifier value="46af3917-793c-41cb-8f25-7896369966e7" />
    <timestamp value="2022-01-07T13:58:13+00:00" />
    <total value="29" />
    <offset value="0" />
    <parameter>
      <name value="version" />
      <valueUri value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionWales|1.0.0" />
    </parameter>
    <parameter>
      <name value="version" />
      <valueUri value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland|1.0.0" />
    </parameter>
    <parameter>
      <name value="count" />
      <valueInteger value="2147483647" />
    </parameter>
    <parameter>
      <name value="offset" />
      <valueInteger value="0" />
    </parameter>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland" />
      <version value="1.0.0" />
      <code value="79" />
      <display value="Babies born in or on the way to hospital" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionWales" />
      <version value="1.0.0" />
      <code value="79" />
      <display value="Babies born in or on way to hospital. (Baby Activity)" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionWales" />
      <version value="1.0.0" />
      <code value="23" />
      <display value="Hospice." />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland" />
      <version value="1.0.0" />
      <code value="66" />
      <display value="Local Authority foster care" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionWales" />
      <version value="1.0.0" />
      <code value="66" />
      <display value="Local Authority foster care but not in Part 3 residential accommodation." />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionWales" />
      <version value="1.0.0" />
      <code value="65" />
      <display value="Local Authority Part 3 residential accommodations i.e. where care is provided." />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland" />
      <version value="1.0.0" />
      <code value="65" />
      <display value="Local Authority residential accommodation i.e. where care is provided" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland" />
      <version value="1.0.0" />
      <code value="49" />
      <display value="NHS other Hospital Provider - high security psychiatric accommodation in an NHS Hospital Provider (NHS Trust or NHS Foundation Trust)" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland" />
      <version value="1.0.0" />
      <code value="51" />
      <display value="NHS other Hospital Provider - Ward for general Patients or the younger physically disabled or Emergency Care Department" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland" />
      <version value="1.0.0" />
      <code value="52" />
      <display value="NHS other Hospital Provider - Ward for maternity Patients or Neonates" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland" />
      <version value="1.0.0" />
      <code value="53" />
      <display value="NHS other Hospital Provider - Ward for Patients who are mentally ill or have Learning Disabilities" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland" />
      <version value="1.0.0" />
      <code value="54" />
      <display value="NHS run Care Home" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionWales" />
      <version value="1.0.0" />
      <code value="22" />
      <display value="No fixed abode." />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland" />
      <version value="1.0.0" />
      <code value="87" />
      <display value="Non NHS run hospital" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland" />
      <version value="1.0.0" />
      <code value="85" />
      <display value="Non-NHS (other than Local Authority) run Care Home" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland" />
      <version value="1.0.0" />
      <code value="88" />
      <display value="Non-NHS (other than Local Authority) run Hospice" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland" />
      <version value="1.0.0" />
      <code value="98" />
      <display value="Not applicable" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionWales" />
      <version value="1.0.0" />
      <code value="19" />
      <display value="Own Home" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionWales" />
      <version value="1.0.0" />
      <code value="87" />
      <display value="Patient transfer from non NHS hospital, includes private hospitals e.g. BUPA" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionWales" />
      <version value="1.0.0" />
      <code value="51" />
      <display value="Patient transfer from other health board / trust" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionWales" />
      <version value="1.0.0" />
      <code value="55" />
      <display value="Patient transfer within the same health board / trust." />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionWales" />
      <version value="1.0.0" />
      <code value="39" />
      <display value="Penal establishment, court or police station or police custody suite" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland" />
      <version value="1.0.0" />
      <code value="39" />
      <display value="Penal establishment, Court, or Police Station / Police Custody Suite" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionWales" />
      <version value="1.0.0" />
      <code value="20" />
      <display value="Permanent residence at nursing home, residential care home." />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland" />
      <version value="1.0.0" />
      <code value="99" />
      <display value="Source of admission not known" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland" />
      <version value="1.0.0" />
      <code value="29" />
      <display value="Temporary place of residence when usually resident elsewhere (e.g. hotels, residential Educational Establishments)" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionWales" />
      <version value="1.0.0" />
      <code value="29" />
      <display value="Temporary place of residence, when usually resident elsewhere (includes hotel, residential educational institution)." />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionWales" />
      <version value="1.0.0" />
      <code value="21" />
      <display value="Temporary residence at nursing home, residential care home." />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland" />
      <version value="1.0.0" />
      <code value="19" />
      <display value="Usual place of residence unless listed below, for example, a private dwelling whether owner occupied or owned by Local Authority, housing association or other landlord. This includes wardened accommodation but not residential accommodation where health care is provided. It also includes Patients with no fixed abode." />
    </contains>
  </expansion>
</ValueSet>