{
  "resourceType": "StructureDefinition",
  "id": "dipag-rechnungsdokument",
  "url": "https://gematik.de/fhir/dipag/StructureDefinition/dipag-rechnungsdokument",
  "version": "1.0.6",
  "name": "DiPagRechnungsdokument",
  "title": "Digitale Patientenrechnung Rechnungsdokument",
  "status": "active",
  "experimental": false,
  "date": "2026-03-26",
  "publisher": "gematik GmbH",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://gematik.de/"
        }
      ]
    }
  ],
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Binary",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Binary",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Binary.contentType",
        "path": "Binary.contentType",
        "short": "MIME-Type des Dokumentes",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://gematik.de/fhir/dipag/ValueSet/dipag-restricted-mime-types-in-binary-vs"
        }
      },
      {
        "id": "Binary.data",
        "path": "Binary.data",
        "short": "Binär-Daten",
        "comment": "PDF oder strukturierter Rechnungsinhalt als base64-kodierter String.",
        "min": 1,
        "mustSupport": true
      }
    ]
  }
}