<ValueSet xmlns="http://hl7.org/fhir">
  <id value="UKCore-MedicationStatementCategory" />
  <url value="https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationStatementCategory" />
  <version value="1.1.0" />
  <name value="UKCoreMedicationStatementCategory" />
  <title value="UK Core Medication Statement Category" />
  <status value="active" />
  <date value="2022-12-16" />
  <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 to define a category for a medication statement." />
  <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/medication-statement-category" />
    </include>
    <include>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-MedicationStatementCategory" />
    </include>
  </compose>
  <expansion>
    <identifier value="3bf5dffe-83c9-42ce-a17c-55137aafdc94" />
    <timestamp value="2022-12-22T14:44:21+00:00" />
    <total value="6" />
    <offset value="0" />
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/medication-statement-category" />
      <code value="inpatient" />
      <display value="Inpatient" />
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/medication-statement-category" />
      <code value="outpatient" />
      <display value="Outpatient" />
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/medication-statement-category" />
      <code value="community" />
      <display value="Community" />
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/medication-statement-category" />
      <code value="patientspecified" />
      <display value="Patient Specified" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-MedicationStatementCategory" />
      <code value="discharge" />
      <display value="Discharge" />
    </contains>
    <contains>
      <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-MedicationStatementCategory" />
      <code value="leave" />
      <display value="Leave" />
    </contains>
  </expansion>
</ValueSet>