UPTIS FHIR PoC Test Implementation Guide
1.0.0 - draft Estonia flag

UPTIS FHIR PoC Test Implementation Guide, published by TEHIK. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TEHIK-EE/FHIR-PoC/ and changes regularly. See the Directory of published versions

Logical Model: PrescriptionTJT - logical model

Official URL: https://fhir.ee/StructureDefinition/PrescriptionTJT Version: 1.0.0
Draft as of 2024-10-28 Computable Name: PrescriptionTJT

Prescription from prescription center

Usage:

  • This Logical Model Profile is not used by any profiles in this Implementation Guide

Formal Views of Profile Content

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

This structure is derived from Base

NameFlagsCard.TypeDescription & Constraintsdoco
.. PrescriptionTJT 0..* Base PrescriptionTJT - logical model
Instances of this logical model are not marked to be the target of a Reference
... identifier 1..* II An identifier for this prescription
... status 1..1 CD A code representing the status of prescription active, on-hold, ended, stopped, completed, cancelled, entered-in-error, draft, unknown.
... lockStatus 0..* BL When pharmacy locks the prescription for ordering unauthorized medication for patient. True - prescription is locked for certain pharmacy. False - prescription is not locked.
... note 0..1 ST Extra information about the prescription that could not be conveyed by the other attributes.
... courseOfTherapyType 0..* CD Type of therapy
... prescriptionCategory 0..* CD Category of prescription.
... repeatCategory 0..* CD Prescriptions to repeat
... unauthorizedMedicationRequest 0..1 Reference(Unauthorized Medication TJT - logical model) Requesting usage permit for unauthorized medication.
... prescribedAmount 0..1 Class How much medication prescribed on prescription.
.... prescribedAmountPackage 0..1 INT The number of medication packages.
.... prescibedAmountTotal 0..1 INT How much medication prescribed in total on prescription.
... prescriptionValidityTime 0..* DT For expressing the validity of the prescription(s).
... prescriptionAuthorization 0..* CD Defines the authorization of the prescription.
... cancelledPrescription 0..1 Class Cancellation of prescription.
.... cancelledStatusReason 0..* CD Reason for cancellation.
.... cancelledTime 0..* DT Time of cancellation.
... substitution 0..1 Class Whether and which type of substitution is allowed for this medication
.... substitutionType 1..1 CD The type of substitution that is allowed.
.... substitutionTypeReason 0..1 CD Coded reason for the substitution requirement
.... substitutionTypeReasonText 0..1 ST Textual reason for the substitution requirement
... medication 1..1 Reference(Medication TJT - logical model) Medicinal product for which the prescription refers to.
... practitioner 1..1 Reference(Practitioner TJT - logical model) Practitioner who is creating prescription
... organisation 1..1 Reference() Organisation connected to practitioner and prescription.
... dosageInstructions 0..* Reference(Dosaging TJT - logical model) Instructions about requested administration of the product
... patient 1..1 Reference(Patient TJT - logical model) Patient
... reimbursement 1..1 Class For representation of the reimbursement rate and reason of prescription medicine.
.... reimbursementRate 1..1 CD Reimbursement of medication.
.... reimbursementReason 1..1 ST Reason of the reimbursement rate.
.... reimbursementParameters 1..1 Class Insurance response.
..... reimbursementEu 0..1 BL EU insurance.
..... reimbursementOldAgeRetirement 0..1 BL Old age pension.
..... reimbursementIncapacityForWork 0..1 BL Pension for incapacity for work.
..... reimbursementEstonian 0..1 BL Estonian insurance.

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. PrescriptionTJT 0..* Base PrescriptionTJT - logical model
Instances of this logical model are not marked to be the target of a Reference
... identifier 1..* II An identifier for this prescription
... status 1..1 CD A code representing the status of prescription active, on-hold, ended, stopped, completed, cancelled, entered-in-error, draft, unknown.
... lockStatus 0..* BL When pharmacy locks the prescription for ordering unauthorized medication for patient. True - prescription is locked for certain pharmacy. False - prescription is not locked.
... note 0..1 ST Extra information about the prescription that could not be conveyed by the other attributes.
... courseOfTherapyType 0..* CD Type of therapy
... prescriptionCategory 0..* CD Category of prescription.
... repeatCategory 0..* CD Prescriptions to repeat
... unauthorizedMedicationRequest 0..1 Reference(Unauthorized Medication TJT - logical model) Requesting usage permit for unauthorized medication.
... prescribedAmount 0..1 Class How much medication prescribed on prescription.
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... prescribedAmountPackage 0..1 INT The number of medication packages.
.... prescibedAmountTotal 0..1 INT How much medication prescribed in total on prescription.
... prescriptionValidityTime 0..* DT For expressing the validity of the prescription(s).
... prescriptionAuthorization 0..* CD Defines the authorization of the prescription.
... cancelledPrescription 0..1 Class Cancellation of prescription.
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... cancelledStatusReason 0..* CD Reason for cancellation.
.... cancelledTime 0..* DT Time of cancellation.
... substitution 0..1 Class Whether and which type of substitution is allowed for this medication
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... substitutionType 1..1 CD The type of substitution that is allowed.
.... substitutionTypeReason 0..1 CD Coded reason for the substitution requirement
.... substitutionTypeReasonText 0..1 ST Textual reason for the substitution requirement
... medication 1..1 Reference(Medication TJT - logical model) Medicinal product for which the prescription refers to.
... practitioner 1..1 Reference(Practitioner TJT - logical model) Practitioner who is creating prescription
... organisation 1..1 Reference() Organisation connected to practitioner and prescription.
... dosageInstructions 0..* Reference(Dosaging TJT - logical model) Instructions about requested administration of the product
... patient 1..1 Reference(Patient TJT - logical model) Patient
... reimbursement 1..1 Class For representation of the reimbursement rate and reason of prescription medicine.
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... reimbursementRate 1..1 CD Reimbursement of medication.
.... reimbursementReason 1..1 ST Reason of the reimbursement rate.
.... reimbursementParameters 1..1 Class Insurance response.
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... reimbursementEu 0..1 BL EU insurance.
..... reimbursementOldAgeRetirement 0..1 BL Old age pension.
..... reimbursementIncapacityForWork 0..1 BL Pension for incapacity for work.
..... reimbursementEstonian 0..1 BL Estonian insurance.

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. PrescriptionTJT 0..* Base PrescriptionTJT - logical model
Instances of this logical model are not marked to be the target of a Reference
... identifier 1..* II An identifier for this prescription
... status 1..1 CD A code representing the status of prescription active, on-hold, ended, stopped, completed, cancelled, entered-in-error, draft, unknown.
... lockStatus 0..* BL When pharmacy locks the prescription for ordering unauthorized medication for patient. True - prescription is locked for certain pharmacy. False - prescription is not locked.
... note 0..1 ST Extra information about the prescription that could not be conveyed by the other attributes.
... courseOfTherapyType 0..* CD Type of therapy
... prescriptionCategory 0..* CD Category of prescription.
... repeatCategory 0..* CD Prescriptions to repeat
... unauthorizedMedicationRequest 0..1 Reference(Unauthorized Medication TJT - logical model) Requesting usage permit for unauthorized medication.
... prescribedAmount 0..1 Class How much medication prescribed on prescription.
.... @id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... prescribedAmountPackage 0..1 INT The number of medication packages.
.... prescibedAmountTotal 0..1 INT How much medication prescribed in total on prescription.
... prescriptionValidityTime 0..* DT For expressing the validity of the prescription(s).
... prescriptionAuthorization 0..* CD Defines the authorization of the prescription.
... cancelledPrescription 0..1 Class Cancellation of prescription.
.... @id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... cancelledStatusReason 0..* CD Reason for cancellation.
.... cancelledTime 0..* DT Time of cancellation.
... substitution 0..1 Class Whether and which type of substitution is allowed for this medication
.... @id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... substitutionType 1..1 CD The type of substitution that is allowed.
.... substitutionTypeReason 0..1 CD Coded reason for the substitution requirement
.... substitutionTypeReasonText 0..1 ST Textual reason for the substitution requirement
... medication 1..1 Reference(Medication TJT - logical model) Medicinal product for which the prescription refers to.
... practitioner 1..1 Reference(Practitioner TJT - logical model) Practitioner who is creating prescription
... organisation 1..1 Reference() Organisation connected to practitioner and prescription.
... dosageInstructions 0..* Reference(Dosaging TJT - logical model) Instructions about requested administration of the product
... patient 1..1 Reference(Patient TJT - logical model) Patient
... reimbursement 1..1 Class For representation of the reimbursement rate and reason of prescription medicine.
.... @id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... reimbursementRate 1..1 CD Reimbursement of medication.
.... reimbursementReason 1..1 ST Reason of the reimbursement rate.
.... reimbursementParameters 1..1 Class Insurance response.
..... @id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... reimbursementEu 0..1 BL EU insurance.
..... reimbursementOldAgeRetirement 0..1 BL Old age pension.
..... reimbursementIncapacityForWork 0..1 BL Pension for incapacity for work.
..... reimbursementEstonian 0..1 BL Estonian insurance.

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
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()

Differential View

This structure is derived from Base

NameFlagsCard.TypeDescription & Constraintsdoco
.. PrescriptionTJT 0..* Base PrescriptionTJT - logical model
Instances of this logical model are not marked to be the target of a Reference
... identifier 1..* II An identifier for this prescription
... status 1..1 CD A code representing the status of prescription active, on-hold, ended, stopped, completed, cancelled, entered-in-error, draft, unknown.
... lockStatus 0..* BL When pharmacy locks the prescription for ordering unauthorized medication for patient. True - prescription is locked for certain pharmacy. False - prescription is not locked.
... note 0..1 ST Extra information about the prescription that could not be conveyed by the other attributes.
... courseOfTherapyType 0..* CD Type of therapy
... prescriptionCategory 0..* CD Category of prescription.
... repeatCategory 0..* CD Prescriptions to repeat
... unauthorizedMedicationRequest 0..1 Reference(Unauthorized Medication TJT - logical model) Requesting usage permit for unauthorized medication.
... prescribedAmount 0..1 Class How much medication prescribed on prescription.
.... prescribedAmountPackage 0..1 INT The number of medication packages.
.... prescibedAmountTotal 0..1 INT How much medication prescribed in total on prescription.
... prescriptionValidityTime 0..* DT For expressing the validity of the prescription(s).
... prescriptionAuthorization 0..* CD Defines the authorization of the prescription.
... cancelledPrescription 0..1 Class Cancellation of prescription.
.... cancelledStatusReason 0..* CD Reason for cancellation.
.... cancelledTime 0..* DT Time of cancellation.
... substitution 0..1 Class Whether and which type of substitution is allowed for this medication
.... substitutionType 1..1 CD The type of substitution that is allowed.
.... substitutionTypeReason 0..1 CD Coded reason for the substitution requirement
.... substitutionTypeReasonText 0..1 ST Textual reason for the substitution requirement
... medication 1..1 Reference(Medication TJT - logical model) Medicinal product for which the prescription refers to.
... practitioner 1..1 Reference(Practitioner TJT - logical model) Practitioner who is creating prescription
... organisation 1..1 Reference() Organisation connected to practitioner and prescription.
... dosageInstructions 0..* Reference(Dosaging TJT - logical model) Instructions about requested administration of the product
... patient 1..1 Reference(Patient TJT - logical model) Patient
... reimbursement 1..1 Class For representation of the reimbursement rate and reason of prescription medicine.
.... reimbursementRate 1..1 CD Reimbursement of medication.
.... reimbursementReason 1..1 ST Reason of the reimbursement rate.
.... reimbursementParameters 1..1 Class Insurance response.
..... reimbursementEu 0..1 BL EU insurance.
..... reimbursementOldAgeRetirement 0..1 BL Old age pension.
..... reimbursementIncapacityForWork 0..1 BL Pension for incapacity for work.
..... reimbursementEstonian 0..1 BL Estonian insurance.

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. PrescriptionTJT 0..* Base PrescriptionTJT - logical model
Instances of this logical model are not marked to be the target of a Reference
... identifier 1..* II An identifier for this prescription
... status 1..1 CD A code representing the status of prescription active, on-hold, ended, stopped, completed, cancelled, entered-in-error, draft, unknown.
... lockStatus 0..* BL When pharmacy locks the prescription for ordering unauthorized medication for patient. True - prescription is locked for certain pharmacy. False - prescription is not locked.
... note 0..1 ST Extra information about the prescription that could not be conveyed by the other attributes.
... courseOfTherapyType 0..* CD Type of therapy
... prescriptionCategory 0..* CD Category of prescription.
... repeatCategory 0..* CD Prescriptions to repeat
... unauthorizedMedicationRequest 0..1 Reference(Unauthorized Medication TJT - logical model) Requesting usage permit for unauthorized medication.
... prescribedAmount 0..1 Class How much medication prescribed on prescription.
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... prescribedAmountPackage 0..1 INT The number of medication packages.
.... prescibedAmountTotal 0..1 INT How much medication prescribed in total on prescription.
... prescriptionValidityTime 0..* DT For expressing the validity of the prescription(s).
... prescriptionAuthorization 0..* CD Defines the authorization of the prescription.
... cancelledPrescription 0..1 Class Cancellation of prescription.
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... cancelledStatusReason 0..* CD Reason for cancellation.
.... cancelledTime 0..* DT Time of cancellation.
... substitution 0..1 Class Whether and which type of substitution is allowed for this medication
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... substitutionType 1..1 CD The type of substitution that is allowed.
.... substitutionTypeReason 0..1 CD Coded reason for the substitution requirement
.... substitutionTypeReasonText 0..1 ST Textual reason for the substitution requirement
... medication 1..1 Reference(Medication TJT - logical model) Medicinal product for which the prescription refers to.
... practitioner 1..1 Reference(Practitioner TJT - logical model) Practitioner who is creating prescription
... organisation 1..1 Reference() Organisation connected to practitioner and prescription.
... dosageInstructions 0..* Reference(Dosaging TJT - logical model) Instructions about requested administration of the product
... patient 1..1 Reference(Patient TJT - logical model) Patient
... reimbursement 1..1 Class For representation of the reimbursement rate and reason of prescription medicine.
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... reimbursementRate 1..1 CD Reimbursement of medication.
.... reimbursementReason 1..1 ST Reason of the reimbursement rate.
.... reimbursementParameters 1..1 Class Insurance response.
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... reimbursementEu 0..1 BL EU insurance.
..... reimbursementOldAgeRetirement 0..1 BL Old age pension.
..... reimbursementIncapacityForWork 0..1 BL Pension for incapacity for work.
..... reimbursementEstonian 0..1 BL Estonian insurance.

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. PrescriptionTJT 0..* Base PrescriptionTJT - logical model
Instances of this logical model are not marked to be the target of a Reference
... identifier 1..* II An identifier for this prescription
... status 1..1 CD A code representing the status of prescription active, on-hold, ended, stopped, completed, cancelled, entered-in-error, draft, unknown.
... lockStatus 0..* BL When pharmacy locks the prescription for ordering unauthorized medication for patient. True - prescription is locked for certain pharmacy. False - prescription is not locked.
... note 0..1 ST Extra information about the prescription that could not be conveyed by the other attributes.
... courseOfTherapyType 0..* CD Type of therapy
... prescriptionCategory 0..* CD Category of prescription.
... repeatCategory 0..* CD Prescriptions to repeat
... unauthorizedMedicationRequest 0..1 Reference(Unauthorized Medication TJT - logical model) Requesting usage permit for unauthorized medication.
... prescribedAmount 0..1 Class How much medication prescribed on prescription.
.... @id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... prescribedAmountPackage 0..1 INT The number of medication packages.
.... prescibedAmountTotal 0..1 INT How much medication prescribed in total on prescription.
... prescriptionValidityTime 0..* DT For expressing the validity of the prescription(s).
... prescriptionAuthorization 0..* CD Defines the authorization of the prescription.
... cancelledPrescription 0..1 Class Cancellation of prescription.
.... @id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... cancelledStatusReason 0..* CD Reason for cancellation.
.... cancelledTime 0..* DT Time of cancellation.
... substitution 0..1 Class Whether and which type of substitution is allowed for this medication
.... @id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... substitutionType 1..1 CD The type of substitution that is allowed.
.... substitutionTypeReason 0..1 CD Coded reason for the substitution requirement
.... substitutionTypeReasonText 0..1 ST Textual reason for the substitution requirement
... medication 1..1 Reference(Medication TJT - logical model) Medicinal product for which the prescription refers to.
... practitioner 1..1 Reference(Practitioner TJT - logical model) Practitioner who is creating prescription
... organisation 1..1 Reference() Organisation connected to practitioner and prescription.
... dosageInstructions 0..* Reference(Dosaging TJT - logical model) Instructions about requested administration of the product
... patient 1..1 Reference(Patient TJT - logical model) Patient
... reimbursement 1..1 Class For representation of the reimbursement rate and reason of prescription medicine.
.... @id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... reimbursementRate 1..1 CD Reimbursement of medication.
.... reimbursementReason 1..1 ST Reason of the reimbursement rate.
.... reimbursementParameters 1..1 Class Insurance response.
..... @id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... reimbursementEu 0..1 BL EU insurance.
..... reimbursementOldAgeRetirement 0..1 BL Old age pension.
..... reimbursementIncapacityForWork 0..1 BL Pension for incapacity for work.
..... reimbursementEstonian 0..1 BL Estonian insurance.

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
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()

 

Other representations of profile: CSV, Excel