<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-ClaimResponse-AllowedModifierDefault" />
  <url value="https://bpcs.exchange/fhir/StructureDefinition/ext-ClaimResponse-AllowedModifierDefault" />
  <name value="ClaimResponseAllowedModifierDefault" />
  <title value="ClaimResponse Allowed Modifier Default Flag" />
  <status value="active" />
  <experimental value="false" />
  <description value="If true, indicates that the allowed modifier on which this extension appears is the 'default' modifier that will be presented to the user.  If none of the allowed modifiers are flagged as 'default', there is no default and the user must explicitly choose a modifier in order to override the issue.  At most one allowed modifier may have this extension set to true." />
  <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="extension" />
    <expression value="https://bpcs.exchange/fhir/StructureDefinition/ext-ClaimResponse-AllowedModifier" />
  </context>
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <short value="Default Modifier" />
      <definition value="If true, indicates that the allowed modifier on which this extension appears is the 'default' modifier that will be presented to the user.  If none of the allowed modifiers are flagged as 'default', there is no default and the user must explicitly choose a modifier in order to override the issue.  At most one allowed modifier may have this extension set to true." />
      <meaningWhenMissing value="If not present, allowedModifier is not a 'default' value." />
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <fixedUri value="https://bpcs.exchange/fhir/StructureDefinition/ext-ClaimResponse-AllowedModifierDefault" />
    </element>
    <element id="Extension.value[x]">
      <path value="Extension.value[x]" />
      <type>
        <code value="boolean" />
      </type>
      <mustSupport value="true" />
      <mapping>
        <identity value="BPCS" />
        <map value="ReceiptDTO.medCond (when included in an assessment), nfbRfuNewExistingSflag (default to true on either MJ-1 or MJ-2)" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>