<ValueSet xmlns="http://hl7.org/fhir">
  <id value="UKCore-NHSNumberUnavailableReason" />
  <url value="https://fhir.hl7.org.uk/ValueSet/UKCore-NHSNumberUnavailableReason" />
  <version value="1.1.0" />
  <name value="UKCoreNHSNumberUnavailableReason" />
  <title value="UK Core NHS Number Unavailable Reason" />
  <status value="active" />
  <date value="2024-06-14" />
  <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 reason why a patient does not have an NHS Number." />
  <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-NHSNumberUnavailableReason" />
    </include>
    <include>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-WithheldIdentityReason" />
    </include>
  </compose>
  <expansion>
    <identifier value="a130430a-9572-4a68-9952-87907c3c2915" />
    <timestamp value="2023-03-29T15:09:15+00:00" />
    <total value="8" />
    <offset value="0" />
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberUnavailableReason" />
      <code value="nhs-number-not-known" />
      <display value="NHS number not known" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberUnavailableReason" />
      <code value="overseas-patient" />
      <display value="Overseas patient" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberUnavailableReason" />
      <code value="devolved-nation" />
      <display value="Devolved nation" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-WithheldIdentityReason" />
      <code value="01" />
      <display value="Record anonymised for legal/statutory reasons" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-WithheldIdentityReason" />
      <code value="02" />
      <display value="Record anonymised at request of Caldicott Guardian" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-WithheldIdentityReason" />
      <code value="03" />
      <display value="Record anonymised at request of Patient" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-WithheldIdentityReason" />
      <code value="97" />
      <display value="Record anonymised for other reason" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-WithheldIdentityReason" />
      <code value="99" />
      <display value="Identity withheld but reason not known" />
    </contains>
  </expansion>
</ValueSet>