{
  "resourceType": "StructureDefinition",
  "id": "fdz-lm-datenmodell3-3-3",
  "url": "http://example.org/StructureDefinition/fdz-lm-datenmodell3-3-3",
  "name": "FDZ_LM_DM3_3_3",
  "title": "Datenmodell 3 - Voll-/Teilstationaere Faelle-KHDIAG",
  "status": "draft",
  "description": "Logical Model der Kategorie Voll-/Teilstationaere Faelle des DM3 aus dem FDZ(KHDIAG)",
  "fhirVersion": "4.0.1",
  "kind": "logical",
  "abstract": false,
  "type": "http://example.org/StructureDefinition/fdz-lm-datenmodell3-3-3",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "derivation": "specialization",
  "snapshot": {
    "element": [
      {
        "id": "fdz-lm-datenmodell3-3-3",
        "path": "fdz-lm-datenmodell3-3-3",
        "short": "Datenmodell 3 - Voll-/Teilstationaere Faelle-KHDIAG",
        "definition": "Logical Model der Kategorie Voll-/Teilstationaere Faelle des DM3 aus dem FDZ(KHDIAG)",
        "min": 0,
        "max": "*",
        "base": {
          "path": "fdz-lm-datenmodell3-3-3",
          "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.id",
        "path": "fdz-lm-datenmodell3-3-3.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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.extension",
        "path": "fdz-lm-datenmodell3-3-3.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"
          }
        ],
        "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"
          },
          {
            "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode": "4.0.0"
          }
        ],
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG",
        "short": "Diagnosen der voll- und teilstationären Fälle",
        "definition": "Diagnosen der voll- und teilstationären Fälle",
        "min": 0,
        "max": "*",
        "base": {
          "path": "fdz-lm-datenmodell3-3-3.KHDIAG",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.id",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.extension",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.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"
          }
        ],
        "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"
          },
          {
            "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.modifierExtension",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.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](extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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"
          },
          {
            "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"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.DATENMODELL",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.DATENMODELL",
        "short": "Die Daten sind in Abhängigkeit der Berichtsjahre auf unterschiedliche Datenmodelle aufgeteilt. Nicht alle Daten sind in allen Datenmodellen und für alle Berichtsjahre verfügbar oder haben je nach Datenmodell unterschiedliche Spaltennamen.",
        "definition": "nan",
        "comment": "nan",
        "min": 1,
        "max": "1",
        "base": {
          "path": "fdz-lm-datenmodell3-3-3.KHDIAG.DATENMODELL",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.DIAGART",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.DIAGART",
        "short": "A = Aufnahmediagnose\n H = Hauptdiagnose\n N = Nebendiagnose",
        "definition": "Art der Diagnose des voll- oder teilstationären Falls",
        "comment": "Aufgrund von Fehlern in den Daten wurde ein erweiterter Datentyp gewählt.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "fdz-lm-datenmodell3-3-3.KHDIAG.DIAGART",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.BJAHR",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.BJAHR",
        "short": "Berichtsjahr, zu dem die Lieferung gehört, im Format JJJJ",
        "definition": "Berichtsjahr",
        "comment": "nan",
        "min": 1,
        "max": "1",
        "base": {
          "path": "fdz-lm-datenmodell3-3-3.KHDIAG.BJAHR",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.VSID",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.VSID",
        "short": "Versicherten-ID zum Berichtjahr (Pseudonym). Dient zur Verknüpfung zwischen Tabellen innerhalb eines Berichtsjahres. Gemäß § 4 Abs. 4 von der Datensammelstelle zum periodenbezogenen Lieferpseudonym erzeugt.",
        "definition": "Einjähriges Pseudonym / Arbeitsnummer des Versicherten",
        "comment": "Im Allgemeinen hat eine natürliche Person (PSID) innerhalb eines Berichtsjahres nur eine VSID. Mehrere VSID existieren nur, wenn diese Person innerhalb des Jahres die Versicherung gewechselt hat.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "fdz-lm-datenmodell3-3-3.KHDIAG.VSID",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.FALLIDKH",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.FALLIDKH",
        "short": "Technische Fall-ID zur Verknüpfung mit Satzart KHFALL",
        "definition": "Fall-ID des Krankenhausfalls",
        "comment": "Die Fall-ID ist eindeutig je Berichtsjahr und Krankenkasse. Da die VSID eindeutig je Berichtsjahr und Krankenkasse ist, sollte eine Verknüpfung über eine Fall-ID auch immer zusätzlich eine Verknüpfung über die VSID beinhalten.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "fdz-lm-datenmodell3-3-3.KHDIAG.FALLIDKH",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.IcdkhCode",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.IcdkhCode",
        "short": "ICD 10 GM Code ohne Punktnotation und Sonderzeichen",
        "definition": "ICD 10 GM Code ohne Punktnotation und Sonderzeichen",
        "comment": "ICD 10 GM Code ohne Punktnotation und Sonderzeichen. Im Feld ICDKH_CODE finden sich die Diagnosen rein alphanumerisch ohne Punkt und ohne Sonderzeichen. Die ICD-Sonderzeichen zum Feld ICDKH_CODE finden sich im Feld ICDKH_ZUSATZ. Weitere Hinweise zur Diagnosecodierung sind in den Deutschen Kodierrichtlinien (DKR) aufgeführt.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "fdz-lm-datenmodell3-3-3.KHDIAG.IcdkhCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.SekicdCode",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.SekicdCode",
        "short": "ICD 10 GM Code Sekundärdiagnose ohne Punktnotation und Sonderzeichen",
        "definition": "ICD 10 GM Code Sekundärdiagnose ohne Punktnotation und Sonderzeichen",
        "comment": "ICD 10 GM Code ohne Punktnotation  und Sonderzeichen. Im Feld SEKICD finden sich die Diagnosen rein alphanumerisch ohne Punkt und ohne Sonderzeichen. Die ICD-Sonderzeichen zum Feld SEKICD_CODE finden sich im Feld SEKICD_ZUSATZ. Weitere Hinweise zur Diagnosecodierung sind in den Deutschen Kodierrichtlinien (DKR) aufgeführt.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "fdz-lm-datenmodell3-3-3.KHDIAG.SekicdCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.IcdkhZusatz",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.IcdkhZusatz",
        "short": "ICD Sonderzeichen",
        "definition": "ICD Sonderzeichen",
        "comment": "ICD Sonderzeichen",
        "min": 1,
        "max": "1",
        "base": {
          "path": "fdz-lm-datenmodell3-3-3.KHDIAG.IcdkhZusatz",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.SekicdZusatz",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.SekicdZusatz",
        "short": "ICD Sonderzeichen",
        "definition": "ICD Sonderzeichen",
        "comment": "ICD Sonderzeichen Sekundärdiagnose",
        "min": 1,
        "max": "1",
        "base": {
          "path": "fdz-lm-datenmodell3-3-3.KHDIAG.SekicdZusatz",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.ICDLOKAL",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.ICDLOKAL",
        "short": "Lokalisation; Schlüssel 16; R = rechts, L = links, B = beidseitig",
        "definition": "Lokalisation der Primärdiagnose",
        "comment": "nan",
        "min": 0,
        "max": "1",
        "base": {
          "path": "fdz-lm-datenmodell3-3-3.KHDIAG.ICDLOKAL",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.SEKICDLOKAL",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.SEKICDLOKAL",
        "short": "Lokalisation; Schlüssel 16; R = rechts, L = links, B = beidseitig",
        "definition": "Lokalisation der Sekundärdiagnose",
        "comment": "nan",
        "min": 0,
        "max": "1",
        "base": {
          "path": "fdz-lm-datenmodell3-3-3.KHDIAG.SEKICDLOKAL",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.PSID",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.PSID",
        "short": "Überjährige Versicherten-ID (Pseudonym). Dient zur Verknüpfung zwischen Tabellen (ein- und überjährig).",
        "definition": "Periodenübergreifendes Pseudonym",
        "comment": "Im Allgemeinen hat eine natürliche Person (PSID) innerhalb eines Berichtsjahres nur eine VSID. Mehrere VSID existieren nur, wenn diese Person innerhalb des Jahres die Versicherung gewechselt hat.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "fdz-lm-datenmodell3-3-3.KHDIAG.PSID",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "fdz-lm-datenmodell3-3-3",
        "path": "fdz-lm-datenmodell3-3-3",
        "short": "Datenmodell 3 - Voll-/Teilstationaere Faelle-KHDIAG",
        "definition": "Logical Model der Kategorie Voll-/Teilstationaere Faelle des DM3 aus dem FDZ(KHDIAG)"
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG",
        "short": "Diagnosen der voll- und teilstationären Fälle",
        "definition": "Diagnosen der voll- und teilstationären Fälle",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.DATENMODELL",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.DATENMODELL",
        "short": "Die Daten sind in Abhängigkeit der Berichtsjahre auf unterschiedliche Datenmodelle aufgeteilt. Nicht alle Daten sind in allen Datenmodellen und für alle Berichtsjahre verfügbar oder haben je nach Datenmodell unterschiedliche Spaltennamen.",
        "definition": "nan",
        "comment": "nan",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.DIAGART",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.DIAGART",
        "short": "A = Aufnahmediagnose\n H = Hauptdiagnose\n N = Nebendiagnose",
        "definition": "Art der Diagnose des voll- oder teilstationären Falls",
        "comment": "Aufgrund von Fehlern in den Daten wurde ein erweiterter Datentyp gewählt.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.BJAHR",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.BJAHR",
        "short": "Berichtsjahr, zu dem die Lieferung gehört, im Format JJJJ",
        "definition": "Berichtsjahr",
        "comment": "nan",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.VSID",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.VSID",
        "short": "Versicherten-ID zum Berichtjahr (Pseudonym). Dient zur Verknüpfung zwischen Tabellen innerhalb eines Berichtsjahres. Gemäß § 4 Abs. 4 von der Datensammelstelle zum periodenbezogenen Lieferpseudonym erzeugt.",
        "definition": "Einjähriges Pseudonym / Arbeitsnummer des Versicherten",
        "comment": "Im Allgemeinen hat eine natürliche Person (PSID) innerhalb eines Berichtsjahres nur eine VSID. Mehrere VSID existieren nur, wenn diese Person innerhalb des Jahres die Versicherung gewechselt hat.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.FALLIDKH",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.FALLIDKH",
        "short": "Technische Fall-ID zur Verknüpfung mit Satzart KHFALL",
        "definition": "Fall-ID des Krankenhausfalls",
        "comment": "Die Fall-ID ist eindeutig je Berichtsjahr und Krankenkasse. Da die VSID eindeutig je Berichtsjahr und Krankenkasse ist, sollte eine Verknüpfung über eine Fall-ID auch immer zusätzlich eine Verknüpfung über die VSID beinhalten.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.IcdkhCode",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.IcdkhCode",
        "short": "ICD 10 GM Code ohne Punktnotation und Sonderzeichen",
        "definition": "ICD 10 GM Code ohne Punktnotation und Sonderzeichen",
        "comment": "ICD 10 GM Code ohne Punktnotation und Sonderzeichen. Im Feld ICDKH_CODE finden sich die Diagnosen rein alphanumerisch ohne Punkt und ohne Sonderzeichen. Die ICD-Sonderzeichen zum Feld ICDKH_CODE finden sich im Feld ICDKH_ZUSATZ. Weitere Hinweise zur Diagnosecodierung sind in den Deutschen Kodierrichtlinien (DKR) aufgeführt.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.SekicdCode",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.SekicdCode",
        "short": "ICD 10 GM Code Sekundärdiagnose ohne Punktnotation und Sonderzeichen",
        "definition": "ICD 10 GM Code Sekundärdiagnose ohne Punktnotation und Sonderzeichen",
        "comment": "ICD 10 GM Code ohne Punktnotation  und Sonderzeichen. Im Feld SEKICD finden sich die Diagnosen rein alphanumerisch ohne Punkt und ohne Sonderzeichen. Die ICD-Sonderzeichen zum Feld SEKICD_CODE finden sich im Feld SEKICD_ZUSATZ. Weitere Hinweise zur Diagnosecodierung sind in den Deutschen Kodierrichtlinien (DKR) aufgeführt.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.IcdkhZusatz",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.IcdkhZusatz",
        "short": "ICD Sonderzeichen",
        "definition": "ICD Sonderzeichen",
        "comment": "ICD Sonderzeichen",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.SekicdZusatz",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.SekicdZusatz",
        "short": "ICD Sonderzeichen",
        "definition": "ICD Sonderzeichen",
        "comment": "ICD Sonderzeichen Sekundärdiagnose",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.ICDLOKAL",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.ICDLOKAL",
        "short": "Lokalisation; Schlüssel 16; R = rechts, L = links, B = beidseitig",
        "definition": "Lokalisation der Primärdiagnose",
        "comment": "nan",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.SEKICDLOKAL",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.SEKICDLOKAL",
        "short": "Lokalisation; Schlüssel 16; R = rechts, L = links, B = beidseitig",
        "definition": "Lokalisation der Sekundärdiagnose",
        "comment": "nan",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "fdz-lm-datenmodell3-3-3.KHDIAG.PSID",
        "path": "fdz-lm-datenmodell3-3-3.KHDIAG.PSID",
        "short": "Überjährige Versicherten-ID (Pseudonym). Dient zur Verknüpfung zwischen Tabellen (ein- und überjährig).",
        "definition": "Periodenübergreifendes Pseudonym",
        "comment": "Im Allgemeinen hat eine natürliche Person (PSID) innerhalb eines Berichtsjahres nur eine VSID. Mehrere VSID existieren nur, wenn diese Person innerhalb des Jahres die Versicherung gewechselt hat.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      }
    ]
  }
}