UPTIS FHIR PoC Test Implementation Guide
1.0.0 - draft Estonia flag

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

Resource Profile: EETISMedicationStatement

Official URL: https://fhir.ee/StructureDefinition/ee-tis-medication-statement Version: 1.0.0
Draft as of 2023-10-02 Computable Name: EETISMedicationStatement

Ravimiskeemi rida. One or more Medication Statements form patient's Medication Overview.

Usage:

Formal Views of Profile Content

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

This structure is derived from MedicationStatement

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement MedicationStatement
... text 0..1 Narrative MedicationStatement is part of MedicationOverview representing one treatmentline
... contained 0..0
... Slices for extension Content/Rules for all slices
.... extensionEETISSubstitutionAllowed 0..* CodeableConcept Asendamise mitte-lubamine
URL: https://fhir.ee/StructureDefinition/ee-tis-substitution-allowed
Binding: https://fhir.ee/CodeSystem/ravimi-asendamatuse-pohjus (preferred): Asendamatuse põhjus

.... extensionEETISPrescriptionValidityTime 0..* dateTime Retsepti kehtivuse aeg.
URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-validity-time
.... extensionEETISMedicationLeft 0..* integer Jääk.
URL: https://fhir.ee/StructureDefinition/ee-tis-medication-left
.... extensionEETISTotalPrescribedAmount 0..* integer RAVIMI KOGUHULK ja ÜHIK
URL: https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount
... Slices for modifierExtension Content/Rules for all slices
.... modifierExtension:extensionTISVerification 1..* ExtensionEETISVerification Kinnitamine.
..... Slices for extension Content/Rules for all slices
...... extension:verificationAuthor 1..1 Extension Extension
....... value[x] 1..1 Reference(EETISPractitionerRole) {r} Ravimiskeemi Kinnitaja
... partOf 0..* Reference(MedicationStatement) Part of referenced event
... status 1..1 code recorded | entered-in-error | draft
... Slices for category V 0..* CodeableConcept Type of medication statement
Slice: Unordered, Open by value:coding
.... category:courseOfTherapyType 0..1 CodeableConcept RAVIKUURI TÜÜP. Type of medication statement
Binding: https://fhir.ee/CodeSystem/ravikuuri-tyyp (required)
..... coding 0..* Coding RAVIKUURI TÜÜP. Code defined by a terminology system
.... category:patientReportedCategory 0..* CodeableConcept Patsiendi ütluse põhjal
Binding: http://fhir.ee/CodeSystem/patient-reported (example)
... medication V 1..1 CodeableReference(EETISMedicationEPC) {r} What medication was taken
.... concept 0..0
.... reference 0..1 Reference(EETISMedicationEPC) {r} Reference to a resource (by instance)
... subject V 1..1 Reference(EEBasePatient) {r} Who is/was taking the medication
... encounter 0..0
... effective[x] 0..1 Period Ravimiskeemi rea kehtivus
... informationSource 0..* Reference(EETISPractitioner | EETISPractitionerRole) Ravimiskeemi rea koostaja
... derivedFrom 0..* Reference(EETISMedicationRequest) {r} SEOTUD RETSEPTID. Link to information used to derive the MedicationStatement
... reason 0..* CodeableReference(Condition | Observation | DiagnosticReport) Reason for why the medication is being/was taken
.... concept 0..1 CodeableConcept Diagnoosikoodid (RHK-10)
.... reference 0..0
... note 0..* Annotation Further information about the usage
.... author[x] 1..1 Individual responsible for the annotation
..... authorReference Reference(EETISPractitionerRole | EETISPractitioner | EETISOrganization | EEBasePatient | EETISRelatedPerson)
..... authorString string
... relatedClinicalInformation 0..0
... dosage 0..* EETISDosage Annustamisjuhis
.... additionalInstruction 0..* CodeableConcept LISAJUHIS. Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
.... maxDosePerAdministration
..... unit 0..0
... adherence V 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
MedicationStatement.category:courseOfTherapyTyperequiredhttps://fhir.ee/CodeSystem/ravikuuri-tyyp
https://fhir.ee/CodeSystem/ravikuuri-tyyp
MedicationStatement.category:patientReportedCategoryexamplehttp://fhir.ee/CodeSystem/patient-reported
http://fhir.ee/CodeSystem/patient-reported
NameFlagsCard.TypeDescription & Constraintsdoco
.. 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 MedicationOverview representing one treatmentline
... Slices for extension Content/Rules for all slices
.... extensionEETISSubstitutionAllowed 0..* CodeableConcept Asendamise mitte-lubamine
URL: https://fhir.ee/StructureDefinition/ee-tis-substitution-allowed
Binding: https://fhir.ee/CodeSystem/ravimi-asendamatuse-pohjus (preferred): Asendamatuse põhjus


