This page is part of the CCDA: Consolidated CDA Release (v2.1.0-draft1: CCDA 2.1 Draft) based on FHIR 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/2.16.840.1.113883.10.20.22.4.17 | Version: 2.1.0-draft1 | |||
Active as of 2023-01-16 | 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
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Supply | 1..1 | CDAR2Supply | Base for all types and resources | |
classCode | 1..1 | code | ||
moodCode | 1..1 | code | Required Pattern: INT | |
Slices for templateId | 0..* | II | Slice: Unordered, Open by value:root, value:extension | |
templateId:primary | 1..1 | II | ||
root | 1..1 | string | Required Pattern: 2.16.840.1.113883.10.20.22.4.17 | |
extension | 1..1 | string | Required Pattern: 2014-06-09 | |
id | 1..* | II | ||
statusCode | 1..1 | CS | ||
code | 1..1 | string | Binding: ActStatus (required) | |
Slices for effectiveTime | 0..* | SXCM_TS, IVL_TS, EIVL_TS, PIVL_TS, SXPR_TS | Slice: Unordered, Open by value:high | |
effectiveTime:when | 0..1 | IVL_TS | ||
high | 1..1 | TS | ||
repeatNumber | 0..1 | IVL_INT | In "INT" (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of "3" means that the substance can be administered up to 3 times. In "EVN" (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of "3" in a substance administration event means that the current administration is the 3rd in a series. | |
quantity | 0..1 | PQ | ||
product | 0..1 | Element | ||
manufacturedProduct | 1..1 | MedicationInformation, ImmunizationMedicationInformation | Base for all types and resources | |
author | 0..1 | Author | ||
entryRelationship | 0..1 | Element | ||
typeCode | 1..1 | code | Required Pattern: SUBJ | |
inversionInd | 1..1 | boolean | Required Pattern: true | |
act | 1..1 | Instruction | Base for all types and resources | |
Documentation for this format |
Path | Conformance | ValueSet |
Supply.statusCode.code | required | ActStatus |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Supply | 1..1 | CDAR2Supply | Base for all types and resources | |
classCode | 1..1 | code | Binding: ActClassSupply (required) Fixed Value: SPLY | |
moodCode | 1..1 | code | Required Pattern: INT | |
Slices for templateId | 0..* | II | Slice: Unordered, Open by value:root, value:extension | |
templateId:primary | 1..1 | II | ||
root | 1..1 | string | Required Pattern: 2.16.840.1.113883.10.20.22.4.17 | |
extension | 1..1 | string | Required Pattern: 2014-06-09 | |
id | 1..* | II | ||
statusCode | 1..1 | CS | Binding: ActStatus (required) | |
code | 1..1 | string | 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 | TS | ||
repeatNumber | 0..1 | IVL_INT | In "INT" (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of "3" means that the substance can be administered up to 3 times. In "EVN" (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of "3" in a substance administration event means that the current administration is the 3rd in a series. | |
quantity | 0..1 | PQ | ||
product | 0..1 | Element | ||
typeCode | 1..1 | code | Binding: ParticipationTargetDirect (required) Fixed Value: PRD | |
manufacturedProduct | 1..1 | MedicationInformation, ImmunizationMedicationInformation | Base for all types and resources | |
author | 0..1 | Author | ||
entryRelationship | C | 0..1 | Element | |
typeCode | 1..1 | code | Required Pattern: SUBJ | |
inversionInd | 1..1 | boolean | Required Pattern: true | |
contextConductionInd | 1..1 | boolean | ||
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.product.typeCode | required | Fixed Value: PRD |
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()) | |
sup-er-1 | error | Supply.entryRelationship | Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act : (observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1 |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Supply | 1..1 | CDAR2Supply | Base for all types and resources | |
classCode | 1..1 | code | Binding: ActClassSupply (required) Fixed Value: SPLY | |
moodCode | 1..1 | code | Required Pattern: INT | |
realmCode | 0..* | CS | ||
typeId | 0..1 | II | ||
Slices for templateId | 0..* | II | Slice: Unordered, Open by value:root, value:extension | |
templateId:primary | 1..1 | II | ||
nullFlavor | 0..1 | code | Binding: NullFlavor (required) | |
assigningAuthorityName | 0..1 | string | ||
displayable | 0..1 | boolean | ||
root | 1..1 | string | Required Pattern: 2.16.840.1.113883.10.20.22.4.17 | |
extension | 1..1 | string | Required Pattern: 2014-06-09 | |
id | 1..* | II | ||
code | 0..1 | CD | Binding: v3 Code System ActCode (extensible) | |
text | 0..1 | ED | ||
statusCode | 1..1 | CS | Binding: ActStatus (required) | |
nullFlavor | 0..1 | code | Binding: NullFlavor (required) | |
code | 1..1 | string | Binding: ActStatus (required) | |
sdtcValueSet | 0..1 | string | XML: valueSet (urn:hl7-org:sdtc) | |
sdtcValueSetVersion | 0..1 | string | XML: valueSetVersion (urn:hl7-org:sdtc) | |
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 | ||
nullFlavor | 0..1 | code | Binding: NullFlavor (required) | |
value | 0..1 | dateTime | ||
inclusive | 0..1 | boolean | ||
operator | 0..1 | code | ||
low | 0..1 | TS | ||
high | 1..1 | TS | ||
width | 0..1 | PQ | ||
center | 0..1 | TS | ||
priorityCode | 0..* | CE | Binding: ActPriority (extensible) | |
repeatNumber | 0..1 | IVL_INT | In "INT" (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of "3" means that the substance can be administered up to 3 times. In "EVN" (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of "3" in a substance administration event means that the current administration is the 3rd in a series. | |
independentInd | 0..1 | BL | ||
quantity | 0..1 | PQ | ||
expectedUseTime | 0..1 | IVL_TS | ||
product | 0..1 | Element | ||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | Binding: ParticipationTargetDirect (required) Fixed Value: PRD | |
manufacturedProduct | 1..1 | MedicationInformation, ImmunizationMedicationInformation | Base for all types and resources | |
subject | 0..1 | Element | ||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | Binding: ParticipationTargetSubject (required) Fixed Value: SBJ | |
contextControlCode | 1..1 | code | Binding: ContextControl (required) Fixed Value: OP | |
awarenessCode | 0..1 | CE | Binding: TargetAwareness (extensible) | |
relatedSubject | 1..1 | RelatedSubject | ||
specimen | 0..* | Specimen | ||
performer | 0..* | Performer2 | ||
author | 0..1 | Author | ||
informant | 0..* | Element | ||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | Binding: ParticipationInformationGenerator (required) Fixed Value: INF | |
contextControlCode | 1..1 | code | Binding: ContextControl (required) Fixed Value: OP | |
assignedEntity | 0..1 | AssignedEntity | ||
relatedEntity | 0..1 | RelatedEntity | ||
participant | 0..* | Participant2 | ||
entryRelationship | C | 0..1 | Element | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | Required Pattern: SUBJ | |
inversionInd | 1..1 | boolean | Required Pattern: true | |
contextConductionInd | 1..1 | boolean | ||
sequenceNumber | 0..1 | INT | ||
negationInd | 0..1 | boolean | ||
seperatableInd | 0..1 | BL | ||
act | 1..1 | Instruction | Base for all types and resources | |
reference | 0..* | Element | ||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | ||
seperatableInd | 0..1 | BL | ||
externalAct | 0..1 | ExternalAct | ||
externalObservation | 0..1 | ExternalObservation | ||
externalProcedure | 0..1 | ExternalProcedure | ||
externalDocument | 0..1 | ExternalDocument | ||
precondition | 0..* | Precondition | ||
Documentation for this format |
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.priorityCode | extensible | ActPriority |
Supply.product.typeCode | required | Fixed Value: PRD |
Supply.subject.typeCode | required | Fixed Value: SBJ |
Supply.subject.contextControlCode | required | Fixed Value: OP |
Supply.subject.awarenessCode | extensible | TargetAwareness |
Supply.informant.typeCode | required | Fixed Value: INF |
Supply.informant.contextControlCode | required | Fixed Value: OP |
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()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
sup-er-1 | error | Supply.entryRelationship | Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act : (observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1 |
This structure is derived from CDAR2Supply
Summary
Mandatory: 8 elements (5 nested mandatory 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 |
---|---|---|---|---|
Supply | 1..1 | CDAR2Supply | Base for all types and resources | |
classCode | 1..1 | code | ||
moodCode | 1..1 | code | Required Pattern: INT | |
Slices for templateId | 0..* | II | Slice: Unordered, Open by value:root, value:extension | |
templateId:primary | 1..1 | II | ||
root | 1..1 | string | Required Pattern: 2.16.840.1.113883.10.20.22.4.17 | |
extension | 1..1 | string | Required Pattern: 2014-06-09 | |
id | 1..* | II | ||
statusCode | 1..1 | CS | ||
code | 1..1 | string | Binding: ActStatus (required) | |
Slices for effectiveTime | 0..* | SXCM_TS, IVL_TS, EIVL_TS, PIVL_TS, SXPR_TS | Slice: Unordered, Open by value:high | |
effectiveTime:when | 0..1 | IVL_TS | ||
high | 1..1 | TS | ||
repeatNumber | 0..1 | IVL_INT | In "INT" (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of "3" means that the substance can be administered up to 3 times. In "EVN" (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of "3" in a substance administration event means that the current administration is the 3rd in a series. | |
quantity | 0..1 | PQ | ||
product | 0..1 | Element | ||
manufacturedProduct | 1..1 | MedicationInformation, ImmunizationMedicationInformation | Base for all types and resources | |
author | 0..1 | Author | ||
entryRelationship | 0..1 | Element | ||
typeCode | 1..1 | code | Required Pattern: SUBJ | |
inversionInd | 1..1 | boolean | Required Pattern: true | |
act | 1..1 | Instruction | Base for all types and resources | |
Documentation for this format |
Path | Conformance | ValueSet |
Supply.statusCode.code | required | ActStatus |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Supply | 1..1 | CDAR2Supply | Base for all types and resources | |
classCode | 1..1 | code | Binding: ActClassSupply (required) Fixed Value: SPLY | |
moodCode | 1..1 | code | Required Pattern: INT | |
Slices for templateId | 0..* | II | Slice: Unordered, Open by value:root, value:extension | |
templateId:primary | 1..1 | II | ||
root | 1..1 | string | Required Pattern: 2.16.840.1.113883.10.20.22.4.17 | |
extension | 1..1 | string | Required Pattern: 2014-06-09 | |
id | 1..* | II | ||
statusCode | 1..1 | CS | Binding: ActStatus (required) | |
code | 1..1 | string | 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 | TS | ||
repeatNumber | 0..1 | IVL_INT | In "INT" (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of "3" means that the substance can be administered up to 3 times. In "EVN" (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of "3" in a substance administration event means that the current administration is the 3rd in a series. | |
quantity | 0..1 | PQ | ||
product | 0..1 | Element | ||
typeCode | 1..1 | code | Binding: ParticipationTargetDirect (required) Fixed Value: PRD | |
manufacturedProduct | 1..1 | MedicationInformation, ImmunizationMedicationInformation | Base for all types and resources | |
author | 0..1 | Author | ||
entryRelationship | C | 0..1 | Element | |
typeCode | 1..1 | code | Required Pattern: SUBJ | |
inversionInd | 1..1 | boolean | Required Pattern: true | |
contextConductionInd | 1..1 | boolean | ||
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.product.typeCode | required | Fixed Value: PRD |
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()) | |
sup-er-1 | error | Supply.entryRelationship | Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act : (observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1 |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Supply | 1..1 | CDAR2Supply | Base for all types and resources | |
classCode | 1..1 | code | Binding: ActClassSupply (required) Fixed Value: SPLY | |
moodCode | 1..1 | code | Required Pattern: INT | |
realmCode | 0..* | CS | ||
typeId | 0..1 | II | ||
Slices for templateId | 0..* | II | Slice: Unordered, Open by value:root, value:extension | |
templateId:primary | 1..1 | II | ||
nullFlavor | 0..1 | code | Binding: NullFlavor (required) | |
assigningAuthorityName | 0..1 | string | ||
displayable | 0..1 | boolean | ||
root | 1..1 | string | Required Pattern: 2.16.840.1.113883.10.20.22.4.17 | |
extension | 1..1 | string | Required Pattern: 2014-06-09 | |
id | 1..* | II | ||
code | 0..1 | CD | Binding: v3 Code System ActCode (extensible) | |
text | 0..1 | ED | ||
statusCode | 1..1 | CS | Binding: ActStatus (required) | |
nullFlavor | 0..1 | code | Binding: NullFlavor (required) | |
code | 1..1 | string | Binding: ActStatus (required) | |
sdtcValueSet | 0..1 | string | XML: valueSet (urn:hl7-org:sdtc) | |
sdtcValueSetVersion | 0..1 | string | XML: valueSetVersion (urn:hl7-org:sdtc) | |
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 | ||
nullFlavor | 0..1 | code | Binding: NullFlavor (required) | |
value | 0..1 | dateTime | ||
inclusive | 0..1 | boolean | ||
operator | 0..1 | code | ||
low | 0..1 | TS | ||
high | 1..1 | TS | ||
width | 0..1 | PQ | ||
center | 0..1 | TS | ||
priorityCode | 0..* | CE | Binding: ActPriority (extensible) | |
repeatNumber | 0..1 | IVL_INT | In "INT" (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of "3" means that the substance can be administered up to 3 times. In "EVN" (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of "3" in a substance administration event means that the current administration is the 3rd in a series. | |
independentInd | 0..1 | BL | ||
quantity | 0..1 | PQ | ||
expectedUseTime | 0..1 | IVL_TS | ||
product | 0..1 | Element | ||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | Binding: ParticipationTargetDirect (required) Fixed Value: PRD | |
manufacturedProduct | 1..1 | MedicationInformation, ImmunizationMedicationInformation | Base for all types and resources | |
subject | 0..1 | Element | ||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | Binding: ParticipationTargetSubject (required) Fixed Value: SBJ | |
contextControlCode | 1..1 | code | Binding: ContextControl (required) Fixed Value: OP | |
awarenessCode | 0..1 | CE | Binding: TargetAwareness (extensible) | |
relatedSubject | 1..1 | RelatedSubject | ||
specimen | 0..* | Specimen | ||
performer | 0..* | Performer2 | ||
author | 0..1 | Author | ||
informant | 0..* | Element | ||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | Binding: ParticipationInformationGenerator (required) Fixed Value: INF | |
contextControlCode | 1..1 | code | Binding: ContextControl (required) Fixed Value: OP | |
assignedEntity | 0..1 | AssignedEntity | ||
relatedEntity | 0..1 | RelatedEntity | ||
participant | 0..* | Participant2 | ||
entryRelationship | C | 0..1 | Element | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | Required Pattern: SUBJ | |
inversionInd | 1..1 | boolean | Required Pattern: true | |
contextConductionInd | 1..1 | boolean | ||
sequenceNumber | 0..1 | INT | ||
negationInd | 0..1 | boolean | ||
seperatableInd | 0..1 | BL | ||
act | 1..1 | Instruction | Base for all types and resources | |
reference | 0..* | Element | ||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
typeCode | 1..1 | code | ||
seperatableInd | 0..1 | BL | ||
externalAct | 0..1 | ExternalAct | ||
externalObservation | 0..1 | ExternalObservation | ||
externalProcedure | 0..1 | ExternalProcedure | ||
externalDocument | 0..1 | ExternalDocument | ||
precondition | 0..* | Precondition | ||
Documentation for this format |
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.priorityCode | extensible | ActPriority |
Supply.product.typeCode | required | Fixed Value: PRD |
Supply.subject.typeCode | required | Fixed Value: SBJ |
Supply.subject.contextControlCode | required | Fixed Value: OP |
Supply.subject.awarenessCode | extensible | TargetAwareness |
Supply.informant.typeCode | required | Fixed Value: INF |
Supply.informant.contextControlCode | required | Fixed Value: OP |
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()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
sup-er-1 | error | Supply.entryRelationship | Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act : (observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1 |
This structure is derived from CDAR2Supply
Summary
Mandatory: 8 elements (5 nested mandatory elements)
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron