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

Official URL: https://fhir.ee/StructureDefinition/ee-tis-prescription Version: 1.0.0
Draft as of 2024-02-21 Computable Name: EETISPrescription

Retsept. This is a profile for medication prescription.

Usage:

Formal Views of Profile Content

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

This structure is derived from MedicationRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest MedicationRequest
... meta
.... lastUpdated 0..1 instant When the resource version last changed
Example ajanäidis: 2023-09-25T12:12:12+00:01
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... dispensationAuthorization 1..1 CodeableConcept Defines the authorization of the prescription.
URL: https://fhir.ee/StructureDefinition/ee-tis-dispensation-authorization
Binding: ER_Volituse liik (required)
.... lockStatus 0..1 (Complex) Used only when requesting unauthorized medication.
URL: https://fhir.ee/StructureDefinition/ee-tis-lock-status
.... extensionEETISUnauthorizedProductRequest 0..* (Complex) Used for requesting marketing permit for unauthorized medication.
URL: https://fhir.ee/StructureDefinition/ee-tis-unauthorized-product-request
.... extensionEETISTotalPrescribedAmount 0..* SimpleQuantity How much in total there is medication prescribed on one Medication Request. Used for calculating the current status of how much medication is left on one Medication Statement row.
URL: https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount
.... extensionEETISReimbursementRate 0..* (Complex) Reimbursement rate and reason of prescription medicine.
URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate
.... extensionEETISPrescriptionChange 0..* (Complex) Changes on prescription - who changed, when and reason.
URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-change
... identifier 0..1 Identifier Identifier for the prescription.
.... system 0..1 uri Identifier system uri for Estonian Prescription Centre prescriptions
Required Pattern: https://fhir.ee/CodeSystem/tis-fhir-identifikaatorid/retseptikeskus-retsept
.... value 0..1 string Prescription number
.... assigner 0..1 Reference(EETISOrganization) Organization that issued id (may be just text)
... basedOn 0..1 Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) A plan or request that is fulfilled in whole or in part by this medication request
... priorPrescription 0..0
... status 1..1 code active | on-hold | ended | stopped | completed | cancelled | entered-in-error | draft | unknown
... statusReason 0..1 CodeableConcept Reason for current status. Used only when prescription is "cancelled".
Binding: ER_Annulleerimise põhjendused (required): Annulleerimise põhjus loend

... intent 1..1 code By default all requests are "order", unauthorized medication requests are initially "proposal" and when positively solved change to "order"
... Slices for category 0..* CodeableConcept Grouping or category of medication request
Slice: Unordered, Open by value:coding.system
.... category:prescriptionCategory 0..1 CodeableConcept tavaretsept | narkootilise ravimi retsept | meditsiiniseadme retsept
Binding: ER_Retsepti liik (required): RETSEPTI LIIK. LOEND.

..... coding
...... system 1..1 uri Identity of the terminology system
Required Pattern: https://fhir.ee/CodeSystem/retsepti-liik
.... category:repeatCategory 0..1 CodeableConcept 1-kordne | 2-kordne | 3-kordne| 6-kordne
Binding: ER_Retsepti kordsus (required): Retsepti kordsuse loend

..... coding
...... system 1..1 uri Identity of the terminology system
Required Pattern: https://fhir.ee/CodeSystem/retsepti-kordsus
... priority 0..0
... doNotPerform 0..0
... medication 1..1 CodeableReference(EETISMedicationEPC | EETISMedicationExtemporal) {r} Medication to be taken
... subject 1..1 Reference(EE MPI Patient Verified) {r} Patient for who is the request made for.
... informationSource 0..* Reference(EETISPractitionerRole | EETISPractitioner) If prescription is cancelled by someone else than original prescriber it must be filled here. Original prescriber remains in requester field.
... encounter 0..0
... authoredOn 1..1 dateTime When the prescription was made.
... requester 0..1 Reference(EETISPractitionerRole | EETISPractitioner) {c} Who/What requested the Request. Initial author of the request. NB! See also the differenece between informationSource
... reported 0..0
... performerType 0..0
... performer 0..0
... device 0..0
... recorder 0..0
... reason 1..1 CodeableReference(Condition | Observation) Diagnosis according to ICD-10. Reason or indication for ordering or not ordering the medication
Binding: https://fhir.ee/ValueSet/rhk-10 (preferred): RHK-10

... courseOfTherapyType 0..1 CodeableConcept pidev | fikseeritud | vajadusel | muutuv | ühekordne
Binding: ER_Ravikuuritüüp (required): RAVIKUURI TÜÜP. Loend

.... coding 0..* Coding pidev | fikseeritud | vajadusel | muutuv | ühekordne
... insurance 0..0
... note 0..1 Annotation Comment from the request author only.
.... author[x] 0..0
.... time 0..0
... renderedDosageInstruction 0..0
... effectiveDosePeriod 0..0
... dosageInstruction 1..* EETISDosage Dosage
.... sequence 0..0
.... additionalInstruction 0..0
.... timing
..... event 0..0
..... repeat
...... countMax 0..0
...... duration 0..0
...... durationMax 0..0
...... frequency 0..1 positiveInt Mitu korda (ajaühikus).
...... frequencyMax 0..0
...... period 0..1 decimal The duration to which the frequency applies. I.e. Event occurs frequency times per period
...... periodMax 0..0
...... periodUnit 0..1 code The units of time for the period in UCUM units
...... dayOfWeek 0..0
...... when 0..0
...... offset 0..0
..... code 0..0
.... asNeeded 0..0
.... site 0..0
.... route 0..0
.... method 0..0
.... doseAndRate 1..1 Element Amount of medication administered, to be administered or typical amount to be administered
..... type 0..0
..... dose[x] 0..1 SimpleQuantity A fixed quantity (no comparator)
..... rate[x] 0..0
.... maxDosePerPeriod 0..0
.... maxDosePerAdministration 0..0
.... maxDosePerLifetime 0..0
... dispenseRequest 0..1 BackboneElement Indicates the specific details for the dispense or medication supply part of a medication request.
.... id 0..0
.... initialFill 0..0
.... dispenseInterval 0..0
.... validityPeriod 1..1 Period Time period supply is authorized for
.... numberOfRepeatsAllowed 0..0
.... quantity 0..0
.... expectedSupplyDuration 0..0
.... dispenser 0..1 Reference(EETISOrganization) {r} Intended performer of dispense
.... dispenserInstruction 0..0
.... doseAdministrationAid 0..0
... substitution 0..1 BackboneElement Asendamine. Any restrictions on medication substitution
.... allowed[x] 1..1 boolean True if the prescriber allows a different drug to be dispensed from what was prescribed.
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: ER_Asendamatuse põhjus (preferred): Asendamatuse põhjus. Loend

..... coding 0..* Coding Code defined by a terminology system
Binding: ER_Asendamatuse põhjus (preferred): Asendamise keelamise loend

... eventHistory 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
MedicationRequest.statusReasonrequiredRetseptiAnnulleerimisePohjus (a valid code from ER_Annulleerimise põhjendused)
https://fhir.ee/ValueSet/retsepti-annulleerimise-pohjus
from this IG
MedicationRequest.category:prescriptionCategoryrequiredRetseptiLiik (a valid code from ER_Retsepti liik)
https://fhir.ee/ValueSet/retsepti-liik
from this IG
MedicationRequest.category:repeatCategoryrequiredRetseptiKordsus (a valid code from ER_Retsepti kordsus)
https://fhir.ee/ValueSet/retsepti-kordsus
from this IG
MedicationRequest.reasonpreferredhttps://fhir.ee/ValueSet/rhk-10
https://fhir.ee/ValueSet/rhk-10
MedicationRequest.courseOfTherapyTyperequiredRavikuuriTyyp (a valid code from ER_Ravikuuritüüp)
https://fhir.ee/ValueSet/ravikuuri-tyyp
from this IG
MedicationRequest.substitution.reasonpreferredRavimiAsendamatusePohjus (a valid code from ER_Asendamatuse põhjus)
https://fhir.ee/ValueSet/ravimi-asendamatuse-pohjus
from this IG
MedicationRequest.substitution.reason.codingpreferredRavimiAsendamatusePohjus (a valid code from ER_Asendamatuse põhjus)
https://fhir.ee/ValueSet/ravimi-asendamatuse-pohjus
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... dispensationAuthorization 1..1 CodeableConcept Defines the authorization of the prescription.
URL: https://fhir.ee/StructureDefinition/ee-tis-dispensation-authorization
Binding: ER_Volituse liik (required)
.... lockStatus 0..1 (Complex) Used only when requesting unauthorized medication.
URL: https://fhir.ee/StructureDefinition/ee-tis-lock-status
.... extensionEETISUnauthorizedProductRequest 0..* (Complex) Used for requesting marketing permit for unauthorized medication.
URL: https://fhir.ee/StructureDefinition/ee-tis-unauthorized-product-request
.... extensionEETISTotalPrescribedAmount 0..* SimpleQuantity How much in total there is medication prescribed on one Medication Request. Used for calculating the current status of how much medication is left on one Medication Statement row.
URL: https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount
.... extensionEETISReimbursementRate 0..* (Complex) Reimbursement rate and reason of prescription medicine.
URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate
.... extensionEETISPrescriptionChange 0..* (Complex) Changes on prescription - who changed, when and reason.
URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-change
... identifier 0..1 Identifier Identifier for the prescription.
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... system Σ 0..1 uri Identifier system uri for Estonian Prescription Centre prescriptions
Required Pattern: https://fhir.ee/CodeSystem/tis-fhir-identifikaatorid/retseptikeskus-retsept
.... value ΣC 0..1 string Prescription number
Example General: 123456
.... assigner Σ 0..1 Reference(EETISOrganization) Organization that issued id (may be just text)
... basedOn Σ 0..1 Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) A plan or request that is fulfilled in whole or in part by this medication request
... status ?!Σ 1..1 code active | on-hold | ended | stopped | completed | cancelled | entered-in-error | draft | unknown
Binding: MedicationrequestStatus (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.

... statusReason 0..1 CodeableConcept Reason for current status. Used only when prescription is "cancelled".
Binding: ER_Annulleerimise põhjendused (required): Annulleerimise põhjus loend

... intent ?!Σ 1..1 code By default all requests are "order", unauthorized medication requests are initially "proposal" and when positively solved change to "order"
Binding: MedicationRequestIntent (required): The kind of medication order.

... Slices for category 0..* CodeableConcept Grouping or category of medication request
Slice: Unordered, Open by value:coding.system
Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication is to be consumed or administered.


.... category:prescriptionCategory 0..1 CodeableConcept tavaretsept | narkootilise ravimi retsept | meditsiiniseadme retsept
Binding: ER_Retsepti liik (required): RETSEPTI LIIK. LOEND.


.... category:repeatCategory 0..1 CodeableConcept 1-kordne | 2-kordne | 3-kordne| 6-kordne
Binding: ER_Retsepti kordsus (required): Retsepti kordsuse loend


... medication Σ 1..1 CodeableReference(EETISMedicationEPC | EETISMedicationExtemporal) {r} Medication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.

... subject Σ 1..1 Reference(EE MPI Patient Verified) {r} Patient for who is the request made for.
... informationSource 0..* Reference(EETISPractitionerRole | EETISPractitioner) If prescription is cancelled by someone else than original prescriber it must be filled here. Original prescriber remains in requester field.
... authoredOn Σ 1..1 dateTime When the prescription was made.
... requester Σ 0..1 Reference(EETISPractitionerRole | EETISPractitioner) {c} Who/What requested the Request. Initial author of the request. NB! See also the differenece between informationSource
... reason 1..1 CodeableReference(Condition | Observation) Diagnosis according to ICD-10. Reason or indication for ordering or not ordering the medication
Binding: https://fhir.ee/ValueSet/rhk-10 (preferred): RHK-10


... courseOfTherapyType 0..1 CodeableConcept pidev | fikseeritud | vajadusel | muutuv | ühekordne
Binding: ER_Ravikuuritüüp (required): RAVIKUURI TÜÜP. Loend

.... coding Σ 0..* Coding pidev | fikseeritud | vajadusel | muutuv | ühekordne
... note 0..1 Annotation Comment from the request author only.
.... text Σ 1..1 markdown The annotation - text content (as markdown)
... dosageInstruction C 1..* EETISDosage Dosage
dos-1: AsNeededFor can only be set if AsNeeded is empty or true
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... 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.


.... doseAndRate Σ 1..1 Element Amount of medication administered, to be administered or typical amount to be administered
..... dose[x] C 0..1 SimpleQuantity A fixed quantity (no comparator)
qty-3: If a code for the unit is present, the system SHALL also be present
sqty-1: The comparator is not used on a SimpleQuantity
... dispenseRequest 0..1 BackboneElement Indicates the specific details for the dispense or medication supply part of a medication request.
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... validityPeriod 1..1 Period Time period supply is authorized for
.... dispenser 0..1 Reference(EETISOrganization) {r} Intended performer of dispense
... substitution 0..1 BackboneElement Asendamine. Any restrictions on medication substitution
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... allowed[x] 1..1 boolean True if the prescriber allows a different drug to be dispensed from what was prescribed.
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: ER_Asendamatuse põhjus (preferred): Asendamatuse põhjus. Loend

..... coding Σ 0..* Coding Code defined by a terminology system
Binding: ER_Asendamatuse põhjus (preferred): Asendamise keelamise loend



doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
MedicationRequest.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
from the FHIR Standard
MedicationRequest.statusrequiredMedicationrequestStatus
http://hl7.org/fhir/ValueSet/medicationrequest-status|5.0.0
from the FHIR Standard
MedicationRequest.statusReasonrequiredRetseptiAnnulleerimisePohjus (a valid code from ER_Annulleerimise põhjendused)
https://fhir.ee/ValueSet/retsepti-annulleerimise-pohjus
from this IG
MedicationRequest.intentrequiredMedicationRequestIntent
http://hl7.org/fhir/ValueSet/medicationrequest-intent|5.0.0
from the FHIR Standard
MedicationRequest.categoryexampleMedicationRequestAdministrationLocationCodes
http://hl7.org/fhir/ValueSet/medicationrequest-admin-location
from the FHIR Standard
MedicationRequest.category:prescriptionCategoryrequiredRetseptiLiik (a valid code from ER_Retsepti liik)
https://fhir.ee/ValueSet/retsepti-liik
from this IG
MedicationRequest.category:repeatCategoryrequiredRetseptiKordsus (a valid code from ER_Retsepti kordsus)
https://fhir.ee/ValueSet/retsepti-kordsus
from this IG
MedicationRequest.medicationexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationRequest.reasonpreferredhttps://fhir.ee/ValueSet/rhk-10
https://fhir.ee/ValueSet/rhk-10
MedicationRequest.courseOfTherapyTyperequiredRavikuuriTyyp (a valid code from ER_Ravikuuritüüp)
https://fhir.ee/ValueSet/ravikuuri-tyyp
from this IG
MedicationRequest.dosageInstruction.asNeededForexampleSNOMEDCTMedicationAsNeededReasonCodes
http://hl7.org/fhir/ValueSet/medication-as-needed-reason
from the FHIR Standard
MedicationRequest.substitution.reasonpreferredRavimiAsendamatusePohjus (a valid code from ER_Asendamatuse põhjus)
https://fhir.ee/ValueSet/ravimi-asendamatuse-pohjus
from this IG
MedicationRequest.substitution.reason.codingpreferredRavimiAsendamatusePohjus (a valid code from ER_Asendamatuse põhjus)
https://fhir.ee/ValueSet/ravimi-asendamatuse-pohjus
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dos-1errorMedicationRequest.dosageInstructionAsNeededFor can only be set if AsNeeded is empty or true
: asNeededFor.empty() or asNeeded.empty() or asNeeded
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf 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-4errorMedicationRequestIf 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-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA 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()
qty-3errorMedicationRequest.dosageInstruction.doseAndRate.dose[x]If a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
sqty-1errorMedicationRequest.dosageInstruction.doseAndRate.dose[x]The comparator is not used on a SimpleQuantity
: comparator.empty()
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
Example ajanäidis: 2023-09-25T12:12:12+00:01
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: AllLanguages (required): IETF language tag for a human language

Additional BindingsPurpose
CommonLanguages Starter Set
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... dispensationAuthorization 1..1 CodeableConcept Defines the authorization of the prescription.
URL: https://fhir.ee/StructureDefinition/ee-tis-dispensation-authorization
Binding: ER_Volituse liik (required)
.... lockStatus 0..1 (Complex) Used only when requesting unauthorized medication.
URL: https://fhir.ee/StructureDefinition/ee-tis-lock-status
.... extensionEETISUnauthorizedProductRequest 0..* (Complex) Used for requesting marketing permit for unauthorized medication.
URL: https://fhir.ee/StructureDefinition/ee-tis-unauthorized-product-request
.... extensionEETISTotalPrescribedAmount 0..* SimpleQuantity How much in total there is medication prescribed on one Medication Request. Used for calculating the current status of how much medication is left on one Medication Statement row.
URL: https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount
.... extensionEETISReimbursementRate 0..* (Complex) Reimbursement rate and reason of prescription medicine.
URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate
.... extensionEETISPrescriptionChange 0..* (Complex) Changes on prescription - who changed, when and reason.
URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-change
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier 0..1 Identifier Identifier for the prescription.
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ 0..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

.... system Σ 0..1 uri Identifier system uri for Estonian Prescription Centre prescriptions
Required Pattern: https://fhir.ee/CodeSystem/tis-fhir-identifikaatorid/retseptikeskus-retsept
.... value ΣC 0..1 string Prescription number
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(EETISOrganization) Organization that issued id (may be just text)
... basedOn Σ 0..1 Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) A plan or request that is fulfilled in whole or in part by this medication request
... groupIdentifier Σ 0..1 Identifier Composite request this is part of
... status ?!Σ 1..1 code active | on-hold | ended | stopped | completed | cancelled | entered-in-error | draft | unknown
Binding: MedicationrequestStatus (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.

... statusReason 0..1 CodeableConcept Reason for current status. Used only when prescription is "cancelled".
Binding: ER_Annulleerimise põhjendused (required): Annulleerimise põhjus loend

... statusChanged 0..1 dateTime When the status was changed
... intent ?!Σ 1..1 code By default all requests are "order", unauthorized medication requests are initially "proposal" and when positively solved change to "order"
Binding: MedicationRequestIntent (required): The kind of medication order.

... Slices for category 0..* CodeableConcept Grouping or category of medication request
Slice: Unordered, Open by value:coding.system
Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication is to be consumed or administered.


.... category:prescriptionCategory 0..1 CodeableConcept tavaretsept | narkootilise ravimi retsept | meditsiiniseadme retsept
Binding: ER_Retsepti liik (required): RETSEPTI LIIK. LOEND.


..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ 0..* Coding Code defined by a terminology system
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: https://fhir.ee/CodeSystem/retsepti-liik
...... version Σ 0..1 string Version of the system - if relevant
...... code ΣC 0..1 code Symbol in syntax defined by the system
...... display ΣC 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Plain text representation of the concept
.... category:repeatCategory 0..1 CodeableConcept 1-kordne | 2-kordne | 3-kordne| 6-kordne
Binding: ER_Retsepti kordsus (required): Retsepti kordsuse loend


..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ 0..* Coding Code defined by a terminology system
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: https://fhir.ee/CodeSystem/retsepti-kordsus
...... version Σ 0..1 string Version of the system - if relevant
...... code ΣC 0..1 code Symbol in syntax defined by the system
...... display ΣC 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Plain text representation of the concept
... medication Σ 1..1 CodeableReference(EETISMedicationEPC | EETISMedicationExtemporal) {r} Medication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.

... subject Σ 1..1 Reference(EE MPI Patient Verified) {r} Patient for who is the request made for.
... informationSource 0..* Reference(EETISPractitionerRole | EETISPractitioner) If prescription is cancelled by someone else than original prescriber it must be filled here. Original prescriber remains in requester field.
... supportingInformation 0..* Reference(Resource) Information to support fulfilling of the medication
... authoredOn Σ 1..1 dateTime When the prescription was made.
... requester Σ 0..1 Reference(EETISPractitionerRole | EETISPractitioner) {c} Who/What requested the Request. Initial author of the request. NB! See also the differenece between informationSource
... reason 1..1 CodeableReference(Condition | Observation) Diagnosis according to ICD-10. Reason or indication for ordering or not ordering the medication
Binding: https://fhir.ee/ValueSet/rhk-10 (preferred): RHK-10


... courseOfTherapyType 0..1 CodeableConcept pidev | fikseeritud | vajadusel | muutuv | ühekordne
Binding: ER_Ravikuuritüüp (required): RAVIKUURI TÜÜP. Loend

.... 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 pidev | fikseeritud | vajadusel | muutuv | ühekordne
.... text Σ 0..1 string Plain text representation of the concept
... note 0..1 Annotation Comment from the request author only.
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... text Σ 1..1 markdown The annotation - text content (as markdown)
... dosageInstruction C 1..* EETISDosage Dosage
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
.... text Σ 0..1 string Free text dosage instructions e.g. SIG
Max Length: 1000
.... patientInstruction Σ 0..1 string Patient or consumer oriented instructions
.... 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
..... repeat ΣC 0..1 Element 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 Number of times to repeat
...... 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 Mitu korda (ajaühikus).
...... period ΣC 0..1 decimal The duration to which the frequency applies. I.e. Event occurs frequency times per period
...... periodUnit ΣC 0..1 code The units of time for the period in UCUM units
Binding: UnitsOfTime (required): A unit of time (units from UCUM).

...... timeOfDay ΣC 0..* time Specified time of day for action to take place.
.... 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.


.... doseAndRate Σ 1..1 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
..... dose[x] C 0..1 SimpleQuantity A fixed quantity (no comparator)
qty-3: If a code for the unit is present, the system SHALL also be present
sqty-1: The comparator is not used on a SimpleQuantity
... dispenseRequest 0..1 BackboneElement Indicates the specific details for the dispense or medication supply part of a medication request.
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... validityPeriod 1..1 Period Time period supply is authorized for
.... dispenser 0..1 Reference(EETISOrganization) {r} Intended performer of dispense
... substitution 0..1 BackboneElement Asendamine. Any restrictions on medication substitution
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... allowed[x] 1..1 boolean True if the prescriber allows a different drug to be dispensed from what was prescribed.
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: ER_Asendamatuse põhjus (preferred): Asendamatuse põhjus. Loend

..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ 0..* Coding Code defined by a terminology system
Binding: ER_Asendamatuse põhjus (preferred): Asendamise keelamise loend


..... text Σ 0..1 string Plain text representation of the concept

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
MedicationRequest.meta.securityextensibleAllSecurityLabels
http://hl7.org/fhir/ValueSet/security-labels
from the FHIR Standard
MedicationRequest.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags
from the FHIR Standard
MedicationRequest.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
from the FHIR Standard
MedicationRequest.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
from the FHIR Standard
MedicationRequest.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
MedicationRequest.statusrequiredMedicationrequestStatus
http://hl7.org/fhir/ValueSet/medicationrequest-status|5.0.0
from the FHIR Standard
MedicationRequest.statusReasonrequiredRetseptiAnnulleerimisePohjus (a valid code from ER_Annulleerimise põhjendused)
https://fhir.ee/ValueSet/retsepti-annulleerimise-pohjus
from this IG
MedicationRequest.intentrequiredMedicationRequestIntent
http://hl7.org/fhir/ValueSet/medicationrequest-intent|5.0.0
from the FHIR Standard
MedicationRequest.categoryexampleMedicationRequestAdministrationLocationCodes
http://hl7.org/fhir/ValueSet/medicationrequest-admin-location
from the FHIR Standard
MedicationRequest.category:prescriptionCategoryrequiredRetseptiLiik (a valid code from ER_Retsepti liik)
https://fhir.ee/ValueSet/retsepti-liik
from this IG
MedicationRequest.category:repeatCategoryrequiredRetseptiKordsus (a valid code from ER_Retsepti kordsus)
https://fhir.ee/ValueSet/retsepti-kordsus
from this IG
MedicationRequest.medicationexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationRequest.reasonpreferredhttps://fhir.ee/ValueSet/rhk-10
https://fhir.ee/ValueSet/rhk-10
MedicationRequest.courseOfTherapyTyperequiredRavikuuriTyyp (a valid code from ER_Ravikuuritüüp)
https://fhir.ee/ValueSet/ravikuuri-tyyp
from this IG
MedicationRequest.dosageInstruction.timing.repeat.durationUnitrequiredUnitsOfTime
http://hl7.org/fhir/ValueSet/units-of-time|5.0.0
from the FHIR Standard
MedicationRequest.dosageInstruction.timing.repeat.periodUnitrequiredUnitsOfTime
http://hl7.org/fhir/ValueSet/units-of-time|5.0.0
from the FHIR Standard
MedicationRequest.dosageInstruction.asNeededForexampleSNOMEDCTMedicationAsNeededReasonCodes
http://hl7.org/fhir/ValueSet/medication-as-needed-reason
from the FHIR Standard
MedicationRequest.substitution.reasonpreferredRavimiAsendamatusePohjus (a valid code from ER_Asendamatuse põhjus)
https://fhir.ee/ValueSet/ravimi-asendamatuse-pohjus
from this IG
MedicationRequest.substitution.reason.codingpreferredRavimiAsendamatusePohjus (a valid code from ER_Asendamatuse põhjus)
https://fhir.ee/ValueSet/ravimi-asendamatuse-pohjus
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dos-1errorMedicationRequest.dosageInstructionAsNeededFor can only be set if AsNeeded is empty or true
: asNeededFor.empty() or asNeeded.empty() or asNeeded
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf 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-4errorMedicationRequestIf 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-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA 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()
qty-3errorMedicationRequest.dosageInstruction.doseAndRate.dose[x]If a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
sqty-1errorMedicationRequest.dosageInstruction.doseAndRate.dose[x]The comparator is not used on a SimpleQuantity
: comparator.empty()
tim-1errorMedicationRequest.dosageInstruction.timing.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorMedicationRequest.dosageInstruction.timing.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorMedicationRequest.dosageInstruction.timing.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorMedicationRequest.dosageInstruction.timing.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorMedicationRequest.dosageInstruction.timing.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorMedicationRequest.dosageInstruction.timing.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorMedicationRequest.dosageInstruction.timing.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorMedicationRequest.dosageInstruction.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-10errorMedicationRequest.dosageInstruction.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 MedicationRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest MedicationRequest
... meta
.... lastUpdated 0..1 instant When the resource version last changed
Example ajanäidis: 2023-09-25T12:12:12+00:01
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... dispensationAuthorization 1..1 CodeableConcept Defines the authorization of the prescription.
URL: https://fhir.ee/StructureDefinition/ee-tis-dispensation-authorization
Binding: ER_Volituse liik (required)
.... lockStatus 0..1 (Complex) Used only when requesting unauthorized medication.
URL: https://fhir.ee/StructureDefinition/ee-tis-lock-status
.... extensionEETISUnauthorizedProductRequest 0..* (Complex) Used for requesting marketing permit for unauthorized medication.
URL: https://fhir.ee/StructureDefinition/ee-tis-unauthorized-product-request
.... extensionEETISTotalPrescribedAmount 0..* SimpleQuantity How much in total there is medication prescribed on one Medication Request. Used for calculating the current status of how much medication is left on one Medication Statement row.
URL: https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount
.... extensionEETISReimbursementRate 0..* (Complex) Reimbursement rate and reason of prescription medicine.
URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate
.... extensionEETISPrescriptionChange 0..* (Complex) Changes on prescription - who changed, when and reason.
URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-change
... identifier 0..1 Identifier Identifier for the prescription.
.... system 0..1 uri Identifier system uri for Estonian Prescription Centre prescriptions
Required Pattern: https://fhir.ee/CodeSystem/tis-fhir-identifikaatorid/retseptikeskus-retsept
.... value 0..1 string Prescription number
.... assigner 0..1 Reference(EETISOrganization) Organization that issued id (may be just text)
... basedOn 0..1 Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) A plan or request that is fulfilled in whole or in part by this medication request
... priorPrescription 0..0
... status 1..1 code active | on-hold | ended | stopped | completed | cancelled | entered-in-error | draft | unknown
... statusReason 0..1 CodeableConcept Reason for current status. Used only when prescription is "cancelled".
Binding: ER_Annulleerimise põhjendused (required): Annulleerimise põhjus loend

... intent 1..1 code By default all requests are "order", unauthorized medication requests are initially "proposal" and when positively solved change to "order"
... Slices for category 0..* CodeableConcept Grouping or category of medication request
Slice: Unordered, Open by value:coding.system
.... category:prescriptionCategory 0..1 CodeableConcept tavaretsept | narkootilise ravimi retsept | meditsiiniseadme retsept
Binding: ER_Retsepti liik (required): RETSEPTI LIIK. LOEND.

..... coding
...... system 1..1 uri Identity of the terminology system
Required Pattern: https://fhir.ee/CodeSystem/retsepti-liik
.... category:repeatCategory 0..1 CodeableConcept 1-kordne | 2-kordne | 3-kordne| 6-kordne
Binding: ER_Retsepti kordsus (required): Retsepti kordsuse loend

..... coding
...... system 1..1 uri Identity of the terminology system
Required Pattern: https://fhir.ee/CodeSystem/retsepti-kordsus
... priority 0..0
... doNotPerform 0..0
... medication 1..1 CodeableReference(EETISMedicationEPC | EETISMedicationExtemporal) {r} Medication to be taken
... subject 1..1 Reference(EE MPI Patient Verified) {r} Patient for who is the request made for.
... informationSource 0..* Reference(EETISPractitionerRole | EETISPractitioner) If prescription is cancelled by someone else than original prescriber it must be filled here. Original prescriber remains in requester field.
... encounter 0..0
... authoredOn 1..1 dateTime When the prescription was made.
... requester 0..1 Reference(EETISPractitionerRole | EETISPractitioner) {c} Who/What requested the Request. Initial author of the request. NB! See also the differenece between informationSource
... reported 0..0
... performerType 0..0
... performer 0..0
... device 0..0
... recorder 0..0
... reason 1..1 CodeableReference(Condition | Observation) Diagnosis according to ICD-10. Reason or indication for ordering or not ordering the medication
Binding: https://fhir.ee/ValueSet/rhk-10 (preferred): RHK-10

... courseOfTherapyType 0..1 CodeableConcept pidev | fikseeritud | vajadusel | muutuv | ühekordne
Binding: ER_Ravikuuritüüp (required): RAVIKUURI TÜÜP. Loend

.... coding 0..* Coding pidev | fikseeritud | vajadusel | muutuv | ühekordne
... insurance 0..0
... note 0..1 Annotation Comment from the request author only.
.... author[x] 0..0
.... time 0..0
... renderedDosageInstruction 0..0
... effectiveDosePeriod 0..0
... dosageInstruction 1..* EETISDosage Dosage
.... sequence 0..0
.... additionalInstruction 0..0
.... timing
..... event 0..0
..... repeat
...... countMax 0..0
...... duration 0..0
...... durationMax 0..0
...... frequency 0..1 positiveInt Mitu korda (ajaühikus).
...... frequencyMax 0..0
...... period 0..1 decimal The duration to which the frequency applies. I.e. Event occurs frequency times per period
...... periodMax 0..0
...... periodUnit 0..1 code The units of time for the period in UCUM units
...... dayOfWeek 0..0
...... when 0..0
...... offset 0..0
..... code 0..0
.... asNeeded 0..0
.... site 0..0
.... route 0..0
.... method 0..0
.... doseAndRate 1..1 Element Amount of medication administered, to be administered or typical amount to be administered
..... type 0..0
..... dose[x] 0..1 SimpleQuantity A fixed quantity (no comparator)
..... rate[x] 0..0
.... maxDosePerPeriod 0..0
.... maxDosePerAdministration 0..0
.... maxDosePerLifetime 0..0
... dispenseRequest 0..1 BackboneElement Indicates the specific details for the dispense or medication supply part of a medication request.
.... id 0..0
.... initialFill 0..0
.... dispenseInterval 0..0
.... validityPeriod 1..1 Period Time period supply is authorized for
.... numberOfRepeatsAllowed 0..0
.... quantity 0..0
.... expectedSupplyDuration 0..0
.... dispenser 0..1 Reference(EETISOrganization) {r} Intended performer of dispense
.... dispenserInstruction 0..0
.... doseAdministrationAid 0..0
... substitution 0..1 BackboneElement Asendamine. Any restrictions on medication substitution
.... allowed[x] 1..1 boolean True if the prescriber allows a different drug to be dispensed from what was prescribed.
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: ER_Asendamatuse põhjus (preferred): Asendamatuse põhjus. Loend

..... coding 0..* Coding Code defined by a terminology system
Binding: ER_Asendamatuse põhjus (preferred): Asendamise keelamise loend

... eventHistory 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
MedicationRequest.statusReasonrequiredRetseptiAnnulleerimisePohjus (a valid code from ER_Annulleerimise põhjendused)
https://fhir.ee/ValueSet/retsepti-annulleerimise-pohjus
from this IG
MedicationRequest.category:prescriptionCategoryrequiredRetseptiLiik (a valid code from ER_Retsepti liik)
https://fhir.ee/ValueSet/retsepti-liik
from this IG
MedicationRequest.category:repeatCategoryrequiredRetseptiKordsus (a valid code from ER_Retsepti kordsus)
https://fhir.ee/ValueSet/retsepti-kordsus
from this IG
MedicationRequest.reasonpreferredhttps://fhir.ee/ValueSet/rhk-10
https://fhir.ee/ValueSet/rhk-10
MedicationRequest.courseOfTherapyTyperequiredRavikuuriTyyp (a valid code from ER_Ravikuuritüüp)
https://fhir.ee/ValueSet/ravikuuri-tyyp
from this IG
MedicationRequest.substitution.reasonpreferredRavimiAsendamatusePohjus (a valid code from ER_Asendamatuse põhjus)
https://fhir.ee/ValueSet/ravimi-asendamatuse-pohjus
from this IG
MedicationRequest.substitution.reason.codingpreferredRavimiAsendamatusePohjus (a valid code from ER_Asendamatuse põhjus)
https://fhir.ee/ValueSet/ravimi-asendamatuse-pohjus
from this IG

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... dispensationAuthorization 1..1 CodeableConcept Defines the authorization of the prescription.
URL: https://fhir.ee/StructureDefinition/ee-tis-dispensation-authorization
Binding: ER_Volituse liik (required)
.... lockStatus 0..1 (Complex) Used only when requesting unauthorized medication.
URL: https://fhir.ee/StructureDefinition/ee-tis-lock-status
.... extensionEETISUnauthorizedProductRequest 0..* (Complex) Used for requesting marketing permit for unauthorized medication.
URL: https://fhir.ee/StructureDefinition/ee-tis-unauthorized-product-request
.... extensionEETISTotalPrescribedAmount 0..* SimpleQuantity How much in total there is medication prescribed on one Medication Request. Used for calculating the current status of how much medication is left on one Medication Statement row.
URL: https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount
.... extensionEETISReimbursementRate 0..* (Complex) Reimbursement rate and reason of prescription medicine.
URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate
.... extensionEETISPrescriptionChange 0..* (Complex) Changes on prescription - who changed, when and reason.
URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-change
... identifier 0..1 Identifier Identifier for the prescription.
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... system Σ 0..1 uri Identifier system uri for Estonian Prescription Centre prescriptions
Required Pattern: https://fhir.ee/CodeSystem/tis-fhir-identifikaatorid/retseptikeskus-retsept
.... value ΣC 0..1 string Prescription number
Example General: 123456
.... assigner Σ 0..1 Reference(EETISOrganization) Organization that issued id (may be just text)
... basedOn Σ 0..1 Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) A plan or request that is fulfilled in whole or in part by this medication request
... status ?!Σ 1..1 code active | on-hold | ended | stopped | completed | cancelled | entered-in-error | draft | unknown
Binding: MedicationrequestStatus (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.

... statusReason 0..1 CodeableConcept Reason for current status. Used only when prescription is "cancelled".
Binding: ER_Annulleerimise põhjendused (required): Annulleerimise põhjus loend

... intent ?!Σ 1..1 code By default all requests are "order", unauthorized medication requests are initially "proposal" and when positively solved change to "order"
Binding: MedicationRequestIntent (required): The kind of medication order.

... Slices for category 0..* CodeableConcept Grouping or category of medication request
Slice: Unordered, Open by value:coding.system
Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication is to be consumed or administered.


.... category:prescriptionCategory 0..1 CodeableConcept tavaretsept | narkootilise ravimi retsept | meditsiiniseadme retsept
Binding: ER_Retsepti liik (required): RETSEPTI LIIK. LOEND.


.... category:repeatCategory 0..1 CodeableConcept 1-kordne | 2-kordne | 3-kordne| 6-kordne
Binding: ER_Retsepti kordsus (required): Retsepti kordsuse loend


... medication Σ 1..1 CodeableReference(EETISMedicationEPC | EETISMedicationExtemporal) {r} Medication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.

... subject Σ 1..1 Reference(EE MPI Patient Verified) {r} Patient for who is the request made for.
... informationSource 0..* Reference(EETISPractitionerRole | EETISPractitioner) If prescription is cancelled by someone else than original prescriber it must be filled here. Original prescriber remains in requester field.
... authoredOn Σ 1..1 dateTime When the prescription was made.
... requester Σ 0..1 Reference(EETISPractitionerRole | EETISPractitioner) {c} Who/What requested the Request. Initial author of the request. NB! See also the differenece between informationSource
... reason 1..1 CodeableReference(Condition | Observation) Diagnosis according to ICD-10. Reason or indication for ordering or not ordering the medication
Binding: https://fhir.ee/ValueSet/rhk-10 (preferred): RHK-10


... courseOfTherapyType 0..1 CodeableConcept pidev | fikseeritud | vajadusel | muutuv | ühekordne
Binding: ER_Ravikuuritüüp (required): RAVIKUURI TÜÜP. Loend

.... coding Σ 0..* Coding pidev | fikseeritud | vajadusel | muutuv | ühekordne
... note 0..1 Annotation Comment from the request author only.
.... text Σ 1..1 markdown The annotation - text content (as markdown)
... dosageInstruction C 1..* EETISDosage Dosage
dos-1: AsNeededFor can only be set if AsNeeded is empty or true
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... 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.


.... doseAndRate Σ 1..1 Element Amount of medication administered, to be administered or typical amount to be administered
..... dose[x] C 0..1 SimpleQuantity A fixed quantity (no comparator)
qty-3: If a code for the unit is present, the system SHALL also be present
sqty-1: The comparator is not used on a SimpleQuantity
... dispenseRequest 0..1 BackboneElement Indicates the specific details for the dispense or medication supply part of a medication request.
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... validityPeriod 1..1 Period Time period supply is authorized for
.... dispenser 0..1 Reference(EETISOrganization) {r} Intended performer of dispense
... substitution 0..1 BackboneElement Asendamine. Any restrictions on medication substitution
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... allowed[x] 1..1 boolean True if the prescriber allows a different drug to be dispensed from what was prescribed.
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: ER_Asendamatuse põhjus (preferred): Asendamatuse põhjus. Loend

..... coding Σ 0..* Coding Code defined by a terminology system
Binding: ER_Asendamatuse põhjus (preferred): Asendamise keelamise loend



doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
MedicationRequest.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
from the FHIR Standard
MedicationRequest.statusrequiredMedicationrequestStatus
http://hl7.org/fhir/ValueSet/medicationrequest-status|5.0.0
from the FHIR Standard
MedicationRequest.statusReasonrequiredRetseptiAnnulleerimisePohjus (a valid code from ER_Annulleerimise põhjendused)
https://fhir.ee/ValueSet/retsepti-annulleerimise-pohjus
from this IG
MedicationRequest.intentrequiredMedicationRequestIntent
http://hl7.org/fhir/ValueSet/medicationrequest-intent|5.0.0
from the FHIR Standard
MedicationRequest.categoryexampleMedicationRequestAdministrationLocationCodes
http://hl7.org/fhir/ValueSet/medicationrequest-admin-location
from the FHIR Standard
MedicationRequest.category:prescriptionCategoryrequiredRetseptiLiik (a valid code from ER_Retsepti liik)
https://fhir.ee/ValueSet/retsepti-liik
from this IG
MedicationRequest.category:repeatCategoryrequiredRetseptiKordsus (a valid code from ER_Retsepti kordsus)
https://fhir.ee/ValueSet/retsepti-kordsus
from this IG
MedicationRequest.medicationexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationRequest.reasonpreferredhttps://fhir.ee/ValueSet/rhk-10
https://fhir.ee/ValueSet/rhk-10
MedicationRequest.courseOfTherapyTyperequiredRavikuuriTyyp (a valid code from ER_Ravikuuritüüp)
https://fhir.ee/ValueSet/ravikuuri-tyyp
from this IG
MedicationRequest.dosageInstruction.asNeededForexampleSNOMEDCTMedicationAsNeededReasonCodes
http://hl7.org/fhir/ValueSet/medication-as-needed-reason
from the FHIR Standard
MedicationRequest.substitution.reasonpreferredRavimiAsendamatusePohjus (a valid code from ER_Asendamatuse põhjus)
https://fhir.ee/ValueSet/ravimi-asendamatuse-pohjus
from this IG
MedicationRequest.substitution.reason.codingpreferredRavimiAsendamatusePohjus (a valid code from ER_Asendamatuse põhjus)
https://fhir.ee/ValueSet/ravimi-asendamatuse-pohjus
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dos-1errorMedicationRequest.dosageInstructionAsNeededFor can only be set if AsNeeded is empty or true
: asNeededFor.empty() or asNeeded.empty() or asNeeded
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf 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-4errorMedicationRequestIf 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-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA 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()
qty-3errorMedicationRequest.dosageInstruction.doseAndRate.dose[x]If a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
sqty-1errorMedicationRequest.dosageInstruction.doseAndRate.dose[x]The comparator is not used on a SimpleQuantity
: comparator.empty()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
Example ajanäidis: 2023-09-25T12:12:12+00:01
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: AllLanguages (required): IETF language tag for a human language

Additional BindingsPurpose
CommonLanguages Starter Set
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... dispensationAuthorization 1..1 CodeableConcept Defines the authorization of the prescription.
URL: https://fhir.ee/StructureDefinition/ee-tis-dispensation-authorization
Binding: ER_Volituse liik (required)
.... lockStatus 0..1 (Complex) Used only when requesting unauthorized medication.
URL: https://fhir.ee/StructureDefinition/ee-tis-lock-status
.... extensionEETISUnauthorizedProductRequest 0..* (Complex) Used for requesting marketing permit for unauthorized medication.
URL: https://fhir.ee/StructureDefinition/ee-tis-unauthorized-product-request
.... extensionEETISTotalPrescribedAmount 0..* SimpleQuantity How much in total there is medication prescribed on one Medication Request. Used for calculating the current status of how much medication is left on one Medication Statement row.
URL: https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount
.... extensionEETISReimbursementRate 0..* (Complex) Reimbursement rate and reason of prescription medicine.
URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate
.... extensionEETISPrescriptionChange 0..* (Complex) Changes on prescription - who changed, when and reason.
URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-change
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier 0..1 Identifier Identifier for the prescription.
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ 0..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

.... system Σ 0..1 uri Identifier system uri for Estonian Prescription Centre prescriptions
Required Pattern: https://fhir.ee/CodeSystem/tis-fhir-identifikaatorid/retseptikeskus-retsept
.... value ΣC 0..1 string Prescription number
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(EETISOrganization) Organization that issued id (may be just text)
... basedOn Σ 0..1 Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) A plan or request that is fulfilled in whole or in part by this medication request
... groupIdentifier Σ 0..1 Identifier Composite request this is part of
... status ?!Σ 1..1 code active | on-hold | ended | stopped | completed | cancelled | entered-in-error | draft | unknown
Binding: MedicationrequestStatus (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.

... statusReason 0..1 CodeableConcept Reason for current status. Used only when prescription is "cancelled".
Binding: ER_Annulleerimise põhjendused (required): Annulleerimise põhjus loend

... statusChanged 0..1 dateTime When the status was changed
... intent ?!Σ 1..1 code By default all requests are "order", unauthorized medication requests are initially "proposal" and when positively solved change to "order"
Binding: MedicationRequestIntent (required): The kind of medication order.

... Slices for category 0..* CodeableConcept Grouping or category of medication request
Slice: Unordered, Open by value:coding.system
Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication is to be consumed or administered.


.... category:prescriptionCategory 0..1 CodeableConcept tavaretsept | narkootilise ravimi retsept | meditsiiniseadme retsept
Binding: ER_Retsepti liik (required): RETSEPTI LIIK. LOEND.


..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ 0..* Coding Code defined by a terminology system
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: https://fhir.ee/CodeSystem/retsepti-liik
...... version Σ 0..1 string Version of the system - if relevant
...... code ΣC 0..1 code Symbol in syntax defined by the system
...... display ΣC 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Plain text representation of the concept
.... category:repeatCategory 0..1 CodeableConcept 1-kordne | 2-kordne | 3-kordne| 6-kordne
Binding: ER_Retsepti kordsus (required): Retsepti kordsuse loend


..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ 0..* Coding Code defined by a terminology system
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: https://fhir.ee/CodeSystem/retsepti-kordsus
...... version Σ 0..1 string Version of the system - if relevant
...... code ΣC 0..1 code Symbol in syntax defined by the system
...... display ΣC 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Plain text representation of the concept
... medication Σ 1..1 CodeableReference(EETISMedicationEPC | EETISMedicationExtemporal) {r} Medication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.

... subject Σ 1..1 Reference(EE MPI Patient Verified) {r} Patient for who is the request made for.
... informationSource 0..* Reference(EETISPractitionerRole | EETISPractitioner) If prescription is cancelled by someone else than original prescriber it must be filled here. Original prescriber remains in requester field.
... supportingInformation 0..* Reference(Resource) Information to support fulfilling of the medication
... authoredOn Σ 1..1 dateTime When the prescription was made.
... requester Σ 0..1 Reference(EETISPractitionerRole | EETISPractitioner) {c} Who/What requested the Request. Initial author of the request. NB! See also the differenece between informationSource
... reason 1..1 CodeableReference(Condition | Observation) Diagnosis according to ICD-10. Reason or indication for ordering or not ordering the medication
Binding: https://fhir.ee/ValueSet/rhk-10 (preferred): RHK-10


... courseOfTherapyType 0..1 CodeableConcept pidev | fikseeritud | vajadusel | muutuv | ühekordne
Binding: ER_Ravikuuritüüp (required): RAVIKUURI TÜÜP. Loend

.... 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 pidev | fikseeritud | vajadusel | muutuv | ühekordne
.... text Σ 0..1 string Plain text representation of the concept
... note 0..1 Annotation Comment from the request author only.
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... text Σ 1..1 markdown The annotation - text content (as markdown)
... dosageInstruction C 1..* EETISDosage Dosage
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
.... text Σ 0..1 string Free text dosage instructions e.g. SIG
Max Length: 1000
.... patientInstruction Σ 0..1 string Patient or consumer oriented instructions
.... 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
..... repeat ΣC 0..1 Element 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 Number of times to repeat
...... 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 Mitu korda (ajaühikus).
...... period ΣC 0..1 decimal The duration to which the frequency applies. I.e. Event occurs frequency times per period
...... periodUnit ΣC 0..1 code The units of time for the period in UCUM units
Binding: UnitsOfTime (required): A unit of time (units from UCUM).

...... timeOfDay ΣC 0..* time Specified time of day for action to take place.
.... 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.


.... doseAndRate Σ 1..1 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
..... dose[x] C 0..1 SimpleQuantity A fixed quantity (no comparator)
qty-3: If a code for the unit is present, the system SHALL also be present
sqty-1: The comparator is not used on a SimpleQuantity
... dispenseRequest 0..1 BackboneElement Indicates the specific details for the dispense or medication supply part of a medication request.
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... validityPeriod 1..1 Period Time period supply is authorized for
.... dispenser 0..1 Reference(EETISOrganization) {r} Intended performer of dispense
... substitution 0..1 BackboneElement Asendamine. Any restrictions on medication substitution
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... allowed[x] 1..1 boolean True if the prescriber allows a different drug to be dispensed from what was prescribed.
.... reason 0..1 CodeableConcept Why should (not) substitution be made
Binding: ER_Asendamatuse põhjus (preferred): Asendamatuse põhjus. Loend

..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ 0..* Coding Code defined by a terminology system
Binding: ER_Asendamatuse põhjus (preferred): Asendamise keelamise loend


..... text Σ 0..1 string Plain text representation of the concept

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
MedicationRequest.meta.securityextensibleAllSecurityLabels
http://hl7.org/fhir/ValueSet/security-labels
from the FHIR Standard
MedicationRequest.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags
from the FHIR Standard
MedicationRequest.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
from the FHIR Standard
MedicationRequest.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
from the FHIR Standard
MedicationRequest.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
MedicationRequest.statusrequiredMedicationrequestStatus
http://hl7.org/fhir/ValueSet/medicationrequest-status|5.0.0
from the FHIR Standard
MedicationRequest.statusReasonrequiredRetseptiAnnulleerimisePohjus (a valid code from ER_Annulleerimise põhjendused)
https://fhir.ee/ValueSet/retsepti-annulleerimise-pohjus
from this IG
MedicationRequest.intentrequiredMedicationRequestIntent
http://hl7.org/fhir/ValueSet/medicationrequest-intent|5.0.0
from the FHIR Standard
MedicationRequest.categoryexampleMedicationRequestAdministrationLocationCodes
http://hl7.org/fhir/ValueSet/medicationrequest-admin-location
from the FHIR Standard
MedicationRequest.category:prescriptionCategoryrequiredRetseptiLiik (a valid code from ER_Retsepti liik)
https://fhir.ee/ValueSet/retsepti-liik
from this IG
MedicationRequest.category:repeatCategoryrequiredRetseptiKordsus (a valid code from ER_Retsepti kordsus)
https://fhir.ee/ValueSet/retsepti-kordsus
from this IG
MedicationRequest.medicationexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationRequest.reasonpreferredhttps://fhir.ee/ValueSet/rhk-10
https://fhir.ee/ValueSet/rhk-10
MedicationRequest.courseOfTherapyTyperequiredRavikuuriTyyp (a valid code from ER_Ravikuuritüüp)
https://fhir.ee/ValueSet/ravikuuri-tyyp
from this IG
MedicationRequest.dosageInstruction.timing.repeat.durationUnitrequiredUnitsOfTime
http://hl7.org/fhir/ValueSet/units-of-time|5.0.0
from the FHIR Standard
MedicationRequest.dosageInstruction.timing.repeat.periodUnitrequiredUnitsOfTime
http://hl7.org/fhir/ValueSet/units-of-time|5.0.0
from the FHIR Standard
MedicationRequest.dosageInstruction.asNeededForexampleSNOMEDCTMedicationAsNeededReasonCodes
http://hl7.org/fhir/ValueSet/medication-as-needed-reason
from the FHIR Standard
MedicationRequest.substitution.reasonpreferredRavimiAsendamatusePohjus (a valid code from ER_Asendamatuse põhjus)
https://fhir.ee/ValueSet/ravimi-asendamatuse-pohjus
from this IG
MedicationRequest.substitution.reason.codingpreferredRavimiAsendamatusePohjus (a valid code from ER_Asendamatuse põhjus)
https://fhir.ee/ValueSet/ravimi-asendamatuse-pohjus
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dos-1errorMedicationRequest.dosageInstructionAsNeededFor can only be set if AsNeeded is empty or true
: asNeededFor.empty() or asNeeded.empty() or asNeeded
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf 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-4errorMedicationRequestIf 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-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA 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()
qty-3errorMedicationRequest.dosageInstruction.doseAndRate.dose[x]If a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
sqty-1errorMedicationRequest.dosageInstruction.doseAndRate.dose[x]The comparator is not used on a SimpleQuantity
: comparator.empty()
tim-1errorMedicationRequest.dosageInstruction.timing.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorMedicationRequest.dosageInstruction.timing.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorMedicationRequest.dosageInstruction.timing.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorMedicationRequest.dosageInstruction.timing.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorMedicationRequest.dosageInstruction.timing.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorMedicationRequest.dosageInstruction.timing.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorMedicationRequest.dosageInstruction.timing.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorMedicationRequest.dosageInstruction.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-10errorMedicationRequest.dosageInstruction.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