.... extensionEETISPrescriptionValidityTime 0..* dateTime Retsepti kehtivuse aeg.
URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-validity-time
.... extensionEETISMedicationLeft 0..* integer Jääk.
URL: https://fhir.ee/StructureDefinition/ee-tis-medication-left
.... extensionEETISTotalPrescribedAmount 0..* integer RAVIMI KOGUHULK ja ÜHIK
URL: https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount
.... modifierExtension:extensionTISVerification 1..* ExtensionEETISVerification Kinnitamine.
..... Slices for extension 2..2 Extension Extension
Slice: Unordered, Open by value:url
...... extension:verificationTime 1..1 Extension kinnitamise aeg
....... url 1..1 uri "verificationTime"
...... extension:verificationAuthor 1..1 Extension Extension
....... url 1..1 uri "verificationAuthor"
....... value[x] 1..1 Reference(EETISPractitionerRole) {r} Ravimiskeemi Kinnitaja
Fixed Value: As shown
........ id 0..0 string Unique id for inter-element referencing
........ extension 0..0 Extension Additional content defined by implementations
........ reference 1..1 string Literal reference, Relative, internal or absolute URL
Fixed Value: https://fhir.ee/StructureDefinition/ee-tis-practitioner
........ type 1..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Fixed Value: StructureDefinition
........ identifier 0..0 Identifier Logical reference, when literal reference is not known
........ display 0..0 string Text alternative for the resource
........ reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
Fixed Value: https://fhir.ee/StructureDefinition/EEBasePractitioner
..... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-verification"
... partOf 0..* Reference(MedicationStatement) Part of referenced event
... status ?!Σ 1..1 code recorded | entered-in-error | draft
Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement.

... Slices for category ΣV 0..* CodeableConcept Type of medication statement
Slice: Unordered, Open by value:coding
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 RAVIKUURI TÜÜP. Type of medication statement
Binding: https://fhir.ee/CodeSystem/ravikuuri-tyyp (required)
..... coding Σ 0..* Coding RAVIKUURI TÜÜP. Code defined by a terminology system
.... category:patientReportedCategory Σ 0..* CodeableConcept Patsiendi ütluse põhjal
Binding: http://fhir.ee/CodeSystem/patient-reported (example)
... medication ΣV 1..1 CodeableReference(EETISMedicationEPC) {r} What medication was taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.

.... reference Σ 0..1 Reference(EETISMedicationEPC) {r} Reference to a resource (by instance)
... subject ΣV 1..1 Reference(EEBasePatient) {r} Who is/was taking the medication
... effective[x] Σ 0..1 Period Ravimiskeemi rea kehtivus
... informationSource 0..* Reference(EETISPractitioner | EETISPractitionerRole) Ravimiskeemi rea koostaja
... derivedFrom 0..* Reference(EETISMedicationRequest) {r} SEOTUD RETSEPTID. 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.


.... concept Σ 0..1 CodeableConcept Diagnoosikoodid (RHK-10)
... note 0..* Annotation Further information about the usage
.... author[x] Σ 1..1 Individual responsible for the annotation
..... authorReference Reference(EETISPractitionerRole | EETISPractitioner | EETISOrganization | EEBasePatient | EETISRelatedPerson)
..... authorString string
.... text Σ 1..1 markdown The annotation - text content (as markdown)
... dosage C 0..* EETISDosage Annustamisjuhis
dos-1: AsNeededFor can only be set if AsNeeded is empty or true
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... additionalInstruction Σ 0..* CodeableConcept LISAJUHIS. 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".


.... 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

PathConformanceValueSetURI
MedicationStatement.statusrequiredMedicationStatementStatusCodes
http://hl7.org/fhir/ValueSet/medication-statement-status|5.0.0
from the FHIR Standard
MedicationStatement.categoryexampleMedicationRequestAdministrationLocationCodes
http://hl7.org/fhir/ValueSet/medicationrequest-admin-location
from the FHIR Standard
MedicationStatement.category:courseOfTherapyTyperequiredhttps://fhir.ee/CodeSystem/ravikuuri-tyyp
https://fhir.ee/CodeSystem/ravikuuri-tyyp
MedicationStatement.category:patientReportedCategoryexamplehttp://fhir.ee/CodeSystem/patient-reported
http://fhir.ee/CodeSystem/patient-reported
MedicationStatement.medicationexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationStatement.reasonexampleConditionProblemDiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
from the FHIR Standard
MedicationStatement.dosage.additionalInstructionexampleSNOMEDCTAdditionalDosageInstructions
http://hl7.org/fhir/ValueSet/additional-instruction-codes
from the FHIR Standard
MedicationStatement.dosage.asNeededForexampleSNOMEDCTMedicationAsNeededReasonCodes
http://hl7.org/fhir/ValueSet/medication-as-needed-reason
from the FHIR Standard
MedicationStatement.adherence.codeexampleMedicationStatementAdherenceCodes
http://hl7.org/fhir/ValueSet/medication-statement-adherence
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dos-1errorMedicationStatement.dosageAsNeededFor can only be set if AsNeeded is empty or true
: asNeededFor.empty() or asNeeded.empty() or asNeeded
dom-2errorMedicationStatementIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationStatementIf 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-4errorMedicationStatementIf 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-5errorMedicationStatementIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationStatementA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. 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 MedicationOverview representing one treatmentline
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extensionEETISSubstitutionAllowed 0..* CodeableConcept Asendamise mitte-lubamine
URL: https://fhir.ee/StructureDefinition/ee-tis-substitution-allowed
Binding: https://fhir.ee/CodeSystem/ravimi-asendamatuse-pohjus (preferred): Asendamatuse põhjus


