Youssef-Khafagy/TriageFlow — reverse-engineered prompt
Reverse engineered prompt
Build me TriageFlow, an AI assisted hospital intake and triage web app.
I want patients to open the site, answer a quick guided symptom intake in under a couple minutes, submit it, then see their queue status, position, and estimated wait time. The status should move through submitted, in review, finalized, and ready.
I also want a staff dashboard where incoming patients appear live, sorted by urgency and arrival time. Staff should be able to open each intake, see the original answers, see an AI generated structured summary with symptoms, duration, pain, red flags, suggested urgency, staff summary, and patient friendly summary. The AI should only suggest urgency. Staff must be able to override it, add notes, finalize triage, and mark the patient ready.
Use Next.js, TypeScript, Tailwind, API routes, and Postgres. Realtime can be polling or SSE, whatever is simpler and reliable. Please make it clean, demo friendly, and safe, with clear wording that this doesn’t diagnose or replace clinicians.
Want more depth? Deep Reverse