Medication Scheme Implementation Guide
1.0.0 - trial-use EE

Medication Scheme 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/ig-ee-medication-scheme/ and changes regularly. See the Directory of published versions

Resource Profile: EETISMedicationMedicalNutrition

Official URL: https://fhir.ee/StructureDefinition/ee-tis-medication-medical-nutrition Version: 1.0.0
Draft as of 2026-04-01 Computable Name: EETISMedicationMedicalNutrition

Eritoit. Medication resource for medical nutrition packages. Used on prescriptions NOT on dispensations.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. 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 value:url
.... extension:atc 0..1 CodeableConcept Classifications of the product, e.g ATC, narcotic/psychotropic, orphan drug, OTC medication etc.
URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-classification
.... extension:sizeOfItem 0..1 SimpleQuantity Size of medicinal product item (3ml). E.g. total volume of packaged medication is 30ml but it includes 10 items 3ml each.
URL: https://fhir.ee/StructureDefinition/ee-tis-size-of-item
.... extension:name 0..1 string Registered name for the medicinal product.
URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-name
... Slices for identifier Σ 1..* Identifier Package code when medication is prescribed based on specific package. Slice prescriptionNumber is used for grouping medications in TJT. ATC is found in extension.
Slice: Unordered, Open by value:system
.... identifier:packageNumber Σ 1..1 Identifier Business identifier for this medication
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: http://ravimiregister.ee/pakendid
.... identifier:prescriptionNumber Σ 0..1 Identifier Business identifier for this medication
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.ee/CodeSystem/tis-fhir-identifikaatorid/retseptikeskus-retsept
... doseForm 1..1 CodeableConcept Dose form of the medication. E.g powder, tablet, ointment etc.
Binding: Ravimvormid . (preferred)
... totalVolume Σ 0..1 SimpleQuantity If the certain medication (brand name) is chosen then total volume is the amount of medication in package. If based on just active ingredient then total volume is same as in MedicationStatement TotalPrescribedAmount.
.... value Σ 1..1 decimal Total volume of medication.
.... code ΣC 0..1 code Unit for total volume

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.identifier:packageNumber.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Medication.identifier:prescriptionNumber.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Medication.doseForm Base preferred Ravimvormid . ⏿24.0.0 term.tehik.ee

Constraints

