Jostar.id
Portfolio
Android · Health · Research · 2026

FC-DAT TB Anak — Medication Adherence Companion for Children with Tuberculosis

Childhood TB treatment lasts for months, and the medicine has to be taken every day at the same time — missing even one dose can set recovery back. The people giving the medicine every day are parents or caregivers at home, while health center staff only see them at check-ups. FC-DAT TB Anak (Family-Centered Digital Adherence Technology) was built for a nursing research study so families have a daily companion: medication reminders on the phone, confirmation of every dose along with the child's response, notes on symptoms and barriers, adherence charts, TB education materials, and a report that can be downloaded as a PDF or shared with staff via WhatsApp. One child can be looked after by several caregivers — say, Mom and Dad — through an invite code, so whoever gives the medicine can log it right away. Health workers intentionally have no accounts: they receive reports and are contacted by phone or WhatsApp, as the study design requires. Phases 1 and 2 have been delivered as a preview build for the research team to review. The screenshots on this page use sample data.

Platform
Android
Year
2026
Industry
Health / Nursing Research on Childhood TB
Role
Full-cycle: architecture, Flutter app, Firestore data model & security rules with tests, local reminders, adherence charts, PDF reports, implementing the research team's design and education materials

Impact on the ground

What changes for the people who use it every day.

  1. 01

    Caregivers are reminded on time

    Reminders ring at medication time even when the app is closed or the phone has restarted, followed by a second reminder if the dose hasn't been logged — and tapping the notification opens the dose confirmation directly.

  2. 02

    Every caregiver logs in the same place

    Mom, Dad, or Grandma — whoever gives the medicine — can log it from their own phone, so no dose is recorded twice or forgotten because someone assumed another person had given it.

  3. 03

    Adherence is visible, not remembered

    Families see this week's and this month's adherence percentage, how many doses were late or missed, and their streak of complete days — encouragement to stay consistent until treatment ends.

  4. 04

    Staff receive a tidy report

    At check-ups, families simply show or send a PDF report with the adherence summary, the child's symptoms, barriers, and details of every dose — no more relying on memory.

  5. 05

    Barriers to giving medicine are recorded

    A child refusing, vomiting the medicine, or not wanting to eat is logged along with the barrier note, so staff can give advice for the problems that actually happen at home.

  6. 06

    Families know when to go to a health facility

    The Help Contacts page lists danger signs that need immediate care, when to contact the TB officer, and buttons for WhatsApp, phone, and the family discussion group.

App screenshots

Click an image to zoom — swipe left/right to browse.

Home — next dose, treatment phase, and main menu
Medication schedule — weekly calendar and status of each dose time
Dose confirmation — how it was given, actual time, and the child's response
Notifications — medication and check-up reminders with their status
Condition notes — the child's symptoms and barriers to giving medicine
Progress — monthly adherence and the daily adherence chart
Report for health workers — summary, symptoms, barriers, PDF download
TB education — six illustrated topics, videos, Q&A, and a quiz
Help contacts — TB officer, WhatsApp group, and danger signs
Profile — child data, caregiver list, and Add Caregiver

Key features

Medication schedule & dose confirmation

A weekly calendar with each medicine's times; every dose is confirmed as taken, late, not taken, or refused/vomited, with the actual time, the child's response, and a note.

Reminders & check-up schedule

Medication reminders, a second reminder if a dose isn't logged, and reminders the evening before and the morning of a health center check-up — all adjustable in Reminder Settings.

Notification history

Reminders from the last three days with their status, with buttons to log the dose right away or remind other caregivers via WhatsApp.

Child condition notes

Daily symptoms — nausea, vomiting, rash, poor appetite, fever, or others — plus extra notes and barriers to giving the medicine.

Progress & adherence charts

Weekly and monthly adherence with a rating, counts of on-time, late, missed, and refused doses, and a color-coded daily adherence chart.

Reports for health workers

Adherence summary, condition notes, and barrier notes per week or month — downloadable as a PDF, printable, or shareable via WhatsApp.

TB education

Six topics with infographics from the research team — from what TB is to prevention — plus a daily message, videos and children's stories, Q&A, and a quiz.

Several caregivers per child

The primary caregiver creates an invite code valid for 24 hours; other caregivers sign up with it and immediately see the same child's schedule and history.

Help contacts

WhatsApp and phone for the TB officer, the participants' family WhatsApp group, and guidance on danger signs and when to visit a health facility.

Technical highlights

The advanced parts behind the scenes that make this system run smoothly.

  • Reminders are scheduled on the phone as local alarms for the next 14 days and re-planned every time the app opens, capped at 200 alarms to stay well below Android's limit — so they ring without internet, with the app closed, and after a restart.
  • Each reminder has a stable ID derived from its dose time and type, so a new plan can be compared with what's already scheduled: only what changed is cancelled or added, and doses already logged no longer trigger a second reminder.
  • Changing a medicine's time mid-treatment doesn't overwrite old data: the old version ends yesterday and the new one starts today, so earlier days' history and adherence are still calculated with the schedule that applied then.
  • One log per dose time with an ID built from the date and time (e.g. 20260728_0700), so two caregivers logging the same dose never create duplicates — and medicine names are copied into the log so history stays intact even when the schedule changes.
  • Firestore security rules ensure a child's data is readable only by their caregivers, caregivers can't edit the caregiver list, and every log must be in the signed-in user's name. Joining with an invite code is checked by the rules themselves: the code must still be valid and belong to the same child — all tested automatically on the emulator.
  • The PDF report is generated on the phone with bundled fonts, containing the summary, condition notes, barrier notes, and details of every dose — ready to print or send with no extra server.

Tech stack

FlutterDartRiverpodgo_routerFirebase AuthCloud FirestoreFirestore Security Rules + uji emulatorflutter_local_notificationstimezonefl_chartpdf / printingshare_plusurl_launcher

Want an app like this for your business?

We've built systems like FC-DAT TB Anak from scratch all the way to production. Tell us what you need — the initial consultation is free, no strings attached.