.... extensionEETISPrescriptionValidityTime 0..* dateTime Retsepti kehtivuse aeg.
URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-validity-time
.... extensionEETISMedicationLeft 0..* integer Jääk.
URL: https://fhir.ee/StructureDefinition/ee-tis-medication-left
.... extensionEETISTotalPrescribedAmount 0..* integer RAVIMI KOGUHULK ja ÜHIK
URL: https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount
... Slices for modifierExtension ?!Σ 1..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:extensionTISVerification 1..* ExtensionEETISVerification Kinnitamine.
..... id 0..1 id Unique id for inter-element referencing
..... Slices for extension 2..2 Extension Extension
Slice: Unordered, Open by value:url
...... extension:verificationTime 1..1 Extension kinnitamise aeg
....... 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 "verificationTime"
....... value[x] 0..1 dateTime kinnitamise aeg
...... extension:verificationAuthor 1..1 Extension Extension
....... 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 "verificationAuthor"
....... value[x] 1..1 Reference(EETISPractitionerRole) {r} Ravimiskeemi Kinnitaja
Fixed Value: As shown
........ id 0..0 string Unique id for inter-element referencing
........ extension 0..0 Extension Additional content defined by implementations
........ reference 1..1 string Literal reference, Relative, internal or absolute URL
Fixed Value: https://fhir.ee/StructureDefinition/ee-tis-practitioner
........ type 1..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Fixed Value: StructureDefinition
........ identifier 0..0 Identifier Logical reference, when literal reference is not known
........ display 0..0 string Text alternative for 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
........ reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
Fixed Value: https://fhir.ee/StructureDefinition/EEBasePractitioner
........ 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).


Fixed Value: https://fhir.ee/StructureDefinition/EEBasePractitioner
........ identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
........ display ΣC 0..1 string Text alternative for the resource
..... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-verification"
... identifier Σ 0..* Identifier External identifier
... partOf 0..* Reference(MedicationStatement) Part of referenced event
... status ?!Σ 1..1 code recorded | entered-in-error | draft
Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement.

... Slices for category ΣV 0..* CodeableConcept Type of medication statement
Slice: Unordered, Open by value:coding
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 RAVIKUURI TÜÜP. Type of medication statement
Binding: https://fhir.ee/CodeSystem/ravikuuri-tyyp (required)
..... 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 RAVIKUURI TÜÜP. Code defined by a terminology system
..... text Σ 0..1 string Plain text representation of the concept
.... category:patientReportedCategory Σ 0..* CodeableConcept Patsiendi ütluse põhjal
Binding: http://fhir.ee/CodeSystem/patient-reported (example)
... medication ΣV 1..1 CodeableReference(EETISMedicationEPC) {r} 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
.... reference Σ 0..1 Reference(EETISMedicationEPC) {r} Reference to a resource (by instance)
... subject ΣV 1..1 Reference(EEBasePatient) {r} Who is/was taking the medication
... effective[x] Σ 0..1 Period Ravimiskeemi rea kehtivus
... dateAsserted Σ 0..1 dateTime When the usage was asserted?
... informationSource 0..* Reference(EETISPractitioner | EETISPractitionerRole) Ravimiskeemi rea koostaja
... derivedFrom 0..* Reference(EETISMedicationRequest) {r} SEOTUD RETSEPTID. 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.


.... 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 Diagnoosikoodid (RHK-10)
... note 0..* Annotation Further information about the usage
.... 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] Σ 1..1 Individual responsible for the annotation
..... authorReference Reference(EETISPractitionerRole | EETISPractitioner | EETISOrganization | EEBasePatient | EETISRelatedPerson)
..... 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 C 0..* EETISDosage Annustamisjuhis
dos-1: AsNeededFor can only be set if AsNeeded is empty or true
.... 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 JÄRJEKORD. The order of the dosage instructions
.... text Σ 0..1 string Free text dosage instructions e.g. SIG
Max Length: 1000
.... additionalInstruction Σ 0..* CodeableConcept LISAJUHIS. 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 KOMMENTAAR PATSIENDILE. Patient or consumer oriented instructions
.... timing Σ 0..1 Timing ANNUSTAMISE AEG. 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 ANNUSTAMISE KORDUS. When the event is to occur
tim-1: if there's a duration, there needs to be duration units
tim-2: if there's a period, there needs to be period units
tim-4: duration SHALL be a non-negative value
tim-5: period SHALL be a non-negative value
tim-6: If there's a periodMax, there must be a period
tim-7: If there's a durationMax, there must be a duration
tim-8: If there's a countMax, there must be a count
tim-9: If there's an offset, there must be a when (and not C, CM, CD, CV)
tim-10: If there's a timeOfDay, there cannot be a when, or vice versa
...... 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 KORDUSED. Number of times to repeat
...... countMax ΣC 0..1 positiveInt MAKSIMAALNE KORDUSTE ARV. Maximum number of times to repeat
...... duration ΣC 0..1 decimal KESTUS. How long when it happens
...... durationMax ΣC 0..1 decimal MAKSIMAALNE KESTUS. How long when it happens (Max)
...... durationUnit Σ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).

...... frequency Σ 0..1 positiveInt SAGEDUS. Indicates the number of repetitions that should occur within a period. I.e. Event occurs frequency times per period
...... frequencyMax Σ 0..1 positiveInt MAKSIMAALNE ANNUSTAMISTE ARV. Event occurs up to frequencyMax times per period
...... period ΣC 0..1 decimal KUI SAGEDASTI ANNUSTATAKSE JA ÜHIK. The duration to which the frequency applies. I.e. Event occurs frequency times per period
...... periodMax ΣC 0..1 decimal MAKSIMAALNE PERIOOD ANNUSTAMISE VAHEL. 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 mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required)
...... timeOfDay ΣC 0..* time Time of day for action
...... when ΣC 0..* code MILLEGA SEOTUD. Code for time period of occurrence
Binding: EventTiming (required): Real-world event relating to the schedule.


