Packs / healthcare-admin-public
appointment-reminder-plan
Plan appointment reminder send times (e.g. 72h and 24h before) that respect quiet hours and skip past times
Install
logicpacks pack use healthcare-admin-public/appointment-reminder-planget_pack healthcare-admin-public/appointment-reminder-planThe second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.
Keys it needs (names only)
None.
Playbooks included
- Spec:
spec/SPEC.md(goal, steps, edge cases, don’ts) - Routes:
local-python - Checks: 1 in
outcome/checks.yaml - Code:
reminders.py - Tools: python3
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Goal
A send-plan CSV (appointment, channel, send_at) with reminders at chosen offsets, moved out of quiet hours, skipped if already past, ready for whatever sender the clinic uses.
Verified by: Synthetic: reminders at 07:00 move to 08:00 (end of quiet hours, still before the visit); a reminder already in the past is skipped.
Steps
- Run
python3 code/reminders.py appts.csv --offsets 72,24 --quiet 21-08 --now 2026-12-04T10:00. - Feed the plan to the clinic's SMS/email tool.
- Message text: date, time, location, how to reschedule; no clinical details.
Edge cases
- If moving out of quiet hours would pass the appointment start, the reminder is moved earlier (to the evening before quiet starts).
- Patients without consent for a channel are excluded upstream.
Don'ts
- Never put real patient data in fixtures, prompts, logs or git; fixtures are synthetic.
- Don't include diagnosis, test or procedure details in reminder text.