<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="medication-selfPay" />
  <url value="http://hl7.org/fhir/StructureDefinition/medication-selfPay" />
  <version value="4.0" />
  <name value="medication-selfPay" />
  <title value="Self-Pay Medication" />
  <status value="draft" />
  <publisher value="Orion Health" />
  <description value="Indicates whether or not this medication was or is to be paid for directly by the patient" />
  <purpose value="This extension indicates whether or not this medication was or is to be paid for directly by the patient" />
  <fhirVersion value="4.0" />
  <kind value="complex-type" />
  <abstract value="false" />
  <type value="Extension" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <max value="1" />
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <fixedUri value="http://hl7.org/fhir/StructureDefinition/medication-selfPay" />
    </element>
    <element id="Extension.value[x]">
      <path value="Extension.value[x]" />
      <short value="Indicates whether or not this medication was or is to be paid for directly by the patient" />
      <definition value="Set to true if the medication was or is to be paid for directly by the patient" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
  </differential>
</StructureDefinition>