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/MedicationSupplyOrder | Version: 2.1 | |||
Draft as of 2023-09-29 | Computable Name: MedicationSupplyOrder | |||
Other Identifiers: id: urn:hl7ii:2.16.840.1.113883.10.20.22.4.17:2014-06-09 |
This template records the intent to supply a patient with medications.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from CDAR2Supply
Path | Conformance | ValueSet |
Supply.statusCode.code | required | ActStatus |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Supply | 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 | |
@classCode | 1..1 | cs | Binding: ActClassSupply (required) Fixed Value: SPLY | |
@moodCode | 1..1 | cs | Fixed Value: INT | |
Slices for templateId | 1..* | II | Slice: Unordered, Open by value:root, value:extension | |
templateId:primary | 1..1 | II | ||
@root | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.4.17 | |
@extension | 1..1 | st | Required Pattern: 2014-06-09 | |
id | 1..* | II | ||
statusCode | 1..1 | CS | Binding: ActStatus (required) | |
@code | 1..1 | cs | Binding: ActStatus (required) | |
Slices for effectiveTime | 0..* | Slice: Unordered, Open by value:high | ||
effectiveTime | SXCM_TS | |||
effectiveTime | IVL_TS | |||
effectiveTime | EIVL_TS | |||
effectiveTime | PIVL_TS | |||
effectiveTime | SXPR_TS | |||
effectiveTime:when | 0..1 | IVL_TS | ||
high | 1..1 | IVXB_TS | ||
repeatNumber | 0..1 | IVL_INT | In "INT" (intent) mood, the repeatNumber defines the number of allowed supplies. For example, a repeatNumber of "3" means that the substance can be supplied up to 3 times. | |
quantity | 0..1 | PQ | ||
product | 0..1 | InfrastructureRoot | ||
manufacturedProduct | 1..1 | MedicationInformation, ImmunizationMedicationInformation | Base for all types and resources | |
author | 0..1 | Author | ||
entryRelationship | 0..1 | EntryRelationship | ||
@typeCode | 1..1 | cs | Binding: x_ActRelationshipEntryRelationship (required) Fixed Value: SUBJ | |
@inversionInd | 1..1 | bl | Fixed Value: true | |
act | 1..1 | Instruction | Base for all types and resources | |
Documentation for this format |
Path | Conformance | ValueSet / Code |
Supply.classCode | required | Fixed Value: SPLY |
Supply.statusCode | required | ActStatus |
Supply.statusCode.code | required | ActStatus |
Supply.entryRelationship.typeCode | required | Fixed Value: SUBJ |
Id | Grade | Path(s) | Details | Requirements |
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:primary.nullFlavor | required | NullFlavor |
Supply.code | extensible | ActCode |
Supply.statusCode | required | ActStatus |
Supply.statusCode.nullFlavor | required | NullFlavor |
Supply.statusCode.code | required | ActStatus |
Supply.effectiveTime:when.nullFlavor | required | NullFlavor |
Supply.effectiveTime:when.operator | required | SetOperator |
Supply.priorityCode | extensible | ActPriority |
Supply.product.nullFlavor | required | NullFlavor |
Supply.product.typeCode | required | Fixed Value: PRD |
Supply.entryRelationship.nullFlavor | required | NullFlavor |
Supply.entryRelationship.typeCode | required | Fixed Value: SUBJ |
Id | Grade | Path(s) | Details | Requirements |
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: 7 elements (3 nested mandatory elements)
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
Path | Conformance | ValueSet |
Supply.statusCode.code | required | ActStatus |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Supply | 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 | |
@classCode | 1..1 | cs | Binding: ActClassSupply (required) Fixed Value: SPLY | |
@moodCode | 1..1 | cs | Fixed Value: INT | |
Slices for templateId | 1..* | II | Slice: Unordered, Open by value:root, value:extension | |
templateId:primary | 1..1 | II | ||
@root | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.4.17 | |
@extension | 1..1 | st | Required Pattern: 2014-06-09 | |
id | 1..* | II | ||
statusCode | 1..1 | CS | Binding: ActStatus (required) | |
@code | 1..1 | cs | Binding: ActStatus (required) | |
Slices for effectiveTime | 0..* | Slice: Unordered, Open by value:high | ||
effectiveTime | SXCM_TS | |||
effectiveTime | IVL_TS | |||
effectiveTime | EIVL_TS | |||
effectiveTime | PIVL_TS | |||
effectiveTime | SXPR_TS | |||
effectiveTime:when | 0..1 | IVL_TS | ||
high | 1..1 | IVXB_TS | ||
repeatNumber | 0..1 | IVL_INT | In "INT" (intent) mood, the repeatNumber defines the number of allowed supplies. For example, a repeatNumber of "3" means that the substance can be supplied up to 3 times. | |
quantity | 0..1 | PQ | ||
product | 0..1 | InfrastructureRoot | ||
manufacturedProduct | 1..1 | MedicationInformation, ImmunizationMedicationInformation | Base for all types and resources | |
author | 0..1 | Author | ||
entryRelationship | 0..1 | EntryRelationship | ||
@typeCode | 1..1 | cs | Binding: x_ActRelationshipEntryRelationship (required) Fixed Value: SUBJ | |
@inversionInd | 1..1 | bl | Fixed Value: true | |
act | 1..1 | Instruction | Base for all types and resources | |
Documentation for this format |
Path | Conformance | ValueSet / Code |
Supply.classCode | required | Fixed Value: SPLY |
Supply.statusCode | required | ActStatus |
Supply.statusCode.code | required | ActStatus |
Supply.entryRelationship.typeCode | required | Fixed Value: SUBJ |
Id | Grade | Path(s) | Details | Requirements |
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:primary.nullFlavor | required | NullFlavor |
Supply.code | extensible | ActCode |
Supply.statusCode | required | ActStatus |
Supply.statusCode.nullFlavor | required | NullFlavor |
Supply.statusCode.code | required | ActStatus |
Supply.effectiveTime:when.nullFlavor | required | NullFlavor |
Supply.effectiveTime:when.operator | required | SetOperator |
Supply.priorityCode | extensible | ActPriority |
Supply.product.nullFlavor | required | NullFlavor |
Supply.product.typeCode | required | Fixed Value: PRD |
Supply.entryRelationship.nullFlavor | required | NullFlavor |
Supply.entryRelationship.typeCode | required | Fixed Value: SUBJ |
Id | Grade | Path(s) | Details | Requirements |
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: 7 elements (3 nested mandatory elements)
Fixed Value: 3 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices: