mii-lm-dokument
type: StructureDefinition
node role: treeRoot
id:
  v: mii-lm-dokument
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition mii-lm-dokument Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> mii-lm-dokument 0..* Element MII LM Dokument Elements defined in Ancestors:@id, <a href="http://hl7.org/fhir/R4/datatypes.html#Element" title="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.">extension #xD; Dokument 1..1 BackboneElement Dokument #xD; Masteridentifikator 0..1 Identifier Versionsspezifische Kennung #xD; Businessidentifikator 0..1 Identifier Versionsunabhängige Kennung #xD; Dokumentenreferenzstatus 1..1 code Status der Dokumentenreferenz #xD; Dokumentenstatus 0..1 code Status des Dokuments #xD; Dokumententyp 0..1 code Art des Dokuments #xD; Dokumentenkategorie 0..* code Kategorien des Dokuments #xD; Patient 0..1 Identifier Verweis auf Patient #xD; Beschreibung 0..1 string Beschreibung des Dokuments #xD; Sicherheitsstufe 0..* code Vertraulichkeit des Dokuments #xD; Dokumentenbeziehung 0..* BackboneElement Beziehung des Dokuments #xD; Beziehungstyp 1..1 code Art der Beziehung #xD; Beziehungsreferenz 1..1 Identifier Verweis auf Dokument #xD; Anhang 1..* BackboneElement Inhalt des Dokuments #xD; Sprache 0..1 code Verfassungssprache des Inhalts #xD; Erstellungsdatum 0..1 dateTime Erstellungsdatum des Inhalts #xD; Daten 0..1 base64Binary Binärdaten zum Inhalt #xD; DokumentenUrl 0..1 string URL zum Inhalt #xD; Dokumentenformat 0..1 code MIME-Typ zum Inhalt #xD; Kontext 0..1 BackboneElement Erzeugungskontext des Dokuments #xD; Gesundheitseinrichtungskontakt 0..* Identifier Verweis auf Einrichtungskontakt #xD; Vorgang 0..* code Dokumentierter Vorgang #xD; Fachgebiet…
url:
  v: https://www.medizininformatik-initiative.de/fhir/ext/modul-dokument/StructureDefinition/mii-lm-dokument
  l: mii-lm-dokument
version:
  v: 2026.0.0
name:
  v: MII_LM_Dokument
title:
  v: MII LM Dokument
status:
  v: draft
date:
  v: 2025-12-09T20:11:54+00:00
publisher:
  v: Medizininformatik-Initiative
contact:
  name:
    v: Medizininformatik-Initiative
  telecom:
    system:
      v: url
    value:
      v: https://www.medizininformatik-initiative.de
  telecom:
    system:
      v: email
description:
  v: MII Logical Model KDS-Modul Dokument
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: m49.htm
    code:
      v: 276
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: mii-map-dokument
  name:
    v: MII MAP Dokument
  comment:
    v: MII Mappings KDS-Modul Dokument
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: https://www.medizininformatik-initiative.de/fhir/ext/modul-dokument/StructureDefinition/mii-lm-dokument
  l: mii-lm-dokument
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Element
  l: Element
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 4.0.1
  element:
    id:
      v: mii-lm-dokument
    path:
      v: mii-lm-dokument
    short:
      v: MII LM Dokument
    definition:
      v: MII Logical Model KDS-Modul Dokument
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Element
      min:
        v: 0
      max:
        v: *
    condition:
      v: ele-1
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children
      expression:
        v: hasValue() or (children().count() > id.count())
      xpath:
        v: @value|f:*|h:div
      source:
        v: http://hl7.org/fhir/StructureDefinition/Element
        l: Element
    is modifier:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: mii-lm-dokument.id
    path:
      v: mii-lm-dokument.id
    representation:
      v: xmlAttr
    short:
      v: Unique id for inter-element referencing
    definition:
      v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Element.id
      min:
        v: 0
      max:
        v: 1
    type:
      extension:
        value: Url
      code:
        v: http://hl7.org/fhirpath/System.String
        l: System.String
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: mii-lm-dokument.extension
    path:
      v: mii-lm-dokument.extension
    slicing:
      description:
        v: Extensions are always sliced by (at least) url
      rules:
        v: open
    short:
      v: Additional content defined by implementations
    definition:
      v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
    comment:
      v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
    alias:
      v: extensions
    alias:
      v: user content
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Element.extension
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: Extension
        l: Extension
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children
      expression:
        v: hasValue() or (children().count() > id.count())

Url
v: string
l: string

v: value

v: url

v: @value|f:*|h:div

key:
  v: ext-1
severity:
  v: error
human:
  v: Must have either extensions or value[x], not both
expression:
  v: extension.exists() != value.exists()
xpath:
  v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
source:
  v: http://hl7.org/fhir/StructureDefinition/Extension
  l: Extension

v: false

v: false

identity:
  v: rim
map:
  v: n/a

id:
  v: mii-lm-dokument.Dokument
path:
  v: mii-lm-dokument.Dokument
short:
  v: Dokument
definition:
  v: Klinisches Dokument inkl. Metadaten, Inhalt, Erzeugungskontext und Beziehungen
min:
  v: 1
max:
  v: 1
base:
  path:
    v: mii-lm-dokument.Dokument
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference

id:
  v: mii-lm-dokument.Dokument.id
path:
  v: mii-lm-dokument.Dokument.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: mii-lm-dokument.Dokument.extension
path:
  v: mii-lm-dokument.Dokument.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: mii-lm-dokument.Dokument.modifierExtension
path:
  v: mii-lm-dokument.Dokument.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: mii-lm-dokument.Dokument.Masteridentifikator
path:
  v: mii-lm-dokument.Dokument.Masteridentifikator
short:
  v: Versionsspezifische Kennung
definition:
  v: Versionsspezifische eindeutige Kennung, die dem Dokument durch die Dokumentenquelle zugewiesen wurde
min:
  v: 0
max:
  v: 1
base:
  path:
    v: mii-lm-dokument.Dokument.Masteridentifikator
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.masterIdentifier

id:
  v: mii-lm-dokument.Dokument.Businessidentifikator
path:
  v: mii-lm-dokument.Dokument.Businessidentifikator
short:
  v: Versionsunabhängige Kennung
definition:
  v: Andere versionsunabhängige Kennung, die dem Dokument (z.B. durch weitere dokumentenverarbeitende Systeme) zugewiesen wurde
min:
  v: 0
max:
  v: 1
base:
  path:
    v: mii-lm-dokument.Dokument.Businessidentifikator
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.identifier

id:
  v: mii-lm-dokument.Dokument.Dokumentenreferenzstatus
path:
  v: mii-lm-dokument.Dokument.Dokumentenreferenzstatus
short:
  v: Status der Dokumentenreferenz
definition:
  v: Status dieser Dokumentenreferenz (aktuell, überholt oder irrtümlich eingegeben)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: mii-lm-dokument.Dokument.Dokumentenreferenzstatus
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.status

id:
  v: mii-lm-dokument.Dokument.Dokumentenstatus
path:
  v: mii-lm-dokument.Dokument.Dokumentenstatus
short:
  v: Status des Dokuments
definition:
  v: Status des zugrunde liegenden Dokuments (vorläufig, final, geändert oder irrtümlich eingegeben)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: mii-lm-dokument.Dokument.Dokumentenstatus
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.docStatus

id:
  v: mii-lm-dokument.Dokument.Dokumententyp
path:
  v: mii-lm-dokument.Dokument.Dokumententyp
short:
  v: Art des Dokuments
definition:
  v: Art des Dokuments auf das verwiesen wird (z.B. Anamnese und Untersuchung, Entlassungsbericht, Verlaufsbericht)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: mii-lm-dokument.Dokument.Dokumententyp
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.type

id:
  v: mii-lm-dokument.Dokument.Dokumentenkategorie
path:
  v: mii-lm-dokument.Dokument.Dokumentenkategorie
short:
  v: Kategorien des Dokuments
