SreeManas/ambulance_system ? reverse-engineered prompt

Reverse engineered prompt

Build me a full emergency ambulance routing web app called MEDROUTER, or EMS Router, that helps dispatchers and paramedics choose the best hospital fast. I want a clean dashboard where a user can enter patient details and vitals, get an urgency score, see nearby hospitals ranked by what they can actually handle, and view the best route on a map. It should also have a command center for ambulance status and live tracking, plus a hospital dashboard where staff can update beds, specialties, and capacity.

Use login with different roles for paramedic, dispatcher, hospital admin, and admin, and make the app work well on mobile and desktop. Store data in Firebase, use maps for routing, and keep the UI responsive and simple. If you need current docs for anything, look them up online. Please build it so it feels like a real production product, not just a demo.