# MARMAR Context A medicine check personalized to every patient, for doctors and pharmacists. Context reads a patient's records, links every fact to the line it came from, and runs the medicine check twice: once on the list alone, then again with what the clinician confirmed about the patient. Each finding shows its source. Context shows information and where it came from. A clinician decides. It is not for emergencies. Every patient, clinic, number and record in this repository is fictional. ## Layout | Folder | What it holds | |---|---| | `web/context/` | The Context web app (React 19, Vite, TypeScript) and its server | | `web/context/test/fixture/` | A local API with fictional patients, for running the app without a backend | | `src/domain/` | The medicine-check engine the app runs: rules, sources and coverage | ## Run it ```bash cd web/context npm ci npm run fixture:serve # fictional API on 127.0.0.1:4192 CONTEXT_API_PROXY=http://127.0.0.1:4192 npm run dev # app on 127.0.0.1:4190 ``` Sign in at http://127.0.0.1:4190/sign-in with the fictional clinician in `web/context/test/fixture/data.ts`. No email is sent; the codes are in that file. ```bash npm test # 376 tests npm run build ```