Medication Scheme Implementation Guide
1.0.0 - draft
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
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:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | MedicationDispense | Dispensation of prescribed medication to the patient dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: 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 dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management mdd-1: whenHandedOver cannot be before whenPrepared |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() |
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 ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://fhir.ee/StructureDefinition/ee-tis-buyer-epc" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Personal identification code of the buyer ele-1: All FHIR elements must have a @value or children | ||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() ![]() ![]() |
Identifier | |||
![]() ![]() ![]() ![]() |
0..* | (Complex) | Reimbursement rate and reason of prescription medicine. URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
?!Σ | 1..1 | code | When dispensation occurres it is always completed. Binding: MedicationDispenseStatusCodes (required): Describes the lifecycle of the dispense. ele-1: All FHIR elements must have a @value or children Fixed Value: completed |
![]() ![]() ![]() |
Σ | 1..1 | CodeableReference(EETISMedicationDispensedToPatient | EETISMedicationExtemporal) | Dispensed medication Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying which substance or product can be dispensed. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | Reference(EE MPI Patient Verified) | Patient recieving the medication ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
1..1 | BackboneElement | Indicates who or what performed the event. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
1..1 | Reference(EETISPractitionerRole) | Pharmacist or assistant pharmacist who has the rights to dispense meditcation. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() |
0..1 | Reference(EETISPharmacyLocation) | The principal physical location where the dispense was performed. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
1..* | Reference(EETISPrescription) | Retsept, mille alusel ravim väljastati patsiendile. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() |
1..1 | SimpleQuantity | The amount of medication that has been dispensed. Includes unit of measure. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() |
0..1 | SimpleQuantity | Dispensed medication calculated in days. How many days is covered with this amount of medication. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() |
C | 1..1 | dateTime | The time the dispensed product was provided to the patient or their representative. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
0..1 | Reference(Patient | Practitioner | RelatedPerson | Location | PractitionerRole) | Who collected the medication or where the medication was delivered ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
0..1 | Annotation | Extra information about the dispense that could not be conveyed in the other attributes. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
Σ | 1..1 | markdown | The annotation - text content (as markdown) ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet / Code | URI |
MedicationDispense.status | required | Fixed Value: completedhttp://hl7.org/fhir/ValueSet/medicationdispense-status|5.0.0 from the FHIR Standard | |
MedicationDispense.medication | example | SNOMEDCTMedicationCodeshttp://hl7.org/fhir/ValueSet/medication-codes from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | MedicationDispense | Dispensation of prescribed medication to the patient | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
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 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string, Identifier | Personal identification code of the buyer | |
![]() ![]() ![]() ![]() |
0..* | (Complex) | Reimbursement rate and reason of prescription medicine. URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | code | When dispensation occurres it is always completed. Fixed Value: completed | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | CodeableReference(EETISMedicationDispensedToPatient | EETISMedicationExtemporal) | Dispensed medication | |
![]() ![]() ![]() |
1..1 | Reference(EE MPI Patient Verified) | Patient recieving the medication | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | BackboneElement | Indicates who or what performed the event. | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | Reference(EETISPractitionerRole) | Pharmacist or assistant pharmacist who has the rights to dispense meditcation. | |
![]() ![]() ![]() |
0..1 | Reference(EETISPharmacyLocation) | The principal physical location where the dispense was performed. | |
![]() ![]() ![]() ![]() |
0..1 | Identifier | Logical reference, when literal reference is not known | |
![]() ![]() ![]() |
1..* | Reference(EETISPrescription) | Retsept, mille alusel ravim väljastati patsiendile. | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | SimpleQuantity | The amount of medication that has been dispensed. Includes unit of measure. | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | SimpleQuantity | Dispensed medication calculated in days. How many days is covered with this amount of medication. | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | dateTime | The time the dispensed product was provided to the patient or their representative. | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | Reference(Patient | Practitioner | RelatedPerson | Location | PractitionerRole) | Who collected the medication or where the medication was delivered | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Buyers personal identification code. Logical reference, when literal reference is not known | |
![]() ![]() ![]() |
0..1 | Annotation | Extra information about the dispense that could not be conveyed in the other attributes. | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | MedicationDispense | Dispensation of prescribed medication to the patient mdd-1: whenHandedOver cannot be before whenPrepared | ||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://fhir.ee/StructureDefinition/ee-tis-buyer-epc" | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Personal identification code of the buyer | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Identifier | |||||||
![]() ![]() ![]() ![]() |
0..* | (Complex) | Reimbursement rate and reason of prescription medicine. URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | When dispensation occurres it is always completed. Binding: MedicationDispenseStatusCodes (required): Describes the lifecycle of the dispense. Fixed Value: completed | ||||
![]() ![]() ![]() |
Σ | 1..1 | CodeableReference(EETISMedicationDispensedToPatient | EETISMedicationExtemporal) | Dispensed medication Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying which substance or product can be dispensed. | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(EE MPI Patient Verified) | Patient recieving the medication | ||||
![]() ![]() ![]() |
1..1 | BackboneElement | Indicates who or what performed the event. | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
1..1 | Reference(EETISPractitionerRole) | Pharmacist or assistant pharmacist who has the rights to dispense meditcation. | |||||
![]() ![]() ![]() |
0..1 | Reference(EETISPharmacyLocation) | The principal physical location where the dispense was performed. | |||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 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). | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
1..* | Reference(EETISPrescription) | Retsept, mille alusel ravim väljastati patsiendile. | |||||
![]() ![]() ![]() |
1..1 | SimpleQuantity | The amount of medication that has been dispensed. Includes unit of measure. | |||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Numerical value (with implicit precision) | ||||
![]() ![]() ![]() |
0..1 | SimpleQuantity | Dispensed medication calculated in days. How many days is covered with this amount of medication. | |||||
![]() ![]() ![]() |
C | 1..1 | dateTime | The time the dispensed product was provided to the patient or their representative. | ||||
![]() ![]() ![]() |
0..1 | Reference(Patient | Practitioner | RelatedPerson | Location | PractitionerRole) | Who collected the medication or where the medication was delivered | |||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 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). | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Buyers personal identification code. Logical reference, when literal reference is not known Example General: 123456 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
0..1 | Annotation | Extra information about the dispense that could not be conveyed in the other attributes. | |||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | dateTime | When the annotation was made | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | markdown | The annotation - text content (as markdown) | ||||
![]() |
Path | Conformance | ValueSet / Code | URI |
MedicationDispense.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard | |
MedicationDispense.status | required | Fixed Value: completedhttp://hl7.org/fhir/ValueSet/medicationdispense-status|5.0.0 from the FHIR Standard | |
MedicationDispense.medication | example | SNOMEDCTMedicationCodeshttp://hl7.org/fhir/ValueSet/medication-codes from the FHIR Standard | |
MedicationDispense.location.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | |
MedicationDispense.receiver.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | |
MedicationDispense.receiver.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 from the FHIR Standard | |
MedicationDispense.receiver.identifier.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | |
MedicationDispense.dosageInstruction.doseAndRate.type | example | DoseAndRateTypehttp://terminology.hl7.org/ValueSet/dose-rate-type | |
MedicationDispense.substitution.type | example | ActSubstanceAdminSubstitutionCodehttp://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode | |
MedicationDispense.substitution.reason | example | SubstanceAdminSubstitutionReasonhttp://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason |
Id | Grade | Path(s) | Details | Requirements |
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
Summary
Mandatory: 4 elements(1 nested mandatory element)
Fixed: 1 element
Prohibited: 35 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | MedicationDispense | Dispensation of prescribed medication to the patient dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: 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 dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management mdd-1: whenHandedOver cannot be before whenPrepared |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() |
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 ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://fhir.ee/StructureDefinition/ee-tis-buyer-epc" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Personal identification code of the buyer ele-1: All FHIR elements must have a @value or children | ||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() ![]() ![]() |
Identifier | |||
![]() ![]() ![]() ![]() |
0..* | (Complex) | Reimbursement rate and reason of prescription medicine. URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
?!Σ | 1..1 | code | When dispensation occurres it is always completed. Binding: MedicationDispenseStatusCodes (required): Describes the lifecycle of the dispense. ele-1: All FHIR elements must have a @value or children Fixed Value: completed |
![]() ![]() ![]() |
Σ | 1..1 | CodeableReference(EETISMedicationDispensedToPatient | EETISMedicationExtemporal) | Dispensed medication Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying which substance or product can be dispensed. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | Reference(EE MPI Patient Verified) | Patient recieving the medication ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
1..1 | BackboneElement | Indicates who or what performed the event. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
1..1 | Reference(EETISPractitionerRole) | Pharmacist or assistant pharmacist who has the rights to dispense meditcation. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() |
0..1 | Reference(EETISPharmacyLocation) | The principal physical location where the dispense was performed. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
1..* | Reference(EETISPrescription) | Retsept, mille alusel ravim väljastati patsiendile. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() |
1..1 | SimpleQuantity | The amount of medication that has been dispensed. Includes unit of measure. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() |
0..1 | SimpleQuantity | Dispensed medication calculated in days. How many days is covered with this amount of medication. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() |
C | 1..1 | dateTime | The time the dispensed product was provided to the patient or their representative. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
0..1 | Reference(Patient | Practitioner | RelatedPerson | Location | PractitionerRole) | Who collected the medication or where the medication was delivered ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
0..1 | Annotation | Extra information about the dispense that could not be conveyed in the other attributes. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
Σ | 1..1 | markdown | The annotation - text content (as markdown) ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet / Code | URI |
MedicationDispense.status | required | Fixed Value: completedhttp://hl7.org/fhir/ValueSet/medicationdispense-status|5.0.0 from the FHIR Standard | |
MedicationDispense.medication | example | SNOMEDCTMedicationCodeshttp://hl7.org/fhir/ValueSet/medication-codes from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | MedicationDispense | Dispensation of prescribed medication to the patient | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
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 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string, Identifier | Personal identification code of the buyer | |
![]() ![]() ![]() ![]() |
0..* | (Complex) | Reimbursement rate and reason of prescription medicine. URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | code | When dispensation occurres it is always completed. Fixed Value: completed | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | CodeableReference(EETISMedicationDispensedToPatient | EETISMedicationExtemporal) | Dispensed medication | |
![]() ![]() ![]() |
1..1 | Reference(EE MPI Patient Verified) | Patient recieving the medication | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | BackboneElement | Indicates who or what performed the event. | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | Reference(EETISPractitionerRole) | Pharmacist or assistant pharmacist who has the rights to dispense meditcation. | |
![]() ![]() ![]() |
0..1 | Reference(EETISPharmacyLocation) | The principal physical location where the dispense was performed. | |
![]() ![]() ![]() ![]() |
0..1 | Identifier | Logical reference, when literal reference is not known | |
![]() ![]() ![]() |
1..* | Reference(EETISPrescription) | Retsept, mille alusel ravim väljastati patsiendile. | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | SimpleQuantity | The amount of medication that has been dispensed. Includes unit of measure. | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | SimpleQuantity | Dispensed medication calculated in days. How many days is covered with this amount of medication. | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | dateTime | The time the dispensed product was provided to the patient or their representative. | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | Reference(Patient | Practitioner | RelatedPerson | Location | PractitionerRole) | Who collected the medication or where the medication was delivered | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Buyers personal identification code. Logical reference, when literal reference is not known | |
![]() ![]() ![]() |
0..1 | Annotation | Extra information about the dispense that could not be conveyed in the other attributes. | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | MedicationDispense | Dispensation of prescribed medication to the patient mdd-1: whenHandedOver cannot be before whenPrepared | ||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://fhir.ee/StructureDefinition/ee-tis-buyer-epc" | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Personal identification code of the buyer | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Identifier | |||||||
![]() ![]() ![]() ![]() |
0..* | (Complex) | Reimbursement rate and reason of prescription medicine. URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | When dispensation occurres it is always completed. Binding: MedicationDispenseStatusCodes (required): Describes the lifecycle of the dispense. Fixed Value: completed | ||||
![]() ![]() ![]() |
Σ | 1..1 | CodeableReference(EETISMedicationDispensedToPatient | EETISMedicationExtemporal) | Dispensed medication Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying which substance or product can be dispensed. | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(EE MPI Patient Verified) | Patient recieving the medication | ||||
![]() ![]() ![]() |
1..1 | BackboneElement | Indicates who or what performed the event. | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
1..1 | Reference(EETISPractitionerRole) | Pharmacist or assistant pharmacist who has the rights to dispense meditcation. | |||||
![]() ![]() ![]() |
0..1 | Reference(EETISPharmacyLocation) | The principal physical location where the dispense was performed. | |||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 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). | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
1..* | Reference(EETISPrescription) | Retsept, mille alusel ravim väljastati patsiendile. | |||||
![]() ![]() ![]() |
1..1 | SimpleQuantity | The amount of medication that has been dispensed. Includes unit of measure. | |||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Numerical value (with implicit precision) | ||||
![]() ![]() ![]() |
0..1 | SimpleQuantity | Dispensed medication calculated in days. How many days is covered with this amount of medication. | |||||
![]() ![]() ![]() |
C | 1..1 | dateTime | The time the dispensed product was provided to the patient or their representative. | ||||
![]() ![]() ![]() |
0..1 | Reference(Patient | Practitioner | RelatedPerson | Location | PractitionerRole) | Who collected the medication or where the medication was delivered | |||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 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). | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Buyers personal identification code. Logical reference, when literal reference is not known Example General: 123456 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
0..1 | Annotation | Extra information about the dispense that could not be conveyed in the other attributes. | |||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | dateTime | When the annotation was made | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | markdown | The annotation - text content (as markdown) | ||||
![]() |
Path | Conformance | ValueSet / Code | URI |
MedicationDispense.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard | |
MedicationDispense.status | required | Fixed Value: completedhttp://hl7.org/fhir/ValueSet/medicationdispense-status|5.0.0 from the FHIR Standard | |
MedicationDispense.medication | example | SNOMEDCTMedicationCodeshttp://hl7.org/fhir/ValueSet/medication-codes from the FHIR Standard | |
MedicationDispense.location.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | |
MedicationDispense.receiver.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | |
MedicationDispense.receiver.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 from the FHIR Standard | |
MedicationDispense.receiver.identifier.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | |
MedicationDispense.dosageInstruction.doseAndRate.type | example | DoseAndRateTypehttp://terminology.hl7.org/ValueSet/dose-rate-type | |
MedicationDispense.substitution.type | example | ActSubstanceAdminSubstitutionCodehttp://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode | |
MedicationDispense.substitution.reason | example | SubstanceAdminSubstitutionReasonhttp://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason |
Id | Grade | Path(s) | Details | Requirements |
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
Summary
Mandatory: 4 elements(1 nested mandatory element)
Fixed: 1 element
Prohibited: 35 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Other representations of profile: CSV, Excel, Schematron