Inspiration
- By 2030, one in six people on Earth will be over 60, and around four in ten older adults already take five or more medicines, often prescribed by different doctors who don’t always see each other’s notes. While reading about medication safety, I came across the prescribing cascade: a side effect of one medicine is mistaken for a new illness, so another medicine is added to treat it, and then another to treat the side effects of that one.
- The classic example became our example patient, Mdm Tan, a 78-year-old woman who lives alone. A neighbour gives her ibuprofen for her knee. Ibuprofen raises her blood pressure, so her doctor starts amlodipine. Amlodipine swells her ankles, and the usual next step is a water pill. A 2025 study of over half a million older adults in Ireland found that one step in this chain, an amlodipine-type medicine followed by a water pill, was the strongest cascade of all.
- The clues are almost always there, in what people say between doctor visits, such as “my ankles are swollen again.” But weeks pass between appointments. Her doctor never hears about the ibuprofen, her daughter never sees when the swelling started, and Mdm Tan only knows that she feels worse.
- When she finally sees the doctor, the appointment becomes long and difficult for both the doctor and the patient because he has to work out what happened over the past weeks from memory, and older adults often forget details, mix up dates or say “I’m fine” to avoid fuss. Family members fill in what they can, but they weren’t there every day either. Much of the visit is spent reconstructing the story rather than deciding what to do, and the most important clue, like a neighbour providing her with ibuprofen, can still be missed.
- Nobody is listening for the pattern, and nobody brings the whole story to the doctor. I wanted to build something that does both: it listens every day, and turns everything since the last visit into one clear page for the doctor.
What it does
- EchoCare is an AI medication-safety companion for older adults who live alone, and for the families and clinicians who look after them.
Feature 1: EchoCare serves as a reminder
- Her app shows one thing at a time, in very large text, with pictures of her actual pills. Reminders chime, flash and read themselves aloud.
Feature 2: EchoCare inquires for the patients wellbeing actively
- She can tell EchoCare how she feels by tapping an answer, typing, or simply speaking in her own words.
Feature 3: EchoCare contains credible information, and detects any hazards regarding the patient's medication/health.
- EchoCare compares every symptom with when each medicine started, using 25 published prescribing-cascade rules from ThinkCascades and the AGS Beers Criteria, and checks for dangerous interactions and duplicate ingredients.
- When it finds a likely cascade, it never tells anyone to stop a medicine. It turns the finding into a clear question for her doctor, because the doctor should always decide.
Feature 4: EchoCare automatically informs the live situation of the patient to their caretaker
- Her daughter sees everything live on her own phone through a shared care circle, with the most important finding shown first in plain words.
- If a dose is missed for two hours, or she presses "I need help", her daughter is alerted within seconds.
- If her daughter tries to add a water pill for the swollen ankles, EchoCare warns her before anything is saved that the swelling may come from amlodipine.
Feature 5: EchoCare automatically documents and summarises the past series of conversations the user had with EchoCare's AI/conditions inputed by her guardian since the last doctor's visit into a transportable PDF.
- Before each appointment, EchoCare writes a one-page memo for the doctor covering her symptoms, her medicines from every source, missed doses and each possible cascade with its evidence, printable as a PDF.
- The memo saves consultation time: instead of piecing together the patient's history during a short visit, the doctor grasps the full context at a glance, leaving more time for the decisions and conversations that matter.
Feature 6: Pharmacist view (to prioritise serious conditions)
- Pharmacists see their patients sorted by medication risk, so the people most at risk are reviewed first.
Feature 7: Different ethnicity considerations
- The whole app switches between English, Mandarin, Malay and Tamil with one setting.
Feature 8: Offline mode
- Emergency phrases such as chest pain are recognised offline in all four languages, so she is told to call for help and her family is alerted even when the AI is unavailable.
How we built it
- EchoCare is a plain HTML, CSS and JavaScript web app with no framework and no build step, so it runs on almost any phone.
- The demo website is hosted on Cloudflare Pages, and a small Python script bundles the same files into a single page for the full version on claude.ai.
- Claude reads her everyday words and photos of medicine boxes, and turns them into structured records of symptoms, doses, new medicines and mood.
- The safety decisions are deliberately kept away from the AI and come from a rule engine instead. Each rule links a first medicine A to a known side effect s and a follow-on medicine B often prescribed to treat it.
- For every rule, the engine gathers independent kinds of evidence, where tA and tB are the dates each medicine started and ts is when the symptom began:
- Sequence: B started within 180 days after A
$$0 < t_B - t_A \le 180 \text{ days}$$
- Symptom: the symptom began no more than 3 days before A, and is unresolved
$$t_s - t_A \ge -3 \text{ days}$$
- Report: her family reported s as a suspected side effect of A
- Because the symptom counts as evidence on its own, a finding can appear before B is ever prescribed, which is how EchoCare can stop the third prescription.
- To keep false alarms down, each finding is graded by k, the number of distinct kinds of evidence, and pairs usually prescribed together on purpose never rise above Possible. Each finding is rated:
- Likely: k ≥ 2 and the pair is not usually intended
- Possible: otherwise
- US FDA adverse-event data for 89 common medicines, filtered to people over 65, is built in as context for the doctor but never raises a rating on its own.
- A shared care circle keeps one live record in sync between her phone and her family's phones.
- jsPDF generates the printable doctor memo.
- A translation layer swaps the text of every screen after it is drawn, treating names, numbers, medicine names and dates as placeholders so one translation works for any patient.
- The app runs its own engine check, with textbook cascade cases and false-alarm controls, every time it is opened.
Challenges we ran into (and how we solved them)
Keeping AI from guessing about medicines. A wrong medical claim from an AI could cause real harm. We made the safety checks a rule engine built on 25 published cascade rules from ThinkCascades and the AGS Beers Criteria, not AI output. The AI turns what the patient says into structured records and can suggest extra links, but those suggestions are always labelled as AI and kept apart from the rule findings.
Giving safe advice without overreacting. EchoCare had to respond to urgent symptoms without giving medical instructions or telling everyone to call an ambulance. We set clear limits: it never tells anyone to start, stop or change a medicine, and it only says “call 995 now” for chest pain, stroke signs or severe breathlessness. Emergency phrases are recognised in English, Mandarin, Malay and Tamil, even when the AI is unavailable.
Avoiding false alarms. Too many warnings would teach families to ignore them. We built 19 engine checks, including 6 cases that must not raise an alarm. Medicine combinations that are usually intended are left out of the doctor memo, and families can hide a note that isn’t relevant, with an Undo option.
Making it simple enough for an older adult(they usually lack digital literacy). Early versions asked too much of someone who may not be comfortable with phones. We redesigned her app to show one thing at a time, with large text, pill pictures and big buttons. She can tap, type or speak, and we removed anything redundant or off-focus, including messaging features.
Making voice input work across browsers. Some browsers and embedded pages block or don’t support the microphone. If speech recognition isn’t available, EchoCare opens a typing box and points her to the microphone on her phone’s keyboard, so she can still say what’s wrong.
Fitting the important details into a short appointment. Our first doctor memo was too long to be useful in a consultation. We cut it to a one-line weekly summary, the days worth noting, only the medicines with missed doses, and each possible cascade with its evidence. It also exports as a PDF to print and bring along.
Running without Claude on the public website. Claude features only work inside claude.ai, so we made the public site a demo version running on the built-in rules. This also confirmed the core safety checks don’t depend on the AI being online.
Accomplishments that we're proud of
- The built-in engine check catches all 13 textbook cascades with no false alarms across 6 control cases.
- The language check passes all 11 emergency and parsing cases across four languages.
- The central moment works from start to finish: she says her ankles are swollen, her daughter's phone shows the whole chain, and EchoCare stops the water pill before it is ever added.
- The doctor memo turns weeks of everyday conversations into one page a doctor can read at a glance before the consultation.
- Emergencies are handled safely even when the AI is switched off.
- It is honest about what it cannot yet do, and offers questions for the doctor rather than instructions.
What We Learned (Evaluation)
Safety matters more than clever AI. At first we thought the AI would do most of the work. We learned that in healthcare, a rule engine based on published research is more trustworthy than AI guesses. AI works best turning everyday words into records, while the rules make the safety decisions. Our 19 test cases back this up: all 13 cascades were caught and the 6 controls raised no false alarms. However, those cases were written by us, so we’ve shown the engine works as designed, not that it’s clinically accurate.
Simple is hard. Designing for an older adult meant removing features, not adding them. We cut messaging, a redundant “I took my medicine” answer and extra screens until each screen showed one thing. We think her app is much clearer now, but we’ve only tested it ourselves. The real test is putting it in front of older adults.
Less is more for doctors too. Our first memo had everything, which made it too long to read in a short appointment. We learned to keep only what helps a doctor decide: her week in one line, missed doses and possible cascades with evidence. This was one of our biggest improvements, but we haven’t yet measured how long a real doctor takes to read it.
Plan for things to fail. Microphones get blocked, the AI can be unavailable, and the public website can’t use Claude at all. We learned to build a fallback for each one: typing if voice fails, and built-in rules that still catch emergencies in four languages when the AI is off. This made EchoCare more reliable than if it depended entirely on AI.
Be honest about evidence. While researching, we found some statistics were hard to source and some studies said less than we first assumed. For example, the Irish study backed up one step of Mdm Tan’s chain, not all of it. We learned to check every claim and only say what the evidence supports.
Overall. We built a working prototype that shows how an AI companion can catch prescribing cascades safely. Its biggest gap is real-world testing: we haven’t yet tried it with older adults, families, doctors or pharmacists. That’s our next step.
What's next for EchoCare (Potential Improvements)
- A pharmacist review of every rule, then a pilot with a clinic or pharmacy that measures how often clinicians agree with EchoCare's flags.
- Native-speaker review of the Mandarin, Malay and Tamil translations, and more languages to reach older adults around the world.
- Push alerts that reach a locked phone.
- Phone-call check-ins for older adults who do not use a smartphone.
- Better voice input that copes with pauses, accents and mixed languages.
- A carer-led mode for people with advanced dementia, whose own reports become less reliable over time.
Built With
- anthropic
- claude
- claude-code
- cloudflare-pages
- css3
- ffmpeg
- git
- github
- google-calendar
- google-fonts
- html5
- javascript
- jspdf
- node.js
- openfda
- playwright
- python
- speech-synthesis
- web-speech-api

