## Union of https://gematik.de/fhir/epa-mhd/StructureDefinition/epa-mhd-document-reference and https://gematik.de/fhir/epa-mhd/StructureDefinition/epa-mhd-document-reference

This is the set of resources that conform to either of the profiles EPA MHD DocumentReference (https://gematik.de/fhir/epa-mhd/StructureDefinition/epa-mhd-document-reference) and EPA MHD DocumentReference (https://gematik.de/fhir/epa-mhd/StructureDefinition/epa-mhd-document-reference). E.g. what you have to deal with if you get resources conforming to one of them

### Structure

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
DocumentReference |  | 0..* |  | A reference to a document Constraints: dom-2, dom-3, dom-4, dom-5, dom-6
meta | Σ | 0..1 | Meta | Metadata about the resource
extension |  | 0..* | Extension | Additional content defined by implementations
versionId | Σ | 0..1 | id | Version specific identifier
lastUpdated | Σ | 0..1 | instant | When the resource version last changed
source | Σ | 0..1 | uri | Identifies where the resource comes from
profile | Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
tag | Σ | 0..* | Coding | Tags applied to this resource Binding: ?? (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
text |  | 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
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
masterIdentifier | S Σ | 1..1 | ?? | left: An identifier intended for computation; right: Master Version Specific Identifier
identifier | S Σ | 0..* | Identifier | Other identifiers for the document
status | ?!S Σ | 1..1 | code | Status des Dokuments Binding: ?? (required): The status of the document reference.
type | S Σ | 1..1 | CodeableConcept | Art des Dokuments Binding: ?? (preferred): Precise type of clinical document.
extension |  | 0..* | Extension | Additional content defined by implementations
coding | S Σ | 0..* | Coding | Code defined by a terminology system Binding: ?? (required)
extension |  | 0..* | Extension | Additional content defined by implementations
system | S Σ | 1..1 | uri | Identity of the terminology system
version | Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 1..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
category | S Σ | 1..1 | CodeableConcept | Grobe Klassifizierung des Dokuments Binding: ?? (example): High-level kind of a clinical document at a macro level.
extension |  | 0..* | Extension | Additional content defined by implementations
coding | S Σ | 0..* | Coding | Code defined by a terminology system Binding: ?? (required)
extension |  | 0..* | Extension | Additional content defined by implementations
system | S Σ | 1..1 | uri | Identity of the terminology system
version | Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 1..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
subject | S Σ C | 1..1 | Reference(Patient) | Systemweit eindeutige Kennung des Patienten Constraints: ref-1
extension |  | 0..* | Extension | Additional content defined by implementations
reference | Σ | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | S Σ | 1..1 | ?? | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Text alternative for the resource
date | S Σ | 0..1 | instant | left: Das Erzeugungsdatum wird in content.attachment.creation abgebildet.; right: Wann die DocumentReference erzeugt wurde
author | S Σ C | 0..* | Reference(Patient | Practitioner | Organization) | Person oder System, welche(s) das Dokument erstellt hat Constraints: ref-1
extension |  | 0..* | Extension | Additional content defined by implementations
reference | Σ | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | S Σ | 0..1 | ??, ??, ??, ?? | Logical reference, when literal reference is not known
display | S Σ | 1..1 | string | Text alternative for the resource
authenticator | S C | 0..1 | Reference(Practitioner | Organization) | Rechtlich Verantwortlicher für das Dokument Constraints: ref-1
extension |  | 0..* | Extension | Additional content defined by implementations
reference | Σ | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | S Σ | 1..1 | ?? | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Text alternative for the resource
relatesTo | S Σ | 0..* | BackboneElement | Relationships to other documents
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
code | S Σ | 1..1 | code | replaces | transforms | signs | appends Binding: ?? (required): The type of relationship between documents.
target | S Σ C | 1..1 | Reference(DocumentReference) | Target of the relationship Constraints: ref-1
description | S Σ | 0..1 | string | Ergänzende Hinweise in Freitext
securityLabel | S Σ | 0..* | CodeableConcept | Vertraulichkeitskennzeichnung und Datenkategorie des Dokuments Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
extension |  | 0..* | Extension | Additional content defined by implementations
coding | S Σ | 0..* | Coding | Code defined by a terminology system Binding: ?? (required)
extension |  | 0..* | Extension | Additional content defined by implementations
system | S Σ | 1..1 | uri | Identity of the terminology system
version | Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 1..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
content | S Σ | 1..1 | BackboneElement | Document referenced
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
attachment | S Σ C | 1..1 | Attachment | Where to access the document Constraints: att-1
extension |  | 0..* | Extension | Additional content defined by implementations
contentType | S Σ | 1..1 | code | Mime type of the content, with charset etc. Binding: ?? (required) Example General: text/plain; charset=UTF-8, image/png
language | S Σ | 1..1 | code | Sprache, in der das Dokument abgefasst ist Binding: ?? (preferred): A human language. Example General: en-AU
url | S Σ | 1..1 | url | URI für das Dokument Example General: http://www.acme.com/logo-small.png
size | S Σ | 0..1 | unsignedInt | Größe des Dokuments in Bytes
hash | S Σ | 0..1 | base64Binary | Kryptographische Prüfsumme des Dokuments
title | S Σ | 1..1 | string | Titel des Dokuments Example General: Official Corporate Logo
creation | S Σ | 1..1 | dateTime | Erstellungszeitpunkt des Dokuments
format | S Σ | 1..1 | Coding | Global eindeutiger Code für das Dokumentenformat Binding: ?? (required)
context | Σ | 0..1 | BackboneElement | Clinical context of document
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
event | S | 0..* | CodeableConcept | Ereignisse, die zur Erstellung des Dokuments geführt haben Binding: ?? (example): This list of codes represents the main clinical acts being documented.
extension |  | 0..* | Extension | Additional content defined by implementations
coding | S Σ | 0..* | Coding | Code defined by a terminology system Binding: ?? (required)
extension |  | 0..* | Extension | Additional content defined by implementations
system | S Σ | 1..1 | uri | Identity of the terminology system
version | Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 1..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
period | S Σ C | 0..1 | Period | Time of service that is being documented Constraints: per-1
extension |  | 0..* | Extension | Additional content defined by implementations
start | S Σ | 0..1 | dateTime | Zeitpunkt, an dem das im Dokument dokumentierte (Behandlungs-)Ereignis begonnen wurde
end | S Σ | 0..1 | dateTime | Zeitpunkt, an dem das im Dokument dokumentierte (Behandlungs-)Ereignis beendet wurde
facilityType | S | 1..1 | CodeableConcept | Art der Einrichtung, in der das dokumentierte Ereignis stattgefunden hat Binding: ?? (example): XDS Facility Type.
extension |  | 0..* | Extension | Additional content defined by implementations
coding | S Σ | 0..* | Coding | Code defined by a terminology system Binding: ?? (required)
extension |  | 0..* | Extension | Additional content defined by implementations
system | S Σ | 1..1 | uri | Identity of the terminology system
version | Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 1..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
practiceSetting | S | 0..1 | CodeableConcept | Art der Fachrichtung der erstellenden Einrichtung, in der das dokumentiere Ereignis stattgefunden hat Binding: ?? (example): Additional details about where the content was created (e.g. clinical specialty).
extension |  | 0..* | Extension | Additional content defined by implementations
coding | S Σ | 0..* | Coding | Code defined by a terminology system Binding: ?? (required)
extension |  | 0..* | Extension | Additional content defined by implementations
system | S Σ | 1..1 | uri | Identity of the terminology system
version | Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 1..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
sourcePatientInfo | S C | 0..1 | Reference(Patient) | Patient demographics from source Constraints: ref-1
extension |  | 0..* | Extension | Additional content defined by implementations
reference | S Σ | 0..1 | string | Demographische Daten zum Patienten im Quellsystem
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | S Σ | 0..1 | Identifier | Kennung des Patienten im Quellsystem
display | Σ | 0..1 | string | Text alternative for the resource
related | S C | 0..* | Reference(Resource) | Liste von IDs, mit denen das Dokument assoziiert wird Constraints: ref-1
Documentation for this format