<StructureDefinition xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R5/fhir-single.xsd">
  <id value="ext-Coverage-DeductiblePct" />
  <url value="https://bpcs.exchange/fhir/StructureDefinition/ext-Coverage-DeductiblePct" />
  <name value="DeductiblePct" />
  <title value="Deductible Percentage" />
  <status value="active" />
  <experimental value="false" />
  <description value="Indicates the percentage of the annual deductible that applies in a given quarter.  Typically 25%, but may differ for years with partial coverage." />
  <fhirVersion value="5.0.0" />
  <mapping>
    <identity value="BPCS" />
    <name value="Internal BPCS API" />
  </mapping>
  <kind value="complex-type" />
  <abstract value="false" />
  <context>
    <type value="element" />
    <expression value="Coverage.costToBeneficiary" />
  </context>
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <short value="Deductible Percentage" />
      <definition value="Indicates the percentage of the annual deductible that applies in a given quarter.  Typically 25%, but may differ for years with partial coverage." />
      <max value="1" />
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <fixedUri value="https://bpcs.exchange/fhir/StructureDefinition/ext-Coverage-DeductiblePct" />
    </element>
    <element id="Extension.value[x]">
      <path value="Extension.value[x]" />
      <type>
        <code value="decimal" />
      </type>
      <mustSupport value="true" />
      <mapping>
        <identity value="BPCS" />
        <map value="FamilyExpenseDTO.dedLvl1Per1PctYtd, dedLvl1Per2PctYtd, dedLvl1Per3PctYtd, dedLvl1Per4PctYtd based on quarter" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>