尚未检测到更新。GitHub 发布版本后会显示在这里。
Aoun — A platform for sharing medical imaging between hospitals, with a digital patient card (QR) that doctors scan to open the patient’s file.
翻译准备中
正在加载完整 README。
查看完整 README ↗Medical imaging that follows the patient, wherever they are treated.
Aoun is a web platform that lets hospitals share medical imaging securely. When a patient arrives at a different hospital, the doctor scans the patient's card and immediately sees the imaging, reports and key medical information from other hospitals. There is no need to repeat a scan or wait for files.
All patients, hospitals and doctors in this project are fictional and for demonstration only. The imaging is either synthetic or public, anonymised teaching material.
Sample imaging and report text used in the live demo come from cases on Radiopaedia.org, shared under the Creative Commons CC BY-NC-SA 3.0 licence and used here for non-commercial demonstration.
A patient's imaging (X-ray, CT, MRI) stays inside the hospital that produced it. When the patient is treated elsewhere, especially in an emergency, the doctor often has no access to previous scans. This leads to repeated imaging, extra radiation exposure, higher costs and slower decisions.
| Step | Who | What happens |
|---|---|---|
| 1 | Any hospital | Uploads one or more images with a report and presses «حفظ وتأكيد» (Save & Confirm) |
| 2 | Aoun | Verifies the file, encrypts it and links it to the correct patient automatically |
| 3 | Patient | Opens their digital medical card with a QR code, on the website or in Apple / Google Wallet |
| 4 | Any other hospital | The doctor scans the QR code, signs in, and opens the same imaging and report instantly |
For patients
For hospitals
🌐 https://aoun-eight.vercel.app — open it on any phone or computer.
| Role | Sign-in |
|---|---|
| Patient | National ID 1098765432 · Mobile 0500000001 · Code 123456 |
| Doctor, Al Amal Hospital | [email protected] · Password Aoun@2026 |
| Doctor, Al Shifa Hospital | [email protected] · Password Aoun@2026 |
Suggested walkthrough
| Layer | Stack |
|---|---|
| Web app | Next.js 15 (App Router), React 19, TypeScript, Tailwind CSS (Arabic RTL + English) |
| Data | PostgreSQL with Prisma ORM |
| Imaging | Built-in viewer for DICOM, images, video and PDF |
| Hosting | Vercel + Prisma Postgres |
| Quality | 30 end-to-end acceptance tests (Vitest) against the real HTTP API |
Hospital (upload) Aoun platform Hospital (view)
───────────────── ───────────── ───────────────
«حفظ وتأكيد» ──► sync job ──► signed integration API ──► verify + encrypt + link to patient
│
Patient card (QR / Wallet) ◄─┘
│
Doctor scans QR ──► signs in ──► time-limited access ──► imaging + report
| Area | Location |
|---|---|
| Data model | prisma/schema.prisma, prisma/migrations/ |
| Hospital integration and sync | src/lib/sync/, src/lib/integration/, src/lib/hospital-system/ |
| QR codes and Wallet card | src/lib/qr.ts, src/lib/wallet.ts |
| Access control and audit | src/lib/access.ts, src/lib/access-flow.ts, src/lib/audit.ts |
| Encrypted storage | src/lib/storage.ts |
| Patient / hospital portals | src/app/patient, src/app/radiology, src/app/er |
| Acceptance tests | tests/acceptance.test.ts |
Online (Vercel)
Locally (developers)
npm install
npm run setup:env # creates .env with random encryption keys
npx prisma migrate deploy # creates the database tables
npm run db:seed # loads the demo data
npm run build && npm start # http://localhost:3000
npm test # end-to-end acceptance tests (server must be running)
On macOS, double-clicking Aoun.app starts everything with a private built-in database.
Aoun is a hackathon MVP and is not a certified medical device.