Skip to content
All projectsNext: Lexis
Mobile

MediCare

A mobile healthcare platform defined by a business requirements document: patient onboarding, appointments, referrals, prescriptions, QR check-in and location-aware provider discovery, with a LangGraph-based doctor agent. The stack direction is Flutter, AWS serverless, LangChain, OpenAI and Google Maps. Stage One is a proof of concept on simplified Medicare, insurance, regulatory and business databases; specific AWS services are proposed, not confirmed.

Proof of conceptStage One proof of concept defined in the requirements
Role
Lead developer and architect
Stack
Flutter · AWS serverless · LangGraph · LangChain · OpenAI · Google Maps
MediCare
ProblemPatients re-enter data that healthcare and insurance systems already hold, and providers coordinate through disconnected workflows.
ApproachOnboarding that looks up Medicare and insurance data first, then role-based workflows for five kinds of user.
TechnologyFlutter, AWS serverless, Python, LangGraph, LangChain, OpenAI, Google Maps.
OutcomeA Stage One proof of concept across six data sources, as a foundation for later stages.

Problem

Healthcare administration spans patients, GPs, specialists, service providers and insurers. Patients re-type information that already exists elsewhere, referrals and prescriptions pass between disconnected parties, and every record has to be accurate and private. The platform has to reduce data entry, keep data consistent across sources and support secure, role-appropriate access.

Approach

Reuse what systems already knowOnboarding starts with a Medicare number, retrieves existing details (or falls back to manual entry), collects private insurance membership, cross-verifies the two, and lets the patient correct gaps before email verification.
Five roles, one workflowPatients book, reschedule and cancel; GPs create referrals and prescriptions; specialists and service providers see referrals within a set radius and respond with quotes; lifestyle providers register as a category.
AI as an assistive layerA LangGraph-based doctor agent is part of the architecture. Its tools and responsibilities aren't specified, so it is treated as an assistive component within clinical boundaries, not as something that diagnoses or prescribes.

Architecture

How the system fits together, in two views.

Patient onboarding
Medicare numberpatient entersMedicare lookupfound?Retrieve detailsfoundManual entrynot foundInsurance detailsmembershipCross-verifyMedicare × insurerCorrect gapspatient editsEmail + sign-upverified
Retrieved data is never accepted blindly: the patient reviews and corrects it before sign-up. From the supplied flowchart; the internal conditions of each decision are not reconstructed.
Proposed serverless architectureProposed, not confirmed
Flutter appCognitoAPI GatewayLambda servicesDoctor agentPOC databasesDynamoDB + S3EventBridge/SQS
The requirements specify AWS serverless without naming services. This is a proposed mapping; notifications and reminders run off events so they never block interactive requests.

Decisions

  1. A proof of concept on simplified dataStage One demonstrates the API and data workflows against six simplified databases loaded from sample spreadsheets, without needing live access to every external system.
  2. Keep identifying data out of analyticsThe requirements call for usage data retained without personally identifiable details, so clinical data and product analytics belong in separate stores.
  3. Biometrics protect a session, not an identityIn the proposed design, biometric unlock guards an already authenticated session instead of replacing server-side identity checks.

Technology

Mobile
Flutter (Dart)
Backend direction
AWS serverless, Python, JavaScript
AI
LangGraph doctor agent, LangChain, OpenAI
Maps
Google Maps for radius-based discovery

Outcome

data sources in the proof of concept
user roles, from patients to service providers
second-factor options plus biometrics

Status

Specified in the requirements
  • Medicare and insurance-based onboarding
  • Appointments with reminders; QR self check-in
  • GP referrals and prescriptions (QR delivery by email)
  • Radius-based provider discovery
  • Two-step auth (SMS, email, authenticator) and biometrics
  • Suburb-level service reporting
Proposed architecture
  • Cognito, API Gateway and Lambda
  • DynamoDB or Aurora Serverless, S3
  • SQS, EventBridge, SNS and SES
  • CloudWatch, X-Ray, KMS and Secrets Manager

My role

Role and team size aren't recorded. This is the work associated with the project in its materials.

  • Healthcare app and AWS serverless architecture
  • LangGraph doctor-agent architecture
  • Onboarding, appointment, referral and prescription workflows
  • Healthcare data model and role design
  • Security and privacy architecture
MediCare detail 1
MediCare detail 2
Next projectLexisA Flutter social app for students: a live feed, follow graph, media posts and real-time chat, in a custom glass design system. A working prototype.