Consolidated CDA (C-CDA)
4.0.0 - STU4 United States of America flag

This page is part of the CCDA: Consolidated CDA Release (v4.0.0: CCDA 4.0) generated with FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions

Logical Model: Discharge Medications Section

Official URL: http://hl7.org/cda/us/ccda/StructureDefinition/DischargeMedicationsSection Version: 4.0.0
Draft as of 2025-06-20 Computable Name: DischargeMedicationsSection
Other Identifiers: urn:ietf:rfc:3986#Uniform Resource Identifier (URI)#urn:hl7ii:2.16.840.1.113883.10.20.22.2.11.1:2015-08-01

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.

Templates Used

Although open templates may contain any valid CDA content, the following templates are specifically called out by this template:

Required Entries: DischargeMedication

Usages:

Changes since version 3.0.0:

  • The resource metadata has changed (description)
  • Formal Views of Template Content

    Description of Template, Differentials, Snapshots and how the different presentations work.

    This structure is derived from Section

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Section C 1..1 Section XML Namespace: urn:hl7-org:v3
    Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId, @ID, @classCode, @moodCode, id, code, title, text, confidentialityCode, languageCode, subject, author, informant, entry, component
    Base for all types and resources
    Instance of this type are validated by templateId
    Logical Container: ClinicalDocument (CDA Class)
    Constraints: shall-discharge-med
    ... @nullFlavor 0..1 cs If a required section contains no information, the @nullFlavor MAY be set to NI
    ... Slices for templateId 1..* II Slice: Unordered, Open by value:root, value:extension
    .... templateId:section 1..1 II
    ..... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.10.20.22.2.11.1
    ..... @extension 1..1 st Required Pattern: 2015-08-01
    ... code 1..1 CE Hospital discharge medications Narrative
    .... @code 1..1 cs Required Pattern: 10183-2
    .... @codeSystem 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.6.1
    .... Slices for translation 1..* CD Slice: Unordered, Open by value:code, value:codeSystem
    ..... translation:translation1 1..1 CD Discharge Medications
    ...... @code 1..1 cs Required Pattern: 75311-1
    ...... @codeSystem 1..1 oid, uuid, ruid LOINC
    Required Pattern: 2.16.840.1.113883.6.1
    ... text 1..1 xhtml
    ... Slices for entry 0..* Entry If section/@nullFlavor is not present:
    Slice: Unordered, Open by profile:act
    .... entry:dischargeMed 0..* Entry
    ..... act 1..1 DischargeMedication

    doco Documentation for this format

    Constraints

    IdGradePath(s)DetailsRequirements
    shall-discharge-mederrorSectionIf section/@nullFlavor is not present, SHALL contain at least one Discharge Medication
    : nullFlavor.exists() or entry.where(act.hasTemplateIdOf('http://hl7.org/cda/us/ccda/StructureDefinition/DischargeMedication')).exists()
    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Section C 1..1 Section XML Namespace: urn:hl7-org:v3
    Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId, @ID, @classCode, @moodCode, id, code, title, text, confidentialityCode, languageCode, subject, author, informant, entry, component
    Base for all types and resources
    Instance of this type are validated by templateId
    Logical Container: ClinicalDocument (CDA Class)
    Constraints: shall-discharge-med
    ... @nullFlavor 0..1 cs If a required section contains no information, the @nullFlavor MAY be set to NI
    Binding: CDANullFlavor (required)
    ... realmCode 0..* CS
    ... typeId C 0..1 II Constraints: II-1
    .... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    .... @assigningAuthorityName 0..1 st
    .... @displayable 0..1 bl
    .... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
    .... @extension 1..1 st
    .... templateId:section 1..1 II
    ..... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ..... @assigningAuthorityName 0..1 st
    ..... @displayable 0..1 bl
    ..... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.10.20.22.2.11.1
    ..... @extension 1..1 st Required Pattern: 2015-08-01
    ... @ID 0..1 xs:ID
    ... @classCode 0..1 cs Binding: ActClassRecordOrganizer (required)
    Fixed Value: DOCSECT
    ... @moodCode 0..1 cs Binding: CDAActMood (required)
    Fixed Value: EVN
    ... id 0..1 II
    ... code 1..1 CE Hospital discharge medications Narrative
    .... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    .... @code 1..1 cs Required Pattern: 10183-2
    .... @codeSystem 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.6.1
    .... @codeSystemName 0..1 st
    .... @codeSystemVersion 0..1 st
    .... @displayName 0..1 st
    .... @sdtcValueSet 0..1 oid XML Namespace: urn:hl7-org:sdtc
    XML: valueSet (urn:hl7-org:sdtc)
    .... @sdtcValueSetVersion 0..1 st XML Namespace: urn:hl7-org:sdtc
    XML: valueSetVersion (urn:hl7-org:sdtc)
    .... originalText 0..1 ED
    .... Slices for translation 1..* CD Slice: Unordered, Open by value:code, value:codeSystem
    ..... translation:translation1 1..1 CD Discharge Medications
    ...... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ...... @code 1..1 cs Required Pattern: 75311-1
    ...... @codeSystem 1..1 oid, uuid, ruid LOINC
    Required Pattern: 2.16.840.1.113883.6.1
    ...... @codeSystemName 0..1 st
    ...... @codeSystemVersion 0..1 st
    ...... @displayName 0..1 st
    ...... @sdtcValueSet 0..1 oid XML Namespace: urn:hl7-org:sdtc
    XML: valueSet (urn:hl7-org:sdtc)
    ...... @sdtcValueSetVersion 0..1 st XML Namespace: urn:hl7-org:sdtc
    XML: valueSetVersion (urn:hl7-org:sdtc)
    ...... originalText 0..1 ED
    ...... qualifier 0..* CR
    ...... translation 0..* CD
    ... title 1..1 ST
    ... text 1..1 xhtml
    ... confidentialityCode 0..1 CE
    ... languageCode 0..1 CS Binding: AllLanguages (required)
    ... subject 0..1 Subject
    ... author 0..* Author
    ... informant 0..* Informant
    ... Slices for entry 0..* Entry If section/@nullFlavor is not present:
    Slice: Unordered, Open by profile:act
    .... entry:dischargeMed 0..* Entry
    ..... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ..... realmCode 0..* CS
    ..... typeId C 0..1 II Constraints: II-1
    ...... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ...... @assigningAuthorityName 0..1 st
    ...... @displayable 0..1 bl
    ...... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
    ...... @extension 1..1 st
    ..... templateId 0..* II
    ..... @typeCode 0..1 cs Binding: x_ActRelationshipEntry (required)
    ..... @contextConductionInd 0..1 bl Fixed Value: true
    ..... act 1..1 DischargeMedication
    ..... encounter 0..1 Encounter
    ..... observation 0..1 Observation
    ..... observationMedia 0..1 ObservationMedia
    ..... organizer 0..1 Organizer
    ..... procedure 0..1 Procedure
    ..... regionOfInterest 0..1 RegionOfInterest
    ..... substanceAdministration 0..1 SubstanceAdministration
    ..... supply 0..1 Supply
    ... component 0..* InfrastructureRoot
    .... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    .... realmCode 0..* CS
    .... typeId C 0..1 II Constraints: II-1
    ..... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ..... @assigningAuthorityName 0..1 st
    ..... @displayable 0..1 bl
    ..... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
    ..... @extension 1..1 st
    .... templateId 0..* II
    .... @typeCode 0..1 cs Fixed Value: COMP
    .... @contextConductionInd 0..1 bl Fixed Value: true
    .... section 1..1 Section

    doco Documentation for this format

    Terminology Bindings

    PathConformanceValueSet / CodeURI
    Section.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.typeId.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.templateId:section.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.classCoderequiredFixed Value: DOCSECT
    http://terminology.hl7.org/ValueSet/v3-ActClassRecordOrganizer
    Section.moodCoderequiredFixed Value: EVN
    http://hl7.org/cda/stds/core/ValueSet/CDAActMood
    Section.code.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.code.translation:translation1.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.languageCoderequiredAllLanguages
    http://hl7.org/fhir/ValueSet/all-languages
    From the FHIR Standard
    Section.entry:dischargeMed.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.entry:dischargeMed.typeId.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.entry:dischargeMed.typeCoderequiredXActRelationshipEntry
    http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntry
    Section.component.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.component.typeId.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

    Constraints

    IdGradePath(s)DetailsRequirements
    II-1errorSection.typeId, Section.entry:dischargeMed.typeId, Section.component.typeIdAn II instance must have either a root or an nullFlavor.
    : root.exists() or nullFlavor.exists()
    shall-discharge-mederrorSectionIf section/@nullFlavor is not present, SHALL contain at least one Discharge Medication
    : nullFlavor.exists() or entry.where(act.hasTemplateIdOf('http://hl7.org/cda/us/ccda/StructureDefinition/DischargeMedication')).exists()
    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Section C 1..1 Section XML Namespace: urn:hl7-org:v3
    Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId, @ID, @classCode, @moodCode, id, code, title, text, confidentialityCode, languageCode, subject, author, informant, entry, component
    Base for all types and resources
    Instance of this type are validated by templateId
    Logical Container: ClinicalDocument (CDA Class)
    Constraints: shall-discharge-med
    ... @nullFlavor 0..1 cs If a required section contains no information, the @nullFlavor MAY be set to NI
    Binding: CDANullFlavor (required)
    ... realmCode 0..* CS
    ... typeId C 0..1 II Constraints: II-1
    .... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    .... @assigningAuthorityName 0..1 st
    .... @displayable 0..1 bl
    .... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
    .... @extension 1..1 st
    .... templateId:section 1..1 II
    ..... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ..... @assigningAuthorityName 0..1 st
    ..... @displayable 0..1 bl
    ..... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.10.20.22.2.11.1
    ..... @extension 1..1 st Required Pattern: 2015-08-01
    ... @ID 0..1 xs:ID
    ... @classCode 0..1 cs Binding: ActClassRecordOrganizer (required)
    Fixed Value: DOCSECT
    ... @moodCode 0..1 cs Binding: CDAActMood (required)
    Fixed Value: EVN
    ... id 0..1 II
    ... code 1..1 CE Hospital discharge medications Narrative
    .... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    .... @code 1..1 cs Required Pattern: 10183-2
    .... @codeSystem 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.6.1
    .... @codeSystemName 0..1 st
    .... @codeSystemVersion 0..1 st
    .... @displayName 0..1 st
    .... @sdtcValueSet 0..1 oid XML Namespace: urn:hl7-org:sdtc
    XML: valueSet (urn:hl7-org:sdtc)
    .... @sdtcValueSetVersion 0..1 st XML Namespace: urn:hl7-org:sdtc
    XML: valueSetVersion (urn:hl7-org:sdtc)
    .... originalText 0..1 ED
    .... Slices for translation 1..* CD Slice: Unordered, Open by value:code, value:codeSystem
    ..... translation:translation1 1..1 CD Discharge Medications
    ...... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ...... @code 1..1 cs Required Pattern: 75311-1
    ...... @codeSystem 1..1 oid, uuid, ruid LOINC
    Required Pattern: 2.16.840.1.113883.6.1
    ...... @codeSystemName 0..1 st
    ...... @codeSystemVersion 0..1 st
    ...... @displayName 0..1 st
    ...... @sdtcValueSet 0..1 oid XML Namespace: urn:hl7-org:sdtc
    XML: valueSet (urn:hl7-org:sdtc)
    ...... @sdtcValueSetVersion 0..1 st XML Namespace: urn:hl7-org:sdtc
    XML: valueSetVersion (urn:hl7-org:sdtc)
    ...... originalText 0..1 ED
    ...... qualifier 0..* CR
    ...... translation 0..* CD
    ... title 1..1 ST
    ... text 1..1 xhtml
    ... confidentialityCode 0..1 CE
    ... languageCode 0..1 CS Binding: AllLanguages (required)
    ... subject 0..1 Subject
    ... author 0..* Author
    ... informant 0..* Informant
    ... Slices for entry 0..* Entry If section/@nullFlavor is not present:
    Slice: Unordered, Open by profile:act
    .... entry:dischargeMed 0..* Entry
    ..... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ..... realmCode 0..* CS
    ..... typeId C 0..1 II Constraints: II-1
    ...... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ...... @assigningAuthorityName 0..1 st
    ...... @displayable 0..1 bl
    ...... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
    ...... @extension 1..1 st
    ..... templateId 0..* II
    ..... @typeCode 0..1 cs Binding: x_ActRelationshipEntry (required)
    ..... @contextConductionInd 0..1 bl Fixed Value: true
    ..... act 1..1 DischargeMedication
    ..... encounter 0..1 Encounter
    ..... observation 0..1 Observation
    ..... observationMedia 0..1 ObservationMedia
    ..... organizer 0..1 Organizer
    ..... procedure 0..1 Procedure
    ..... regionOfInterest 0..1 RegionOfInterest
    ..... substanceAdministration 0..1 SubstanceAdministration
    ..... supply 0..1 Supply
    ... component 0..* InfrastructureRoot
    .... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    .... realmCode 0..* CS
    .... typeId C 0..1 II Constraints: II-1
    ..... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ..... @assigningAuthorityName 0..1 st
    ..... @displayable 0..1 bl
    ..... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
    ..... @extension 1..1 st
    .... templateId 0..* II
    .... @typeCode 0..1 cs Fixed Value: COMP
    .... @contextConductionInd 0..1 bl Fixed Value: true
    .... section 1..1 Section

    doco Documentation for this format

    Terminology Bindings

    PathConformanceValueSet / CodeURI
    Section.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.typeId.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.templateId:section.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.classCoderequiredFixed Value: DOCSECT
    http://terminology.hl7.org/ValueSet/v3-ActClassRecordOrganizer
    Section.moodCoderequiredFixed Value: EVN
    http://hl7.org/cda/stds/core/ValueSet/CDAActMood
    Section.code.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.code.translation:translation1.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.languageCoderequiredAllLanguages
    http://hl7.org/fhir/ValueSet/all-languages
    From the FHIR Standard
    Section.entry:dischargeMed.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.entry:dischargeMed.typeId.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.entry:dischargeMed.typeCoderequiredXActRelationshipEntry
    http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntry
    Section.component.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.component.typeId.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

    Constraints

    IdGradePath(s)DetailsRequirements
    II-1errorSection.typeId, Section.entry:dischargeMed.typeId, Section.component.typeIdAn II instance must have either a root or an nullFlavor.
    : root.exists() or nullFlavor.exists()
    shall-discharge-mederrorSectionIf section/@nullFlavor is not present, SHALL contain at least one Discharge Medication
    : nullFlavor.exists() or entry.where(act.hasTemplateIdOf('http://hl7.org/cda/us/ccda/StructureDefinition/DischargeMedication')).exists()

    This structure is derived from Section

    Summary

    Mandatory: 13 elements(1 nested mandatory element)

    Structures

    This structure refers to these other structures:

    Slices

    This structure defines the following Slices:

    • The element 2 is sliced based on the values of Section.templateId
    • The element 2 is sliced based on the values of Section.code.translation
    • The element 1 is sliced based on the value of Section.entry

    Differential View

    This structure is derived from Section

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Section C 1..1 Section XML Namespace: urn:hl7-org:v3
    Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId, @ID, @classCode, @moodCode, id, code, title, text, confidentialityCode, languageCode, subject, author, informant, entry, component
    Base for all types and resources
    Instance of this type are validated by templateId
    Logical Container: ClinicalDocument (CDA Class)
    Constraints: shall-discharge-med
    ... @nullFlavor 0..1 cs If a required section contains no information, the @nullFlavor MAY be set to NI
    ... Slices for templateId 1..* II Slice: Unordered, Open by value:root, value:extension
    .... templateId:section 1..1 II
    ..... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.10.20.22.2.11.1
    ..... @extension 1..1 st Required Pattern: 2015-08-01
    ... code 1..1 CE Hospital discharge medications Narrative
    .... @code 1..1 cs Required Pattern: 10183-2
    .... @codeSystem 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.6.1
    .... Slices for translation 1..* CD Slice: Unordered, Open by value:code, value:codeSystem
    ..... translation:translation1 1..1 CD Discharge Medications
    ...... @code 1..1 cs Required Pattern: 75311-1
    ...... @codeSystem 1..1 oid, uuid, ruid LOINC
    Required Pattern: 2.16.840.1.113883.6.1
    ... text 1..1 xhtml
    ... Slices for entry 0..* Entry If section/@nullFlavor is not present:
    Slice: Unordered, Open by profile:act
    .... entry:dischargeMed 0..* Entry
    ..... act 1..1 DischargeMedication

    doco Documentation for this format

    Constraints

    IdGradePath(s)DetailsRequirements
    shall-discharge-mederrorSectionIf section/@nullFlavor is not present, SHALL contain at least one Discharge Medication
    : nullFlavor.exists() or entry.where(act.hasTemplateIdOf('http://hl7.org/cda/us/ccda/StructureDefinition/DischargeMedication')).exists()

    Key Elements View

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Section C 1..1 Section XML Namespace: urn:hl7-org:v3
    Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId, @ID, @classCode, @moodCode, id, code, title, text, confidentialityCode, languageCode, subject, author, informant, entry, component
    Base for all types and resources
    Instance of this type are validated by templateId
    Logical Container: ClinicalDocument (CDA Class)
    Constraints: shall-discharge-med
    ... @nullFlavor 0..1 cs If a required section contains no information, the @nullFlavor MAY be set to NI
    Binding: CDANullFlavor (required)
    ... realmCode 0..* CS
    ... typeId C 0..1 II Constraints: II-1
    .... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    .... @assigningAuthorityName 0..1 st
    .... @displayable 0..1 bl
    .... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
    .... @extension 1..1 st
    .... templateId:section 1..1 II
    ..... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ..... @assigningAuthorityName 0..1 st
    ..... @displayable 0..1 bl
    ..... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.10.20.22.2.11.1
    ..... @extension 1..1 st Required Pattern: 2015-08-01
    ... @ID 0..1 xs:ID
    ... @classCode 0..1 cs Binding: ActClassRecordOrganizer (required)
    Fixed Value: DOCSECT
    ... @moodCode 0..1 cs Binding: CDAActMood (required)
    Fixed Value: EVN
    ... id 0..1 II
    ... code 1..1 CE Hospital discharge medications Narrative
    .... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    .... @code 1..1 cs Required Pattern: 10183-2
    .... @codeSystem 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.6.1
    .... @codeSystemName 0..1 st
    .... @codeSystemVersion 0..1 st
    .... @displayName 0..1 st
    .... @sdtcValueSet 0..1 oid XML Namespace: urn:hl7-org:sdtc
    XML: valueSet (urn:hl7-org:sdtc)
    .... @sdtcValueSetVersion 0..1 st XML Namespace: urn:hl7-org:sdtc
    XML: valueSetVersion (urn:hl7-org:sdtc)
    .... originalText 0..1 ED
    .... Slices for translation 1..* CD Slice: Unordered, Open by value:code, value:codeSystem
    ..... translation:translation1 1..1 CD Discharge Medications
    ...... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ...... @code 1..1 cs Required Pattern: 75311-1
    ...... @codeSystem 1..1 oid, uuid, ruid LOINC
    Required Pattern: 2.16.840.1.113883.6.1
    ...... @codeSystemName 0..1 st
    ...... @codeSystemVersion 0..1 st
    ...... @displayName 0..1 st
    ...... @sdtcValueSet 0..1 oid XML Namespace: urn:hl7-org:sdtc
    XML: valueSet (urn:hl7-org:sdtc)
    ...... @sdtcValueSetVersion 0..1 st XML Namespace: urn:hl7-org:sdtc
    XML: valueSetVersion (urn:hl7-org:sdtc)
    ...... originalText 0..1 ED
    ...... qualifier 0..* CR
    ...... translation 0..* CD
    ... title 1..1 ST
    ... text 1..1 xhtml
    ... confidentialityCode 0..1 CE
    ... languageCode 0..1 CS Binding: AllLanguages (required)
    ... subject 0..1 Subject
    ... author 0..* Author
    ... informant 0..* Informant
    ... Slices for entry 0..* Entry If section/@nullFlavor is not present:
    Slice: Unordered, Open by profile:act
    .... entry:dischargeMed 0..* Entry
    ..... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ..... realmCode 0..* CS
    ..... typeId C 0..1 II Constraints: II-1
    ...... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ...... @assigningAuthorityName 0..1 st
    ...... @displayable 0..1 bl
    ...... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
    ...... @extension 1..1 st
    ..... templateId 0..* II
    ..... @typeCode 0..1 cs Binding: x_ActRelationshipEntry (required)
    ..... @contextConductionInd 0..1 bl Fixed Value: true
    ..... act 1..1 DischargeMedication
    ..... encounter 0..1 Encounter
    ..... observation 0..1 Observation
    ..... observationMedia 0..1 ObservationMedia
    ..... organizer 0..1 Organizer
    ..... procedure 0..1 Procedure
    ..... regionOfInterest 0..1 RegionOfInterest
    ..... substanceAdministration 0..1 SubstanceAdministration
    ..... supply 0..1 Supply
    ... component 0..* InfrastructureRoot
    .... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    .... realmCode 0..* CS
    .... typeId C 0..1 II Constraints: II-1
    ..... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ..... @assigningAuthorityName 0..1 st
    ..... @displayable 0..1 bl
    ..... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
    ..... @extension 1..1 st
    .... templateId 0..* II
    .... @typeCode 0..1 cs Fixed Value: COMP
    .... @contextConductionInd 0..1 bl Fixed Value: true
    .... section 1..1 Section

    doco Documentation for this format

    Terminology Bindings

    PathConformanceValueSet / CodeURI
    Section.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.typeId.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.templateId:section.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.classCoderequiredFixed Value: DOCSECT
    http://terminology.hl7.org/ValueSet/v3-ActClassRecordOrganizer
    Section.moodCoderequiredFixed Value: EVN
    http://hl7.org/cda/stds/core/ValueSet/CDAActMood
    Section.code.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.code.translation:translation1.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.languageCoderequiredAllLanguages
    http://hl7.org/fhir/ValueSet/all-languages
    From the FHIR Standard
    Section.entry:dischargeMed.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.entry:dischargeMed.typeId.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.entry:dischargeMed.typeCoderequiredXActRelationshipEntry
    http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntry
    Section.component.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.component.typeId.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

    Constraints

    IdGradePath(s)DetailsRequirements
    II-1errorSection.typeId, Section.entry:dischargeMed.typeId, Section.component.typeIdAn II instance must have either a root or an nullFlavor.
    : root.exists() or nullFlavor.exists()
    shall-discharge-mederrorSectionIf section/@nullFlavor is not present, SHALL contain at least one Discharge Medication
    : nullFlavor.exists() or entry.where(act.hasTemplateIdOf('http://hl7.org/cda/us/ccda/StructureDefinition/DischargeMedication')).exists()

    Snapshot View

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Section C 1..1 Section XML Namespace: urn:hl7-org:v3
    Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId, @ID, @classCode, @moodCode, id, code, title, text, confidentialityCode, languageCode, subject, author, informant, entry, component
    Base for all types and resources
    Instance of this type are validated by templateId
    Logical Container: ClinicalDocument (CDA Class)
    Constraints: shall-discharge-med
    ... @nullFlavor 0..1 cs If a required section contains no information, the @nullFlavor MAY be set to NI
    Binding: CDANullFlavor (required)
    ... realmCode 0..* CS
    ... typeId C 0..1 II Constraints: II-1
    .... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    .... @assigningAuthorityName 0..1 st
    .... @displayable 0..1 bl
    .... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
    .... @extension 1..1 st
    .... templateId:section 1..1 II
    ..... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ..... @assigningAuthorityName 0..1 st
    ..... @displayable 0..1 bl
    ..... @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.10.20.22.2.11.1
    ..... @extension 1..1 st Required Pattern: 2015-08-01
    ... @ID 0..1 xs:ID
    ... @classCode 0..1 cs Binding: ActClassRecordOrganizer (required)
    Fixed Value: DOCSECT
    ... @moodCode 0..1 cs Binding: CDAActMood (required)
    Fixed Value: EVN
    ... id 0..1 II
    ... code 1..1 CE Hospital discharge medications Narrative
    .... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    .... @code 1..1 cs Required Pattern: 10183-2
    .... @codeSystem 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.6.1
    .... @codeSystemName 0..1 st
    .... @codeSystemVersion 0..1 st
    .... @displayName 0..1 st
    .... @sdtcValueSet 0..1 oid XML Namespace: urn:hl7-org:sdtc
    XML: valueSet (urn:hl7-org:sdtc)
    .... @sdtcValueSetVersion 0..1 st XML Namespace: urn:hl7-org:sdtc
    XML: valueSetVersion (urn:hl7-org:sdtc)
    .... originalText 0..1 ED
    .... Slices for translation 1..* CD Slice: Unordered, Open by value:code, value:codeSystem
    ..... translation:translation1 1..1 CD Discharge Medications
    ...... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ...... @code 1..1 cs Required Pattern: 75311-1
    ...... @codeSystem 1..1 oid, uuid, ruid LOINC
    Required Pattern: 2.16.840.1.113883.6.1
    ...... @codeSystemName 0..1 st
    ...... @codeSystemVersion 0..1 st
    ...... @displayName 0..1 st
    ...... @sdtcValueSet 0..1 oid XML Namespace: urn:hl7-org:sdtc
    XML: valueSet (urn:hl7-org:sdtc)
    ...... @sdtcValueSetVersion 0..1 st XML Namespace: urn:hl7-org:sdtc
    XML: valueSetVersion (urn:hl7-org:sdtc)
    ...... originalText 0..1 ED
    ...... qualifier 0..* CR
    ...... translation 0..* CD
    ... title 1..1 ST
    ... text 1..1 xhtml
    ... confidentialityCode 0..1 CE
    ... languageCode 0..1 CS Binding: AllLanguages (required)
    ... subject 0..1 Subject
    ... author 0..* Author
    ... informant 0..* Informant
    ... Slices for entry 0..* Entry If section/@nullFlavor is not present:
    Slice: Unordered, Open by profile:act
    .... entry:dischargeMed 0..* Entry
    ..... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ..... realmCode 0..* CS
    ..... typeId C 0..1 II Constraints: II-1
    ...... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ...... @assigningAuthorityName 0..1 st
    ...... @displayable 0..1 bl
    ...... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
    ...... @extension 1..1 st
    ..... templateId 0..* II
    ..... @typeCode 0..1 cs Binding: x_ActRelationshipEntry (required)
    ..... @contextConductionInd 0..1 bl Fixed Value: true
    ..... act 1..1 DischargeMedication
    ..... encounter 0..1 Encounter
    ..... observation 0..1 Observation
    ..... observationMedia 0..1 ObservationMedia
    ..... organizer 0..1 Organizer
    ..... procedure 0..1 Procedure
    ..... regionOfInterest 0..1 RegionOfInterest
    ..... substanceAdministration 0..1 SubstanceAdministration
    ..... supply 0..1 Supply
    ... component 0..* InfrastructureRoot
    .... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    .... realmCode 0..* CS
    .... typeId C 0..1 II Constraints: II-1
    ..... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ..... @assigningAuthorityName 0..1 st
    ..... @displayable 0..1 bl
    ..... @root 1..1 oid, uuid, ruid Fixed Value: 2.16.840.1.113883.1.3
    ..... @extension 1..1 st
    .... templateId 0..* II
    .... @typeCode 0..1 cs Fixed Value: COMP
    .... @contextConductionInd 0..1 bl Fixed Value: true
    .... section 1..1 Section

    doco Documentation for this format

    Terminology Bindings

    PathConformanceValueSet / CodeURI
    Section.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.typeId.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.templateId:section.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.classCoderequiredFixed Value: DOCSECT
    http://terminology.hl7.org/ValueSet/v3-ActClassRecordOrganizer
    Section.moodCoderequiredFixed Value: EVN
    http://hl7.org/cda/stds/core/ValueSet/CDAActMood
    Section.code.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.code.translation:translation1.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.languageCoderequiredAllLanguages
    http://hl7.org/fhir/ValueSet/all-languages
    From the FHIR Standard
    Section.entry:dischargeMed.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.entry:dischargeMed.typeId.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.entry:dischargeMed.typeCoderequiredXActRelationshipEntry
    http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntry
    Section.component.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    Section.component.typeId.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

    Constraints

    IdGradePath(s)DetailsRequirements
    II-1errorSection.typeId, Section.entry:dischargeMed.typeId, Section.component.typeIdAn II instance must have either a root or an nullFlavor.
    : root.exists() or nullFlavor.exists()
    shall-discharge-mederrorSectionIf section/@nullFlavor is not present, SHALL contain at least one Discharge Medication
    : nullFlavor.exists() or entry.where(act.hasTemplateIdOf('http://hl7.org/cda/us/ccda/StructureDefinition/DischargeMedication')).exists()

    This structure is derived from Section

    Summary

    Mandatory: 13 elements(1 nested mandatory element)

    Structures

    This structure refers to these other structures:

    Slices

    This structure defines the following Slices:

    • The element 2 is sliced based on the values of Section.templateId
    • The element 2 is sliced based on the values of Section.code.translation
    • The element 1 is sliced based on the value of Section.entry

     

    Other representations of profile: CSV, Excel