{
  "resourceType": "StructureDefinition",
  "id": "ext-ClaimResponse-AllowedModifier",
  "url": "https://bpcs.exchange/fhir/StructureDefinition/ext-ClaimResponse-AllowedModifier",
  "name": "ClaimResponseAllowedModifier",
  "title": "ClaimResponse Allowed Modifier Code",
  "status": "active",
  "experimental": false,
  "description": "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": "5.0.0",
  "mapping": [
    {
      "identity": "BPCS",
      "name": "Internal BPCS API"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "ClaimResponse.item.reviewOutcome.reason"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Allowed modifier",
        "definition": "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": "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."
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "https://bpcs.exchange/fhir/StructureDefinition/ext-ClaimResponse-AllowedModifier"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "type": [
          {
            "code": "Coding",
            "profile": [
              "https://bpcs.exchange/fhir/StructureDefinition/profile-Coding-simple"
            ]
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "https://bpcs.exchange/fhir/ValueSet/vs-ClaimResponse-AllowedModifier"
        },
        "mapping": [
          {
            "identity": "BPCS",
            "map": "AssessmentFlag.reasnUseCd, other override codes populated by intermediary based on what overrides are permitted for a given response code or EFlag"
          }
        ]
      }
    ]
  }
}