Medication Calculator Skill
Computes weight-based and age-based medication doses for common drug classes using standard clinical dosing references (e.g. BNF, UpToDate guidelines).
Supported Drug Classes
| Class | Examples | Dosing Method |
|---|---|---|
| 解热镇痛 NSAIDs | 布洛芬, 对乙酰氨基酚 | Weight-based (mg/kg) |
| 抗生素 Antibiotics | 阿莫西林, 头孢克洛 | Weight-based (mg/kg/day) |
| 抗组胺 Antihistamines | 氯苯那敏, 氯雷他定 | Age/weight-based |
| 消化道 GI | 奥美拉唑, 多潘立酮 | Fixed adult / weight-adjusted paediatric |
| 降压 Antihypertensives | 氨氯地平, 依那普利 | Fixed titration (refer to physician) |
Required Inputs
drug_name— generic drug name (e.g. 布洛芬, 阿莫西林)weight_kg— patient body weightage_years— patient age
Optional Inputs
indication— reason for use (may select different dosing schedule)renal_impairment—"mild" | "moderate" | "severe"for dose adjustment notesis_pregnant— triggers pregnancy safety classification
Output Notes
- Doses are displayed as a range (low–high) with frequency
- Prescription drugs: Output includes a mandatory "需凭处方" warning
- Paediatric: Per-kg doses always calculated; max dose cap enforced
- Always show
disclaimerandmax_dose_warningif applicable - Recommend confirming with 执业药师 (licensed pharmacist) before dispensing
Safety Rules
- Never recommend doses above established maximum daily limits
- For
renal_impairment == "severe": output dose reduction note and physician referral - For pregnancy: display FDA/CFDA category and safety note
- For age < 2 years: explicitly state "需在医生指导下使用"