MedGram
MedGram is an Android log for as-needed (PRN) medications and symptom levels. It records date and time (including past events with estimated times), charts the history, and prints or saves a PDF for doctor assessments.
> Author: Jason Page ยท Page Telegram Volunteer Services
> Version: 1.00
> Package:
org.pagetelegram.medgram
---
Features
- Take as needed โ Log a PRN dose with medication, amount, symptom, and a 0โ10 meter.
- Log symptom โ Record symptom level without a dose, optionally as a follow-up after the last PRN.
- Past events โ Choose Past event, pick date and time, and mark Estimated time (rounded to 15 minutes, shown as
~ / est.).
- Big buttons โ Home actions scale with screen width (
sw400dp / sw600dp).
- Notification buttons โ After notification permission, a persistent shade notification has TAKE AS NEEDED, LOG SYMPTOM, and TAKE LAST PRN (logs the last medication immediately).
- Charts โ Symptom over time, doses per day, by medication, and 0โ10 distribution.
- Print / PDF โ System print dialog (printer or Save as PDF) with a doctor-facing report.
- CSV export โ From History, saved to Downloads.
All data stays on the device. No internet permission.
---
Building
Requires JDK 21 and Android SDK (API 34).
bash
JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64 \
ANDROID_HOME=~/Android/Sdk \
bash gradlew assembleDebug --no-daemon
Debug APK:
app/build/outputs/apk/debug/app-debug.apk
Shipped copy:
../medgram.apk
---
Privacy
MedGram requests notification permission so PRN/symptom buttons can sit in the notification shade. Storage permission is only used on older Android for CSV export. Logs are local SQLite (
medgram.db).