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 - XML Profile

Draft as of 2024-10-28

XML representation of the PrescriptionTJT logical model.

Raw xml | Download


<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="PrescriptionTJT"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition PrescriptionTJT</b></p><a name="PrescriptionTJT"> </a><a name="hcPrescriptionTJT"> </a><a name="PrescriptionTJT-en-US"> </a><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the element can appear in the instance">Card.</a></th><th style="width: 100px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description &amp; Constraints</a><span style="float: right"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT" title="Prescription from prescription center">PrescriptionTJT</a><a name="PrescriptionTJT"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/types.html#Base">Base</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">PrescriptionTJT - logical model<br/><span style="font-weight:bold">Instances of this logical model are not marked to be the target of a Reference</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.identifier" title="Retsepti identifikaator. Retsepti number.">identifier</a><a name="PrescriptionTJT.identifier"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-II.html" title="Element">II</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">An identifier for this prescription<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.status" title="Retsepti staatus.">status</a><a name="PrescriptionTJT.status"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-CD.html" title="Element">CD</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">A code representing the status of prescription active, on-hold, ended, stopped, completed, cancelled, entered-in-error, draft, unknown.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.lockStatus" title="Broneering retseptil. Kasutatakse juhul kui on tegemist müügiloata ravimi retseptiga, mis on saanud positiivse otsuse ning ootab apteegis tellitavat ravimit.">lockStatus</a><a name="PrescriptionTJT.lockStatus"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-BL.html" title="Element">BL</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">When pharmacy locks the prescription for ordering unauthorized medication for patient. True - prescription is locked for certain pharmacy. False - prescription is not locked.<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.reason" title="Retsepti koostamise põhjus ehk diagnoos">reason</a><a name="PrescriptionTJT.reason"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-CD.html" title="Element">CD</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Reason or indication for ordering the medication.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.note" title="Lisainformatsioon retsepti kohta">note</a><a name="PrescriptionTJT.note"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ST.html" title="Element">ST</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Extra information about the prescription that could not be conveyed by the other attributes.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.courseOfTherapyType" title="Ravikuuri tüüp, näiteks  pidev, fikseeritud, vajadusel, muutuv, ühekordne ">courseOfTherapyType</a><a name="PrescriptionTJT.courseOfTherapyType"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-CD.html" title="Element">CD</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Type of therapy<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.prescriptionCategory" title="Retsepti liik, näiteks tavaretsept, narkootilise ravimi retsept, meditsiiniseadme retsept.">prescriptionCategory</a><a name="PrescriptionTJT.prescriptionCategory"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-CD.html" title="Element">CD</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Category of prescription.<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.repeatCategory" title="Retsepti kordsus, näiteks 1-kordne, 2-kordne, 3-kordne, 6-kordne.">repeatCategory</a><a name="PrescriptionTJT.repeatCategory"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-CD.html" title="Element">CD</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Prescriptions to repeat<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.unauthorizedMedicationRequest" title="Müügiloata ravimi taotlus.">unauthorizedMedicationRequest</a><a name="PrescriptionTJT.unauthorizedMedicationRequest"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/references.html">Reference</a>(<a href="StructureDefinition-UnauthorizedMedication.html">Unauthorized Medication TJT - logical model</a>)</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Requesting usage permit for unauthorized medication.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.prescribedAmount" title="Väljakirjutatud ravimi kogus retseptil.">prescribedAmount</a><a name="PrescriptionTJT.prescribedAmount"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-Class.html" title="BackboneElement">Class</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">How much medication prescribed on prescription.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.prescribedAmount.prescribedAmountPackage" title="Preparaadi pakendite kogus ja ühik, mitu pakenit välja kirjutati.">prescribedAmountPackage</a><a name="PrescriptionTJT.prescribedAmount.prescribedAmountPackage"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-INT.html" title="Element">INT</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The number of medication packages.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.prescribedAmount.prescibedAmountTotal" title="Pakendipõhise ravimi korral ühe pakendi sisalduse kirjeldus, toimeainepõhise retsepti korral määratud kogu ravimi hulk.">prescibedAmountTotal</a><a name="PrescriptionTJT.prescribedAmount.prescibedAmountTotal"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-INT.html" title="Element">INT</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">How much medication prescribed in total on prescription.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.prescriptionValidityTime" title="Retsepti kehtivuse aeg.">prescriptionValidityTime</a><a name="PrescriptionTJT.prescriptionValidityTime"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-DT.html" title="Element">DT</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">For expressing the validity of the prescription(s).<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.prescriptionAuthorization" title="Retsepti volituse liik, näiteks avalik, privaatne, volitatud.">prescriptionAuthorization</a><a name="PrescriptionTJT.prescriptionAuthorization"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-CD.html" title="Element">CD</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Defines the authorization of the prescription.<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.cancelledPrescription" title="Retsepti annuleerimine.">cancelledPrescription</a><a name="PrescriptionTJT.cancelledPrescription"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-Class.html" title="BackboneElement">Class</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"> Cancellation of prescription.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.cancelledPrescription.cancelledStatusReason" title="Annulleerimise põhjus. Kui retsept annulleeritakse, tuleb loendist valida põhjus.">cancelledStatusReason</a><a name="PrescriptionTJT.cancelledPrescription.cancelledStatusReason"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-CD.html" title="Element">CD</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Reason for cancellation.<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.cancelledPrescription.cancelledTime" title="Annuleerimise aeg kuupäevaliselt.">cancelledTime</a><a name="PrescriptionTJT.cancelledPrescription.cancelledTime"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-DT.html" title="Element">DT</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Time of cancellation.<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.substitution" title="Ravimi asendamatus ja põhjus.">substitution</a><a name="PrescriptionTJT.substitution"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-Class.html" title="BackboneElement">Class</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Whether and which type of substitution is allowed for this medication</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.substitution.substitutionType" title="Asendamatuse tüüp.">substitutionType</a><a name="PrescriptionTJT.substitution.substitutionType"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-CD.html" title="Element">CD</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The type of substitution that is allowed.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.substitution.substitutionTypeReason" title="Asendamatuse põhjus.">substitutionTypeReason</a><a name="PrescriptionTJT.substitution.substitutionTypeReason"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-CD.html" title="Element">CD</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Coded reason for the substitution requirement</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.substitution.substitutionTypeReasonText" title="Tekstiliselt asendamatuse põhjus.">substitutionTypeReasonText</a><a name="PrescriptionTJT.substitution.substitutionTypeReasonText"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ST.html" title="Element">ST</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Textual reason for the substitution requirement</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.medication" title="Ravim, mis on retseptiga seotud.">medication</a><a name="PrescriptionTJT.medication"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/references.html">Reference</a>(<a href="StructureDefinition-MedicationTJT.html">Medication TJT - logical model</a>)</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Medicinal product for which the prescription refers to.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.practitioner" title="Tervishoiutöötaja, kes koostas retsepti.">practitioner</a><a name="PrescriptionTJT.practitioner"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/references.html">Reference</a>(<a href="StructureDefinition-PractitionerTJT.html">Practitioner TJT - logical model</a>)</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Practitioner who is creating prescription</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.organisation" title="Organisatsioon, kelle tervishoiutöötaja retsepti koostas.">organisation</a><a name="PrescriptionTJT.organisation"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/references.html">Reference</a>()</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Organisation connected to practitioner and prescription.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.dosageInstructions" title="Annustamisjuhis">dosageInstructions</a><a name="PrescriptionTJT.dosageInstructions"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/references.html">Reference</a>(<a href="StructureDefinition-DosagingTJT.html">Dosaging TJT - logical model</a>)</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Instructions about requested administration of the product<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.patient" title="Patsient">patient</a><a name="PrescriptionTJT.patient"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/references.html">Reference</a>(<a href="StructureDefinition-PatientTJT.html">Patient TJT - logical model</a>)</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Patient</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.reimbursement" title="Retsepti soodustus ja põhjus.">reimbursement</a><a name="PrescriptionTJT.reimbursement"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-Class.html" title="BackboneElement">Class</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">For representation of the reimbursement rate and reason of prescription medicine.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.reimbursement.reimbursementRate" title="Retsepti soodusmäär. Retseptikeskuse loendist Soodusmäärad, näiteks 0, 50, 75, 90, 100 protsenti.">reimbursementRate</a><a name="PrescriptionTJT.reimbursement.reimbursementRate"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-CD.html" title="Element">CD</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Reimbursement of medication.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.reimbursement.reimbursementReason" title="Meditsiinilised tingimused, soodustuse määra põhjus.">reimbursementReason</a><a name="PrescriptionTJT.reimbursement.reimbursementReason"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ST.html" title="Element">ST</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Reason of the reimbursement rate.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck001.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.reimbursement.reimbursementParameters" title="Mis kindlustus on patsiendil.">reimbursementParameters</a><a name="PrescriptionTJT.reimbursement.reimbursementParameters"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-Class.html" title="BackboneElement">Class</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Insurance response.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementEu" title="Patsiendil on EU ravikindlustus.">reimbursementEu</a><a name="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementEu"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-BL.html" title="Element">BL</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">EU insurance.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementOldAgeRetirement" title="Vanaduspension.">reimbursementOldAgeRetirement</a><a name="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementOldAgeRetirement"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-BL.html" title="Element">BL</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Old age pension.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementIncapacityForWork" title="Töövõimetuspension.">reimbursementIncapacityForWork</a><a name="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementIncapacityForWork"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-BL.html" title="Element">BL</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Pension for incapacity for work.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-PrescriptionTJT-definitions.html#PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementEstonian" title="Eesti ravikindlustus.">reimbursementEstonian</a><a name="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementEstonian"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-BL.html" title="Element">BL</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Estonian insurance.</td></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
  </text>
  <url value="https://fhir.ee/StructureDefinition/PrescriptionTJT"/>
  <version value="1.0.0"/>
  <name value="PrescriptionTJT"/>
  <title value="PrescriptionTJT - logical model"/>
  <status value="draft"/>
  <date value="2024-10-28T07:49:38+00:00"/>
  <publisher value="TEHIK"/>
  <contact>
    <name value="TEHIK"/>
    <telecom>
      <system value="url"/>
      <value value="https://www.tehik.ee"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="fhir@tehik.ee"/>
    </telecom>
  </contact>
  <contact>
    <name value="Rutt Lindström"/>
    <telecom>
      <system value="email"/>
      <value value="rutt.lindstrom@tehik.ee"/>
      <use value="work"/>
    </telecom>
  </contact>
  <description value="Prescription from prescription center"/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="EE"/>
      <display value="Estonia"/>
    </coding>
  </jurisdiction>
  <fhirVersion value="5.0.0"/>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <kind value="logical"/>
  <abstract value="false"/>
  <type value="https://fhir.ee/StructureDefinition/PrescriptionTJT"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base"/>
  <derivation value="specialization"/>
  <snapshot>
    <element id="PrescriptionTJT">
      <path value="PrescriptionTJT"/>
      <short value="PrescriptionTJT - logical model"/>
      <definition value="Prescription from prescription center"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Base"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="PrescriptionTJT.identifier">
      <path value="PrescriptionTJT.identifier"/>
      <short value="An identifier for this prescription"/>
      <definition value="Retsepti identifikaator. Retsepti number."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="PrescriptionTJT.identifier"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/II"/>
      </type>
    </element>
    <element id="PrescriptionTJT.status">
      <path value="PrescriptionTJT.status"/>
      <short
             value="A code representing the status of prescription active, on-hold, ended, stopped, completed, cancelled, entered-in-error, draft, unknown."/>
      <definition value="Retsepti staatus."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PrescriptionTJT.status"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="PrescriptionTJT.lockStatus">
      <path value="PrescriptionTJT.lockStatus"/>
      <short
             value="When pharmacy locks the prescription for ordering unauthorized medication for patient. True - prescription is locked for certain pharmacy. False - prescription is not locked."/>
      <definition
                  value="Broneering retseptil. Kasutatakse juhul kui on tegemist müügiloata ravimi retseptiga, mis on saanud positiivse otsuse ning ootab apteegis tellitavat ravimit."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PrescriptionTJT.lockStatus"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/BL"/>
      </type>
    </element>
    <element id="PrescriptionTJT.reason">
      <path value="PrescriptionTJT.reason"/>
      <short value="Reason or indication for ordering the medication."/>
      <definition value="Retsepti koostamise põhjus ehk diagnoos"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PrescriptionTJT.reason"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="PrescriptionTJT.note">
      <path value="PrescriptionTJT.note"/>
      <short
             value="Extra information about the prescription that could not be conveyed by the other attributes."/>
      <definition value="Lisainformatsioon retsepti kohta"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PrescriptionTJT.note"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="PrescriptionTJT.courseOfTherapyType">
      <path value="PrescriptionTJT.courseOfTherapyType"/>
      <short value="Type of therapy"/>
      <definition
                  value="Ravikuuri tüüp, näiteks  pidev, fikseeritud, vajadusel, muutuv, ühekordne"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PrescriptionTJT.courseOfTherapyType"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="PrescriptionTJT.prescriptionCategory">
      <path value="PrescriptionTJT.prescriptionCategory"/>
      <short value="Category of prescription."/>
      <definition
                  value="Retsepti liik, näiteks tavaretsept, narkootilise ravimi retsept, meditsiiniseadme retsept."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PrescriptionTJT.prescriptionCategory"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="PrescriptionTJT.repeatCategory">
      <path value="PrescriptionTJT.repeatCategory"/>
      <short value="Prescriptions to repeat"/>
      <definition
                  value="Retsepti kordsus, näiteks 1-kordne, 2-kordne, 3-kordne, 6-kordne."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PrescriptionTJT.repeatCategory"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="PrescriptionTJT.unauthorizedMedicationRequest">
      <path value="PrescriptionTJT.unauthorizedMedicationRequest"/>
      <short value="Requesting usage permit for unauthorized medication."/>
      <definition value="Müügiloata ravimi taotlus."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PrescriptionTJT.unauthorizedMedicationRequest"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="https://fhir.ee/StructureDefinition/UnauthorizedMedication"/>
      </type>
    </element>
    <element id="PrescriptionTJT.prescribedAmount">
      <path value="PrescriptionTJT.prescribedAmount"/>
      <short value="How much medication prescribed on prescription."/>
      <definition value="Väljakirjutatud ravimi kogus retseptil."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PrescriptionTJT.prescribedAmount"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
        <profile value="https://fhir.ee/StructureDefinition/Class"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
    </element>
    <element id="PrescriptionTJT.prescribedAmount.id">
      <path value="PrescriptionTJT.prescribedAmount.id"/>
      <representation value="xmlAttr"/>
      <short value="Unique id for inter-element referencing"/>
      <definition
                  value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="id"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <condition value="ele-1"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="PrescriptionTJT.prescribedAmount.extension">
      <path value="PrescriptionTJT.prescribedAmount.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="PrescriptionTJT.prescribedAmount.modifierExtension">
      <path value="PrescriptionTJT.prescribedAmount.modifierExtension"/>
      <short value="Extensions that cannot be ignored even if unrecognized"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <requirements
                    value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension)."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="true"/>
      <isModifierReason
                        value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="PrescriptionTJT.prescribedAmount.prescribedAmountPackage">
      <path value="PrescriptionTJT.prescribedAmount.prescribedAmountPackage"/>
      <short value="The number of medication packages."/>
      <definition
                  value="Preparaadi pakendite kogus ja ühik, mitu pakenit välja kirjutati."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="PrescriptionTJT.prescribedAmount.prescribedAmountPackage"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/INT"/>
      </type>
    </element>
    <element id="PrescriptionTJT.prescribedAmount.prescibedAmountTotal">
      <path value="PrescriptionTJT.prescribedAmount.prescibedAmountTotal"/>
      <short
             value="How much medication prescribed in total on prescription."/>
      <definition
                  value="Pakendipõhise ravimi korral ühe pakendi sisalduse kirjeldus, toimeainepõhise retsepti korral määratud kogu ravimi hulk."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PrescriptionTJT.prescribedAmount.prescibedAmountTotal"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/INT"/>
      </type>
    </element>
    <element id="PrescriptionTJT.prescriptionValidityTime">
      <path value="PrescriptionTJT.prescriptionValidityTime"/>
      <short value="For expressing the validity of the prescription(s)."/>
      <definition value="Retsepti kehtivuse aeg."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PrescriptionTJT.prescriptionValidityTime"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/DT"/>
      </type>
    </element>
    <element id="PrescriptionTJT.prescriptionAuthorization">
      <path value="PrescriptionTJT.prescriptionAuthorization"/>
      <short value="Defines the authorization of the prescription."/>
      <definition
                  value="Retsepti volituse liik, näiteks avalik, privaatne, volitatud."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PrescriptionTJT.prescriptionAuthorization"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="PrescriptionTJT.cancelledPrescription">
      <path value="PrescriptionTJT.cancelledPrescription"/>
      <short value=" Cancellation of prescription."/>
      <definition value="Retsepti annuleerimine."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PrescriptionTJT.cancelledPrescription"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
        <profile value="https://fhir.ee/StructureDefinition/Class"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
    </element>
    <element id="PrescriptionTJT.cancelledPrescription.id">
      <path value="PrescriptionTJT.cancelledPrescription.id"/>
      <representation value="xmlAttr"/>
      <short value="Unique id for inter-element referencing"/>
      <definition
                  value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="id"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <condition value="ele-1"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="PrescriptionTJT.cancelledPrescription.extension">
      <path value="PrescriptionTJT.cancelledPrescription.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="PrescriptionTJT.cancelledPrescription.modifierExtension">
      <path value="PrescriptionTJT.cancelledPrescription.modifierExtension"/>
      <short value="Extensions that cannot be ignored even if unrecognized"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <requirements
                    value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension)."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="true"/>
      <isModifierReason
                        value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="PrescriptionTJT.cancelledPrescription.cancelledStatusReason">
      <path
            value="PrescriptionTJT.cancelledPrescription.cancelledStatusReason"/>
      <short value="Reason for cancellation."/>
      <definition
                  value="Annulleerimise põhjus. Kui retsept annulleeritakse, tuleb loendist valida põhjus."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path
              value="PrescriptionTJT.cancelledPrescription.cancelledStatusReason"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="PrescriptionTJT.cancelledPrescription.cancelledTime">
      <path value="PrescriptionTJT.cancelledPrescription.cancelledTime"/>
      <short value="Time of cancellation."/>
      <definition value="Annuleerimise aeg kuupäevaliselt."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PrescriptionTJT.cancelledPrescription.cancelledTime"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/DT"/>
      </type>
    </element>
    <element id="PrescriptionTJT.substitution">
      <path value="PrescriptionTJT.substitution"/>
      <short
             value="Whether and which type of substitution is allowed for this medication"/>
      <definition value="Ravimi asendamatus ja põhjus."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PrescriptionTJT.substitution"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
        <profile value="https://fhir.ee/StructureDefinition/Class"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
    </element>
    <element id="PrescriptionTJT.substitution.id">
      <path value="PrescriptionTJT.substitution.id"/>
      <representation value="xmlAttr"/>
      <short value="Unique id for inter-element referencing"/>
      <definition
                  value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="id"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <condition value="ele-1"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="PrescriptionTJT.substitution.extension">
      <path value="PrescriptionTJT.substitution.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="PrescriptionTJT.substitution.modifierExtension">
      <path value="PrescriptionTJT.substitution.modifierExtension"/>
      <short value="Extensions that cannot be ignored even if unrecognized"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <requirements
                    value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension)."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="true"/>
      <isModifierReason
                        value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="PrescriptionTJT.substitution.substitutionType">
      <path value="PrescriptionTJT.substitution.substitutionType"/>
      <short value="The type of substitution that is allowed."/>
      <definition value="Asendamatuse tüüp."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PrescriptionTJT.substitution.substitutionType"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="PrescriptionTJT.substitution.substitutionTypeReason">
      <path value="PrescriptionTJT.substitution.substitutionTypeReason"/>
      <short value="Coded reason for the substitution requirement"/>
      <definition value="Asendamatuse põhjus."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PrescriptionTJT.substitution.substitutionTypeReason"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="PrescriptionTJT.substitution.substitutionTypeReasonText">
      <path value="PrescriptionTJT.substitution.substitutionTypeReasonText"/>
      <short value="Textual reason for the substitution requirement"/>
      <definition value="Tekstiliselt asendamatuse põhjus."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="PrescriptionTJT.substitution.substitutionTypeReasonText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="PrescriptionTJT.medication">
      <path value="PrescriptionTJT.medication"/>
      <short value="Medicinal product for which the prescription refers to."/>
      <definition value="Ravim, mis on retseptiga seotud."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PrescriptionTJT.medication"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="https://fhir.ee/StructureDefinition/MedicationTJT"/>
      </type>
    </element>
    <element id="PrescriptionTJT.practitioner">
      <path value="PrescriptionTJT.practitioner"/>
      <short value="Practitioner who is creating prescription"/>
      <definition value="Tervishoiutöötaja, kes koostas retsepti."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PrescriptionTJT.practitioner"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="https://fhir.ee/StructureDefinition/PractitionerTJT"/>
      </type>
    </element>
    <element id="PrescriptionTJT.organisation">
      <path value="PrescriptionTJT.organisation"/>
      <short
             value="Organisation connected to practitioner and prescription."/>
      <definition
                  value="Organisatsioon, kelle tervishoiutöötaja retsepti koostas."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PrescriptionTJT.organisation"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
      </type>
    </element>
    <element id="PrescriptionTJT.dosageInstructions">
      <path value="PrescriptionTJT.dosageInstructions"/>
      <short
             value="Instructions about requested administration of the product"/>
      <definition value="Annustamisjuhis"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PrescriptionTJT.dosageInstructions"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="https://fhir.ee/StructureDefinition/DosagingTJT"/>
      </type>
    </element>
    <element id="PrescriptionTJT.patient">
      <path value="PrescriptionTJT.patient"/>
      <short value="Patient"/>
      <definition value="Patsient"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PrescriptionTJT.patient"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="https://fhir.ee/StructureDefinition/PatientTJT"/>
      </type>
    </element>
    <element id="PrescriptionTJT.reimbursement">
      <path value="PrescriptionTJT.reimbursement"/>
      <short
             value="For representation of the reimbursement rate and reason of prescription medicine."/>
      <definition value="Retsepti soodustus ja põhjus."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PrescriptionTJT.reimbursement"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
        <profile value="https://fhir.ee/StructureDefinition/Class"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
    </element>
    <element id="PrescriptionTJT.reimbursement.id">
      <path value="PrescriptionTJT.reimbursement.id"/>
      <representation value="xmlAttr"/>
      <short value="Unique id for inter-element referencing"/>
      <definition
                  value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="id"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <condition value="ele-1"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="PrescriptionTJT.reimbursement.extension">
      <path value="PrescriptionTJT.reimbursement.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="PrescriptionTJT.reimbursement.modifierExtension">
      <path value="PrescriptionTJT.reimbursement.modifierExtension"/>
      <short value="Extensions that cannot be ignored even if unrecognized"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <requirements
                    value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension)."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="true"/>
      <isModifierReason
                        value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="PrescriptionTJT.reimbursement.reimbursementRate">
      <path value="PrescriptionTJT.reimbursement.reimbursementRate"/>
      <short value="Reimbursement of medication."/>
      <definition
                  value="Retsepti soodusmäär. Retseptikeskuse loendist Soodusmäärad, näiteks 0, 50, 75, 90, 100 protsenti."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PrescriptionTJT.reimbursement.reimbursementRate"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="PrescriptionTJT.reimbursement.reimbursementReason">
      <path value="PrescriptionTJT.reimbursement.reimbursementReason"/>
      <short value="Reason of the reimbursement rate."/>
      <definition
                  value="Meditsiinilised tingimused, soodustuse määra põhjus."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PrescriptionTJT.reimbursement.reimbursementReason"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="PrescriptionTJT.reimbursement.reimbursementParameters">
      <path value="PrescriptionTJT.reimbursement.reimbursementParameters"/>
      <short value="Insurance response."/>
      <definition value="Mis kindlustus on patsiendil."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PrescriptionTJT.reimbursement.reimbursementParameters"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
        <profile value="https://fhir.ee/StructureDefinition/Class"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
    </element>
    <element id="PrescriptionTJT.reimbursement.reimbursementParameters.id">
      <path value="PrescriptionTJT.reimbursement.reimbursementParameters.id"/>
      <representation value="xmlAttr"/>
      <short value="Unique id for inter-element referencing"/>
      <definition
                  value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="id"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <condition value="ele-1"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="PrescriptionTJT.reimbursement.reimbursementParameters.extension">
      <path
            value="PrescriptionTJT.reimbursement.reimbursementParameters.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="PrescriptionTJT.reimbursement.reimbursementParameters.modifierExtension">
      <path
            value="PrescriptionTJT.reimbursement.reimbursementParameters.modifierExtension"/>
      <short value="Extensions that cannot be ignored even if unrecognized"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <requirements
                    value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension)."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="true"/>
      <isModifierReason
                        value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementEu">
      <path
            value="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementEu"/>
      <short value="EU insurance."/>
      <definition value="Patsiendil on EU ravikindlustus."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementEu"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/BL"/>
      </type>
    </element>
    <element
             id="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementOldAgeRetirement">
      <path
            value="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementOldAgeRetirement"/>
      <short value="Old age pension."/>
      <definition value="Vanaduspension."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementOldAgeRetirement"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/BL"/>
      </type>
    </element>
    <element
             id="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementIncapacityForWork">
      <path
            value="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementIncapacityForWork"/>
      <short value="Pension for incapacity for work."/>
      <definition value="Töövõimetuspension."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementIncapacityForWork"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/BL"/>
      </type>
    </element>
    <element
             id="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementEstonian">
      <path
            value="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementEstonian"/>
      <short value="Estonian insurance."/>
      <definition value="Eesti ravikindlustus."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementEstonian"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/BL"/>
      </type>
    </element>
  </snapshot>
  <differential>
    <element id="PrescriptionTJT">
      <path value="PrescriptionTJT"/>
      <short value="PrescriptionTJT - logical model"/>
      <definition value="Prescription from prescription center"/>
    </element>
    <element id="PrescriptionTJT.identifier">
      <path value="PrescriptionTJT.identifier"/>
      <short value="An identifier for this prescription"/>
      <definition value="Retsepti identifikaator. Retsepti number."/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/II"/>
      </type>
    </element>
    <element id="PrescriptionTJT.status">
      <path value="PrescriptionTJT.status"/>
      <short
             value="A code representing the status of prescription active, on-hold, ended, stopped, completed, cancelled, entered-in-error, draft, unknown."/>
      <definition value="Retsepti staatus."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="PrescriptionTJT.lockStatus">
      <path value="PrescriptionTJT.lockStatus"/>
      <short
             value="When pharmacy locks the prescription for ordering unauthorized medication for patient. True - prescription is locked for certain pharmacy. False - prescription is not locked."/>
      <definition
                  value="Broneering retseptil. Kasutatakse juhul kui on tegemist müügiloata ravimi retseptiga, mis on saanud positiivse otsuse ning ootab apteegis tellitavat ravimit."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/BL"/>
      </type>
    </element>
    <element id="PrescriptionTJT.reason">
      <path value="PrescriptionTJT.reason"/>
      <short value="Reason or indication for ordering the medication."/>
      <definition value="Retsepti koostamise põhjus ehk diagnoos"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="PrescriptionTJT.note">
      <path value="PrescriptionTJT.note"/>
      <short
             value="Extra information about the prescription that could not be conveyed by the other attributes."/>
      <definition value="Lisainformatsioon retsepti kohta"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="PrescriptionTJT.courseOfTherapyType">
      <path value="PrescriptionTJT.courseOfTherapyType"/>
      <short value="Type of therapy"/>
      <definition
                  value="Ravikuuri tüüp, näiteks  pidev, fikseeritud, vajadusel, muutuv, ühekordne "/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="PrescriptionTJT.prescriptionCategory">
      <path value="PrescriptionTJT.prescriptionCategory"/>
      <short value="Category of prescription."/>
      <definition
                  value="Retsepti liik, näiteks tavaretsept, narkootilise ravimi retsept, meditsiiniseadme retsept."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="PrescriptionTJT.repeatCategory">
      <path value="PrescriptionTJT.repeatCategory"/>
      <short value="Prescriptions to repeat"/>
      <definition
                  value="Retsepti kordsus, näiteks 1-kordne, 2-kordne, 3-kordne, 6-kordne."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="PrescriptionTJT.unauthorizedMedicationRequest">
      <path value="PrescriptionTJT.unauthorizedMedicationRequest"/>
      <short value="Requesting usage permit for unauthorized medication."/>
      <definition value="Müügiloata ravimi taotlus."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="https://fhir.ee/StructureDefinition/UnauthorizedMedication"/>
      </type>
    </element>
    <element id="PrescriptionTJT.prescribedAmount">
      <path value="PrescriptionTJT.prescribedAmount"/>
      <short value="How much medication prescribed on prescription."/>
      <definition value="Väljakirjutatud ravimi kogus retseptil."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
        <profile value="https://fhir.ee/StructureDefinition/Class"/>
      </type>
    </element>
    <element id="PrescriptionTJT.prescribedAmount.prescribedAmountPackage">
      <path value="PrescriptionTJT.prescribedAmount.prescribedAmountPackage"/>
      <short value="The number of medication packages."/>
      <definition
                  value="Preparaadi pakendite kogus ja ühik, mitu pakenit välja kirjutati."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/INT"/>
      </type>
    </element>
    <element id="PrescriptionTJT.prescribedAmount.prescibedAmountTotal">
      <path value="PrescriptionTJT.prescribedAmount.prescibedAmountTotal"/>
      <short
             value="How much medication prescribed in total on prescription."/>
      <definition
                  value="Pakendipõhise ravimi korral ühe pakendi sisalduse kirjeldus, toimeainepõhise retsepti korral määratud kogu ravimi hulk."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/INT"/>
      </type>
    </element>
    <element id="PrescriptionTJT.prescriptionValidityTime">
      <path value="PrescriptionTJT.prescriptionValidityTime"/>
      <short value="For expressing the validity of the prescription(s)."/>
      <definition value="Retsepti kehtivuse aeg."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/DT"/>
      </type>
    </element>
    <element id="PrescriptionTJT.prescriptionAuthorization">
      <path value="PrescriptionTJT.prescriptionAuthorization"/>
      <short value="Defines the authorization of the prescription."/>
      <definition
                  value="Retsepti volituse liik, näiteks avalik, privaatne, volitatud."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="PrescriptionTJT.cancelledPrescription">
      <path value="PrescriptionTJT.cancelledPrescription"/>
      <short value=" Cancellation of prescription."/>
      <definition value="Retsepti annuleerimine."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
        <profile value="https://fhir.ee/StructureDefinition/Class"/>
      </type>
    </element>
    <element
             id="PrescriptionTJT.cancelledPrescription.cancelledStatusReason">
      <path
            value="PrescriptionTJT.cancelledPrescription.cancelledStatusReason"/>
      <short value="Reason for cancellation."/>
      <definition
                  value="Annulleerimise põhjus. Kui retsept annulleeritakse, tuleb loendist valida põhjus."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="PrescriptionTJT.cancelledPrescription.cancelledTime">
      <path value="PrescriptionTJT.cancelledPrescription.cancelledTime"/>
      <short value="Time of cancellation."/>
      <definition value="Annuleerimise aeg kuupäevaliselt."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/DT"/>
      </type>
    </element>
    <element id="PrescriptionTJT.substitution">
      <path value="PrescriptionTJT.substitution"/>
      <short
             value="Whether and which type of substitution is allowed for this medication"/>
      <definition value="Ravimi asendamatus ja põhjus."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
        <profile value="https://fhir.ee/StructureDefinition/Class"/>
      </type>
    </element>
    <element id="PrescriptionTJT.substitution.substitutionType">
      <path value="PrescriptionTJT.substitution.substitutionType"/>
      <short value="The type of substitution that is allowed."/>
      <definition value="Asendamatuse tüüp."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="PrescriptionTJT.substitution.substitutionTypeReason">
      <path value="PrescriptionTJT.substitution.substitutionTypeReason"/>
      <short value="Coded reason for the substitution requirement"/>
      <definition value="Asendamatuse põhjus."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="PrescriptionTJT.substitution.substitutionTypeReasonText">
      <path value="PrescriptionTJT.substitution.substitutionTypeReasonText"/>
      <short value="Textual reason for the substitution requirement"/>
      <definition value="Tekstiliselt asendamatuse põhjus."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="PrescriptionTJT.medication">
      <path value="PrescriptionTJT.medication"/>
      <short value="Medicinal product for which the prescription refers to."/>
      <definition value="Ravim, mis on retseptiga seotud."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="https://fhir.ee/StructureDefinition/MedicationTJT"/>
      </type>
    </element>
    <element id="PrescriptionTJT.practitioner">
      <path value="PrescriptionTJT.practitioner"/>
      <short value="Practitioner who is creating prescription"/>
      <definition value="Tervishoiutöötaja, kes koostas retsepti."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="https://fhir.ee/StructureDefinition/PractitionerTJT"/>
      </type>
    </element>
    <element id="PrescriptionTJT.organisation">
      <path value="PrescriptionTJT.organisation"/>
      <short
             value="Organisation connected to practitioner and prescription."/>
      <definition
                  value="Organisatsioon, kelle tervishoiutöötaja retsepti koostas."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
      </type>
    </element>
    <element id="PrescriptionTJT.dosageInstructions">
      <path value="PrescriptionTJT.dosageInstructions"/>
      <short
             value="Instructions about requested administration of the product"/>
      <definition value="Annustamisjuhis"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="https://fhir.ee/StructureDefinition/DosagingTJT"/>
      </type>
    </element>
    <element id="PrescriptionTJT.patient">
      <path value="PrescriptionTJT.patient"/>
      <short value="Patient"/>
      <definition value="Patsient"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="https://fhir.ee/StructureDefinition/PatientTJT"/>
      </type>
    </element>
    <element id="PrescriptionTJT.reimbursement">
      <path value="PrescriptionTJT.reimbursement"/>
      <short
             value="For representation of the reimbursement rate and reason of prescription medicine."/>
      <definition value="Retsepti soodustus ja põhjus."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
        <profile value="https://fhir.ee/StructureDefinition/Class"/>
      </type>
    </element>
    <element id="PrescriptionTJT.reimbursement.reimbursementRate">
      <path value="PrescriptionTJT.reimbursement.reimbursementRate"/>
      <short value="Reimbursement of medication."/>
      <definition
                  value="Retsepti soodusmäär. Retseptikeskuse loendist Soodusmäärad, näiteks 0, 50, 75, 90, 100 protsenti."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="PrescriptionTJT.reimbursement.reimbursementReason">
      <path value="PrescriptionTJT.reimbursement.reimbursementReason"/>
      <short value="Reason of the reimbursement rate."/>
      <definition
                  value="Meditsiinilised tingimused, soodustuse määra põhjus."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="PrescriptionTJT.reimbursement.reimbursementParameters">
      <path value="PrescriptionTJT.reimbursement.reimbursementParameters"/>
      <short value="Insurance response."/>
      <definition value="Mis kindlustus on patsiendil."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
        <profile value="https://fhir.ee/StructureDefinition/Class"/>
      </type>
    </element>
    <element
             id="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementEu">
      <path
            value="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementEu"/>
      <short value="EU insurance."/>
      <definition value="Patsiendil on EU ravikindlustus."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/BL"/>
      </type>
    </element>
    <element
             id="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementOldAgeRetirement">
      <path
            value="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementOldAgeRetirement"/>
      <short value="Old age pension."/>
      <definition value="Vanaduspension."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/BL"/>
      </type>
    </element>
    <element
             id="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementIncapacityForWork">
      <path
            value="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementIncapacityForWork"/>
      <short value="Pension for incapacity for work."/>
      <definition value="Töövõimetuspension."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/BL"/>
      </type>
    </element>
    <element
             id="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementEstonian">
      <path
            value="PrescriptionTJT.reimbursement.reimbursementParameters.reimbursementEstonian"/>
      <short value="Estonian insurance."/>
      <definition value="Eesti ravikindlustus."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
        <profile value="https://fhir.ee/StructureDefinition/BL"/>
      </type>
    </element>
  </differential>
</StructureDefinition>