This page is part of the CCDA: Consolidated CDA Release (v3.0.0-ballot: CCDA 3.0 Ballot 1) based on FHIR (HL7® FHIR® Standard) v5.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: 3.0.0-ballot | |||
Draft as of 2023-12-21 | Computable Name: MedicationsSection | |||
Other Identifiers: id: 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 Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Section
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 Instances of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) shall-med-activity: SHALL contain at least one Medication Activity |
@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.1.1 | |
@extension | 1..1 | st | Required Pattern: 2014-06-09 | |
code | 1..1 | CE | History of medication use | |
@code | 1..1 | cs | Required Pattern: 10160-0 | |
@codeSystem | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.6.1 | |
title | 1..1 | ST | ||
text | 1..1 | xhtml | ||
Slices for entry | 0..* | Entry | If section/@nullFlavor is not present: Slice: Unordered, Open by profile:substanceAdministration | |
entry:medActivity | 0..* | Entry | ||
substanceAdministration | 1..1 | MedicationActivity | Base for all types and resources | |
Documentation for this format |
Id | Grade | Path(s) | Details | Requirements |
shall-med-activity | error | Section | SHALL contain at least one Medication Activity : nullFlavor.exists() or entry.where(substanceAdministration.hasTemplateIdOf('http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity')) |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 Instances of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) shall-med-activity: SHALL contain at least one Medication Activity |
@nullFlavor | 0..1 | cs | If a required section contains no information, the @nullFlavor MAY be set to NI Binding: CDANullFlavor (required) | |
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.1.1 | |
@extension | 1..1 | st | Required Pattern: 2014-06-09 | |
code | 1..1 | CE | History of medication use Binding: DocumentSectionType (example) | |
@code | 1..1 | cs | Required Pattern: 10160-0 | |
@codeSystem | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.6.1 | |
title | 1..1 | ST | ||
text | 1..1 | xhtml | ||
Slices for entry | 0..* | Entry | If section/@nullFlavor is not present: Slice: Unordered, Open by profile:substanceAdministration | |
entry:medActivity | 0..* | Entry | ||
substanceAdministration | C | 1..1 | MedicationActivity | Base for all types and resources |
Documentation for this format |
Path | Conformance | ValueSet |
Section.nullFlavor | required | CDANullFlavor |
Section.code | example | DocumentSectionType |
Id | Grade | Path(s) | Details | Requirements |
1098-7513 | warning | Section.entry:medActivity.substanceAdministration | SHOULD contain zero or one [0..1] effectiveTime (CONF:1098-7513) such that it **SHALL** contain exactly one [1..1] @xsi:type="PIVL_TS" or "EIVL_TS" (CONF:1098-28499). : effectiveTime.ofType(CDA.PIVL_TS).exists() or effectiveTime.ofType(CDA.EIVL_TS).exists() | |
dose-unit-or-admin-unit | error | Section.entry:medActivity.substanceAdministration | If doseQuantity/@unit is present, then administrationUnitCode SHALL NOT be present. : doseQuantity.unit.exists() implies administrationUnitCode.empty() | |
shall-med-activity | error | Section | SHALL contain at least one Medication Activity : nullFlavor.exists() or entry.where(substanceAdministration.hasTemplateIdOf('http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity')) | |
should-author | warning | Section.entry:medActivity.substanceAdministration | SHOULD contain author : author.exists() | |
should-routeCode | warning | Section.entry:medActivity.substanceAdministration | SHOULD contain routeCode : routeCode.exists() | |
should-text-ref-value | warning | Section.entry:medActivity.substanceAdministration | SHOULD contain text/reference/@value : text.reference.value.exists() |
Path | Conformance | ValueSet / Code |
Section.nullFlavor | required | CDANullFlavor |
Section.typeId.nullFlavor | required | CDANullFlavor |
Section.templateId:section.nullFlavor | required | CDANullFlavor |
Section.classCode | required | Fixed Value: DOCSECT |
Section.moodCode | required | Fixed Value: EVN |
Section.code | example | DocumentSectionType |
Section.code.nullFlavor | required | CDANullFlavor |
Section.languageCode | required | AllLanguages |
Section.entry:medActivity.nullFlavor | required | CDANullFlavor |
Section.entry:medActivity.typeId.nullFlavor | required | CDANullFlavor |
Section.entry:medActivity.typeCode | required | XActRelationshipEntry |
Section.component.nullFlavor | required | CDANullFlavor |
Section.component.typeId.nullFlavor | required | CDANullFlavor |
Id | Grade | Path(s) | Details | Requirements |
1098-7513 | warning | Section.entry:medActivity.substanceAdministration | SHOULD contain zero or one [0..1] effectiveTime (CONF:1098-7513) such that it **SHALL** contain exactly one [1..1] @xsi:type="PIVL_TS" or "EIVL_TS" (CONF:1098-28499). : effectiveTime.ofType(CDA.PIVL_TS).exists() or effectiveTime.ofType(CDA.EIVL_TS).exists() | |
dose-unit-or-admin-unit | error | Section.entry:medActivity.substanceAdministration | If doseQuantity/@unit is present, then administrationUnitCode SHALL NOT be present. : doseQuantity.unit.exists() implies administrationUnitCode.empty() | |
shall-med-activity | error | Section | SHALL contain at least one Medication Activity : nullFlavor.exists() or entry.where(substanceAdministration.hasTemplateIdOf('http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity')) | |
should-author | warning | Section.entry:medActivity.substanceAdministration | SHOULD contain author : author.exists() | |
should-routeCode | warning | Section.entry:medActivity.substanceAdministration | SHOULD contain routeCode : routeCode.exists() | |
should-text-ref-value | warning | Section.entry:medActivity.substanceAdministration | SHOULD contain text/reference/@value : text.reference.value.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 |
---|---|---|---|---|
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 Instances of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) shall-med-activity: SHALL contain at least one Medication Activity |
@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.1.1 | |
@extension | 1..1 | st | Required Pattern: 2014-06-09 | |
code | 1..1 | CE | History of medication use | |
@code | 1..1 | cs | Required Pattern: 10160-0 | |
@codeSystem | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.6.1 | |
title | 1..1 | ST | ||
text | 1..1 | xhtml | ||
Slices for entry | 0..* | Entry | If section/@nullFlavor is not present: Slice: Unordered, Open by profile:substanceAdministration | |
entry:medActivity | 0..* | Entry | ||
substanceAdministration | 1..1 | MedicationActivity | Base for all types and resources | |
Documentation for this format |
Id | Grade | Path(s) | Details | Requirements |
shall-med-activity | error | Section | SHALL contain at least one Medication Activity : nullFlavor.exists() or entry.where(substanceAdministration.hasTemplateIdOf('http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity')) |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 Instances of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) shall-med-activity: SHALL contain at least one Medication Activity |
@nullFlavor | 0..1 | cs | If a required section contains no information, the @nullFlavor MAY be set to NI Binding: CDANullFlavor (required) | |
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.1.1 | |
@extension | 1..1 | st | Required Pattern: 2014-06-09 | |
code | 1..1 | CE | History of medication use Binding: DocumentSectionType (example) | |
@code | 1..1 | cs | Required Pattern: 10160-0 | |
@codeSystem | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.6.1 | |
title | 1..1 | ST | ||
text | 1..1 | xhtml | ||
Slices for entry | 0..* | Entry | If section/@nullFlavor is not present: Slice: Unordered, Open by profile:substanceAdministration | |
entry:medActivity | 0..* | Entry | ||
substanceAdministration | C | 1..1 | MedicationActivity | Base for all types and resources |
Documentation for this format |
Path | Conformance | ValueSet |
Section.nullFlavor | required | CDANullFlavor |
Section.code | example | DocumentSectionType |
Id | Grade | Path(s) | Details | Requirements |
1098-7513 | warning | Section.entry:medActivity.substanceAdministration | SHOULD contain zero or one [0..1] effectiveTime (CONF:1098-7513) such that it **SHALL** contain exactly one [1..1] @xsi:type="PIVL_TS" or "EIVL_TS" (CONF:1098-28499). : effectiveTime.ofType(CDA.PIVL_TS).exists() or effectiveTime.ofType(CDA.EIVL_TS).exists() | |
dose-unit-or-admin-unit | error | Section.entry:medActivity.substanceAdministration | If doseQuantity/@unit is present, then administrationUnitCode SHALL NOT be present. : doseQuantity.unit.exists() implies administrationUnitCode.empty() | |
shall-med-activity | error | Section | SHALL contain at least one Medication Activity : nullFlavor.exists() or entry.where(substanceAdministration.hasTemplateIdOf('http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity')) | |
should-author | warning | Section.entry:medActivity.substanceAdministration | SHOULD contain author : author.exists() | |
should-routeCode | warning | Section.entry:medActivity.substanceAdministration | SHOULD contain routeCode : routeCode.exists() | |
should-text-ref-value | warning | Section.entry:medActivity.substanceAdministration | SHOULD contain text/reference/@value : text.reference.value.exists() |
Snapshot View
Path | Conformance | ValueSet / Code |
Section.nullFlavor | required | CDANullFlavor |
Section.typeId.nullFlavor | required | CDANullFlavor |
Section.templateId:section.nullFlavor | required | CDANullFlavor |
Section.classCode | required | Fixed Value: DOCSECT |
Section.moodCode | required | Fixed Value: EVN |
Section.code | example | DocumentSectionType |
Section.code.nullFlavor | required | CDANullFlavor |
Section.languageCode | required | AllLanguages |
Section.entry:medActivity.nullFlavor | required | CDANullFlavor |
Section.entry:medActivity.typeId.nullFlavor | required | CDANullFlavor |
Section.entry:medActivity.typeCode | required | XActRelationshipEntry |
Section.component.nullFlavor | required | CDANullFlavor |
Section.component.typeId.nullFlavor | required | CDANullFlavor |
Id | Grade | Path(s) | Details | Requirements |
1098-7513 | warning | Section.entry:medActivity.substanceAdministration | SHOULD contain zero or one [0..1] effectiveTime (CONF:1098-7513) such that it **SHALL** contain exactly one [1..1] @xsi:type="PIVL_TS" or "EIVL_TS" (CONF:1098-28499). : effectiveTime.ofType(CDA.PIVL_TS).exists() or effectiveTime.ofType(CDA.EIVL_TS).exists() | |
dose-unit-or-admin-unit | error | Section.entry:medActivity.substanceAdministration | If doseQuantity/@unit is present, then administrationUnitCode SHALL NOT be present. : doseQuantity.unit.exists() implies administrationUnitCode.empty() | |
shall-med-activity | error | Section | SHALL contain at least one Medication Activity : nullFlavor.exists() or entry.where(substanceAdministration.hasTemplateIdOf('http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity')) | |
should-author | warning | Section.entry:medActivity.substanceAdministration | SHOULD contain author : author.exists() | |
should-routeCode | warning | Section.entry:medActivity.substanceAdministration | SHOULD contain routeCode : routeCode.exists() | |
should-text-ref-value | warning | Section.entry:medActivity.substanceAdministration | SHOULD contain text/reference/@value : text.reference.value.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: