The model suggests text for review.
Care has a history.
MediFlow is a free, open-source workspace for outpatient care. Keep records, documents and follow-up work together. AI is optional and off by default.


16 OctMediFlow Web patient list from a development version after 0.9.0. The people shown are fictional.
An entry takes shape
A proposal can become a draft. The clinician reviews it and decides whether to record it. This example concerns a fictional patient.
The clinician edits the proposal and prepares a draft.
Once confirmed, the entry is recorded in the diary.
The record in daily practice
The record brings treatments and documents into the patient’s history. These images show MediFlow Web in development after 0.9.0, using fictional data. The treatment proposal was prepared without running a model.


Intelligence Fabric
AI is optional and off by default. Its functions prepare proposals for the clinician. Code availability and verification vary by function and platform.
Patient Insight
Brings clinical history together to help prepare a case review.
Compare the proposal with the record and the patient’s current situation. Missing or outdated information can change its meaning.
offSmart Import
Suggests structured data from a document while keeping the original accessible.
Check the extracted data against the original document. Reviewing the proposal leaves the record unchanged.
offDocument Synthesis
Prepares a summary across documents with references to their sources.
Return to the source passages to check for errors, omissions and contradictions.
offTreatment reasoning
Version 0.9.0 includes a proposal pathway for treatment review.
The local ATHENA test has not produced a valid proposal. On current main, the function is disabled and deferred beyond 0.9.1.
deferred beyond 0.9.1How MediFlow works
The record stays on the computer. The browser and authorized tools connect through MediFlow services. Operations require identity and permissions; clinical proposals await a professional decision. Version 0.9.0 requires Git, Node 24 and a clean checkout of tag v0.9.0.
- Browser and clientsConnect to services with authorization.
- MediFlow servicesHandle access and operations.
- SQLite archiveManaged by MediFlow services.
- Authorized agentsUse commands exposed through MCP.
What’s new in MediFlow
Version 0.9.0 is published as source code. It consolidates saving, access and archive recovery.
- Data and auditClinical data and its audit trail are saved in the same transaction.
- Concurrent editsMediFlow flags a conflict when another session has changed the same entry.
- Passphrase and PINA passphrase opens the archive; the PIN confirms sensitive operations.
- Archive recoveryThe encrypted backup contains the whole archive, can be verified from the interface and restores atomically.
- Startup checksAt startup, MediFlow checks that the server matches the source revision.
Towards 0.9.1
These changes are in the code, planned for 0.9.1. The release is in development; overall qualification and publication remain open.
- Prepared dossier extractionThe dossier accepts an extraction prepared outside the app and checks quotations against documents. The clinician decides on proposals.#824
- Record from a documentThe Web code includes a path to prepare a new patient record from a document, with data review.#796
- Diary entry statusCockpit and timeline use the same rule to display diary entry status.#791
- Medicine catalogue sourcesThe code supports importing a medicine catalogue from CSV with a declared source, preview and confirmation.#825
Tested profiles: macOS ARM, Windows 11 ARM with emulated x64 Node, and Arch/Omarchy ARM on Parallels. Each installation must be assessed before use with real clinical data.
Explore the code
The source is open. The code map connects components and documentation to a specific revision. Compatible agents can use authorized commands through MCP.
Demonstration with entirely invented data. Codex uses only granted read and preparation capabilities; this site is not connected to a record.
Intent and choices by Leonardo Pegollo, code written by agents. How MediFlow is made →