openemr_drug_safety_flag_create
Create drug safety flags for patients to record adverse events, recalls, warnings, contraindications, or custom notes with severity and source.
Instructions
Create a drug safety flag for a patient (adverse event, recall, warning, contraindication, or custom note).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"patient_id": "<patient_id>",
"drug_name": "<drug_name>",
"description": "<description>"
},
"name": "openemr_drug_safety_flag_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patient_id | Yes | OpenEMR patient ID | |
| drug_name | Yes | Name of the drug being flagged | |
| description | Yes | Clinical description of the safety concern | |
| flag_type | No | adverse_event | |
| severity | No | MODERATE | |
| source | No | AGENT |