| Offizielle URL: https://gematik.de/fhir/ti/StructureDefinition/ti-mhd-simplified-publish-document-reference | Version: 1.5.0 | |||
| Active Stand: 2026-11-16 | Maschinenlesbarer Name: TIMHDSimplifiedPublishDocumentReference | |||
Copyright/Rechtliches: gematik GmbH / Dieses Artefakt ist lizenziert unter Apache License, Version 2.0. |
||||
Dieses Profil erweitert die IHE MHD Simplified Publish DocumentReference-Ressource für den TI-weiten Einsatz.
Usages:
You can also check for usages in the FHIR IG Statistics
Beschreibung von Profilen, Differentials, Snapshots und deren Repräsentationen.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | SimplifiedPublishDocumentReference | A reference to a document Constraints: dom-2, dom-3, dom-4, dom-5, dom-6, ti-mhd-1 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..0 | Extensions that cannot be ignored Slice: Unordered, Open by value:url | |
![]() ![]() |
SΣ | 1..1 | Identifier | Master Version Specific Identifier |
![]() ![]() |
ΣN | 0..* | Identifier | Other identifiers for the document Slice: Unordered, Open by value:type |
![]() ![]() ![]() |
SΣN | 0..1 | UniqueIdIdentifier | Unique identifier for the referenced Document |
![]() ![]() |
?!SΣ | 1..1 | code | Status des Dokuments Binding: DocumentReferenceStatus (required): The status of the document reference. Required Pattern: current |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Art des Dokuments Binding: DocumentTypeValueSet (preferred): Precise type of clinical document. |
![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-type-code-vs (required) |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Grobe Klassifizierung des Dokuments Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level. |
![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-class-code-vs (required) |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system |
![]() ![]() |
SΣC | 1..1 | Reference(Patient) | Systemweit eindeutige Kennung des Patienten Constraints: ref-1 |
![]() ![]() ![]() |
SΣ | 1..1 | IdentifierKvid10 | Logical reference, when literal reference is not known |
![]() ![]() |
SΣ | 0..1 | instant | Wann die DocumentReference erzeugt wurde |
![]() ![]() |
SΣC | 0..* | Reference(Patient | Practitioner | Organization) | Person oder System, welche(s) das Dokument erstellt hat - verpflichtend für Primärsysteme Constraints: ref-1 |
![]() ![]() ![]() |
SΣ | 0..1 | IdentifierKvid10, IdentifierTelematikId, IdentifierLanr, IdentifierZanr | Logical reference, when literal reference is not known |
![]() ![]() ![]() |
SΣ | 1..1 | string | Text alternative for the resource |
![]() ![]() |
SΣ | 0..* | BackboneElement | Relationships to other documents |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣ | 1..1 | code | replaces | transforms | signs | appends Binding: https://gematik.de/fhir/terminology/ValueSet/epa-mhd-document-relationship-type-vs (required) |
![]() ![]() ![]() |
SΣC | 1..1 | Reference(DocumentReference) | Target of the relationship Constraints: ref-1 |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | EntryUUIDIdentifier | Logical reference, when literal reference is not known |
![]() ![]() |
SΣ | 1..* | CodeableConcept | Vertraulichkeitskennzeichnung und Datenkategorie des Dokuments Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-mhd-security-label-vs (required) |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system |
![]() ![]() |
SΣ | 1..1 | BackboneElement | Document referenced |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣC | 1..1 | Attachment | Where to access the document Constraints: att-1 |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Mime type of the content, with charset etc. Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-mime-type-vs (required) Example General: text/plain; charset=UTF-8, image/png |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Sprache, in der das Dokument abgefasst ist Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-language-code-vs (required) Example General: en-AU |
![]() ![]() ![]() ![]() |
S | 1..1 | base64Binary | The document is contained in the .data element, base64 encoded |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | unsignedInt | Größe des Dokuments in Bytes |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | base64Binary | Kryptographische Prüfsumme des Dokuments |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Titel des Dokuments Example General: Official Corporate Logo |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | dateTime | Erstellungszeitpunkt des Dokuments |
![]() ![]() ![]() |
SΣ | 1..1 | Coding | Global eindeutiger Code für das Dokumentenformat Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-format-code-vs (required) |
![]() ![]() |
SΣ | 1..1 | BackboneElement | Clinical context of document |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣC | 0..1 | Period | Time of service that is being documented Constraints: per-1 |
![]() ![]() ![]() ![]() |
SΣC | 0..1 | dateTime | Zeitpunkt, an dem das im Dokument dokumentierte (Behandlungs-)Ereignis begonnen wurde |
![]() ![]() ![]() ![]() |
SΣC | 0..1 | dateTime | Zeitpunkt, an dem das im Dokument dokumentierte (Behandlungs-)Ereignis beendet wurde |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Art der Einrichtung, in der das dokumentierte Ereignis stattgefunden hat Binding: FacilityTypeCodeValueSet (example): XDS Facility Type. |
![]() ![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-healthcare-facility-type-code-vs (required) |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Art der Fachrichtung der erstellenden Einrichtung, in der das dokumentiere Ereignis stattgefunden hat Binding: PracticeSettingCodeValueSet (example): Additional details about where the content was created (e.g. clinical specialty). |
![]() ![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-practice-setting-code-vs (required) |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system |
![]() ![]() ![]() |
SC | 0..1 | Reference(Patient) | Patient demographics from source Constraints: ref-1 |
![]() ![]() ![]() ![]() |
SΣC | 0..1 | string | Demographische Daten zum Patienten im Quellsystem |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Kennung des Patienten im Quellsystem |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| att-1 | error | DocumentReference.content.attachment | If the Attachment has data, it SHALL have a contentType |
data.empty() or contentType.exists()
|
| dom-2 | error | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DocumentReference | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DocumentReference | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| per-1 | error | DocumentReference.context.period | If present, start SHALL have a lower value than end |
start.hasValue().not() or end.hasValue().not() or (start <= end)
|
| ref-1 | error | DocumentReference.subject, DocumentReference.author, DocumentReference.relatesTo.target, DocumentReference.context.sourcePatientInfo | SHALL have a contained resource if a local reference is provided |
reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
|
| ti-mhd-1 | error | DocumentReference | Der Identifier im Slice identifier:uniqueId muss mit masterIdentifier übereinstimmen, da beide auf DocumentEntry.uniqueId abgebildet werden (IHE MHD ab 4.2.4: "If this is present, then the identifier SHALL be the same as the one found in masterIdentifier."). |
identifier.where(type.coding.where(system = 'https://profiles.ihe.net/ITI/MHD/CodeSystem/IHE.MHD.MHDIdentifierType' and code = 'uniqueId').exists()).all(system = %resource.masterIdentifier.system and value = %resource.masterIdentifier.value)
|
Diese Struktur ist abgeleitet von SimplifiedPublishDocumentReference
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | SimplifiedPublishDocumentReference | A reference to a document Constraints: ti-mhd-1 |
![]() ![]() |
S | 1..1 | Identifier | Master Version Specific Identifier |
![]() ![]() |
S | 1..1 | code | Status des Dokuments |
![]() ![]() |
1..1 | CodeableConcept | Art des Dokuments | |
![]() ![]() ![]() |
S | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-type-code-vs (required) |
![]() ![]() ![]() ![]() |
S | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() |
S | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() |
S | 1..1 | string | Representation defined by the system |
![]() ![]() |
1..1 | CodeableConcept | Grobe Klassifizierung des Dokuments | |
![]() ![]() ![]() |
S | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-class-code-vs (required) |
![]() ![]() ![]() ![]() |
S | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() |
S | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() |
S | 1..1 | string | Representation defined by the system |
![]() ![]() |
S | 1..1 | Reference(Patient) | Systemweit eindeutige Kennung des Patienten |
![]() ![]() ![]() |
S | 1..1 | IdentifierKvid10 | Logical reference, when literal reference is not known |
![]() ![]() |
0..1 | instant | Wann die DocumentReference erzeugt wurde | |
![]() ![]() |
0..* | Reference(Patient | Practitioner | Organization) | Person oder System, welche(s) das Dokument erstellt hat - verpflichtend für Primärsysteme | |
![]() ![]() ![]() |
S | 0..1 | IdentifierKvid10, IdentifierTelematikId, IdentifierLanr, IdentifierZanr | Logical reference, when literal reference is not known |
![]() ![]() ![]() |
S | 1..1 | string | Text alternative for the resource |
![]() ![]() |
||||
![]() ![]() ![]() |
S | 1..1 | code | replaces | transforms | signs | appends Binding: https://gematik.de/fhir/terminology/ValueSet/epa-mhd-document-relationship-type-vs (required) |
![]() ![]() ![]() |
S | 1..1 | Reference(DocumentReference) | Target of the relationship |
![]() ![]() ![]() ![]() |
S | 0..1 | EntryUUIDIdentifier | Logical reference, when literal reference is not known |
![]() ![]() |
1..* | CodeableConcept | Vertraulichkeitskennzeichnung und Datenkategorie des Dokuments | |
![]() ![]() ![]() |
S | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-mhd-security-label-vs (required) |
![]() ![]() ![]() ![]() |
S | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() |
S | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() |
S | 1..1 | string | Representation defined by the system |
![]() ![]() |
S | 1..1 | BackboneElement | Document referenced |
![]() ![]() ![]() |
S | 1..1 | Attachment | Where to access the document |
![]() ![]() ![]() ![]() |
S | 1..1 | code | Mime type of the content, with charset etc. Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-mime-type-vs (required) |
![]() ![]() ![]() ![]() |
1..1 | code | Sprache, in der das Dokument abgefasst ist Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-language-code-vs (required) | |
![]() ![]() ![]() ![]() |
S | 1..1 | base64Binary | The document is contained in the .data element, base64 encoded |
![]() ![]() ![]() ![]() |
S | 1..1 | unsignedInt | Größe des Dokuments in Bytes |
![]() ![]() ![]() ![]() |
S | 1..1 | base64Binary | Kryptographische Prüfsumme des Dokuments |
![]() ![]() ![]() ![]() |
S | 1..1 | string | Titel des Dokuments |
![]() ![]() ![]() ![]() |
1..1 | dateTime | Erstellungszeitpunkt des Dokuments | |
![]() ![]() ![]() |
1..1 | Coding | Global eindeutiger Code für das Dokumentenformat Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-format-code-vs (required) | |
![]() ![]() |
S | 1..1 | BackboneElement | Clinical context of document |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | Zeitpunkt, an dem das im Dokument dokumentierte (Behandlungs-)Ereignis begonnen wurde |
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | Zeitpunkt, an dem das im Dokument dokumentierte (Behandlungs-)Ereignis beendet wurde |
![]() ![]() ![]() |
1..1 | CodeableConcept | Art der Einrichtung, in der das dokumentierte Ereignis stattgefunden hat | |
![]() ![]() ![]() ![]() |
S | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-healthcare-facility-type-code-vs (required) |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Representation defined by the system |
![]() ![]() ![]() |
1..1 | CodeableConcept | Art der Fachrichtung der erstellenden Einrichtung, in der das dokumentiere Ereignis stattgefunden hat | |
![]() ![]() ![]() ![]() |
S | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-practice-setting-code-vs (required) |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Representation defined by the system |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | Demographische Daten zum Patienten im Quellsystem |
![]() ![]() ![]() ![]() |
S | 0..1 | Identifier | Kennung des Patienten im Quellsystem |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| ti-mhd-1 | error | DocumentReference | Der Identifier im Slice identifier:uniqueId muss mit masterIdentifier übereinstimmen, da beide auf DocumentEntry.uniqueId abgebildet werden (IHE MHD ab 4.2.4: "If this is present, then the identifier SHALL be the same as the one found in masterIdentifier."). |
identifier.where(type.coding.where(system = 'https://profiles.ihe.net/ITI/MHD/CodeSystem/IHE.MHD.MHDIdentifierType' and code = 'uniqueId').exists()).all(system = %resource.masterIdentifier.system and value = %resource.masterIdentifier.value)
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | SimplifiedPublishDocumentReference | A reference to a document Constraints: dom-2, dom-3, dom-4, dom-5, dom-6, ti-mhd-1 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() |
?! | 0..0 | Extensions that cannot be ignored Slice: Unordered, Open by value:url | |||||
![]() ![]() |
SΣ | 1..1 | Identifier | Master Version Specific Identifier | ||||
![]() ![]() |
ΣN | 0..* | Identifier | Other identifiers for the document Slice: Unordered, Open by value:type | ||||
![]() ![]() ![]() |
SΣN | 0..1 | UniqueIdIdentifier | Unique identifier for the referenced Document | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Status des Dokuments Binding: DocumentReferenceStatus (required): The status of the document reference. Required Pattern: current | ||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Art des Dokuments Binding: DocumentTypeValueSet (preferred): Precise type of clinical document. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-type-code-vs (required) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Grobe Klassifizierung des Dokuments Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-class-code-vs (required) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
SΣC | 1..1 | Reference(Patient) | Systemweit eindeutige Kennung des Patienten Constraints: ref-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
SΣ | 1..1 | IdentifierKvid10 | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
SΣ | 0..1 | instant | Wann die DocumentReference erzeugt wurde | ||||
![]() ![]() |
SΣC | 0..* | Reference(Patient | Practitioner | Organization) | Person oder System, welche(s) das Dokument erstellt hat - verpflichtend für Primärsysteme Constraints: ref-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
SΣ | 0..1 | IdentifierKvid10, IdentifierTelematikId, IdentifierLanr, IdentifierZanr | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | Text alternative for the resource | ||||
![]() ![]() |
C | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Who/what authenticated the document Constraints: ref-1 | ||||
![]() ![]() |
C | 0..1 | Reference(Organization) | Organization which maintains the document Constraints: ref-1 | ||||
![]() ![]() |
SΣ | 0..* | BackboneElement | Relationships to other documents | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 1..1 | code | replaces | transforms | signs | appends Binding: https://gematik.de/fhir/terminology/ValueSet/epa-mhd-document-relationship-type-vs (required) | ||||
![]() ![]() ![]() |
SΣC | 1..1 | Reference(DocumentReference) | Target of the relationship Constraints: ref-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | EntryUUIDIdentifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | string | Human-readable description | ||||
![]() ![]() |
SΣ | 1..* | CodeableConcept | Vertraulichkeitskennzeichnung und Datenkategorie des Dokuments Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-mhd-security-label-vs (required) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
SΣ | 1..1 | BackboneElement | Document referenced | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣC | 1..1 | Attachment | Where to access the document Constraints: att-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Mime type of the content, with charset etc. Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-mime-type-vs (required) Example General: text/plain; charset=UTF-8, image/png | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Sprache, in der das Dokument abgefasst ist Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-language-code-vs (required) Example General: en-AU | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | base64Binary | The document is contained in the .data element, base64 encoded | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | unsignedInt | Größe des Dokuments in Bytes | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | base64Binary | Kryptographische Prüfsumme des Dokuments | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Titel des Dokuments Example General: Official Corporate Logo | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | dateTime | Erstellungszeitpunkt des Dokuments | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Coding | Global eindeutiger Code für das Dokumentenformat Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-format-code-vs (required) | ||||
![]() ![]() |
SΣ | 1..1 | BackboneElement | Clinical context of document | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
C | 0..* | Reference(Encounter | EpisodeOfCare) | Context of the document content Constraints: ref-1 | ||||
![]() ![]() ![]() |
0..* | CodeableConcept | Main clinical acts documented Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented. | |||||
![]() ![]() ![]() |
SΣC | 0..1 | Period | Time of service that is being documented Constraints: per-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣC | 0..1 | dateTime | Zeitpunkt, an dem das im Dokument dokumentierte (Behandlungs-)Ereignis begonnen wurde | ||||
![]() ![]() ![]() ![]() |
SΣC | 0..1 | dateTime | Zeitpunkt, an dem das im Dokument dokumentierte (Behandlungs-)Ereignis beendet wurde | ||||
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Art der Einrichtung, in der das dokumentierte Ereignis stattgefunden hat Binding: FacilityTypeCodeValueSet (example): XDS Facility Type. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-healthcare-facility-type-code-vs (required) | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Art der Fachrichtung der erstellenden Einrichtung, in der das dokumentiere Ereignis stattgefunden hat Binding: PracticeSettingCodeValueSet (example): Additional details about where the content was created (e.g. clinical specialty). | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-practice-setting-code-vs (required) | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
SC | 0..1 | Reference(Patient) | Patient demographics from source Constraints: ref-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣC | 0..1 | string | Demographische Daten zum Patienten im Quellsystem | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Kennung des Patienten im Quellsystem | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
C | 0..* | Reference(Resource) | Related identifiers or resources Constraints: ref-1 | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| DocumentReference.language | Base | preferred | Common Languages | 📦4.0.1 | FHIR Std. |
| DocumentReference.status | Base | required | DocumentReferenceStatus | 📍4.0.1 | FHIR Std. |
| DocumentReference.type | Base | preferred | Document Type Value Set | 📦4.0.1 | FHIR Std. |
| DocumentReference.type.coding | Base | required | https://gematik.de/fhir/terminology/ValueSet/epa-xds-type-code-vs | Not State | Unknown |
| DocumentReference.category | Base | example | Document Class Value Set | 📦4.0.1 | FHIR Std. |
| DocumentReference.category.coding | Base | required | https://gematik.de/fhir/terminology/ValueSet/epa-xds-class-code-vs | Not State | Unknown |
| DocumentReference.subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| DocumentReference.author.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| DocumentReference.relatesTo.code | Base | required | https://gematik.de/fhir/terminology/ValueSet/epa-mhd-document-relationship-type-vs | Not State | Unknown |
| DocumentReference.relatesTo.target.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| DocumentReference.securityLabel | Base | extensible | SecurityLabels | 📦4.0.1 | FHIR Std. |
| DocumentReference.securityLabel.coding | Base | required | https://gematik.de/fhir/terminology/ValueSet/epa-mhd-security-label-vs | Not State | Unknown |
| DocumentReference.content.attachment.contentType | Base | required | https://gematik.de/fhir/terminology/ValueSet/epa-xds-mime-type-vs | Not State | Unknown |
| DocumentReference.content.attachment.language | Base | required | https://gematik.de/fhir/terminology/ValueSet/epa-xds-language-code-vs | Not State | Unknown |
| DocumentReference.content.format | Base | required | https://gematik.de/fhir/terminology/ValueSet/epa-xds-format-code-vs | Not State | Unknown |
| DocumentReference.context.event | Base | example | v3 Code System ActCode | 📦3.0.0 | THO v7.3 |
| DocumentReference.context.facilityType | Base | example | Facility Type Code Value Set | 📦4.0.1 | FHIR Std. |
| DocumentReference.context.facilityType.coding | Base | required | https://gematik.de/fhir/terminology/ValueSet/epa-xds-healthcare-facility-type-code-vs | Not State | Unknown |
| DocumentReference.context.practiceSetting | Base | example | Practice Setting Code Value Set | 📦4.0.1 | FHIR Std. |
| DocumentReference.context.practiceSetting.coding | Base | required | https://gematik.de/fhir/terminology/ValueSet/epa-xds-practice-setting-code-vs | Not State | Unknown |
| DocumentReference.context.sourcePatientInfo.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| att-1 | error | DocumentReference.content.attachment | If the Attachment has data, it SHALL have a contentType |
data.empty() or contentType.exists()
|
| dom-2 | error | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DocumentReference | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DocumentReference | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| per-1 | error | DocumentReference.context.period | If present, start SHALL have a lower value than end |
start.hasValue().not() or end.hasValue().not() or (start <= end)
|
| ref-1 | error | DocumentReference.subject, DocumentReference.author, DocumentReference.authenticator, DocumentReference.custodian, DocumentReference.relatesTo.target, DocumentReference.context.encounter, DocumentReference.context.sourcePatientInfo, DocumentReference.context.related | SHALL have a contained resource if a local reference is provided |
reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
|
| ti-mhd-1 | error | DocumentReference | Der Identifier im Slice identifier:uniqueId muss mit masterIdentifier übereinstimmen, da beide auf DocumentEntry.uniqueId abgebildet werden (IHE MHD ab 4.2.4: "If this is present, then the identifier SHALL be the same as the one found in masterIdentifier."). |
identifier.where(type.coding.where(system = 'https://profiles.ihe.net/ITI/MHD/CodeSystem/IHE.MHD.MHDIdentifierType' and code = 'uniqueId').exists()).all(system = %resource.masterIdentifier.system and value = %resource.masterIdentifier.value)
|
Diese Struktur ist abgeleitet von SimplifiedPublishDocumentReference
Summary
Mandatory: 13 elements(16 nested mandatory elements)
Must-Support: 41 elements
Structures
This structure refers to these other structures:
Schlüsselelemente-Ansicht
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | SimplifiedPublishDocumentReference | A reference to a document Constraints: dom-2, dom-3, dom-4, dom-5, dom-6, ti-mhd-1 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..0 | Extensions that cannot be ignored Slice: Unordered, Open by value:url | |
![]() ![]() |
SΣ | 1..1 | Identifier | Master Version Specific Identifier |
![]() ![]() |
ΣN | 0..* | Identifier | Other identifiers for the document Slice: Unordered, Open by value:type |
![]() ![]() ![]() |
SΣN | 0..1 | UniqueIdIdentifier | Unique identifier for the referenced Document |
![]() ![]() |
?!SΣ | 1..1 | code | Status des Dokuments Binding: DocumentReferenceStatus (required): The status of the document reference. Required Pattern: current |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Art des Dokuments Binding: DocumentTypeValueSet (preferred): Precise type of clinical document. |
![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-type-code-vs (required) |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Grobe Klassifizierung des Dokuments Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level. |
![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-class-code-vs (required) |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system |
![]() ![]() |
SΣC | 1..1 | Reference(Patient) | Systemweit eindeutige Kennung des Patienten Constraints: ref-1 |
![]() ![]() ![]() |
SΣ | 1..1 | IdentifierKvid10 | Logical reference, when literal reference is not known |
![]() ![]() |
SΣ | 0..1 | instant | Wann die DocumentReference erzeugt wurde |
![]() ![]() |
SΣC | 0..* | Reference(Patient | Practitioner | Organization) | Person oder System, welche(s) das Dokument erstellt hat - verpflichtend für Primärsysteme Constraints: ref-1 |
![]() ![]() ![]() |
SΣ | 0..1 | IdentifierKvid10, IdentifierTelematikId, IdentifierLanr, IdentifierZanr | Logical reference, when literal reference is not known |
![]() ![]() ![]() |
SΣ | 1..1 | string | Text alternative for the resource |
![]() ![]() |
SΣ | 0..* | BackboneElement | Relationships to other documents |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣ | 1..1 | code | replaces | transforms | signs | appends Binding: https://gematik.de/fhir/terminology/ValueSet/epa-mhd-document-relationship-type-vs (required) |
![]() ![]() ![]() |
SΣC | 1..1 | Reference(DocumentReference) | Target of the relationship Constraints: ref-1 |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | EntryUUIDIdentifier | Logical reference, when literal reference is not known |
![]() ![]() |
SΣ | 1..* | CodeableConcept | Vertraulichkeitskennzeichnung und Datenkategorie des Dokuments Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-mhd-security-label-vs (required) |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system |
![]() ![]() |
SΣ | 1..1 | BackboneElement | Document referenced |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣC | 1..1 | Attachment | Where to access the document Constraints: att-1 |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Mime type of the content, with charset etc. Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-mime-type-vs (required) Example General: text/plain; charset=UTF-8, image/png |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Sprache, in der das Dokument abgefasst ist Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-language-code-vs (required) Example General: en-AU |
![]() ![]() ![]() ![]() |
S | 1..1 | base64Binary | The document is contained in the .data element, base64 encoded |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | unsignedInt | Größe des Dokuments in Bytes |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | base64Binary | Kryptographische Prüfsumme des Dokuments |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Titel des Dokuments Example General: Official Corporate Logo |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | dateTime | Erstellungszeitpunkt des Dokuments |
![]() ![]() ![]() |
SΣ | 1..1 | Coding | Global eindeutiger Code für das Dokumentenformat Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-format-code-vs (required) |
![]() ![]() |
SΣ | 1..1 | BackboneElement | Clinical context of document |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣC | 0..1 | Period | Time of service that is being documented Constraints: per-1 |
![]() ![]() ![]() ![]() |
SΣC | 0..1 | dateTime | Zeitpunkt, an dem das im Dokument dokumentierte (Behandlungs-)Ereignis begonnen wurde |
![]() ![]() ![]() ![]() |
SΣC | 0..1 | dateTime | Zeitpunkt, an dem das im Dokument dokumentierte (Behandlungs-)Ereignis beendet wurde |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Art der Einrichtung, in der das dokumentierte Ereignis stattgefunden hat Binding: FacilityTypeCodeValueSet (example): XDS Facility Type. |
![]() ![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-healthcare-facility-type-code-vs (required) |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Art der Fachrichtung der erstellenden Einrichtung, in der das dokumentiere Ereignis stattgefunden hat Binding: PracticeSettingCodeValueSet (example): Additional details about where the content was created (e.g. clinical specialty). |
![]() ![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-practice-setting-code-vs (required) |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system |
![]() ![]() ![]() |
SC | 0..1 | Reference(Patient) | Patient demographics from source Constraints: ref-1 |
![]() ![]() ![]() ![]() |
SΣC | 0..1 | string | Demographische Daten zum Patienten im Quellsystem |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Kennung des Patienten im Quellsystem |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| att-1 | error | DocumentReference.content.attachment | If the Attachment has data, it SHALL have a contentType |
data.empty() or contentType.exists()
|
| dom-2 | error | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DocumentReference | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DocumentReference | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| per-1 | error | DocumentReference.context.period | If present, start SHALL have a lower value than end |
start.hasValue().not() or end.hasValue().not() or (start <= end)
|
| ref-1 | error | DocumentReference.subject, DocumentReference.author, DocumentReference.relatesTo.target, DocumentReference.context.sourcePatientInfo | SHALL have a contained resource if a local reference is provided |
reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
|
| ti-mhd-1 | error | DocumentReference | Der Identifier im Slice identifier:uniqueId muss mit masterIdentifier übereinstimmen, da beide auf DocumentEntry.uniqueId abgebildet werden (IHE MHD ab 4.2.4: "If this is present, then the identifier SHALL be the same as the one found in masterIdentifier."). |
identifier.where(type.coding.where(system = 'https://profiles.ihe.net/ITI/MHD/CodeSystem/IHE.MHD.MHDIdentifierType' and code = 'uniqueId').exists()).all(system = %resource.masterIdentifier.system and value = %resource.masterIdentifier.value)
|
Differential-Ansicht
Diese Struktur ist abgeleitet von SimplifiedPublishDocumentReference
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | SimplifiedPublishDocumentReference | A reference to a document Constraints: ti-mhd-1 |
![]() ![]() |
S | 1..1 | Identifier | Master Version Specific Identifier |
![]() ![]() |
S | 1..1 | code | Status des Dokuments |
![]() ![]() |
1..1 | CodeableConcept | Art des Dokuments | |
![]() ![]() ![]() |
S | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-type-code-vs (required) |
![]() ![]() ![]() ![]() |
S | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() |
S | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() |
S | 1..1 | string | Representation defined by the system |
![]() ![]() |
1..1 | CodeableConcept | Grobe Klassifizierung des Dokuments | |
![]() ![]() ![]() |
S | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-class-code-vs (required) |
![]() ![]() ![]() ![]() |
S | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() |
S | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() |
S | 1..1 | string | Representation defined by the system |
![]() ![]() |
S | 1..1 | Reference(Patient) | Systemweit eindeutige Kennung des Patienten |
![]() ![]() ![]() |
S | 1..1 | IdentifierKvid10 | Logical reference, when literal reference is not known |
![]() ![]() |
0..1 | instant | Wann die DocumentReference erzeugt wurde | |
![]() ![]() |
0..* | Reference(Patient | Practitioner | Organization) | Person oder System, welche(s) das Dokument erstellt hat - verpflichtend für Primärsysteme | |
![]() ![]() ![]() |
S | 0..1 | IdentifierKvid10, IdentifierTelematikId, IdentifierLanr, IdentifierZanr | Logical reference, when literal reference is not known |
![]() ![]() ![]() |
S | 1..1 | string | Text alternative for the resource |
![]() ![]() |
||||
![]() ![]() ![]() |
S | 1..1 | code | replaces | transforms | signs | appends Binding: https://gematik.de/fhir/terminology/ValueSet/epa-mhd-document-relationship-type-vs (required) |
![]() ![]() ![]() |
S | 1..1 | Reference(DocumentReference) | Target of the relationship |
![]() ![]() ![]() ![]() |
S | 0..1 | EntryUUIDIdentifier | Logical reference, when literal reference is not known |
![]() ![]() |
1..* | CodeableConcept | Vertraulichkeitskennzeichnung und Datenkategorie des Dokuments | |
![]() ![]() ![]() |
S | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-mhd-security-label-vs (required) |
![]() ![]() ![]() ![]() |
S | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() |
S | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() |
S | 1..1 | string | Representation defined by the system |
![]() ![]() |
S | 1..1 | BackboneElement | Document referenced |
![]() ![]() ![]() |
S | 1..1 | Attachment | Where to access the document |
![]() ![]() ![]() ![]() |
S | 1..1 | code | Mime type of the content, with charset etc. Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-mime-type-vs (required) |
![]() ![]() ![]() ![]() |
1..1 | code | Sprache, in der das Dokument abgefasst ist Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-language-code-vs (required) | |
![]() ![]() ![]() ![]() |
S | 1..1 | base64Binary | The document is contained in the .data element, base64 encoded |
![]() ![]() ![]() ![]() |
S | 1..1 | unsignedInt | Größe des Dokuments in Bytes |
![]() ![]() ![]() ![]() |
S | 1..1 | base64Binary | Kryptographische Prüfsumme des Dokuments |
![]() ![]() ![]() ![]() |
S | 1..1 | string | Titel des Dokuments |
![]() ![]() ![]() ![]() |
1..1 | dateTime | Erstellungszeitpunkt des Dokuments | |
![]() ![]() ![]() |
1..1 | Coding | Global eindeutiger Code für das Dokumentenformat Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-format-code-vs (required) | |
![]() ![]() |
S | 1..1 | BackboneElement | Clinical context of document |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | Zeitpunkt, an dem das im Dokument dokumentierte (Behandlungs-)Ereignis begonnen wurde |
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | Zeitpunkt, an dem das im Dokument dokumentierte (Behandlungs-)Ereignis beendet wurde |
![]() ![]() ![]() |
1..1 | CodeableConcept | Art der Einrichtung, in der das dokumentierte Ereignis stattgefunden hat | |
![]() ![]() ![]() ![]() |
S | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-healthcare-facility-type-code-vs (required) |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Representation defined by the system |
![]() ![]() ![]() |
1..1 | CodeableConcept | Art der Fachrichtung der erstellenden Einrichtung, in der das dokumentiere Ereignis stattgefunden hat | |
![]() ![]() ![]() ![]() |
S | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-practice-setting-code-vs (required) |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Representation defined by the system |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | Demographische Daten zum Patienten im Quellsystem |
![]() ![]() ![]() ![]() |
S | 0..1 | Identifier | Kennung des Patienten im Quellsystem |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| ti-mhd-1 | error | DocumentReference | Der Identifier im Slice identifier:uniqueId muss mit masterIdentifier übereinstimmen, da beide auf DocumentEntry.uniqueId abgebildet werden (IHE MHD ab 4.2.4: "If this is present, then the identifier SHALL be the same as the one found in masterIdentifier."). |
identifier.where(type.coding.where(system = 'https://profiles.ihe.net/ITI/MHD/CodeSystem/IHE.MHD.MHDIdentifierType' and code = 'uniqueId').exists()).all(system = %resource.masterIdentifier.system and value = %resource.masterIdentifier.value)
|
Snapshot-AnsichtView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | SimplifiedPublishDocumentReference | A reference to a document Constraints: dom-2, dom-3, dom-4, dom-5, dom-6, ti-mhd-1 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() |
?! | 0..0 | Extensions that cannot be ignored Slice: Unordered, Open by value:url | |||||
![]() ![]() |
SΣ | 1..1 | Identifier | Master Version Specific Identifier | ||||
![]() ![]() |
ΣN | 0..* | Identifier | Other identifiers for the document Slice: Unordered, Open by value:type | ||||
![]() ![]() ![]() |
SΣN | 0..1 | UniqueIdIdentifier | Unique identifier for the referenced Document | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Status des Dokuments Binding: DocumentReferenceStatus (required): The status of the document reference. Required Pattern: current | ||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Art des Dokuments Binding: DocumentTypeValueSet (preferred): Precise type of clinical document. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-type-code-vs (required) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Grobe Klassifizierung des Dokuments Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-class-code-vs (required) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
SΣC | 1..1 | Reference(Patient) | Systemweit eindeutige Kennung des Patienten Constraints: ref-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
SΣ | 1..1 | IdentifierKvid10 | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
SΣ | 0..1 | instant | Wann die DocumentReference erzeugt wurde | ||||
![]() ![]() |
SΣC | 0..* | Reference(Patient | Practitioner | Organization) | Person oder System, welche(s) das Dokument erstellt hat - verpflichtend für Primärsysteme Constraints: ref-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
SΣ | 0..1 | IdentifierKvid10, IdentifierTelematikId, IdentifierLanr, IdentifierZanr | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | Text alternative for the resource | ||||
![]() ![]() |
C | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Who/what authenticated the document Constraints: ref-1 | ||||
![]() ![]() |
C | 0..1 | Reference(Organization) | Organization which maintains the document Constraints: ref-1 | ||||
![]() ![]() |
SΣ | 0..* | BackboneElement | Relationships to other documents | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 1..1 | code | replaces | transforms | signs | appends Binding: https://gematik.de/fhir/terminology/ValueSet/epa-mhd-document-relationship-type-vs (required) | ||||
![]() ![]() ![]() |
SΣC | 1..1 | Reference(DocumentReference) | Target of the relationship Constraints: ref-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | EntryUUIDIdentifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | string | Human-readable description | ||||
![]() ![]() |
SΣ | 1..* | CodeableConcept | Vertraulichkeitskennzeichnung und Datenkategorie des Dokuments Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-mhd-security-label-vs (required) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
SΣ | 1..1 | BackboneElement | Document referenced | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣC | 1..1 | Attachment | Where to access the document Constraints: att-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Mime type of the content, with charset etc. Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-mime-type-vs (required) Example General: text/plain; charset=UTF-8, image/png | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Sprache, in der das Dokument abgefasst ist Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-language-code-vs (required) Example General: en-AU | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | base64Binary | The document is contained in the .data element, base64 encoded | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | unsignedInt | Größe des Dokuments in Bytes | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | base64Binary | Kryptographische Prüfsumme des Dokuments | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Titel des Dokuments Example General: Official Corporate Logo | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | dateTime | Erstellungszeitpunkt des Dokuments | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Coding | Global eindeutiger Code für das Dokumentenformat Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-format-code-vs (required) | ||||
![]() ![]() |
SΣ | 1..1 | BackboneElement | Clinical context of document | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
C | 0..* | Reference(Encounter | EpisodeOfCare) | Context of the document content Constraints: ref-1 | ||||
![]() ![]() ![]() |
0..* | CodeableConcept | Main clinical acts documented Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented. | |||||
![]() ![]() ![]() |
SΣC | 0..1 | Period | Time of service that is being documented Constraints: per-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣC | 0..1 | dateTime | Zeitpunkt, an dem das im Dokument dokumentierte (Behandlungs-)Ereignis begonnen wurde | ||||
![]() ![]() ![]() ![]() |
SΣC | 0..1 | dateTime | Zeitpunkt, an dem das im Dokument dokumentierte (Behandlungs-)Ereignis beendet wurde | ||||
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Art der Einrichtung, in der das dokumentierte Ereignis stattgefunden hat Binding: FacilityTypeCodeValueSet (example): XDS Facility Type. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-healthcare-facility-type-code-vs (required) | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Art der Fachrichtung der erstellenden Einrichtung, in der das dokumentiere Ereignis stattgefunden hat Binding: PracticeSettingCodeValueSet (example): Additional details about where the content was created (e.g. clinical specialty). | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 0..* | Coding | Code defined by a terminology system Binding: https://gematik.de/fhir/terminology/ValueSet/epa-xds-practice-setting-code-vs (required) | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
SC | 0..1 | Reference(Patient) | Patient demographics from source Constraints: ref-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣC | 0..1 | string | Demographische Daten zum Patienten im Quellsystem | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Kennung des Patienten im Quellsystem | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
C | 0..* | Reference(Resource) | Related identifiers or resources Constraints: ref-1 | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| DocumentReference.language | Base | preferred | Common Languages | 📦4.0.1 | FHIR Std. |
| DocumentReference.status | Base | required | DocumentReferenceStatus | 📍4.0.1 | FHIR Std. |
| DocumentReference.type | Base | preferred | Document Type Value Set | 📦4.0.1 | FHIR Std. |
| DocumentReference.type.coding | Base | required | https://gematik.de/fhir/terminology/ValueSet/epa-xds-type-code-vs | Not State | Unknown |
| DocumentReference.category | Base | example | Document Class Value Set | 📦4.0.1 | FHIR Std. |
| DocumentReference.category.coding | Base | required | https://gematik.de/fhir/terminology/ValueSet/epa-xds-class-code-vs | Not State | Unknown |
| DocumentReference.subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| DocumentReference.author.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| DocumentReference.relatesTo.code | Base | required | https://gematik.de/fhir/terminology/ValueSet/epa-mhd-document-relationship-type-vs | Not State | Unknown |
| DocumentReference.relatesTo.target.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| DocumentReference.securityLabel | Base | extensible | SecurityLabels | 📦4.0.1 | FHIR Std. |
| DocumentReference.securityLabel.coding | Base | required | https://gematik.de/fhir/terminology/ValueSet/epa-mhd-security-label-vs | Not State | Unknown |
| DocumentReference.content.attachment.contentType | Base | required | https://gematik.de/fhir/terminology/ValueSet/epa-xds-mime-type-vs | Not State | Unknown |
| DocumentReference.content.attachment.language | Base | required | https://gematik.de/fhir/terminology/ValueSet/epa-xds-language-code-vs | Not State | Unknown |
| DocumentReference.content.format | Base | required | https://gematik.de/fhir/terminology/ValueSet/epa-xds-format-code-vs | Not State | Unknown |
| DocumentReference.context.event | Base | example | v3 Code System ActCode | 📦3.0.0 | THO v7.3 |
| DocumentReference.context.facilityType | Base | example | Facility Type Code Value Set | 📦4.0.1 | FHIR Std. |
| DocumentReference.context.facilityType.coding | Base | required | https://gematik.de/fhir/terminology/ValueSet/epa-xds-healthcare-facility-type-code-vs | Not State | Unknown |
| DocumentReference.context.practiceSetting | Base | example | Practice Setting Code Value Set | 📦4.0.1 | FHIR Std. |
| DocumentReference.context.practiceSetting.coding | Base | required | https://gematik.de/fhir/terminology/ValueSet/epa-xds-practice-setting-code-vs | Not State | Unknown |
| DocumentReference.context.sourcePatientInfo.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| att-1 | error | DocumentReference.content.attachment | If the Attachment has data, it SHALL have a contentType |
data.empty() or contentType.exists()
|
| dom-2 | error | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DocumentReference | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DocumentReference | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| per-1 | error | DocumentReference.context.period | If present, start SHALL have a lower value than end |
start.hasValue().not() or end.hasValue().not() or (start <= end)
|
| ref-1 | error | DocumentReference.subject, DocumentReference.author, DocumentReference.authenticator, DocumentReference.custodian, DocumentReference.relatesTo.target, DocumentReference.context.encounter, DocumentReference.context.sourcePatientInfo, DocumentReference.context.related | SHALL have a contained resource if a local reference is provided |
reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
|
| ti-mhd-1 | error | DocumentReference | Der Identifier im Slice identifier:uniqueId muss mit masterIdentifier übereinstimmen, da beide auf DocumentEntry.uniqueId abgebildet werden (IHE MHD ab 4.2.4: "If this is present, then the identifier SHALL be the same as the one found in masterIdentifier."). |
identifier.where(type.coding.where(system = 'https://profiles.ihe.net/ITI/MHD/CodeSystem/IHE.MHD.MHDIdentifierType' and code = 'uniqueId').exists()).all(system = %resource.masterIdentifier.system and value = %resource.masterIdentifier.value)
|
Diese Struktur ist abgeleitet von SimplifiedPublishDocumentReference
Summary
Mandatory: 13 elements(16 nested mandatory elements)
Must-Support: 41 elements
Structures
This structure refers to these other structures:
Weitere Repräsentationen des Profils: CSV, Excel, Schematron