definition:
  v: Übergeordnete Kategorie des Dokuments auf das verwiesen wird (z.B. Arztberichte oder Arztdokumentation)
min:
  v: 0
max:
  v: *
base:
  path:
    v: mii-lm-dokument.Dokument.Dokumentenkategorie
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.category

id:
  v: mii-lm-dokument.Dokument.Patient
path:
  v: mii-lm-dokument.Dokument.Patient
short:
  v: Verweis auf Patient
definition:
  v: Patient auf den sich das verwiesene Dokument bezieht
min:
  v: 0
max:
  v: 1
base:
  path:
    v: mii-lm-dokument.Dokument.Patient
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.subject

id:
  v: mii-lm-dokument.Dokument.Beschreibung
path:
  v: mii-lm-dokument.Dokument.Beschreibung
short:
  v: Beschreibung des Dokuments
definition:
  v: Menschenlesbare Beschreibung zum verwiesenen Dokuments
min:
  v: 0
max:
  v: 1
base:
  path:
    v: mii-lm-dokument.Dokument.Beschreibung
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.description

id:
  v: mii-lm-dokument.Dokument.Sicherheitsstufe
path:
  v: mii-lm-dokument.Dokument.Sicherheitsstufe
short:
  v: Vertraulichkeit des Dokuments
definition:
  v: Grad der Vertraulichkeit/Sicherheit des verwiesenen Dokuments (z. B. uneingeschränkt, gering, mittel, normal oder eingeschränkt)
min:
  v: 0
max:
  v: *
base:
  path:
    v: mii-lm-dokument.Dokument.Sicherheitsstufe
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.securityLabel

id:
  v: mii-lm-dokument.Dokument.Dokumentenbeziehung
path:
  v: mii-lm-dokument.Dokument.Dokumentenbeziehung
short:
  v: Beziehung des Dokuments
definition:
  v: Beziehungen des verwiesenen Dokuments zu anderen Dokumenten
min:
  v: 0
max:
  v: *
base:
  path:
    v: mii-lm-dokument.Dokument.Dokumentenbeziehung
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.relatesTo

id:
  v: mii-lm-dokument.Dokument.Dokumentenbeziehung.id
path:
  v: mii-lm-dokument.Dokument.Dokumentenbeziehung.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: mii-lm-dokument.Dokument.Dokumentenbeziehung.extension
path:
  v: mii-lm-dokument.Dokument.Dokumentenbeziehung.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: mii-lm-dokument.Dokument.Dokumentenbeziehung.modifierExtension
path:
  v: mii-lm-dokument.Dokument.Dokumentenbeziehung.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: mii-lm-dokument.Dokument.Dokumentenbeziehung.Beziehungstyp
path:
  v: mii-lm-dokument.Dokument.Dokumentenbeziehung.Beziehungstyp
short:
  v: Art der Beziehung
definition:
  v: Beziehung zu anderen Dokumenten
min:
  v: 1
max:
  v: 1
base:
  path:
    v: mii-lm-dokument.Dokument.Dokumentenbeziehung.Beziehungstyp
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.relatesTo.code

id:
  v: mii-lm-dokument.Dokument.Dokumentenbeziehung.Beziehungsreferenz
path:
  v: mii-lm-dokument.Dokument.Dokumentenbeziehung.Beziehungsreferenz
short:
  v: Verweis auf Dokument
definition:
  v: Ziel der Dokumentenbeziehung
min:
  v: 1
max:
  v: 1
base:
  path:
    v: mii-lm-dokument.Dokument.Dokumentenbeziehung.Beziehungsreferenz
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.relatesTo.target

id:
  v: mii-lm-dokument.Dokument.Anhang
path:
  v: mii-lm-dokument.Dokument.Anhang
short:
  v: Inhalt des Dokuments
definition:
  v: Dokument (Base64-kodierte Daten) oder Verweis (URL) mit relevanten Metadaten zum Anhang
min:
  v: 1
max:
  v: *
base:
  path:
    v: mii-lm-dokument.Dokument.Anhang
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.content

id:
  v: mii-lm-dokument.Dokument.Anhang.id
