FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/mii-lm-dokument

Packagede.medizininformatikinitiative.kerndatensatz.dokument
Resource TypeStructureDefinition
Idmii-lm-dokument
FHIR VersionR4
Sourcehttps://www.medizininformatik-initiative.de/fhir/ext/modul-dokument/https://build.fhir.org/ig/medizininformatik-initiative/kerndatensatz-dokument/StructureDefinition-mii-lm-dokument.html
URLhttps://www.medizininformatik-initiative.de/fhir/ext/modul-dokument/StructureDefinition/mii-lm-dokument
Version2026.0.0-ballot
Statusdraft
Date2025-08-01T11:16:30+00:00
NameMII_LM_Dokument
TitleMII LM Dokument
DescriptionMII Logical Model Erweiterungsmodul Dokument
Typehttps://www.medizininformatik-initiative.de/fhir/ext/modul-dokument/StructureDefinition/mii-lm-dokument
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition mii-lm-dokument

NameFlagsCard.TypeDescription & Constraintsdoco
.. mii-lm-dokument 0..*Element
Elements defined in Ancestors:@id, extension
MII LM Dokument
... Dokument 1..1BackboneElementDokument
.... Masteridentifikator 0..1IdentifierVersionsspezifische Kennung
.... Businessidentifikator 0..1IdentifierVersionsunabhängige Kennung
.... Dokumentenreferenzstatus 1..1codeStatus der Dokumentenreferenz
.... Dokumentenstatus 0..1codeStatus des Dokuments
.... Dokumententyp 0..1codeArt des Dokuments
.... Dokumentenkategorie 0..*codeKategorien des Dokuments
.... Patient 0..1IdentifierVerweis auf Patient
.... Beschreibung 0..1stringBeschreibung des Dokuments
.... Sicherheitsstufe 0..*codeVertraulichkeit des Dokuments
.... Dokumentenbeziehung 0..*BackboneElementBeziehung des Dokuments
..... Beziehungstyp 1..1codeArt der Beziehung
..... Beziehungsreferenz 1..1IdentifierVerweis auf Dokument
.... Anhang 1..*BackboneElementInhalt des Dokuments
..... Sprache 0..1codeVerfassungssprache des Inhalts
..... Erstellungsdatum 0..1dateTimeErstellungsdatum des Inhalts
..... Daten 0..1base64BinaryBinärdaten zum Inhalt
..... DokumentenUrl 0..1stringURL zum Inhalt
..... Dokumentenformat 0..1codeMIME-Typ zum Inhalt
.... Kontext 0..1BackboneElementErzeugungskontext des Dokuments
..... Gesundheitseinrichtungskontakt 0..*IdentifierVerweis auf Einrichtungskontakt
..... Vorgang 0..*codeDokumentierter Vorgang
..... Fachgebiet 0..1codeKlinisches Fachgebiet zum Vorgang
..... Dokumentationszeitraum 0..1PeriodDurchführungszeitraum zum Vorgang
..... Einrichtungsart 0..1codeArt der Einrichtung zum Vorgang

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "mii-lm-dokument",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "https://www.medizininformatik-initiative.de/fhir/ext/modul-dokument/StructureDefinition/mii-lm-dokument",
  "version": "2026.0.0-ballot",
  "name": "MII_LM_Dokument",
  "title": "MII LM Dokument",
  "status": "draft",
  "date": "2025-08-01T11:16:30+00:00",
  "publisher": "Medizininformatik-Initiative",
  "contact": [
    {
      "name": "Medizininformatik-Initiative",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.medizininformatik-initiative.de"
        },
        {
          "system": "email",
          "value": "office@medizininformatik-initiative.de"
        }
      ]
    }
  ],
  "description": "MII Logical Model Erweiterungsmodul Dokument",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "276"
        }
      ]
    }
  ],
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "mii-map-dokument",
      "name": "MII MAP Dokument",
      "comment": "MII Mappings Erweiterungsmodul Dokument"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "https://www.medizininformatik-initiative.de/fhir/ext/modul-dokument/StructureDefinition/mii-lm-dokument",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "mii-lm-dokument",
        "path": "mii-lm-dokument",
        "short": "MII LM Dokument",
        "definition": "MII Logical Model Erweiterungsmodul Dokument",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element",
          "min": 0,
          "max": "*"
        },
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.id",
        "path": "mii-lm-dokument.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.extension",
        "path": "mii-lm-dokument.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument",
        "path": "mii-lm-dokument.Dokument",
        "short": "Dokument",
        "definition": "Klinisches Dokument inkl. Metadaten, Inhalt, Erzeugungskontext und Beziehungen",
        "min": 1,
        "max": "1",
        "base": {
          "path": "mii-lm-dokument.Dokument",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.id",
        "path": "mii-lm-dokument.Dokument.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.extension",
        "path": "mii-lm-dokument.Dokument.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.modifierExtension",
        "path": "mii-lm-dokument.Dokument.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "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": "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": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Masteridentifikator",
        "path": "mii-lm-dokument.Dokument.Masteridentifikator",
        "short": "Versionsspezifische Kennung",
        "definition": "Versionsspezifische eindeutige Kennung, die dem Dokument durch die Dokumentenquelle zugewiesen wurde",
        "min": 0,
        "max": "1",
        "base": {
          "path": "mii-lm-dokument.Dokument.Masteridentifikator",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.masterIdentifier"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Businessidentifikator",
        "path": "mii-lm-dokument.Dokument.Businessidentifikator",
        "short": "Versionsunabhängige Kennung",
        "definition": "Andere versionsunabhängige Kennung, die dem Dokument (z.B. durch weitere dokumentenverarbeitende Systeme) zugewiesen wurde",
        "min": 0,
        "max": "1",
        "base": {
          "path": "mii-lm-dokument.Dokument.Businessidentifikator",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.identifier"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Dokumentenreferenzstatus",
        "path": "mii-lm-dokument.Dokument.Dokumentenreferenzstatus",
        "short": "Status der Dokumentenreferenz",
        "definition": "Status dieser Dokumentenreferenz (aktuell, überholt oder irrtümlich eingegeben)",
        "min": 1,
        "max": "1",
        "base": {
          "path": "mii-lm-dokument.Dokument.Dokumentenreferenzstatus",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.status"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Dokumentenstatus",
        "path": "mii-lm-dokument.Dokument.Dokumentenstatus",
        "short": "Status des Dokuments",
        "definition": "Status des zugrunde liegenden Dokuments (vorläufig, final, geändert oder irrtümlich eingegeben)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "mii-lm-dokument.Dokument.Dokumentenstatus",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.docStatus"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Dokumententyp",
        "path": "mii-lm-dokument.Dokument.Dokumententyp",
        "short": "Art des Dokuments",
        "definition": "Art des Dokuments auf das verwiesen wird (z.B. Anamnese und Untersuchung, Entlassungsbericht, Verlaufsbericht)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "mii-lm-dokument.Dokument.Dokumententyp",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.type"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Dokumentenkategorie",
        "path": "mii-lm-dokument.Dokument.Dokumentenkategorie",
        "short": "Kategorien des Dokuments",
        "definition": "Übergeordnete Kategorie des Dokuments auf das verwiesen wird (z.B. Arztberichte oder Arztdokumentation)",
        "min": 0,
        "max": "*",
        "base": {
          "path": "mii-lm-dokument.Dokument.Dokumentenkategorie",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.category"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Patient",
        "path": "mii-lm-dokument.Dokument.Patient",
        "short": "Verweis auf Patient",
        "definition": "Patient auf den sich das verwiesene Dokument bezieht",
        "min": 0,
        "max": "1",
        "base": {
          "path": "mii-lm-dokument.Dokument.Patient",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.subject"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Beschreibung",
        "path": "mii-lm-dokument.Dokument.Beschreibung",
        "short": "Beschreibung des Dokuments",
        "definition": "Menschenlesbare Beschreibung zum verwiesenen Dokuments",
        "min": 0,
        "max": "1",
        "base": {
          "path": "mii-lm-dokument.Dokument.Beschreibung",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.description"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Sicherheitsstufe",
        "path": "mii-lm-dokument.Dokument.Sicherheitsstufe",
        "short": "Vertraulichkeit des Dokuments",
        "definition": "Grad der Vertraulichkeit/Sicherheit des verwiesenen Dokuments (z. B. uneingeschränkt, gering, mittel, normal oder eingeschränkt)",
        "min": 0,
        "max": "*",
        "base": {
          "path": "mii-lm-dokument.Dokument.Sicherheitsstufe",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.securityLabel"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Dokumentenbeziehung",
        "path": "mii-lm-dokument.Dokument.Dokumentenbeziehung",
        "short": "Beziehung des Dokuments",
        "definition": "Beziehungen des verwiesenen Dokuments zu anderen Dokumenten",
        "min": 0,
        "max": "*",
        "base": {
          "path": "mii-lm-dokument.Dokument.Dokumentenbeziehung",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.relatesTo"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Dokumentenbeziehung.id",
        "path": "mii-lm-dokument.Dokument.Dokumentenbeziehung.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Dokumentenbeziehung.extension",
        "path": "mii-lm-dokument.Dokument.Dokumentenbeziehung.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Dokumentenbeziehung.modifierExtension",
        "path": "mii-lm-dokument.Dokument.Dokumentenbeziehung.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "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": "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": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Dokumentenbeziehung.Beziehungstyp",
        "path": "mii-lm-dokument.Dokument.Dokumentenbeziehung.Beziehungstyp",
        "short": "Art der Beziehung",
        "definition": "Beziehung zu anderen Dokumenten",
        "min": 1,
        "max": "1",
        "base": {
          "path": "mii-lm-dokument.Dokument.Dokumentenbeziehung.Beziehungstyp",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.relatesTo.code"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Dokumentenbeziehung.Beziehungsreferenz",
        "path": "mii-lm-dokument.Dokument.Dokumentenbeziehung.Beziehungsreferenz",
        "short": "Verweis auf Dokument",
        "definition": "Ziel der Dokumentenbeziehung",
        "min": 1,
        "max": "1",
        "base": {
          "path": "mii-lm-dokument.Dokument.Dokumentenbeziehung.Beziehungsreferenz",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.relatesTo.target"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Anhang",
        "path": "mii-lm-dokument.Dokument.Anhang",
        "short": "Inhalt des Dokuments",
        "definition": "Dokument (Base64-kodierte Daten) oder Verweis (URL) mit relevanten Metadaten zum Anhang",
        "min": 1,
        "max": "*",
        "base": {
          "path": "mii-lm-dokument.Dokument.Anhang",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.content"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Anhang.id",
        "path": "mii-lm-dokument.Dokument.Anhang.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Anhang.extension",
        "path": "mii-lm-dokument.Dokument.Anhang.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Anhang.modifierExtension",
        "path": "mii-lm-dokument.Dokument.Anhang.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "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": "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": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Anhang.Sprache",
        "path": "mii-lm-dokument.Dokument.Anhang.Sprache",
        "short": "Verfassungssprache des Inhalts",
        "definition": "Verwendete Sprache in dem Dokument",
        "min": 0,
        "max": "1",
        "base": {
          "path": "mii-lm-dokument.Dokument.Anhang.Sprache",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.attachment.language"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Anhang.Erstellungsdatum",
        "path": "mii-lm-dokument.Dokument.Anhang.Erstellungsdatum",
        "short": "Erstellungsdatum des Inhalts",
        "definition": "Datum der Erstellung des Dokumentes",
        "min": 0,
        "max": "1",
        "base": {
          "path": "mii-lm-dokument.Dokument.Anhang.Erstellungsdatum",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.attachment.creation"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Anhang.Daten",
        "path": "mii-lm-dokument.Dokument.Anhang.Daten",
        "short": "Binärdaten zum Inhalt",
        "definition": "Dokument als Binärdaten",
        "min": 0,
        "max": "1",
        "base": {
          "path": "mii-lm-dokument.Dokument.Anhang.Daten",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "base64Binary"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.attachment.data"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Anhang.DokumentenUrl",
        "path": "mii-lm-dokument.Dokument.Anhang.DokumentenUrl",
        "short": "URL zum Inhalt",
        "definition": "Verweis auf den (lokalen) Ablageort des Dokuments",
        "min": 0,
        "max": "1",
        "base": {
          "path": "mii-lm-dokument.Dokument.Anhang.DokumentenUrl",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.attachment.url"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Anhang.Dokumentenformat",
        "path": "mii-lm-dokument.Dokument.Anhang.Dokumentenformat",
        "short": "MIME-Typ zum Inhalt",
        "definition": "MIME-Typ des Dokumenteninhalts",
        "min": 0,
        "max": "1",
        "base": {
          "path": "mii-lm-dokument.Dokument.Anhang.Dokumentenformat",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.attachment.contentType"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Kontext",
        "path": "mii-lm-dokument.Dokument.Kontext",
        "short": "Erzeugungskontext des Dokuments",
        "definition": "Klinischer Kontext, in welchem das Dokument erzeugt wurde",
        "min": 0,
        "max": "1",
        "base": {
          "path": "mii-lm-dokument.Dokument.Kontext",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.context"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Kontext.id",
        "path": "mii-lm-dokument.Dokument.Kontext.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Kontext.extension",
        "path": "mii-lm-dokument.Dokument.Kontext.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Kontext.modifierExtension",
        "path": "mii-lm-dokument.Dokument.Kontext.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "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": "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": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Kontext.Gesundheitseinrichtungskontakt",
        "path": "mii-lm-dokument.Dokument.Kontext.Gesundheitseinrichtungskontakt",
        "short": "Verweis auf Einrichtungskontakt",
        "definition": "Kontakt zur Gesundheitseinrichtung oder die Art der Versorgung, die mit dem Dokumenteninhalt assoziiert ist",
        "min": 0,
        "max": "*",
        "base": {
          "path": "mii-lm-dokument.Dokument.Kontext.Gesundheitseinrichtungskontakt",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.context.encounter"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Kontext.Vorgang",
        "path": "mii-lm-dokument.Dokument.Kontext.Vorgang",
        "short": "Dokumentierter Vorgang",
        "definition": "Handlungen oder Prozeduren, die im Kontext dokumentiert wurden",
        "min": 0,
        "max": "*",
        "base": {
          "path": "mii-lm-dokument.Dokument.Kontext.Vorgang",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.context.event"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Kontext.Fachgebiet",
        "path": "mii-lm-dokument.Dokument.Kontext.Fachgebiet",
        "short": "Klinisches Fachgebiet zum Vorgang",
        "definition": "Klinisches Fachgebiet, in dem Dokumenteninhalt erstellt wurde",
        "min": 0,
        "max": "1",
        "base": {
          "path": "mii-lm-dokument.Dokument.Kontext.Fachgebiet",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.context.practiceSetting"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Kontext.Dokumentationszeitraum",
        "path": "mii-lm-dokument.Dokument.Kontext.Dokumentationszeitraum",
        "short": "Durchführungszeitraum zum Vorgang",
        "definition": "Zeitraum, in dem die in dem Dokument beschriebene Handlung oder Prozedur durchgeführt wurde",
        "min": 0,
        "max": "1",
        "base": {
          "path": "mii-lm-dokument.Dokument.Kontext.Dokumentationszeitraum",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.context.period"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Kontext.Einrichtungsart",
        "path": "mii-lm-dokument.Dokument.Kontext.Einrichtungsart",
        "short": "Art der Einrichtung zum Vorgang",
        "definition": "Art der Einrichtung, in der die Handlung oder Prozedur am Patienten erfolgte",
        "min": 0,
        "max": "1",
        "base": {
          "path": "mii-lm-dokument.Dokument.Kontext.Einrichtungsart",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.context.facilityType"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "mii-lm-dokument",
        "path": "mii-lm-dokument",
        "short": "MII LM Dokument",
        "definition": "MII Logical Model Erweiterungsmodul Dokument"
      },
      {
        "id": "mii-lm-dokument.Dokument",
        "path": "mii-lm-dokument.Dokument",
        "short": "Dokument",
        "definition": "Klinisches Dokument inkl. Metadaten, Inhalt, Erzeugungskontext und Beziehungen",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Masteridentifikator",
        "path": "mii-lm-dokument.Dokument.Masteridentifikator",
        "short": "Versionsspezifische Kennung",
        "definition": "Versionsspezifische eindeutige Kennung, die dem Dokument durch die Dokumentenquelle zugewiesen wurde",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.masterIdentifier"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Businessidentifikator",
        "path": "mii-lm-dokument.Dokument.Businessidentifikator",
        "short": "Versionsunabhängige Kennung",
        "definition": "Andere versionsunabhängige Kennung, die dem Dokument (z.B. durch weitere dokumentenverarbeitende Systeme) zugewiesen wurde",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.identifier"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Dokumentenreferenzstatus",
        "path": "mii-lm-dokument.Dokument.Dokumentenreferenzstatus",
        "short": "Status der Dokumentenreferenz",
        "definition": "Status dieser Dokumentenreferenz (aktuell, überholt oder irrtümlich eingegeben)",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.status"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Dokumentenstatus",
        "path": "mii-lm-dokument.Dokument.Dokumentenstatus",
        "short": "Status des Dokuments",
        "definition": "Status des zugrunde liegenden Dokuments (vorläufig, final, geändert oder irrtümlich eingegeben)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.docStatus"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Dokumententyp",
        "path": "mii-lm-dokument.Dokument.Dokumententyp",
        "short": "Art des Dokuments",
        "definition": "Art des Dokuments auf das verwiesen wird (z.B. Anamnese und Untersuchung, Entlassungsbericht, Verlaufsbericht)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.type"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Dokumentenkategorie",
        "path": "mii-lm-dokument.Dokument.Dokumentenkategorie",
        "short": "Kategorien des Dokuments",
        "definition": "Übergeordnete Kategorie des Dokuments auf das verwiesen wird (z.B. Arztberichte oder Arztdokumentation)",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.category"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Patient",
        "path": "mii-lm-dokument.Dokument.Patient",
        "short": "Verweis auf Patient",
        "definition": "Patient auf den sich das verwiesene Dokument bezieht",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.subject"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Beschreibung",
        "path": "mii-lm-dokument.Dokument.Beschreibung",
        "short": "Beschreibung des Dokuments",
        "definition": "Menschenlesbare Beschreibung zum verwiesenen Dokuments",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.description"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Sicherheitsstufe",
        "path": "mii-lm-dokument.Dokument.Sicherheitsstufe",
        "short": "Vertraulichkeit des Dokuments",
        "definition": "Grad der Vertraulichkeit/Sicherheit des verwiesenen Dokuments (z. B. uneingeschränkt, gering, mittel, normal oder eingeschränkt)",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.securityLabel"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Dokumentenbeziehung",
        "path": "mii-lm-dokument.Dokument.Dokumentenbeziehung",
        "short": "Beziehung des Dokuments",
        "definition": "Beziehungen des verwiesenen Dokuments zu anderen Dokumenten",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.relatesTo"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Dokumentenbeziehung.Beziehungstyp",
        "path": "mii-lm-dokument.Dokument.Dokumentenbeziehung.Beziehungstyp",
        "short": "Art der Beziehung",
        "definition": "Beziehung zu anderen Dokumenten",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.relatesTo.code"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Dokumentenbeziehung.Beziehungsreferenz",
        "path": "mii-lm-dokument.Dokument.Dokumentenbeziehung.Beziehungsreferenz",
        "short": "Verweis auf Dokument",
        "definition": "Ziel der Dokumentenbeziehung",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.relatesTo.target"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Anhang",
        "path": "mii-lm-dokument.Dokument.Anhang",
        "short": "Inhalt des Dokuments",
        "definition": "Dokument (Base64-kodierte Daten) oder Verweis (URL) mit relevanten Metadaten zum Anhang",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.content"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Anhang.Sprache",
        "path": "mii-lm-dokument.Dokument.Anhang.Sprache",
        "short": "Verfassungssprache des Inhalts",
        "definition": "Verwendete Sprache in dem Dokument",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.attachment.language"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Anhang.Erstellungsdatum",
        "path": "mii-lm-dokument.Dokument.Anhang.Erstellungsdatum",
        "short": "Erstellungsdatum des Inhalts",
        "definition": "Datum der Erstellung des Dokumentes",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.attachment.creation"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Anhang.Daten",
        "path": "mii-lm-dokument.Dokument.Anhang.Daten",
        "short": "Binärdaten zum Inhalt",
        "definition": "Dokument als Binärdaten",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "base64Binary"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.attachment.data"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Anhang.DokumentenUrl",
        "path": "mii-lm-dokument.Dokument.Anhang.DokumentenUrl",
        "short": "URL zum Inhalt",
        "definition": "Verweis auf den (lokalen) Ablageort des Dokuments",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.attachment.url"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Anhang.Dokumentenformat",
        "path": "mii-lm-dokument.Dokument.Anhang.Dokumentenformat",
        "short": "MIME-Typ zum Inhalt",
        "definition": "MIME-Typ des Dokumenteninhalts",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.attachment.contentType"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Kontext",
        "path": "mii-lm-dokument.Dokument.Kontext",
        "short": "Erzeugungskontext des Dokuments",
        "definition": "Klinischer Kontext, in welchem das Dokument erzeugt wurde",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.context"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Kontext.Gesundheitseinrichtungskontakt",
        "path": "mii-lm-dokument.Dokument.Kontext.Gesundheitseinrichtungskontakt",
        "short": "Verweis auf Einrichtungskontakt",
        "definition": "Kontakt zur Gesundheitseinrichtung oder die Art der Versorgung, die mit dem Dokumenteninhalt assoziiert ist",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.context.encounter"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Kontext.Vorgang",
        "path": "mii-lm-dokument.Dokument.Kontext.Vorgang",
        "short": "Dokumentierter Vorgang",
        "definition": "Handlungen oder Prozeduren, die im Kontext dokumentiert wurden",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.context.event"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Kontext.Fachgebiet",
        "path": "mii-lm-dokument.Dokument.Kontext.Fachgebiet",
        "short": "Klinisches Fachgebiet zum Vorgang",
        "definition": "Klinisches Fachgebiet, in dem Dokumenteninhalt erstellt wurde",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.context.practiceSetting"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Kontext.Dokumentationszeitraum",
        "path": "mii-lm-dokument.Dokument.Kontext.Dokumentationszeitraum",
        "short": "Durchführungszeitraum zum Vorgang",
        "definition": "Zeitraum, in dem die in dem Dokument beschriebene Handlung oder Prozedur durchgeführt wurde",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Period"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.context.period"
          }
        ]
      },
      {
        "id": "mii-lm-dokument.Dokument.Kontext.Einrichtungsart",
        "path": "mii-lm-dokument.Dokument.Kontext.Einrichtungsart",
        "short": "Art der Einrichtung zum Vorgang",
        "definition": "Art der Einrichtung, in der die Handlung oder Prozedur am Patienten erfolgte",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "mii-map-dokument",
            "map": "DocumentReference.context.facilityType"
          }
        ]
      }
    ]
  }
}