{
  "resourceType": "StructureDefinition",
  "id": "ChargeItemEBMZiffern",
  "url": "https://tiplu.de/fhir/StructureDefinition/ChargeItemEBMZiffern",
  "version": "2.0.2",
  "name": "ChargeItemEBMZiffern",
  "title": "ChargeItem für EBM-Ziffern",
  "status": "active",
  "date": "2026-04-02",
  "publisher": "Tiplu GmbH",
  "contact": [
    {
      "name": "Tiplu GmbH",
      "telecom": [
        {
          "system": "email",
          "value": "fhir@tiplu.de"
        }
      ]
    }
  ],
  "description": "Profil für die EBM-Ziffer als Abrechnungsposition. Dieses Profil basiert auf [ChargeItem für EBM-Ziffer als Abrechnungsposition](https://simplifier.net/basisprofil-de-r4/chargeitemebm)",
  "copyright": "Tiplu GmbH",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "ChargeItem",
  "baseDefinition": "http://fhir.de/StructureDefinition/chargeitem-de-ebm",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "ChargeItem.status",
        "path": "ChargeItem.status",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.context",
        "path": "ChargeItem.context",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://tiplu.de/fhir/StructureDefinition/AmbulanterBesuch",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Encounter"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "ChargeItem.occurrence[x]",
        "path": "ChargeItem.occurrence[x]",
        "short": "Datum und Uhrzeit der abgerechneten Leistung",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.quantity",
        "path": "ChargeItem.quantity",
        "short": "Anzahl der Leistungen",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.reason",
        "path": "ChargeItem.reason",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "short": "Mögliche Begründung, die für die KV-Abrechnung von EBM-Leistungen verwendet werden kann",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.reason:EBM-Zusatzangaben",
        "path": "ChargeItem.reason",
        "sliceName": "EBM-Zusatzangaben",
        "short": "Zusatzangaben wie Art der Untersuchung, Ort, Kosten, Daten, weitere IDs etc. ",
        "min": 0,
        "max": "1",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_EBM_ZUSATZANGABE"
        }
      },
      {
        "id": "ChargeItem.reason:EBM-Zusatzangaben.extension",
        "path": "ChargeItem.reason.extension",
        "min": 1
      },
      {
        "id": "ChargeItem.reason:EBM-Zusatzangaben.extension:ZusatzangabeWert",
        "path": "ChargeItem.reason.extension",
        "sliceName": "ZusatzangabeWert",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://tiplu.de/fhir/StructureDefinition/ZusatzangabeWert"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "ChargeItem.reason:EBM-Zusatzangaben.coding.system",
        "path": "ChargeItem.reason.coding.system",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.reason:EBM-Zusatzangaben.coding.code",
        "path": "ChargeItem.reason.coding.code",
        "mustSupport": true
      },
      {
        "id": "ChargeItem.account",
        "path": "ChargeItem.account",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Account",
              "https://tiplu.de/fhir/StructureDefinition/AmbulanterSchein"
            ]
          }
        ],
        "mustSupport": true
      }
    ]
  }
}