{
  "resourceType": "StructureDefinition",
  "id": "ext-Coverage-BasePrivateInsuranceCredit",
  "url": "https://bpcs.exchange/fhir/StructureDefinition/ext-Coverage-BasePrivateInsuranceCredit",
  "name": "CoverageBasePrivateInsuranceCredit",
  "title": "Coverage Base Private Insurance Credit",
  "status": "active",
  "experimental": false,
  "description": "The full, non-prorated private insurance credit (i.e. the amount credited towards the family deductible based on funds paid for private insurance)",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "BPCS",
      "name": "Internal BPCS API"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Coverage"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Base private insurance credit",
        "definition": "The full, non-prorated private insurance credit (i.e. the amount credited towards the family deductible based on funds paid for private insurance)",
        "max": "1"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "https://bpcs.exchange/fhir/StructureDefinition/ext-Coverage-BasePrivateInsuranceCredit"
      },
      {
        "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": "FamilyHistoryDTO.origPvtInsCredit"
          }
        ]
      }
    ]
  }
}