...... offset ΣC 0..1 unsignedInt PERIOOD ENNE VÕI PÄRAST. 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 VAJADUSEL. 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 KEHAPIIRKOND. 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 MANUSTAMISVIIS. 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 MEETOD. Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.

.... doseAndRate Σ 0..* Element ANNUS JA KIIRUS. 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 RAVIMI KOGUS ANNUSE KOHTA. Amount of medication per dose
...... doseRange Range
...... doseQuantity Quantity(SimpleQuantity)
..... rate[x] Σ 0..1 MANUSTAMISE KIIRUS. Amount of medication per unit of time
...... rateRatio Ratio
...... rateRange Range
...... rateQuantity Quantity(SimpleQuantity)
.... maxDosePerPeriod Σ 0..* Ratio MAKSIMAALNE ANNUS PERIOODIS. Upper limit on medication per unit of time
.... maxDosePerAdministration Σ 0..1 SimpleQuantity MAKSIMAALNE ANNUS ÜHE ANNUSTAMISE KOHTA. Upper limit on medication per administration
..... 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 Σ 0..1 decimal Numerical value (with implicit precision)
..... system ΣC 0..1 uri System that defines coded unit form
..... code ΣC 0..1 code Coded form of the unit
.... maxDosePerLifetime Σ 0..1 SimpleQuantity MAKSIMAALNE ANNUS ELUS. Upper limit on medication per lifetime of the patient

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationStatement.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
from the FHIR Standard
MedicationStatement.modifierExtension:extensionTISVerification.extension:verificationAuthor.value[x].typeextensibleFixed Value: https://fhir.ee/StructureDefinition/EEBasePractitioner
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
MedicationStatement.statusrequiredMedicationStatementStatusCodes
http://hl7.org/fhir/ValueSet/medication-statement-status|5.0.0
from the FHIR Standard
MedicationStatement.categoryexampleMedicationRequestAdministrationLocationCodes
http://hl7.org/fhir/ValueSet/medicationrequest-admin-location
from the FHIR Standard
MedicationStatement.category:courseOfTherapyTyperequiredhttps://fhir.ee/CodeSystem/ravikuuri-tyyp
https://fhir.ee/CodeSystem/ravikuuri-tyyp
MedicationStatement.category:patientReportedCategoryexamplehttp://fhir.ee/CodeSystem/patient-reported
http://fhir.ee/CodeSystem/patient-reported
MedicationStatement.medicationexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationStatement.reasonexampleConditionProblemDiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
from the FHIR Standard
MedicationStatement.dosage.additionalInstructionexampleSNOMEDCTAdditionalDosageInstructions
http://hl7.org/fhir/ValueSet/additional-instruction-codes
from the FHIR Standard
MedicationStatement.dosage.timing.repeat.durationUnitrequiredUnitsOfTime
http://hl7.org/fhir/ValueSet/units-of-time|5.0.0
from the FHIR Standard
MedicationStatement.dosage.timing.repeat.periodUnitrequiredUnitsOfTime
http://hl7.org/fhir/ValueSet/units-of-time|5.0.0
from the FHIR Standard
MedicationStatement.dosage.timing.repeat.dayOfWeekrequiredDaysOfWeek
http://hl7.org/fhir/ValueSet/days-of-week|5.0.0
from the FHIR Standard
MedicationStatement.dosage.timing.repeat.whenrequiredEventTiming
http://hl7.org/fhir/ValueSet/event-timing|5.0.0
from the FHIR Standard
MedicationStatement.dosage.timing.codepreferredTimingAbbreviation
http://hl7.org/fhir/ValueSet/timing-abbreviation
from the FHIR Standard
MedicationStatement.dosage.asNeededForexampleSNOMEDCTMedicationAsNeededReasonCodes
http://hl7.org/fhir/ValueSet/medication-as-needed-reason
from the FHIR Standard
MedicationStatement.dosage.siteexampleSNOMEDCTAnatomicalStructureAdministrationSites
http://hl7.org/fhir/ValueSet/approach-site-codes
from the FHIR Standard
MedicationStatement.dosage.routeexampleSNOMEDCTRouteCodes
http://hl7.org/fhir/ValueSet/route-codes
from the FHIR Standard
MedicationStatement.dosage.methodexampleSNOMEDCTAdministrationMethodCodes
http://hl7.org/fhir/ValueSet/administration-method-codes
from the FHIR Standard
MedicationStatement.dosage.doseAndRate.typeexampleDoseAndRateType
http://terminology.hl7.org/ValueSet/dose-rate-type
MedicationStatement.adherence.codeexampleMedicationStatementAdherenceCodes
http://hl7.org/fhir/ValueSet/medication-statement-adherence
from the FHIR Standard
MedicationStatement.adherence.reasonexampleSNOMEDCTDrugTherapyStatusCodes
http://hl7.org/fhir/ValueSet/reason-medication-status-codes
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dos-1errorMedicationStatement.dosageAsNeededFor can only be set if AsNeeded is empty or true
: asNeededFor.empty() or asNeeded.empty() or asNeeded
dom-2errorMedicationStatementIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationStatementIf 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-4errorMedicationStatementIf 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-5errorMedicationStatementIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationStatementA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
tim-1errorMedicationStatement.dosage.timing.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorMedicationStatement.dosage.timing.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorMedicationStatement.dosage.timing.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorMedicationStatement.dosage.timing.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorMedicationStatement.dosage.timing.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorMedicationStatement.dosage.timing.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorMedicationStatement.dosage.timing.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorMedicationStatement.dosage.timing.repeatIf 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-10errorMedicationStatement.dosage.timing.repeatIf there's a timeOfDay, there cannot be a when, or vice versa
: timeOfDay.empty() or when.empty()

