Repository navigation
Rules
Lorelei edited this page Oct 4, 2026
·
16 revisions
Pharmacist-authored demo content. Not clinical guidance. Last reviewed: 10/04/2026
The AI matches what the patient says against the trigger phrases in each rule. When a rule matches, the pharmacist sees the recommendation and the name of the rule that triggered it. The pharmacist decides what to say and whether an event meets seriousness criteria. The tool only prompts.
In order to maintain scope of project and reflect common practice if it is a not a serious event it will be categorized as mild
A report is serious when the patient outcome is one of (FDA MedWatch definition):
- Death
- Life-threatening
- Hospitalization (initial or prolonged)
- Disability or permanent damage
- Congenital anomaly / birth defect
- Required intervention to prevent permanent impairment or damage
- Other serious (important medical event)
Source: https://www.fda.gov/safety/reporting-serious-problems-fda/what-serious-adverse-event
Indication(s): [ ] Route / frequency: [ ]
| Rule ID | Patient might say (trigger phrases) | Standardized label | Seriousness prompts (what to ask) | Recommendation to show the pharmacist | Escalate when | Source |
|---|---|---|---|---|---|---|
| D1-01 | [ ] | [ ] | [e.g. ER visit? admitted? interfering with daily life?] | [ ] | [ ] | [label section / reference] |
| D1-02 | [ ] | [ ] | [ ] | [ ] | [ ] | [ ] |
| D1-03 | [ ] | [ ] | [ ] | [ ] | [ ] | [ ] |
| Rule ID | Situation | Recommendation to show the pharmacist | Source |
|---|---|---|---|
| D1-MD | [Patient says they missed a dose] | [ ] | [ ] |
| Rule ID | Combination | Recommendation | Source |
|---|---|---|---|
| D1-RF | [e.g. symptom A together with symptom B] | [ ] | [ ] |
(same structure)
(same structure)
| Rule ID | Patient might say | Standardized label | Seriousness prompts | Recommendation | Escalate when | Source |
|---|---|---|---|---|---|---|
| EX-01 | "diarrhea," "loose stools," "stomach upset," "going to the bathroom a lot" | Diarrhea | Any ER visit or admission? Signs of dehydration? How long has it lasted? | Replace fluids; consider an anti-diarrheal if needed; ask about duration and other symptoms | Fever, blood in stool, signs of dehydration, or symptoms that persist or worsen | [check the drug's label] |
| Rule | Behavior |
|---|---|
| Missing detail | If a reported event has no duration or impact on daily life, show a prompt to ask |
| Seriousness prompts | Always ask about ER visits, hospitalization, and inability to do normal activities; the pharmacist decides whether criteria are met |
| Patient's own attribution | If the patient blames something else (food poisoning, a new supplement), record it as stated; do not decide causality |
| Unmatched symptom | If nothing matches, record the verbatim text and show "no rule matched; pharmacist to assess" |
| Verbatim first | The patient's exact words always stay in the note next to the standardized label |