Ambulance Emergency Resource Allocation System: A Web-Based Decision-Support Prototype for Emergency Hospital Selection

Author

Nilavan M, Pugalesh P, Kabilesh Sakthi S, Mrs. Saranya M


Abstract

 During a medical emergency, the receiving hospital is often chosen by telephone or by habit, without a shared view of free beds and specialised units. A hospital that is nearest may be full or may lack the unit that the patient needs, and the resulting re-transfer costs time. This paper presents the Ambulance Emergency Resource Allocation System, implemented as Crisis-Grid, a web-based decision-support prototype that selects a receiving hospital by combining the ambulance position, an estimate of severity and required specialty, and live bed and specialty-unit availability. The back end uses Python with FastAPI; a rule-based triage module assigns a severity from 1 to 5, an intent extractor reads location and urgency from typed or spoken text, and a forecasting module projects free beds at one, three and six hours. A weighted score ranks the hospitals that have a free bed, and the selected bed is reserved inside an asyncio lock so that concurrent requests cannot take the same last bed. Hospital state and incidents are stored in SQLite and every change is pushed to all browsers over WebSocket. A React interface provides capacity, SOS, free-text dispatch, map and incident-log screens, with road routes obtained from OSRM. The prototype works on four seeded hospitals and a simulated ambulance movement. Executing the intelligence modules showed that the keyword rules miss some wordings, such as “acute crushing chest pain”, so clinical validation, authentication and real data integration are required before any operational use.



Keywords

Emergency Medical Services, Ambulance Dispatch, Hospital Selection, Triage, Resource Allocation, FastAPI, WebSocket, Geospatial Routing.



Full Text:

Download Paper PDF


References


  1. C. Toregas, R. Swain, C. ReVelle, and L. Bergman, “The location of emergency service facilities,” Operations Research, vol. 19, no. 6, pp. 1363–1373, 1971.
  2. L. Brotcorne, G. Laporte, and F. Semet, “Ambulance location and relocation models,” European Journal of Operational Research, vol. 147, no. 3, pp. 451–463, 2003.
  3. V. Schmid, “Solving the dynamic ambulance relocation and dispatching problem using approximate dynamic programming,” European Journal of Operational Research, vol. 219, no. 3, pp. 611–621, 2012.
  4. N. Gilboy, P. Tanabe, D. Travers, and A. M. Rosenau, Emergency Severity Index (ESI): A Triage Tool for Emergency Department Care, Version 4, Implementation Handbook, 2012 ed. Rockville, MD, USA: Agency for Healthcare Research and Quality, AHRQ Pub. No. 12-0014, 2011.
  5. K. Mackway-Jones, J. Marsden, and J. Windle, Eds., Emergency Triage: Manchester Triage Group, 3rd ed. Chichester, U.K.: Wiley-Blackwell/BMJ Books, 2014.
  6. D. Luxen and C. Vetter, “Real-time routing with OpenStreetMap data,” in Proc. 19th ACM SIGSPATIAL Int. Conf. Advances in Geographic Information Systems, 2011, pp. 513–516.
  7. Project OSRM, “Open Source Routing Machine.” [Online]. Available: https://project-osrm.org/
  8. C. F. F. Karney, “Algorithms for geodesics,” Journal of Geodesy, vol. 87, no. 1, pp. 43–55, 2013.
  9. GeoPy Contributors, “GeoPy documentation: geopy.distance.” [Online]. Available: https://geopy.readthedocs.io/
  10. I. Fette and A. Melnikov, “The WebSocket Protocol,” Internet Engineering Task Force, RFC 6455, Dec. 2011. [Online]. Available: https://www.rfc-editor.org/rfc/rfc6455
  11. I. Sommerville, Software Engineering, 10th ed. Harlow, U.K.: Pearson, 2016.
  12. Meta Platforms, Inc., “React documentation.” [Online]. Available: https://react.dev/
  13. V. Agafonkin, “Leaflet: an open-source JavaScript library for interactive maps.” [Online]. Available: https://leafletjs.com/
  14. S. Ramírez, “FastAPI documentation.” [Online]. Available: https://fastapi.tiangolo.com/
  15. SQLite Consortium, “SQLite documentation.” [Online]. Available: https://www.sqlite.org/docs.html
  16. SQLite Consortium, “Write-Ahead Logging.” [Online]. Available: https://www.sqlite.org/wal.html
  17. OpenStreetMap Foundation, “OpenStreetMap copyright and license.” [Online]. Available: https://www.openstreetmap.org/copyright
  18. R. J. Hyndman and G. Athanasopoulos, Forecasting: Principles and Practice, 3rd ed. Melbourne, Australia: OTexts, 2021. [Online]. Available: https://otexts.com/fpp3/
  19. G. J. Myers, C. Sandler, and T. Badgett, The Art of Software Testing, 3rd ed. Hoboken, NJ, USA: Wiley, 2011.
  20. OWASP Foundation, “OWASP Top Ten.” [Online]. Available: https://owasp.org/www-project-top-ten/

 

 

Share your valuable work from Social Media Buttons