<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="medication-statement-category" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>The narrative has been removed to reduce the size of the distribution of the Hl7.Fhir.Specification library</p>
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status">
    <valueString value="Informative" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="3" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="phx" />
  </extension>
  <url value="http://hl7.org/fhir/medication-statement-category" />
  <identifier>
    <system value="urn:ietf:rfc:3986" />
    <value value="urn:oid:2.16.840.1.113883.4.642.1.356" />
  </identifier>
  <version value="3.0.0" />
  <name value="MedicationStatementCategory" />
  <status value="draft" />
  <experimental value="false" />
  <date value="2017-04-03T11:27:53+00:00" />
  <publisher value="HL7 (FHIR Project)" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/fhir" />
    </telecom>
    <telecom>
      <system value="email" />
      <value value="fhir@lists.hl7.org" />
    </telecom>
  </contact>
  <description value="A coded concept identifying where the medication included in the medicationstatement is expected to be consumed or administered" />
  <caseSensitive value="true" />
  <valueSet value="http://hl7.org/fhir/ValueSet/medication-statement-category" />
  <content value="complete" />
  <concept>
    <code value="inpatient" />
    <display value="Inpatient" />
    <definition value="Includes orders for medications to be administered or consumed in an inpatient or acute care setting" />
  </concept>
  <concept>
    <code value="outpatient" />
    <display value="Outpatient" />
    <definition value="Includes orders for medications to be administered or consumed in an outpatient setting (for example, Emergency Department, Outpatient Clinic, Outpatient Surgery, Doctor's office)" />
  </concept>
  <concept>
    <code value="community" />
    <display value="Community" />
    <definition value="Includes orders for medications to be administered or consumed by the patient in their home (this would include long term care or nursing homes, hospices, etc)" />
  </concept>
  <concept>
    <code value="patientspecified" />
    <display value="Patient Specified" />
    <definition value="Includes statements about medication use, including over the counter medication, provided by the patient, agent or another provider" />
  </concept>
</CodeSystem>