UPTIS FHIR PoC Test Implementation Guide
1.0.0 - draft
UPTIS FHIR PoC Test Implementation Guide, published by TEHIK. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TEHIK-EE/FHIR-PoC/ and changes regularly. See the Directory of published versions
Official URL: https://fhir.ee/StructureDefinition/ee-tis-medication-epc | Version: 1.0.0 | |||
Draft as of 2023-11-09 | Computable Name: EETISMedicationEPC |
Medication resource as it is presented today in Estonian e-Prescription center. Used on prescriptions and dispensations.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Medication
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Medication | Medication | |||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by | |
classification | 0..* | (Complex) | Klassifikatsioon URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-classification | |
value[x] | 0..1 | CodeableConcept | Value of extension Binding: https://fhir.ee/CodeSystem/atc (preferred): ATC | |
sizeOfItem | 0..* | SimpleQuantity | Pakkeühiku suurus URL: https://fhir.ee/StructureDefinition/ee-tis-size-of-item | |
name | 0..* | string | Ravimi nimi pakendil. URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-name | |
identifier | 0..1 | Identifier | Pakendi kood (pakendipõhisel retseptil) | |
code | 0..0 | |||
status | 0..0 | |||
marketingAuthorizationHolder | 0..0 | |||
doseForm | 1..1 | CodeableConcept | powder | tablets | capsule + Binding: http://fhir.ee/CodeSystem/ravimvormid (preferred) | |
coding | 0..* | Coding | Code defined by a terminology system Binding: http://fhir.ee/CodeSystem/ravimvormid (preferred): Ravimvormide loend | |
totalVolume | 1..1 | SimpleQuantity | A fixed quantity (no comparator) | |
value | 1..1 | decimal | Ühikute koguhulk | |
unit | 0..0 | |||
code | 0..1 | code | Ühikute koguhulga ühik | |
ingredient | 1..* | BackboneElement | Active or inactive ingredient | |
item | ||||
concept | 0..1 | CodeableConcept | Reference to a concept (by class) Binding: https://fhir.ee/CodeSystem/toimeained (preferred): Toimeainete loend | |
reference | 0..0 | |||
isActive | 1..1 | boolean | Active ingredient indicator | |
value | 0..1 | boolean | Primitive value for boolean Required Pattern: true | |
Slices for strength[x] | 1..1 | Quantity of ingredient present Slice: Unordered, Open by type:$this | ||
strengthRatio | Ratio | |||
strengthQuantity | Quantity | |||
strength[x]:strengthRatio | 1..1 | Ratio | Toimeaine tugevus | |
batch | 0..0 | |||
definition | 0..0 | |||
Documentation for this format |
Path | Conformance | ValueSet | URI |
Medication.extension:classification.value[x] | preferred | https://fhir.ee/CodeSystem/atchttps://fhir.ee/CodeSystem/atc | |
Medication.doseForm | preferred | http://fhir.ee/CodeSystem/ravimvormidhttp://fhir.ee/CodeSystem/ravimvormid | |
Medication.doseForm.coding | preferred | http://fhir.ee/CodeSystem/ravimvormidhttp://fhir.ee/CodeSystem/ravimvormid | |
Medication.ingredient.item.concept | preferred | https://fhir.ee/CodeSystem/toimeainedhttps://fhir.ee/CodeSystem/toimeained |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Medication | 0..* | Medication | Definition of a Medication | |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
contained | 0..* | Resource | Contained, inline Resources | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by | |
classification | 0..* | (Complex) | Klassifikatsioon URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-classification | |
url | 1..1 | uri | "https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-classification" | |
Slices for value[x] | 0..1 | CodeableConcept | Value of extension Slice: Unordered, Closed by type:$this Binding: https://fhir.ee/CodeSystem/atc (preferred): ATC | |
value[x]:valueCodeableConcept | 0..1 | CodeableConcept | ATC klassifikatsioon Binding: https://fhir.ee/CodeSystem/atc (preferred): ATC | |
sizeOfItem | 0..* | SimpleQuantity | Pakkeühiku suurus URL: https://fhir.ee/StructureDefinition/ee-tis-size-of-item | |
name | 0..* | string | Ravimi nimi pakendil. URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-name | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 0..1 | Identifier | Pakendi kood (pakendipõhisel retseptil) |
doseForm | 1..1 | CodeableConcept | powder | tablets | capsule + Binding: http://fhir.ee/CodeSystem/ravimvormid (preferred) | |
coding | Σ | 0..* | Coding | Code defined by a terminology system Binding: http://fhir.ee/CodeSystem/ravimvormid (preferred): Ravimvormide loend |
totalVolume | C | 1..1 | SimpleQuantity | A fixed quantity (no comparator) qty-3: If a code for the unit is present, the system SHALL also be present sqty-1: The comparator is not used on a SimpleQuantity |
value | Σ | 1..1 | decimal | Ühikute koguhulk |
code | ΣC | 0..1 | code | Ühikute koguhulga ühik |
ingredient | 1..* | BackboneElement | Active or inactive ingredient | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
item | 1..1 | CodeableReference(Substance | Medication) | The ingredient (substance or medication) that the ingredient.strength relates to Binding: SNOMEDCTMedicationCodes (example) | |
concept | Σ | 0..1 | CodeableConcept | Reference to a concept (by class) Binding: https://fhir.ee/CodeSystem/toimeained (preferred): Toimeainete loend |
isActive | 1..1 | boolean | Active ingredient indicator | |
value | 0..1 | boolean | Primitive value for boolean Required Pattern: true | |
Slices for strength[x] | 1..1 | Ratio | Quantity of ingredient present Slice: Unordered, Closed by type:$this Binding: MedicationIngredientStrengthCodes (preferred): A coded concpet defining the strength of an ingredient. | |
strength[x]:strengthRatio | 1..1 | Ratio | Toimeaine tugevus | |
Documentation for this format |
Path | Conformance | ValueSet | URI |
Medication.extension:classification.value[x] | preferred | https://fhir.ee/CodeSystem/atchttps://fhir.ee/CodeSystem/atc | |
Medication.extension:classification.value[x]:valueCodeableConcept | preferred | https://fhir.ee/CodeSystem/atchttps://fhir.ee/CodeSystem/atc | |
Medication.doseForm | preferred | http://fhir.ee/CodeSystem/ravimvormidhttp://fhir.ee/CodeSystem/ravimvormid | |
Medication.doseForm.coding | preferred | http://fhir.ee/CodeSystem/ravimvormidhttp://fhir.ee/CodeSystem/ravimvormid | |
Medication.ingredient.item | example | SNOMEDCTMedicationCodeshttp://hl7.org/fhir/ValueSet/medication-codes from the FHIR Standard | |
Medication.ingredient.item.concept | preferred | https://fhir.ee/CodeSystem/toimeainedhttps://fhir.ee/CodeSystem/toimeained | |
Medication.ingredient.strength[x] | preferred | MedicationIngredientStrengthCodeshttp://hl7.org/fhir/ValueSet/medication-ingredientstrength from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Medication | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Medication | A resource should have narrative for robust management : text.`div`.exists() | |
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() | |
qty-3 | error | Medication.totalVolume | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
sqty-1 | error | Medication.totalVolume | The comparator is not used on a SimpleQuantity : comparator.empty() |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Medication | 0..* | Medication | Definition of a Medication | |||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by | |||||
classification | 0..* | (Complex) | Klassifikatsioon URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-classification | |||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
url | 1..1 | uri | "https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-classification" | |||||
Slices for value[x] | 0..1 | CodeableConcept | Value of extension Slice: Unordered, Closed by type:$this Binding: https://fhir.ee/CodeSystem/atc (preferred): ATC | |||||
value[x]:valueCodeableConcept | 0..1 | CodeableConcept | ATC klassifikatsioon Binding: https://fhir.ee/CodeSystem/atc (preferred): ATC | |||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system Binding: https://fhir.ee/CodeSystem/atc (preferred): ATC | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
sizeOfItem | 0..* | SimpleQuantity | Pakkeühiku suurus URL: https://fhir.ee/StructureDefinition/ee-tis-size-of-item | |||||
name | 0..* | string | Ravimi nimi pakendil. URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-name | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | Σ | 0..1 | Identifier | Pakendi kood (pakendipõhisel retseptil) | ||||
doseForm | 1..1 | CodeableConcept | powder | tablets | capsule + Binding: http://fhir.ee/CodeSystem/ravimvormid (preferred) | |||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system Binding: http://fhir.ee/CodeSystem/ravimvormid (preferred): Ravimvormide loend | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
totalVolume | C | 1..1 | SimpleQuantity | A fixed quantity (no comparator) qty-3: If a code for the unit is present, the system SHALL also be present sqty-1: The comparator is not used on a SimpleQuantity | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
value | Σ | 1..1 | decimal | Ühikute koguhulk | ||||
system | ΣC | 0..1 | uri | System that defines coded unit form | ||||
code | ΣC | 0..1 | code | Ühikute koguhulga ühik | ||||
ingredient | 1..* | BackboneElement | Active or inactive ingredient | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
item | 1..1 | CodeableReference(Substance | Medication) | The ingredient (substance or medication) that the ingredient.strength relates to Binding: SNOMEDCTMedicationCodes (example) | |||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
concept | Σ | 0..1 | CodeableConcept | Reference to a concept (by class) Binding: https://fhir.ee/CodeSystem/toimeained (preferred): Toimeainete loend | ||||
isActive | 1..1 | boolean | Active ingredient indicator | |||||
id | 0..1 | string | xml:id (or equivalent in JSON) | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
value | 0..1 | boolean | Primitive value for boolean Required Pattern: true | |||||
Slices for strength[x] | 1..1 | Ratio | Quantity of ingredient present Slice: Unordered, Closed by type:$this Binding: MedicationIngredientStrengthCodes (preferred): A coded concpet defining the strength of an ingredient. | |||||
strength[x]:strengthRatio | 1..1 | Ratio | Toimeaine tugevus | |||||
Documentation for this format |
Path | Conformance | ValueSet | URI |
Medication.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard | |
Medication.extension:classification.value[x] | preferred | https://fhir.ee/CodeSystem/atchttps://fhir.ee/CodeSystem/atc | |
Medication.extension:classification.value[x]:valueCodeableConcept | preferred | https://fhir.ee/CodeSystem/atchttps://fhir.ee/CodeSystem/atc | |
Medication.extension:classification.value[x]:valueCodeableConcept.coding | preferred | https://fhir.ee/CodeSystem/atchttps://fhir.ee/CodeSystem/atc | |
Medication.doseForm | preferred | http://fhir.ee/CodeSystem/ravimvormidhttp://fhir.ee/CodeSystem/ravimvormid | |
Medication.doseForm.coding | preferred | http://fhir.ee/CodeSystem/ravimvormidhttp://fhir.ee/CodeSystem/ravimvormid | |
Medication.ingredient.item | example | SNOMEDCTMedicationCodeshttp://hl7.org/fhir/ValueSet/medication-codes from the FHIR Standard | |
Medication.ingredient.item.concept | preferred | https://fhir.ee/CodeSystem/toimeainedhttps://fhir.ee/CodeSystem/toimeained | |
Medication.ingredient.strength[x] | preferred | MedicationIngredientStrengthCodeshttp://hl7.org/fhir/ValueSet/medication-ingredientstrength from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Medication | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Medication | A resource should have narrative for robust management : text.`div`.exists() | |
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() | |
qty-3 | error | Medication.totalVolume | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
sqty-1 | error | Medication.totalVolume | The comparator is not used on a SimpleQuantity : comparator.empty() |
This structure is derived from Medication
Summary
Mandatory: 7 elements
Prohibited: 7 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from Medication
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Medication | Medication | |||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by | |
classification | 0..* | (Complex) | Klassifikatsioon URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-classification | |
value[x] | 0..1 | CodeableConcept | Value of extension Binding: https://fhir.ee/CodeSystem/atc (preferred): ATC | |
sizeOfItem | 0..* | SimpleQuantity | Pakkeühiku suurus URL: https://fhir.ee/StructureDefinition/ee-tis-size-of-item | |
name | 0..* | string | Ravimi nimi pakendil. URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-name | |
identifier | 0..1 | Identifier | Pakendi kood (pakendipõhisel retseptil) | |
code | 0..0 | |||
status | 0..0 | |||
marketingAuthorizationHolder | 0..0 | |||
doseForm | 1..1 | CodeableConcept | powder | tablets | capsule + Binding: http://fhir.ee/CodeSystem/ravimvormid (preferred) | |
coding | 0..* | Coding | Code defined by a terminology system Binding: http://fhir.ee/CodeSystem/ravimvormid (preferred): Ravimvormide loend | |
totalVolume | 1..1 | SimpleQuantity | A fixed quantity (no comparator) | |
value | 1..1 | decimal | Ühikute koguhulk | |
unit | 0..0 | |||
code | 0..1 | code | Ühikute koguhulga ühik | |
ingredient | 1..* | BackboneElement | Active or inactive ingredient | |
item | ||||
concept | 0..1 | CodeableConcept | Reference to a concept (by class) Binding: https://fhir.ee/CodeSystem/toimeained (preferred): Toimeainete loend | |
reference | 0..0 | |||
isActive | 1..1 | boolean | Active ingredient indicator | |
value | 0..1 | boolean | Primitive value for boolean Required Pattern: true | |
Slices for strength[x] | 1..1 | Quantity of ingredient present Slice: Unordered, Open by type:$this | ||
strengthRatio | Ratio | |||
strengthQuantity | Quantity | |||
strength[x]:strengthRatio | 1..1 | Ratio | Toimeaine tugevus | |
batch | 0..0 | |||
definition | 0..0 | |||
Documentation for this format |
Path | Conformance | ValueSet | URI |
Medication.extension:classification.value[x] | preferred | https://fhir.ee/CodeSystem/atchttps://fhir.ee/CodeSystem/atc | |
Medication.doseForm | preferred | http://fhir.ee/CodeSystem/ravimvormidhttp://fhir.ee/CodeSystem/ravimvormid | |
Medication.doseForm.coding | preferred | http://fhir.ee/CodeSystem/ravimvormidhttp://fhir.ee/CodeSystem/ravimvormid | |
Medication.ingredient.item.concept | preferred | https://fhir.ee/CodeSystem/toimeainedhttps://fhir.ee/CodeSystem/toimeained |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Medication | 0..* | Medication | Definition of a Medication | |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
contained | 0..* | Resource | Contained, inline Resources | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by | |
classification | 0..* | (Complex) | Klassifikatsioon URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-classification | |
url | 1..1 | uri | "https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-classification" | |
Slices for value[x] | 0..1 | CodeableConcept | Value of extension Slice: Unordered, Closed by type:$this Binding: https://fhir.ee/CodeSystem/atc (preferred): ATC | |
value[x]:valueCodeableConcept | 0..1 | CodeableConcept | ATC klassifikatsioon Binding: https://fhir.ee/CodeSystem/atc (preferred): ATC | |
sizeOfItem | 0..* | SimpleQuantity | Pakkeühiku suurus URL: https://fhir.ee/StructureDefinition/ee-tis-size-of-item | |
name | 0..* | string | Ravimi nimi pakendil. URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-name | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 0..1 | Identifier | Pakendi kood (pakendipõhisel retseptil) |
doseForm | 1..1 | CodeableConcept | powder | tablets | capsule + Binding: http://fhir.ee/CodeSystem/ravimvormid (preferred) | |
coding | Σ | 0..* | Coding | Code defined by a terminology system Binding: http://fhir.ee/CodeSystem/ravimvormid (preferred): Ravimvormide loend |
totalVolume | C | 1..1 | SimpleQuantity | A fixed quantity (no comparator) qty-3: If a code for the unit is present, the system SHALL also be present sqty-1: The comparator is not used on a SimpleQuantity |
value | Σ | 1..1 | decimal | Ühikute koguhulk |
code | ΣC | 0..1 | code | Ühikute koguhulga ühik |
ingredient | 1..* | BackboneElement | Active or inactive ingredient | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
item | 1..1 | CodeableReference(Substance | Medication) | The ingredient (substance or medication) that the ingredient.strength relates to Binding: SNOMEDCTMedicationCodes (example) | |
concept | Σ | 0..1 | CodeableConcept | Reference to a concept (by class) Binding: https://fhir.ee/CodeSystem/toimeained (preferred): Toimeainete loend |
isActive | 1..1 | boolean | Active ingredient indicator | |
value | 0..1 | boolean | Primitive value for boolean Required Pattern: true | |
Slices for strength[x] | 1..1 | Ratio | Quantity of ingredient present Slice: Unordered, Closed by type:$this Binding: MedicationIngredientStrengthCodes (preferred): A coded concpet defining the strength of an ingredient. | |
strength[x]:strengthRatio | 1..1 | Ratio | Toimeaine tugevus | |
Documentation for this format |
Path | Conformance | ValueSet | URI |
Medication.extension:classification.value[x] | preferred | https://fhir.ee/CodeSystem/atchttps://fhir.ee/CodeSystem/atc | |
Medication.extension:classification.value[x]:valueCodeableConcept | preferred | https://fhir.ee/CodeSystem/atchttps://fhir.ee/CodeSystem/atc | |
Medication.doseForm | preferred | http://fhir.ee/CodeSystem/ravimvormidhttp://fhir.ee/CodeSystem/ravimvormid | |
Medication.doseForm.coding | preferred | http://fhir.ee/CodeSystem/ravimvormidhttp://fhir.ee/CodeSystem/ravimvormid | |
Medication.ingredient.item | example | SNOMEDCTMedicationCodeshttp://hl7.org/fhir/ValueSet/medication-codes from the FHIR Standard | |
Medication.ingredient.item.concept | preferred | https://fhir.ee/CodeSystem/toimeainedhttps://fhir.ee/CodeSystem/toimeained | |
Medication.ingredient.strength[x] | preferred | MedicationIngredientStrengthCodeshttp://hl7.org/fhir/ValueSet/medication-ingredientstrength from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Medication | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Medication | A resource should have narrative for robust management : text.`div`.exists() | |
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() | |
qty-3 | error | Medication.totalVolume | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
sqty-1 | error | Medication.totalVolume | The comparator is not used on a SimpleQuantity : comparator.empty() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Medication | 0..* | Medication | Definition of a Medication | |||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by | |||||
classification | 0..* | (Complex) | Klassifikatsioon URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-classification | |||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
url | 1..1 | uri | "https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-classification" | |||||
Slices for value[x] | 0..1 | CodeableConcept | Value of extension Slice: Unordered, Closed by type:$this Binding: https://fhir.ee/CodeSystem/atc (preferred): ATC | |||||
value[x]:valueCodeableConcept | 0..1 | CodeableConcept | ATC klassifikatsioon Binding: https://fhir.ee/CodeSystem/atc (preferred): ATC | |||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system Binding: https://fhir.ee/CodeSystem/atc (preferred): ATC | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
sizeOfItem | 0..* | SimpleQuantity | Pakkeühiku suurus URL: https://fhir.ee/StructureDefinition/ee-tis-size-of-item | |||||
name | 0..* | string | Ravimi nimi pakendil. URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-name | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | Σ | 0..1 | Identifier | Pakendi kood (pakendipõhisel retseptil) | ||||
doseForm | 1..1 | CodeableConcept | powder | tablets | capsule + Binding: http://fhir.ee/CodeSystem/ravimvormid (preferred) | |||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system Binding: http://fhir.ee/CodeSystem/ravimvormid (preferred): Ravimvormide loend | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
totalVolume | C | 1..1 | SimpleQuantity | A fixed quantity (no comparator) qty-3: If a code for the unit is present, the system SHALL also be present sqty-1: The comparator is not used on a SimpleQuantity | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
value | Σ | 1..1 | decimal | Ühikute koguhulk | ||||
system | ΣC | 0..1 | uri | System that defines coded unit form | ||||
code | ΣC | 0..1 | code | Ühikute koguhulga ühik | ||||
ingredient | 1..* | BackboneElement | Active or inactive ingredient | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
item | 1..1 | CodeableReference(Substance | Medication) | The ingredient (substance or medication) that the ingredient.strength relates to Binding: SNOMEDCTMedicationCodes (example) | |||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
concept | Σ | 0..1 | CodeableConcept | Reference to a concept (by class) Binding: https://fhir.ee/CodeSystem/toimeained (preferred): Toimeainete loend | ||||
isActive | 1..1 | boolean | Active ingredient indicator | |||||
id | 0..1 | string | xml:id (or equivalent in JSON) | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
value | 0..1 | boolean | Primitive value for boolean Required Pattern: true | |||||
Slices for strength[x] | 1..1 | Ratio | Quantity of ingredient present Slice: Unordered, Closed by type:$this Binding: MedicationIngredientStrengthCodes (preferred): A coded concpet defining the strength of an ingredient. | |||||
strength[x]:strengthRatio | 1..1 | Ratio | Toimeaine tugevus | |||||
Documentation for this format |
Path | Conformance | ValueSet | URI |
Medication.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard | |
Medication.extension:classification.value[x] | preferred | https://fhir.ee/CodeSystem/atchttps://fhir.ee/CodeSystem/atc | |
Medication.extension:classification.value[x]:valueCodeableConcept | preferred | https://fhir.ee/CodeSystem/atchttps://fhir.ee/CodeSystem/atc | |
Medication.extension:classification.value[x]:valueCodeableConcept.coding | preferred | https://fhir.ee/CodeSystem/atchttps://fhir.ee/CodeSystem/atc | |
Medication.doseForm | preferred | http://fhir.ee/CodeSystem/ravimvormidhttp://fhir.ee/CodeSystem/ravimvormid | |
Medication.doseForm.coding | preferred | http://fhir.ee/CodeSystem/ravimvormidhttp://fhir.ee/CodeSystem/ravimvormid | |
Medication.ingredient.item | example | SNOMEDCTMedicationCodeshttp://hl7.org/fhir/ValueSet/medication-codes from the FHIR Standard | |
Medication.ingredient.item.concept | preferred | https://fhir.ee/CodeSystem/toimeainedhttps://fhir.ee/CodeSystem/toimeained | |
Medication.ingredient.strength[x] | preferred | MedicationIngredientStrengthCodeshttp://hl7.org/fhir/ValueSet/medication-ingredientstrength from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Medication | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Medication | A resource should have narrative for robust management : text.`div`.exists() | |
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() | |
qty-3 | error | Medication.totalVolume | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
sqty-1 | error | Medication.totalVolume | The comparator is not used on a SimpleQuantity : comparator.empty() |
This structure is derived from Medication
Summary
Mandatory: 7 elements
Prohibited: 7 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron