{
  "resourceType": "StructureDefinition",
  "id": "ext-ClaimResponse-AllowedModifierDefault",
  "url": "https://bpcs.exchange/fhir/StructureDefinition/ext-ClaimResponse-AllowedModifierDefault",
  "name": "ClaimResponseAllowedModifierDefault",
  "title": "ClaimResponse Allowed Modifier Default Flag",
  "status": "active",
  "experimental": false,
  "description": "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": "5.0.0",
  "mapping": [
    {
      "identity": "BPCS",
      "name": "Internal BPCS API"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "extension",
      "expression": "https://bpcs.exchange/fhir/StructureDefinition/ext-ClaimResponse-AllowedModifier"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Default Modifier",
        "definition": "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": "If not present, allowedModifier is not a 'default' value."
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "https://bpcs.exchange/fhir/StructureDefinition/ext-ClaimResponse-AllowedModifierDefault"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "type": [
          {
            "code": "boolean"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "BPCS",
            "map": "ReceiptDTO.medCond (when included in an assessment), nfbRfuNewExistingSflag (default to true on either MJ-1 or MJ-2)"
          }
        ]
      }
    ]
  }
}