<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-AllowedModifier" />
  <url value="https://bpcs.exchange/fhir/StructureDefinition/ext-ClaimResponse-AllowedModifier" />
  <name value="ClaimResponseAllowedModifier" />
  <title value="ClaimResponse Allowed Modifier Code" />
  <status value="active" />
  <experimental value="false" />
  <description value="Indicates a code that can be sent as a 'modifier' on the Claim item in a subsequent adjudication call that would override the adjudication reason being extended." />
  <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="ClaimResponse.item.reviewOutcome.reason" />
  </context>
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <short value="Allowed modifier" />
      <definition value="Indicates a code that can be sent as a 'modifier' on the Claim item in a subsequent adjudication call that would override the adjudication reason being extended." />
      <comment value="In some cases 'allowed modifiers' may be listed that, on claim submission turn out to be disallowed.  In this situation, the modifier will be dropped from the list of allowed modifiers after the initial adjudication." />
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <fixedUri value="https://bpcs.exchange/fhir/StructureDefinition/ext-ClaimResponse-AllowedModifier" />
    </element>
    <element id="Extension.value[x]">
      <path value="Extension.value[x]" />
      <type>
        <code value="Coding" />
        <profile value="https://bpcs.exchange/fhir/StructureDefinition/profile-Coding-simple" />
      </type>
      <mustSupport value="true" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://bpcs.exchange/fhir/ValueSet/vs-ClaimResponse-AllowedModifier" />
      </binding>
      <mapping>
        <identity value="BPCS" />
        <map value="AssessmentFlag.reasnUseCd, other override codes populated by intermediary based on what overrides are permitted for a given response code or EFlag" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>