Differential View

This structure is derived from MedicationStatement

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement MedicationStatement
... text 0..1 Narrative MedicationStatement is part of MedicationOverview representing one treatmentline
... contained 0..0
... Slices for extension Content/Rules for all slices
.... extensionEETISSubstitutionAllowed 0..* CodeableConcept Asendamise mitte-lubamine
URL: https://fhir.ee/StructureDefinition/ee-tis-substitution-allowed
Binding: https://fhir.ee/CodeSystem/ravimi-asendamatuse-pohjus (preferred): Asendamatuse põhjus

.... extensionEETISPrescriptionValidityTime 0..* dateTime Retsepti kehtivuse aeg.
URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-validity-time
.... extensionEETISMedicationLeft 0..* integer Jääk.
URL: https://fhir.ee/StructureDefinition/ee-tis-medication-left
.... extensionEETISTotalPrescribedAmount 0..* integer RAVIMI KOGUHULK ja ÜHIK
URL: https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount
... Slices for modifierExtension Content/Rules for all slices
.... modifierExtension:extensionTISVerification 1..* ExtensionEETISVerification Kinnitamine.
..... Slices for extension Content/Rules for all slices
...... extension:verificationAuthor 1..1 Extension Extension
....... value[x] 1..1 Reference(EETISPractitionerRole) {r} Ravimiskeemi Kinnitaja
... partOf 0..* Reference(MedicationStatement) Part of referenced event
... status 1..1 code recorded | entered-in-error | draft
... Slices for category V 0..* CodeableConcept Type of medication statement
Slice: Unordered, Open by value:coding
.... category:courseOfTherapyType 0..1 CodeableConcept RAVIKUURI TÜÜP. Type of medication statement
Binding: https://fhir.ee/CodeSystem/ravikuuri-tyyp (required)
..... coding 0..* Coding RAVIKUURI TÜÜP. Code defined by a terminology system
.... category:patientReportedCategory 0..* CodeableConcept Patsiendi ütluse põhjal
Binding: http://fhir.ee/CodeSystem/patient-reported (example)
... medication V 1..1 CodeableReference(EETISMedicationEPC) {r} What medication was taken
.... concept 0..0
.... reference 0..1 Reference(EETISMedicationEPC) {r} Reference to a resource (by instance)
... subject V 1..1 Reference(EEBasePatient) {r} Who is/was taking the medication
... encounter 0..0
... effective[x] 0..1 Period Ravimiskeemi rea kehtivus
... informationSource 0..* Reference(EETISPractitioner | EETISPractitionerRole) Ravimiskeemi rea koostaja
... derivedFrom 0..* Reference(EETISMedicationRequest) {r} SEOTUD RETSEPTID. Link to information used to derive the MedicationStatement
... reason 0..* CodeableReference(Condition | Observation | DiagnosticReport) Reason for why the medication is being/was taken
.... concept 0..1 CodeableConcept Diagnoosikoodid (RHK-10)
.... reference 0..0
... note 0..* Annotation Further information about the usage
.... author[x] 1..1 Individual responsible for the annotation
..... authorReference Reference(EETISPractitionerRole | EETISPractitioner | EETISOrganization | EEBasePatient | EETISRelatedPerson)
..... authorString string
... relatedClinicalInformation 0..0
... dosage 0..* EETISDosage Annustamisjuhis
.... additionalInstruction 0..* CodeableConcept LISAJUHIS. Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
.... maxDosePerAdministration
..... unit 0..0
... adherence V 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
MedicationStatement.category:courseOfTherapyTyperequiredhttps://fhir.ee/CodeSystem/ravikuuri-tyyp
https://fhir.ee/CodeSystem/ravikuuri-tyyp
MedicationStatement.category:patientReportedCategoryexamplehttp://fhir.ee/CodeSystem/patient-reported
http://fhir.ee/CodeSystem/patient-reported

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. 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 MedicationOverview representing one treatmentline
... Slices for extension Content/Rules for all slices
.... extensionEETISSubstitutionAllowed 0..* CodeableConcept Asendamise mitte-lubamine
URL: https://fhir.ee/StructureDefinition/ee-tis-substitution-allowed
Binding: https://fhir.ee/CodeSystem/ravimi-asendamatuse-pohjus (preferred): Asendamatuse põhjus


.... extensionEETISPrescriptionValidityTime 0..* dateTime Retsepti kehtivuse aeg.
URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-validity-time
.... extensionEETISMedicationLeft 0..* integer Jääk.
URL: https://fhir.ee/StructureDefinition/ee-tis-medication-left
.... extensionEETISTotalPrescribedAmount 0..* integer RAVIMI KOGUHULK ja ÜHIK
URL: https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount
.... modifierExtension:extensionTISVerification 1..* ExtensionEETISVerification Kinnitamine.
..... Slices for extension 2..2 Extension Extension
Slice: Unordered, Open by value:url
...... extension:verificationTime 1..1 Extension kinnitamise aeg
....... url 1..1 uri "verificationTime"
...... extension:verificationAuthor 1..1 Extension Extension
....... url 1..1 uri "verificationAuthor"
....... value[x] 1..1 Reference(EETISPractitionerRole) {r} Ravimiskeemi Kinnitaja
Fixed Value: As shown
........ id 0..0 string Unique id for inter-element referencing
........ extension 0..0 Extension Additional content defined by implementations
........ reference 1..1 string Literal reference, Relative, internal or absolute URL
Fixed Value: https://fhir.ee/StructureDefinition/ee-tis-practitioner
........ type 1..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Fixed Value: StructureDefinition
........ identifier 0..0 Identifier Logical reference, when literal reference is not known
........ display 0..0 string Text alternative for the resource
........ reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
Fixed Value: https://fhir.ee/StructureDefinition/EEBasePractitioner
..... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-verification"
... partOf 0..* Reference(MedicationStatement) Part of referenced event
... status ?!Σ 1..1 code recorded | entered-in-error | draft
Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement.

