Cumuluz Translate Implementation Guide
0.1.0 - ci-build
Cumuluz Translate Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-medication-legacy-content | Version: 0.1.0 | |||
| Draft as of 2026-10-29 | Computable Name: LogicalMedicationLegacyContent | |||
A supplied coded or referenced package item and its quantity.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Element | Logical Medication Legacy Content Elements defined in Ancestors:@id, extension Constraints: logical-medication-package-item-choice |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() |
1..1 | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | Coded item. | |
![]() ![]() ![]() |
0..1 | Reference(Medication) | Referenced packaged medication. | |
![]() ![]() |
0..1 | Quantity | Supplied amount and unit. | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| 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()
|
| logical-medication-package-item-choice | error | logical-medication-legacy-content | Exactly one package item representation is required. |
(itemCodeableConcept | itemReference).count() = 1
|
This structure is derived from Element
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Element | Logical Medication Legacy Content Elements defined in Ancestors:@id, extension Constraints: logical-medication-package-item-choice |
![]() ![]() |
1..1 | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | Coded item. | |
![]() ![]() ![]() |
0..1 | Reference(Medication) | Referenced packaged medication. | |
![]() ![]() |
0..1 | Quantity | Supplied amount and unit. | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| logical-medication-package-item-choice | error | logical-medication-legacy-content | Exactly one package item representation is required. |
(itemCodeableConcept | itemReference).count() = 1
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Element | Logical Medication Legacy Content Elements defined in Ancestors:@id, extension Constraints: logical-medication-package-item-choice |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() |
1..1 | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | Coded item. | |
![]() ![]() ![]() |
0..1 | Reference(Medication) | Referenced packaged medication. | |
![]() ![]() |
0..1 | Quantity | Supplied amount and unit. | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| 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()
|
| logical-medication-package-item-choice | error | logical-medication-legacy-content | Exactly one package item representation is required. |
(itemCodeableConcept | itemReference).count() = 1
|
This structure is derived from Element
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Element | Logical Medication Legacy Content Elements defined in Ancestors:@id, extension Constraints: logical-medication-package-item-choice |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() |
1..1 | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | Coded item. | |
![]() ![]() ![]() |
0..1 | Reference(Medication) | Referenced packaged medication. | |
![]() ![]() |
0..1 | Quantity | Supplied amount and unit. | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| 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()
|
| logical-medication-package-item-choice | error | logical-medication-legacy-content | Exactly one package item representation is required. |
(itemCodeableConcept | itemReference).count() = 1
|
Differential View
This structure is derived from Element
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Element | Logical Medication Legacy Content Elements defined in Ancestors:@id, extension Constraints: logical-medication-package-item-choice |
![]() ![]() |
1..1 | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | Coded item. | |
![]() ![]() ![]() |
0..1 | Reference(Medication) | Referenced packaged medication. | |
![]() ![]() |
0..1 | Quantity | Supplied amount and unit. | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| logical-medication-package-item-choice | error | logical-medication-legacy-content | Exactly one package item representation is required. |
(itemCodeableConcept | itemReference).count() = 1
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Element | Logical Medication Legacy Content Elements defined in Ancestors:@id, extension Constraints: logical-medication-package-item-choice |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() |
1..1 | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | Coded item. | |
![]() ![]() ![]() |
0..1 | Reference(Medication) | Referenced packaged medication. | |
![]() ![]() |
0..1 | Quantity | Supplied amount and unit. | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| 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()
|
| logical-medication-package-item-choice | error | logical-medication-legacy-content | Exactly one package item representation is required. |
(itemCodeableConcept | itemReference).count() = 1
|
This structure is derived from Element