This page is part of the CCDA: Consolidated CDA Release (v4.0.0-ballot: CCDA 4.0 Ballot 1) generated with FHIR (HL7® FHIR® Standard) v5.0.0. The current version which supersedes this version is 3.0.0. For a full list of available versions, see the Directory of published versions
Official URL: http://hl7.org/cda/us/ccda/StructureDefinition/MedicationsSection | Version: 4.0.0-ballot | |||
Draft as of 2024-12-20 | Computable Name: MedicationsSection | |||
Other Identifiers: urn:ietf:rfc:3986#Uniform Resource Identifier (URI)#urn:hl7ii:2.16.840.1.113883.10.20.22.2.1.1:2014-06-09 |
The Medications Section contains a patient's current medications and pertinent medication history. At a minimum, the currently active medications are listed. An entire medication history is an option. The section can describe a patient's prescription and dispense history and information about intended drug monitoring.
This section requires either an entry indicating the subject is not known to be on any medications or entries summarizing the subject's medications.
Usage:
Description of Template, Differentials, Snapshots and how the different presentations work.
This structure is derived from Section
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
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) shall-med-activity: If section/@nullFlavor is not present, SHALL contain at least one Medication Activity |
![]() ![]() ![]() |
0..1 | cs | If a required section contains no information, the @nullFlavor MAY be set to NI | |
![]() ![]() ![]() |
1..* | II | Slice: Unordered, Open by value:root, value:extension | |
![]() ![]() ![]() ![]() |
1..1 | II | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.2.1.1 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | st | Required Pattern: 2014-06-09 | |
![]() ![]() ![]() |
1..1 | CE | History of Medication use Narrative | |
![]() ![]() ![]() ![]() |
1..1 | cs | Required Pattern: 10160-0 | |
![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.6.1 | |
![]() ![]() ![]() |
1..1 | ST | ||
![]() ![]() ![]() |
1..1 | xhtml | ||
![]() ![]() ![]() |
0..* | Entry | If section/@nullFlavor is not present: Slice: Unordered, Open by profile:substanceAdministration | |
![]() ![]() ![]() ![]() |
0..* | Entry | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | MedicationActivity | ||
![]() |
Id | Grade | Path(s) | Details | Requirements |
shall-med-activity | error | Section | If section/@nullFlavor is not present, SHALL contain at least one Medication Activity : nullFlavor.exists() or entry.where(substanceAdministration.hasTemplateIdOf('http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity')).exists() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
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) shall-med-activity: If section/@nullFlavor is not present, SHALL contain at least one Medication Activity |
![]() ![]() ![]() |
0..1 | cs | If a required section contains no information, the @nullFlavor MAY be set to NI Binding: CDANullFlavor (required) | |
![]() ![]() ![]() |
0..* | CS | ||
![]() ![]() ![]() |
C | 0..1 | II | II-1: An II instance must have either a root or an nullFlavor. |
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Fixed Value: 2.16.840.1.113883.1.3 | |
![]() ![]() ![]() ![]() |
1..1 | st | ||
![]() ![]() ![]() |
1..* | II | Slice: Unordered, Open by value:root, value:extension | |
![]() ![]() ![]() ![]() |
1..1 | II | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.2.1.1 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | st | Required Pattern: 2014-06-09 | |
![]() ![]() ![]() |
0..1 | xs:ID | ||
![]() ![]() ![]() |
0..1 | cs | Binding: ActClassRecordOrganizer (required) Fixed Value: DOCSECT | |
![]() ![]() ![]() |
0..1 | cs | Binding: CDAActMood (required) Fixed Value: EVN | |
![]() ![]() ![]() |
0..1 | II | ||
![]() ![]() ![]() |
1..1 | CE | History of Medication use Narrative | |
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() |
1..1 | cs | Required Pattern: 10160-0 | |
![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.6.1 | |
![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() |
0..1 | oid | XML Namespace: urn:hl7-org:sdtc XML: valueSet (urn:hl7-org:sdtc) | |
![]() ![]() ![]() ![]() |
0..1 | st | XML Namespace: urn:hl7-org:sdtc XML: valueSetVersion (urn:hl7-org:sdtc) | |
![]() ![]() ![]() ![]() |
0..1 | ED | ||
![]() ![]() ![]() ![]() |
0..* | CD | ||
![]() ![]() ![]() |
1..1 | ST | ||
![]() ![]() ![]() |
1..1 | xhtml | ||
![]() ![]() ![]() |
0..1 | CE | ||
![]() ![]() ![]() |
0..1 | CS | Binding: AllLanguages (required) | |
![]() ![]() ![]() |
0..1 | Subject | ||
![]() ![]() ![]() |
0..* | Author | ||
![]() ![]() ![]() |
0..* | Informant | ||
![]() ![]() ![]() |
0..* | Entry | If section/@nullFlavor is not present: Slice: Unordered, Open by profile:substanceAdministration | |
![]() ![]() ![]() ![]() |
0..* | Entry | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() ![]() |
0..* | CS | ||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | II | II-1: An II instance must have either a root or an nullFlavor. |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Fixed Value: 2.16.840.1.113883.1.3 | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | st | ||
![]() ![]() ![]() ![]() ![]() |
0..* | II | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: x_ActRelationshipEntry (required) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | bl | Fixed Value: true | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Act | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | Encounter | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | Observation | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | ObservationMedia | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | Organizer | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | Procedure | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | RegionOfInterest | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | MedicationActivity | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | Supply | ||
![]() ![]() ![]() |
0..* | InfrastructureRoot | ||
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() |
0..* | CS | ||
![]() ![]() ![]() ![]() |
C | 0..1 | II | II-1: An II instance must have either a root or an nullFlavor. |
![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Fixed Value: 2.16.840.1.113883.1.3 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | st | ||
![]() ![]() ![]() ![]() |
0..* | II | ||
![]() ![]() ![]() ![]() |
0..1 | cs | Fixed Value: COMP | |
![]() ![]() ![]() ![]() |
0..1 | bl | Fixed Value: true | |
![]() ![]() ![]() ![]() |
1..1 | Section | ||
![]() |
Path | Conformance | ValueSet / Code | URI |
Section.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.typeId.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.templateId:section.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.classCode | required | Fixed Value: DOCSECThttp://terminology.hl7.org/ValueSet/v3-ActClassRecordOrganizer | |
Section.moodCode | required | Fixed Value: EVNhttp://hl7.org/cda/stds/core/ValueSet/CDAActMood | |
Section.code.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.languageCode | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages from the FHIR Standard | |
Section.entry:medActivity.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.entry:medActivity.typeId.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.entry:medActivity.typeCode | required | XActRelationshipEntryhttp://terminology.hl7.org/ValueSet/v3-xActRelationshipEntry | |
Section.component.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.component.typeId.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor |
Id | Grade | Path(s) | Details | Requirements |
II-1 | error | Section.typeId, Section.entry:medActivity.typeId, Section.component.typeId | An II instance must have either a root or an nullFlavor. : root.exists() or nullFlavor.exists() | |
shall-med-activity | error | Section | If section/@nullFlavor is not present, SHALL contain at least one Medication Activity : nullFlavor.exists() or entry.where(substanceAdministration.hasTemplateIdOf('http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity')).exists() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
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) shall-med-activity: If section/@nullFlavor is not present, SHALL contain at least one Medication Activity |
![]() ![]() ![]() |
0..1 | cs | If a required section contains no information, the @nullFlavor MAY be set to NI Binding: CDANullFlavor (required) | |
![]() ![]() ![]() |
0..* | CS | ||
![]() ![]() ![]() |
C | 0..1 | II | II-1: An II instance must have either a root or an nullFlavor. |
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Fixed Value: 2.16.840.1.113883.1.3 | |
![]() ![]() ![]() ![]() |
1..1 | st | ||
![]() ![]() ![]() |
1..* | II | Slice: Unordered, Open by value:root, value:extension | |
![]() ![]() ![]() ![]() |
1..1 | II | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.2.1.1 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | st | Required Pattern: 2014-06-09 | |
![]() ![]() ![]() |
0..1 | xs:ID | ||
![]() ![]() ![]() |
0..1 | cs | Binding: ActClassRecordOrganizer (required) Fixed Value: DOCSECT | |
![]() ![]() ![]() |
0..1 | cs | Binding: CDAActMood (required) Fixed Value: EVN | |
![]() ![]() ![]() |
0..1 | II | ||
![]() ![]() ![]() |
1..1 | CE | History of Medication use Narrative | |
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() |
1..1 | cs | Required Pattern: 10160-0 | |
![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.6.1 | |
![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() |
0..1 | oid | XML Namespace: urn:hl7-org:sdtc XML: valueSet (urn:hl7-org:sdtc) | |
![]() ![]() ![]() ![]() |
0..1 | st | XML Namespace: urn:hl7-org:sdtc XML: valueSetVersion (urn:hl7-org:sdtc) | |
![]() ![]() ![]() ![]() |
0..1 | ED | ||
![]() ![]() ![]() ![]() |
0..* | CD | ||
![]() ![]() ![]() |
1..1 | ST | ||
![]() ![]() ![]() |
1..1 | xhtml | ||
![]() ![]() ![]() |
0..1 | CE | ||
![]() ![]() ![]() |
0..1 | CS | Binding: AllLanguages (required) | |
![]() ![]() ![]() |
0..1 | Subject | ||
![]() ![]() ![]() |
0..* | Author | ||
![]() ![]() ![]() |
0..* | Informant | ||
![]() ![]() ![]() |
0..* | Entry | If section/@nullFlavor is not present: Slice: Unordered, Open by profile:substanceAdministration | |
![]() ![]() ![]() ![]() |
0..* | Entry | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() ![]() |
0..* | CS | ||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | II | II-1: An II instance must have either a root or an nullFlavor. |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Fixed Value: 2.16.840.1.113883.1.3 | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | st | ||
![]() ![]() ![]() ![]() ![]() |
0..* | II | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: x_ActRelationshipEntry (required) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | bl | Fixed Value: true | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Act | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | Encounter | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | Observation | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | ObservationMedia | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | Organizer | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | Procedure | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | RegionOfInterest | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | MedicationActivity | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | Supply | ||
![]() ![]() ![]() |
0..* | InfrastructureRoot | ||
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() |
0..* | CS | ||
![]() ![]() ![]() ![]() |
C | 0..1 | II | II-1: An II instance must have either a root or an nullFlavor. |
![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Fixed Value: 2.16.840.1.113883.1.3 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | st | ||
![]() ![]() ![]() ![]() |
0..* | II | ||
![]() ![]() ![]() ![]() |
0..1 | cs | Fixed Value: COMP | |
![]() ![]() ![]() ![]() |
0..1 | bl | Fixed Value: true | |
![]() ![]() ![]() ![]() |
1..1 | Section | ||
![]() |
Path | Conformance | ValueSet / Code | URI |
Section.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.typeId.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.templateId:section.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.classCode | required | Fixed Value: DOCSECThttp://terminology.hl7.org/ValueSet/v3-ActClassRecordOrganizer | |
Section.moodCode | required | Fixed Value: EVNhttp://hl7.org/cda/stds/core/ValueSet/CDAActMood | |
Section.code.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.languageCode | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages from the FHIR Standard | |
Section.entry:medActivity.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.entry:medActivity.typeId.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.entry:medActivity.typeCode | required | XActRelationshipEntryhttp://terminology.hl7.org/ValueSet/v3-xActRelationshipEntry | |
Section.component.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.component.typeId.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor |
Id | Grade | Path(s) | Details | Requirements |
II-1 | error | Section.typeId, Section.entry:medActivity.typeId, Section.component.typeId | An II instance must have either a root or an nullFlavor. : root.exists() or nullFlavor.exists() | |
shall-med-activity | error | Section | If section/@nullFlavor is not present, SHALL contain at least one Medication Activity : nullFlavor.exists() or entry.where(substanceAdministration.hasTemplateIdOf('http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity')).exists() |
This structure is derived from Section
Summary
Mandatory: 9 elements(1 nested mandatory element)
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from Section
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
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) shall-med-activity: If section/@nullFlavor is not present, SHALL contain at least one Medication Activity |
![]() ![]() ![]() |
0..1 | cs | If a required section contains no information, the @nullFlavor MAY be set to NI | |
![]() ![]() ![]() |
1..* | II | Slice: Unordered, Open by value:root, value:extension | |
![]() ![]() ![]() ![]() |
1..1 | II | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.2.1.1 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | st | Required Pattern: 2014-06-09 | |
![]() ![]() ![]() |
1..1 | CE | History of Medication use Narrative | |
![]() ![]() ![]() ![]() |
1..1 | cs | Required Pattern: 10160-0 | |
![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.6.1 | |
![]() ![]() ![]() |
1..1 | ST | ||
![]() ![]() ![]() |
1..1 | xhtml | ||
![]() ![]() ![]() |
0..* | Entry | If section/@nullFlavor is not present: Slice: Unordered, Open by profile:substanceAdministration | |
![]() ![]() ![]() ![]() |
0..* | Entry | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | MedicationActivity | ||
![]() |
Id | Grade | Path(s) | Details | Requirements |
shall-med-activity | error | Section | If section/@nullFlavor is not present, SHALL contain at least one Medication Activity : nullFlavor.exists() or entry.where(substanceAdministration.hasTemplateIdOf('http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity')).exists() |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
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) shall-med-activity: If section/@nullFlavor is not present, SHALL contain at least one Medication Activity |
![]() ![]() ![]() |
0..1 | cs | If a required section contains no information, the @nullFlavor MAY be set to NI Binding: CDANullFlavor (required) | |
![]() ![]() ![]() |
0..* | CS | ||
![]() ![]() ![]() |
C | 0..1 | II | II-1: An II instance must have either a root or an nullFlavor. |
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Fixed Value: 2.16.840.1.113883.1.3 | |
![]() ![]() ![]() ![]() |
1..1 | st | ||
![]() ![]() ![]() |
1..* | II | Slice: Unordered, Open by value:root, value:extension | |
![]() ![]() ![]() ![]() |
1..1 | II | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.2.1.1 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | st | Required Pattern: 2014-06-09 | |
![]() ![]() ![]() |
0..1 | xs:ID | ||
![]() ![]() ![]() |
0..1 | cs | Binding: ActClassRecordOrganizer (required) Fixed Value: DOCSECT | |
![]() ![]() ![]() |
0..1 | cs | Binding: CDAActMood (required) Fixed Value: EVN | |
![]() ![]() ![]() |
0..1 | II | ||
![]() ![]() ![]() |
1..1 | CE | History of Medication use Narrative | |
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() |
1..1 | cs | Required Pattern: 10160-0 | |
![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.6.1 | |
![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() |
0..1 | oid | XML Namespace: urn:hl7-org:sdtc XML: valueSet (urn:hl7-org:sdtc) | |
![]() ![]() ![]() ![]() |
0..1 | st | XML Namespace: urn:hl7-org:sdtc XML: valueSetVersion (urn:hl7-org:sdtc) | |
![]() ![]() ![]() ![]() |
0..1 | ED | ||
![]() ![]() ![]() ![]() |
0..* | CD | ||
![]() ![]() ![]() |
1..1 | ST | ||
![]() ![]() ![]() |
1..1 | xhtml | ||
![]() ![]() ![]() |
0..1 | CE | ||
![]() ![]() ![]() |
0..1 | CS | Binding: AllLanguages (required) | |
![]() ![]() ![]() |
0..1 | Subject | ||
![]() ![]() ![]() |
0..* | Author | ||
![]() ![]() ![]() |
0..* | Informant | ||
![]() ![]() ![]() |
0..* | Entry | If section/@nullFlavor is not present: Slice: Unordered, Open by profile:substanceAdministration | |
![]() ![]() ![]() ![]() |
0..* | Entry | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() ![]() |
0..* | CS | ||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | II | II-1: An II instance must have either a root or an nullFlavor. |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Fixed Value: 2.16.840.1.113883.1.3 | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | st | ||
![]() ![]() ![]() ![]() ![]() |
0..* | II | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: x_ActRelationshipEntry (required) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | bl | Fixed Value: true | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Act | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | Encounter | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | Observation | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | ObservationMedia | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | Organizer | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | Procedure | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | RegionOfInterest | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | MedicationActivity | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | Supply | ||
![]() ![]() ![]() |
0..* | InfrastructureRoot | ||
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() |
0..* | CS | ||
![]() ![]() ![]() ![]() |
C | 0..1 | II | II-1: An II instance must have either a root or an nullFlavor. |
![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Fixed Value: 2.16.840.1.113883.1.3 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | st | ||
![]() ![]() ![]() ![]() |
0..* | II | ||
![]() ![]() ![]() ![]() |
0..1 | cs | Fixed Value: COMP | |
![]() ![]() ![]() ![]() |
0..1 | bl | Fixed Value: true | |
![]() ![]() ![]() ![]() |
1..1 | Section | ||
![]() |
Path | Conformance | ValueSet / Code | URI |
Section.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.typeId.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.templateId:section.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.classCode | required | Fixed Value: DOCSECThttp://terminology.hl7.org/ValueSet/v3-ActClassRecordOrganizer | |
Section.moodCode | required | Fixed Value: EVNhttp://hl7.org/cda/stds/core/ValueSet/CDAActMood | |
Section.code.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.languageCode | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages from the FHIR Standard | |
Section.entry:medActivity.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.entry:medActivity.typeId.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.entry:medActivity.typeCode | required | XActRelationshipEntryhttp://terminology.hl7.org/ValueSet/v3-xActRelationshipEntry | |
Section.component.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.component.typeId.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor |
Id | Grade | Path(s) | Details | Requirements |
II-1 | error | Section.typeId, Section.entry:medActivity.typeId, Section.component.typeId | An II instance must have either a root or an nullFlavor. : root.exists() or nullFlavor.exists() | |
shall-med-activity | error | Section | If section/@nullFlavor is not present, SHALL contain at least one Medication Activity : nullFlavor.exists() or entry.where(substanceAdministration.hasTemplateIdOf('http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity')).exists() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
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) shall-med-activity: If section/@nullFlavor is not present, SHALL contain at least one Medication Activity |
![]() ![]() ![]() |
0..1 | cs | If a required section contains no information, the @nullFlavor MAY be set to NI Binding: CDANullFlavor (required) | |
![]() ![]() ![]() |
0..* | CS | ||
![]() ![]() ![]() |
C | 0..1 | II | II-1: An II instance must have either a root or an nullFlavor. |
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Fixed Value: 2.16.840.1.113883.1.3 | |
![]() ![]() ![]() ![]() |
1..1 | st | ||
![]() ![]() ![]() |
1..* | II | Slice: Unordered, Open by value:root, value:extension | |
![]() ![]() ![]() ![]() |
1..1 | II | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.2.1.1 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | st | Required Pattern: 2014-06-09 | |
![]() ![]() ![]() |
0..1 | xs:ID | ||
![]() ![]() ![]() |
0..1 | cs | Binding: ActClassRecordOrganizer (required) Fixed Value: DOCSECT | |
![]() ![]() ![]() |
0..1 | cs | Binding: CDAActMood (required) Fixed Value: EVN | |
![]() ![]() ![]() |
0..1 | II | ||
![]() ![]() ![]() |
1..1 | CE | History of Medication use Narrative | |
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() |
1..1 | cs | Required Pattern: 10160-0 | |
![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.6.1 | |
![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() |
0..1 | oid | XML Namespace: urn:hl7-org:sdtc XML: valueSet (urn:hl7-org:sdtc) | |
![]() ![]() ![]() ![]() |
0..1 | st | XML Namespace: urn:hl7-org:sdtc XML: valueSetVersion (urn:hl7-org:sdtc) | |
![]() ![]() ![]() ![]() |
0..1 | ED | ||
![]() ![]() ![]() ![]() |
0..* | CD | ||
![]() ![]() ![]() |
1..1 | ST | ||
![]() ![]() ![]() |
1..1 | xhtml | ||
![]() ![]() ![]() |
0..1 | CE | ||
![]() ![]() ![]() |
0..1 | CS | Binding: AllLanguages (required) | |
![]() ![]() ![]() |
0..1 | Subject | ||
![]() ![]() ![]() |
0..* | Author | ||
![]() ![]() ![]() |
0..* | Informant | ||
![]() ![]() ![]() |
0..* | Entry | If section/@nullFlavor is not present: Slice: Unordered, Open by profile:substanceAdministration | |
![]() ![]() ![]() ![]() |
0..* | Entry | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() ![]() |
0..* | CS | ||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | II | II-1: An II instance must have either a root or an nullFlavor. |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Fixed Value: 2.16.840.1.113883.1.3 | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | st | ||
![]() ![]() ![]() ![]() ![]() |
0..* | II | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: x_ActRelationshipEntry (required) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | bl | Fixed Value: true | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Act | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | Encounter | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | Observation | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | ObservationMedia | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | Organizer | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | Procedure | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | RegionOfInterest | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | MedicationActivity | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | Supply | ||
![]() ![]() ![]() |
0..* | InfrastructureRoot | ||
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() |
0..* | CS | ||
![]() ![]() ![]() ![]() |
C | 0..1 | II | II-1: An II instance must have either a root or an nullFlavor. |
![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | st | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | oid, uuid, ruid | Fixed Value: 2.16.840.1.113883.1.3 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | st | ||
![]() ![]() ![]() ![]() |
0..* | II | ||
![]() ![]() ![]() ![]() |
0..1 | cs | Fixed Value: COMP | |
![]() ![]() ![]() ![]() |
0..1 | bl | Fixed Value: true | |
![]() ![]() ![]() ![]() |
1..1 | Section | ||
![]() |
Path | Conformance | ValueSet / Code | URI |
Section.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.typeId.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.templateId:section.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.classCode | required | Fixed Value: DOCSECThttp://terminology.hl7.org/ValueSet/v3-ActClassRecordOrganizer | |
Section.moodCode | required | Fixed Value: EVNhttp://hl7.org/cda/stds/core/ValueSet/CDAActMood | |
Section.code.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.languageCode | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages from the FHIR Standard | |
Section.entry:medActivity.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.entry:medActivity.typeId.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.entry:medActivity.typeCode | required | XActRelationshipEntryhttp://terminology.hl7.org/ValueSet/v3-xActRelationshipEntry | |
Section.component.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Section.component.typeId.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor |
Id | Grade | Path(s) | Details | Requirements |
II-1 | error | Section.typeId, Section.entry:medActivity.typeId, Section.component.typeId | An II instance must have either a root or an nullFlavor. : root.exists() or nullFlavor.exists() | |
shall-med-activity | error | Section | If section/@nullFlavor is not present, SHALL contain at least one Medication Activity : nullFlavor.exists() or entry.where(substanceAdministration.hasTemplateIdOf('http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity')).exists() |
This structure is derived from Section
Summary
Mandatory: 9 elements(1 nested mandatory element)
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices: