description: This section contains the medications the patient is intended to take or stop after discharge. Current, active medications must be listed. The section may also include a patient's prescription history and indicate the source of the medication list. package_name: hl7.cda.us.ccda derivation: constraint name: DischargeMedicationsSection type: http://hl7.org/cda/stds/core/StructureDefinition/Section elements: nullFlavor: {short: 'If a required section contains no information, the @nullFlavor MAY be set to NI', index: 0} templateId: index: 1 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.11.1, extension: '2015-08-01'} schema: _required: true index: 2 elements: root: pattern: {type: String, value: 2.16.840.1.113883.10.20.22.2.11.1} index: 3 extension: pattern: {type: String, value: '2015-08-01'} index: 4 required: [root, extension] extensions: {} code: short: Hospital discharge medications Narrative index: 5 elements: code: pattern: {type: Code, value: 10183-2} index: 6 codeSystem: pattern: {type: String, value: 2.16.840.1.113883.6.1} index: 7 translation: index: 8 slicing: rules: open discriminator: - {path: code, type: value} - {path: codeSystem, type: value} min: 1 slices: translation1: match: {code: 75311-1, codeSystem: 2.16.840.1.113883.6.1} schema: short: Discharge Medications _required: true index: 9 elements: code: pattern: {type: Code, value: 75311-1} index: 10 codeSystem: short: LOINC pattern: {type: String, value: 2.16.840.1.113883.6.1} index: 11 required: [codeSystem, code] required: [codeSystem, code, translation] title: {index: 12} text: {index: 13} entry: short: 'If section/@nullFlavor is not present:' index: 14 slicing: rules: open discriminator: - {path: act, type: profile} min: null slices: dischargeMed: match: {} schema: array: true index: 15 elements: act: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Act', index: 16} required: [act] package_version: 3.0.0 class: logical kind: logical url: http://hl7.org/cda/us/ccda/StructureDefinition/DischargeMedicationsSection base: http://hl7.org/cda/stds/core/StructureDefinition/Section version: 3.0.0 required: [text, title, templateId, code]