Consolidated CDA Release 2.1 StructureDefinition Publication, published by Health Level Seven. This is not an authorized publication; it is the continuous build for version 2.1). This version is based on the current content of https://github.com/HL7/CDA-ccda-2.1-sd/ and changes regularly. See the Directory of published versions
| Official URL: http://hl7.org/cda/us/ccda/StructureDefinition/MedicationDispense | Version: 2.1 | |||
| Draft as of 2023-09-29 | Computable Name: MedicationDispense | |||
| Other Identifiers: id: urn:hl7ii:2.16.840.1.113883.10.20.22.4.18:2023-05-01 | ||||
This template records the act of supplying medications (i.e., dispensing). The moodCode equaling “EVN” (Event), signals that the “supply” has occurred and thus has been dispensed.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from CDAR2Supply
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | C | 1..1 | CDAR2Supply | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors: @classCode, @moodCode, realmCode, typeId, templateId, id, code, text, statusCode, effectiveTime, priorityCode, repeatNumber, independentInd, quantity, expectedUseTime, product, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition Base for all types and resources 4537-9333: A supply act **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:4537-9333). |
![]() ![]() | 1..1 | cs | ||
![]() ![]() | 1..1 | cs | Fixed Value: EVN | |
![]() ![]() | 1..* | II | Slice: Unordered, Open by value:root, value:extension | |
![]() ![]() ![]() | 1..1 | II | templateId | |
![]() ![]() ![]() ![]() | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.4.18 | |
![]() ![]() ![]() ![]() | 1..1 | st | Required Pattern: 2023-05-01 | |
![]() ![]() | 1..* | II | ||
![]() ![]() | 1..1 | CD | Binding: VSAC 2.16.840.1.113883.4.642.3.1312 (required) | |
![]() ![]() | 1..1 | CS | ||
![]() ![]() ![]() | 1..1 | cs | Fixed Value: completed | |
![]() ![]() | 0..1 | SXCM_TS, IVL_TS, EIVL_TS, PIVL_TS, SXPR_TS | ||
![]() ![]() | 0..1 | IVL_INT | ||
![]() ![]() | 0..1 | PQ | ||
![]() ![]() | 0..1 | InfrastructureRoot | ||
![]() ![]() ![]() | 1..1 | MedicationInformation | Base for all types and resources | |
![]() ![]() | 0..1 | Performer2 | ||
![]() ![]() ![]() | 1..1 | AssignedEntity | ||
![]() ![]() ![]() ![]() | C | 0..1 | USRealmAddressADUSFIELDED | Base for all types and resources 4537-10565: The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:4537-10565). |
![]() ![]() | 0..* | EntryRelationship | Slice: Unordered, Open by value:supply, value:typeCode | |
![]() ![]() ![]() | 0..1 | EntryRelationship | entryRelationship | |
![]() ![]() ![]() ![]() | 1..1 | cs | Fixed Value: REFR | |
![]() ![]() ![]() ![]() | 1..1 | MedicationSupplyOrder | Base for all types and resources | |
Documentation for this format | ||||
| Path | Conformance | ValueSet |
| Supply.code | required | http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.4.642.3.1312 |
| Id | Grade | Path(s) | Details | Requirements |
| 4537-9333 | error | Supply | A supply act **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:4537-9333). : | |
| 4537-10565 | error | Supply.performer.assignedEntity.addr | The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:4537-10565). : |
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | C | 1..1 | CDAR2Supply | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors: @classCode, @moodCode, realmCode, typeId, templateId, id, code, text, statusCode, effectiveTime, priorityCode, repeatNumber, independentInd, quantity, expectedUseTime, product, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition Base for all types and resources 4537-9333: A supply act **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:4537-9333). |
![]() ![]() | 1..1 | cs | Binding: ActClassSupply (required) Fixed Value: SPLY | |
![]() ![]() | 1..1 | cs | Fixed Value: EVN | |
![]() ![]() | 1..* | II | Slice: Unordered, Open by value:root, value:extension | |
![]() ![]() ![]() | 1..1 | II | templateId | |
![]() ![]() ![]() ![]() | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.4.18 | |
![]() ![]() ![]() ![]() | 1..1 | st | Required Pattern: 2023-05-01 | |
![]() ![]() | 1..* | II | ||
![]() ![]() | 1..1 | CD | Binding: VSAC 2.16.840.1.113883.4.642.3.1312 (required) | |
![]() ![]() | 1..1 | CS | Binding: ActStatus (required) | |
![]() ![]() ![]() | 1..1 | cs | Fixed Value: completed | |
![]() ![]() | 0..1 | |||
![]() ![]() ![]() | SXCM_TS | |||
![]() ![]() ![]() | IVL_TS | |||
![]() ![]() ![]() | EIVL_TS | |||
![]() ![]() ![]() | PIVL_TS | |||
![]() ![]() ![]() | SXPR_TS | |||
![]() ![]() | 0..1 | IVL_INT | ||
![]() ![]() | 0..1 | PQ | ||
![]() ![]() | 0..1 | InfrastructureRoot | ||
![]() ![]() ![]() | 1..1 | MedicationInformation | Base for all types and resources | |
![]() ![]() | 0..1 | Performer2 | ||
![]() ![]() ![]() | 1..1 | AssignedEntity | ||
![]() ![]() ![]() ![]() | 1..* | II | ||
![]() ![]() ![]() ![]() | C | 0..1 | USRealmAddressADUSFIELDED | Base for all types and resources 4537-10565: The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:4537-10565). |
![]() ![]() | 0..* | EntryRelationship | Slice: Unordered, Open by value:supply, value:typeCode | |
![]() ![]() ![]() | 0..1 | EntryRelationship | entryRelationship | |
![]() ![]() ![]() ![]() | 1..1 | cs | Binding: x_ActRelationshipEntryRelationship (required) Fixed Value: REFR | |
![]() ![]() ![]() ![]() | 1..1 | MedicationSupplyOrder | Base for all types and resources | |
Documentation for this format | ||||
| Path | Conformance | ValueSet / Code |
| Supply.classCode | required | Fixed Value: SPLY |
| Supply.code | required | http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.4.642.3.1312 |
| Supply.statusCode | required | ActStatus |
| Supply.entryRelationship:entryRelationship1.typeCode | required | Fixed Value: REFR |
| Id | Grade | Path(s) | Details | Requirements |
| 4537-9333 | error | Supply | A supply act **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:4537-9333). : | |
| 4537-10565 | error | Supply.performer.assignedEntity.addr | The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:4537-10565). : | |
| 81-7296 | error | Supply.performer.assignedEntity.addr | **SHALL NOT** have mixed content except for white space (CONF:81-7296). : | |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
| Path | Conformance | ValueSet / Code |
| Supply.classCode | required | Fixed Value: SPLY |
| Supply.templateId:templateId1.nullFlavor | required | NullFlavor |
| Supply.code | required | http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.4.642.3.1312 |
| Supply.statusCode | required | ActStatus |
| Supply.statusCode.nullFlavor | required | NullFlavor |
| Supply.priorityCode | extensible | ActPriority |
| Supply.product.nullFlavor | required | NullFlavor |
| Supply.product.typeCode | required | Fixed Value: PRD |
| Supply.performer.nullFlavor | required | NullFlavor |
| Supply.performer.typeCode | required | Fixed Value: PRF |
| Supply.performer.assignedEntity.classCode | required | Fixed Value: ASSIGNED |
| Supply.performer.assignedEntity.code | extensible | RoleCode |
| Supply.entryRelationship:entryRelationship1.nullFlavor | required | NullFlavor |
| Supply.entryRelationship:entryRelationship1.typeCode | required | Fixed Value: REFR |
| Id | Grade | Path(s) | Details | Requirements |
| 4537-9333 | error | Supply | A supply act **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:4537-9333). : | |
| 4537-10565 | error | Supply.performer.assignedEntity.addr | The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:4537-10565). : | |
| 81-7296 | error | Supply.performer.assignedEntity.addr | **SHALL NOT** have mixed content except for white space (CONF:81-7296). : | |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
This structure is derived from CDAR2Supply
Summary
Mandatory: 8 elements (1 nested mandatory element)
Fixed Value: 3 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from CDAR2Supply
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | C | 1..1 | CDAR2Supply | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors: @classCode, @moodCode, realmCode, typeId, templateId, id, code, text, statusCode, effectiveTime, priorityCode, repeatNumber, independentInd, quantity, expectedUseTime, product, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition Base for all types and resources 4537-9333: A supply act **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:4537-9333). |
![]() ![]() | 1..1 | cs | ||
![]() ![]() | 1..1 | cs | Fixed Value: EVN | |
![]() ![]() | 1..* | II | Slice: Unordered, Open by value:root, value:extension | |
![]() ![]() ![]() | 1..1 | II | templateId | |
![]() ![]() ![]() ![]() | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.4.18 | |
![]() ![]() ![]() ![]() | 1..1 | st | Required Pattern: 2023-05-01 | |
![]() ![]() | 1..* | II | ||
![]() ![]() | 1..1 | CD | Binding: VSAC 2.16.840.1.113883.4.642.3.1312 (required) | |
![]() ![]() | 1..1 | CS | ||
![]() ![]() ![]() | 1..1 | cs | Fixed Value: completed | |
![]() ![]() | 0..1 | SXCM_TS, IVL_TS, EIVL_TS, PIVL_TS, SXPR_TS | ||
![]() ![]() | 0..1 | IVL_INT | ||
![]() ![]() | 0..1 | PQ | ||
![]() ![]() | 0..1 | InfrastructureRoot | ||
![]() ![]() ![]() | 1..1 | MedicationInformation | Base for all types and resources | |
![]() ![]() | 0..1 | Performer2 | ||
![]() ![]() ![]() | 1..1 | AssignedEntity | ||
![]() ![]() ![]() ![]() | C | 0..1 | USRealmAddressADUSFIELDED | Base for all types and resources 4537-10565: The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:4537-10565). |
![]() ![]() | 0..* | EntryRelationship | Slice: Unordered, Open by value:supply, value:typeCode | |
![]() ![]() ![]() | 0..1 | EntryRelationship | entryRelationship | |
![]() ![]() ![]() ![]() | 1..1 | cs | Fixed Value: REFR | |
![]() ![]() ![]() ![]() | 1..1 | MedicationSupplyOrder | Base for all types and resources | |
Documentation for this format | ||||
| Path | Conformance | ValueSet |
| Supply.code | required | http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.4.642.3.1312 |
| Id | Grade | Path(s) | Details | Requirements |
| 4537-9333 | error | Supply | A supply act **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:4537-9333). : | |
| 4537-10565 | error | Supply.performer.assignedEntity.addr | The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:4537-10565). : |
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | C | 1..1 | CDAR2Supply | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors: @classCode, @moodCode, realmCode, typeId, templateId, id, code, text, statusCode, effectiveTime, priorityCode, repeatNumber, independentInd, quantity, expectedUseTime, product, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition Base for all types and resources 4537-9333: A supply act **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:4537-9333). |
![]() ![]() | 1..1 | cs | Binding: ActClassSupply (required) Fixed Value: SPLY | |
![]() ![]() | 1..1 | cs | Fixed Value: EVN | |
![]() ![]() | 1..* | II | Slice: Unordered, Open by value:root, value:extension | |
![]() ![]() ![]() | 1..1 | II | templateId | |
![]() ![]() ![]() ![]() | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.4.18 | |
![]() ![]() ![]() ![]() | 1..1 | st | Required Pattern: 2023-05-01 | |
![]() ![]() | 1..* | II | ||
![]() ![]() | 1..1 | CD | Binding: VSAC 2.16.840.1.113883.4.642.3.1312 (required) | |
![]() ![]() | 1..1 | CS | Binding: ActStatus (required) | |
![]() ![]() ![]() | 1..1 | cs | Fixed Value: completed | |
![]() ![]() | 0..1 | |||
![]() ![]() ![]() | SXCM_TS | |||
![]() ![]() ![]() | IVL_TS | |||
![]() ![]() ![]() | EIVL_TS | |||
![]() ![]() ![]() | PIVL_TS | |||
![]() ![]() ![]() | SXPR_TS | |||
![]() ![]() | 0..1 | IVL_INT | ||
![]() ![]() | 0..1 | PQ | ||
![]() ![]() | 0..1 | InfrastructureRoot | ||
![]() ![]() ![]() | 1..1 | MedicationInformation | Base for all types and resources | |
![]() ![]() | 0..1 | Performer2 | ||
![]() ![]() ![]() | 1..1 | AssignedEntity | ||
![]() ![]() ![]() ![]() | 1..* | II | ||
![]() ![]() ![]() ![]() | C | 0..1 | USRealmAddressADUSFIELDED | Base for all types and resources 4537-10565: The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:4537-10565). |
![]() ![]() | 0..* | EntryRelationship | Slice: Unordered, Open by value:supply, value:typeCode | |
![]() ![]() ![]() | 0..1 | EntryRelationship | entryRelationship | |
![]() ![]() ![]() ![]() | 1..1 | cs | Binding: x_ActRelationshipEntryRelationship (required) Fixed Value: REFR | |
![]() ![]() ![]() ![]() | 1..1 | MedicationSupplyOrder | Base for all types and resources | |
Documentation for this format | ||||
| Path | Conformance | ValueSet / Code |
| Supply.classCode | required | Fixed Value: SPLY |
| Supply.code | required | http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.4.642.3.1312 |
| Supply.statusCode | required | ActStatus |
| Supply.entryRelationship:entryRelationship1.typeCode | required | Fixed Value: REFR |
| Id | Grade | Path(s) | Details | Requirements |
| 4537-9333 | error | Supply | A supply act **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:4537-9333). : | |
| 4537-10565 | error | Supply.performer.assignedEntity.addr | The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:4537-10565). : | |
| 81-7296 | error | Supply.performer.assignedEntity.addr | **SHALL NOT** have mixed content except for white space (CONF:81-7296). : | |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
Snapshot View
| Path | Conformance | ValueSet / Code |
| Supply.classCode | required | Fixed Value: SPLY |
| Supply.templateId:templateId1.nullFlavor | required | NullFlavor |
| Supply.code | required | http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.4.642.3.1312 |
| Supply.statusCode | required | ActStatus |
| Supply.statusCode.nullFlavor | required | NullFlavor |
| Supply.priorityCode | extensible | ActPriority |
| Supply.product.nullFlavor | required | NullFlavor |
| Supply.product.typeCode | required | Fixed Value: PRD |
| Supply.performer.nullFlavor | required | NullFlavor |
| Supply.performer.typeCode | required | Fixed Value: PRF |
| Supply.performer.assignedEntity.classCode | required | Fixed Value: ASSIGNED |
| Supply.performer.assignedEntity.code | extensible | RoleCode |
| Supply.entryRelationship:entryRelationship1.nullFlavor | required | NullFlavor |
| Supply.entryRelationship:entryRelationship1.typeCode | required | Fixed Value: REFR |
| Id | Grade | Path(s) | Details | Requirements |
| 4537-9333 | error | Supply | A supply act **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:4537-9333). : | |
| 4537-10565 | error | Supply.performer.assignedEntity.addr | The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:4537-10565). : | |
| 81-7296 | error | Supply.performer.assignedEntity.addr | **SHALL NOT** have mixed content except for white space (CONF:81-7296). : | |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
This structure is derived from CDAR2Supply
Summary
Mandatory: 8 elements (1 nested mandatory element)
Fixed Value: 3 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices: