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

Official URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-dispense Version: 1.0.0
Draft as of 2024-01-31 Computable Name: EETISPrescriptionDispense

Ravimi väljastamine. When the medication prescribed is dispensed in pharmacy.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationDispense C 0..* MedicationDispense Dispensation of prescribed medication to the patient
Constraints: mdd-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:extensionEETISBuyerEPC 0..* (Complex) Identity code of the buyer of medicine when the buyer is someone else than the subject of prescription.
URL: https://fhir.ee/StructureDefinition/ee-tis-buyer-epc
..... extension 0..0
..... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-buyer-epc"
..... value[x] 1..1 Personal identification code of the buyer
...... valueString string
...... valueIdentifier Identifier
.... extension:extensionEETISReimbursementRate 0..* (Complex) Reimbursement rate and reason of prescription medicine. Also speciality of prescriber if available.
URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... medication Σ 1..1 CodeableReference(EETISMedicationDispensedToPatient | EETISMedicationExtemporal) Dispensed medication
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying which substance or product can be dispensed.
... subject Σ 1..1 Reference(EE MPI Patient Verified) Patient recieving the medication
... performer 1..1 BackboneElement Indicates who or what performed the event.
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... actor 1..1 Reference(EETISPractitionerRole) Pharmacist or assistant pharmacist who has the rights to dispense meditcation.
... location 0..1 Reference(EETISPharmacyLocation) The principal physical location where the dispense was performed.
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
... authorizingPrescription 1..* Reference(EETISPrescription) Retsept, mille alusel ravim väljastati patsiendile.
... quantity 1..1 SimpleQuantity(5.0.0) The amount of medication that has been dispensed. Includes unit of measure.
... daysSupply 0..1 SimpleQuantity(5.0.0) Dispensed medication calculated in days. How many days is covered with this amount of medication.
... whenHandedOver C 1..1 dateTime The time the dispensed product was provided to the patient or their representative.
... receiver 0..1 Reference(Patient | Practitioner | RelatedPerson | Location | PractitionerRole) Who collected the medication or where the medication was delivered
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
... note 0..1 Annotation Extra information about the dispense that could not be conveyed in the other attributes.
.... text Σ 1..1 markdown The annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationDispense.status Base required MedicationDispense Status Codes 📍5.0.0 FHIR Std.
MedicationDispense.medication Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationDispense If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationDispense If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationDispense If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationDispense If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationDispense A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
mdd-1 error MedicationDispense whenHandedOver cannot be before whenPrepared whenHandedOver.empty() or whenPrepared.empty() or whenHandedOver >= whenPrepared