path:
  v: mii-lm-dokument.Dokument.Anhang.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: mii-lm-dokument.Dokument.Anhang.extension
path:
  v: mii-lm-dokument.Dokument.Anhang.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: mii-lm-dokument.Dokument.Anhang.modifierExtension
path:
  v: mii-lm-dokument.Dokument.Anhang.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: mii-lm-dokument.Dokument.Anhang.Sprache
path:
  v: mii-lm-dokument.Dokument.Anhang.Sprache
short:
  v: Verfassungssprache des Inhalts
definition:
  v: Verwendete Sprache in dem Dokument
min:
  v: 0
max:
  v: 1
base:
  path:
    v: mii-lm-dokument.Dokument.Anhang.Sprache
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.attachment.language

id:
  v: mii-lm-dokument.Dokument.Anhang.Erstellungsdatum
path:
  v: mii-lm-dokument.Dokument.Anhang.Erstellungsdatum
short:
  v: Erstellungsdatum des Inhalts
definition:
  v: Datum der Erstellung des Dokumentes
min:
  v: 0
max:
  v: 1
base:
  path:
    v: mii-lm-dokument.Dokument.Anhang.Erstellungsdatum
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.attachment.creation

id:
  v: mii-lm-dokument.Dokument.Anhang.Daten
path:
  v: mii-lm-dokument.Dokument.Anhang.Daten
short:
  v: Binärdaten zum Inhalt
definition:
  v: Dokument als Binärdaten
min:
  v: 0
max:
  v: 1
base:
  path:
    v: mii-lm-dokument.Dokument.Anhang.Daten
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: base64Binary
    l: base64Binary
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.attachment.data

id:
  v: mii-lm-dokument.Dokument.Anhang.DokumentenUrl
path:
  v: mii-lm-dokument.Dokument.Anhang.DokumentenUrl
short:
  v: URL zum Inhalt
definition:
  v: Verweis auf den (lokalen) Ablageort des Dokuments
min:
  v: 0
max:
  v: 1
base:
  path:
    v: mii-lm-dokument.Dokument.Anhang.DokumentenUrl
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.attachment.url

id:
  v: mii-lm-dokument.Dokument.Anhang.Dokumentenformat
path:
  v: mii-lm-dokument.Dokument.Anhang.Dokumentenformat
short:
  v: MIME-Typ zum Inhalt
definition:
  v: MIME-Typ des Dokumenteninhalts
min:
  v: 0
max:
  v: 1
base:
  path:
    v: mii-lm-dokument.Dokument.Anhang.Dokumentenformat
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.attachment.contentType

id:
  v: mii-lm-dokument.Dokument.Kontext
path:
  v: mii-lm-dokument.Dokument.Kontext
short:
  v: Erzeugungskontext des Dokuments
definition:
  v: Klinischer Kontext, in welchem das Dokument erzeugt wurde
min:
  v: 0
max:
  v: 1
base:
  path:
    v: mii-lm-dokument.Dokument.Kontext
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.context

id:
  v: mii-lm-dokument.Dokument.Kontext.id
path:
  v: mii-lm-dokument.Dokument.Kontext.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: mii-lm-dokument.Dokument.Kontext.extension
path:
  v: mii-lm-dokument.Dokument.Kontext.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: mii-lm-dokument.Dokument.Kontext.modifierExtension
path:
  v: mii-lm-dokument.Dokument.Kontext.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: mii-lm-dokument.Dokument.Kontext.Gesundheitseinrichtungskontakt
path:
  v: mii-lm-dokument.Dokument.Kontext.Gesundheitseinrichtungskontakt
short:
  v: Verweis auf Einrichtungskontakt
definition:
  v: Kontakt zur Gesundheitseinrichtung oder die Art der Versorgung, die mit dem Dokumenteninhalt assoziiert ist
min:
  v: 0
max:
  v: *
base:
  path:
    v: mii-lm-dokument.Dokument.Kontext.Gesundheitseinrichtungskontakt
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.context.encounter

id:
  v: mii-lm-dokument.Dokument.Kontext.Vorgang
