Doctor-patient communication system and method based on patient demands

By building a doctor-patient communication system based on patient needs, using questionnaire module, knowledge base module and AI consultation module, the problems of low efficiency of medical and patient communication and inaccurate matching of needs in the existing system are solved, and efficient personalized doctor-patient communication and patient satisfaction are achieved.

CN120452846APending Publication Date: 2025-08-08SHANGHAI FIRST PEOPLES HOSPITAL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510538360.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-27
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

The existing doctor-patient communication system has significant flaws in information interaction efficiency, demand matching accuracy and service quality controllability, and it is difficult to dynamically analyze the multi-dimensional characteristics of patients, resulting in excessive burden on medical staff and the communication content cannot accurately match patient needs.

Method used

Design a doctor-patient communication system based on patient needs, including user management, questionnaire module, knowledge base module, consultation module and evaluation module. Through questionnaire surveys, knowledge base recommendations and AI consultation, dynamically evaluate patient needs and provide personalized medical information and suggestions.

Benefits of technology

It improves the efficiency of doctor-patient communication, enhances the willingness and satisfaction of patients to participate in joint decision-making, and achieves accurate matching and personalized services for patient needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120452846A_ABST
    Figure CN120452846A_ABST
Patent Text Reader

Abstract

The invention discloses a doctor-patient communication system and method based on patient demands. The system comprises a user management module, a questionnaire module, a knowledge base module, a consultation module and an evaluation module. The user management module is used for managing users, the users have user types, and the user types comprise administrators, medical staff and patients. And the questionnaire module is connected to the user management module and is used for creating and publishing questionnaires by administrators or medical personnel and filling the questionnaires by patients. The knowledge base module is used for an administrator or medical personnel to create knowledge base articles and is also used for a user to read the knowledge base articles; and the consultation module is established based on an AI large model and is used for providing corresponding answers and medical suggestions according to questions input by the user. And the evaluation module is used for evaluating patient demands based on questionnaire results filled by the patients and dialogue records of the patients in the consultation module. The knowledge base module is connected to the evaluation module and used for recommending knowledge base articles to the patient based on patient demands.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of medical assistance technology, and in particular to a doctor-patient communication system and method based on patient needs. Background Art

[0002] With the rapid development of modern medical information technology, technologies such as electronic medical record systems, remote diagnosis and treatment platforms, and mobile medical applications have gradually become popular. However, in the core scenario of doctor-patient communication, existing technologies still have significant shortcomings. Both doctors and patients face multiple bottlenecks in information exchange efficiency, demand matching accuracy, and controllable service quality.

[0003] In current medical practice, medical staff need to respond to patients' complex communication needs within a limited time, including multiple dimensions such as disease explanation, treatment plan confirmation, and rehabilitation guidance. In addition, different patients have different information authentication levels and emotional needs, which further leads to an imbalance in demand matching. However, the existing system cannot dynamically analyze the multidimensional characteristics of patients (including medical history, test results, psychological state, etc.), making it difficult to generate accurate communication content suggestions, and unable to achieve dynamic adaptation of individual patient characteristics and communication content. At the same time, there is a lack of intelligent assistance for medical staff's communication behavior, resulting in excessive occupation of doctor resources by basic communication work. Therefore, a doctor-patient communication system based on patient needs is needed to efficiently evaluate and accurately match patient needs and increase patients' willingness to participate in joint decision-making. Summary of the Invention

[0004] The purpose of the present invention is to provide a doctor-patient communication system and method based on patient needs, which is used to address the problem that the current lack of doctor-patient communication means has led to excessive burden on medical staff, low efficiency, and difficulty in accurately matching patients' communication needs. Through the synergistic effect of the questionnaire module, knowledge base module, consultation module and evaluation module, the patient's needs are accurately assessed, and the medical information they need is automatically recommended to the patient, which is conducive to improving the efficiency of doctor-patient communication and enhancing the patient's ability to participate in joint decision-making.

[0005] In order to achieve the above objectives, the present invention is implemented through the following technical solutions:

[0006] A first aspect of the present invention provides a doctor-patient communication system based on patient needs, comprising:

[0007] A user management module, wherein the user management module is used to manage users, and the users have user types, including administrators, medical staff, and patients;

[0008] A questionnaire module, connected to the user management module, is used for administrators or medical staff to create and publish questionnaires, and is also used for patients to fill in questionnaires;

[0009] A knowledge base module, connected to the user management module, is used for administrators or medical staff to create knowledge base articles and for users to read knowledge base articles;

[0010] A consultation module, connected to the user management module and built based on the AI big model, is used to provide corresponding answers and medical advice based on the questions input by the user; and

[0011] The evaluation module is connected to the questionnaire module and the consultation module, and is used to evaluate the patient's needs based on the questionnaire results filled out by the patient and the patient's conversation records in the consultation module; the knowledge base module is connected to the evaluation module and is used to recommend knowledge base articles to the patient based on the patient's needs.

[0012] Optionally, the user management module is used for user registration, login and logout operations. The user management module adopts OAuth 2.0 as the authorization framework and JWT (JSON Web Token) as the authentication protocol to verify and authorize the user's identity.

[0013] Optionally, the doctor-patient communication system further includes an integration module, which uses a RESTful API (Application Programming Interface) as an integration interface and uses an API gateway to uniformly manage and protect the API for integration with other systems.

[0014] Optionally, the doctor-patient communication system further comprises a storage module, which is connected to the user management module, the questionnaire module, the knowledge base module, the consultation module and the evaluation module, and is used to store data. The storage module uses a distributed database system to store unstructured data and a relational database system to store structured data.

[0015] The storage module is established based on the ORM (Object Relational Mapping) framework, and data transmission between different modules is encrypted through the SSL / TLS (Secure Sockets Layer / Transport Layer Security) protocol.

[0016] Optionally, the doctor-patient communication system is constructed as multiple independent microservices based on different modules, and different microservices communicate with each other through RESTful API to achieve loose coupling and independent deployment; asynchronous communication and decoupling between different microservices are achieved through message queues.

[0017] Optionally, the patient needs include: disease information needs, treatment information needs, and emotional needs.

[0018] Optionally, the knowledge base article includes a title, content, video address, and video thumbnail; the knowledge base module is used to classify and manage the knowledge base articles based on the disease information needs, the treatment information needs, and the emotional needs, and is also used for users to search for knowledge base articles;

[0019] The evaluation module is used to evaluate the patient's needs in combination with the patient's search records in the knowledge base module.

[0020] Optionally, the questionnaire module is also used to perform data analysis on the survey results of the questionnaire from three dimensions: the disease information needs, the treatment information needs, and the emotional needs, so as to judge the size of the patient's needs in each dimension based on the analysis results of each dimension.

[0021] A second aspect of the present invention provides a doctor-patient communication method, which is used in the doctor-patient communication system described in any one of the first aspects, comprising:

[0022] Create, publish and fill out questionnaires through the questionnaire module;

[0023] Create and browse knowledge base articles through the knowledge base module;

[0024] Get answers and medical advice by entering questions into the consultation module;

[0025] Based on the results of the questionnaire filled in by the patient and the conversation records of the patient in the consultation module, the patient's needs are evaluated by the evaluation module, and knowledge base articles are recommended to the patient based on the patient's needs in the knowledge base module.

[0026] Optionally, creating the questionnaire includes the following steps:

[0027] Create a new questionnaire and enter the name and description of the questionnaire;

[0028] Add questions and determine the question type of each question, including single-choice, multiple-choice, and fill-in-the-blank;

[0029] Determine the question attributes of each question, wherein the question attributes include optional answers and required answers;

[0030] For single-choice and multiple-choice questions, set the question content and options; for fill-in-the-blank questions, set the question content;

[0031] Generate a questionnaire.

[0032] The present invention has at least the following technical effects:

[0033] The establishment of a questionnaire module facilitates efficient information collection, and based on the analysis and statistics of the survey structure, fully understands the needs of patients and facilitates targeted communication;

[0034] By establishing a consultation module and leveraging AI big models to help users understand relevant medical information, the information gap between doctors and patients can be effectively narrowed, helping to fully meet patients' emotional needs.

[0035] By combining questionnaire survey results, consultation records, knowledge base search records and other information, a patient information and emotional needs assessment system is established, and knowledge base articles that highly match patient needs are recommended. This can make doctor-patient communication more convenient and immediate, and help improve patients' willingness and satisfaction to participate in joint decision-making. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A schematic diagram of the structure of a doctor-patient communication system provided by one embodiment of the present invention;

[0037] Figure 2 A schematic diagram of the process of creating, distributing and filling out questionnaires according to an embodiment of the present invention;

[0038] Figure 3 A schematic diagram of the process of creating and viewing knowledge base articles provided in one embodiment of the present invention;

[0039] Figure 4 A schematic diagram of the process of consulting in a consulting module provided in one embodiment of the present invention. DETAILED DESCRIPTION

[0040] The following is a further detailed description of a doctor-patient communication system and method based on patient needs proposed by the present invention in conjunction with the accompanying drawings and specific embodiments. According to the following description, the advantages and features of the present invention will be clearer. It should be noted that the drawings are in a very simplified form and use non-precise proportions, which are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention. In order to make the purposes, features and advantages of the present invention more obvious and easy to understand, please refer to the accompanying drawings. It should be noted that the structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the present invention, so they have no technical significance. Any modification of the structure, change in the proportional relationship or adjustment of the size should still fall within the scope of the technical content disclosed by the present invention without affecting the efficacy and purpose that can be achieved by the present invention.

[0041] like Figure 1As shown, this embodiment provides a doctor-patient communication system based on patient needs, including a user management module, a questionnaire module, a knowledge base module, a consultation module and an evaluation module. Among them, the user management module is used to manage users, and users have user types, including administrators, medical staff and patients. The questionnaire module is connected to the user management module, and is used for administrators or medical staff to create and publish questionnaires, and is also used for patients to fill out questionnaires. The knowledge base module is connected to the user management module, and is used for administrators or medical staff to create knowledge base articles, and is also used for users to read knowledge base articles; the consultation module is established based on the AI big model, and is used to provide corresponding answers and medical advice based on the questions input by the user. The evaluation module is connected to the questionnaire module and the consultation module, and is used to evaluate the patient's needs based on the results of the questionnaire filled out by the patient and the patient's conversation records in the consultation module. The knowledge base module is connected to the evaluation module, and is used to recommend knowledge base articles to the patient based on the patient's needs,

[0042] Specifically, patient needs primarily include disease information needs, treatment information needs, and emotional needs. Disease information needs refer to patients' need for basic disease information, such as symptoms and infectiousness. Treatment information needs refer to patients' need for treatment information, such as daily regimen, interventions, and surgical procedures. Emotional needs refer to patients' need for emotional support.

[0043] Among them, the user management module is used to manage users, and users have user types, including administrators, medical staff and patients. The user management module can be used for user registration, login and logout operations. Specifically, the user management module adopts OAuth 2.0 as the authorization framework to implement user identity authentication and authorization, ensuring that only authorized doctors and patients can access system resources. And JWT is used as the authentication protocol to implement user session management and data transmission encryption, which can effectively prevent session hijacking and forgery and improve the security of the system. In order to ensure the quality of questionnaires and knowledge base articles, medical staff and administrators need to log in with a special system management account and password to identify and authenticate user types.

[0044] Users can register new accounts through the User Management module and log in to the system using a username and password. Alternatively, users can log in through two-factor authentication (2FA) or biometric technology (such as fingerprint recognition or facial recognition), further protecting their personal information. Users can also safely log out of their current account through the User Management module, protecting their personal information and ensuring they can safely log out of the system after completing their operations to prevent information leakage.

[0045] The user management module also allows users to view and edit their personal information, including username, password, and email address. Users can customize their personal information to enhance their user experience. The doctor-patient communication system of this embodiment can further include a behavior analysis system to promptly detect and prevent abnormal login behavior in the user management module, fully ensuring user account security.

[0046] The questionnaire module is connected to the user management module, and is used by administrators or medical staff to create and publish questionnaires, and is also used by patients to fill in questionnaires. Specifically, the questionnaire module is used for users whose user type is administrator or medical staff to create their own questionnaires, and can customize the title, options, question type and answer type, etc. Question types include, for example, single choice, multiple choice, free input, etc. Users can flexibly design questionnaires that meet their own needs, so as to collect the required information more accurately. The questionnaire module is also used for users to publish the created questionnaires on the platform, so that other users can participate in the survey, ensuring that the questionnaire can be widely disseminated, obtaining more sample data, and improving the evaluation and reliability of the survey results. The questionnaire module is also used for users to participate in questionnaires posted by other users, and they can fill in the answers to the questionnaires, thereby promoting the two-way flow of information.

[0047] Furthermore, the questionnaire module allows users to view the results of their own questionnaires and conduct data analysis and statistics on the survey results, helping users gain a deeper understanding of the survey data, identify potential trends and issues, and provide strong support for subsequent decision-making. Specifically, the questionnaire module can be used to analyze the survey results from three dimensions: disease information needs, treatment information needs, and emotional needs. Based on the analysis results of each dimension, the module can determine the extent of the patient's needs in each dimension.

[0048] The knowledge base module is connected to the user management module and allows administrators or medical staff to create knowledge base articles and users to browse knowledge base articles. Knowledge base articles include titles, content, video URLs, and video thumbnails. The knowledge base module categorizes and manages knowledge base articles based on disease information needs, treatment information needs, and emotional needs. It also allows users to search for knowledge base articles. To protect personal privacy and data security, users can clear their search history in the knowledge base module at any time to ensure that sensitive information is not leaked.

[0049] Administrators or medical staff can create new knowledge base articles through the knowledge base module. Knowledge base articles include information such as title, content, video address, video thumbnail, etc. Knowledge base articles can be, for example, doctor-patient communication videos, popular science videos, or popular science articles. Administrators or medical staff can also edit published knowledge base articles and modify information such as title, content, video address, video thumbnail, etc. This allows for continuous updating and improvement of existing knowledge base articles to maintain the timeliness and accuracy of information. Users can browse the knowledge base articles published in the system and view information such as title, content, video address, video thumbnail, etc. Users can click on the article title to view the full content. The knowledge base module also includes a category filtering function. Users can select different categories to view corresponding knowledge base articles, making it convenient for users to quickly obtain the required knowledge and information and improve learning efficiency.

[0050] The consultation module is connected to the user management module and is built based on an AI big model. It is used to provide corresponding answers and medical advice based on the questions entered by the user. Users can send consultation questions to the consultation module via text to obtain professional medical advice and answers. Because the consultation module is based on big model technology, it can understand complex medical questions and provide accurate responses, helping users to keep abreast of their health status and treatment plans. To protect personal privacy and data security, users can clear their conversation records with the consultation module at any time and independently manage their conversation history to ensure that sensitive information is not leaked.

[0051] In order to further improve the efficiency and quality of the consultation module, natural language processing (NLP) technology can be used to achieve semantic understanding of questions and intelligent recommendation of answers, and a medical knowledge graph system can be further constructed.

[0052] In order to build a medical knowledge graph system, we can first use natural language processing technology to enable the system to identify key entities such as diseases, symptoms, drugs, treatment plans, and their relationships, automatically extract structured information from existing medical corpus and store it as the basic framework of the knowledge graph, and complete the initial construction of the knowledge graph. Furthermore, we can collect doctors' experience as a supplement, for example, through expert interviews, questionnaires, etc., to collect unwritten diagnosis and treatment strategies, special case handling methods, etc., and integrate them into the knowledge graph to enhance its depth and practicality. Finally, hardware devices can be used to dynamically collect clinical data. Through smart devices (such as voice recognition robots), doctor-patient conversations can be recorded in real time, symptom descriptions, diagnostic logic and treatment plans can be automatically analyzed, and the knowledge graph can be dynamically updated for continuous optimization.

[0053] By integrating the consultation module with the medical knowledge graph, the AI large model can more accurately retrieve relevant medical concepts and generate answers that conform to clinical logic. Furthermore, since patient information is often incomplete in real-world diagnosis and treatment, the knowledge graph can guide the large model to proactively generate supplementary questions, helping doctors efficiently obtain key information. Furthermore, a patient feedback and evaluation system can be established to promptly collect patient feedback, evaluate and rank expert responses, and provide a better patient experience. At the same time, to support online communication, an instant messaging system has been established in the consultation module to support real-time communication and interaction between patients and experts.

[0054] The evaluation module is connected to the questionnaire module and the consultation module to assess patient needs based on the patient's completed questionnaire results and the patient's conversation records in the consultation module. The knowledge base module is connected to the evaluation module to recommend knowledge base articles to patients based on their needs. Furthermore, the evaluation module is used to evaluate patient needs based on the patient's search history in the knowledge base module.

[0055] In this embodiment, doctor-patient communication is achieved through the questionnaire module, consultation module, knowledge base module and evaluation module, and a needs assessment system is jointly constructed. A patient portrait system can be established by analyzing the patient's health data and psychology. By combining the results of the questionnaire survey, the patient's conversation records in the consultation module and the patient's search records in the knowledge base module, the patient's disease information needs, treatment information needs and emotional needs can be assessed. The knowledge base module can automatically recommend texts or videos based on the patient's needs based on the assessed patient needs, so that patients can more conveniently obtain medical information and emotional support. Specifically, the data warehouse architecture can be used to integrate and store data from different sources and types, and the ETL (Extract-Transform-Load) tool can be used to extract, transform and load data to support data analysis and intelligent recommendation functions.

[0056] The doctor-patient communication system further includes a storage module, which is connected to the user management module, questionnaire module, knowledge base module, consultation module, and assessment module and is used to store data. The storage module is built based on the ORM framework and uses a distributed database system to store unstructured data and a relational database system to store structured data.

[0057] In order to effectively protect the privacy and sensitive information of both doctors and patients and improve the security and compliance of the system, data transmission between different modules is encrypted through the SSL / TLS protocol to protect the security of data during transmission. At the same time, in the storage module, the data is encrypted and stored, so that medical-related data can be stored safely and the consistency and reliability of the data can be guaranteed. At the same time, by adopting access control technology, the user's access rights to the data can be restricted to prevent misoperation and malicious operation. This embodiment combines multiple data security technologies to improve the compliance and trust of the system, protect the privacy and rights of users, and comply with relevant laws, regulations and industry standards.

[0058] The doctor-patient communication system also includes an integration module for integrating with other systems, such as other medical institutions, physicians, or health service providers. This module uses a RESTful API as the integration interface and provides detailed API documentation and developer support, making it easy to integrate with different systems and services. An API gateway is used to centrally manage and protect the API, improving system security and maintainability.

[0059] The doctor-patient communication system also features backend management for administrators. This functionality allows for questionnaire management, allowing administrators to export data for further analysis and delete invalid data. All published questionnaires can be viewed through the backend, along with operations such as editing, deleting, and reviewing results. This allows for effective content management and ensures data integrity and accuracy. The backend also provides user management, including adding new users, setting user permissions, and viewing user activity logs.

[0060] In this embodiment, in order to ensure flexibility and scalability, it is convenient to add new functions and modules. The doctor-patient communication system is constructed as multiple independent microservices based on different modules. Different microservices communicate with each other through RESTful APIs to achieve loose coupling and independent deployment. Thus, scalability and flexibility are achieved. Each microservice can be independently developed, tested, deployed and expanded without affecting other microservices, thereby reducing the complexity and maintenance cost of the system. Message queues can be used to achieve asynchronous communication and decoupling between different microservices, thereby improving the scalability and reliability of the system, and achieving loose coupling of the system to avoid the failure of a single microservice affecting the stability of the entire system. For example, after the questionnaire service publishes the questionnaire, it notifies the statistical analysis service through the message queue to perform data processing. The use of a microservice architecture can achieve horizontal expansion and elastic scaling of the system, and dynamically adjust the number of microservice instances according to the system load and demand, thereby improving the performance and availability of the system and meeting user needs.

[0061] Specifically, the microservices architecture design primarily includes components such as the front-end client, back-end service cluster, message queue service, cache service, database service, and third-party data sources. The front-end client is the entry point for users to interact with the system, including registration and login pages, questionnaire design pages, and knowledge base browsing pages. The front-end client includes various functional modules, such as user management, questionnaires, and knowledge base. The front-end client sends requests to the back-end service cluster through the API gateway and receives data returned by the server.

[0062] The backend service cluster primarily includes the API gateway, user service, questionnaire service, knowledge base service, statistical analysis service, and log service. The API gateway serves as the entry point between the client and the service segment, routing requests to the corresponding microservices. The user service is responsible for user management functions, including registration, login, and permission verification. The questionnaire service is responsible for questionnaire design, publishing, and record keeping. The knowledge base service is responsible for managing and retrieving knowledge base articles. The statistical analysis service is responsible for statistical analysis of cancer patient questionnaire completion records and generating reports. The log service is responsible for recording system operation logs for monitoring and troubleshooting.

[0063] The cache service is used to cache popular data, reducing database access and improving system response speed. For example, user information, questionnaire design, and other data can be cached in the cache service.

[0064] The database service includes a user database, a questionnaire database, and a knowledge base database. The user database stores user information, including usernames, passwords, and permissions. The questionnaire database stores questionnaire design information, including questions, options, and publishing settings, as well as questionnaire completion records, including audience responses and completion time. The knowledge base database stores knowledge base article content, including titles, content, and tags.

[0065] In the system architecture of this embodiment, front-end clients access the back-end service cluster through an API gateway. Microservices communicate asynchronously through message queues. A cache service improves system performance, a database service stores user data, and third-party data sources provide external data support. The entire system architecture is rationally designed, with clear functional modules, good scalability, and optimized performance, providing users with stable and secure services.

[0066] In this embodiment, in order to ensure user experience, a responsive design can be used to create a user interface to ensure that the application can provide a consistent interface and functionality on different devices. Specifically, for mobile applications, React Native can be used as a cross-platform development framework to support both iOS and Android platforms. For web applications, the React framework can be used in combination with Redux for state management to achieve a maintainable and scalable user interface. In addition, UI component libraries such as Ant Design or Material-UI can be used to provide an intuitive and easy-to-use interface while ensuring a consistent user experience.

[0067] In this embodiment, in order to ensure the security of the doctor-patient communication system, multiple protection measures can be adopted simultaneously in the selection of the server operating system platform and database, including strict control of operating permissions, user identity authentication, password security management, real-time monitoring of system logs, and strict data update verification. The system encapsulates all access operations to the database and implements permission control in website and application management. It uses the Hypertext Transfer Protocol Secure (HTTPS) protocol for data transmission and enables asymmetric RSA encryption of data content as required. In addition, by using a Web Application Firewall (WAF), the system can be protected from common network attacks such as SQL (Structured Query Language) injection and cross-site scripting.

[0068] In this embodiment, to ensure the reliability of the doctor-patient communication system, servers and network devices with fault-tolerant functions can be deployed, and a hardware device configuration solution with dual-machine backup and cluster technology can be selected to ensure rapid recovery and emergency response in the event of equipment failure. In addition, each device is designed with offline emergency operation functions, and the devices are capable of replacing each other. At the same time, the system also integrates functional modules for system failures such as data backup and recovery, data logging, and fault handling, and implements system monitoring functions such as network management and system operation control, as well as hot deployment functions for application systems, to comprehensively ensure the stable operation of the system.

[0069] In this embodiment, in order to ensure the openness of the doctor-patient communication system, the system can be built based on the multi-layer B / S (Browser / Server) architecture system of J2EE (Java 2 Platform Enterprise Edition), so as to take into account the needs of future development and the data interaction interface with other systems. In order to further achieve the flexibility, security and good manageability of the system, an overall planning and step-by-step implementation strategy can be adopted to promote standardized development and design concepts, and ensure the uniformity of work standards and business processes during the system development and construction process. At the same time, in terms of business, software products, communication technology and other dimensions, the relevant technical specifications and standards formulated by the industry, national and international standardization organizations are fully adopted to ensure the speed of information flow and the security and reliability of network operation.

[0070] In this embodiment, in order to ensure the cross-platform compatibility of the doctor-patient communication system, React Native can be used as a mobile development framework to make the system compatible with both iOS and Android platforms, thereby saving development costs and time. Using the React framework for web development can ensure a consistent user experience on different browsers, whether on a computer or mobile device. Using the hot reloading function of React and React Native, rapid code updates and iterations can be achieved without recompiling and deploying. This allows for faster response to feedback from doctors or patients and provides a better user experience.

[0071] In this embodiment, the input information involved in the doctor-patient communication system primarily includes patient registration input, patient login input, questionnaire design input, questionnaire publishing settings input, questionnaire completion input, knowledge base browsing input, and patient profile input. Specifically, patient registration input includes the username, email address, and password required for patient registration. This input data is verified and stored in the patient database. Patient login input includes the username and password required for patient login. After verification, login credentials are generated and saved in the patient session. Questionnaire design input includes the questions, options, and other information entered by the patient in the questionnaire design module. This design information is stored in the questionnaire database. Questionnaire publishing settings input includes user-defined information such as the questionnaire release date and target audience. This release information is stored in the questionnaire database. Questionnaire completion input includes the answers and opinions entered by the patient when completing the questionnaire. This completion record is stored in the questionnaire completion record database. Knowledge base browsing input includes articles browsed by the patient in the knowledge base module. The system extracts article content from the knowledge base database and displays it to the patient. Patient profile input includes the personal information entered by the patient on the profile page, allowing them to view and edit their personal information. When changing their password, the patient enters their original and new passwords.

[0072] The output information involved in the doctor-patient communication system primarily includes patient registration output, questionnaire design output, questionnaire completion output, questionnaire result viewing output, knowledge base browsing output, and patient management output. Specifically, patient registration output means the system returns a registration success message to the patient upon successful registration, and a user ID is generated and assigned to the registered patient. Patient login output means the system generates login credentials upon successful login, saves them to the patient's session, and returns a login success message to the patient upon successful login. Questionnaire design output means the system saves the questionnaire design information to the database after the user designs the questionnaire, and returns a successful completion message to the user upon successful completion. Questionnaire completion output means the system saves the completed questionnaire to the database after the patient completes the questionnaire, and returns a successful completion message to the patient upon successful completion. Questionnaire result viewing output means project team members can view the questionnaire completion status and statistical results. The system extracts the completed records from the database, performs statistical analysis, and displays them to project team members. Knowledge base browsing output means the system extracts article content from the database and displays it to the patient when the patient browses the knowledge base. When the patient searches for keywords in an article, the system displays relevant articles to the patient. Patient management output is that when the patient views personal information, the system extracts the patient information from the database and displays it to the patient. After the patient successfully changes the password, the system updates the user password information to the database.

[0073] Based on the above-mentioned doctor-patient communication system, this embodiment also provides a doctor-patient communication method based on patient needs, including: creating, publishing and filling out questionnaires through the questionnaire module; creating and reading knowledge base articles through the knowledge base module; obtaining answers and medical advice by entering questions in the consultation module; based on the results of the questionnaire filled out by the patient and the patient's conversation records in the consultation module, evaluating the patient's needs through the evaluation module, and recommending knowledge base articles to the patient based on the patient's needs in the knowledge base module.

[0074] Among them, such as Figure 2 As shown, creating a questionnaire includes the following steps: create a new questionnaire, enter the name and description of the questionnaire; add questions, determine the question type of each question, which includes single-choice, multiple-choice and fill-in-the-blank; determine the question attributes of each question, which include optional and required; for single-choice and multiple-choice questions, set the question content and options; for fill-in-the-blank questions, set the question content; generate the questionnaire.

[0075] After completing the questionnaire creation, the user can click the "Publish Questionnaire" button in the interactive interface of the questionnaire module to publish the questionnaire. Other users can enter the questionnaire page, answer the items in the questionnaire one by one, select options or fill in the content, ensure that each question has a valid answer, and click the Submit button after completing all questions to complete the questionnaire. The user who published the questionnaire can log in to the backend management system to view the questionnaire results and perform data analysis and statistics, including the number of people who completed the questionnaire and the statistical analysis results of each question. Administrators can view all published questionnaires and can edit, delete, and view questionnaire results. They can also perform data analysis and statistics on the questionnaire survey results, including generating charts and statistical data.

[0076] like Figure 3 As shown, the process for creating and publishing knowledge base articles includes: After logging into the system, users with the user type of medical staff or administrator can create a new knowledge base article, enter information such as title, content, video address, video thumbnail, and choose to publish the created knowledge base article. The process for browsing knowledge base articles includes: After logging into the system, the user enters the knowledge base module page and sees a list of published knowledge base articles. The user can browse information such as title, content, video address, video thumbnail, and click on the article title to view the full content. After the user clicks on the knowledge base article title, the user enters the article details page and can read the full article content and video. The article page may contain author information, publication date, etc., which the user can view.

[0077] like Figure 4 As shown in the figure, the consultation process in the consultation module includes the following: After logging in to the system, the user enters the consultation module. In the dialog box, enter text to describe their symptoms or questions and click the "Send" button. The system sends the user's input to the AI model for processing. After receiving the user's question, the AI model analyzes it and generates professional medical advice or answers. The AI's response is displayed to the user in a dialog box. The user can continue asking questions or end the conversation. The user can choose to clear the conversation history in the consultation module at any time. Click the "Clear Conversation" button, and the system will pop up a confirmation prompt. After the user confirms, all conversation history will be deleted to ensure privacy and data security.

[0078] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0079] It should be noted that the devices and methods disclosed in the embodiments of this document may also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of the devices, methods, and computer program products according to the various embodiments of this document. In this regard, each box in the flowchart or block diagram may represent a module, program, or portion of code, wherein the module, program segment, or portion of code contains one or more executable instructions for implementing a specified logical function, and the module, program segment, or portion of code contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the boxes may also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes may actually be executed substantially in parallel, or they may sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, as well as the combination of boxes in the block diagram and / or flowchart, may be implemented by a dedicated hardware-based system for performing the specified function or action, or may be implemented by a combination of dedicated hardware and computer instructions.

