{
  "resourceType": "StructureDefinition",
  "id": "ext-ClaimResponse-PreExistingCondition",
  "url": "https://bpcs.exchange/fhir/StructureDefinition/ext-ClaimResponse-PreExistingCondition",
  "name": "ClaimResponsePreExistingCondition",
  "title": "ClaimResponse Pre-existing Condition Flag",
  "status": "active",
  "experimental": false,
  "description": "If true, indicates that the allowed 'override' medical condition for this receipt (on which this extension appears) is already associated with this member's record.",
  "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": "Pre-existing condition",
        "definition": "If true, indicates that the allowed 'override' medical condition for this receipt (on which this extension appears) is already associated with this member's record."
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "https://bpcs.exchange/fhir/StructureDefinition/ext-ClaimResponse-PreExistingCondition"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "type": [
          {
            "code": "boolean"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "BPCS",
            "map": "AssessmentFlag.reasnUseCd, ('E' portion)"
          }
        ]
      }
    ]
  }
}