path:
  v: mii-lm-dokument.Dokument.Kontext.Vorgang
short:
  v: Dokumentierter Vorgang
definition:
  v: Handlungen oder Prozeduren, die im Kontext dokumentiert wurden
min:
  v: 0
max:
  v: *
base:
  path:
    v: mii-lm-dokument.Dokument.Kontext.Vorgang
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.context.event

id:
  v: mii-lm-dokument.Dokument.Kontext.Fachgebiet
path:
  v: mii-lm-dokument.Dokument.Kontext.Fachgebiet
short:
  v: Klinisches Fachgebiet zum Vorgang
definition:
  v: Klinisches Fachgebiet, in dem Dokumenteninhalt erstellt wurde
min:
  v: 0
max:
  v: 1
base:
  path:
    v: mii-lm-dokument.Dokument.Kontext.Fachgebiet
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.context.practiceSetting

id:
  v: mii-lm-dokument.Dokument.Kontext.Dokumentationszeitraum
path:
  v: mii-lm-dokument.Dokument.Kontext.Dokumentationszeitraum
short:
  v: Durchführungszeitraum zum Vorgang
definition:
  v: Zeitraum, in dem die in dem Dokument beschriebene Handlung oder Prozedur durchgeführt wurde
min:
  v: 0
max:
  v: 1
base:
  path:
    v: mii-lm-dokument.Dokument.Kontext.Dokumentationszeitraum
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.context.period

id:
  v: mii-lm-dokument.Dokument.Kontext.Einrichtungsart
path:
  v: mii-lm-dokument.Dokument.Kontext.Einrichtungsart
short:
  v: Art der Einrichtung zum Vorgang
definition:
  v: Art der Einrichtung, in der die Handlung oder Prozedur am Patienten erfolgte
min:
  v: 0
max:
  v: 1
base:
  path:
    v: mii-lm-dokument.Dokument.Kontext.Einrichtungsart
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.context.facilityType

element:
  id:
    v: mii-lm-dokument
  path:
    v: mii-lm-dokument
  short:
    v: MII LM Dokument
  definition:
    v: MII Logical Model KDS-Modul Dokument
element:
  id:
    v: mii-lm-dokument.Dokument
  path:
    v: mii-lm-dokument.Dokument
  short:
    v: Dokument
  definition:
    v: Klinisches Dokument inkl. Metadaten, Inhalt, Erzeugungskontext und Beziehungen
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
  mapping:
    identity:
      v: mii-map-dokument
    map:
      v: DocumentReference
element:
  id:
    v: mii-lm-dokument.Dokument.Masteridentifikator
  path:
    v: mii-lm-dokument.Dokument.Masteridentifikator
  short:
    v: Versionsspezifische Kennung
  definition:
    v: Versionsspezifische eindeutige Kennung, die dem Dokument durch die Dokumentenquelle zugewiesen wurde
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Identifier
      l: Identifier
  mapping:
    identity:
      v: mii-map-dokument
    map:
      v: DocumentReference.masterIdentifier
element:
  id:
    v: mii-lm-dokument.Dokument.Businessidentifikator
  path:
    v: mii-lm-dokument.Dokument.Businessidentifikator
  short:
    v: Versionsunabhängige Kennung
  definition:
    v: Andere versionsunabhängige Kennung, die dem Dokument (z.B. durch weitere dokumentenverarbeitende Systeme) zugewiesen wurde
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Identifier
      l: Identifier
  mapping:
    identity:
      v: mii-map-dokument
    map:
      v: DocumentReference.identifier
element:
  id:
    v: mii-lm-dokument.Dokument.Dokumentenreferenzstatus
  path:
    v: mii-lm-dokument.Dokument.Dokumentenreferenzstatus
  short:
    v: Status der Dokumentenreferenz
  definition:
    v: Status dieser Dokumentenreferenz (aktuell, überholt oder irrtümlich eingegeben)
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: code
      l: code
  mapping:
    identity:
      v: mii-map-dokument
    map:
      v: DocumentReference.status
