FHIR IG analytics| Package | ig-ee-medication-scheme |
| Resource Type | OperationDefinition |
| Id | OperationDefinition-can-prescribe.json |
| FHIR Version | R5 |
| Source | https://build.fhir.org/ig/TEHIK-EE/ig-ee-medication-scheme/OperationDefinition-can-prescribe.html |
| URL | https://fhir.ee/OperationDefinition/can-prescribe |
| Version | 1.0.0 |
| Status | active |
| Date | 2025-09-15T00:00:00Z |
| Name | Can Prescribe |
| Title | Check if the medication can be prescribed |
| Realm | ee |
| Description | The can prescribe operation checks if the Medication can be prescribed to the patient based on existing medications |
| Type | true |
| Kind | operation |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: OperationDefinition can-prescribe
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. |
{
"resourceType": "OperationDefinition",
"id": "can-prescribe",
"text": {
"status": "generated",
"div": "<!-- snip (see above) -->"
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger": 1
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "trial-use"
}
],
"url": "https://fhir.ee/OperationDefinition/can-prescribe",
"version": "1.0.0",
"name": "Can Prescribe",
"title": "Check if the medication can be prescribed",
"status": "active",
"kind": "operation",
"experimental": false,
"date": "2025-09-15T00:00:00Z",
"publisher": "TEHIK",
"contact": [
{
"name": "TEHIK",
"telecom": [
{
"system": "url",
"value": "https://www.tehik.ee"
},
{
"system": "email",
"value": "fhir@tehik.ee"
}
]
},
{
"name": "TEHIK Andmekorraldus",
"telecom": [
{
"system": "email",
"value": "andmekorraldus@tehik.ee",
"use": "work"
}
]
}
],
"description": "The can prescribe operation checks if the Medication can be prescribed to the patient based on existing medications",
"jurisdiction": [
{
"coding": [
{
"system": "urn:iso:std:iso:3166",
"code": "EE",
"display": "Estonia"
}
]
}
],
"affectsState": false,
"code": "can-prescribe",
"resource": [
"Medication",
"Patient"
],
"system": false,
"type": true,
"instance": false,
"parameter": [
{
"name": "subject",
"use": "in",
"min": 1,
"max": "1",
"documentation": "Patient",
"type": "Patient"
},
{
"name": "input",
"use": "in",
"min": 1,
"max": "1",
"documentation": "Medication to be checked against current medications in scheme and prescribed drafts.",
"type": "Medication"
},
{
"name": "draft",
"use": "in",
"min": 0,
"max": "*",
"documentation": "List of new medication drafts that the input medication is checked against.",
"type": "Medication"
},
{
"name": "return",
"use": "out",
"min": 1,
"max": "1",
"documentation": "Whether conflicts were found and the nature of the conflicts.",
"type": "OperationOutcome"
}
]
}