{
  "resourceType": "StructureDefinition",
  "id": "ext-Coverage-InsuranceCredit",
  "url": "https://bpcs.exchange/fhir/StructureDefinition/ext-Coverage-InsuranceCredit",
  "name": "InsuranceCredit",
  "title": "Insurance Credit",
  "status": "active",
  "experimental": false,
  "description": "The amount of money paid as private insurance premium attributed to this quarter that adjusts the insurance premium for the quarter",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "BPCS",
      "name": "Internal BPCS API"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Coverage.costToBeneficiary"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "insCredit",
        "definition": "The amount of money paid as private insurance premium attributed to this quarter that adjusts the insurance premium for the quarter",
        "max": "1"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "https://bpcs.exchange/fhir/StructureDefinition/ext-Coverage-InsuranceCredit"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "type": [
          {
            "code": "Money",
            "profile": [
              "https://bpcs.exchange/fhir/StructureDefinition/profile-Money-CAD"
            ]
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "BPCS",
            "map": "FamilyExpenseDTO and FamilyHistory.insCredit1, insCredit2, insCredit3, insCredit4 (based on quarter)"
          }
        ]
      }
    ]
  }
}