... Slices for category ΣV 0..* CodeableConcept Type of medication statement
Slice: Unordered, Open by value:coding
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 RAVIKUURI TÜÜP. Type of medication statement
Binding: https://fhir.ee/CodeSystem/ravikuuri-tyyp (required)
..... coding Σ 0..* Coding RAVIKUURI TÜÜP. Code defined by a terminology system
.... category:patientReportedCategory Σ 0..* CodeableConcept Patsiendi ütluse põhjal
Binding: http://fhir.ee/CodeSystem/patient-reported (example)
... medication ΣV 1..1 CodeableReference(EETISMedicationEPC) {r} What medication was taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.

.... reference Σ 0..1 Reference(EETISMedicationEPC) {r} Reference to a resource (by instance)
... subject ΣV 1..1 Reference(EEBasePatient) {r} Who is/was taking the medication
... effective[x] Σ 0..1 Period Ravimiskeemi rea kehtivus
... informationSource 0..* Reference(EETISPractitioner | EETISPractitionerRole) Ravimiskeemi rea koostaja
... derivedFrom 0..* Reference(EETISMedicationRequest) {r} SEOTUD RETSEPTID. 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.


.... concept Σ 0..1 CodeableConcept Diagnoosikoodid (RHK-10)
... note 0..* Annotation Further information about the usage
.... author[x] Σ 1..1 Individual responsible for the annotation
..... authorReference Reference(EETISPractitionerRole | EETISPractitioner | EETISOrganization | EEBasePatient | EETISRelatedPerson)
..... authorString string
.... text Σ 1..1 markdown The annotation - text content (as markdown)
... dosage C 0..* EETISDosage Annustamisjuhis
dos-1: AsNeededFor can only be set if AsNeeded is empty or true
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... additionalInstruction Σ 0..* CodeableConcept LISAJUHIS. 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".


.... 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

PathConformanceValueSetURI
MedicationStatement.statusrequiredMedicationStatementStatusCodes
http://hl7.org/fhir/ValueSet/medication-statement-status|5.0.0
from the FHIR Standard
MedicationStatement.categoryexampleMedicationRequestAdministrationLocationCodes
http://hl7.org/fhir/ValueSet/medicationrequest-admin-location
from the FHIR Standard
MedicationStatement.category:courseOfTherapyTyperequiredhttps://fhir.ee/CodeSystem/ravikuuri-tyyp
https://fhir.ee/CodeSystem/ravikuuri-tyyp
MedicationStatement.category:patientReportedCategoryexamplehttp://fhir.ee/CodeSystem/patient-reported
http://fhir.ee/CodeSystem/patient-reported
MedicationStatement.medicationexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationStatement.reasonexampleConditionProblemDiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
from the FHIR Standard
MedicationStatement.dosage.additionalInstructionexampleSNOMEDCTAdditionalDosageInstructions
http://hl7.org/fhir/ValueSet/additional-instruction-codes
from the FHIR Standard
MedicationStatement.dosage.asNeededForexampleSNOMEDCTMedicationAsNeededReasonCodes
http://hl7.org/fhir/ValueSet/medication-as-needed-reason
from the FHIR Standard
MedicationStatement.adherence.codeexampleMedicationStatementAdherenceCodes
http://hl7.org/fhir/ValueSet/medication-statement-adherence
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dos-1errorMedicationStatement.dosageAsNeededFor can only be set if AsNeeded is empty or true
: asNeededFor.empty() or asNeeded.empty() or asNeeded
dom-2errorMedicationStatementIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationStatementIf 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-4errorMedicationStatementIf 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-5errorMedicationStatementIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationStatementA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. 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 MedicationOverview representing one treatmentline
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extensionEETISSubstitutionAllowed 0..* CodeableConcept Asendamise mitte-lubamine
URL: https://fhir.ee/StructureDefinition/ee-tis-substitution-allowed
Binding: https://fhir.ee/CodeSystem/ravimi-asendamatuse-pohjus (preferred): Asendamatuse põhjus


