SlideShare a Scribd company logo
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 10 Issue: 11 | Nov 2023 www.irjet.net p-ISSN: 2395-0072
© 2023, IRJET | Impact Factor value: 8.226 | ISO 9001:2008 Certified Journal | Page 895
Optimizing Hospital-Patient Interactions through Advanced Machine
Learning and NLP Methodologies
Ujwal K C 1 , Srividhya Ravichandran 2
1Student, Department of Information Science , Ramaiah Institute of Technology, Bangalore, India
2Student, Department of Information Science , Ramaiah Institute of Technology, Bangalore, India
--------------------------------------------------------------------***---------------------------------------------------------------------
Abstract - This research presents an innovative approach
to streamline the patient journey within the healthcare
ecosystem, leveraging the capabilities of DialogFlow and
Feedforward Neural Network(FNN) model. Users interact
with Google Assistant, detailing their symptoms which
intelligently recommends relevant departments in nearby
hospitals using Google Maps API and classifies them to a
department based on symptoms. The integration of BERT-
based NLP techniques in analyzing and summarizing
patient-doctor conversations reduces diagnostic errors,
aligning the doctor's diagnosis with the model's insights.
This innovation streamlines the hospital experience,
ensuring a more accurate and efficient diagnosis. The future
implications extend towards the evolution of patient-centric,
technology-driven healthcare experiences, marking a
significant advancement in the convergence of artificial
intelligence and medical services.
Key Words: DialogFlow, FNN, Machine Learning,
Google Assistant, Maps API, BERT, NLP
1. INTRODUCTION
The modernization of healthcare systems is imperative for
ensuring optimal patient experiences and efficient clinical
workflows. This paper introduces a comprehensive
intelligent appointment system designed to streamline
various aspects of the healthcare journey. By integrating
cutting-edge technologies such as natural language
processing, machine learning, and QR codes, the system
aims to optimize the appointment booking process,
enhance hospital check-in procedures, and augment
doctor-patient interactions.
It is crucial to acknowledge the existing drawbacks in
some of the current literature. Many studies lack a holistic
approach, often focusing on isolated aspects of healthcare
management. This literature review critically examines
these limitations in current papers and sets the stage for
proposing a more integrated and inclusive intelligent
appointment system and seeks to bridge these gaps by
identifying shortcomings, and proposing avenues for
further exploration and improvement in intelligent
healthcare systems.
1.1 LITERATURE REVIEW
[1] Kyambille and Khamisi (2015) conducted a study on
improving patient appointment scheduling through
mobile technology. The research introduces a mobile
application system that enables patients to conveniently
register and schedule appointments using their phones at
their preferred time. The system, developed using MySQL,
WAMP server, and PHP, facilitates efficient appointment
management. However, a limitation of the system is its
inability to redirect appointment requests to other
hospitals with doctors possessing similar expertise.
[2] This paper emphasizes the importance of prioritizing
health using Artificial Intelligence (AI) to deliver
convenient and affordable healthcare services. It discusses
the role of high-tech gadgets and AI applications,
particularly disease prediction through big data analysis.
The study introduces an online medical services platform
with a chatbot for disease prediction, employing Natural
Language Processing and Decision tree algorithms for
effective communication and accurate predictions.
[3] The literature highlights the positive impact of
technology on healthcare, emphasizing its role in
improving efficiency and accessibility. It advocates for AI-
driven healthcare services, showcasing how technology
enhances medical guidance through tools like disease
prediction chatbots, contributing to overall well-being.
[4] This paper highlights a comprehensive, integrated
information system designed to manage the
administrative, financial, and clinical aspects of a hospital.
Developed as an area of medical informatics, the system
aims to achieve the best possible support of patient care
and administration through electronic data processing. It
provides an intelligent front desk information service for
patients at the hospital entrance and software assistance
for doctors to diagnose patients quickly and accurately.
The system is designed to handle paper-based information
processing as well as data processing machines.
2. SYSTEM DESIGN
The overall workflow of the system is as follows - The user
(patient) interacts with Google Assistant in a language of
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 10 Issue: 11 | Nov 2023 www.irjet.net p-ISSN: 2395-0072
© 2023, IRJET | Impact Factor value: 8.226 | ISO 9001:2008 Certified Journal | Page 896
their choice to book an appointment based on the
symptoms they are facing. Under the hood, this interaction
happens with DialogFlow which has NLP capabilities to
identify the symptoms of the patient depending on the
information that the patient provides to the assistant.
Based on the user’s current location, Google Maps API, is
used to determine the nearest hospitals to the user. A
FNN(Feedforward Neural Network) based machine
learning model was used to analyze the symptoms and
predict the correct department within the nearest hospital
for the user to go to, along with a list of available doctors,
which the user can use to book an appointment.
Subsequently, a unique QR code, containing appointment
details and user information, is generated and emailed to
the user for convenient check-in at the hospital.
Upon arrival at the hospital, the user scans the QR code
using a barcode reader at the check-in counter. The
system retrieves information, displaying real-time wait
times and room details for the selected doctor within the
department This can help to expedite the check-in process,
minimizing wait times and enhancing overall efficiency.
Furthermore,users can actively monitor live waiting times
and the number of patients in the queue based on the
website.
A HealthScribe is used to record the conversations
between the patient and the doctor. This can be useful
when the doctor needs to diagnose the disease and can be
useful to keep the conversation on file.
Diagram -1: Workflow diagram
During the consultation, a health scribe system plays a
pivotal role in supporting the doctor-patient interaction.
Utilizing natural language processing and speech-to-text
technologies, the health scribe transcribes and analyzes
the conversation. This assistance aids the doctor in
diagnosing the patient's condition, mitigating human
error, and providing valuable insights.
Additionally, the health scribe system contributes to
comprehensive documentation, ensuring future reference
and analysis of the conversation for continuous
improvement and patient care enhancement.
2.1 IMPLEMENTATION
- Techstack: Flask, Keras, Google Maps API, AWS Health
Scribe, DialogFlow
- Identifying patients symptoms : DialogFlow was used
in order to identify patients symptoms by defining specific
intents. Intents could be ‘Cough’, ‘Headache’, ‘Fever’ etc.
Each intent is trained with a variety of training phrases
that users might use to describe their symptoms.
DialogFlow uses NLP internally which allows for a more
nuanced understanding as it analyzes the context and
extracts entities from the user's input. Entities represent
specific details within an intent, which could be severity of
a symptom, duration etc.
- Locating Hospitals + department : Google Maps API
was used to locate the hospitals near the user. FNN was
trained to predict medical departments in these hospitals
based on the identified symptoms. FNN is used due to
their ability to learn complex patterns in medical data,
capture nonlinear relationships between symptoms and
diseases, and automatically extract relevant features
through hidden layers, enabling effective and accurate
predictions. The Sequential model, built using Keras,
features enhanced capacity with 128 neurons in the initial
hidden layer, fostering a deeper understanding of intricate
patterns in symptom data. The addition of a second hidden
layer with 32 neurons further refines the model's ability to
discern nuanced relationships. The final layer, with
softmax activation ensures accurate and comprehensive
predictions for disease identification. The Flask webhook
retrieves information about the nearest hospitals with
high ratings for the predicted department based on Google
reviews.
- Generating QR Code : When the user selects a
department, DialogFlow communicates with the Flask to
generate a QR code without sensitive patient data using
the ‘qrcode’ library in Python. This QR code is sent to the
user via an email client. The user then scans the QR code at
the hospital, where there is no human receptionist,
automating the entire workflow. The unique ID in the QR
code is mapped to the hospital database.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 10 Issue: 11 | Nov 2023 www.irjet.net p-ISSN: 2395-0072
© 2023, IRJET | Impact Factor value: 8.226 | ISO 9001:2008 Certified Journal | Page 897
Using the doctor's history of time taken for consultation,
and the room where the doctor is located, the current wait
time for the patient is displayed on the hospital screen.
The user also receives an email to click on the link to the
website which has real time updates regarding the wait
time.
This website is designed to provide seamless updates and
transparency for both healthcare providers and patients.
The frontend of the platform is developed using React, and
the backend using Flask. Patient data and queue
information are stored securely in Firebase along with
current status, room numbers, and waiting times. The
system also integrates with electronic health records
(EHR) through APIs, ensuring synchronization with the
latest patient data.
The system calculates and updates the waiting times
dynamically, allowing both healthcare providers and
patients to stay informed about the current status,
optimizing resource allocation and enhancing overall
patient experience.
- Healthscribe: The doctor-patient conversation is
analyzed using pyAudioAnalysis library to identify
whether the speaker is doctor or patient. This is sent to a
BERT based text summarizer that summarizes the
conversation. BERT's contextual embeddings enable the
generation of a concise summary of the entire
conversation. This summarized dialogue acts as a
comprehensive reference for the doctor during future
interactions with the patient, contributing to efficient and
accurate diagnoses. The seamless integration of audio
analysis and text summarization enhances the overall
documentation process in medical practice.
3. RESULTS
Diagram -2 : Model accuracy over epochs for predicting
departments based on symptoms
Diagram -3: User’s conversation with Google Assistant in
regional language (Hindi)
Diagram -4: Website for real-time updates of patient wait
time
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 10 Issue: 11 | Nov 2023 www.irjet.net p-ISSN: 2395-0072
© 2023, IRJET | Impact Factor value: 8.226 | ISO 9001:2008 Certified Journal | Page 898
Diagram -5: Speaker Identification and Text
Summarization Results
Diagram 4 showcases the evolving accuracy of the FNN
based ML model to predict the department based on the
patients symptoms throughout training, reaching a peak
accuracy of 98.6%. This illustrates the model's proficiency
in accurately predicting patient departments based on
provided symptoms, promising improved healthcare
diagnostics. Our speaker identification system achieved
90% accuracy for doctors and 85% for patients. Integrated
with a BERT-based text summarizer, our system yielded a
remarkable 75% accuracy in generating concise
summaries. These results underscore the effectiveness of
our approach in enhancing medical documentation and
doctor-patient interactions.
4. CONCLUSION
This holistic solution orchestrates a seamless patient
journey from symptom-based appointment booking using
Google Assistant to accurate hospital and department
predictions via Google Maps API and FNN models.
Automated QR code generation and real-time updates
reduce wait times, while the health scribe system ensures
thorough documentation and aids in precise diagnosis.
The tech stack, including Flask, TensorFlow, and
DialogFlow, forms a robust foundation for this patient-
centric approach. The system's adaptability to multiple
languages and its integration of cutting-edge technologies
represents a significant improvement in healthcare
efficiency and patient care.
5. FUTURE SCOPE
1. Integration of the system with IVR (Interactive Voice
Response) to help patients book appointments even
without a smartphone.
2. Support preliminary assessments by enabling
teleconsultations so that patients can get certain lab tests
done prior to the consultation.
3. Integrate ML to predict hospital resource requirements
based on historical wait times and patient data.
6. REFERENCES
[1] Kyambille, G. G., & Khamisi, K. “ Enhancing Patient
Appointments Scheduling that Uses Mobile
Technology” ,pp. 21-27
[2] Athulya N, Jeeshna K, S J Aadithyan, U Sreelakshmi,
Hairunizha Alias Nisha Rose, ”HEALTHCARE
CHATBOT”.
[3] Jian Huang, Jing Li, Zheming Li, Zhu Zhu, Chen Shen,
Guoqiang Qi, and Gang Yu Detection of Diseases Using
Machine Learning Image Recognition Technology in
Artificial Intelligence. Comput. Intell. Neurosci.
[4] B. Koyuncu and H. Koyuncu, "Intelligent Hospital
Management System (IHMS)," 2015 International
Conference on Computational Intelligence and
Communication Networks (CICN), Jabalpur, India,
2015, pp. 1602-1604, doi: 10.1109/CICN.2015.305.

More Related Content

PDF
Cloud Based ERP Tool For Hospitals
PDF
IRJET-Cloud Based Patient Referral System
PDF
Hospital Locator and Bed Availability Detector for Emergency Cases
PDF
G03406041045
PDF
“Detection of Diseases using Machine Learning”
PDF
Medic - Artificially Intelligent System for Healthcare Services ...
PDF
IRJET- Survey Paper on NFC based Data Retrieval
PDF
Online Medical Prescription Management System
Cloud Based ERP Tool For Hospitals
IRJET-Cloud Based Patient Referral System
Hospital Locator and Bed Availability Detector for Emergency Cases
G03406041045
“Detection of Diseases using Machine Learning”
Medic - Artificially Intelligent System for Healthcare Services ...
IRJET- Survey Paper on NFC based Data Retrieval
Online Medical Prescription Management System

Similar to Optimizing Hospital-Patient Interactions through Advanced Machine Learning and NLP Methodologies (20)

PDF
IRJET- An Information Forwarder for Healthcare Service and analysis using Big...
PDF
Role of Technology & Importance in Tracking Healthcare Services
PDF
“A Medical System to Identify the Mortality Rates with Hospital ResourcesUsin...
PDF
Role of Technology & Importance in Tracking Healthcare Services
PDF
2. UJRRA_22_23[Review].pdf
PDF
Intelligent data analysis for medicinal diagnosis
PDF
IRJET- Mobile Assisted Remote Healthcare Service
PDF
Patient Privacy Control for Health Care in Cloud Computing System
PDF
Transforming Healthcare Industry by Implementing Cloud Computing
PDF
IRJET- Healthchannel - A Health Care Support App
PDF
Predictions And Analytics In Healthcare: Advancements In Machine Learning
PDF
IRJET- A Framework for Disease Risk Prediction
PDF
CHOOSELYF
PDF
VOICE RECOGNITION BASED MEDI ASSISTANT
PDF
IRJET-Cloud based Patient Referral System with RFID Based Clinical Informatio...
PDF
Innovation in Enterprise Imaging: Clinical Context is What's Next
PDF
Survey Paper on Cloud-Based Secured Healthcare System
PDF
Advance Diagnostic Tool for Android Devices: A Performance Analyzing Tool for...
PDF
IRJET - Implementation of Disease Prediction Chatbot and Report Analyzer ...
PDF
MediBot: A Primary Telemedicine Approach for Basic Ailments
IRJET- An Information Forwarder for Healthcare Service and analysis using Big...
Role of Technology & Importance in Tracking Healthcare Services
“A Medical System to Identify the Mortality Rates with Hospital ResourcesUsin...
Role of Technology & Importance in Tracking Healthcare Services
2. UJRRA_22_23[Review].pdf
Intelligent data analysis for medicinal diagnosis
IRJET- Mobile Assisted Remote Healthcare Service
Patient Privacy Control for Health Care in Cloud Computing System
Transforming Healthcare Industry by Implementing Cloud Computing
IRJET- Healthchannel - A Health Care Support App
Predictions And Analytics In Healthcare: Advancements In Machine Learning
IRJET- A Framework for Disease Risk Prediction
CHOOSELYF
VOICE RECOGNITION BASED MEDI ASSISTANT
IRJET-Cloud based Patient Referral System with RFID Based Clinical Informatio...
Innovation in Enterprise Imaging: Clinical Context is What's Next
Survey Paper on Cloud-Based Secured Healthcare System
Advance Diagnostic Tool for Android Devices: A Performance Analyzing Tool for...
IRJET - Implementation of Disease Prediction Chatbot and Report Analyzer ...
MediBot: A Primary Telemedicine Approach for Basic Ailments
Ad

More from IRJET Journal (20)

PDF
Enhanced heart disease prediction using SKNDGR ensemble Machine Learning Model
PDF
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
PDF
Kiona – A Smart Society Automation Project
PDF
DESIGN AND DEVELOPMENT OF BATTERY THERMAL MANAGEMENT SYSTEM USING PHASE CHANG...
PDF
Invest in Innovation: Empowering Ideas through Blockchain Based Crowdfunding
PDF
SPACE WATCH YOUR REAL-TIME SPACE INFORMATION HUB
PDF
A Review on Influence of Fluid Viscous Damper on The Behaviour of Multi-store...
PDF
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
PDF
Explainable AI(XAI) using LIME and Disease Detection in Mango Leaf by Transfe...
PDF
BRAIN TUMOUR DETECTION AND CLASSIFICATION
PDF
The Project Manager as an ambassador of the contract. The case of NEC4 ECC co...
PDF
"Enhanced Heat Transfer Performance in Shell and Tube Heat Exchangers: A CFD ...
PDF
Advancements in CFD Analysis of Shell and Tube Heat Exchangers with Nanofluid...
PDF
Breast Cancer Detection using Computer Vision
PDF
Auto-Charging E-Vehicle with its battery Management.
PDF
Analysis of high energy charge particle in the Heliosphere
PDF
A Novel System for Recommending Agricultural Crops Using Machine Learning App...
PDF
Auto-Charging E-Vehicle with its battery Management.
PDF
Analysis of high energy charge particle in the Heliosphere
PDF
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
Enhanced heart disease prediction using SKNDGR ensemble Machine Learning Model
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
Kiona – A Smart Society Automation Project
DESIGN AND DEVELOPMENT OF BATTERY THERMAL MANAGEMENT SYSTEM USING PHASE CHANG...
Invest in Innovation: Empowering Ideas through Blockchain Based Crowdfunding
SPACE WATCH YOUR REAL-TIME SPACE INFORMATION HUB
A Review on Influence of Fluid Viscous Damper on The Behaviour of Multi-store...
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
Explainable AI(XAI) using LIME and Disease Detection in Mango Leaf by Transfe...
BRAIN TUMOUR DETECTION AND CLASSIFICATION
The Project Manager as an ambassador of the contract. The case of NEC4 ECC co...
"Enhanced Heat Transfer Performance in Shell and Tube Heat Exchangers: A CFD ...
Advancements in CFD Analysis of Shell and Tube Heat Exchangers with Nanofluid...
Breast Cancer Detection using Computer Vision
Auto-Charging E-Vehicle with its battery Management.
Analysis of high energy charge particle in the Heliosphere
A Novel System for Recommending Agricultural Crops Using Machine Learning App...
Auto-Charging E-Vehicle with its battery Management.
Analysis of high energy charge particle in the Heliosphere
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
Ad

Recently uploaded (20)

PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
composite construction of structures.pdf
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Sustainable Sites - Green Building Construction
PPTX
Welding lecture in detail for understanding
PDF
Well-logging-methods_new................
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Automation-in-Manufacturing-Chapter-Introduction.pdf
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
CH1 Production IntroductoryConcepts.pptx
composite construction of structures.pdf
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
UNIT 4 Total Quality Management .pptx
Foundation to blockchain - A guide to Blockchain Tech
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
Mechanical Engineering MATERIALS Selection
Sustainable Sites - Green Building Construction
Welding lecture in detail for understanding
Well-logging-methods_new................
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Operating System & Kernel Study Guide-1 - converted.pdf
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
UNIT-1 - COAL BASED THERMAL POWER PLANTS

Optimizing Hospital-Patient Interactions through Advanced Machine Learning and NLP Methodologies

  • 1. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 10 Issue: 11 | Nov 2023 www.irjet.net p-ISSN: 2395-0072 © 2023, IRJET | Impact Factor value: 8.226 | ISO 9001:2008 Certified Journal | Page 895 Optimizing Hospital-Patient Interactions through Advanced Machine Learning and NLP Methodologies Ujwal K C 1 , Srividhya Ravichandran 2 1Student, Department of Information Science , Ramaiah Institute of Technology, Bangalore, India 2Student, Department of Information Science , Ramaiah Institute of Technology, Bangalore, India --------------------------------------------------------------------***--------------------------------------------------------------------- Abstract - This research presents an innovative approach to streamline the patient journey within the healthcare ecosystem, leveraging the capabilities of DialogFlow and Feedforward Neural Network(FNN) model. Users interact with Google Assistant, detailing their symptoms which intelligently recommends relevant departments in nearby hospitals using Google Maps API and classifies them to a department based on symptoms. The integration of BERT- based NLP techniques in analyzing and summarizing patient-doctor conversations reduces diagnostic errors, aligning the doctor's diagnosis with the model's insights. This innovation streamlines the hospital experience, ensuring a more accurate and efficient diagnosis. The future implications extend towards the evolution of patient-centric, technology-driven healthcare experiences, marking a significant advancement in the convergence of artificial intelligence and medical services. Key Words: DialogFlow, FNN, Machine Learning, Google Assistant, Maps API, BERT, NLP 1. INTRODUCTION The modernization of healthcare systems is imperative for ensuring optimal patient experiences and efficient clinical workflows. This paper introduces a comprehensive intelligent appointment system designed to streamline various aspects of the healthcare journey. By integrating cutting-edge technologies such as natural language processing, machine learning, and QR codes, the system aims to optimize the appointment booking process, enhance hospital check-in procedures, and augment doctor-patient interactions. It is crucial to acknowledge the existing drawbacks in some of the current literature. Many studies lack a holistic approach, often focusing on isolated aspects of healthcare management. This literature review critically examines these limitations in current papers and sets the stage for proposing a more integrated and inclusive intelligent appointment system and seeks to bridge these gaps by identifying shortcomings, and proposing avenues for further exploration and improvement in intelligent healthcare systems. 1.1 LITERATURE REVIEW [1] Kyambille and Khamisi (2015) conducted a study on improving patient appointment scheduling through mobile technology. The research introduces a mobile application system that enables patients to conveniently register and schedule appointments using their phones at their preferred time. The system, developed using MySQL, WAMP server, and PHP, facilitates efficient appointment management. However, a limitation of the system is its inability to redirect appointment requests to other hospitals with doctors possessing similar expertise. [2] This paper emphasizes the importance of prioritizing health using Artificial Intelligence (AI) to deliver convenient and affordable healthcare services. It discusses the role of high-tech gadgets and AI applications, particularly disease prediction through big data analysis. The study introduces an online medical services platform with a chatbot for disease prediction, employing Natural Language Processing and Decision tree algorithms for effective communication and accurate predictions. [3] The literature highlights the positive impact of technology on healthcare, emphasizing its role in improving efficiency and accessibility. It advocates for AI- driven healthcare services, showcasing how technology enhances medical guidance through tools like disease prediction chatbots, contributing to overall well-being. [4] This paper highlights a comprehensive, integrated information system designed to manage the administrative, financial, and clinical aspects of a hospital. Developed as an area of medical informatics, the system aims to achieve the best possible support of patient care and administration through electronic data processing. It provides an intelligent front desk information service for patients at the hospital entrance and software assistance for doctors to diagnose patients quickly and accurately. The system is designed to handle paper-based information processing as well as data processing machines. 2. SYSTEM DESIGN The overall workflow of the system is as follows - The user (patient) interacts with Google Assistant in a language of
  • 2. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 10 Issue: 11 | Nov 2023 www.irjet.net p-ISSN: 2395-0072 © 2023, IRJET | Impact Factor value: 8.226 | ISO 9001:2008 Certified Journal | Page 896 their choice to book an appointment based on the symptoms they are facing. Under the hood, this interaction happens with DialogFlow which has NLP capabilities to identify the symptoms of the patient depending on the information that the patient provides to the assistant. Based on the user’s current location, Google Maps API, is used to determine the nearest hospitals to the user. A FNN(Feedforward Neural Network) based machine learning model was used to analyze the symptoms and predict the correct department within the nearest hospital for the user to go to, along with a list of available doctors, which the user can use to book an appointment. Subsequently, a unique QR code, containing appointment details and user information, is generated and emailed to the user for convenient check-in at the hospital. Upon arrival at the hospital, the user scans the QR code using a barcode reader at the check-in counter. The system retrieves information, displaying real-time wait times and room details for the selected doctor within the department This can help to expedite the check-in process, minimizing wait times and enhancing overall efficiency. Furthermore,users can actively monitor live waiting times and the number of patients in the queue based on the website. A HealthScribe is used to record the conversations between the patient and the doctor. This can be useful when the doctor needs to diagnose the disease and can be useful to keep the conversation on file. Diagram -1: Workflow diagram During the consultation, a health scribe system plays a pivotal role in supporting the doctor-patient interaction. Utilizing natural language processing and speech-to-text technologies, the health scribe transcribes and analyzes the conversation. This assistance aids the doctor in diagnosing the patient's condition, mitigating human error, and providing valuable insights. Additionally, the health scribe system contributes to comprehensive documentation, ensuring future reference and analysis of the conversation for continuous improvement and patient care enhancement. 2.1 IMPLEMENTATION - Techstack: Flask, Keras, Google Maps API, AWS Health Scribe, DialogFlow - Identifying patients symptoms : DialogFlow was used in order to identify patients symptoms by defining specific intents. Intents could be ‘Cough’, ‘Headache’, ‘Fever’ etc. Each intent is trained with a variety of training phrases that users might use to describe their symptoms. DialogFlow uses NLP internally which allows for a more nuanced understanding as it analyzes the context and extracts entities from the user's input. Entities represent specific details within an intent, which could be severity of a symptom, duration etc. - Locating Hospitals + department : Google Maps API was used to locate the hospitals near the user. FNN was trained to predict medical departments in these hospitals based on the identified symptoms. FNN is used due to their ability to learn complex patterns in medical data, capture nonlinear relationships between symptoms and diseases, and automatically extract relevant features through hidden layers, enabling effective and accurate predictions. The Sequential model, built using Keras, features enhanced capacity with 128 neurons in the initial hidden layer, fostering a deeper understanding of intricate patterns in symptom data. The addition of a second hidden layer with 32 neurons further refines the model's ability to discern nuanced relationships. The final layer, with softmax activation ensures accurate and comprehensive predictions for disease identification. The Flask webhook retrieves information about the nearest hospitals with high ratings for the predicted department based on Google reviews. - Generating QR Code : When the user selects a department, DialogFlow communicates with the Flask to generate a QR code without sensitive patient data using the ‘qrcode’ library in Python. This QR code is sent to the user via an email client. The user then scans the QR code at the hospital, where there is no human receptionist, automating the entire workflow. The unique ID in the QR code is mapped to the hospital database.
  • 3. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 10 Issue: 11 | Nov 2023 www.irjet.net p-ISSN: 2395-0072 © 2023, IRJET | Impact Factor value: 8.226 | ISO 9001:2008 Certified Journal | Page 897 Using the doctor's history of time taken for consultation, and the room where the doctor is located, the current wait time for the patient is displayed on the hospital screen. The user also receives an email to click on the link to the website which has real time updates regarding the wait time. This website is designed to provide seamless updates and transparency for both healthcare providers and patients. The frontend of the platform is developed using React, and the backend using Flask. Patient data and queue information are stored securely in Firebase along with current status, room numbers, and waiting times. The system also integrates with electronic health records (EHR) through APIs, ensuring synchronization with the latest patient data. The system calculates and updates the waiting times dynamically, allowing both healthcare providers and patients to stay informed about the current status, optimizing resource allocation and enhancing overall patient experience. - Healthscribe: The doctor-patient conversation is analyzed using pyAudioAnalysis library to identify whether the speaker is doctor or patient. This is sent to a BERT based text summarizer that summarizes the conversation. BERT's contextual embeddings enable the generation of a concise summary of the entire conversation. This summarized dialogue acts as a comprehensive reference for the doctor during future interactions with the patient, contributing to efficient and accurate diagnoses. The seamless integration of audio analysis and text summarization enhances the overall documentation process in medical practice. 3. RESULTS Diagram -2 : Model accuracy over epochs for predicting departments based on symptoms Diagram -3: User’s conversation with Google Assistant in regional language (Hindi) Diagram -4: Website for real-time updates of patient wait time
  • 4. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 10 Issue: 11 | Nov 2023 www.irjet.net p-ISSN: 2395-0072 © 2023, IRJET | Impact Factor value: 8.226 | ISO 9001:2008 Certified Journal | Page 898 Diagram -5: Speaker Identification and Text Summarization Results Diagram 4 showcases the evolving accuracy of the FNN based ML model to predict the department based on the patients symptoms throughout training, reaching a peak accuracy of 98.6%. This illustrates the model's proficiency in accurately predicting patient departments based on provided symptoms, promising improved healthcare diagnostics. Our speaker identification system achieved 90% accuracy for doctors and 85% for patients. Integrated with a BERT-based text summarizer, our system yielded a remarkable 75% accuracy in generating concise summaries. These results underscore the effectiveness of our approach in enhancing medical documentation and doctor-patient interactions. 4. CONCLUSION This holistic solution orchestrates a seamless patient journey from symptom-based appointment booking using Google Assistant to accurate hospital and department predictions via Google Maps API and FNN models. Automated QR code generation and real-time updates reduce wait times, while the health scribe system ensures thorough documentation and aids in precise diagnosis. The tech stack, including Flask, TensorFlow, and DialogFlow, forms a robust foundation for this patient- centric approach. The system's adaptability to multiple languages and its integration of cutting-edge technologies represents a significant improvement in healthcare efficiency and patient care. 5. FUTURE SCOPE 1. Integration of the system with IVR (Interactive Voice Response) to help patients book appointments even without a smartphone. 2. Support preliminary assessments by enabling teleconsultations so that patients can get certain lab tests done prior to the consultation. 3. Integrate ML to predict hospital resource requirements based on historical wait times and patient data. 6. REFERENCES [1] Kyambille, G. G., & Khamisi, K. “ Enhancing Patient Appointments Scheduling that Uses Mobile Technology” ,pp. 21-27 [2] Athulya N, Jeeshna K, S J Aadithyan, U Sreelakshmi, Hairunizha Alias Nisha Rose, ”HEALTHCARE CHATBOT”. [3] Jian Huang, Jing Li, Zheming Li, Zhu Zhu, Chen Shen, Guoqiang Qi, and Gang Yu Detection of Diseases Using Machine Learning Image Recognition Technology in Artificial Intelligence. Comput. Intell. Neurosci. [4] B. Koyuncu and H. Koyuncu, "Intelligent Hospital Management System (IHMS)," 2015 International Conference on Computational Intelligence and Communication Networks (CICN), Jabalpur, India, 2015, pp. 1602-1604, doi: 10.1109/CICN.2015.305.