element:
  id:
    v: mii-lm-dokument.Dokument.Dokumentenstatus
  path:
    v: mii-lm-dokument.Dokument.Dokumentenstatus
  short:
    v: Status des Dokuments
  definition:
    v: Status des zugrunde liegenden Dokuments (vorläufig, final, geändert oder irrtümlich eingegeben)
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: code
      l: code
  mapping:
    identity:
      v: mii-map-dokument
    map:
      v: DocumentReference.docStatus
element:
  id:
    v: mii-lm-dokument.Dokument.Dokumententyp
  path:
    v: mii-lm-dokument.Dokument.Dokumententyp
  short:
    v: Art des Dokuments
  definition:
    v: Art des Dokuments auf das verwiesen wird (z.B. Anamnese und Untersuchung, Entlassungsbericht, Verlaufsbericht)
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: code
      l: code
  mapping:
    identity:
      v: mii-map-dokument
    map:
      v: DocumentReference.type
element:
  id:
    v: mii-lm-dokument.Dokument.Dokumentenkategorie
  path:
    v: mii-lm-dokument.Dokument.Dokumentenkategorie
  short:
    v: Kategorien des Dokuments
  definition:
    v: Übergeordnete Kategorie des Dokuments auf das verwiesen wird (z.B. Arztberichte oder Arztdokumentation)
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: code
      l: code
  mapping:
    identity:
      v: mii-map-dokument
    map:
      v: DocumentReference.category
element:
  id:
    v: mii-lm-dokument.Dokument.Patient
  path:
    v: mii-lm-dokument.Dokument.Patient
  short:
    v: Verweis auf Patient
  definition:
    v: Patient auf den sich das verwiesene Dokument bezieht
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Identifier
      l: Identifier
  mapping:
    identity:
      v: mii-map-dokument
    map:
      v: DocumentReference.subject
element:
  id:
    v: mii-lm-dokument.Dokument.Beschreibung
  path:
    v: mii-lm-dokument.Dokument.Beschreibung
  short:
    v: Beschreibung des Dokuments
  definition:
    v: Menschenlesbare Beschreibung zum verwiesenen Dokuments
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string

identity:
  v: mii-map-dokument
map:
  v: DocumentReference.description

id:
  v: mii-lm-dokument.Dokument.Sicherheitsstufe
path:
  v: mii-lm-dokument.Dokument.Sicherheitsstufe
short:
  v: Vertraulichkeit des Dokuments
definition:
  v: Grad der Vertraulichkeit/Sicherheit des verwiesenen Dokuments (z. B. uneingeschränkt, gering, mittel, normal oder eingeschränkt)
min:
  v: 0
max:
  v: *
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.securityLabel

id:
  v: mii-lm-dokument.Dokument.Dokumentenbeziehung
path:
  v: mii-lm-dokument.Dokument.Dokumentenbeziehung
short:
  v: Beziehung des Dokuments
definition:
  v: Beziehungen des verwiesenen Dokuments zu anderen Dokumenten
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.relatesTo

id:
  v: mii-lm-dokument.Dokument.Dokumentenbeziehung.Beziehungstyp
path:
  v: mii-lm-dokument.Dokument.Dokumentenbeziehung.Beziehungstyp
short:
  v: Art der Beziehung
definition:
  v: Beziehung zu anderen Dokumenten
min:
  v: 1
max:
  v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.relatesTo.code

id:
  v: mii-lm-dokument.Dokument.Dokumentenbeziehung.Beziehungsreferenz
path:
  v: mii-lm-dokument.Dokument.Dokumentenbeziehung.Beziehungsreferenz
short:
  v: Verweis auf Dokument
definition:
  v: Ziel der Dokumentenbeziehung
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Identifier
    l: Identifier
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.relatesTo.target

id:
  v: mii-lm-dokument.Dokument.Anhang
path:
  v: mii-lm-dokument.Dokument.Anhang
short:
  v: Inhalt des Dokuments
definition:
  v: Dokument (Base64-kodierte Daten) oder Verweis (URL) mit relevanten Metadaten zum Anhang
min:
  v: 1
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.content

