Context
Evra is a health product built by a client of Heizen, where I work as a software engineer. On its public site Evra calls itself “an AI-native health platform” and an AI health companion that turns labs, wearables and health history into simple daily actions. It is on the App Store and Google Play, and it is used by both people managing their health and the clinicians who look after them.
I started on Evra in December 2025. My part was the React Native (Expo) app and the FastAPI backend behind it, plus the AI features that run on that backend: LLM summarization and retrieval-augmented generation (RAG) over clinical records. The product now has 3k+ users.
This is client work, so I’m keeping this page at the level of the product and the design. I won’t cover internal details, data or anything about specific patients.
What’s in it
The app
The mobile app is React Native built with Expo, written in TypeScript. It talks to the FastAPI backend, which does the AI work, so the app itself stays a client.
The API
The backend is a FastAPI service in Python. It owns sign-in, reading and writing records, and the AI features.
Summaries and RAG
The main problem was clinical data entry. Clinicians were typing in information that was already in a record somewhere. That’s slow. I built LLM summarization so that much of that text could be produced from what was already there.
A summary is only useful if it’s built from the right parts of a record. So before the model writes anything, a RAG step retrieves the relevant pieces with MongoDB vector search, wired together with LangChain. The model then works from that context and not from the whole history at once.
That’s where the 40% drop in clinical data entry came from.
Where vectors live
The records were already in MongoDB. So I kept the embeddings there too and used MongoDB vector search. That avoided a second database holding a copy of clinical data, with its own sync jobs and its own access rules to get right.
Protecting clinical data
I relied on two things to guard the data. First, clinical fields are encrypted with Fernet inside the application before they are stored. Someone with raw database access sees ciphertext. Not clinical text. Second, clinicians sign in with role-based auth, and the API checks the role before it returns or changes anything.
Constraints
- I had to keep clinical data protected at every step, including in the new AI features.
- The AI work had to fit into the product and data store we already had. It wasn’t a fresh system.
- One backend served the mobile app and the AI features, so changes had to keep the app working.
- It’s client work, so I keep the details at the level of a resume or the public site.
Results
- Clinical data entry dropped by 40% with LLM summarization and RAG.
- Evra serves 3k+ users.
- I shipped both the React Native (Expo) app and the FastAPI backend, with Fernet-encrypted clinical fields and role-based clinician auth.