Id Grade Path(s) Description Expression
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()

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication Definition of a Medication
... meta
.... versionId 0..1 id Version specific identifier
Example versionId: 1
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:atc 0..1 CodeableConcept Classifications of the product, e.g ATC, narcotic/psychotropic, orphan drug, OTC medication etc.
URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-classification
.... extension:sizeOfItem 0..1 SimpleQuantity Size of medicinal product item (3ml). E.g. total volume of packaged medication is 30ml but it includes 10 items 3ml each.
URL: https://fhir.ee/StructureDefinition/ee-tis-size-of-item
.... extension:name 0..1 string Registered name for the medicinal product.
URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-name
... Slices for identifier 1..* Identifier Package code when medication is prescribed based on specific package. Slice prescriptionNumber is used for grouping medications in TJT. ATC is found in extension.
Slice: Unordered, Open by value:system
.... identifier:packageNumber 1..1 Identifier Business identifier for this medication
..... system 1..1 uri The namespace for the identifier value
Required Pattern: http://ravimiregister.ee/pakendid
.... identifier:prescriptionNumber 0..1 Identifier Business identifier for this medication
..... system 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.ee/CodeSystem/tis-fhir-identifikaatorid/retseptikeskus-retsept
... status 0..0 active | inactive | entered-in-error
... marketingAuthorizationHolder 0..0 Organization that has authorization to market medication
... doseForm 1..1 CodeableConcept Dose form of the medication. E.g powder, tablet, ointment etc.
Binding: Ravimvormid . (preferred)
... totalVolume 0..1 SimpleQuantity If the certain medication (brand name) is chosen then total volume is the amount of medication in package. If based on just active ingredient then total volume is same as in MedicationStatement TotalPrescribedAmount.
.... value 1..1 decimal Total volume of medication.
.... unit 0..0 Unit representation
.... code 0..1 code Unit for total volume
... ingredient
.... item 1..1 CodeableReference(Substance | Medication) Active ingredient from Ravimiregister value set
Binding: Toimeainete loend (preferred)
..... concept
...... text 0..1 string Main ingredient as free text. (Eritoitesegu ja imikute toitesegu puhul, kus konkreetset toimeainet pole välja tuua.)
.... strength[x] 0..1 Ratio Strenght ratio of the active ingredient. (Alati ei pruugi olla tugevust eritoidul)
... batch 0..0 Details about packaged medications
... definition 0..0 Knowledge about this medication

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Medication.doseForm Base preferred Ravimvormid . ⏿24.0.0 term.tehik.ee
Medication.ingredient.​item Base preferred Toimeainete loend 📦1.0.0 This IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication Definition of a Medication
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
Example versionId: 1
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:atc 0..1 CodeableConcept Classifications of the product, e.g ATC, narcotic/psychotropic, orphan drug, OTC medication etc.
URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-classification
.... extension:sizeOfItem 0..1 SimpleQuantity Size of medicinal product item (3ml). E.g. total volume of packaged medication is 30ml but it includes 10 items 3ml each.
URL: https://fhir.ee/StructureDefinition/ee-tis-size-of-item
.... extension:name 0..1 string Registered name for the medicinal product.
URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-name
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... Slices for identifier Σ 1..* Identifier Package code when medication is prescribed based on specific package. Slice prescriptionNumber is used for grouping medications in TJT. ATC is found in extension.
Slice: Unordered, Open by value:system
.... identifier:packageNumber Σ 1..1 Identifier Business identifier for this medication
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: http://ravimiregister.ee/pakendid
..... value ΣC 0..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... identifier:prescriptionNumber Σ 0..1 Identifier Business identifier for this medication
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.ee/CodeSystem/tis-fhir-identifikaatorid/retseptikeskus-retsept
..... value ΣC 0..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... doseForm 1..1 CodeableConcept Dose form of the medication. E.g powder, tablet, ointment etc.
Binding: Ravimvormid . (preferred)
... totalVolume Σ 0..1 SimpleQuantity If the certain medication (brand name) is chosen then total volume is the amount of medication in package. If based on just active ingredient then total volume is same as in MedicationStatement TotalPrescribedAmount.
.... 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 Total volume of medication.
.... system ΣC 0..1 uri System that defines coded unit form
.... code ΣC 0..1 code Unit for total volume
... ingredient 0..* 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) Active ingredient from Ravimiregister value set
Binding: Toimeainete loend (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
..... concept Σ 0..1 CodeableConcept Reference to a concept (by class)
...... 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
...... text Σ 0..1 string Main ingredient as free text. (Eritoitesegu ja imikute toitesegu puhul, kus konkreetset toimeainet pole välja tuua.)
..... reference Σ 0..1 Reference() Reference to a resource (by instance)
.... isActive 0..1 boolean Active ingredient indicator
.... strength[x] 0..1 Ratio Strenght ratio of the active ingredient. (Alati ei pruugi olla tugevust eritoidul)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.meta.security Base extensible All Security Labels 📍5.0.0 FHIR Std.
Medication.meta.tag Base example Common Tags 📍5.0.0 FHIR Std.
Medication.language Base required All Languages 📍5.0.0 FHIR Std.
Medication.identifier:packageNumber.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Medication.identifier:packageNumber.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
Medication.identifier:prescriptionNumber.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Medication.identifier:prescriptionNumber.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
Medication.doseForm Base preferred Ravimvormid . ⏿24.0.0 term.tehik.ee
Medication.ingredient.​item Base preferred Toimeainete loend 📦1.0.0 This IG

Constraints

Id Grade Path(s) Description Expression
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()

This structure is derived from Medication

Summary

Mandatory: 4 elements(2 nested mandatory elements)
Prohibited: 6 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Medication.identifier

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. 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 value:url
.... extension:atc 0..1 CodeableConcept Classifications of the product, e.g ATC, narcotic/psychotropic, orphan drug, OTC medication etc.
URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-classification
.... extension:sizeOfItem 0..1 SimpleQuantity Size of medicinal product item (3ml). E.g. total volume of packaged medication is 30ml but it includes 10 items 3ml each.
URL: https://fhir.ee/StructureDefinition/ee-tis-size-of-item
.... extension:name 0..1 string Registered name for the medicinal product.
URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-name
... Slices for identifier Σ 1..* Identifier Package code when medication is prescribed based on specific package. Slice prescriptionNumber is used for grouping medications in TJT. ATC is found in extension.
Slice: Unordered, Open by value:system
.... identifier:packageNumber Σ 1..1 Identifier Business identifier for this medication
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: http://ravimiregister.ee/pakendid
.... identifier:prescriptionNumber Σ 0..1 Identifier Business identifier for this medication
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.ee/CodeSystem/tis-fhir-identifikaatorid/retseptikeskus-retsept
... doseForm 1..1 CodeableConcept Dose form of the medication. E.g powder, tablet, ointment etc.
Binding: Ravimvormid . (preferred)
... totalVolume Σ 0..1 SimpleQuantity If the certain medication (brand name) is chosen then total volume is the amount of medication in package. If based on just active ingredient then total volume is same as in MedicationStatement TotalPrescribedAmount.
.... value Σ 1..1 decimal Total volume of medication.
.... code ΣC 0..1 code Unit for total volume

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.identifier:packageNumber.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Medication.identifier:prescriptionNumber.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Medication.doseForm Base preferred Ravimvormid . ⏿24.0.0 term.tehik.ee

Constraints

Id Grade Path(s) Description Expression
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()

Differential View

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication Definition of a Medication
... meta
.... versionId 0..1 id Version specific identifier
Example versionId: 1
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:atc 0..1 CodeableConcept Classifications of the product, e.g ATC, narcotic/psychotropic, orphan drug, OTC medication etc.
URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-classification
.... extension:sizeOfItem 0..1 SimpleQuantity Size of medicinal product item (3ml). E.g. total volume of packaged medication is 30ml but it includes 10 items 3ml each.
URL: https://fhir.ee/StructureDefinition/ee-tis-size-of-item
.... extension:name 0..1 string Registered name for the medicinal product.
URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-name
... Slices for identifier 1..* Identifier Package code when medication is prescribed based on specific package. Slice prescriptionNumber is used for grouping medications in TJT. ATC is found in extension.
Slice: Unordered, Open by value:system
.... identifier:packageNumber 1..1 Identifier Business identifier for this medication
..... system 1..1 uri The namespace for the identifier value
Required Pattern: http://ravimiregister.ee/pakendid
.... identifier:prescriptionNumber 0..1 Identifier Business identifier for this medication
..... system 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.ee/CodeSystem/tis-fhir-identifikaatorid/retseptikeskus-retsept
... status 0..0 active | inactive | entered-in-error
... marketingAuthorizationHolder 0..0 Organization that has authorization to market medication
... doseForm 1..1 CodeableConcept Dose form of the medication. E.g powder, tablet, ointment etc.
Binding: Ravimvormid . (preferred)
... totalVolume 0..1 SimpleQuantity If the certain medication (brand name) is chosen then total volume is the amount of medication in package. If based on just active ingredient then total volume is same as in MedicationStatement TotalPrescribedAmount.
.... value 1..1 decimal Total volume of medication.
.... unit 0..0 Unit representation
.... code 0..1 code Unit for total volume
... ingredient
.... item 1..1 CodeableReference(Substance | Medication) Active ingredient from Ravimiregister value set
Binding: Toimeainete loend (preferred)
..... concept
...... text 0..1 string Main ingredient as free text. (Eritoitesegu ja imikute toitesegu puhul, kus konkreetset toimeainet pole välja tuua.)
.... strength[x] 0..1 Ratio Strenght ratio of the active ingredient. (Alati ei pruugi olla tugevust eritoidul)
... batch 0..0 Details about packaged medications
... definition 0..0 Knowledge about this medication

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Medication.doseForm Base preferred Ravimvormid . ⏿24.0.0 term.tehik.ee
Medication.ingredient.​item Base preferred Toimeainete loend 📦1.0.0 This IG

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication Definition of a Medication
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
Example versionId: 1
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:atc 0..1 CodeableConcept Classifications of the product, e.g ATC, narcotic/psychotropic, orphan drug, OTC medication etc.
URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-classification
.... extension:sizeOfItem 0..1 SimpleQuantity Size of medicinal product item (3ml). E.g. total volume of packaged medication is 30ml but it includes 10 items 3ml each.
URL: https://fhir.ee/StructureDefinition/ee-tis-size-of-item
.... extension:name 0..1 string Registered name for the medicinal product.
URL: https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-name
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... Slices for identifier Σ 1..* Identifier Package code when medication is prescribed based on specific package. Slice prescriptionNumber is used for grouping medications in TJT. ATC is found in extension.
Slice: Unordered, Open by value:system
.... identifier:packageNumber Σ 1..1 Identifier Business identifier for this medication
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: http://ravimiregister.ee/pakendid
..... value ΣC 0..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... identifier:prescriptionNumber Σ 0..1 Identifier Business identifier for this medication
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.ee/CodeSystem/tis-fhir-identifikaatorid/retseptikeskus-retsept
..... value ΣC 0..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... doseForm 1..1 CodeableConcept Dose form of the medication. E.g powder, tablet, ointment etc.
Binding: Ravimvormid . (preferred)
... totalVolume Σ 0..1 SimpleQuantity If the certain medication (brand name) is chosen then total volume is the amount of medication in package. If based on just active ingredient then total volume is same as in MedicationStatement TotalPrescribedAmount.
.... 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 Total volume of medication.
.... system ΣC 0..1 uri System that defines coded unit form
.... code ΣC 0..1 code Unit for total volume
... ingredient 0..* 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) Active ingredient from Ravimiregister value set
Binding: Toimeainete loend (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
..... concept Σ 0..1 CodeableConcept Reference to a concept (by class)
...... 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
...... text Σ 0..1 string Main ingredient as free text. (Eritoitesegu ja imikute toitesegu puhul, kus konkreetset toimeainet pole välja tuua.)
..... reference Σ 0..1 Reference() Reference to a resource (by instance)
.... isActive 0..1 boolean Active ingredient indicator
.... strength[x] 0..1 Ratio Strenght ratio of the active ingredient. (Alati ei pruugi olla tugevust eritoidul)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.meta.security Base extensible All Security Labels 📍5.0.0 FHIR Std.
Medication.meta.tag Base example Common Tags 📍5.0.0 FHIR Std.
Medication.language Base required All Languages 📍5.0.0 FHIR Std.
Medication.identifier:packageNumber.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Medication.identifier:packageNumber.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
Medication.identifier:prescriptionNumber.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Medication.identifier:prescriptionNumber.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
Medication.doseForm Base preferred Ravimvormid . ⏿24.0.0 term.tehik.ee
Medication.ingredient.​item Base preferred Toimeainete loend 📦1.0.0 This IG

Constraints

Id Grade Path(s) Description Expression
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()

This structure is derived from Medication

Summary

Mandatory: 4 elements(2 nested mandatory elements)
Prohibited: 6 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Medication.identifier

 

Other representations of profile: CSV, Excel, Schematron