Smart patient record
A patient record platform for a neonatal department: step-by-step entry, secure images, PDF reports and an AI assistant.
How it flows
Record and report
- Step-by-step entrydetails, birth, examinations, tests, diagnosis (Built)
- Patient recordsaved by the Spring Boot platform (Built)
- Thymeleaf templateputs the data in a LaTeX document (Built)
- PDF reportcompiled with pdflatex (Built)
Medical images
- Record photosadded during the entry (Built)
- MinIO storageobject storage (Built)
- Secure readingthrough signed URLs (Built)
AI assistant, read-only
- Questionasked in the platform's chat (Built)
- Similar-case searchRAG pipeline: embeddings, vector search (Built)
- Answerit searches and reads, it changes nothing (Built)
Possible, not enabled
- Voice dictationthe doctor speaks (Possible, not enabled)
- Local transcriptionWhisper service, run locally (Built)
- Understanding by the AIspots each piece of information (Possible, not enabled)
- Record fieldswriting: rights to be granted (Possible, not enabled)
The need
I developed, full stack, a patient management platform for a neonatal department, from April to June 2026. It brings together record entry, medical images, PDF reports and an AI assistant. The screenshots shown are from the application, with no patient data.
What I built
A full-stack platform in Java and Spring Boot. A record is entered in steps: personal details, birth, clinical examinations, tests, conclusion and diagnosis. Medical images are uploaded to MinIO storage and read through signed, secure URLs. An audio transcription service, based on Whisper and run locally, turns speech into text. Reports are produced as PDF: the data feeds a Thymeleaf template that generates a LaTeX document, compiled with pdflatex. An AI assistant (RAG) helps find similar cases; I contributed to its pipeline: numerical representations (embeddings), vector search and orchestration. As it stands, the assistant has read rights only: it searches, reads and explores the records, and changes nothing.
Why this approach
Each piece has a role: step-by-step entry structures the data, reports come out without manual layout, images stay behind signed URLs, and transcription runs locally, so the voice never leaves the machine. The assistant deliberately has read rights only. It could, for example, file the information of a voice dictation into the right fields of the record: that is not enabled.
Screens
Time given back
Illustrative scenario
This is not a measured result: it is what the project could give back, given the assumptions below.
The time given back would come from the layout of the reports, produced automatically from the entered data, and from the assistant searching for a record or a similar case.
What it rests on
- The number of reports produced: to be confirmed with the facility.
- The layout time saved for each report: to be measured.
- The number of searches made with the assistant: to be confirmed.
Technologies
- Java
- Spring Boot
- Thymeleaf
- LaTeX
- pdflatex
- MinIO
- Whisper
Other projects
- AI assistant on Moroccan lawA prototype assistant that answers legal questions from the texts of the law, designed so it can later run fully local.
- School Net, an online course platformAn online course platform with sign-up, subscription payment and videos. A personal project built to learn.
- Real-time data trackingA background service watches transactions live and historically, and computes the results for you.
A task like this one?
Describe it in a few words. I reply with precise questions.




