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.

Usage:

Formal Views of Profile Content

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

This structure is derived from MedicationDispense

NameFlagsCard.TypeDescription & Constraintsdoco
.. 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
.... 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
.... extensionEETISReimbursementRate 0..* (Complex) Reimbursement rate and reason of prescription medicine.
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 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 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 & Constraintsdoco
.. MedicationDispense C 0..* MedicationDispense Dispensation of prescribed medication to the patient
mdd-1: whenHandedOver cannot be before whenPrepared
... 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
.... 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
.... extensionEETISReimbursementRate 0..* (Complex) Reimbursement rate and reason of prescription medicine.
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 The amount of medication that has been dispensed. Includes unit of measure.
... daysSupply 0..1 SimpleQuantity 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

PathConformanceValueSet / CodeURI
MedicationDispense.statusrequiredFixed Value: completed
http://hl7.org/fhir/ValueSet/medicationdispense-status|5.0.0
from the FHIR Standard
MedicationDispense.medicationexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationDispenseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationDispenseIf 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-4errorMedicationDispenseIf 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-5errorMedicationDispenseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationDispenseA 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()
mdd-1errorMedicationDispensewhenHandedOver cannot be before whenPrepared
: whenHandedOver.empty() or whenPrepared.empty() or whenHandedOver >= whenPrepared
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationDispense C 0..* MedicationDispense Dispensation of prescribed medication to the patient
mdd-1: whenHandedOver cannot be before whenPrepared
... 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
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... 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
.... extensionEETISReimbursementRate 0..* (Complex) Reimbursement rate and reason of prescription medicine.
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 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 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

PathConformanceValueSet / CodeURI
MedicationDispense.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
from the FHIR Standard
MedicationDispense.statusrequiredFixed Value: completed
http://hl7.org/fhir/ValueSet/medicationdispense-status|5.0.0
from the FHIR Standard
MedicationDispense.medicationexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationDispense.location.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
MedicationDispense.receiver.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
MedicationDispense.receiver.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
from the FHIR Standard
MedicationDispense.receiver.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
MedicationDispense.dosageInstruction.doseAndRate.typeexampleDoseAndRateType
http://terminology.hl7.org/ValueSet/dose-rate-type
MedicationDispense.substitution.typeexampleActSubstanceAdminSubstitutionCode
http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode
MedicationDispense.substitution.reasonexampleSubstanceAdminSubstitutionReason
http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationDispenseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationDispenseIf 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-4errorMedicationDispenseIf 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-5errorMedicationDispenseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationDispenseA 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()
mdd-1errorMedicationDispensewhenHandedOver cannot be before whenPrepared
: whenHandedOver.empty() or whenPrepared.empty() or whenHandedOver >= whenPrepared

Differential View

This structure is derived from MedicationDispense

NameFlagsCard.TypeDescription & Constraintsdoco
.. 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
.... 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
.... extensionEETISReimbursementRate 0..* (Complex) Reimbursement rate and reason of prescription medicine.
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 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 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

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationDispense C 0..* MedicationDispense Dispensation of prescribed medication to the patient
mdd-1: whenHandedOver cannot be before whenPrepared
... 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
.... 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
.... extensionEETISReimbursementRate 0..* (Complex) Reimbursement rate and reason of prescription medicine.
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 The amount of medication that has been dispensed. Includes unit of measure.
... daysSupply 0..1 SimpleQuantity 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

PathConformanceValueSet / CodeURI
MedicationDispense.statusrequiredFixed Value: completed
http://hl7.org/fhir/ValueSet/medicationdispense-status|5.0.0
from the FHIR Standard
MedicationDispense.medicationexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationDispenseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationDispenseIf 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-4errorMedicationDispenseIf 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-5errorMedicationDispenseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationDispenseA 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()
mdd-1errorMedicationDispensewhenHandedOver cannot be before whenPrepared
: whenHandedOver.empty() or whenPrepared.empty() or whenHandedOver >= whenPrepared

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationDispense C 0..* MedicationDispense Dispensation of prescribed medication to the patient
mdd-1: whenHandedOver cannot be before whenPrepared
... 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
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... 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
.... extensionEETISReimbursementRate 0..* (Complex) Reimbursement rate and reason of prescription medicine.
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 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 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

PathConformanceValueSet / CodeURI
MedicationDispense.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
from the FHIR Standard
MedicationDispense.statusrequiredFixed Value: completed
http://hl7.org/fhir/ValueSet/medicationdispense-status|5.0.0
from the FHIR Standard
MedicationDispense.medicationexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationDispense.location.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
MedicationDispense.receiver.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
MedicationDispense.receiver.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
from the FHIR Standard
MedicationDispense.receiver.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
MedicationDispense.dosageInstruction.doseAndRate.typeexampleDoseAndRateType
http://terminology.hl7.org/ValueSet/dose-rate-type
MedicationDispense.substitution.typeexampleActSubstanceAdminSubstitutionCode
http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode
MedicationDispense.substitution.reasonexampleSubstanceAdminSubstitutionReason
http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationDispenseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationDispenseIf 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-4errorMedicationDispenseIf 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-5errorMedicationDispenseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationDispenseA 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()
mdd-1errorMedicationDispensewhenHandedOver cannot be before whenPrepared
: whenHandedOver.empty() or whenPrepared.empty() or whenHandedOver >= whenPrepared

 

Other representations of profile: CSV, Excel, Schematron