description: This template represents problems or diagnoses present at the time of discharge which occurred during the hospitalization. This section includes an optional entry to record patient diagnoses specific to this visit. Problems that need ongoing tracking should also be included in the Problem Section. package_name: hl7.cda.us.ccda derivation: constraint name: DischargeDiagnosisSection type: http://hl7.org/cda/stds/core/StructureDefinition/Section elements: templateId: index: 0 slicing: rules: open discriminator: - {path: root, type: value} - {path: extension, type: value} min: 1 slices: section: match: {root: 2.16.840.1.113883.10.20.22.2.24, extension: '2015-08-01'} schema: _required: true index: 1 elements: root: pattern: {type: String, value: 2.16.840.1.113883.10.20.22.2.24} index: 2 extension: pattern: {type: String, value: '2015-08-01'} index: 3 required: [root, extension] extensions: {} code: short: Hospital discharge Dx Narrative index: 4 elements: code: pattern: {type: Code, value: 11535-2} index: 5 codeSystem: pattern: {type: String, value: 2.16.840.1.113883.6.1} index: 6 translation: index: 7 slicing: rules: open discriminator: - {path: code, type: value} - {path: codeSystem, type: value} min: 1 slices: translation1: match: {code: 78375-3, codeSystem: 2.16.840.1.113883.6.1} schema: short: Discharge Diagnosis _required: true index: 8 elements: code: pattern: {type: Code, value: 78375-3} index: 9 codeSystem: short: LOINC pattern: {type: String, value: 2.16.840.1.113883.6.1} index: 10 required: [codeSystem, code] required: [codeSystem, code, translation] title: {index: 11} text: {index: 12} entry: index: 13 elements: act: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Act', index: 14} required: [act] package_version: 4.0.0-ballot class: logical kind: logical url: http://hl7.org/cda/us/ccda/StructureDefinition/DischargeDiagnosisSection base: http://hl7.org/cda/stds/core/StructureDefinition/Section version: 4.0.0-ballot required: [text, title, templateId, code]