This structure is derived from MedicationDispense

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationDispense 0..* MedicationDispense Dispensation of prescribed medication to the patient
... contained 0..0
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:extensionEETISBuyerEPC 0..* (Complex) Identity code of the buyer of medicine when the buyer is someone else than the subject of prescription.
URL: https://fhir.ee/StructureDefinition/ee-tis-buyer-epc
..... value[x] 1..1 string, Identifier Personal identification code of the buyer
.... extension:extensionEETISReimbursementRate 0..* (Complex) Reimbursement rate and reason of prescription medicine. Also speciality of prescriber if available.
URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate
... identifier 0..0
... basedOn 0..0
... partOf 0..0
... status 1..1 code When dispensation occurres it is always completed.
Fixed Value: completed
... notPerformedReason 0..0
... statusChanged 0..0
... category 0..0
... medication 1..1 CodeableReference(EETISMedicationDispensedToPatient | EETISMedicationExtemporal) Dispensed medication
... subject 1..1 Reference(EE MPI Patient Verified) Patient recieving the medication
... encounter 0..0
... supportingInformation 0..0
... performer 1..1 BackboneElement Indicates who or what performed the event.
.... function 0..0
.... actor 1..1 Reference(EETISPractitionerRole) Pharmacist or assistant pharmacist who has the rights to dispense meditcation.
... location 0..1 Reference(EETISPharmacyLocation) The principal physical location where the dispense was performed.
.... identifier 0..1 Identifier Logical reference, when literal reference is not known
... authorizingPrescription 1..* Reference(EETISPrescription) Retsept, mille alusel ravim väljastati patsiendile.
... type 0..0
... quantity 1..1 SimpleQuantity(5.0.0) The amount of medication that has been dispensed. Includes unit of measure.
.... unit 0..0
.... system 0..0
.... code 0..0
... daysSupply 0..1 SimpleQuantity(5.0.0) Dispensed medication calculated in days. How many days is covered with this amount of medication.
... recorded 0..0
... whenPrepared 0..0
... whenHandedOver 1..1 dateTime The time the dispensed product was provided to the patient or their representative.
... destination 0..0
... receiver 0..1 Reference(Patient | Practitioner | RelatedPerson | Location | PractitionerRole) Who collected the medication or where the medication was delivered
.... identifier
..... value 1..1 string Buyers personal identification code. Logical reference, when literal reference is not known
... note 0..1 Annotation Extra information about the dispense that could not be conveyed in the other attributes.
.... author[x] 0..0
... renderedDosageInstruction 0..0
... dosageInstruction 0..0
... substitution 0..0
... eventHistory 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationDispense C 0..* MedicationDispense Dispensation of prescribed medication to the patient
Constraints: mdd-1
... 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 Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:extensionEETISBuyerEPC 0..* (Complex) Identity code of the buyer of medicine when the buyer is someone else than the subject of prescription.
URL: https://fhir.ee/StructureDefinition/ee-tis-buyer-epc
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-buyer-epc"
..... value[x] 1..1 Personal identification code of the buyer
...... valueString string
...... valueIdentifier Identifier
.... extension:extensionEETISReimbursementRate 0..* (Complex) Reimbursement rate and reason of prescription medicine. Also speciality of prescriber if available.
URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... status ?!Σ 1..1 code When dispensation occurres it is always completed.
Binding: MedicationDispenseStatusCodes (required): Describes the lifecycle of the dispense.
Fixed Value: completed
... medication Σ 1..1 CodeableReference(EETISMedicationDispensedToPatient | EETISMedicationExtemporal) Dispensed medication
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying which substance or product can be dispensed.
... subject Σ 1..1 Reference(EE MPI Patient Verified) Patient recieving the medication
... performer 1..1 BackboneElement Indicates who or what performed the event.
.... 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
.... actor 1..1 Reference(EETISPractitionerRole) Pharmacist or assistant pharmacist who has the rights to dispense meditcation.
... location 0..1 Reference(EETISPharmacyLocation) The principal physical location where the dispense was performed.
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... authorizingPrescription 1..* Reference(EETISPrescription) Retsept, mille alusel ravim väljastati patsiendile.
... quantity 1..1 SimpleQuantity(5.0.0) The amount of medication that has been dispensed. Includes unit of measure.
.... 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)
... daysSupply 0..1 SimpleQuantity(5.0.0) Dispensed medication calculated in days. How many days is covered with this amount of medication.
... whenHandedOver C 1..1 dateTime The time the dispensed product was provided to the patient or their representative.
... receiver 0..1 Reference(Patient | Practitioner | RelatedPerson | Location | PractitionerRole) Who collected the medication or where the medication was delivered
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
..... 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 The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC 1..1 string Buyers personal identification code. Logical reference, when literal reference is not known
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... display ΣC 0..1 string Text alternative for the resource
... note 0..1 Annotation Extra information about the dispense that could not be conveyed in the other attributes.
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationDispense.language Base required All Languages 📍5.0.0 FHIR Std.
MedicationDispense.status Base required MedicationDispense Status Codes 📍5.0.0 FHIR Std.
MedicationDispense.medication Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.
MedicationDispense.location.​type Base extensible Resource Types 📍5.0.0 FHIR Std.
MedicationDispense.receiver.​type Base extensible Resource Types 📍5.0.0 FHIR Std.
MedicationDispense.receiver.​identifier.use Base required IdentifierUse 📍5.0.0 FHIR Std.
MedicationDispense.receiver.​identifier.type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
MedicationDispense.dosageInstruction.​doseAndRate.type Base example DoseAndRateType 📦1.0.0 THO v6.5
MedicationDispense.substitution.​type Base example ActSubstanceAdminSubstitutionCode 📦3.0.0 THO v6.5
MedicationDispense.substitution.​reason Base example SubstanceAdminSubstitutionReason 📦3.0.0 THO v6.5

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationDispense If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationDispense If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationDispense If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationDispense If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationDispense A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
mdd-1 error MedicationDispense whenHandedOver cannot be before whenPrepared whenHandedOver.empty() or whenPrepared.empty() or whenHandedOver >= whenPrepared

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationDispense C 0..* MedicationDispense Dispensation of prescribed medication to the patient
Constraints: mdd-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:extensionEETISBuyerEPC 0..* (Complex) Identity code of the buyer of medicine when the buyer is someone else than the subject of prescription.
URL: https://fhir.ee/StructureDefinition/ee-tis-buyer-epc
..... extension 0..0
..... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-buyer-epc"
..... value[x] 1..1 Personal identification code of the buyer
...... valueString string
...... valueIdentifier Identifier
.... extension:extensionEETISReimbursementRate 0..* (Complex) Reimbursement rate and reason of prescription medicine. Also speciality of prescriber if available.
URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... medication Σ 1..1 CodeableReference(EETISMedicationDispensedToPatient | EETISMedicationExtemporal) Dispensed medication
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying which substance or product can be dispensed.
... subject Σ 1..1 Reference(EE MPI Patient Verified) Patient recieving the medication
... performer 1..1 BackboneElement Indicates who or what performed the event.
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... actor 1..1 Reference(EETISPractitionerRole) Pharmacist or assistant pharmacist who has the rights to dispense meditcation.
... location 0..1 Reference(EETISPharmacyLocation) The principal physical location where the dispense was performed.
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
... authorizingPrescription 1..* Reference(EETISPrescription) Retsept, mille alusel ravim väljastati patsiendile.
... quantity 1..1 SimpleQuantity(5.0.0) The amount of medication that has been dispensed. Includes unit of measure.
... daysSupply 0..1 SimpleQuantity(5.0.0) Dispensed medication calculated in days. How many days is covered with this amount of medication.
... whenHandedOver C 1..1 dateTime The time the dispensed product was provided to the patient or their representative.
... receiver 0..1 Reference(Patient | Practitioner | RelatedPerson | Location | PractitionerRole) Who collected the medication or where the medication was delivered
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
... note 0..1 Annotation Extra information about the dispense that could not be conveyed in the other attributes.
.... text Σ 1..1 markdown The annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationDispense.status Base required MedicationDispense Status Codes 📍5.0.0 FHIR Std.
MedicationDispense.medication Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationDispense If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationDispense If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationDispense If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationDispense If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationDispense A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
mdd-1 error MedicationDispense whenHandedOver cannot be before whenPrepared whenHandedOver.empty() or whenPrepared.empty() or whenHandedOver >= whenPrepared

