Medication Scheme Implementation Guide
1.0.0 - draft Estonia flag

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: EETISMedicationStatementFoodSupplement

Official URL: https://fhir.ee/StructureDefinition/ee-tis-medication-statement-food-supplement Version: 1.0.0
Draft as of 2024-02-23 Computable Name: EETISMedicationStatementFoodSupplement

Ravimiskeemi rida toidulisandile. Medication Statement for (patient reported) food supplements.

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
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative MedicationStatement is part of Medication Scheme representing one treatmentline
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
.... extension:extensionEETISCancelledStatusReason 0..1 CodeableConcept Reason for cancelling the prescription.
URL: https://fhir.ee/StructureDefinition/ee-tis-cancelled-status-reason
Binding: ER_Annulleerimise põhjendused . (preferred)
.... extension:extensionEETISVerification 0..* (Complex) Verification of medication scheme
URL: https://fhir.ee/StructureDefinition/ee-tis-verification
.... extension:ExtensionEETISPrescriptionChange 0..* (Complex) Changes on prescription - who changed, when and reason.
URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-change
.... extension:ExtensionEETISGroupedItems 0..* (Complex) Used when there is a need to group several items that contain data about the same line of medication prescribed to the patient.
URL: https://fhir.ee/StructureDefinition/ee-tis-grouped-items
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... partOf 0..* Reference(EETISMedicationStatement) Part of referenced event
... status ?!Σ 1..1 code A code representing the status of recording the medication statement. recorded = KINNITATUD; draft = KINNITAMATA
Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement.
... Slices for category Σ 0..* CodeableConcept Type of medication statement
Slice: Unordered, Open by pattern:$this
Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.
.... category:courseOfTherapyType Σ 0..1 CodeableConcept What type of medication course is
Binding: ER_Ravikuuritüüp . (required): RAVIKUURI TÜÜP. LOEND. pidev | fikseeritud | vajadusel | muutuv | ühekordne |
... medication Σ 1..1 CodeableReference(Medication | EETISMedicationEPC) What medication was taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.
... subject Σ 1..1 Reference(EE MPI Patient Verified) Who is/was taking the medication
... effective[x] Σ 0..1 Period Time period when the treatment line begins and ends
... informationSource 0..* Reference(EETISPractitioner | EETISPractitionerRole) Initial author of the MedicationStatement. The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationStatement is derived from other resources, e.g. Claim or MedicationRequest.
... note 0..* Annotation Siia saab kirjutada märkusi ravimiskeemi rea kohta.
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(EETISPractitionerRole | EETISPractitioner)
..... authorString string
.... text Σ 1..1 markdown The annotation - text content (as markdown)
... dosage 0..* EETISDosage Details of how medication is/was taken or should be taken
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... text Σ 0..1 string Free text dosage instructions e.g. SIG
Max Length:1000
.... patientInstruction Σ 0..1 string Comments or remarks about the food supplements that patient reports.
.... asNeededFor ΣC 0..1 CodeableConcept Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​status Base required MedicationStatement Status Codes 📍5.0.0 FHIR Std.
MedicationStatement.​category Base example medicationRequest Administration Location Codes 📍5.0.0 FHIR Std.
MedicationStatement.​category:courseOfTherapyType Base required ER_Ravikuuritüüp . ⏿3.0.0 term.tehik.ee
MedicationStatement.​medication Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.asNeededFor Base example SNOMED CT Medication As Needed Reason Codes 📍5.0.0 FHIR Std.
MedicationStatement.​adherence.code Base example MedicationStatement Adherence Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement 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 MedicationStatement 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 MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement 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 MedicationStatement

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
... text 0..1 Narrative MedicationStatement is part of Medication Scheme representing one treatmentline
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:extensionEETISCancelledStatusReason 0..1 CodeableConcept Reason for cancelling the prescription.
URL: https://fhir.ee/StructureDefinition/ee-tis-cancelled-status-reason
Binding: ER_Annulleerimise põhjendused . (preferred)
.... extension:extensionEETISVerification 0..* (Complex) Verification of medication scheme
URL: https://fhir.ee/StructureDefinition/ee-tis-verification
.... extension:ExtensionEETISPrescriptionChange 0..* (Complex) Changes on prescription - who changed, when and reason.
URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-change
.... extension:ExtensionEETISGroupedItems 0..* (Complex) Used when there is a need to group several items that contain data about the same line of medication prescribed to the patient.
URL: https://fhir.ee/StructureDefinition/ee-tis-grouped-items
... partOf 0..* Reference(EETISMedicationStatement) Part of referenced event
... Slices for category 0..* CodeableConcept Type of medication statement
Slice: Unordered, Open by pattern:$this
.... category:courseOfTherapyType 0..1 CodeableConcept What type of medication course is
Binding: ER_Ravikuuritüüp . (required): RAVIKUURI TÜÜP. LOEND. pidev | fikseeritud | vajadusel | muutuv | ühekordne |
... medication 1..1 CodeableReference(Medication | EETISMedicationEPC) What medication was taken
.... reference
..... display 0..1 string Patient reported food supplement in free form text. This is in use until there is no integration with food supplement database jvis.agri.ee
... subject 1..1 Reference(EE MPI Patient Verified) Who is/was taking the medication
... encounter 0..0
... effective[x] 0..1 Period Time period when the treatment line begins and ends
... informationSource 0..* Reference(EETISPractitioner | EETISPractitionerRole) Initial author of the MedicationStatement. The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationStatement is derived from other resources, e.g. Claim or MedicationRequest.
... note 0..* Annotation Siia saab kirjutada märkusi ravimiskeemi rea kohta.
.... author[x] 0..1 Individual responsible for the annotation
..... authorReference Reference(EETISPractitionerRole | EETISPractitioner)
..... authorString string
... relatedClinicalInformation 0..0
... dosage 0..* EETISDosage Details of how medication is/was taken or should be taken
.... patientInstruction 0..1 string Comments or remarks about the food supplements that patient reports.
... adherence 0..0

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationStatement.​category:courseOfTherapyType Base required ER_Ravikuuritüüp . ⏿3.0.0 term.tehik.ee
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
... 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
... text 0..1 Narrative MedicationStatement is part of Medication Scheme representing one treatmentline
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:extensionEETISCancelledStatusReason 0..1 CodeableConcept Reason for cancelling the prescription.
URL: https://fhir.ee/StructureDefinition/ee-tis-cancelled-status-reason
Binding: ER_Annulleerimise põhjendused . (preferred)
.... extension:extensionEETISVerification 0..* (Complex) Verification of medication scheme
URL: https://fhir.ee/StructureDefinition/ee-tis-verification
.... extension:ExtensionEETISPrescriptionChange 0..* (Complex) Changes on prescription - who changed, when and reason.
URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-change
.... extension:ExtensionEETISGroupedItems 0..* (Complex) Used when there is a need to group several items that contain data about the same line of medication prescribed to the patient.
URL: https://fhir.ee/StructureDefinition/ee-tis-grouped-items
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External identifier
... partOf 0..* Reference(EETISMedicationStatement) Part of referenced event
... status ?!Σ 1..1 code A code representing the status of recording the medication statement. recorded = KINNITATUD; draft = KINNITAMATA
Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement.
... Slices for category Σ 0..* CodeableConcept Type of medication statement
Slice: Unordered, Open by pattern:$this
Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.
.... category:courseOfTherapyType Σ 0..1 CodeableConcept What type of medication course is
Binding: ER_Ravikuuritüüp . (required): RAVIKUURI TÜÜP. LOEND. pidev | fikseeritud | vajadusel | muutuv | ühekordne |
... medication Σ 1..1 CodeableReference(Medication | EETISMedicationEPC) What medication was taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.
.... 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)
.... reference Σ 0..1 Reference() Reference to a resource (by instance)
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
..... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
..... display ΣC 0..1 string Patient reported food supplement in free form text. This is in use until there is no integration with food supplement database jvis.agri.ee
... subject Σ 1..1 Reference(EE MPI Patient Verified) Who is/was taking the medication
... effective[x] Σ 0..1 Period Time period when the treatment line begins and ends
... dateAsserted Σ 0..1 dateTime When the usage was asserted?
... informationSource 0..* Reference(EETISPractitioner | EETISPractitionerRole) Initial author of the MedicationStatement. The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationStatement is derived from other resources, e.g. Claim or MedicationRequest.
... derivedFrom 0..* Reference(Resource) Link to information used to derive the MedicationStatement
... reason 0..* CodeableReference(Condition | Observation | DiagnosticReport) Reason for why the medication is being/was taken
Binding: ConditionProblemDiagnosisCodes (example): A coded concept identifying why the medication is being taken.
... note 0..* Annotation Siia saab kirjutada märkusi ravimiskeemi rea kohta.
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(EETISPractitionerRole | EETISPractitioner)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)
... renderedDosageInstruction 0..1 markdown Full representation of the dosage instructions
... dosage 0..* EETISDosage Details of how medication is/was taken or should be taken
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... sequence Σ 0..1 integer The order of the dosage instructions
.... text Σ 0..1 string Free text dosage instructions e.g. SIG
Max Length:1000
.... additionalInstruction Σ 0..* CodeableConcept Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery".
.... patientInstruction Σ 0..1 string Comments or remarks about the food supplements that patient reports.
.... timing Σ 0..1 Timing When medication should be administered
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... event Σ 0..* dateTime When the event occurs
..... repeat ΣC 0..1 Element When the event is to occur.
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... bounds[x] Σ 0..1 Length/Range of lengths, or (Start and/or end) limits.
Slice: Unordered, Open by type:$this
....... boundsDuration Duration
....... boundsRange Range
....... boundsPeriod Period
...... count ΣC 0..1 positiveInt Number of times to repeat
...... countMax ΣC 0..1 positiveInt Maximum number of times to repeat
...... duration ΣC 0..1 decimal How long when it happens
...... durationMax ΣC 0..1 decimal How long when it happens (Max)
...... durationUnit ΣC 0..1 code The units of time for the duration.
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
...... frequency Σ 0..1 positiveInt Indicates the number of repetitions that should occur within a period. I.e. Event occurs frequency times per period
...... frequencyMax Σ 0..1 positiveInt Event occurs up to frequencyMax times per period
...... period ΣC 0..1 decimal The duration to which the frequency applies. I.e. Event occurs frequency times per period
...... periodMax ΣC 0..1 decimal Upper limit of period (3-4 hours)
...... periodUnit ΣC 0..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
...... dayOfWeek Σ 0..* code If one or more days of week is provided, then the action happens only on the specified day(s).
Binding: DaysOfWeek (required)
...... timeOfDay ΣC 0..* time Specified time of day for action to take place.
...... when ΣC 0..* code Code for time period of occurrence
Binding: EventTiming (required): Real-world event relating to the schedule.
...... offset ΣC 0..1 unsignedInt Minutes from event (before or after)
..... code Σ 0..1 CodeableConcept C | BID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern.
.... asNeeded ΣC 0..1 boolean Take "as needed"
.... asNeededFor ΣC 0..1 CodeableConcept Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc.
.... site Σ 0..1 CodeableConcept Body site to administer to
Binding: SNOMEDCTAnatomicalStructureAdministrationSites (example): A coded concept describing the site location the medicine enters into or onto the body.
.... route Σ 0..1 CodeableConcept How drug should enter body
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.
.... method Σ 0..1 CodeableConcept Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.
.... doseAndRate Σ 0..* Element Amount of medication administered, to be administered or typical amount to be administered
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... type Σ 0..1 CodeableConcept The kind of dose or rate specified
Binding: DoseAndRateType (example): The kind of dose or rate specified.
..... dose[x] Σ 0..1 Amount of medication per dose
...... doseRange Range
...... doseQuantity Quantity(SimpleQuantity)
..... rate[x] Σ 0..1 Amount of medication per unit of time
...... rateRatio Ratio
...... rateRange Range
...... rateQuantity Quantity(SimpleQuantity)
.... maxDosePerPeriod Σ 0..* Ratio Upper limit on medication per unit of time
.... maxDosePerAdministration Σ 0..1 SimpleQuantity(5.0.0) Upper limit on medication per administration
.... maxDosePerLifetime Σ 0..1 SimpleQuantity(5.0.0) Upper limit on medication per lifetime of the patient

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​language Base required All Languages 📍5.0.0 FHIR Std.
MedicationStatement.​status Base required MedicationStatement Status Codes 📍5.0.0 FHIR Std.
MedicationStatement.​category Base example medicationRequest Administration Location Codes 📍5.0.0 FHIR Std.
MedicationStatement.​category:courseOfTherapyType Base required ER_Ravikuuritüüp . ⏿3.0.0 term.tehik.ee
MedicationStatement.​medication Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.
MedicationStatement.​medication.reference.​type Base extensible Resource Types 📍5.0.0 FHIR Std.
MedicationStatement.​reason Base example Condition/Problem/Diagnosis Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.additionalInstruction Base example SNOMED CT Additional Dosage Instructions 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.repeat.​durationUnit Base required UnitsOfTime 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.repeat.​periodUnit Base required UnitsOfTime 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.repeat.​dayOfWeek Base required Days Of Week 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.repeat.​when Base required EventTiming 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.code Base preferred TimingAbbreviation 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.asNeededFor Base example SNOMED CT Medication As Needed Reason Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.route Base example SNOMED CT Route Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.method Base example SNOMED CT Administration Method Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.doseAndRate.type Base example DoseAndRateType 📦1.0.0 THO v6.5
MedicationStatement.​adherence.code Base example MedicationStatement Adherence Codes 📍5.0.0 FHIR Std.
MedicationStatement.​adherence.reason Base example SNOMED CT Drug Therapy Status codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement 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 MedicationStatement 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 MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement 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()
tim-1 error MedicationStatement.dosage.timing.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error MedicationStatement.dosage.timing.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error MedicationStatement.dosage.timing.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error MedicationStatement.dosage.timing.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error MedicationStatement.dosage.timing.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error MedicationStatement.dosage.timing.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error MedicationStatement.dosage.timing.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error MedicationStatement.dosage.timing.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and when.select($this in ('C' | 'CM' | 'CD' | 'CV')).allFalse())
tim-10 error MedicationStatement.dosage.timing.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative MedicationStatement is part of Medication Scheme representing one treatmentline
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
.... extension:extensionEETISCancelledStatusReason 0..1 CodeableConcept Reason for cancelling the prescription.
URL: https://fhir.ee/StructureDefinition/ee-tis-cancelled-status-reason
Binding: ER_Annulleerimise põhjendused . (preferred)
.... extension:extensionEETISVerification 0..* (Complex) Verification of medication scheme
URL: https://fhir.ee/StructureDefinition/ee-tis-verification
.... extension:ExtensionEETISPrescriptionChange 0..* (Complex) Changes on prescription - who changed, when and reason.
URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-change
.... extension:ExtensionEETISGroupedItems 0..* (Complex) Used when there is a need to group several items that contain data about the same line of medication prescribed to the patient.
URL: https://fhir.ee/StructureDefinition/ee-tis-grouped-items
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... partOf 0..* Reference(EETISMedicationStatement) Part of referenced event
... status ?!Σ 1..1 code A code representing the status of recording the medication statement. recorded = KINNITATUD; draft = KINNITAMATA
Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement.
... Slices for category Σ 0..* CodeableConcept Type of medication statement
Slice: Unordered, Open by pattern:$this
Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.
.... category:courseOfTherapyType Σ 0..1 CodeableConcept What type of medication course is
Binding: ER_Ravikuuritüüp . (required): RAVIKUURI TÜÜP. LOEND. pidev | fikseeritud | vajadusel | muutuv | ühekordne |
... medication Σ 1..1 CodeableReference(Medication | EETISMedicationEPC) What medication was taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.
... subject Σ 1..1 Reference(EE MPI Patient Verified) Who is/was taking the medication
... effective[x] Σ 0..1 Period Time period when the treatment line begins and ends
... informationSource 0..* Reference(EETISPractitioner | EETISPractitionerRole) Initial author of the MedicationStatement. The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationStatement is derived from other resources, e.g. Claim or MedicationRequest.
... note 0..* Annotation Siia saab kirjutada märkusi ravimiskeemi rea kohta.
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(EETISPractitionerRole | EETISPractitioner)
..... authorString string
.... text Σ 1..1 markdown The annotation - text content (as markdown)
... dosage 0..* EETISDosage Details of how medication is/was taken or should be taken
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... text Σ 0..1 string Free text dosage instructions e.g. SIG
Max Length:1000
.... patientInstruction Σ 0..1 string Comments or remarks about the food supplements that patient reports.
.... asNeededFor ΣC 0..1 CodeableConcept Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​status Base required MedicationStatement Status Codes 📍5.0.0 FHIR Std.
MedicationStatement.​category Base example medicationRequest Administration Location Codes 📍5.0.0 FHIR Std.
MedicationStatement.​category:courseOfTherapyType Base required ER_Ravikuuritüüp . ⏿3.0.0 term.tehik.ee
MedicationStatement.​medication Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.asNeededFor Base example SNOMED CT Medication As Needed Reason Codes 📍5.0.0 FHIR Std.
MedicationStatement.​adherence.code Base example MedicationStatement Adherence Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement 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 MedicationStatement 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 MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement 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 MedicationStatement

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
... text 0..1 Narrative MedicationStatement is part of Medication Scheme representing one treatmentline
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:extensionEETISCancelledStatusReason 0..1 CodeableConcept Reason for cancelling the prescription.
URL: https://fhir.ee/StructureDefinition/ee-tis-cancelled-status-reason
Binding: ER_Annulleerimise põhjendused . (preferred)
.... extension:extensionEETISVerification 0..* (Complex) Verification of medication scheme
URL: https://fhir.ee/StructureDefinition/ee-tis-verification
.... extension:ExtensionEETISPrescriptionChange 0..* (Complex) Changes on prescription - who changed, when and reason.
URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-change
.... extension:ExtensionEETISGroupedItems 0..* (Complex) Used when there is a need to group several items that contain data about the same line of medication prescribed to the patient.
URL: https://fhir.ee/StructureDefinition/ee-tis-grouped-items
... partOf 0..* Reference(EETISMedicationStatement) Part of referenced event
... Slices for category 0..* CodeableConcept Type of medication statement
Slice: Unordered, Open by pattern:$this
.... category:courseOfTherapyType 0..1 CodeableConcept What type of medication course is
Binding: ER_Ravikuuritüüp . (required): RAVIKUURI TÜÜP. LOEND. pidev | fikseeritud | vajadusel | muutuv | ühekordne |
... medication 1..1 CodeableReference(Medication | EETISMedicationEPC) What medication was taken
.... reference
..... display 0..1 string Patient reported food supplement in free form text. This is in use until there is no integration with food supplement database jvis.agri.ee
... subject 1..1 Reference(EE MPI Patient Verified) Who is/was taking the medication
... encounter 0..0
... effective[x] 0..1 Period Time period when the treatment line begins and ends
... informationSource 0..* Reference(EETISPractitioner | EETISPractitionerRole) Initial author of the MedicationStatement. The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationStatement is derived from other resources, e.g. Claim or MedicationRequest.
... note 0..* Annotation Siia saab kirjutada märkusi ravimiskeemi rea kohta.
.... author[x] 0..1 Individual responsible for the annotation
..... authorReference Reference(EETISPractitionerRole | EETISPractitioner)
..... authorString string
... relatedClinicalInformation 0..0
... dosage 0..* EETISDosage Details of how medication is/was taken or should be taken
.... patientInstruction 0..1 string Comments or remarks about the food supplements that patient reports.
... adherence 0..0

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationStatement.​category:courseOfTherapyType Base required ER_Ravikuuritüüp . ⏿3.0.0 term.tehik.ee

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
... 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
... text 0..1 Narrative MedicationStatement is part of Medication Scheme representing one treatmentline
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:extensionEETISCancelledStatusReason 0..1 CodeableConcept Reason for cancelling the prescription.
URL: https://fhir.ee/StructureDefinition/ee-tis-cancelled-status-reason
Binding: ER_Annulleerimise põhjendused . (preferred)
.... extension:extensionEETISVerification 0..* (Complex) Verification of medication scheme
URL: https://fhir.ee/StructureDefinition/ee-tis-verification
.... extension:ExtensionEETISPrescriptionChange 0..* (Complex) Changes on prescription - who changed, when and reason.
URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-change
.... extension:ExtensionEETISGroupedItems 0..* (Complex) Used when there is a need to group several items that contain data about the same line of medication prescribed to the patient.
URL: https://fhir.ee/StructureDefinition/ee-tis-grouped-items
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External identifier
... partOf 0..* Reference(EETISMedicationStatement) Part of referenced event
... status ?!Σ 1..1 code A code representing the status of recording the medication statement. recorded = KINNITATUD; draft = KINNITAMATA
Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement.
... Slices for category Σ 0..* CodeableConcept Type of medication statement
Slice: Unordered, Open by pattern:$this
Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.
.... category:courseOfTherapyType Σ 0..1 CodeableConcept What type of medication course is
Binding: ER_Ravikuuritüüp . (required): RAVIKUURI TÜÜP. LOEND. pidev | fikseeritud | vajadusel | muutuv | ühekordne |
... medication Σ 1..1 CodeableReference(Medication | EETISMedicationEPC) What medication was taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.
.... 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)
.... reference Σ 0..1 Reference() Reference to a resource (by instance)
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
..... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
..... display ΣC 0..1 string Patient reported food supplement in free form text. This is in use until there is no integration with food supplement database jvis.agri.ee
... subject Σ 1..1 Reference(EE MPI Patient Verified) Who is/was taking the medication
... effective[x] Σ 0..1 Period Time period when the treatment line begins and ends
... dateAsserted Σ 0..1 dateTime When the usage was asserted?
... informationSource 0..* Reference(EETISPractitioner | EETISPractitionerRole) Initial author of the MedicationStatement. The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationStatement is derived from other resources, e.g. Claim or MedicationRequest.
... derivedFrom 0..* Reference(Resource) Link to information used to derive the MedicationStatement
... reason 0..* CodeableReference(Condition | Observation | DiagnosticReport) Reason for why the medication is being/was taken
Binding: ConditionProblemDiagnosisCodes (example): A coded concept identifying why the medication is being taken.
... note 0..* Annotation Siia saab kirjutada märkusi ravimiskeemi rea kohta.
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(EETISPractitionerRole | EETISPractitioner)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)
... renderedDosageInstruction 0..1 markdown Full representation of the dosage instructions
... dosage 0..* EETISDosage Details of how medication is/was taken or should be taken
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... sequence Σ 0..1 integer The order of the dosage instructions
.... text Σ 0..1 string Free text dosage instructions e.g. SIG
Max Length:1000
.... additionalInstruction Σ 0..* CodeableConcept Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery".
.... patientInstruction Σ 0..1 string Comments or remarks about the food supplements that patient reports.
.... timing Σ 0..1 Timing When medication should be administered
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... event Σ 0..* dateTime When the event occurs
..... repeat ΣC 0..1 Element When the event is to occur.
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... bounds[x] Σ 0..1 Length/Range of lengths, or (Start and/or end) limits.
Slice: Unordered, Open by type:$this
....... boundsDuration Duration
....... boundsRange Range
....... boundsPeriod Period
...... count ΣC 0..1 positiveInt Number of times to repeat
...... countMax ΣC 0..1 positiveInt Maximum number of times to repeat
...... duration ΣC 0..1 decimal How long when it happens
...... durationMax ΣC 0..1 decimal How long when it happens (Max)
...... durationUnit ΣC 0..1 code The units of time for the duration.
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
...... frequency Σ 0..1 positiveInt Indicates the number of repetitions that should occur within a period. I.e. Event occurs frequency times per period
...... frequencyMax Σ 0..1 positiveInt Event occurs up to frequencyMax times per period
...... period ΣC 0..1 decimal The duration to which the frequency applies. I.e. Event occurs frequency times per period
...... periodMax ΣC 0..1 decimal Upper limit of period (3-4 hours)
...... periodUnit ΣC 0..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
...... dayOfWeek Σ 0..* code If one or more days of week is provided, then the action happens only on the specified day(s).
Binding: DaysOfWeek (required)
...... timeOfDay ΣC 0..* time Specified time of day for action to take place.
...... when ΣC 0..* code Code for time period of occurrence
Binding: EventTiming (required): Real-world event relating to the schedule.
...... offset ΣC 0..1 unsignedInt Minutes from event (before or after)
..... code Σ 0..1 CodeableConcept C | BID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern.
.... asNeeded ΣC 0..1 boolean Take "as needed"
.... asNeededFor ΣC 0..1 CodeableConcept Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc.
.... site Σ 0..1 CodeableConcept Body site to administer to
Binding: SNOMEDCTAnatomicalStructureAdministrationSites (example): A coded concept describing the site location the medicine enters into or onto the body.
.... route Σ 0..1 CodeableConcept How drug should enter body
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.
.... method Σ 0..1 CodeableConcept Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.
.... doseAndRate Σ 0..* Element Amount of medication administered, to be administered or typical amount to be administered
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... type Σ 0..1 CodeableConcept The kind of dose or rate specified
Binding: DoseAndRateType (example): The kind of dose or rate specified.
..... dose[x] Σ 0..1 Amount of medication per dose
...... doseRange Range
...... doseQuantity Quantity(SimpleQuantity)
..... rate[x] Σ 0..1 Amount of medication per unit of time
...... rateRatio Ratio
...... rateRange Range
...... rateQuantity Quantity(SimpleQuantity)
.... maxDosePerPeriod Σ 0..* Ratio Upper limit on medication per unit of time
.... maxDosePerAdministration Σ 0..1 SimpleQuantity(5.0.0) Upper limit on medication per administration
.... maxDosePerLifetime Σ 0..1 SimpleQuantity(5.0.0) Upper limit on medication per lifetime of the patient

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​language Base required All Languages 📍5.0.0 FHIR Std.
MedicationStatement.​status Base required MedicationStatement Status Codes 📍5.0.0 FHIR Std.
MedicationStatement.​category Base example medicationRequest Administration Location Codes 📍5.0.0 FHIR Std.
MedicationStatement.​category:courseOfTherapyType Base required ER_Ravikuuritüüp . ⏿3.0.0 term.tehik.ee
MedicationStatement.​medication Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.
MedicationStatement.​medication.reference.​type Base extensible Resource Types 📍5.0.0 FHIR Std.
MedicationStatement.​reason Base example Condition/Problem/Diagnosis Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.additionalInstruction Base example SNOMED CT Additional Dosage Instructions 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.repeat.​durationUnit Base required UnitsOfTime 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.repeat.​periodUnit Base required UnitsOfTime 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.repeat.​dayOfWeek Base required Days Of Week 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.repeat.​when Base required EventTiming 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.code Base preferred TimingAbbreviation 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.asNeededFor Base example SNOMED CT Medication As Needed Reason Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.route Base example SNOMED CT Route Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.method Base example SNOMED CT Administration Method Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.doseAndRate.type Base example DoseAndRateType 📦1.0.0 THO v6.5
MedicationStatement.​adherence.code Base example MedicationStatement Adherence Codes 📍5.0.0 FHIR Std.
MedicationStatement.​adherence.reason Base example SNOMED CT Drug Therapy Status codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement 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 MedicationStatement 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 MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement 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()
tim-1 error MedicationStatement.dosage.timing.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error MedicationStatement.dosage.timing.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error MedicationStatement.dosage.timing.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error MedicationStatement.dosage.timing.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error MedicationStatement.dosage.timing.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error MedicationStatement.dosage.timing.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error MedicationStatement.dosage.timing.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error MedicationStatement.dosage.timing.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and when.select($this in ('C' | 'CM' | 'CD' | 'CV')).allFalse())
tim-10 error MedicationStatement.dosage.timing.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()

 

Other representations of profile: CSV, Excel, Schematron