id:
  v: mii-lm-dokument.Dokument.Anhang.Sprache
path:
  v: mii-lm-dokument.Dokument.Anhang.Sprache
short:
  v: Verfassungssprache des Inhalts
definition:
  v: Verwendete Sprache in dem Dokument
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.attachment.language

id:
  v: mii-lm-dokument.Dokument.Anhang.Erstellungsdatum
path:
  v: mii-lm-dokument.Dokument.Anhang.Erstellungsdatum
short:
  v: Erstellungsdatum des Inhalts
definition:
  v: Datum der Erstellung des Dokumentes
min:
  v: 0
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.attachment.creation

id:
  v: mii-lm-dokument.Dokument.Anhang.Daten
path:
  v: mii-lm-dokument.Dokument.Anhang.Daten
short:
  v: Binärdaten zum Inhalt
definition:
  v: Dokument als Binärdaten
min:
  v: 0
max:
  v: 1
type:
  code:
    v: base64Binary
    l: base64Binary
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.attachment.data

id:
  v: mii-lm-dokument.Dokument.Anhang.DokumentenUrl
path:
  v: mii-lm-dokument.Dokument.Anhang.DokumentenUrl
short:
  v: URL zum Inhalt
definition:
  v: Verweis auf den (lokalen) Ablageort des Dokuments
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.attachment.url

id:
  v: mii-lm-dokument.Dokument.Anhang.Dokumentenformat
path:
  v: mii-lm-dokument.Dokument.Anhang.Dokumentenformat
short:
  v: MIME-Typ zum Inhalt
definition:
  v: MIME-Typ des Dokumenteninhalts
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.attachment.contentType

id:
  v: mii-lm-dokument.Dokument.Kontext
path:
  v: mii-lm-dokument.Dokument.Kontext
short:
  v: Erzeugungskontext des Dokuments
definition:
  v: Klinischer Kontext, in welchem das Dokument erzeugt wurde
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.context

id:
  v: mii-lm-dokument.Dokument.Kontext.Gesundheitseinrichtungskontakt
path:
  v: mii-lm-dokument.Dokument.Kontext.Gesundheitseinrichtungskontakt
short:
  v: Verweis auf Einrichtungskontakt
definition:
  v: Kontakt zur Gesundheitseinrichtung oder die Art der Versorgung, die mit dem Dokumenteninhalt assoziiert ist
min:
  v: 0
max:
  v: *
type:
  code:
    v: Identifier
    l: Identifier
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.context.encounter

id:
  v: mii-lm-dokument.Dokument.Kontext.Vorgang
path:
  v: mii-lm-dokument.Dokument.Kontext.Vorgang
short:
  v: Dokumentierter Vorgang
definition:
  v: Handlungen oder Prozeduren, die im Kontext dokumentiert wurden
min:
  v: 0
max:
  v: *
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.context.event

id:
  v: mii-lm-dokument.Dokument.Kontext.Fachgebiet
path:
  v: mii-lm-dokument.Dokument.Kontext.Fachgebiet
short:
  v: Klinisches Fachgebiet zum Vorgang
definition:
  v: Klinisches Fachgebiet, in dem Dokumenteninhalt erstellt wurde
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.context.practiceSetting

id:
  v: mii-lm-dokument.Dokument.Kontext.Dokumentationszeitraum
path:
  v: mii-lm-dokument.Dokument.Kontext.Dokumentationszeitraum
short:
  v: Durchführungszeitraum zum Vorgang
definition:
  v: Zeitraum, in dem die in dem Dokument beschriebene Handlung oder Prozedur durchgeführt wurde
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Period
    l: Period
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.context.period

id:
  v: mii-lm-dokument.Dokument.Kontext.Einrichtungsart
path:
  v: mii-lm-dokument.Dokument.Kontext.Einrichtungsart
short:
  v: Art der Einrichtung zum Vorgang
definition:
  v: Art der Einrichtung, in der die Handlung oder Prozedur am Patienten erfolgte
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
    l: code
mapping:
  identity:
    v: mii-map-dokument
  map:
    v: DocumentReference.context.facilityType