OpenClinic

An EHR prototype iOS/iPadOS App for exploring local-first retrieval around chart-shaped patient data.

SwiftUISwiftRAGSwiftDataFHIRFoundation ModelsSQLite

How It Happened

Why it exists

I wanted to see what would happen if I applied the same OpenIntelligence engine to clinical information. OpenClinic is the prototype where I tested it against chart-shaped data (not production medical software).

How I built it

I reused the same agentic reasoning loop from OpenIntelligence, wired up SMART on FHIR discovery and OAuth to pull demo Patient, Condition, and MedicationRequest resources into a local SwiftData model.

Where it stands

It's surprisingly good at finding relevant information in the chart and answering questions with citations, but the current data is too limited to be more than a demo of the retrieval and reasoning patterns.

Features

See the README for full feature list.