This page is part of the CCDA: Consolidated CDA Release (v3.0.0: CCDA 3.0) generated with FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions
Official URL: http://hl7.org/cda/us/ccda/StructureDefinition/MedicationSupplyOrder | Version: 3.0.0 | |||
Draft as of 2024-05-18 | Computable Name: MedicationSupplyOrder | |||
Other Identifiers: urn:ietf:rfc:3986#Uniform Resource Identifier (URI)#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 Template, Differentials, Snapshots and how the different presentations work.
This structure is derived from Supply
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 1..1 | Supply | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, id, code, text, statusCode, effectiveTime, priorityCode, repeatNumber, independentInd, quantity, expectedUseTime, product, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition, sdtcInFulfillmentOf1 Base for all types and resources Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) should-text-ref-value: SHOULD contain text/reference/@value should-repeatNumber: SHOULD contain repeatNumber should-quantity: SHOULD contain quantity |
![]() ![]() ![]() |
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.4.17 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | st | Required Pattern: 2014-06-09 | |
![]() ![]() ![]() |
1..1 | cs | ||
![]() ![]() ![]() |
1..1 | cs | Fixed Value: INT | |
![]() ![]() ![]() |
1..* | II | ||
![]() ![]() ![]() |
0..1 | ED | SHOULD reference the portion of section narrative text corresponding to this entry | |
![]() ![]() ![]() ![]() |
C | 0..1 | TEL | value-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative |
![]() ![]() ![]() |
1..1 | CS | ||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | cs | Binding: ActStatus ![]() | |
![]() ![]() ![]() |
0..* | SXCM_TS, IVL_TS, EIVL_TS, PIVL_TS, SXPR_TS | Slice: Unordered, Open by exists:high | |
![]() ![]() ![]() ![]() |
0..1 | IVL_TS | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | IVXB_TS | ||
![]() ![]() ![]() |
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. | |
![]() ![]() ![]() |
0..1 | PQ | ||
![]() ![]() ![]() |
0..1 | InfrastructureRoot | ||
![]() ![]() ![]() ![]() |
1..1 | MedicationInformation, ImmunizationMedicationInformation | Base for all types and resources | |
![]() ![]() ![]() |
0..1 | Author | ||
![]() ![]() ![]() |
0..1 | EntryRelationship | ||
![]() ![]() ![]() ![]() |
1..1 | cs | Fixed Value: SUBJ | |
![]() ![]() ![]() ![]() |
1..1 | bl | Fixed Value: true | |
![]() ![]() ![]() ![]() |
1..1 | Instruction | Base for all types and resources | |
![]() |
Path | Conformance | ValueSet | URI |
Supply.statusCode.code | required | ActStatus ![]() http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.15933 |
Id | Grade | Path(s) | Details | Requirements |
should-quantity | warning | Supply | SHOULD contain quantity : quantity.exists() | |
should-repeatNumber | warning | Supply | SHOULD contain repeatNumber : repeatNumber.exists() | |
should-text-ref-value | warning | Supply | SHOULD contain text/reference/@value : text.reference.value.exists() | |
value-starts-octothorpe | error | Supply.text.reference | If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative : value.exists() implies value.startsWith('#') |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 1..1 | Supply | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, id, code, text, statusCode, effectiveTime, priorityCode, repeatNumber, independentInd, quantity, expectedUseTime, product, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition, sdtcInFulfillmentOf1 Base for all types and resources Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) should-text-ref-value: SHOULD contain text/reference/@value should-repeatNumber: SHOULD contain repeatNumber should-quantity: SHOULD contain quantity |
![]() ![]() ![]() |
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.4.17 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | st | Required Pattern: 2014-06-09 | |
![]() ![]() ![]() |
1..1 | cs | Binding: ActClassSupply (required) Fixed Value: SPLY | |
![]() ![]() ![]() |
1..1 | cs | Binding: XDocumentSubstanceMood (2.0.0) (required) Fixed Value: INT | |
![]() ![]() ![]() |
1..* | II | ||
![]() ![]() ![]() |
0..1 | ED | SHOULD reference the portion of section narrative text corresponding to this entry | |
![]() ![]() ![]() ![]() |
C | 0..1 | TEL | value-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative |
![]() ![]() ![]() |
1..1 | CS | Binding: ActStatus (required) | |
![]() ![]() ![]() ![]() |
1..1 | cs | Binding: ActStatus ![]() | |
![]() ![]() ![]() |
0..* | Slice: Unordered, Open by exists:high | ||
![]() ![]() ![]() ![]() |
SXCM_TS | |||
![]() ![]() ![]() ![]() |
IVL_TS | |||
![]() ![]() ![]() ![]() |
EIVL_TS | |||
![]() ![]() ![]() ![]() |
PIVL_TS | |||
![]() ![]() ![]() ![]() |
SXPR_TS | |||
![]() ![]() ![]() ![]() |
0..1 | IVL_TS | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | IVXB_TS | ||
![]() ![]() ![]() |
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. | |
![]() ![]() ![]() |
0..1 | PQ | ||
![]() ![]() ![]() |
0..1 | InfrastructureRoot | ||
![]() ![]() ![]() ![]() |
C | 1..1 | MedicationInformation, ImmunizationMedicationInformation | Base for all types and resources product-choice: manufacturedLabeledDrug and manufacturedMaterial are mutually exclusive (one must be present) |
![]() ![]() ![]() |
0..1 | Author | ||
![]() ![]() ![]() |
0..1 | EntryRelationship | ||
![]() ![]() ![]() ![]() |
1..1 | cs | Binding: x_ActRelationshipEntryRelationship (required) Fixed Value: SUBJ | |
![]() ![]() ![]() ![]() |
1..1 | bl | Fixed Value: true | |
![]() ![]() ![]() ![]() |
C | 1..1 | Instruction | Base for all types and resources should-text-ref-value: SHOULD contain text/reference/@value |
![]() |
Path | Conformance | ValueSet / Code | URI |
Supply.classCode | required | Fixed Value: SPLYhttp://terminology.hl7.org/ValueSet/v3-ActClassSupply | |
Supply.moodCode | required | Fixed Value: INThttp://terminology.hl7.org/ValueSet/v3-xDocumentSubstanceMood|2.0.0 | |
Supply.statusCode | required | ActStatushttp://terminology.hl7.org/ValueSet/v3-ActStatus | |
Supply.statusCode.code | required | ActStatus ![]() http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.15933 | |
Supply.entryRelationship.typeCode | required | Fixed Value: SUBJhttp://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship |
Id | Grade | Path(s) | Details | Requirements |
product-choice | error | Supply.product.manufacturedProduct | manufacturedLabeledDrug and manufacturedMaterial are mutually exclusive (one must be present) : (manufacturedLabeledDrug | manufacturedMaterial).count() = 1 | |
should-quantity | warning | Supply | SHOULD contain quantity : quantity.exists() | |
should-repeatNumber | warning | Supply | SHOULD contain repeatNumber : repeatNumber.exists() | |
should-text-ref-value | warning | Supply | SHOULD contain text/reference/@value : text.reference.value.exists() | |
should-text-ref-value | warning | Supply.entryRelationship.act | SHOULD contain text/reference/@value : text.reference.value.exists() | |
value-starts-octothorpe | error | Supply.text.reference | If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative : value.exists() implies value.startsWith('#') |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 1..1 | Supply | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, id, code, text, statusCode, effectiveTime, priorityCode, repeatNumber, independentInd, quantity, expectedUseTime, product, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition, sdtcInFulfillmentOf1 Base for all types and resources Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) should-text-ref-value: SHOULD contain text/reference/@value should-repeatNumber: SHOULD contain repeatNumber should-quantity: SHOULD contain quantity |
![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() |
0..* | CS | ||
![]() ![]() ![]() |
0..1 | II | ||
![]() ![]() ![]() ![]() |
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.4.17 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | st | Required Pattern: 2014-06-09 | |
![]() ![]() ![]() |
1..1 | cs | Binding: ActClassSupply (required) Fixed Value: SPLY | |
![]() ![]() ![]() |
1..1 | cs | Binding: XDocumentSubstanceMood (2.0.0) (required) Fixed Value: INT | |
![]() ![]() ![]() |
1..* | II | ||
![]() ![]() ![]() |
0..1 | CD | Binding: v3 Code System ActCode (example) | |
![]() ![]() ![]() |
0..1 | ED | SHOULD reference the portion of section narrative text corresponding to this entry | |
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDACompressionAlgorithm (required) | |
![]() ![]() ![]() ![]() |
0..1 | bin | ||
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: IntegrityCheckAlgorithm (2.0.0) (required) | |
![]() ![]() ![]() ![]() |
0..1 | cs | ||
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: MediaType (example) | |
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDABinaryDataEncoding (required) | |
![]() ![]() ![]() ![]() |
0..1 | st | Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string. | |
![]() ![]() ![]() ![]() |
C | 0..1 | TEL | value-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative |
![]() ![]() ![]() ![]() |
0..1 | ED | ||
![]() ![]() ![]() |
1..1 | CS | Binding: ActStatus (required) | |
![]() ![]() ![]() ![]() |
1..1 | cs | Binding: ActStatus ![]() | |
![]() ![]() ![]() ![]() |
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..* | Slice: Unordered, Open by exists:high | ||
![]() ![]() ![]() ![]() |
SXCM_TS | |||
![]() ![]() ![]() ![]() |
IVL_TS | |||
![]() ![]() ![]() ![]() |
EIVL_TS | |||
![]() ![]() ![]() ![]() |
PIVL_TS | |||
![]() ![]() ![]() ![]() |
SXPR_TS | |||
![]() ![]() ![]() ![]() |
0..1 | IVL_TS | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | ts | Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz] | |
![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDASetOperator (required) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | IVXB_TS | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | TS | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | PQ | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | IVXB_TS | ||
![]() ![]() ![]() |
0..* | CE | Binding: ActPriority (example) | |
![]() ![]() ![]() |
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. | |
![]() ![]() ![]() |
0..1 | BL | ||
![]() ![]() ![]() |
0..1 | PQ | ||
![]() ![]() ![]() |
0..1 | IVL_TS | ||
![]() ![]() ![]() |
0..1 | InfrastructureRoot | ||
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() |
0..* | CS | ||
![]() ![]() ![]() ![]() |
0..1 | II | ||
![]() ![]() ![]() ![]() ![]() |
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: ParticipationTargetDirect (required) Fixed Value: PRD | |
![]() ![]() ![]() ![]() |
C | 1..1 | MedicationInformation, ImmunizationMedicationInformation | Base for all types and resources product-choice: manufacturedLabeledDrug and manufacturedMaterial are mutually exclusive (one must be present) |
![]() ![]() ![]() |
0..1 | Subject | ||
![]() ![]() ![]() |
0..* | Specimen | ||
![]() ![]() ![]() |
0..* | Performer2 | ||
![]() ![]() ![]() |
0..1 | Author | ||
![]() ![]() ![]() |
0..* | Informant | ||
![]() ![]() ![]() |
0..* | Participant2 | ||
![]() ![]() ![]() |
0..1 | EntryRelationship | ||
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() |
0..* | CS | ||
![]() ![]() ![]() ![]() |
0..1 | II | ||
![]() ![]() ![]() ![]() ![]() |
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 | ||
![]() ![]() ![]() ![]() |
1..1 | cs | Binding: x_ActRelationshipEntryRelationship (required) Fixed Value: SUBJ | |
![]() ![]() ![]() ![]() |
1..1 | bl | Fixed Value: true | |
![]() ![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() ![]() |
0..1 | INT | ||
![]() ![]() ![]() ![]() |
0..1 | BL | ||
![]() ![]() ![]() ![]() |
C | 1..1 | Instruction | Base for all types and resources should-text-ref-value: SHOULD contain text/reference/@value |
![]() ![]() ![]() ![]() |
0..1 | Encounter | ||
![]() ![]() ![]() ![]() |
0..1 | Observation | ||
![]() ![]() ![]() ![]() |
0..1 | ObservationMedia | ||
![]() ![]() ![]() ![]() |
0..1 | Organizer | ||
![]() ![]() ![]() ![]() |
0..1 | Procedure | ||
![]() ![]() ![]() ![]() |
0..1 | RegionOfInterest | ||
![]() ![]() ![]() ![]() |
0..1 | SubstanceAdministration | ||
![]() ![]() ![]() ![]() |
0..1 | Supply | ||
![]() ![]() ![]() |
0..* | Reference | ||
![]() ![]() ![]() |
0..* | Precondition | ||
![]() ![]() ![]() |
0..* | InFulfillmentOf1 | XML Namespace: urn:hl7-org:sdtc XML: inFulfillmentOf1 (urn:hl7-org:sdtc) | |
![]() |
Path | Conformance | ValueSet / Code | URI |
Supply.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Supply.typeId.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Supply.templateId:med-supplyOrder.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Supply.classCode | required | Fixed Value: SPLYhttp://terminology.hl7.org/ValueSet/v3-ActClassSupply | |
Supply.moodCode | required | Fixed Value: INThttp://terminology.hl7.org/ValueSet/v3-xDocumentSubstanceMood|2.0.0 | |
Supply.code | example | ActCodehttp://terminology.hl7.org/ValueSet/v3-ActCode | |
Supply.text.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Supply.text.compression | required | CDACompressionAlgorithmhttp://hl7.org/cda/stds/core/ValueSet/CDACompressionAlgorithm | |
Supply.text.integrityCheckAlgorithm | required | IntegrityCheckAlgorithmhttp://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm|2.0.0 | |
Supply.text.mediaType | example | MediaTypehttp://terminology.hl7.org/ValueSet/v3-MediaType | |
Supply.text.representation | required | BinaryDataEncodinghttp://hl7.org/cda/stds/core/ValueSet/BinaryDataEncoding | |
Supply.statusCode | required | ActStatushttp://terminology.hl7.org/ValueSet/v3-ActStatus | |
Supply.statusCode.code | required | ActStatus ![]() http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.15933 | |
Supply.effectiveTime:when.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Supply.effectiveTime:when.operator | required | CDASetOperatorhttp://hl7.org/cda/stds/core/ValueSet/CDASetOperator | |
Supply.priorityCode | example | ActPriorityhttp://terminology.hl7.org/ValueSet/v3-ActPriority | |
Supply.product.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Supply.product.typeId.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Supply.product.typeCode | required | Fixed Value: PRDhttp://terminology.hl7.org/ValueSet/v3-ParticipationTargetDirect | |
Supply.entryRelationship.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Supply.entryRelationship.typeId.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Supply.entryRelationship.typeCode | required | Fixed Value: SUBJhttp://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship |
Id | Grade | Path(s) | Details | Requirements |
product-choice | error | Supply.product.manufacturedProduct | manufacturedLabeledDrug and manufacturedMaterial are mutually exclusive (one must be present) : (manufacturedLabeledDrug | manufacturedMaterial).count() = 1 | |
should-quantity | warning | Supply | SHOULD contain quantity : quantity.exists() | |
should-repeatNumber | warning | Supply | SHOULD contain repeatNumber : repeatNumber.exists() | |
should-text-ref-value | warning | Supply | SHOULD contain text/reference/@value : text.reference.value.exists() | |
should-text-ref-value | warning | Supply.entryRelationship.act | SHOULD contain text/reference/@value : text.reference.value.exists() | |
value-starts-octothorpe | error | Supply.text.reference | If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative : value.exists() implies value.startsWith('#') |
This structure is derived from Supply
Summary
Mandatory: 7 elements(3 nested mandatory elements)
Fixed: 3 elements
Prohibited: 1 element
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from Supply
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 1..1 | Supply | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, id, code, text, statusCode, effectiveTime, priorityCode, repeatNumber, independentInd, quantity, expectedUseTime, product, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition, sdtcInFulfillmentOf1 Base for all types and resources Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) should-text-ref-value: SHOULD contain text/reference/@value should-repeatNumber: SHOULD contain repeatNumber should-quantity: SHOULD contain quantity |
![]() ![]() ![]() |
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.4.17 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | st | Required Pattern: 2014-06-09 | |
![]() ![]() ![]() |
1..1 | cs | ||
![]() ![]() ![]() |
1..1 | cs | Fixed Value: INT | |
![]() ![]() ![]() |
1..* | II | ||
![]() ![]() ![]() |
0..1 | ED | SHOULD reference the portion of section narrative text corresponding to this entry | |
![]() ![]() ![]() ![]() |
C | 0..1 | TEL | value-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative |
![]() ![]() ![]() |
1..1 | CS | ||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | cs | Binding: ActStatus ![]() | |
![]() ![]() ![]() |
0..* | SXCM_TS, IVL_TS, EIVL_TS, PIVL_TS, SXPR_TS | Slice: Unordered, Open by exists:high | |
![]() ![]() ![]() ![]() |
0..1 | IVL_TS | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | IVXB_TS | ||
![]() ![]() ![]() |
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. | |
![]() ![]() ![]() |
0..1 | PQ | ||
![]() ![]() ![]() |
0..1 | InfrastructureRoot | ||
![]() ![]() ![]() ![]() |
1..1 | MedicationInformation, ImmunizationMedicationInformation | Base for all types and resources | |
![]() ![]() ![]() |
0..1 | Author | ||
![]() ![]() ![]() |
0..1 | EntryRelationship | ||
![]() ![]() ![]() ![]() |
1..1 | cs | Fixed Value: SUBJ | |
![]() ![]() ![]() ![]() |
1..1 | bl | Fixed Value: true | |
![]() ![]() ![]() ![]() |
1..1 | Instruction | Base for all types and resources | |
![]() |
Path | Conformance | ValueSet | URI |
Supply.statusCode.code | required | ActStatus ![]() http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.15933 |
Id | Grade | Path(s) | Details | Requirements |
should-quantity | warning | Supply | SHOULD contain quantity : quantity.exists() | |
should-repeatNumber | warning | Supply | SHOULD contain repeatNumber : repeatNumber.exists() | |
should-text-ref-value | warning | Supply | SHOULD contain text/reference/@value : text.reference.value.exists() | |
value-starts-octothorpe | error | Supply.text.reference | If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative : value.exists() implies value.startsWith('#') |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 1..1 | Supply | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, id, code, text, statusCode, effectiveTime, priorityCode, repeatNumber, independentInd, quantity, expectedUseTime, product, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition, sdtcInFulfillmentOf1 Base for all types and resources Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) should-text-ref-value: SHOULD contain text/reference/@value should-repeatNumber: SHOULD contain repeatNumber should-quantity: SHOULD contain quantity |
![]() ![]() ![]() |
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.4.17 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | st | Required Pattern: 2014-06-09 | |
![]() ![]() ![]() |
1..1 | cs | Binding: ActClassSupply (required) Fixed Value: SPLY | |
![]() ![]() ![]() |
1..1 | cs | Binding: XDocumentSubstanceMood (2.0.0) (required) Fixed Value: INT | |
![]() ![]() ![]() |
1..* | II | ||
![]() ![]() ![]() |
0..1 | ED | SHOULD reference the portion of section narrative text corresponding to this entry | |
![]() ![]() ![]() ![]() |
C | 0..1 | TEL | value-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative |
![]() ![]() ![]() |
1..1 | CS | Binding: ActStatus (required) | |
![]() ![]() ![]() ![]() |
1..1 | cs | Binding: ActStatus ![]() | |
![]() ![]() ![]() |
0..* | Slice: Unordered, Open by exists:high | ||
![]() ![]() ![]() ![]() |
SXCM_TS | |||
![]() ![]() ![]() ![]() |
IVL_TS | |||
![]() ![]() ![]() ![]() |
EIVL_TS | |||
![]() ![]() ![]() ![]() |
PIVL_TS | |||
![]() ![]() ![]() ![]() |
SXPR_TS | |||
![]() ![]() ![]() ![]() |
0..1 | IVL_TS | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | IVXB_TS | ||
![]() ![]() ![]() |
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. | |
![]() ![]() ![]() |
0..1 | PQ | ||
![]() ![]() ![]() |
0..1 | InfrastructureRoot | ||
![]() ![]() ![]() ![]() |
C | 1..1 | MedicationInformation, ImmunizationMedicationInformation | Base for all types and resources product-choice: manufacturedLabeledDrug and manufacturedMaterial are mutually exclusive (one must be present) |
![]() ![]() ![]() |
0..1 | Author | ||
![]() ![]() ![]() |
0..1 | EntryRelationship | ||
![]() ![]() ![]() ![]() |
1..1 | cs | Binding: x_ActRelationshipEntryRelationship (required) Fixed Value: SUBJ | |
![]() ![]() ![]() ![]() |
1..1 | bl | Fixed Value: true | |
![]() ![]() ![]() ![]() |
C | 1..1 | Instruction | Base for all types and resources should-text-ref-value: SHOULD contain text/reference/@value |
![]() |
Path | Conformance | ValueSet / Code | URI |
Supply.classCode | required | Fixed Value: SPLYhttp://terminology.hl7.org/ValueSet/v3-ActClassSupply | |
Supply.moodCode | required | Fixed Value: INThttp://terminology.hl7.org/ValueSet/v3-xDocumentSubstanceMood|2.0.0 | |
Supply.statusCode | required | ActStatushttp://terminology.hl7.org/ValueSet/v3-ActStatus | |
Supply.statusCode.code | required | ActStatus ![]() http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.15933 | |
Supply.entryRelationship.typeCode | required | Fixed Value: SUBJhttp://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship |
Id | Grade | Path(s) | Details | Requirements |
product-choice | error | Supply.product.manufacturedProduct | manufacturedLabeledDrug and manufacturedMaterial are mutually exclusive (one must be present) : (manufacturedLabeledDrug | manufacturedMaterial).count() = 1 | |
should-quantity | warning | Supply | SHOULD contain quantity : quantity.exists() | |
should-repeatNumber | warning | Supply | SHOULD contain repeatNumber : repeatNumber.exists() | |
should-text-ref-value | warning | Supply | SHOULD contain text/reference/@value : text.reference.value.exists() | |
should-text-ref-value | warning | Supply.entryRelationship.act | SHOULD contain text/reference/@value : text.reference.value.exists() | |
value-starts-octothorpe | error | Supply.text.reference | If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative : value.exists() implies value.startsWith('#') |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 1..1 | Supply | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors:@nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, id, code, text, statusCode, effectiveTime, priorityCode, repeatNumber, independentInd, quantity, expectedUseTime, product, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition, sdtcInFulfillmentOf1 Base for all types and resources Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) should-text-ref-value: SHOULD contain text/reference/@value should-repeatNumber: SHOULD contain repeatNumber should-quantity: SHOULD contain quantity |
![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() |
0..* | CS | ||
![]() ![]() ![]() |
0..1 | II | ||
![]() ![]() ![]() ![]() |
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.4.17 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | st | Required Pattern: 2014-06-09 | |
![]() ![]() ![]() |
1..1 | cs | Binding: ActClassSupply (required) Fixed Value: SPLY | |
![]() ![]() ![]() |
1..1 | cs | Binding: XDocumentSubstanceMood (2.0.0) (required) Fixed Value: INT | |
![]() ![]() ![]() |
1..* | II | ||
![]() ![]() ![]() |
0..1 | CD | Binding: v3 Code System ActCode (example) | |
![]() ![]() ![]() |
0..1 | ED | SHOULD reference the portion of section narrative text corresponding to this entry | |
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDACompressionAlgorithm (required) | |
![]() ![]() ![]() ![]() |
0..1 | bin | ||
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: IntegrityCheckAlgorithm (2.0.0) (required) | |
![]() ![]() ![]() ![]() |
0..1 | cs | ||
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: MediaType (example) | |
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDABinaryDataEncoding (required) | |
![]() ![]() ![]() ![]() |
0..1 | st | Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string. | |
![]() ![]() ![]() ![]() |
C | 0..1 | TEL | value-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative |
![]() ![]() ![]() ![]() |
0..1 | ED | ||
![]() ![]() ![]() |
1..1 | CS | Binding: ActStatus (required) | |
![]() ![]() ![]() ![]() |
1..1 | cs | Binding: ActStatus ![]() | |
![]() ![]() ![]() ![]() |
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..* | Slice: Unordered, Open by exists:high | ||
![]() ![]() ![]() ![]() |
SXCM_TS | |||
![]() ![]() ![]() ![]() |
IVL_TS | |||
![]() ![]() ![]() ![]() |
EIVL_TS | |||
![]() ![]() ![]() ![]() |
PIVL_TS | |||
![]() ![]() ![]() ![]() |
SXPR_TS | |||
![]() ![]() ![]() ![]() |
0..1 | IVL_TS | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | ts | Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz] | |
![]() ![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDASetOperator (required) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | IVXB_TS | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | TS | ||
![]() ![]() ![]() ![]() ![]() |
0..1 | PQ | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | IVXB_TS | ||
![]() ![]() ![]() |
0..* | CE | Binding: ActPriority (example) | |
![]() ![]() ![]() |
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. | |
![]() ![]() ![]() |
0..1 | BL | ||
![]() ![]() ![]() |
0..1 | PQ | ||
![]() ![]() ![]() |
0..1 | IVL_TS | ||
![]() ![]() ![]() |
0..1 | InfrastructureRoot | ||
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() |
0..* | CS | ||
![]() ![]() ![]() ![]() |
0..1 | II | ||
![]() ![]() ![]() ![]() ![]() |
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: ParticipationTargetDirect (required) Fixed Value: PRD | |
![]() ![]() ![]() ![]() |
C | 1..1 | MedicationInformation, ImmunizationMedicationInformation | Base for all types and resources product-choice: manufacturedLabeledDrug and manufacturedMaterial are mutually exclusive (one must be present) |
![]() ![]() ![]() |
0..1 | Subject | ||
![]() ![]() ![]() |
0..* | Specimen | ||
![]() ![]() ![]() |
0..* | Performer2 | ||
![]() ![]() ![]() |
0..1 | Author | ||
![]() ![]() ![]() |
0..* | Informant | ||
![]() ![]() ![]() |
0..* | Participant2 | ||
![]() ![]() ![]() |
0..1 | EntryRelationship | ||
![]() ![]() ![]() ![]() |
0..1 | cs | Binding: CDANullFlavor (required) | |
![]() ![]() ![]() ![]() |
0..* | CS | ||
![]() ![]() ![]() ![]() |
0..1 | II | ||
![]() ![]() ![]() ![]() ![]() |
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 | ||
![]() ![]() ![]() ![]() |
1..1 | cs | Binding: x_ActRelationshipEntryRelationship (required) Fixed Value: SUBJ | |
![]() ![]() ![]() ![]() |
1..1 | bl | Fixed Value: true | |
![]() ![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() ![]() |
0..1 | bl | ||
![]() ![]() ![]() ![]() |
0..1 | INT | ||
![]() ![]() ![]() ![]() |
0..1 | BL | ||
![]() ![]() ![]() ![]() |
C | 1..1 | Instruction | Base for all types and resources should-text-ref-value: SHOULD contain text/reference/@value |
![]() ![]() ![]() ![]() |
0..1 | Encounter | ||
![]() ![]() ![]() ![]() |
0..1 | Observation | ||
![]() ![]() ![]() ![]() |
0..1 | ObservationMedia | ||
![]() ![]() ![]() ![]() |
0..1 | Organizer | ||
![]() ![]() ![]() ![]() |
0..1 | Procedure | ||
![]() ![]() ![]() ![]() |
0..1 | RegionOfInterest | ||
![]() ![]() ![]() ![]() |
0..1 | SubstanceAdministration | ||
![]() ![]() ![]() ![]() |
0..1 | Supply | ||
![]() ![]() ![]() |
0..* | Reference | ||
![]() ![]() ![]() |
0..* | Precondition | ||
![]() ![]() ![]() |
0..* | InFulfillmentOf1 | XML Namespace: urn:hl7-org:sdtc XML: inFulfillmentOf1 (urn:hl7-org:sdtc) | |
![]() |
Path | Conformance | ValueSet / Code | URI |
Supply.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Supply.typeId.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Supply.templateId:med-supplyOrder.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Supply.classCode | required | Fixed Value: SPLYhttp://terminology.hl7.org/ValueSet/v3-ActClassSupply | |
Supply.moodCode | required | Fixed Value: INThttp://terminology.hl7.org/ValueSet/v3-xDocumentSubstanceMood|2.0.0 | |
Supply.code | example | ActCodehttp://terminology.hl7.org/ValueSet/v3-ActCode | |
Supply.text.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Supply.text.compression | required | CDACompressionAlgorithmhttp://hl7.org/cda/stds/core/ValueSet/CDACompressionAlgorithm | |
Supply.text.integrityCheckAlgorithm | required | IntegrityCheckAlgorithmhttp://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm|2.0.0 | |
Supply.text.mediaType | example | MediaTypehttp://terminology.hl7.org/ValueSet/v3-MediaType | |
Supply.text.representation | required | BinaryDataEncodinghttp://hl7.org/cda/stds/core/ValueSet/BinaryDataEncoding | |
Supply.statusCode | required | ActStatushttp://terminology.hl7.org/ValueSet/v3-ActStatus | |
Supply.statusCode.code | required | ActStatus ![]() http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.15933 | |
Supply.effectiveTime:when.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Supply.effectiveTime:when.operator | required | CDASetOperatorhttp://hl7.org/cda/stds/core/ValueSet/CDASetOperator | |
Supply.priorityCode | example | ActPriorityhttp://terminology.hl7.org/ValueSet/v3-ActPriority | |
Supply.product.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Supply.product.typeId.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Supply.product.typeCode | required | Fixed Value: PRDhttp://terminology.hl7.org/ValueSet/v3-ParticipationTargetDirect | |
Supply.entryRelationship.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Supply.entryRelationship.typeId.nullFlavor | required | CDANullFlavorhttp://hl7.org/cda/stds/core/ValueSet/CDANullFlavor | |
Supply.entryRelationship.typeCode | required | Fixed Value: SUBJhttp://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship |
Id | Grade | Path(s) | Details | Requirements |
product-choice | error | Supply.product.manufacturedProduct | manufacturedLabeledDrug and manufacturedMaterial are mutually exclusive (one must be present) : (manufacturedLabeledDrug | manufacturedMaterial).count() = 1 | |
should-quantity | warning | Supply | SHOULD contain quantity : quantity.exists() | |
should-repeatNumber | warning | Supply | SHOULD contain repeatNumber : repeatNumber.exists() | |
should-text-ref-value | warning | Supply | SHOULD contain text/reference/@value : text.reference.value.exists() | |
should-text-ref-value | warning | Supply.entryRelationship.act | SHOULD contain text/reference/@value : text.reference.value.exists() | |
value-starts-octothorpe | error | Supply.text.reference | If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative : value.exists() implies value.startsWith('#') |
This structure is derived from Supply
Summary
Mandatory: 7 elements(3 nested mandatory elements)
Fixed: 3 elements
Prohibited: 1 element
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices: