FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packageig-ee-medication-scheme
Resource TypeOperationDefinition
IdOperationDefinition-can-prescribe.json
FHIR VersionR5
Sourcehttps://build.fhir.org/ig/TEHIK-EE/ig-ee-medication-scheme/OperationDefinition-can-prescribe.html
URLhttps://fhir.ee/OperationDefinition/can-prescribe
Version1.0.0
Statusactive
Date2025-09-15T00:00:00Z
NameCan Prescribe
TitleCheck if the medication can be prescribed
Realmee
DescriptionThe can prescribe operation checks if the Medication can be prescribed to the patient based on existing medications
Typetrue
Kindoperation

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

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

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INsubject1..1Patient

Patient

INinput1..1Medication

Medication to be checked against current medications in scheme and prescribed drafts.

INdraft0..*Medication

List of new medication drafts that the input medication is checked against.

OUTreturn1..1OperationOutcome

Whether conflicts were found and the nature of the conflicts.


Source1

{
  "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"
    }
  ]
}