Differential View

This structure is derived from MedicationDispense

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationDispense 0..* MedicationDispense Dispensation of prescribed medication to the patient
... contained 0..0
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:extensionEETISBuyerEPC 0..* (Complex) Identity code of the buyer of medicine when the buyer is someone else than the subject of prescription.
URL: https://fhir.ee/StructureDefinition/ee-tis-buyer-epc
..... value[x] 1..1 string, Identifier Personal identification code of the buyer
.... extension:extensionEETISReimbursementRate 0..* (Complex) Reimbursement rate and reason of prescription medicine. Also speciality of prescriber if available.
URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate
... identifier 0..0
... basedOn 0..0
... partOf 0..0
... status 1..1 code When dispensation occurres it is always completed.
Fixed Value: completed
... notPerformedReason 0..0
... statusChanged 0..0
... category 0..0
... medication 1..1 CodeableReference(EETISMedicationDispensedToPatient | EETISMedicationExtemporal) Dispensed medication
... subject 1..1 Reference(EE MPI Patient Verified) Patient recieving the medication
... encounter 0..0
... supportingInformation 0..0
... performer 1..1 BackboneElement Indicates who or what performed the event.
.... function 0..0
.... actor 1..1 Reference(EETISPractitionerRole) Pharmacist or assistant pharmacist who has the rights to dispense meditcation.
... location 0..1 Reference(EETISPharmacyLocation) The principal physical location where the dispense was performed.
.... identifier 0..1 Identifier Logical reference, when literal reference is not known
... authorizingPrescription 1..* Reference(EETISPrescription) Retsept, mille alusel ravim väljastati patsiendile.
... type 0..0
... quantity 1..1 SimpleQuantity(5.0.0) The amount of medication that has been dispensed. Includes unit of measure.
.... unit 0..0
.... system 0..0
.... code 0..0
... daysSupply 0..1 SimpleQuantity(5.0.0) Dispensed medication calculated in days. How many days is covered with this amount of medication.
... recorded 0..0
... whenPrepared 0..0
... whenHandedOver 1..1 dateTime The time the dispensed product was provided to the patient or their representative.
... destination 0..0
... receiver 0..1 Reference(Patient | Practitioner | RelatedPerson | Location | PractitionerRole) Who collected the medication or where the medication was delivered
.... identifier
..... value 1..1 string Buyers personal identification code. Logical reference, when literal reference is not known
... note 0..1 Annotation Extra information about the dispense that could not be conveyed in the other attributes.
.... author[x] 0..0
... renderedDosageInstruction 0..0
... dosageInstruction 0..0
... substitution 0..0
... eventHistory 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationDispense C 0..* MedicationDispense Dispensation of prescribed medication to the patient
Constraints: mdd-1
... 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 Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:extensionEETISBuyerEPC 0..* (Complex) Identity code of the buyer of medicine when the buyer is someone else than the subject of prescription.
URL: https://fhir.ee/StructureDefinition/ee-tis-buyer-epc
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "https://fhir.ee/StructureDefinition/ee-tis-buyer-epc"
..... value[x] 1..1 Personal identification code of the buyer
...... valueString string
...... valueIdentifier Identifier
.... extension:extensionEETISReimbursementRate 0..* (Complex) Reimbursement rate and reason of prescription medicine. Also speciality of prescriber if available.
URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... status ?!Σ 1..1 code When dispensation occurres it is always completed.
Binding: MedicationDispenseStatusCodes (required): Describes the lifecycle of the dispense.
Fixed Value: completed
... medication Σ 1..1 CodeableReference(EETISMedicationDispensedToPatient | EETISMedicationExtemporal) Dispensed medication
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying which substance or product can be dispensed.
... subject Σ 1..1 Reference(EE MPI Patient Verified) Patient recieving the medication
... performer 1..1 BackboneElement Indicates who or what performed the event.
.... 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
.... actor 1..1 Reference(EETISPractitionerRole) Pharmacist or assistant pharmacist who has the rights to dispense meditcation.
... location 0..1 Reference(EETISPharmacyLocation) The principal physical location where the dispense was performed.
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... authorizingPrescription 1..* Reference(EETISPrescription) Retsept, mille alusel ravim väljastati patsiendile.
... quantity 1..1 SimpleQuantity(5.0.0) The amount of medication that has been dispensed. Includes unit of measure.
.... 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)
... daysSupply 0..1 SimpleQuantity(5.0.0) Dispensed medication calculated in days. How many days is covered with this amount of medication.
... whenHandedOver C 1..1 dateTime The time the dispensed product was provided to the patient or their representative.
... receiver 0..1 Reference(Patient | Practitioner | RelatedPerson | Location | PractitionerRole) Who collected the medication or where the medication was delivered
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
..... 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 The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC 1..1 string Buyers personal identification code. Logical reference, when literal reference is not known
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... display ΣC 0..1 string Text alternative for the resource
... note 0..1 Annotation Extra information about the dispense that could not be conveyed in the other attributes.
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationDispense.language Base required All Languages 📍5.0.0 FHIR Std.
MedicationDispense.status Base required MedicationDispense Status Codes 📍5.0.0 FHIR Std.
MedicationDispense.medication Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.
MedicationDispense.location.​type Base extensible Resource Types 📍5.0.0 FHIR Std.
MedicationDispense.receiver.​type Base extensible Resource Types 📍5.0.0 FHIR Std.
MedicationDispense.receiver.​identifier.use Base required IdentifierUse 📍5.0.0 FHIR Std.
MedicationDispense.receiver.​identifier.type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
MedicationDispense.dosageInstruction.​doseAndRate.type Base example DoseAndRateType 📦1.0.0 THO v6.5
MedicationDispense.substitution.​type Base example ActSubstanceAdminSubstitutionCode 📦3.0.0 THO v6.5
MedicationDispense.substitution.​reason Base example SubstanceAdminSubstitutionReason 📦3.0.0 THO v6.5

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationDispense If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationDispense If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationDispense If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationDispense If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationDispense A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
mdd-1 error MedicationDispense whenHandedOver cannot be before whenPrepared whenHandedOver.empty() or whenPrepared.empty() or whenHandedOver >= whenPrepared

 

Other representations of profile: CSV, Excel, Schematron