Add a medication
add_medicationAdd a medication to an elder's schedule and receive interaction/allergy warnings against current medications. Read every warning and disclaimer to the caregiver; not medical advice.
Instructions
Caregiver adds a medication to the elder's schedule. The medication is always added; the result also carries informational interaction and allergy warnings against the elder's current medications — read every warning and the disclaimer to the caregiver. Not medical advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dose | Yes | e.g. "200 mg" | |
| form | No | tablet, capsule, liquid, … | |
| name | Yes | Brand or generic name, e.g. "Ibuprofen" | |
| addedBy | No | Caregiver id making the change. | |
| elderId | No | Elder id. Omit for the household elder. | |
| purpose | No | Plain-language purpose: "pain", "blood pressure" | |
| critical | No | Missing it should raise a critical alert. Default false. | |
| graceMin | No | Minutes after a slot before it counts as missed. Default 90. | |
| instructions | No | e.g. "with food" | |
| maxDailyDoses | No | Default: number of schedule times. | |
| scheduleTimes | Yes | ||
| minIntervalMin | No | Minimum minutes between doses. Default 240. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alertId | Yes | ||
| warnings | Yes | ||
| medication | Yes |