{'fraction_non_alphanumeric': 0.02734375, 'fraction_numerical': 0.003125, 'mean_word_length': 5.0424528301886795, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Building a System for the Hospital’s Emergency Departments Based on the Queuing Theory

Reducing the waiting time in the emergency departments is one of the most important factors that saving lives depends on, which means every minute we have is saving someone else life. In a traditional system, doctors and the other health care staffs waste about 15 to 25 min’s on average to check the patient information which is considered too much time in such cases. The proposed system handle this problem by designing a queuing model, that takes the patient's initial information within no more than five minutes, and then classifies his health situation, using the Canadian's system which is determined health case using one of the different five colors (grey: Non-Urgency, green: Less Urgency, yellow: Urgency, red: Emergency, blue: Resuscitation case); Thus, the medical staff can deal with the cases in the proper order. Also, the proposed system records the patient's arrival time (AT), so that the ordering in the queue done correctly in case of more than one patient is classified in the same medical case. Eventually, the researchers implemented the system as a desktop application using Python programming language to design the main interfaces, and SQL to design the databases.