.... extensionEETISPrescriptionValidityTime 0..* dateTime Retsepti kehtivuse aeg.
URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-validity-time
.... extensionEETISMedicationLeft 0..* integer Jääk.
URL: https://fhir.ee/StructureDefinition/ee-tis-medication-left
.... extensionEETISTotalPrescribedAmount 0..* integer RAVIMI KOGUHULK ja ÜHIK
URL: https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount
... Slices for modifierExtension ?!Σ 1..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:extensionTISVerification 1..* ExtensionEETISVerification Kinnitamine.
..... id 0..1 id Unique id for inter-element referencing
..... Slices for extension 2..2 Extension Extension
Slice: Unordered, Open by value:url
...... extension:verificationTime 1..1 Extension kinnitamise aeg
....... 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 "verificationTime"
....... value[x] 0..1 dateTime kinnitamise aeg
...... extension:verificationAuthor 1..1 Extension Extension
....... 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 "verificationAuthor"
....... value[x] 1..1 Reference(EETISPractitionerRole) {r} Ravimiskeemi Kinnitaja
Fixed Value: As shown
........ id 0..0 string Unique id for inter-element referencing
........ extension 0..0 Extension Additional content defined by implementations
........ reference 1..1 string Literal reference, Relative, internal or absolute URL
Fixed Value: https://fhir.ee/StructureDefinition/ee-tis-practitioner
........ type 1..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Fixed Value: StructureDefinition
........ identifier 0..0 Identifier Logical reference, when literal reference is not known
........ display 0..0 string Text alternative for 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
........ reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
Fixed Value: https://fhir.ee/StructureDefinition/EEBasePractitioner
........ 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).


Fixed Value: https://fhir.ee/StructureDefinition/EEBasePractitioner
........ identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
........ display ΣC 0..1 string Text alternative for the resource
..... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-verification"
... identifier Σ 0..* Identifier External identifier
... partOf 0..* Reference(MedicationStatement) Part of referenced event
... status ?!Σ 1..1 code recorded | entered-in-error | draft
Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement.

... Slices for category ΣV 0..* CodeableConcept Type of medication statement
Slice: Unordered, Open by value:coding
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 RAVIKUURI TÜÜP. Type of medication statement
Binding: https://fhir.ee/CodeSystem/ravikuuri-tyyp (required)
..... 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 RAVIKUURI TÜÜP. Code defined by a terminology system
..... text Σ 0..1 string Plain text representation of the concept
.... category:patientReportedCategory Σ 0..* CodeableConcept Patsiendi ütluse põhjal
Binding: http://fhir.ee/CodeSystem/patient-reported (example)
... medication ΣV 1..1 CodeableReference(EETISMedicationEPC) {r} 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
.... reference Σ 0..1 Reference(EETISMedicationEPC) {r} Reference to a resource (by instance)
... subject ΣV 1..1 Reference(EEBasePatient) {r} Who is/was taking the medication
... effective[x] Σ 0..1 Period Ravimiskeemi rea kehtivus
... dateAsserted Σ 0..1 dateTime When the usage was asserted?
... informationSource 0..* Reference(EETISPractitioner | EETISPractitionerRole) Ravimiskeemi rea koostaja
... derivedFrom 0..* Reference(EETISMedicationRequest) {r} SEOTUD RETSEPTID. 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.


.... 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 Diagnoosikoodid (RHK-10)
... note 0..* Annotation Further information about the usage
.... 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] Σ 1..1 Individual responsible for the annotation
..... authorReference Reference(EETISPractitionerRole | EETISPractitioner | EETISOrganization | EEBasePatient | EETISRelatedPerson)
..... 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 C 0..* EETISDosage Annustamisjuhis
dos-1: AsNeededFor can only be set if AsNeeded is empty or true
.... 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 JÄRJEKORD. The order of the dosage instructions
.... text Σ 0..1 string Free text dosage instructions e.g. SIG
Max Length: 1000
.... additionalInstruction Σ 0..* CodeableConcept LISAJUHIS. 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 KOMMENTAAR PATSIENDILE. Patient or consumer oriented instructions
.... timing Σ 0..1 Timing ANNUSTAMISE AEG. 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 ANNUSTAMISE KORDUS. When the event is to occur
tim-1: if there's a duration, there needs to be duration units
tim-2: if there's a period, there needs to be period units
tim-4: duration SHALL be a non-negative value
tim-5: period SHALL be a non-negative value
tim-6: If there's a periodMax, there must be a period
tim-7: If there's a durationMax, there must be a duration
tim-8: If there's a countMax, there must be a count
tim-9: If there's an offset, there must be a when (and not C, CM, CD, CV)
tim-10: If there's a timeOfDay, there cannot be a when, or vice versa
...... 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 KORDUSED. Number of times to repeat
...... countMax ΣC 0..1 positiveInt MAKSIMAALNE KORDUSTE ARV. Maximum number of times to repeat
...... duration ΣC 0..1 decimal KESTUS. How long when it happens
...... durationMax ΣC 0..1 decimal MAKSIMAALNE KESTUS. How long when it happens (Max)
...... durationUnit Σ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).

...... frequency Σ 0..1 positiveInt SAGEDUS. Indicates the number of repetitions that should occur within a period. I.e. Event occurs frequency times per period
...... frequencyMax Σ 0..1 positiveInt MAKSIMAALNE ANNUSTAMISTE ARV. Event occurs up to frequencyMax times per period
...... period ΣC 0..1 decimal KUI SAGEDASTI ANNUSTATAKSE JA ÜHIK. The duration to which the frequency applies. I.e. Event occurs frequency times per period
...... periodMax ΣC 0..1 decimal MAKSIMAALNE PERIOOD ANNUSTAMISE VAHEL. 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 mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required)
...... timeOfDay ΣC 0..* time Time of day for action
...... when ΣC 0..* code MILLEGA SEOTUD. Code for time period of occurrence
Binding: EventTiming (required): Real-world event relating to the schedule.


...... offset ΣC 0..1 unsignedInt PERIOOD ENNE VÕI PÄRAST. 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 VAJADUSEL. 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 KEHAPIIRKOND. 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 MANUSTAMISVIIS. 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 MEETOD. Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.

