Medication Scheme Implementation Guide
1.0.0 - trial-use
Medication Scheme Implementation Guide, published by TEHIK. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TEHIK-EE/ig-ee-medication-scheme/ and changes regularly. See the Directory of published versions
| Official URL: https://fhir.ee/OperationDefinition/can-prescribe | Version: 1.0.0 | |||
| Standards status: Trial-use | Maturity Level: 1 | Computable Name: Can Prescribe | ||
The can prescribe operation checks if the Medication can be prescribed to the patient based on existing medications
URL: [base]/Medication/$can-prescribe
URL: [base]/Patient/$can-prescribe
| Use | Name | Scope | Cardinality | Type | Binding | Documentation |
| IN | subject | 1..1 | Patient | Patient | ||
| IN | input | 1..1 | Medication | Medication to be checked against current medications in scheme and prescribed drafts. | ||
| IN | draft | 0..* | Medication | List of new medication drafts that the input medication is checked against. | ||
| OUT | return | 1..1 | OperationOutcome | Whether conflicts were found and the nature of the conflicts. |
Lisamise valideerimist päritakse uue ravimi lisamisel või kehtiva muutmisel. Selle operatsiooni käigus kontrollitakse kas sama ravimivormi ja toimeainetega ravim juba eksisteerib ravimiplaanis või mustandites. Operatsiooni saab kasutada kas koos mustanditega või ilma.
Eesmärk on pakkuda klientsüsteemidele võimalust taaskasutada MedIN sisemist loogikat ja kontrolle ja vältida äriloogika dubleerimist.
Operatsiooni üldine käik: