<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-NotPayingPeriod" />
  <url value="https://bpcs.exchange/fhir/StructureDefinition/ext-Coverage-NotPayingPeriod" />
  <name value="CoverageNotPayingPeriod" />
  <title value="Coverage Not Paying Period" />
  <status value="active" />
  <experimental value="false" />
  <description value="Indicates the period of time over which the member's private coverage is not contributing to drug costs - typically because the patient has reached their maximum for the benefit period.  Coverage will reset when the private plan starts a new coverage period." />
  <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.period" />
  </context>
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <short value="Coverage not paying period" />
      <definition value="Indicates the period of time over which the member's private coverage is not contributing to drug costs - typically because the patient has reached their maximum for the benefit period.  Coverage will reset when the private plan starts a new coverage period." />
      <max value="1" />
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <fixedUri value="https://bpcs.exchange/fhir/StructureDefinition/ext-Coverage-NotPayingPeriod" />
    </element>
    <element id="Extension.value[x]">
      <path value="Extension.value[x]" />
      <type>
        <code value="Period" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Extension.value[x].start">
      <path value="Extension.value[x].start" />
      <short value="maximumReachedDate" />
      <definition value="The most recent date within the overall coverage period for the private insurance when its maximum covered amount is reached.  I.e. after this date, this private insurance will no longer reimburse for eligible costs." />
      <min value="1" />
      <mustSupport value="true" />
      <mapping>
        <identity value="BPCS" />
        <map value="RecipientInsuranceDTO/FamilyMemberHistoryDTO.maximumReachedDate1 or maximumReachedDate2, FamilyMemberInsuranceDTO.maximumReachedDate, InsuranceDTO.maximumReachedDate" />
      </mapping>
    </element>
    <element id="Extension.value[x].end">
      <path value="Extension.value[x].end" />
      <short value="reinstatementDate" />
      <definition value="The first date when the private insurance max reached is reset and coverage will be resumed.  For example, if the coverage limits to $2000 within a year and the maximum had been exceeded, when the renewal date is reached, the counter starts again at zero and the private insurance will again make payments for receipts after that date." />
      <mustSupport value="true" />
      <mapping>
        <identity value="BPCS" />
        <map value="RecipientInsuranceDTO/FamilyMemberHistoryDTO.reinstatementDate1 or reinstatementDate2, FamilyMemberInsuranceDTO.reinstatementDate, InsuranceDTO.reinstatementDate" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>