.... doseAndRate Σ 0..* Element ANNUS JA KIIRUS. 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 RAVIMI KOGUS ANNUSE KOHTA. Amount of medication per dose
...... doseRange Range
...... doseQuantity Quantity(SimpleQuantity)
..... rate[x] Σ 0..1 MANUSTAMISE KIIRUS. Amount of medication per unit of time
...... rateRatio Ratio
...... rateRange Range
...... rateQuantity Quantity(SimpleQuantity)
.... maxDosePerPeriod Σ 0..* Ratio MAKSIMAALNE ANNUS PERIOODIS. Upper limit on medication per unit of time
.... maxDosePerAdministration Σ 0..1 SimpleQuantity MAKSIMAALNE ANNUS ÜHE ANNUSTAMISE KOHTA. Upper limit on medication per administration
..... 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 Σ 0..1 decimal Numerical value (with implicit precision)
..... system ΣC 0..1 uri System that defines coded unit form
..... code ΣC 0..1 code Coded form of the unit
.... maxDosePerLifetime Σ 0..1 SimpleQuantity MAKSIMAALNE ANNUS ELUS. Upper limit on medication per lifetime of the patient

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
MedicationStatement.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
from the FHIR Standard
MedicationStatement.modifierExtension:extensionTISVerification.extension:verificationAuthor.value[x].typeextensibleFixed Value: https://fhir.ee/StructureDefinition/EEBasePractitioner
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
MedicationStatement.statusrequiredMedicationStatementStatusCodes
http://hl7.org/fhir/ValueSet/medication-statement-status|5.0.0
from the FHIR Standard
MedicationStatement.categoryexampleMedicationRequestAdministrationLocationCodes
http://hl7.org/fhir/ValueSet/medicationrequest-admin-location
from the FHIR Standard
MedicationStatement.category:courseOfTherapyTyperequiredhttps://fhir.ee/CodeSystem/ravikuuri-tyyp
https://fhir.ee/CodeSystem/ravikuuri-tyyp
MedicationStatement.category:patientReportedCategoryexamplehttp://fhir.ee/CodeSystem/patient-reported
http://fhir.ee/CodeSystem/patient-reported
MedicationStatement.medicationexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationStatement.reasonexampleConditionProblemDiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
from the FHIR Standard
MedicationStatement.dosage.additionalInstructionexampleSNOMEDCTAdditionalDosageInstructions
http://hl7.org/fhir/ValueSet/additional-instruction-codes
from the FHIR Standard
MedicationStatement.dosage.timing.repeat.durationUnitrequiredUnitsOfTime
http://hl7.org/fhir/ValueSet/units-of-time|5.0.0
from the FHIR Standard
MedicationStatement.dosage.timing.repeat.periodUnitrequiredUnitsOfTime
http://hl7.org/fhir/ValueSet/units-of-time|5.0.0
from the FHIR Standard
MedicationStatement.dosage.timing.repeat.dayOfWeekrequiredDaysOfWeek
http://hl7.org/fhir/ValueSet/days-of-week|5.0.0
from the FHIR Standard
MedicationStatement.dosage.timing.repeat.whenrequiredEventTiming
http://hl7.org/fhir/ValueSet/event-timing|5.0.0
from the FHIR Standard
MedicationStatement.dosage.timing.codepreferredTimingAbbreviation
http://hl7.org/fhir/ValueSet/timing-abbreviation
from the FHIR Standard
MedicationStatement.dosage.asNeededForexampleSNOMEDCTMedicationAsNeededReasonCodes
http://hl7.org/fhir/ValueSet/medication-as-needed-reason
from the FHIR Standard
MedicationStatement.dosage.siteexampleSNOMEDCTAnatomicalStructureAdministrationSites
http://hl7.org/fhir/ValueSet/approach-site-codes
from the FHIR Standard
MedicationStatement.dosage.routeexampleSNOMEDCTRouteCodes
http://hl7.org/fhir/ValueSet/route-codes
from the FHIR Standard
MedicationStatement.dosage.methodexampleSNOMEDCTAdministrationMethodCodes
http://hl7.org/fhir/ValueSet/administration-method-codes
from the FHIR Standard
MedicationStatement.dosage.doseAndRate.typeexampleDoseAndRateType
http://terminology.hl7.org/ValueSet/dose-rate-type
MedicationStatement.adherence.codeexampleMedicationStatementAdherenceCodes
http://hl7.org/fhir/ValueSet/medication-statement-adherence
from the FHIR Standard
MedicationStatement.adherence.reasonexampleSNOMEDCTDrugTherapyStatusCodes
http://hl7.org/fhir/ValueSet/reason-medication-status-codes
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dos-1errorMedicationStatement.dosageAsNeededFor can only be set if AsNeeded is empty or true
: asNeededFor.empty() or asNeeded.empty() or asNeeded
dom-2errorMedicationStatementIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationStatementIf 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-4errorMedicationStatementIf 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-5errorMedicationStatementIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationStatementA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
tim-1errorMedicationStatement.dosage.timing.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorMedicationStatement.dosage.timing.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorMedicationStatement.dosage.timing.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorMedicationStatement.dosage.timing.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorMedicationStatement.dosage.timing.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorMedicationStatement.dosage.timing.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorMedicationStatement.dosage.timing.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorMedicationStatement.dosage.timing.repeatIf 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-10errorMedicationStatement.dosage.timing.repeatIf there's a timeOfDay, there cannot be a when, or vice versa
: timeOfDay.empty() or when.empty()

 

Other representations of profile: CSV, Excel, Schematron