[0080] In addition, the functional modules in the various embodiments of this document may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0081] Although the present invention has been described in detail through the above preferred embodiments, it should be understood that the above description is not intended to limit the present invention. After reading the above description, various modifications and substitutions of the present invention will become apparent to those skilled in the art. Therefore, the scope of protection of the present invention should be defined by the appended claims.

Claims

1. A doctor-patient communication system based on patient needs, characterized by: include: A user management module, wherein the user management module is used to manage users, and the users have user types, including administrators, medical staff, and patients; A questionnaire module, connected to the user management module, is used for administrators or medical staff to create and publish questionnaires, and is also used for patients to fill in questionnaires; A knowledge base module, connected to the user management module, is used for administrators or medical staff to create knowledge base articles and for users to read knowledge base articles; A consultation module, connected to the user management module and built based on the AI big model, is used to provide corresponding answers and medical advice based on the questions input by the user; and An evaluation module, connected to the questionnaire module and the consultation module, for evaluating the patient's needs based on the results of the questionnaire filled out by the patient and the patient's conversation record in the consultation module; The knowledge base module is connected to the evaluation module for recommending knowledge base articles to the patient based on the patient needs.

2. The doctor-patient communication system according to claim 1, characterized in that: The user management module is used for user registration, login and logout operations. The user management module adopts OAuth 2.0 as the authorization framework and JWT as the authentication protocol to verify and authorize the user's identity.

3. The doctor-patient communication system according to claim 1, characterized in that: The doctor-patient communication system also includes an integration module, which uses a RESTful API as an integration interface and an API gateway to uniformly manage and protect the API for integration with other systems.

4. The doctor-patient communication system according to claim 1, characterized in that: The doctor-patient communication system further includes a storage module, which is connected to the user management module, the questionnaire module, the knowledge base module, the consultation module and the evaluation module, and is used to store data. The storage module uses a distributed database system to store unstructured data and a relational database system to store structured data. The storage module is established based on the ORM framework, and data transmission between different modules is encrypted through the SSL / TLS protocol.

5. The doctor-patient communication system according to claim 1, characterized in that: The doctor-patient communication system is constructed as multiple independent microservices based on different modules. Different microservices communicate with each other through RESTful API to achieve loose coupling and independent deployment; asynchronous communication and decoupling between different microservices are achieved through message queues.

6. The doctor-patient communication system according to claim 1, characterized in that: The patient needs include: disease information needs, treatment information needs, and emotional needs.

7. The doctor-patient communication system according to claim 6, characterized in that: The knowledge base article includes a title, content, video address and video thumbnail. The knowledge base module is used to classify and manage the knowledge base articles based on the disease information needs, the treatment information needs and the emotional needs, and is also used for users to search for knowledge base articles. The evaluation module is used to evaluate the patient's needs in combination with the patient's search records in the knowledge base module.

8. The doctor-patient communication system according to claim 6, characterized in that: The questionnaire module is also used to perform data analysis on the survey results of the questionnaire from the three dimensions of the disease information needs, the treatment information needs and the emotional needs, so as to judge the size of the patient's needs in each dimension based on the analysis results of each dimension.

9. A doctor-patient communication method based on patient needs, used in a doctor-patient communication system according to any one of claims 1 to 8, characterized in that: include: Create, publish and fill out questionnaires through the questionnaire module; Create and browse knowledge base articles through the knowledge base module; Get answers and medical advice by entering questions into the consultation module; Based on the results of the questionnaire filled in by the patient and the conversation records of the patient in the consultation module, the patient's needs are evaluated by the evaluation module, and knowledge base articles are recommended to the patient based on the patient's needs in the knowledge base module.

10. The doctor-patient communication method according to claim 9, characterized in that: The creation of the questionnaire includes the following steps: Create a new questionnaire and enter the name and description of the questionnaire; Add questions and determine the question type of each question, including single-choice, multiple-choice, and fill-in-the-blank; Determine the question attributes of each question, wherein the question attributes include optional answers and required answers; For single-choice and multiple-choice questions, set the question content and options; for fill-in-the-blank questions, set the question content; Generate a questionnaire.