FHIR IG analytics
| Package | de.gematik.dipag |
| Resource Type | StructureDefinition |
| Id | StructureDefinition-dipag-dokumentenmetadaten-intern.json |
| FHIR Version | R4 |
| Source | https://simplifier.net/resolve?scope=de.gematik.dipag@1.3.0-beta&canonical=https://gematik.de/fhir/dipag/StructureDefinition/dipag-dokumentenmetadaten-intern |
| URL | https://gematik.de/fhir/dipag/StructureDefinition/dipag-dokumentenmetadaten-intern |
| Version | 1.1.0-beta |
| Status | active |
| Date | 2026-08-26 |
| Name | DiPagDokumentenmetadatenIntern |
| Title | Digitale Patientenrechnung Dokumentenmetadaten Intern |
| Realm | de |
| Description | Repräsentation der Dokumentenmetadaten innerhalb des Fachdienstes. Das Profil deckt sowohl Rechnungen an Versicherte (Rechnungsempfänger) als auch Rechnungen an Kostenträger-Organisationen ab. Die Mindestkardinalitäten der kontextspezifischen Elemente (Markierungen, Rechnungsempfänger-Referenz) sind entsprechend gelockert; welche Elemente im jeweiligen Kontext vorhanden sind, ist in den Kommentaren und den Szenariobeschreibungen festgelegt. |
| Type | DocumentReference |
| Kind | resource |
Resources that use this resource
Resources that this resource uses
Narrative
No narrative content found in resource
Source1
{
"resourceType": "StructureDefinition",
"id": "dipag-dokumentenmetadaten-intern",
"url": "https://gematik.de/fhir/dipag/StructureDefinition/dipag-dokumentenmetadaten-intern",
"version": "1.1.0-beta",
"name": "DiPagDokumentenmetadatenIntern",
"title": "Digitale Patientenrechnung Dokumentenmetadaten Intern",
"status": "active",
"experimental": false,
"date": "2026-08-26",
"publisher": "gematik GmbH",
"contact": [
{
"telecom": [
{
"system": "url",
"value": "http://gematik.de/"
}
]
}
],
"description": "Repräsentation der Dokumentenmetadaten innerhalb des Fachdienstes. Das Profil deckt sowohl Rechnungen an Versicherte (Rechnungsempfänger) als auch Rechnungen an Kostenträger-Organisationen ab. Die Mindestkardinalitäten der kontextspezifischen Elemente (Markierungen, Rechnungsempfänger-Referenz) sind entsprechend gelockert; welche Elemente im jeweiligen Kontext vorhanden sind, ist in den Kommentaren und den Szenariobeschreibungen festgelegt.",
"fhirVersion": "4.0.1",
"kind": "resource",
"abstract": false,
"type": "DocumentReference",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DocumentReference",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "DocumentReference",
"path": "DocumentReference",
"constraint": [
{
"key": "SignaturVerpflichtendRechnung",
"severity": "warning",
"human": "Eine Signature muss vorhanden sein, falls es sich bei der DocumentReference um eine Rechnung handelt. Diese Invariante ist als Warnung eingestuft, weil in R5 zur Ausgabe entfernt wird und diese Ausgabe ohne Validierungsfehler sein soll.",
"expression": "type.coding.where(system = 'http://dvmd.de/fhir/CodeSystem/kdl' and code = 'AM010106').exists() and content.format.where(system = 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs' and code = 'originaleRechnung').exists() and content.format.where(system = 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs' and code = 'rechnungsinhalt').exists() implies extension.where(url = 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature').exists()",
"source": "https://gematik.de/fhir/dipag/StructureDefinition/dipag-dokumentenmetadaten-intern"
}
]
},
{
"id": "DocumentReference.id",
"path": "DocumentReference.id",
"comment": "Die technische DocumentReference-id dient ausschließlich der serverinternen Adressierung. Der Abruf eines Dokuments erfolgt nicht über die id, sondern ausschließlich über das Rechnungs-Token (siehe identifier:Token) via Retrieve-Operation. Das Token darf NICHT aus der id ableitbar sein."
},
{
"id": "DocumentReference.meta.extension",
"path": "DocumentReference.meta.extension",
"mustSupport": true
},
{
"id": "DocumentReference.meta.extension:markierung",
"path": "DocumentReference.meta.extension",
"sliceName": "markierung",
"comment": "Vgl. Abschnitt '4.4.2 Markierungen' des Feature-Dokuments Digitale Patientenrechnung. Markierungen werden ausschließlich im Kontext von Rechnungen an Versicherte verwendet; bei Rechnungen an Kostenträger-Organisationen sind keine Markierungen vorhanden.",
"min": 0,
"max": "*",
"type": [
{
"code": "Extension",
"profile": [
"https://gematik.de/fhir/dipag/StructureDefinition/dipag-documentreference-markierung"
]
}
],
"mustSupport": true
},
{
"id": "DocumentReference.meta.extension:markierung.extension:markierung",
"path": "DocumentReference.meta.extension.extension",
"sliceName": "markierung",
"mustSupport": true
},
{
"id": "DocumentReference.meta.extension:markierung.extension:markierung.value[x]",
"path": "DocumentReference.meta.extension.extension.value[x]",
"mustSupport": true
},
{
"id": "DocumentReference.meta.extension:markierung.extension:zeitpunkt",
"path": "DocumentReference.meta.extension.extension",
"sliceName": "zeitpunkt",
"mustSupport": true
},
{
"id": "DocumentReference.meta.extension:markierung.extension:zeitpunkt.value[x]",
"path": "DocumentReference.meta.extension.extension.value[x]",
"mustSupport": true
},
{
"id": "DocumentReference.meta.extension:markierung.extension:details",
"path": "DocumentReference.meta.extension.extension",
"sliceName": "details",
"mustSupport": true
},
{
"id": "DocumentReference.meta.extension:markierung.extension:details.value[x]",
"path": "DocumentReference.meta.extension.extension.value[x]",
"mustSupport": true
},
{
"id": "DocumentReference.meta.extension:markierung.extension:artDerArchivierung",
"path": "DocumentReference.meta.extension.extension",
"sliceName": "artDerArchivierung",
"mustSupport": true
},
{
"id": "DocumentReference.meta.extension:markierung.extension:artDerArchivierung.value[x]",
"path": "DocumentReference.meta.extension.extension.value[x]",
"mustSupport": true
},
{
"id": "DocumentReference.meta.extension:markierung.extension:kostentraeger",
"path": "DocumentReference.meta.extension.extension",
"sliceName": "kostentraeger",
"mustSupport": true
},
{
"id": "DocumentReference.meta.extension:markierung.extension:kostentraeger.value[x]",
"path": "DocumentReference.meta.extension.extension.value[x]",
"mustSupport": true
},
{
"id": "DocumentReference.meta.extension:markierung.extension:kostentraeger.value[x].identifier",
"path": "DocumentReference.meta.extension.extension.value[x].identifier",
"mustSupport": true
},
{
"id": "DocumentReference.meta.extension:markierung.extension:kostentraeger.value[x].display",
"path": "DocumentReference.meta.extension.extension.value[x].display",
"mustSupport": true
},
{
"id": "DocumentReference.meta.tag",
"path": "DocumentReference.meta.tag",
"slicing": {
"discriminator": [
{
"type": "pattern",
"path": "$this"
}
],
"rules": "open"
},
"comment": "Metaangaben zur Digitalen Patientenrechnung die sich auf das Rechnungsdokument als Ganzes beziehen und nicht Teil des durch den RE-PS erstellten Dokuments sind.",
"mustSupport": true
},
{
"id": "DocumentReference.meta.tag:dipag-rechnungsstatus",
"path": "DocumentReference.meta.tag",
"sliceName": "dipag-rechnungsstatus",
"comment": "Vgl. Abschnitt 4.4.1 Workflow einer Rechnung des Feature-Dokuments Digitale Patientenrechnung. Bei Rechnungen an Versicherte werden die Statuswerte 'Offen', 'Erledigt' und 'Papierkorb' verwendet. Bei Rechnungen an Kostenträger-Organisationen werden ausschließlich die Statuswerte 'Übermittelt' und 'Abgerufen' verwendet; diese werden ausschließlich durch den FD gesetzt ('Übermittelt' nach erfolgreichem $invoice-submit, 'Abgerufen' nach erfolgreichem Abruf per $retrieve).",
"min": 0,
"max": "1",
"mustSupport": true,
"binding": {
"strength": "required",
"valueSet": "https://gematik.de/fhir/dipag/ValueSet/dipag-rechnungsstatus-vs"
}
},
{
"id": "DocumentReference.meta.tag:dipag-rechnungsstatus.system",
"path": "DocumentReference.meta.tag.system",
"min": 1,
"mustSupport": true
},
{
"id": "DocumentReference.meta.tag:dipag-rechnungsstatus.code",
"path": "DocumentReference.meta.tag.code",
"min": 1,
"mustSupport": true
},
{
"id": "DocumentReference.meta.tag:dipag-workflowtyp",
"path": "DocumentReference.meta.tag",
"sliceName": "dipag-workflowtyp",
"short": "Workflowtyp",
"comment": "Der Workflowtyp der Rechnung. Der Workflowtyp wird durch den FD immer gesetzt: Bei der Einreichung auf dem Patient-Endpunkt setzt der FD den Workflowtyp 'patientenrechnung', bei der Einreichung an eine Kostenträger-Organisation übernimmt der FD den vom RE-PS im Parameter 'workflow' der Operation SubmitOrganisation gewählten Workflowtyp.",
"min": 0,
"max": "1",
"mustSupport": true,
"binding": {
"strength": "required",
"valueSet": "https://gematik.de/fhir/dipag/ValueSet/dipag-workflowtyp-vs"
}
},
{
"id": "DocumentReference.meta.tag:dipag-workflowtyp.system",
"path": "DocumentReference.meta.tag.system",
"min": 1,
"mustSupport": true
},
{
"id": "DocumentReference.meta.tag:dipag-workflowtyp.code",
"path": "DocumentReference.meta.tag.code",
"min": 1,
"mustSupport": true
},
{
"id": "DocumentReference.extension",
"path": "DocumentReference.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
},
"mustSupport": true
},
{
"id": "DocumentReference.extension:docRef-signature",
"path": "DocumentReference.extension",
"sliceName": "docRef-signature",
"comment": "Die Signatur auf Ebene der DocumentReference muss nur beim Typ Rechnung vorhanden sein unnd umfasst eine Signatur über die originale Rechnung und die strukturierten Rechnungsinhalte.",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature"
]
}
],
"mustSupport": true
},
{
"id": "DocumentReference.extension:docRef-signature.value[x].type",
"path": "DocumentReference.extension.value[x].type",
"patternCoding": {
"code": "1.2.840.10065.1.12.1.13",
"system": "urn:iso-astm:E1762-95:2013"
},
"mustSupport": true
},
{
"id": "DocumentReference.extension:docRef-signature.value[x].when",
"path": "DocumentReference.extension.value[x].when",
"mustSupport": true
},
{
"id": "DocumentReference.extension:docRef-signature.value[x].who",
"path": "DocumentReference.extension.value[x].who",
"mustSupport": true
},
{
"id": "DocumentReference.extension:docRef-signature.value[x].who.identifier",
"path": "DocumentReference.extension.value[x].who.identifier",
"mustSupport": true
},
{
"id": "DocumentReference.extension:docRef-signature.value[x].who.identifier.system",
"path": "DocumentReference.extension.value[x].who.identifier.system",
"patternUri": "urn:ietf:rfc:3986",
"mustSupport": true
},
{
"id": "DocumentReference.extension:docRef-signature.value[x].who.identifier.value",
"path": "DocumentReference.extension.value[x].who.identifier.value",
"patternString": "urn:oid:1.2.276.0.76.4.323",
"mustSupport": true
},
{
"id": "DocumentReference.extension:docRef-signature.value[x].targetFormat",
"path": "DocumentReference.extension.value[x].targetFormat",
"mustSupport": true,
"binding": {
"strength": "required",
"valueSet": "https://gematik.de/fhir/dipag/ValueSet/dipag-restricted-mime-types-in-binary-vs"
}
},
{
"id": "DocumentReference.extension:docRef-signature.value[x].sigFormat",
"path": "DocumentReference.extension.value[x].sigFormat",
"mustSupport": true
},
{
"id": "DocumentReference.extension:docRef-signature.value[x].data",
"path": "DocumentReference.extension.value[x].data",
"mustSupport": true
},
{
"id": "DocumentReference.extension:rechnungsdatum",
"path": "DocumentReference.extension",
"sliceName": "rechnungsdatum",
"comment": "Das Rechnungsdatum wird aus den strukturierten Inhalten durch den FD extrahiert. Siehe Informationsmodell 'Rechnung' des Feature-Dokuments Digitale Patientenrechnung",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://gematik.de/fhir/dipag/StructureDefinition/dipag-documentreference-rechnungsdatum"
]
}
],
"mustSupport": true
},
{
"id": "DocumentReference.extension:zahlungszieldatum",
"path": "DocumentReference.extension",
"sliceName": "zahlungszieldatum",
"comment": "Das Zahlungszieldatum wird aus den strukturierten Inhalten durch den FD extrahiert. Siehe Informationsmodell 'Rechnung' des Feature-Dokuments Digitale Patientenrechnung",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://gematik.de/fhir/dipag/StructureDefinition/dipag-zahlungsziel"
]
}
],
"mustSupport": true
},
{
"id": "DocumentReference.extension:gesamtbetrag",
"path": "DocumentReference.extension",
"sliceName": "gesamtbetrag",
"comment": "Der Gesamtbetrag wird aus den strukturierten Inhalten durch den FD extrahiert. Siehe Informationsmodell 'Rechnung' des Feature-Dokuments Digitale Patientenrechnung",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://gematik.de/fhir/dipag/StructureDefinition/dipag-documentreference-gesamtbetrag"
]
}
],
"mustSupport": true
},
{
"id": "DocumentReference.extension:fachrichtung",
"path": "DocumentReference.extension",
"sliceName": "fachrichtung",
"comment": "Die Fachrichtung wird aus den strukturierten Inhalten durch den FD extrahiert. Siehe Informationsmodell 'Rechnung' des Feature-Dokuments Digitale Patientenrechnung",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-fachrichtung"
]
}
],
"mustSupport": true
},
{
"id": "DocumentReference.extension:behandlungsart",
"path": "DocumentReference.extension",
"sliceName": "behandlungsart",
"comment": "Die Behandlungsart wird aus den strukturierten Inhalten durch den FD extrahiert. Siehe Informationsmodell 'Rechnung' des Feature-Dokuments Digitale Patientenrechnung",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://gematik.de/fhir/dipag/StructureDefinition/dipag-behandlungsart"
]
}
],
"mustSupport": true
},
{
"id": "DocumentReference.identifier",
"path": "DocumentReference.identifier",
"slicing": {
"discriminator": [
{
"type": "pattern",
"path": "$this"
}
],
"rules": "open"
},
"min": 1,
"mustSupport": true
},
{
"id": "DocumentReference.identifier:Token",
"path": "DocumentReference.identifier",
"sliceName": "Token",
"short": "Rechnungs-Token (Dokumenttoken)",
"comment": "Eindeutiges, vom Fachdienst vergebenes Token zur Identifikation des Dokuments beim Abruf über die Retrieve-Operation. Das Token wird als eigener Identifier geführt und ist NICHT mit der technischen DocumentReference-id identisch. Das Token MUSS so vergeben werden, dass es NICHT aus der DocumentReference-id abgeleitet werden kann (z.B. kryptographisch zufällig erzeugt).",
"min": 1,
"max": "1",
"patternIdentifier": {
"system": "https://gematik.de/fhir/sid/dipag-token"
},
"mustSupport": true
},
{
"id": "DocumentReference.identifier:Token.system",
"path": "DocumentReference.identifier.system",
"short": "NamingSystem des Rechnungs-Tokens",
"min": 1,
"patternUri": "https://gematik.de/fhir/sid/dipag-token",
"mustSupport": true
},
{
"id": "DocumentReference.identifier:Token.value",
"path": "DocumentReference.identifier.value",
"short": "Rechnungs-Token (Dokumenttoken)",
"min": 1,
"mustSupport": true
},
{
"id": "DocumentReference.identifier:Rechnungsnummer",
"path": "DocumentReference.identifier",
"sliceName": "Rechnungsnummer",
"short": "Rechnungs-Nr. (der LEI)",
"comment": "Die Rechnungs-Nr. (der LEI) MUSS vorhanden sein.",
"min": 0,
"max": "1",
"patternIdentifier": {
"type": {
"coding": [
{
"code": "invoice",
"system": "https://gematik.de/fhir/dipag/CodeSystem/dipag-rechnung-identifier-type-cs"
}
]
}
},
"mustSupport": true
},
{
"id": "DocumentReference.identifier:Rechnungsnummer.type",
"path": "DocumentReference.identifier.type",
"min": 1,
"patternCodeableConcept": {
"coding": [
{
"code": "invoice",
"system": "https://gematik.de/fhir/dipag/CodeSystem/dipag-rechnung-identifier-type-cs"
}
]
},
"mustSupport": true
},
{
"id": "DocumentReference.identifier:Rechnungsnummer.system",
"path": "DocumentReference.identifier.system",
"short": "NamingSystem der Rechnungs-Nr. (der LEI)",
"min": 1,
"mustSupport": true
},
{
"id": "DocumentReference.identifier:Rechnungsnummer.value",
"path": "DocumentReference.identifier.value",
"short": "Rechnungs-Nr. (der LEI)",
"min": 1,
"mustSupport": true
},
{
"id": "DocumentReference.identifier:AnhangIdentifier",
"path": "DocumentReference.identifier",
"sliceName": "AnhangIdentifier",
"short": "Anhangs-Identifier",
"comment": "Eindeutiger Identifikator für Anhänge vergeben durch das RE-PS (z.B. Interne Dokumentennummer). Bei Anhängen MUSS das System eindeutig pro Leistungserbringer:in vergeben werden.",
"min": 0,
"max": "1",
"patternIdentifier": {
"type": {
"coding": [
{
"code": "anhang",
"system": "https://gematik.de/fhir/dipag/CodeSystem/dipag-rechnung-identifier-type-cs"
}
]
}
},
"mustSupport": true
},
{
"id": "DocumentReference.identifier:AnhangIdentifier.type",
"path": "DocumentReference.identifier.type",
"min": 1,
"patternCodeableConcept": {
"coding": [
{
"code": "anhang",
"system": "https://gematik.de/fhir/dipag/CodeSystem/dipag-rechnung-identifier-type-cs"
}
]
},
"mustSupport": true
},
{
"id": "DocumentReference.identifier:AnhangIdentifier.system",
"path": "DocumentReference.identifier.system",
"short": "NamingSystem des Anhangs-Identifier",
"min": 1,
"mustSupport": true
},
{
"id": "DocumentReference.identifier:AnhangIdentifier.value",
"path": "DocumentReference.identifier.value",
"short": "Anhangs-Identifier",
"min": 1,
"mustSupport": true
},
{
"id": "DocumentReference.status",
"path": "DocumentReference.status",
"comment": "Versionierung von Dokumenten ist nicht unterstützt. Nur jeweils die aktuelle Version des Dokumentes wird akzeptiert.",
"patternCode": "current",
"mustSupport": true
},
{
"id": "DocumentReference.type",
"path": "DocumentReference.type",
"comment": "Kodierung des Dokumentes als 'Rechnung', sowie darüber hinausgehende Klassifizierung per KDL",
"min": 1,
"mustSupport": true
},
{
"id": "DocumentReference.type.coding",
"path": "DocumentReference.type.coding",
"slicing": {
"discriminator": [
{
"type": "pattern",
"path": "$this"
}
],
"rules": "open"
},
"min": 1
},
{
"id": "DocumentReference.type.coding:DokumentenKlassifizierung",
"path": "DocumentReference.type.coding",
"sliceName": "DokumentenKlassifizierung",
"min": 0,
"max": "1",
"mustSupport": true,
"binding": {
"strength": "required",
"valueSet": "https://gematik.de/fhir/dipag/ValueSet/dipag-sonstigesdokument-type-vs"
}
},
{
"id": "DocumentReference.type.coding:DokumentenKlassifizierung.system",
"path": "DocumentReference.type.coding.system",
"min": 1,
"mustSupport": true
},
{
"id": "DocumentReference.type.coding:DokumentenKlassifizierung.code",
"path": "DocumentReference.type.coding.code",
"min": 1,
"mustSupport": true
},
{
"id": "DocumentReference.type.coding:DokumentenKlassifizierung.display",
"path": "DocumentReference.type.coding.display",
"min": 1,
"maxLength": 1024,
"mustSupport": true
},
{
"id": "DocumentReference.type.coding:Rechnungstyp",
"path": "DocumentReference.type.coding",
"sliceName": "Rechnungstyp",
"min": 0,
"max": "1",
"patternCoding": {
"system": "http://dvmd.de/fhir/CodeSystem/kdl",
"code": "AM010106"
},
"mustSupport": true
},
{
"id": "DocumentReference.subject",
"path": "DocumentReference.subject",
"comment": "Vollständiger Name der behandelten Person. Siehe Informationsmodell 'Rechnung' des Feature-Dokuments Digitale Patientenrechnung.",
"min": 1,
"mustSupport": true
},
{
"id": "DocumentReference.subject.display",
"path": "DocumentReference.subject.display",
"min": 1,
"maxLength": 1024,
"mustSupport": true
},
{
"id": "DocumentReference.author",
"path": "DocumentReference.author",
"comment": "Der Fachdienst verknüpft alle Rechnungsdokumente mit der Telematik-ID des einreichenden Akteurs.",
"mustSupport": true
},
{
"id": "DocumentReference.author.identifier",
"path": "DocumentReference.author.identifier",
"min": 1,
"type": [
{
"code": "Identifier",
"profile": [
"http://fhir.de/StructureDefinition/identifier-telematik-id"
]
}
],
"mustSupport": true
},
{
"id": "DocumentReference.author.display",
"path": "DocumentReference.author.display",
"min": 1,
"maxLength": 1024,
"mustSupport": true
},
{
"id": "DocumentReference.description",
"path": "DocumentReference.description",
"comment": "Menschenlesbarer Titel des Dokumentes, der dem Versicherten in der UI angezeigt wird. Der Titel kann manuell erfasst oder vom Dateinamen/Metadaten abgeleitet werden. z.B. "Laborbefund vom 28.9.2023".",
"min": 1,
"mustSupport": true
},
{
"id": "DocumentReference.content",
"path": "DocumentReference.content",
"slicing": {
"discriminator": [
{
"type": "pattern",
"path": "format"
}
],
"rules": "open"
},
"mustSupport": true
},
{
"id": "DocumentReference.content:originaleRechnung",
"path": "DocumentReference.content",
"sliceName": "originaleRechnung",
"min": 0,
"max": "1",
"mustSupport": true
},
{
"id": "DocumentReference.content:originaleRechnung.attachment",
"path": "DocumentReference.content.attachment",
"mustSupport": true
},
{
"id": "DocumentReference.content:originaleRechnung.attachment.extension:signature",
"path": "DocumentReference.content.attachment.extension",
"sliceName": "signature",
"comment": "Die Signatur auf Ebene der Attachment muss vorhanden sein und umfasst eine Signatur über den Hash der originalen Rechnung. Die Extension hat keine Mindestkardinalität von 1, da sie in R5 entfernt wird und die Instanz dann immer noch valide sein muss.",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature"
]
}
],
"mustSupport": true
},
{
"id": "DocumentReference.content:originaleRechnung.attachment.extension:signature.value[x].type",
"path": "DocumentReference.content.attachment.extension.value[x].type",
"patternCoding": {
"code": "1.2.840.10065.1.12.1.13",
"system": "urn:iso-astm:E1762-95:2013"
},
"mustSupport": true
},
{
"id": "DocumentReference.content:originaleRechnung.attachment.extension:signature.value[x].when",
"path": "DocumentReference.content.attachment.extension.value[x].when",
"mustSupport": true
},
{
"id": "DocumentReference.content:originaleRechnung.attachment.extension:signature.value[x].who",
"path": "DocumentReference.content.attachment.extension.value[x].who",
"mustSupport": true
},
{
"id": "DocumentReference.content:originaleRechnung.attachment.extension:signature.value[x].who.identifier",
"path": "DocumentReference.content.attachment.extension.value[x].who.identifier",
"mustSupport": true
},
{
"id": "DocumentReference.content:originaleRechnung.attachment.extension:signature.value[x].who.identifier.system",
"path": "DocumentReference.content.attachment.extension.value[x].who.identifier.system",
"patternUri": "urn:ietf:rfc:3986",
"mustSupport": true
},
{
"id": "DocumentReference.content:originaleRechnung.attachment.extension:signature.value[x].who.identifier.value",
"path": "DocumentReference.content.attachment.extension.value[x].who.identifier.value",
"patternString": "urn:oid:1.2.276.0.76.4.323",
"mustSupport": true
},
{
"id": "DocumentReference.content:originaleRechnung.attachment.extension:signature.value[x].targetFormat",
"path": "DocumentReference.content.attachment.extension.value[x].targetFormat",
"mustSupport": true,
"binding": {
"strength": "required",
"valueSet": "https://gematik.de/fhir/dipag/ValueSet/dipag-restricted-mime-types-in-binary-vs"
}
},
{
"id": "DocumentReference.content:originaleRechnung.attachment.extension:signature.value[x].sigFormat",
"path": "DocumentReference.content.attachment.extension.value[x].sigFormat",
"mustSupport": true
},
{
"id": "DocumentReference.content:originaleRechnung.attachment.extension:signature.value[x].data",
"path": "DocumentReference.content.attachment.extension.value[x].data",
"mustSupport": true
},
{
"id": "DocumentReference.content:originaleRechnung.attachment.contentType",
"path": "DocumentReference.content.attachment.contentType",
"comment": "Zum Zeitpunkt der Veröffentlichung werden nur PDF-Dokumente als Rechnung seitens der Leistungserbringer:in unterstützt.",
"min": 1,
"patternCode": "application/pdf",
"mustSupport": true
},
{
"id": "DocumentReference.content:originaleRechnung.attachment.data",
"path": "DocumentReference.content.attachment.data",
"comment": "Die angereicherte Rechnung wird durch den FD direkt als Binary-Ressource unter attachment.url referenziert.",
"max": "0"
},
{
"id": "DocumentReference.content:originaleRechnung.attachment.url",
"path": "DocumentReference.content.attachment.url",
"min": 1,
"mustSupport": true
},
{
"id": "DocumentReference.content:originaleRechnung.format",
"path": "DocumentReference.content.format",
"min": 1,
"patternCoding": {
"code": "originaleRechnung",
"system": "https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs"
},
"mustSupport": true
},
{
"id": "DocumentReference.content:angereicherteRechnung",
"path": "DocumentReference.content",
"sliceName": "angereicherteRechnung",
"min": 0,
"max": "1",
"mustSupport": true
},
{
"id": "DocumentReference.content:angereicherteRechnung.attachment",
"path": "DocumentReference.content.attachment",
"mustSupport": true
},
{
"id": "DocumentReference.content:angereicherteRechnung.attachment.extension:signature",
"path": "DocumentReference.content.attachment.extension",
"sliceName": "signature",
"comment": "Die Signatur auf Ebene der Attachment muss vorhanden sein und umfasst eine Signatur über den Hash der angereicherten Rechnung.Die Extension hat keine Mindestkardinalität von 1, da sie in R5 entfernt wird und die Instanz dann immer noch valide sein muss.",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature"
]
}
],
"mustSupport": true
},
{
"id": "DocumentReference.content:angereicherteRechnung.attachment.extension:signature.value[x].type",
"path": "DocumentReference.content.attachment.extension.value[x].type",
"patternCoding": {
"code": "1.2.840.10065.1.12.1.13",
"system": "urn:iso-astm:E1762-95:2013"
},
"mustSupport": true
},
{
"id": "DocumentReference.content:angereicherteRechnung.attachment.extension:signature.value[x].when",
"path": "DocumentReference.content.attachment.extension.value[x].when",
"mustSupport": true
},
{
"id": "DocumentReference.content:angereicherteRechnung.attachment.extension:signature.value[x].who",
"path": "DocumentReference.content.attachment.extension.value[x].who",
"mustSupport": true
},
{
"id": "DocumentReference.content:angereicherteRechnung.attachment.extension:signature.value[x].who.identifier",
"path": "DocumentReference.content.attachment.extension.value[x].who.identifier",
"mustSupport": true
},
{
"id": "DocumentReference.content:angereicherteRechnung.attachment.extension:signature.value[x].who.identifier.system",
"path": "DocumentReference.content.attachment.extension.value[x].who.identifier.system",
"patternUri": "urn:ietf:rfc:3986",
"mustSupport": true
},
{
"id": "DocumentReference.content:angereicherteRechnung.attachment.extension:signature.value[x].who.identifier.value",
"path": "DocumentReference.content.attachment.extension.value[x].who.identifier.value",
"patternString": "urn:oid:1.2.276.0.76.4.323",
"mustSupport": true
},
{
"id": "DocumentReference.content:angereicherteRechnung.attachment.extension:signature.value[x].targetFormat",
"path": "DocumentReference.content.attachment.extension.value[x].targetFormat",
"mustSupport": true,
"binding": {
"strength": "required",
"valueSet": "https://gematik.de/fhir/dipag/ValueSet/dipag-restricted-mime-types-in-binary-vs"
}
},
{
"id": "DocumentReference.content:angereicherteRechnung.attachment.extension:signature.value[x].sigFormat",
"path": "DocumentReference.content.attachment.extension.value[x].sigFormat",
"mustSupport": true
},
{
"id": "DocumentReference.content:angereicherteRechnung.attachment.extension:signature.value[x].data",
"path": "DocumentReference.content.attachment.extension.value[x].data",
"mustSupport": true
},
{
"id": "DocumentReference.content:angereicherteRechnung.attachment.contentType",
"path": "DocumentReference.content.attachment.contentType",
"comment": "Zum Zeitpunkt der Veröffentlichung werden nur PDF-Dokumente als Rechnung seitens der Leistungserbringer:in unterstützt.",
"min": 1,
"patternCode": "application/pdf",
"mustSupport": true
},
{
"id": "DocumentReference.content:angereicherteRechnung.attachment.data",
"path": "DocumentReference.content.attachment.data",
"comment": "Die angereicherte Rechnung wird durch den FD direkt als Binary-Ressource unter attachment.url referenziert.",
"max": "0"
},
{
"id": "DocumentReference.content:angereicherteRechnung.attachment.url",
"path": "DocumentReference.content.attachment.url",
"min": 1,
"mustSupport": true
},
{
"id": "DocumentReference.content:angereicherteRechnung.format",
"path": "DocumentReference.content.format",
"min": 1,
"patternCoding": {
"code": "angereichertesPDF",
"system": "https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs"
},
"mustSupport": true
},
{
"id": "DocumentReference.content:strukturierterRechnungsinhalt",
"path": "DocumentReference.content",
"sliceName": "strukturierterRechnungsinhalt",
"min": 0,
"max": "1",
"mustSupport": true
},
{
"id": "DocumentReference.content:strukturierterRechnungsinhalt.attachment",
"path": "DocumentReference.content.attachment",
"mustSupport": true
},
{
"id": "DocumentReference.content:strukturierterRechnungsinhalt.attachment.extension:signature",
"path": "DocumentReference.content.attachment.extension",
"sliceName": "signature",
"comment": "Die Signatur auf Ebene der Attachment muss vorhanden sein und umfasst eine Signatur über den Hash der strukturierten Rechnungsinhalte. Die strukturierten Rechnungsinhalte müssen im Format fhir+json vorhanden sein. Die Extension hat keine Mindestkardinalität von 1, da sie in R5 entfernt wird und die Instanz dann immer noch valide sein muss.",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature"
]
}
],
"mustSupport": true
},
{
"id": "DocumentReference.content:strukturierterRechnungsinhalt.attachment.extension:signature.value[x].type",
"path": "DocumentReference.content.attachment.extension.value[x].type",
"patternCoding": {
"code": "1.2.840.10065.1.12.1.13",
"system": "urn:iso-astm:E1762-95:2013"
},
"mustSupport": true
},
{
"id": "DocumentReference.content:strukturierterRechnungsinhalt.attachment.extension:signature.value[x].when",
"path": "DocumentReference.content.attachment.extension.value[x].when",
"mustSupport": true
},
{
"id": "DocumentReference.content:strukturierterRechnungsinhalt.attachment.extension:signature.value[x].who",
"path": "DocumentReference.content.attachment.extension.value[x].who",
"mustSupport": true
},
{
"id": "DocumentReference.content:strukturierterRechnungsinhalt.attachment.extension:signature.value[x].who.identifier",
"path": "DocumentReference.content.attachment.extension.value[x].who.identifier",
"mustSupport": true
},
{
"id": "DocumentReference.content:strukturierterRechnungsinhalt.attachment.extension:signature.value[x].who.identifier.system",
"path": "DocumentReference.content.attachment.extension.value[x].who.identifier.system",
"patternUri": "urn:ietf:rfc:3986",
"mustSupport": true
},
{
"id": "DocumentReference.content:strukturierterRechnungsinhalt.attachment.extension:signature.value[x].who.identifier.value",
"path": "DocumentReference.content.attachment.extension.value[x].who.identifier.value",
"patternString": "urn:oid:1.2.276.0.76.4.323",
"mustSupport": true
},
{
"id": "DocumentReference.content:strukturierterRechnungsinhalt.attachment.extension:signature.value[x].targetFormat",
"path": "DocumentReference.content.attachment.extension.value[x].targetFormat",
"mustSupport": true,
"binding": {
"strength": "required",
"valueSet": "https://gematik.de/fhir/dipag/ValueSet/dipag-restricted-mime-types-in-binary-vs"
}
},
{
"id": "DocumentReference.content:strukturierterRechnungsinhalt.attachment.extension:signature.value[x].sigFormat",
"path": "DocumentReference.content.attachment.extension.value[x].sigFormat",
"mustSupport": true
},
{
"id": "DocumentReference.content:strukturierterRechnungsinhalt.attachment.extension:signature.value[x].data",
"path": "DocumentReference.content.attachment.extension.value[x].data",
"mustSupport": true
},
{
"id": "DocumentReference.content:strukturierterRechnungsinhalt.attachment.contentType",
"path": "DocumentReference.content.attachment.contentType",
"comment": "Strukturierte Rechnungsinhalte können seitens der Leistungserbringer:in sowohl als JSON als auch XML übergeben werden.",
"min": 1,
"patternCode": "application/fhir+json",
"mustSupport": true
},
{
"id": "DocumentReference.content:strukturierterRechnungsinhalt.attachment.data",
"path": "DocumentReference.content.attachment.data",
"comment": "Die angereicherte Rechnung wird durch den FD direkt als Binary-Ressource unter attachment.url referenziert.",
"max": "0"
},
{
"id": "DocumentReference.content:strukturierterRechnungsinhalt.attachment.url",
"path": "DocumentReference.content.attachment.url",
"min": 1,
"mustSupport": true
},
{
"id": "DocumentReference.content:strukturierterRechnungsinhalt.format",
"path": "DocumentReference.content.format",
"min": 1,
"patternCoding": {
"code": "rechnungsinhalt",
"system": "https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs"
},
"mustSupport": true
},
{
"id": "DocumentReference.content:anhang",
"path": "DocumentReference.content",
"sliceName": "anhang",
"min": 0,
"max": "1",
"mustSupport": true
},
{
"id": "DocumentReference.content:anhang.attachment",
"path": "DocumentReference.content.attachment",
"mustSupport": true
},
{
"id": "DocumentReference.content:anhang.attachment.extension:signature",
"path": "DocumentReference.content.attachment.extension",
"sliceName": "signature",
"comment": "Die Signatur auf Ebene der Attachment muss vorhanden sein und umfasst eine Signatur über den Hash des Anhangs. Die Extension hat keine Mindestkardinalität von 1, da sie in R5 entfernt wird und die Instanz dann immer noch valide sein muss.",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature"
]
}
],
"mustSupport": true
},
{
"id": "DocumentReference.content:anhang.attachment.extension:signature.value[x].type",
"path": "DocumentReference.content.attachment.extension.value[x].type",
"patternCoding": {
"code": "1.2.840.10065.1.12.1.13",
"system": "urn:iso-astm:E1762-95:2013"
},
"mustSupport": true
},
{
"id": "DocumentReference.content:anhang.attachment.extension:signature.value[x].when",
"path": "DocumentReference.content.attachment.extension.value[x].when",
"mustSupport": true
},
{
"id": "DocumentReference.content:anhang.attachment.extension:signature.value[x].who",
"path": "DocumentReference.content.attachment.extension.value[x].who",
"mustSupport": true
},
{
"id": "DocumentReference.content:anhang.attachment.extension:signature.value[x].who.identifier",
"path": "DocumentReference.content.attachment.extension.value[x].who.identifier",
"mustSupport": true
},
{
"id": "DocumentReference.content:anhang.attachment.extension:signature.value[x].who.identifier.system",
"path": "DocumentReference.content.attachment.extension.value[x].who.identifier.system",
"patternUri": "urn:ietf:rfc:3986",
"mustSupport": true
},
{
"id": "DocumentReference.content:anhang.attachment.extension:signature.value[x].who.identifier.value",
"path": "DocumentReference.content.attachment.extension.value[x].who.identifier.value",
"patternString": "urn:oid:1.2.276.0.76.4.323",
"mustSupport": true
},
{
"id": "DocumentReference.content:anhang.attachment.extension:signature.value[x].targetFormat",
"path": "DocumentReference.content.attachment.extension.value[x].targetFormat",
"mustSupport": true,
"binding": {
"strength": "required",
"valueSet": "https://gematik.de/fhir/dipag/ValueSet/dipag-restricted-mime-types-in-binary-vs"
}
},
{
"id": "DocumentReference.content:anhang.attachment.extension:signature.value[x].sigFormat",
"path": "DocumentReference.content.attachment.extension.value[x].sigFormat",
"mustSupport": true
},
{
"id": "DocumentReference.content:anhang.attachment.extension:signature.value[x].data",
"path": "DocumentReference.content.attachment.extension.value[x].data",
"mustSupport": true
},
{
"id": "DocumentReference.content:anhang.attachment.contentType",
"path": "DocumentReference.content.attachment.contentType",
"comment": "Zum Zeitpunkt der Veröffentlichung werden nur PDF-Dokumente als Rechnungsanhänge seitens der Leistungserbringer:in unterstützt.",
"min": 1,
"patternCode": "application/pdf",
"mustSupport": true
},
{
"id": "DocumentReference.content:anhang.attachment.data",
"path": "DocumentReference.content.attachment.data",
"comment": "Die angereicherte Rechnung wird durch den FD direkt als Binary-Ressource unter attachment.url referenziert.",
"max": "0"
},
{
"id": "DocumentReference.content:anhang.attachment.url",
"path": "DocumentReference.content.attachment.url",
"min": 1,
"mustSupport": true
},
{
"id": "DocumentReference.content:anhang.format",
"path": "DocumentReference.content.format",
"min": 1,
"patternCoding": {
"code": "rechnungsanhang",
"system": "https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs"
},
"mustSupport": true
},
{
"id": "DocumentReference.context",
"path": "DocumentReference.context",
"mustSupport": true
},
{
"id": "DocumentReference.context.related",
"path": "DocumentReference.context.related",
"slicing": {
"discriminator": [
{
"type": "pattern",
"path": "type"
}
],
"rules": "open"
},
"comment": "Der Fachdienst verknüpft alle Rechnungsdokumente mit dem Rechnungsempfänger. Bei Rechnungen an Versicherte MUSS der Slice 'patient' vorhanden sein, bei Rechnungen an Kostenträger-Organisationen MUSS der Slice 'empfaenger' vorhanden sein (jeweils genau einer der beiden Slices). Die Slices werden über das Element Reference.type unterschieden und NICHT über die Auflösung der Referenz (resolve()), damit eine einzelne DocumentReference auch ohne Bundle-Kontext (z.B. als Ergebnis der $retrieve-Operation oder der Suche) validierbar bleibt. Der Fachdienst MUSS Reference.type entsprechend dem Zieltyp ('Patient' bzw. 'Organization' bzw. 'DocumentReference') setzen.",
"min": 1,
"mustSupport": true
},
{
"id": "DocumentReference.context.related:patient",
"path": "DocumentReference.context.related",
"sliceName": "patient",
"short": "Rechnungsempfänger:in (Versicherte:r)",
"min": 0,
"max": "1",
"type": [
{
"code": "Reference",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/Patient"
]
}
],
"mustSupport": true
},
{
"id": "DocumentReference.context.related:patient.type",
"path": "DocumentReference.context.related.type",
"min": 1,
"patternUri": "Patient",
"mustSupport": true
},
{
"id": "DocumentReference.context.related:empfaenger",
"path": "DocumentReference.context.related",
"sliceName": "empfaenger",
"short": "Empfangende Kostenträger-Organisation",
"min": 0,
"max": "1",
"type": [
{
"code": "Reference",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/Organization"
]
}
],
"mustSupport": true
},
{
"id": "DocumentReference.context.related:empfaenger.type",
"path": "DocumentReference.context.related.type",
"min": 1,
"patternUri": "Organization",
"mustSupport": true
},
{
"id": "DocumentReference.context.related:anhaenge",
"path": "DocumentReference.context.related",
"sliceName": "anhaenge",
"min": 0,
"max": "*",
"type": [
{
"code": "Reference",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/DocumentReference"
]
}
],
"mustSupport": true
},
{
"id": "DocumentReference.context.related:anhaenge.type",
"path": "DocumentReference.context.related.type",
"min": 1,
"patternUri": "DocumentReference",
"mustSupport": true
}
]
}
}