{
  "resourceType": "StructureDefinition",
  "id": "Rechnungssteller",
  "url": "https://tiplu.de/fhir/StructureDefinition/Rechnungssteller",
  "version": "2.0.2",
  "name": "Rechnungssteller",
  "title": "Rechnungssteller",
  "status": "active",
  "date": "2026-04-02",
  "publisher": "Tiplu GmbH",
  "contact": [
    {
      "name": "Tiplu GmbH",
      "telecom": [
        {
          "system": "email",
          "value": "fhir@tiplu.de"
        }
      ]
    }
  ],
  "description": "Profil für einen Rechnungssteller. Der Rechnungssteller ist die liquidierende Einheit von Leistungen. ",
  "copyright": "Tiplu GmbH",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Organization",
  "baseDefinition": "https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Organization",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Organization.extension",
        "path": "Organization.extension",
        "min": 2
      },
      {
        "id": "Organization.extension:Gueltigkeit",
        "path": "Organization.extension",
        "sliceName": "Gueltigkeit",
        "short": "Gültigkeitszeitraum des Rechnungsstellers, also der Zeitraum, in dem Fälle mit dem Rechnungssteller angelegt werden können.",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/organization-period"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Organization.extension:Gueltigkeit.value[x]",
        "path": "Organization.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "Organization.extension:Gueltigkeit.value[x].start",
        "path": "Organization.extension.value[x].start",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.extension:Gueltigkeit.value[x].end",
        "path": "Organization.extension.value[x].end",
        "mustSupport": true
      },
      {
        "id": "Organization.extension:Abrechnungsarten",
        "path": "Organization.extension",
        "sliceName": "Abrechnungsarten",
        "short": "unterstützte Abrechnungsarten",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://tiplu.de/fhir/StructureDefinition/Abrechnungsart"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Organization.identifier",
        "path": "Organization.identifier",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:Betriebsstaettennummer",
        "path": "Organization.identifier",
        "sliceName": "Betriebsstaettennummer",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:Kuerzel",
        "path": "Organization.identifier",
        "sliceName": "Kuerzel",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "https://tiplu.de/fhir/StructureDefinition/identifier-kuerzel"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:Kuerzel.system",
        "path": "Organization.identifier.system",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:Kuerzel.value",
        "path": "Organization.identifier.value",
        "mustSupport": true
      },
      {
        "id": "Organization.type.coding",
        "path": "Organization.type.coding",
        "min": 1
      },
      {
        "id": "Organization.type.coding:OrganizationType",
        "path": "Organization.type.coding",
        "sliceName": "OrganizationType",
        "min": 1,
        "max": "1",
        "patternCoding": {
          "code": "rechnungssteller",
          "system": "https://tiplu.de/fhir/CodeSystem/Organisationstyp"
        },
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://tiplu.de/fhir/ValueSet/Organisationstyp"
        }
      },
      {
        "id": "Organization.type.coding:Ambulanzart",
        "path": "Organization.type.coding",
        "sliceName": "Ambulanzart",
        "short": "Art der Ambulanz - Institut oder Chefarzt.",
        "min": 0,
        "max": "1",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://tiplu.de/fhir/ValueSet/Ambulanzart"
        }
      },
      {
        "id": "Organization.name",
        "path": "Organization.name",
        "mustSupport": true
      },
      {
        "id": "Organization.partOf",
        "path": "Organization.partOf",
        "mustSupport": true
      }
    ]
  }
}