WO2021179625A1 - Smart diagnosis guide method and apparatus, electronic device, and storage medium - Google Patents

Smart diagnosis guide method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2021179625A1
WO2021179625A1 PCT/CN2020/124260 CN2020124260W WO2021179625A1 WO 2021179625 A1 WO2021179625 A1 WO 2021179625A1 CN 2020124260 W CN2020124260 W CN 2020124260W WO 2021179625 A1 WO2021179625 A1 WO 2021179625A1
Authority
WO
WIPO (PCT)
Prior art keywords
department
symptom
recommended
feedback
result
Prior art date
Application number
PCT/CN2020/124260
Other languages
French (fr)
Chinese (zh)
Inventor
李彦轩
刘卓
孙行智
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021179625A1 publication Critical patent/WO2021179625A1/en

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/20ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the management or administration of healthcare resources or facilities, e.g. managing hospital staff or surgery rooms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/044Recurrent networks, e.g. Hopfield networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/50ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for simulation or modelling of medical disorders

Definitions

  • This application relates to the field of artificial intelligence technology, and in particular to an intelligent triage method, device, electronic equipment and storage medium.
  • Patient triage is an important task in the daily work of the hospital. Fast and accurate triage can save patients' time and improve their experience. Traditional triage methods are mostly manual triage. Because of the different levels of hospitals in different regions, the level of medical staff is also uneven, so the accuracy of manual triage is not the same, and it requires a certain amount of manpower input. In this context , Intelligent triage was born. The inventor realizes that the current intelligent triage often uses a reinforcement learning model to determine the number of specific consultation rounds. The existing reinforcement learning methods do not distinguish between patient symptoms and symptoms that are not helpful for department recommendations. It is important to consider. In addition, setting both symptom inquiry and department recommendation as the learning goal of the reinforcement learning model makes the model learning task more complicated, which will affect the accuracy of triage.
  • the present application provides an intelligent triage method, device, electronic equipment, and storage medium, which is beneficial to improve the accuracy of triage.
  • an intelligent triage method which includes:
  • the at least one symptom includes the symptom obtained in the current round of symptom inquiry;
  • the next round of symptom inquiry is performed based on the target symptom, and multiple rounds of symptom inquiry are repeated until the patient returns to the recommended department.
  • the second aspect of the embodiments of the present application provides an intelligent triage device, which includes:
  • the symptom acquisition module is used to acquire at least one symptom of the patient; the at least one symptom includes the symptom obtained in the current round of symptom inquiry;
  • the department recommendation module is used to obtain the department recommendation result corresponding to the patient according to the at least one symptom
  • Feedback acquisition module used to acquire feedback on the recommendation result of the department
  • the symptom determination module determines the symptom obtained in this round of symptom inquiry as the target symptom according to the feedback;
  • the department output module is configured to perform the next round of symptom inquiry based on the target symptom, and repeatedly execute multiple rounds of symptom inquiry until returning to the recommended department to the patient.
  • the third aspect of the embodiments of the present application provides an electronic device.
  • the electronic device includes an input device and an output device, and also includes a processor, adapted to implement one or more instructions; and, a computer storage medium, which stores There are one or more instructions, and the one or more instructions are suitable for being loaded by the processor and executing the following steps:
  • the at least one symptom includes the symptom obtained in the current round of symptom inquiry;
  • the next round of symptom inquiry is performed based on the target symptom, and multiple rounds of symptom inquiry are repeated until the patient returns to the recommended department.
  • the fourth aspect of the embodiments of the present application provides a computer storage medium, the computer storage medium stores one or more instructions, and the one or more instructions are suitable for being loaded by a processor and executing the following steps:
  • the at least one symptom includes the symptom obtained in the current round of symptom inquiry;
  • the next round of symptom inquiry is performed based on the target symptom, and multiple rounds of symptom inquiry are repeated until the patient returns to the recommended department.
  • This application not only helps reduce the number of rounds of symptom inquiry, but also improves the accuracy of triage.
  • FIG. 1 is a schematic diagram of a network system architecture provided by an embodiment of this application.
  • FIG. 2 is a schematic flowchart of an intelligent triage method provided by an embodiment of this application.
  • FIG. 3 is an example diagram of a hierarchy of a reinforcement learning model provided by an embodiment of this application.
  • FIG. 4 is an example diagram of interaction between a reinforcement learning model and an environment provided by an embodiment of this application.
  • FIG. 5 is a schematic flowchart of another intelligent triage method provided by an embodiment of the application.
  • FIG. 6 is a schematic structural diagram of an intelligent triage device provided by an embodiment of the application.
  • FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
  • the technical solution of this application can be applied to the fields of artificial intelligence, digital medical care, smart city, blockchain and/or big data technology to improve the accuracy of triage and realize smart medical care.
  • the embodiment of the application provides an intelligent triage method, which can be implemented based on the network system architecture shown in FIG. 1. Please refer to FIG. 1.
  • the network system architecture includes terminals and electronic devices.
  • the terminals and electronic devices pass through a wired or wireless network
  • the terminal is the terminal device used by the patient, which can be the patient’s mobile phone, tablet, computer, personal digital assistant (PDA), etc., or the intelligent terminal device set up by the hospital for triage.
  • the patient passes
  • the terminal interacts with the electronic device, for example: submitting a description of the symptoms to the electronic device.
  • the electronic equipment includes at least an enhanced learning module, a triage module, and a communication module.
  • the communication module is integrated with a digital protocol interface.
  • the communication module obtains the information input by the patient through the terminal through the digital protocol interface. After receiving the information submitted by the terminal, the electronic device will The description of symptoms is sorted into structured symptom information.
  • the reinforcement learning module collects and updates the patient’s symptom information after multiple rounds of interaction with the patient.
  • the triage module predicts the probability of recommending departments based on the patient’s symptom information.
  • the reinforcement learning module can The triage module obtains the feedback (reward) for performing the department recommendation task, and based on the value of the feedback, determines the distinguished symptoms, and gives priority to the symptom inquiry for the distinguished symptoms, until the collected information can output the final recommendation to the patient Department.
  • the electronic device separates the department recommendation task from the reinforcement learning module, and is executed by the triage module recommended by the department alone, which simplifies the overall task of the reinforcement learning module. In addition, it is effective to determine the distinguished symptoms from the numerous symptoms. Accurate triage can still be completed while reducing the number of rounds of interaction with the patient.
  • FIG. 2 is a schematic flowchart of an intelligent triage method provided by an embodiment of the application. The method is applied to an electronic device. As shown in FIG. 2, it includes steps S21-S23:
  • S21 Obtain at least one symptom of the patient; the at least one symptom includes the symptom obtained in the current round of symptom inquiry.
  • a hierarchical reinforcement learning method is used to simplify the action space at each decision.
  • the agent of the reinforcement learning model is designed into three levels, and the first level will obtain The historical symptoms obtained by the historical symptom inquiry, based on the historical symptoms obtained by executing the historical symptom inquiry task, determine whether to continue the symptom inquiry or directly return to the recommended department to end the interaction with the patient.
  • the historical symptom inquiry refers to the symptoms before the current symptom inquiry Inquiry, the historical symptoms are the known symptoms of the patient. If the currently collected historical symptoms cannot be more accurately recommended for the department, the second level selects a target symptom subset from the preset multiple symptom subsets.
  • the target symptom subset is a symptom subset that has a certain degree of relevance to the symptom description, rather than arbitrarily selected.
  • the information entered by the patient indicates that the patient has symptom A
  • x1,x2,...,xn] x1, x5, xn-1 are symptom subsets that have a certain degree of relevance to symptom A, so choose one from these symptom subsets As a subset of target symptoms.
  • the third level needs to select a symptom to be asked from the target symptom subset.
  • dividing all symptoms into multiple symptom subsets reduces the size of the feature space corresponding to each symptom subset.
  • selecting a symptom to be asked from the target symptom subset reduces the total number of symptom inquiries, so The model is easier to converge during training.
  • the environment of reinforcement learning is composed of patients and triage models. Compared with the training direction of supervised learning to learn models from tags, reinforcement learning is to train the model based on the feedback obtained from the interaction with the environment.
  • the environment will give a feedback to measure the quality of the action.
  • the reinforcement learning model executes the cost based on the symptom to be asked.
  • the symptom questioning task is to ask the patient about symptoms. If the feedback given by the environment for this round of symptom questioning is the third feedback (such as 1), it means that the patient does have the symptom to be questioned. This round of symptom questioning hits the patient’s true symptoms.
  • the symptom to be asked can be determined as the symptom obtained from the current round of symptom questioning, and at least one of the above symptoms is composed of the historical symptoms and the symptoms obtained from the current round of symptom questioning.
  • the fourth feedback such as -1
  • the reinforcement learning model used in this application is the Actor-Critic model.
  • the department recommendation task is separated from the reinforcement learning task and executed by an independent triage model trained by supervised learning, and the triage model is added to the environment, thereby simplifying the reinforcement
  • the overall learning task of the learning model makes the reinforcement learning model only need to pay attention to whether to return the recommended department to the patient, rather than which one of the many departments to return to.
  • the reinforcement learning model decides that the patient needs to return to the recommended department, it only needs to send a signal to the triage model to return to the recommended department, and the triage model gives the specific recommended department.
  • the triage model Before returning the recommended department to the patient, the triage model will output the corresponding department recommendation results for the symptoms obtained in each round of symptom inquiry and the previous known symptoms. Specifically, after obtaining the above-mentioned at least one symptom, input it into a pre-trained triage model to extract key information, perform department recommendation prediction based on the extracted key information, and output department recommendation results.
  • the key information can be key descriptions such as "fever” and "stomach pain", or can be a key feature extracted from the at least one symptom.
  • the triage model can be a convolutional neural network, a long short-term memory network, etc., There is no limitation here.
  • the department recommendation result includes the department to be recommended and the first predicted probability corresponding to the department to be recommended, and the department to be recommended includes the patient's actual treatment department, for example: the triage model predicts
  • the departments to be recommended are Department A, Department B, and Department C.
  • the corresponding probabilities are 85%, 80%, and 50% as the first predicted probability.
  • Department A, Department B, and Department C include the actual patient visits Department.
  • the foregoing obtaining the feedback on the recommendation result of the department includes: obtaining the feedback on the recommendation result of the department based on the first predicted probability of the actual treatment department. Specifically, it is first necessary to obtain the patient's corresponding historical department recommendation results.
  • the so-called historical department recommendation result is the department recommendation that the triage model predicts based on the collected historical symptoms (ie known symptoms) before this recommendation prediction.
  • the historical department recommendation results include the historical department to be recommended and the second predicted probability corresponding to the historical recommended department, and the historical department to be recommended also includes the patient's actual treatment department.
  • the historical department to be recommended are Department A, For Department B and Department D, the corresponding probabilities of 72%, 85%, and 60% are the second predicted probabilities.
  • Department A, Department B, and Department D also include the patient's actual consultation department.
  • the first predicted probability of the actual visiting department is greater than the second predicted probability of the actual visiting department
  • the first feedback for the recommended result of the department is obtained;
  • the first predicted probability of the actual visiting department is less than the second predicted probability of the actual visiting department
  • a second feedback for the recommendation result of the department is obtained.
  • department A is the patient's actual treatment department
  • the first predicted probability of department A is significantly greater than the second predicted probability
  • the environment will return a positive feedback for the recommended result of the department, that is, the first feedback.
  • the first predicted probability of department A is less than or equal to the second predicted probability
  • the environment will return a negative feedback for the recommended result of the department, that is, the second feedback.
  • the present application may also obtain feedback on the recommended results of the departments based on a sorting method.
  • the recommended departments are sorted according to the first predicted probability to obtain the first sorting result of the actual treatment departments, assuming Department B is the patient's actual treatment department. Department A, Department B, and Department C are sorted according to the first predicted probability, and the first ranking result of Department B is second.
  • obtain the second sorting result of the actual visiting department that is, sorting the historical department to be recommended based on the second predicted probability of the historical department to be recommended, for example: according to the second predicted probability, the department A and department B are sorted. , Department D is sorted, and the second ranking result of department B is in the first place.
  • the environment will also return the first feedback.
  • the environment will be the same The second feedback will be returned.
  • the symptom obtained from the current round of symptom inquiry is determined as the target symptom, that is, the output given by the environment for the triage model is a positive number
  • the symptoms obtained in this round of symptom inquiry are determined as distinguishable symptoms.
  • S25 Perform the next round of symptom inquiry based on the target symptom, and repeat multiple rounds of symptom inquiry until returning to the recommended department to the patient.
  • the target symptom is used to update the historical symptom, that is, the target symptom will also be determined as a known symptom or a historical symptom, and then return to the figure
  • the starting point in 4 is to determine whether the current known symptoms are enough to return to the recommended department for the patient, if so, give a signal to the triage model to return to the recommended department, if otherwise, give priority to the target symptom to start the next round of symptom inquiry, and repeat the same procedure. Round symptom inquiry, until the known symptoms are sufficient to return the patient to the recommended department.
  • r s ⁇ 1 ⁇ symptom_score+ ⁇ 2 ⁇ dept_score+ ⁇ 3 ⁇ tanh( ⁇ ( ⁇ p)), where r s represents the calculated feedback, ⁇ 1 , ⁇ 2 and ⁇ 3 are preset weights, and symptom_score represents In the symptom inquiry, whether the symptom to be asked hits the actual symptom of the patient. If it is, the value is 1, if it is otherwise, the value is -1.
  • the dept_score represents the triage effect of the reinforcement learning model.
  • the value is 1, if it is inconsistent, the value is -1, tanh( ⁇ ( ⁇ p)) represents the effect of each round of symptom inquiry on the results of the department recommendation, ⁇ represents the preset constant, and ⁇ p represents the symptoms of each round Ask about the changes in the order of the department recommended by the department after the new symptoms are obtained.
  • the embodiment of the present application obtains at least one symptom of the patient; the at least one symptom includes the symptom obtained in the current round of symptom inquiry; obtains the department recommendation result corresponding to the patient according to the at least one symptom; obtains Feedback on department recommendation results; determine the symptom obtained in the current round of symptom inquiry as the target symptom according to the feedback; perform the next round of symptom inquiry based on the target symptom, and repeat multiple rounds of symptom inquiry until the patient returns to the recommended department.
  • the recommended department is predicted based on at least one symptom of the patient to obtain the department recommendation result, and then according to the feedback obtained for the department recommendation result, the symptom obtained in the current round of symptom inquiry is determined as the target symptom, that is, it is distinguishable and recommended to the department.
  • the next round of symptom inquiry and triage prediction based on the target symptom will not only help reduce the number of symptom inquiry rounds, but also help improve the accuracy of triage.
  • the solution of the present application can also be applied to the field of smart medical care.
  • the patient is intelligently triaged, Out of the departments that can be consulted by the patient. Since this application will determine the distinguished symptoms from the many symptoms of the patient based on the feedback given by the model environment, the symptom inquiry and triage based on the distinguished symptoms will help improve the accuracy of triage and not only reduce the medical care.
  • the labor cost of personnel also improves the efficiency of patients' medical treatment, so that patients have a better medical experience.
  • FIG. 5 is a schematic flow chart of another intelligent triage method provided by the embodiment of the present application, which can also be implemented based on the network system architecture shown in FIG. 1, as shown in FIG. 5, including steps S51-S56:
  • S51 Obtain at least one symptom of the patient; the at least one symptom includes the symptom obtained in the current round of symptom inquiry;
  • S52 Input the at least one symptom into a pre-trained triage model to extract key information;
  • the triage model is an independent supervised learning model used to perform department recommendation tasks;
  • S56 Perform the next round of symptom inquiry based on the target symptom, and repeat multiple rounds of symptom inquiry until returning to the recommended department to the patient.
  • steps S51-S56 has been described in the embodiment shown in FIG. 2 and can achieve the same or similar beneficial effects. In order to avoid repetition, the details are not repeated here.
  • FIG. 6 is a schematic structural diagram of an intelligent triage device provided by an embodiment of the application. As shown in FIG. 6, the device includes:
  • the symptom acquisition module 61 is configured to acquire at least one symptom of the patient; the at least one symptom includes the symptoms obtained in the current round of symptom inquiry;
  • the department recommendation module 62 is configured to obtain a department recommendation result corresponding to the patient according to the at least one symptom;
  • the feedback obtaining module 63 is configured to obtain feedback on the recommendation result of the department
  • the symptom determination module 64 determines the symptom obtained in the current round of symptom inquiry as the target symptom according to the feedback;
  • the department output module 65 is configured to perform the next round of symptom inquiry based on the target symptom, and repeat multiple rounds of symptom inquiry until returning to the recommended department to the patient.
  • the department recommendation module 62 is specifically configured to:
  • the triage model is an independent supervised learning model used to perform department recommendation tasks;
  • a recommendation prediction of the department is performed, and the recommendation result of the department is output.
  • the department recommendation result includes the department to be recommended and the first predicted probability corresponding to the department to be recommended, and the department to be recommended includes the actual treatment department of the patient;
  • the feedback obtaining module 63 is specifically used to:
  • the feedback obtaining module 63 is specifically configured to:
  • the recommended result of the historical department includes the historical department to be recommended and the second predicted probability corresponding to the historical department to be recommended, and the historical department to be recommended includes the actual department;
  • the first predicted probability of the actual medical department is greater than the second predicted probability of the actual medical department, the first feedback for the recommended result of the department is obtained; the first predicted probability of the actual medical department is less than In the case of being equal to the second predicted probability of the actual treatment department, obtaining a second feedback for the recommendation result of the department;
  • the second sorting result is obtained by sorting the historical department to be recommended based on the second predicted probability of the historical department to be recommended;
  • the symptom determining module 64 is specifically configured to:
  • the symptom obtained in the current round of symptom inquiry is determined as the target symptom.
  • the symptom obtaining module 61 is specifically configured to:
  • the target symptom subset is determined from the preset multiple symptom subsets, and the symptom to be asked is determined from the target symptom subset;
  • the symptom Use the symptom to be asked to execute the symptom questioning task of the current round, and in the case of obtaining the third feedback for the symptom questioning of the current round, determine the symptom to be questioned as the symptoms obtained from the symptom questioning of the current round; the third The feedback indicates that the patient has the symptom to be asked;
  • the at least one symptom is composed of the historical symptoms and the symptoms obtained from the current round of symptom inquiry.
  • the units of the intelligent triage device shown in FIG. 6 can be separately or completely combined into one or several other units to form, or some of the units can also be split. It is composed of multiple units with smaller functions, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application.
  • the above-mentioned units are divided based on logical functions.
  • the function of one unit can also be realized by multiple units, or the functions of multiple units can be realized by one unit.
  • the intelligent triage-based device may also include other units. In practical applications, these functions may also be implemented with the assistance of other units, and may be implemented by multiple units in cooperation.
  • a general-purpose computing device such as a computer including a central processing unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM) and other processing elements and storage elements
  • CPU central processing unit
  • RAM random access storage medium
  • ROM read-only storage medium
  • the intelligent triage method of cases The computer program may be recorded on, for example, a computer-readable recording medium, and loaded into the above-mentioned computing device through the computer-readable recording medium, and run in it.
  • an embodiment of the present application also provides an electronic device.
  • the electronic device includes at least a processor 71, an input device 72, an output device 73 and a computer storage medium 74.
  • the processor 71, the input device 72, the output device 73, and the computer storage medium 74 in the electronic device may be connected by a bus or other means.
  • the computer storage medium 74 may be stored in the memory of the electronic device.
  • the computer storage medium 74 is used to store a computer program.
  • the computer program includes program instructions.
  • the processor 71 is used to execute the program stored in the computer storage medium 74. instruction.
  • the processor 71 (or CPU (Central Processing Unit, central processing unit)) is the computing core and control core of an electronic device. It is suitable for implementing one or more instructions, and specifically for loading and executing one or more instructions to achieve Corresponding method flow or corresponding function.
  • the processor 71 of the electronic device provided in the embodiment of the present application may be used to perform a series of intelligent triage processing:
  • the at least one symptom includes the symptom obtained in the current round of symptom inquiry;
  • the next round of symptom inquiry is performed based on the target symptom, and multiple rounds of symptom inquiry are repeated until the patient returns to the recommended department.
  • the execution of the processor 71 to obtain the department recommendation result corresponding to the patient according to the at least one symptom includes:
  • the triage model is an independent supervised learning model used to perform department recommendation tasks;
  • a recommendation prediction of the department is performed, and the recommendation result of the department is output.
  • the department recommendation result includes the department to be recommended and the first predicted probability corresponding to the department to be recommended, and the department to be recommended includes the patient's actual treatment department; the processor 71 executes the acquisition target
  • the feedback of the recommended results of the department includes:
  • the processor 71 executing the first predicted probability based on the actual department to obtain feedback on the recommendation result of the department includes:
  • the recommended result of the historical department includes the historical department to be recommended and the second predicted probability corresponding to the historical department to be recommended, and the historical department to be recommended includes the actual department;
  • the first predicted probability of the actual medical department is greater than the second predicted probability of the actual medical department, the first feedback for the recommended result of the department is obtained; the first predicted probability of the actual medical department is less than In the case of being equal to the second predicted probability of the actual treatment department, obtaining a second feedback for the recommendation result of the department;
  • the second sorting result is obtained by sorting the historical department to be recommended based on the second predicted probability of the historical department to be recommended;
  • the processor 71 executes the determination of the symptom obtained in the current round of symptom inquiry as the target symptom according to the feedback, including:
  • the symptom obtained in the current round of symptom inquiry is determined as the target symptom.
  • the processor 71 executing the acquiring at least one symptom of the patient includes:
  • the target symptom subset is determined from the preset multiple symptom subsets, and the symptom to be asked is determined from the target symptom subset;
  • the symptom Use the symptom to be asked to execute the symptom questioning task of the current round, and in the case of obtaining the third feedback for the symptom questioning of the current round, determine the symptom to be questioned as the symptoms obtained from the symptom questioning of the current round; the third The feedback indicates that the patient has the symptom to be asked;
  • the at least one symptom is composed of the historical symptoms and the symptoms obtained from the current round of symptom inquiry.
  • the foregoing electronic device may be a server, a cloud server, a computer host, a server cluster, etc.
  • the electronic device includes but is not limited to a processor 71, an input device 72, an output device 73, and a computer storage medium 74.
  • a processor 71 an input device 72, an output device 73, and a computer storage medium 74.
  • the schematic diagram is only an example of the electronic device, and does not constitute a limitation on the electronic device, and may include more or fewer components than those shown in the figure, or a combination of certain components, or different components.
  • the processor 71 of the electronic device executes the computer program to implement the steps in the above-mentioned intelligent triage method
  • the embodiments of the above-mentioned intelligent triage method are all applicable to the electronic device, and can achieve the same or similar The beneficial effects.
  • the embodiment of the present application also provides a computer storage medium (Memory).
  • the computer storage medium is a memory device in an electronic device for storing programs and data. It can be understood that the computer storage medium herein may include a built-in storage medium in the terminal, and of course, may also include an extended storage medium supported by the terminal.
  • the computer storage medium provides storage space, and the storage space stores the operating system of the terminal.
  • one or more instructions suitable for being loaded and executed by the processor 71 are also stored in the storage space, and these instructions may be one or more computer programs (including program codes).
  • the computer storage medium here can be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk memory; optionally, it can also be at least one located far away from the aforementioned processing.
  • the computer storage medium involved in this application may be a computer-readable storage medium, and the computer storage medium may be non-volatile or volatile.
  • the processor 71 can load and execute one or more instructions stored in the computer storage medium to implement the corresponding steps of the above-mentioned intelligent triage method; in a specific implementation, one or more instructions in the computer storage medium The instructions are loaded by the processor 71 and execute the following steps:
  • the at least one symptom includes the symptom obtained in the current round of symptom inquiry;
  • the next round of symptom inquiry is performed based on the target symptom, and multiple rounds of symptom inquiry are repeated until the patient returns to the recommended department.
  • the triage model is an independent supervised learning model used to perform department recommendation tasks;
  • a recommendation prediction of the department is performed, and the recommendation result of the department is output.
  • the recommended result of the historical department includes the historical department to be recommended and the second predicted probability corresponding to the historical department to be recommended, and the historical department to be recommended includes the actual department;
  • the first predicted probability of the actual medical department is greater than the second predicted probability of the actual medical department, the first feedback for the recommended result of the department is obtained; the first predicted probability of the actual medical department is less than In the case of being equal to the second predicted probability of the actual treatment department, obtaining a second feedback for the recommendation result of the department;
  • the second sorting result is obtained by sorting the historical department to be recommended based on the second predicted probability of the historical department to be recommended;
  • the symptom obtained in the current round of symptom inquiry is determined as the target symptom.
  • the target symptom subset is determined from the preset multiple symptom subsets, and the symptom to be asked is determined from the target symptom subset;
  • the symptom Use the symptom to be asked to execute the symptom questioning task of the current round, and in the case of obtaining the third feedback for the symptom questioning of the current round, determine the symptom to be questioned as the symptoms obtained from the symptom questioning of the current round; the third The feedback indicates that the patient has the symptom to be asked;
  • the at least one symptom is composed of the historical symptoms and the symptoms obtained from the current round of symptom inquiry.
  • the computer program in the computer storage medium includes computer program code
  • the computer program code may be in the form of source code, object code, executable file, or some intermediate form.
  • the computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunications signal, and software distribution media, etc.

Abstract

A smart diagnosis guide method and apparatus, an electronic device, and a storage medium. The method comprises: obtaining at least one symptom of a patient, said at least one symptom including the symptom obtained during the present round of symptom inquiry (S21); obtaining a department recommendation result corresponding to the patient according to the at least one symptom (S22); obtaining a feedback of the department recommendation result (S23); according to the feedback, determining the symptom obtained during the present round of symptom inquiry as the target symptom (S24); performing a next round of symptom inquiry on the basis of the target symptom and repeating multiple rounds of symptom inquiries until a recommended department can be responded to the patient (S25). The present method is conducive to reducing the number of rounds of interaction with a patient during diagnosis guide, and is conducive to enhancing the accuracy of diagnosis guide.

Description

智能分诊方法、装置、电子设备及存储介质Intelligent triage method, device, electronic equipment and storage medium
本申请要求于2020年9月27日提交中国专利局、申请号为202011031139.4,发明名称为“智能分诊方法、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on September 27, 2020, the application number is 202011031139.4, and the invention title is "intelligent triage method, device, electronic equipment and storage medium", the entire content of which is incorporated by reference Incorporated in this application.
技术领域Technical field
本申请涉及人工智能技术领域,尤其涉及一种智能分诊方法、装置、电子设备及存储介质。This application relates to the field of artificial intelligence technology, and in particular to an intelligent triage method, device, electronic equipment and storage medium.
背景技术Background technique
患者分诊是医院日常工作中的一项重要工作,快速精准地分诊可节省患者的就诊时间,提高其就诊体验。传统的分诊方法多为人工分诊,由于各地医院等级不同,从医人员的水平也参差不齐,所以人工分诊的准确度也不尽相同,且需要一定的人力投入,在此背景下,智能分诊诞生。发明人意识到,目前的智能分诊往往是使用强化学习模型来决策具体的问诊轮数,现有强化学习的方法对患者症状并未加以区分,对科室推荐未起到帮助作用的症状也被重点考虑,另外,将症状询问和科室推荐都设置为强化学习模型的学习目标,使得模型学习任务较为复杂,这些都将影响到分诊的准确度。Patient triage is an important task in the daily work of the hospital. Fast and accurate triage can save patients' time and improve their experience. Traditional triage methods are mostly manual triage. Because of the different levels of hospitals in different regions, the level of medical staff is also uneven, so the accuracy of manual triage is not the same, and it requires a certain amount of manpower input. In this context , Intelligent triage was born. The inventor realizes that the current intelligent triage often uses a reinforcement learning model to determine the number of specific consultation rounds. The existing reinforcement learning methods do not distinguish between patient symptoms and symptoms that are not helpful for department recommendations. It is important to consider. In addition, setting both symptom inquiry and department recommendation as the learning goal of the reinforcement learning model makes the model learning task more complicated, which will affect the accuracy of triage.
发明内容Summary of the invention
针对上述问题,本申请提供了一种智能分诊方法、装置、电子设备及存储介质,有利于提高分诊的准确度。In response to the above-mentioned problems, the present application provides an intelligent triage method, device, electronic equipment, and storage medium, which is beneficial to improve the accuracy of triage.
为实现上述目的,本申请实施例第一方面提供了一种智能分诊方法,该方法包括:To achieve the foregoing objective, the first aspect of the embodiments of the present application provides an intelligent triage method, which includes:
获取患者的至少一个症状;所述至少一个症状包括本轮症状询问得到的症状;Obtain at least one symptom of the patient; the at least one symptom includes the symptom obtained in the current round of symptom inquiry;
根据所述至少一个症状获取所述患者对应的科室推荐结果;Obtaining a department recommendation result corresponding to the patient according to the at least one symptom;
获取针对所述科室推荐结果的反馈;Obtain feedback on the recommendation result of the department;
根据所述反馈将本轮症状询问得到的症状确定为目标症状;According to the feedback, determine the symptom obtained in this round of symptom inquiry as the target symptom;
基于所述目标症状进行下一轮症状询问,重复执行多轮症状询问直至向所述患者返回推荐科室。The next round of symptom inquiry is performed based on the target symptom, and multiple rounds of symptom inquiry are repeated until the patient returns to the recommended department.
本申请实施例第二方面提供了一种智能分诊装置,该装置包括:The second aspect of the embodiments of the present application provides an intelligent triage device, which includes:
症状获取模块,用于获取患者的至少一个症状;所述至少一个症状包括本轮症状询问得到的症状;The symptom acquisition module is used to acquire at least one symptom of the patient; the at least one symptom includes the symptom obtained in the current round of symptom inquiry;
科室推荐模块,用于根据所述至少一个症状获取所述患者对应的科室推荐结果;The department recommendation module is used to obtain the department recommendation result corresponding to the patient according to the at least one symptom;
反馈获取模块,用于获取针对所述科室推荐结果的反馈;Feedback acquisition module, used to acquire feedback on the recommendation result of the department;
症状确定模块,根据所述反馈将本轮症状询问得到的症状确定为目标症状;The symptom determination module determines the symptom obtained in this round of symptom inquiry as the target symptom according to the feedback;
科室输出模块,用于基于所述目标症状进行下一轮症状询问,重复执行多轮症状询问直至向所述患者返回推荐科室。The department output module is configured to perform the next round of symptom inquiry based on the target symptom, and repeatedly execute multiple rounds of symptom inquiry until returning to the recommended department to the patient.
本申请实施例第三方面提供了一种电子设备,该电子设备包括输入设备和输出设备,还包括处理器,适于实现一条或多条指令;以及,计算机存储介质,所述计算机存储介质存储有一条或多条指令,所述一条或多条指令适于由所述处理器加载并执行如下步骤:The third aspect of the embodiments of the present application provides an electronic device. The electronic device includes an input device and an output device, and also includes a processor, adapted to implement one or more instructions; and, a computer storage medium, which stores There are one or more instructions, and the one or more instructions are suitable for being loaded by the processor and executing the following steps:
获取患者的至少一个症状;所述至少一个症状包括本轮症状询问得到的症状;Obtain at least one symptom of the patient; the at least one symptom includes the symptom obtained in the current round of symptom inquiry;
根据所述至少一个症状获取所述患者对应的科室推荐结果;Obtaining a department recommendation result corresponding to the patient according to the at least one symptom;
获取针对所述科室推荐结果的反馈;Obtain feedback on the recommendation result of the department;
根据所述反馈将本轮症状询问得到的症状确定为目标症状;According to the feedback, determine the symptom obtained in this round of symptom inquiry as the target symptom;
基于所述目标症状进行下一轮症状询问,重复执行多轮症状询问直至向所述患者返回推荐科室。The next round of symptom inquiry is performed based on the target symptom, and multiple rounds of symptom inquiry are repeated until the patient returns to the recommended department.
本申请实施例第四方面提供了一种计算机存储介质,所述计算机存储介质存储有一条或多条指令,所述一条或多条指令适于由处理器加载并执行如下步骤:The fourth aspect of the embodiments of the present application provides a computer storage medium, the computer storage medium stores one or more instructions, and the one or more instructions are suitable for being loaded by a processor and executing the following steps:
获取患者的至少一个症状;所述至少一个症状包括本轮症状询问得到的症状;Obtain at least one symptom of the patient; the at least one symptom includes the symptom obtained in the current round of symptom inquiry;
根据所述至少一个症状获取所述患者对应的科室推荐结果;Obtaining a department recommendation result corresponding to the patient according to the at least one symptom;
获取针对所述科室推荐结果的反馈;Obtain feedback on the recommendation result of the department;
根据所述反馈将本轮症状询问得到的症状确定为目标症状;According to the feedback, determine the symptom obtained in this round of symptom inquiry as the target symptom;
基于所述目标症状进行下一轮症状询问,重复执行多轮症状询问直至向所述患者返回推荐科室。The next round of symptom inquiry is performed based on the target symptom, and multiple rounds of symptom inquiry are repeated until the patient returns to the recommended department.
本申请不仅有利于减少症状询问的轮数,还有利于提高分诊的准确度。This application not only helps reduce the number of rounds of symptom inquiry, but also improves the accuracy of triage.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1为本申请实施例提供的一种网络系统架构的示意图;FIG. 1 is a schematic diagram of a network system architecture provided by an embodiment of this application;
图2为本申请实施例提供的一种智能分诊方法的流程示意图;2 is a schematic flowchart of an intelligent triage method provided by an embodiment of this application;
图3为本申请实施例提供的一种强化学习模型的层级示例图;FIG. 3 is an example diagram of a hierarchy of a reinforcement learning model provided by an embodiment of this application;
图4为本申请实施例提供的一种强化学习模型与环境的交互的示例图;FIG. 4 is an example diagram of interaction between a reinforcement learning model and an environment provided by an embodiment of this application;
图5为本申请实施例提供的另一种智能分诊方法的流程示意图;FIG. 5 is a schematic flowchart of another intelligent triage method provided by an embodiment of the application;
图6为本申请实施例提供的一种智能分诊装置的结构示意图;FIG. 6 is a schematic structural diagram of an intelligent triage device provided by an embodiment of the application;
图7为本申请实施例提供的一种电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the solutions of the application, the technical solutions in the embodiments of the application will be clearly and completely described below in conjunction with the drawings in the embodiments of the application. Obviously, the described embodiments are only These are a part of the embodiments of this application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work should fall within the protection scope of this application.
本申请说明书、权利要求书和附图中出现的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。此外,术语“第一”、“第二”和“第三”等是用于区别不同的对象,而并非用于描述特定的顺序。The terms "including" and "having" appearing in the specification, claims, and drawings of this application and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes unlisted steps or units, or optionally also includes Other steps or units inherent to these processes, methods, products or equipment. In addition, the terms "first", "second", "third", etc. are used to distinguish different objects, but not to describe a specific sequence.
本申请的技术方案可应用于人工智能、数字医疗、智慧城市、区块链和/或大数据技术领域,以提升分诊准确度,实现智慧医疗。The technical solution of this application can be applied to the fields of artificial intelligence, digital medical care, smart city, blockchain and/or big data technology to improve the accuracy of triage and realize smart medical care.
本申请实施例提供一种智能分诊方法,可基于图1所示的网络系统架构实施,请参见图1,该网络系统架构中包括终端和电子设备,终端和电子设备通过有线或无线的网络通信连接,终端为患者使用的终端设备,可以是患者的手机、平板、电脑、个人数字助理(Personal Digital Assistant,PDA)等,也可以是医院设立的用于分诊的智能终端设备,患者通过该终端与电子设备交互,例如:向电子设备提交关于症状方面的描述。电子设备至少包括强化学习模块、分诊模块和通信模块,通信模块集成有数字协议接口,通信模块通过数字协议接口获取患者通过终端输入的信息,在接收到终端提交的信息后,电子设备将有关症状方面的描述整理成结构化的症状信息,强化学习模块经过与患者的多轮交互收集、更新患者的症状信息,分诊模块基于患者的症状信息进行推荐科室的概率预测,强化学习模块可以从分诊模块获得执行科室推荐任务的反馈(reward),基于该反馈的值确定出具有区分度的症状,针对具有区分度的症状优先进行症状询问,直至收集到的信息可以向患者输出最终推荐的科室。电子设备将科室推荐任务从强化学习模块分离出来,由单独负责科室推荐的分诊模块执行,简化了强化学习模块的总体任务,另外,从众多的症状中确定出具有区分 度的症状,在有效减少与患者之间的交互轮数的情况下仍然能够完成精准分诊。The embodiment of the application provides an intelligent triage method, which can be implemented based on the network system architecture shown in FIG. 1. Please refer to FIG. 1. The network system architecture includes terminals and electronic devices. The terminals and electronic devices pass through a wired or wireless network For communication connection, the terminal is the terminal device used by the patient, which can be the patient’s mobile phone, tablet, computer, personal digital assistant (PDA), etc., or the intelligent terminal device set up by the hospital for triage. The patient passes The terminal interacts with the electronic device, for example: submitting a description of the symptoms to the electronic device. The electronic equipment includes at least an enhanced learning module, a triage module, and a communication module. The communication module is integrated with a digital protocol interface. The communication module obtains the information input by the patient through the terminal through the digital protocol interface. After receiving the information submitted by the terminal, the electronic device will The description of symptoms is sorted into structured symptom information. The reinforcement learning module collects and updates the patient’s symptom information after multiple rounds of interaction with the patient. The triage module predicts the probability of recommending departments based on the patient’s symptom information. The reinforcement learning module can The triage module obtains the feedback (reward) for performing the department recommendation task, and based on the value of the feedback, determines the distinguished symptoms, and gives priority to the symptom inquiry for the distinguished symptoms, until the collected information can output the final recommendation to the patient Department. The electronic device separates the department recommendation task from the reinforcement learning module, and is executed by the triage module recommended by the department alone, which simplifies the overall task of the reinforcement learning module. In addition, it is effective to determine the distinguished symptoms from the numerous symptoms. Accurate triage can still be completed while reducing the number of rounds of interaction with the patient.
基于图1所示的网络系统架构,以下结合其他附图对本申请实施例提供的智能分诊方法进行详细阐述。Based on the network system architecture shown in FIG. 1, the intelligent triage method provided by the embodiments of the present application will be described in detail below in conjunction with other drawings.
请参见图2,图2为本申请实施例提供的一种智能分诊方法的流程示意图,该方法应用于电子设备,如图2所示,包括步骤S21-S23:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of an intelligent triage method provided by an embodiment of the application. The method is applied to an electronic device. As shown in FIG. 2, it includes steps S21-S23:
S21,获取患者的至少一个症状;所述至少一个症状包括本轮症状询问得到的症状。S21: Obtain at least one symptom of the patient; the at least one symptom includes the symptom obtained in the current round of symptom inquiry.
本申请具体实施例中,使用了层次强化学习的方法来简化每次决策时的动作空间,如图3所示,将强化学习模型的代理(Agent)设计为三个层级,第一层级会获取历史症状询问得到的历史症状,基于执行历史症状询问任务得到的历史症状判断是继续进行症状询问,还是直接向患者返回推荐科室结束与患者的交互,历史症状询问是指本轮症状询问之前的症状询问,历史症状即已知的该患者的症状,若当前收集到的历史症状还不能较为准确地给出推荐科室,则第二层级从预设的多个症状子集中选择一个目标症状子集,可选的,基于与患者交互得到的症状描述,该目标症状子集是与该症状描述具有一定关联度的症状子集,而不是随意选择的,例如:患者输入的信息指示患者存在症状A,而预设的多个症状子集[x1,x2,…,xn]中,x1、x5、xn-1是与症状A具有一定关联度的症状子集,则从这几个症状子集中选择一个作为目标症状子集。同时,由于预设的多个症状子集中每个症状子集均包括多个症状,因此,第三层级需要从目标症状子集中选择出一个待询问症状。可以理解的,将所有的症状划分为多个症状子集,减少了每个症状子集对应特征空间的大小,另外,从目标症状子集中选择一个待询问症状相应减少了症状询问的总数,使模型在训练时更易收敛。In the specific embodiment of this application, a hierarchical reinforcement learning method is used to simplify the action space at each decision. As shown in Figure 3, the agent of the reinforcement learning model is designed into three levels, and the first level will obtain The historical symptoms obtained by the historical symptom inquiry, based on the historical symptoms obtained by executing the historical symptom inquiry task, determine whether to continue the symptom inquiry or directly return to the recommended department to end the interaction with the patient. The historical symptom inquiry refers to the symptoms before the current symptom inquiry Inquiry, the historical symptoms are the known symptoms of the patient. If the currently collected historical symptoms cannot be more accurately recommended for the department, the second level selects a target symptom subset from the preset multiple symptom subsets. Optionally, based on the symptom description obtained by interacting with the patient, the target symptom subset is a symptom subset that has a certain degree of relevance to the symptom description, rather than arbitrarily selected. For example, the information entered by the patient indicates that the patient has symptom A, Among the preset multiple symptom subsets [x1,x2,...,xn], x1, x5, xn-1 are symptom subsets that have a certain degree of relevance to symptom A, so choose one from these symptom subsets As a subset of target symptoms. At the same time, since each of the preset multiple symptom subsets includes multiple symptoms, the third level needs to select a symptom to be asked from the target symptom subset. It is understandable that dividing all symptoms into multiple symptom subsets reduces the size of the feature space corresponding to each symptom subset. In addition, selecting a symptom to be asked from the target symptom subset reduces the total number of symptom inquiries, so The model is easier to converge during training.
请参见图4,强化学习的环境(Environment)由患者和分诊模型构成,与有监督学习从标签中学习模型的训练方向相比,强化学习是根据与环境交互得到的反馈来训练模型,当强化学习模型在某种状态下做出某个动作时,环境会给出一个反馈以衡量该动作的好坏,在第三层级选择出待询问症状后,强化学习模型以该待询问症状执行本轮症状询问任务对患者进行症状询问,若环境针对本轮症状询问给出的反馈为第三反馈(比如1),则表示患者确实存在待询问症状,本轮症状询问命中了患者的真实症状,即可将待询问症状确定为本轮症状询问得到的症状,由历史症状和本轮症状询问得到的症状组成上述至少一个症状。相反的,若环境针对本轮针状询问给出的反馈为第四反馈(比如-1),则表示患者不存在待询问症状,不执行将所述待询问症状确定为本轮症状询问得到的症状的操作。可选的,本申请中强化学习模型选用的是Actor-Critic模型。Please refer to Figure 4, the environment of reinforcement learning (Environment) is composed of patients and triage models. Compared with the training direction of supervised learning to learn models from tags, reinforcement learning is to train the model based on the feedback obtained from the interaction with the environment. When the reinforcement learning model makes a certain action in a certain state, the environment will give a feedback to measure the quality of the action. After the symptom to be asked is selected at the third level, the reinforcement learning model executes the cost based on the symptom to be asked. The symptom questioning task is to ask the patient about symptoms. If the feedback given by the environment for this round of symptom questioning is the third feedback (such as 1), it means that the patient does have the symptom to be questioned. This round of symptom questioning hits the patient’s true symptoms. That is, the symptom to be asked can be determined as the symptom obtained from the current round of symptom questioning, and at least one of the above symptoms is composed of the historical symptoms and the symptoms obtained from the current round of symptom questioning. On the contrary, if the feedback given by the environment for the current round of needle-shaped inquiry is the fourth feedback (such as -1), it means that the patient does not have the symptom to be asked, and it is not executed to determine the symptom to be asked for the current round of symptom inquiry. Symptom operation. Optionally, the reinforcement learning model used in this application is the Actor-Critic model.
S22,根据所述至少一个症状获取所述患者对应的科室推荐结果。S22: Obtain a department recommendation result corresponding to the patient according to the at least one symptom.
本申请具体实施例中,将科室推荐任务从强化学习任务中分离出来,由独立的采用有监督学习进行训练的分诊模型执行,且将分诊模型加入到环境中,由此就简化了强化学习模型的总体学习任务,使得强化学习模型只需关注是否向患者返回推荐科室,而不需要关注从众多科室中具体返回哪一个推荐科室。如图4中所示,强化学习模型决策出需要向患者返回推荐科室时,只需向分诊模型发出返回推荐科室的信号即可,由分诊模型给出具体推荐的科室。In the specific embodiment of this application, the department recommendation task is separated from the reinforcement learning task and executed by an independent triage model trained by supervised learning, and the triage model is added to the environment, thereby simplifying the reinforcement The overall learning task of the learning model makes the reinforcement learning model only need to pay attention to whether to return the recommended department to the patient, rather than which one of the many departments to return to. As shown in Figure 4, when the reinforcement learning model decides that the patient needs to return to the recommended department, it only needs to send a signal to the triage model to return to the recommended department, and the triage model gives the specific recommended department.
在未向患者返回推荐科室前,分诊模型对每轮症状询问得到的症状以及其之前的已知症状都会输出相应的科室推荐结果。具体的,得到上述至少一个症状后,将其输入预训练的分诊模型进行关键信息的提取,基于提取出的关键信息进行科室的推荐预测,输出科室推荐结果。其中,关键信息可以是“发烧”、“胃痛”等关键描述,也可以是从所述至少一个症状中提取出的关键特征,分诊模型可以是卷积神经网络、长短期记忆网络等等,此处不作限定。Before returning the recommended department to the patient, the triage model will output the corresponding department recommendation results for the symptoms obtained in each round of symptom inquiry and the previous known symptoms. Specifically, after obtaining the above-mentioned at least one symptom, input it into a pre-trained triage model to extract key information, perform department recommendation prediction based on the extracted key information, and output department recommendation results. Among them, the key information can be key descriptions such as "fever" and "stomach pain", or can be a key feature extracted from the at least one symptom. The triage model can be a convolutional neural network, a long short-term memory network, etc., There is no limitation here.
S23,获取针对所述科室推荐结果的反馈。S23: Obtain feedback on the recommendation result of the department.
本申请具体实施例中,所述科室推荐结果包括待推荐科室及所述待推荐科室对应的第一预测概率,所述待推荐科室包括所述患者的实际就诊科室,例如:分诊模型预测出的待推荐科室分别为科室A、科室B、科室C,其对应的概率85%、80%、50%即为第一预测概率,其中,科室A、科室B、科室C中包括患者实际就诊的科室。In a specific embodiment of the present application, the department recommendation result includes the department to be recommended and the first predicted probability corresponding to the department to be recommended, and the department to be recommended includes the patient's actual treatment department, for example: the triage model predicts The departments to be recommended are Department A, Department B, and Department C. The corresponding probabilities are 85%, 80%, and 50% as the first predicted probability. Among them, Department A, Department B, and Department C include the actual patient visits Department.
可选的,上述获取针对所述科室推荐结果的反馈,包括:基于所述实际就诊科室的第一预测概率获取针对所述科室推荐结果的反馈。具体的,首先需要获取患者对应的历史科室推荐结果,所谓历史科室推荐结果即分诊模型在本次推荐预测之前,基于收集到的历史症状(即已知的症状)进行预测得出的科室推荐结果,同样的,历史科室推荐结果中包括历史待推荐科室及历史推荐科室对应的第二预测概率,历史待推荐科室中也包括患者的实际就诊科室,例如:历史待推荐科室分别为科室A、科室B、科室D,其对应的概率72%、85%、60%即为第二预测概率,科室A、科室B、科室D中也包括患者的实际就诊科室。在实际就诊科室的第一预测概率大于实际就诊科室的第二预测概率的情况下,得到针对所述科室推荐结果的第一反馈;在实际就诊科室的第一预测概率小于实际就诊科室的第二预测概率的情况下,得到针对所述科室推荐结果的第二反馈。假设科室A为患者的实际就诊科室,在上述例子中,科室A的第一预测概率明显大于第二预测概率,则环境会返回一个针对科室推荐结果的正数的反馈,即第一反馈。相反,若科室A的第一预测概率小于或等于第二预测概率,则环境会返回一个针对科室推荐结果的负数的反馈,即第二反馈。Optionally, the foregoing obtaining the feedback on the recommendation result of the department includes: obtaining the feedback on the recommendation result of the department based on the first predicted probability of the actual treatment department. Specifically, it is first necessary to obtain the patient's corresponding historical department recommendation results. The so-called historical department recommendation result is the department recommendation that the triage model predicts based on the collected historical symptoms (ie known symptoms) before this recommendation prediction As a result, similarly, the historical department recommendation results include the historical department to be recommended and the second predicted probability corresponding to the historical recommended department, and the historical department to be recommended also includes the patient's actual treatment department. For example, the historical department to be recommended are Department A, For Department B and Department D, the corresponding probabilities of 72%, 85%, and 60% are the second predicted probabilities. Department A, Department B, and Department D also include the patient's actual consultation department. In the case that the first predicted probability of the actual visiting department is greater than the second predicted probability of the actual visiting department, the first feedback for the recommended result of the department is obtained; the first predicted probability of the actual visiting department is less than the second predicted probability of the actual visiting department In the case of predicting the probability, a second feedback for the recommendation result of the department is obtained. Assuming that department A is the patient's actual treatment department, in the above example, the first predicted probability of department A is significantly greater than the second predicted probability, the environment will return a positive feedback for the recommended result of the department, that is, the first feedback. On the contrary, if the first predicted probability of department A is less than or equal to the second predicted probability, the environment will return a negative feedback for the recommended result of the department, that is, the second feedback.
可选的,本申请还可基于排序的方式获取针对所述科室推荐结果的反馈,具体实施中按照第一预测概率对所述待推荐科室进行排序,得到实际就诊科室的第一排序结果,假设科室B为患者的实际就诊科室,按照第一预测概率对科室A、科室B、科室C进行排序,则科室B的第一排序结果在第二位。另外,再获取实际就诊科室的第二排序结果,即预先基于历史待推荐科室的第二预测概率对历史待推荐科室进行排序得到的排序结果,例如:按照第二预测概率对科室A、科室B、科室D进行排序,则科室B的第二排序结果在第一位。在第一排序结果相较于第二排序结果有所上升的情况下,环境同样会返回第一反馈,相反,在第一排序结果相较于第二排序结果有所下降的情况下,环境同样会返回第二反馈。Optionally, the present application may also obtain feedback on the recommended results of the departments based on a sorting method. In specific implementation, the recommended departments are sorted according to the first predicted probability to obtain the first sorting result of the actual treatment departments, assuming Department B is the patient's actual treatment department. Department A, Department B, and Department C are sorted according to the first predicted probability, and the first ranking result of Department B is second. In addition, obtain the second sorting result of the actual visiting department, that is, sorting the historical department to be recommended based on the second predicted probability of the historical department to be recommended, for example: according to the second predicted probability, the department A and department B are sorted. , Department D is sorted, and the second ranking result of department B is in the first place. In the case where the first sorting result has increased compared to the second sorting result, the environment will also return the first feedback. On the contrary, when the first sorting result is lower than the second sorting result, the environment will be the same The second feedback will be returned.
S24,根据所述反馈将本轮症状询问得到的症状确定为目标症状。S24: Determine the symptom obtained in this round of symptom inquiry as the target symptom according to the feedback.
本申请具体实施例中,在环境针对科室推荐结果的反馈为第一反馈的情况下,将本轮症状询问得到的症状确定为目标症状,即在环境针对分诊模型的输出给出的是正数的反馈的情况下,将本轮症状询问得到的症状确定为具有区分度的症状。In the specific embodiment of this application, when the environment's feedback on the department recommendation result is the first feedback, the symptom obtained from the current round of symptom inquiry is determined as the target symptom, that is, the output given by the environment for the triage model is a positive number In the case of feedback, the symptoms obtained in this round of symptom inquiry are determined as distinguishable symptoms.
S25,基于所述目标症状进行下一轮症状询问,重复执行多轮症状询问直至向所述患者返回推荐科室。S25: Perform the next round of symptom inquiry based on the target symptom, and repeat multiple rounds of symptom inquiry until returning to the recommended department to the patient.
本申请具体实施例中,将本轮症状询问得到的症状确定为目标症状后,采用目标症状对历史症状进行更新,即目标症状也将被确定为已知症状或历史症状,然后回到如图4中的起点,判断当前的已知症状是否足够向患者返回推荐科室,若是则向分诊模型给出返回推荐科室的信号,若否则优先以目标症状展开下一轮症状询问,如此重复执行多轮症状询问,直至已知症状足够向患者返回推荐科室。In the specific embodiment of this application, after the symptoms obtained in the current round of symptom inquiry are determined as the target symptom, the target symptom is used to update the historical symptom, that is, the target symptom will also be determined as a known symptom or a historical symptom, and then return to the figure The starting point in 4 is to determine whether the current known symptoms are enough to return to the recommended department for the patient, if so, give a signal to the triage model to return to the recommended department, if otherwise, give priority to the target symptom to start the next round of symptom inquiry, and repeat the same procedure. Round symptom inquiry, until the known symptoms are sufficient to return the patient to the recommended department.
进一步的,所述反馈的计算公式为:Further, the calculation formula of the feedback is:
r s=α 1·symptom_score+α 2·dept_score+α 3·tanh(τ·(Δp)),其中,r s表示计算出的反馈,α 1、α 2和α 3为预设权重,symptom_score表示症状询问中待询问症状是否命中患者实际存在的症状,若是则取值为1,若否则取值为-1,dept_score表示强化学习模型的分诊效果,若推荐科室与患者的实际就诊科室 一致,则取值为1,若不一致则取值为-1,tanh(τ·(Δp))表示每轮症状询问对得到的症状对科室推荐结果的影响,τ表示预设常数,Δp表示每轮症状询问得到新症状后患者被分到的科室在科室推荐结果中的顺序变化。 r s1 ·symptom_score+α 2 ·dept_score+α 3 ·tanh(τ·(Δp)), where r s represents the calculated feedback, α 1 , α 2 and α 3 are preset weights, and symptom_score represents In the symptom inquiry, whether the symptom to be asked hits the actual symptom of the patient. If it is, the value is 1, if it is otherwise, the value is -1. The dept_score represents the triage effect of the reinforcement learning model. The value is 1, if it is inconsistent, the value is -1, tanh(τ·(Δp)) represents the effect of each round of symptom inquiry on the results of the department recommendation, τ represents the preset constant, and Δp represents the symptoms of each round Ask about the changes in the order of the department recommended by the department after the new symptoms are obtained.
可以看出,本申请实施例通过获取患者的至少一个症状;所述至少一个症状包括本轮症状询问得到的症状;根据所述至少一个症状获取所述患者对应的科室推荐结果;获取针对所述科室推荐结果的反馈;根据所述反馈将本轮症状询问得到的症状确定为目标症状;基于所述目标症状进行下一轮症状询问,重复执行多轮症状询问直至向所述患者返回推荐科室。这样基于患者的至少一个症状进行推荐科室的预测得到科室推荐结果,然后根据获取到的针对科室推荐结果的反馈将本轮症状询问得到的症状确定为目标症状,即具有区分度、对科室推荐有帮助的症状,基于目标症状展开下一轮症状询问和分诊预测,不仅有利于减少症状询问的轮数,还有利于提高分诊的准确度。It can be seen that the embodiment of the present application obtains at least one symptom of the patient; the at least one symptom includes the symptom obtained in the current round of symptom inquiry; obtains the department recommendation result corresponding to the patient according to the at least one symptom; obtains Feedback on department recommendation results; determine the symptom obtained in the current round of symptom inquiry as the target symptom according to the feedback; perform the next round of symptom inquiry based on the target symptom, and repeat multiple rounds of symptom inquiry until the patient returns to the recommended department. In this way, the recommended department is predicted based on at least one symptom of the patient to obtain the department recommendation result, and then according to the feedback obtained for the department recommendation result, the symptom obtained in the current round of symptom inquiry is determined as the target symptom, that is, it is distinguishable and recommended to the department. For the symptom of help, the next round of symptom inquiry and triage prediction based on the target symptom will not only help reduce the number of symptom inquiry rounds, but also help improve the accuracy of triage.
在本申请的一个实施方式中,本申请的方案还可以应用到智慧医疗领域,比如通过电子设备与患者之间的多轮交互,基于患者输入的症状相关描述,对患者进行智能分诊,给出患者对应的可就诊科室。由于本申请会根据模型环境给出的反馈从患者众多症状中确定出具有区分度的症状,基于具有区分度的症状进行症状询问和分诊,有利于提高分诊的准确度,不仅可以降低医护人员的人力成本,还提高了患者就诊的效率,使得患者具有更好的就诊体验。In one embodiment of the present application, the solution of the present application can also be applied to the field of smart medical care. For example, through multiple rounds of interaction between electronic devices and patients, based on the symptom-related description input by the patient, the patient is intelligently triaged, Out of the departments that can be consulted by the patient. Since this application will determine the distinguished symptoms from the many symptoms of the patient based on the feedback given by the model environment, the symptom inquiry and triage based on the distinguished symptoms will help improve the accuracy of triage and not only reduce the medical care. The labor cost of personnel also improves the efficiency of patients' medical treatment, so that patients have a better medical experience.
请参见图5,图5本申请实施例提供的另一种智能分诊方法的流程示意图,同样可基于图1所示的网络系统架构实施,如图5所示,包括步骤S51-S56:Please refer to FIG. 5, which is a schematic flow chart of another intelligent triage method provided by the embodiment of the present application, which can also be implemented based on the network system architecture shown in FIG. 1, as shown in FIG. 5, including steps S51-S56:
S51,获取患者的至少一个症状;所述至少一个症状包括本轮症状询问得到的症状;S51: Obtain at least one symptom of the patient; the at least one symptom includes the symptom obtained in the current round of symptom inquiry;
S52,将所述至少一个症状输入预训练的分诊模型进行关键信息的提取;所述分诊模型为独立的有监督学习模型,用于执行科室推荐任务;S52: Input the at least one symptom into a pre-trained triage model to extract key information; the triage model is an independent supervised learning model used to perform department recommendation tasks;
S53,基于提取出的关键信息进行科室的推荐预测,输出科室推荐结果;S53: Perform department recommendation prediction based on the extracted key information, and output department recommendation results;
S54,获取针对所述科室推荐结果的反馈;S54. Obtain feedback on the recommendation result of the department;
S55,根据所述反馈将本轮症状询问得到的症状确定为目标症状;S55: Determine the symptom obtained in this round of symptom inquiry as the target symptom according to the feedback;
S56,基于所述目标症状进行下一轮症状询问,重复执行多轮症状询问直至向所述患者返回推荐科室。S56: Perform the next round of symptom inquiry based on the target symptom, and repeat multiple rounds of symptom inquiry until returning to the recommended department to the patient.
其中,步骤S51-S56的具体实施方式在图2所示的实施例中已有相关说明,且能达到相同或相似的有益效果,为避免重复,此处不再赘述。Among them, the specific implementation of steps S51-S56 has been described in the embodiment shown in FIG. 2 and can achieve the same or similar beneficial effects. In order to avoid repetition, the details are not repeated here.
基于上述智能分诊方法实施例的描述,请参见图6,图6为本申请实施例提供的一种智能分诊装置的结构示意图,如图6所示,该装置包括:Based on the description of the foregoing embodiment of the intelligent triage method, please refer to FIG. 6. FIG. 6 is a schematic structural diagram of an intelligent triage device provided by an embodiment of the application. As shown in FIG. 6, the device includes:
症状获取模块61,用于获取患者的至少一个症状;所述至少一个症状包括本轮症状询问得到的症状;The symptom acquisition module 61 is configured to acquire at least one symptom of the patient; the at least one symptom includes the symptoms obtained in the current round of symptom inquiry;
科室推荐模块62,用于根据所述至少一个症状获取所述患者对应的科室推荐结果;The department recommendation module 62 is configured to obtain a department recommendation result corresponding to the patient according to the at least one symptom;
反馈获取模块63,用于获取针对所述科室推荐结果的反馈;The feedback obtaining module 63 is configured to obtain feedback on the recommendation result of the department;
症状确定模块64,根据所述反馈将本轮症状询问得到的症状确定为目标症状;The symptom determination module 64 determines the symptom obtained in the current round of symptom inquiry as the target symptom according to the feedback;
科室输出模块65,用于基于所述目标症状进行下一轮症状询问,重复执行多轮症状询问直至向所述患者返回推荐科室。The department output module 65 is configured to perform the next round of symptom inquiry based on the target symptom, and repeat multiple rounds of symptom inquiry until returning to the recommended department to the patient.
在一种可能的实施方式中,在根据所述至少一个症状获取所述患者对应的科室推荐结果方面,所述科室推荐模块62具体用于:In a possible implementation manner, in terms of obtaining a department recommendation result corresponding to the patient according to the at least one symptom, the department recommendation module 62 is specifically configured to:
将所述至少一个症状输入预训练的分诊模型进行关键信息的提取;所述分诊模型为独立的有监督学习模型,用于执行科室推荐任务;Inputting the at least one symptom into a pre-trained triage model to extract key information; the triage model is an independent supervised learning model used to perform department recommendation tasks;
基于提取出的关键信息进行科室的推荐预测,输出所述科室推荐结果。Based on the extracted key information, a recommendation prediction of the department is performed, and the recommendation result of the department is output.
在一种可能的实施方式中,所述科室推荐结果包括待推荐科室及所述待推荐科室对应的第一预测概率,所述待推荐科室包括所述患者的实际就诊科室;在获取针对所述科室推荐结果的反馈方面,所述反馈获取模块63具体用于:In a possible implementation manner, the department recommendation result includes the department to be recommended and the first predicted probability corresponding to the department to be recommended, and the department to be recommended includes the actual treatment department of the patient; Regarding the feedback of department recommendation results, the feedback obtaining module 63 is specifically used to:
基于所述实际就诊科室的第一预测概率获取针对所述科室推荐结果的反馈。Obtain feedback on the recommendation result of the department based on the first predicted probability of the actual visiting department.
在一种可能的实施方式中,在基于所述实际就诊科室的第一预测概率获取针对所述科室推荐结果的反馈方面,所述反馈获取模块63具体用于:In a possible implementation manner, in terms of obtaining feedback on the recommendation result of the department based on the first predicted probability of the actual visiting department, the feedback obtaining module 63 is specifically configured to:
获取所述患者对应的历史科室推荐结果;所述历史科室推荐结果包括历史待推荐科室及所述历史待推荐科室对应的第二预测概率,所述历史待推荐科室包括所述实际就诊科室;Obtaining the recommended result of the historical department corresponding to the patient; the recommended result of the historical department includes the historical department to be recommended and the second predicted probability corresponding to the historical department to be recommended, and the historical department to be recommended includes the actual department;
从所述历史科室推荐结果中获取所述实际就诊科室的第二预测概率;Obtaining the second predicted probability of the actual clinic visit from the recommendation result of the historical department;
在所述实际就诊科室的第一预测概率大于所述实际就诊科室的第二预测概率的情况下,得到针对所述科室推荐结果的第一反馈;在所述实际就诊科室的第一预测概率小于等于所述实际就诊科室的第二预测概率的情况下,得到针对所述科室推荐结果的第二反馈;In the case that the first predicted probability of the actual medical department is greater than the second predicted probability of the actual medical department, the first feedback for the recommended result of the department is obtained; the first predicted probability of the actual medical department is less than In the case of being equal to the second predicted probability of the actual treatment department, obtaining a second feedback for the recommendation result of the department;
或者,or,
基于所述待推荐科室的第一预测概率对所述待推荐科室进行排序,得到所述实际就诊科室的第一排序结果;Sorting the departments to be recommended based on the first predicted probability of the departments to be recommended to obtain the first ranking result of the actual visiting departments;
获取所述实际就诊科室的第二排序结果;所述第二排序结果为预先基于所述历史待推荐科室的第二预测概率对所述历史待推荐科室进行排序得到;Acquiring a second sorting result of the actual treatment department; the second sorting result is obtained by sorting the historical department to be recommended based on the second predicted probability of the historical department to be recommended;
在所述第一排序结果相较于所述第二排序结果有所上升的情况下,得到针对所述科室推荐结果的第一反馈;在所述第一排序结果相较于所述第二排序结果有所下降的情况下,得到针对所述科室推荐结果的第二反馈。In the case where the first ranking result is higher than the second ranking result, a first feedback for the department recommendation result is obtained; when the first ranking result is compared with the second ranking result In the case of a decrease in the result, a second feedback for the recommended result of the department is obtained.
在一种可能的实施方式中,在根据所述反馈将本轮症状询问得到的症状确定为目标症状方面,所述症状确定模块64具体用于:In a possible implementation manner, in terms of determining the symptom obtained in the current round of symptom inquiry as the target symptom according to the feedback, the symptom determining module 64 is specifically configured to:
在所述反馈为针对所述科室推荐结果的第一反馈的情况下,将本轮症状询问得到的症状确定为所述目标症状。In the case where the feedback is the first feedback for the recommendation result of the department, the symptom obtained in the current round of symptom inquiry is determined as the target symptom.
在一种可能的实施方式中,在获取患者的至少一个症状方面,所述症状获取模块61具体用于:In a possible implementation manner, in terms of obtaining at least one symptom of the patient, the symptom obtaining module 61 is specifically configured to:
获取历史症状询问得到的历史症状;Get historical symptoms and ask about historical symptoms;
基于所述历史症状判断是否向所述患者返回推荐科室;Judging whether to return to the recommended department to the patient based on the historical symptoms;
若否则从预设的多个症状子集中确定出目标症状子集,以及从所述目标症状子集中确定出待询问症状;If otherwise, the target symptom subset is determined from the preset multiple symptom subsets, and the symptom to be asked is determined from the target symptom subset;
使用所述待询问症状执行本轮症状询问任务,以及在获取到针对本轮症状询问的第三反馈的情况下,将所述待询问症状确定为本轮症状询问得到的症状;所述第三反馈表示所述患者存在所述待询问症状;Use the symptom to be asked to execute the symptom questioning task of the current round, and in the case of obtaining the third feedback for the symptom questioning of the current round, determine the symptom to be questioned as the symptoms obtained from the symptom questioning of the current round; the third The feedback indicates that the patient has the symptom to be asked;
由所述历史症状和本轮症状询问得到的症状组成所述至少一个症状。The at least one symptom is composed of the historical symptoms and the symptoms obtained from the current round of symptom inquiry.
根据本申请的一个实施例,图6所示的智能分诊装置的各个单元可以分别或全部合并为一个或若干个另外的单元来构成,或者其中的某个(些)单元还可以再拆分为功能上更小的多个单元来构成,这可以实现同样的操作,而不影响本申请的实施例的技术效果的实现。上述单元是基于逻辑功能划分的,在实际应用中,一个单元的功能也可以由多个单元来实现,或者多个单元的功能由一个单元实现。在本申请的其它实施例中,基于智能分诊装置也可以包括其它单元,在实际应用中,这些功能也可以由其它单元协助实现,并且可以由多个单元协作实现。According to an embodiment of the present application, the units of the intelligent triage device shown in FIG. 6 can be separately or completely combined into one or several other units to form, or some of the units can also be split. It is composed of multiple units with smaller functions, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In practical applications, the function of one unit can also be realized by multiple units, or the functions of multiple units can be realized by one unit. In other embodiments of the present application, the intelligent triage-based device may also include other units. In practical applications, these functions may also be implemented with the assistance of other units, and may be implemented by multiple units in cooperation.
根据本申请的另一个实施例,可以通过在包括中央处理单元(CPU)、随机存取存储介质(RAM)、只读存储介质(ROM)等处理元件和存储元件的例如计算机的通用计算设备上运行能够执行如图2或图5中所示的相应方法所涉及的各步骤的计算机程序(包括程序代 码),来构造如图6中所示的智能分诊装置设备,以及来实现本申请实施例的智能分诊方法。所述计算机程序可以记载于例如计算机可读记录介质上,并通过计算机可读记录介质装载于上述计算设备中,并在其中运行。According to another embodiment of the present application, a general-purpose computing device such as a computer including a central processing unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM) and other processing elements and storage elements can be used Run a computer program (including program code) that can execute the steps involved in the corresponding method shown in FIG. 2 or FIG. 5 to construct the intelligent triage device as shown in FIG. 6 and to implement the implementation of this application The intelligent triage method of cases. The computer program may be recorded on, for example, a computer-readable recording medium, and loaded into the above-mentioned computing device through the computer-readable recording medium, and run in it.
基于上述方法实施例和装置实施例的描述,本申请实施例还提供一种电子设备。请参见图7,该电子设备至少包括处理器71、输入设备72、输出设备73以及计算机存储介质74。其中,电子设备内的处理器71、输入设备72、输出设备73以及计算机存储介质74可通过总线或其他方式连接。Based on the description of the foregoing method embodiment and device embodiment, an embodiment of the present application also provides an electronic device. Referring to FIG. 7, the electronic device includes at least a processor 71, an input device 72, an output device 73 and a computer storage medium 74. Among them, the processor 71, the input device 72, the output device 73, and the computer storage medium 74 in the electronic device may be connected by a bus or other means.
计算机存储介质74可以存储在电子设备的存储器中,所述计算机存储介质74用于存储计算机程序,所述计算机程序包括程序指令,所述处理器71用于执行所述计算机存储介质74存储的程序指令。处理器71(或称CPU(Central Processing Unit,中央处理器))是电子设备的计算核心以及控制核心,其适于实现一条或多条指令,具体适于加载并执行一条或多条指令从而实现相应方法流程或相应功能。The computer storage medium 74 may be stored in the memory of the electronic device. The computer storage medium 74 is used to store a computer program. The computer program includes program instructions. The processor 71 is used to execute the program stored in the computer storage medium 74. instruction. The processor 71 (or CPU (Central Processing Unit, central processing unit)) is the computing core and control core of an electronic device. It is suitable for implementing one or more instructions, and specifically for loading and executing one or more instructions to achieve Corresponding method flow or corresponding function.
在一个实施例中,本申请实施例提供的电子设备的处理器71可以用于进行一系列智能分诊处理:In an embodiment, the processor 71 of the electronic device provided in the embodiment of the present application may be used to perform a series of intelligent triage processing:
获取患者的至少一个症状;所述至少一个症状包括本轮症状询问得到的症状;Obtain at least one symptom of the patient; the at least one symptom includes the symptom obtained in the current round of symptom inquiry;
根据所述至少一个症状获取所述患者对应的科室推荐结果;Obtaining a department recommendation result corresponding to the patient according to the at least one symptom;
获取针对所述科室推荐结果的反馈;Obtain feedback on the recommendation result of the department;
根据所述反馈将本轮症状询问得到的症状确定为目标症状;According to the feedback, determine the symptom obtained in this round of symptom inquiry as the target symptom;
基于所述目标症状进行下一轮症状询问,重复执行多轮症状询问直至向所述患者返回推荐科室。The next round of symptom inquiry is performed based on the target symptom, and multiple rounds of symptom inquiry are repeated until the patient returns to the recommended department.
再一个实施例中,处理器71执行所述根据所述至少一个症状获取所述患者对应的科室推荐结果,包括:In another embodiment, the execution of the processor 71 to obtain the department recommendation result corresponding to the patient according to the at least one symptom includes:
将所述至少一个症状输入预训练的分诊模型进行关键信息的提取;所述分诊模型为独立的有监督学习模型,用于执行科室推荐任务;Inputting the at least one symptom into a pre-trained triage model to extract key information; the triage model is an independent supervised learning model used to perform department recommendation tasks;
基于提取出的关键信息进行科室的推荐预测,输出所述科室推荐结果。Based on the extracted key information, a recommendation prediction of the department is performed, and the recommendation result of the department is output.
再一个实施例中,所述科室推荐结果包括待推荐科室及所述待推荐科室对应的第一预测概率,所述待推荐科室包括所述患者的实际就诊科室;处理器71执行所述获取针对所述科室推荐结果的反馈,包括:In still another embodiment, the department recommendation result includes the department to be recommended and the first predicted probability corresponding to the department to be recommended, and the department to be recommended includes the patient's actual treatment department; the processor 71 executes the acquisition target The feedback of the recommended results of the department includes:
基于所述实际就诊科室的第一预测概率获取针对所述科室推荐结果的反馈。Obtain feedback on the recommendation result of the department based on the first predicted probability of the actual visiting department.
再一个实施例中,处理器71执行所述基于所述实际就诊科室的第一预测概率获取针对所述科室推荐结果的反馈,包括:In another embodiment, the processor 71 executing the first predicted probability based on the actual department to obtain feedback on the recommendation result of the department includes:
获取所述患者对应的历史科室推荐结果;所述历史科室推荐结果包括历史待推荐科室及所述历史待推荐科室对应的第二预测概率,所述历史待推荐科室包括所述实际就诊科室;Obtaining the recommended result of the historical department corresponding to the patient; the recommended result of the historical department includes the historical department to be recommended and the second predicted probability corresponding to the historical department to be recommended, and the historical department to be recommended includes the actual department;
从所述历史科室推荐结果中获取所述实际就诊科室的第二预测概率;Obtaining the second predicted probability of the actual clinic visit from the recommendation result of the historical department;
在所述实际就诊科室的第一预测概率大于所述实际就诊科室的第二预测概率的情况下,得到针对所述科室推荐结果的第一反馈;在所述实际就诊科室的第一预测概率小于等于所述实际就诊科室的第二预测概率的情况下,得到针对所述科室推荐结果的第二反馈;In the case that the first predicted probability of the actual medical department is greater than the second predicted probability of the actual medical department, the first feedback for the recommended result of the department is obtained; the first predicted probability of the actual medical department is less than In the case of being equal to the second predicted probability of the actual treatment department, obtaining a second feedback for the recommendation result of the department;
或者,or,
基于所述待推荐科室的第一预测概率对所述待推荐科室进行排序,得到所述实际就诊科室的第一排序结果;Sorting the departments to be recommended based on the first predicted probability of the departments to be recommended to obtain the first ranking result of the actual visiting departments;
获取所述实际就诊科室的第二排序结果;所述第二排序结果为预先基于所述历史待推荐科室的第二预测概率对所述历史待推荐科室进行排序得到;Acquiring a second sorting result of the actual treatment department; the second sorting result is obtained by sorting the historical department to be recommended based on the second predicted probability of the historical department to be recommended;
在所述第一排序结果相较于所述第二排序结果有所上升的情况下,得到针对所述科室推荐结果的第一反馈;在所述第一排序结果相较于所述第二排序结果有所下降的情况下, 得到针对所述科室推荐结果的第二反馈。In the case where the first ranking result is higher than the second ranking result, a first feedback for the department recommendation result is obtained; when the first ranking result is compared to the second ranking result In the case that the result has declined, a second feedback for the recommended result of the department is obtained.
再一个实施例中,处理器71执行所述根据所述反馈将本轮症状询问得到的症状确定为目标症状,包括:In another embodiment, the processor 71 executes the determination of the symptom obtained in the current round of symptom inquiry as the target symptom according to the feedback, including:
在所述反馈为针对所述科室推荐结果的第一反馈的情况下,将本轮症状询问得到的症状确定为所述目标症状。In the case where the feedback is the first feedback for the recommendation result of the department, the symptom obtained in the current round of symptom inquiry is determined as the target symptom.
再一个实施例中,处理器71执行所述获取患者的至少一个症状,包括:In still another embodiment, the processor 71 executing the acquiring at least one symptom of the patient includes:
获取历史症状询问得到的历史症状;Get historical symptoms and ask about historical symptoms;
基于所述历史症状判断是否向所述患者返回推荐科室;Judging whether to return to the recommended department to the patient based on the historical symptoms;
若否则从预设的多个症状子集中确定出目标症状子集,以及从所述目标症状子集中确定出待询问症状;If otherwise, the target symptom subset is determined from the preset multiple symptom subsets, and the symptom to be asked is determined from the target symptom subset;
使用所述待询问症状执行本轮症状询问任务,以及在获取到针对本轮症状询问的第三反馈的情况下,将所述待询问症状确定为本轮症状询问得到的症状;所述第三反馈表示所述患者存在所述待询问症状;Use the symptom to be asked to execute the symptom questioning task of the current round, and in the case of obtaining the third feedback for the symptom questioning of the current round, determine the symptom to be questioned as the symptoms obtained from the symptom questioning of the current round; the third The feedback indicates that the patient has the symptom to be asked;
由所述历史症状和本轮症状询问得到的症状组成所述至少一个症状。The at least one symptom is composed of the historical symptoms and the symptoms obtained from the current round of symptom inquiry.
示例性的,上述电子设备可以是服务器、云服务器、计算机主机、服务器集群等,电子设备包括但不仅限于处理器71、输入设备72、输出设备73以及计算机存储介质74。本领域技术人员可以理解,所述示意图仅仅是电子设备的示例,并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件。Exemplarily, the foregoing electronic device may be a server, a cloud server, a computer host, a server cluster, etc. The electronic device includes but is not limited to a processor 71, an input device 72, an output device 73, and a computer storage medium 74. Those skilled in the art can understand that the schematic diagram is only an example of the electronic device, and does not constitute a limitation on the electronic device, and may include more or fewer components than those shown in the figure, or a combination of certain components, or different components.
需要说明的是,由于电子设备的处理器71执行计算机程序时实现上述的智能分诊方法中的步骤,因此上述智能分诊方法的实施例均适用于该电子设备,且均能达到相同或相似的有益效果。It should be noted that, since the processor 71 of the electronic device executes the computer program to implement the steps in the above-mentioned intelligent triage method, the embodiments of the above-mentioned intelligent triage method are all applicable to the electronic device, and can achieve the same or similar The beneficial effects.
本申请实施例还提供了一种计算机存储介质(Memory),所述计算机存储介质是电子设备中的记忆设备,用于存放程序和数据。可以理解的是,此处的计算机存储介质既可以包括终端中的内置存储介质,当然也可以包括终端所支持的扩展存储介质。计算机存储介质提供存储空间,该存储空间存储了终端的操作系统。并且,在该存储空间中还存放了适于被处理器71加载并执行的一条或多条的指令,这些指令可以是一个或一个以上的计算机程序(包括程序代码)。需要说明的是,此处的计算机存储介质可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器;可选的,还可以是至少一个位于远离前述处理器71的计算机存储介质。可选的,本申请涉及的计算机存储介质可以是计算机可读存储介质,该计算机存储介质可以是非易失性的,也可以是易失性的。The embodiment of the present application also provides a computer storage medium (Memory). The computer storage medium is a memory device in an electronic device for storing programs and data. It can be understood that the computer storage medium herein may include a built-in storage medium in the terminal, and of course, may also include an extended storage medium supported by the terminal. The computer storage medium provides storage space, and the storage space stores the operating system of the terminal. Moreover, one or more instructions suitable for being loaded and executed by the processor 71 are also stored in the storage space, and these instructions may be one or more computer programs (including program codes). It should be noted that the computer storage medium here can be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk memory; optionally, it can also be at least one located far away from the aforementioned processing. The computer storage medium of the device 71. Optionally, the computer storage medium involved in this application may be a computer-readable storage medium, and the computer storage medium may be non-volatile or volatile.
在一个实施例中,可由处理器71加载并执行计算机存储介质中存放的一条或多条指令,以实现上述有关智能分诊方法的相应步骤;具体实现中,计算机存储介质中的一条或多条指令由处理器71加载并执行如下步骤:In one embodiment, the processor 71 can load and execute one or more instructions stored in the computer storage medium to implement the corresponding steps of the above-mentioned intelligent triage method; in a specific implementation, one or more instructions in the computer storage medium The instructions are loaded by the processor 71 and execute the following steps:
获取患者的至少一个症状;所述至少一个症状包括本轮症状询问得到的症状;Obtain at least one symptom of the patient; the at least one symptom includes the symptom obtained in the current round of symptom inquiry;
根据所述至少一个症状获取所述患者对应的科室推荐结果;Obtaining a department recommendation result corresponding to the patient according to the at least one symptom;
获取针对所述科室推荐结果的反馈;Obtain feedback on the recommendation result of the department;
根据所述反馈将本轮症状询问得到的症状确定为目标症状;According to the feedback, determine the symptom obtained in this round of symptom inquiry as the target symptom;
基于所述目标症状进行下一轮症状询问,重复执行多轮症状询问直至向所述患者返回推荐科室。The next round of symptom inquiry is performed based on the target symptom, and multiple rounds of symptom inquiry are repeated until the patient returns to the recommended department.
再一种示例中,计算机存储介质中的一条或多条指令由处理器71加载时还执行如下步骤:In another example, when one or more instructions in the computer storage medium are loaded by the processor 71, the following steps are executed:
将所述至少一个症状输入预训练的分诊模型进行关键信息的提取;所述分诊模型为独立的有监督学习模型,用于执行科室推荐任务;Inputting the at least one symptom into a pre-trained triage model to extract key information; the triage model is an independent supervised learning model used to perform department recommendation tasks;
基于提取出的关键信息进行科室的推荐预测,输出所述科室推荐结果。Based on the extracted key information, a recommendation prediction of the department is performed, and the recommendation result of the department is output.
再一种示例中,计算机存储介质中的一条或多条指令由处理器71加载时还执行如下步骤:In another example, when one or more instructions in the computer storage medium are loaded by the processor 71, the following steps are executed:
基于所述实际就诊科室的第一预测概率获取针对所述科室推荐结果的反馈。Obtain feedback on the recommendation result of the department based on the first predicted probability of the actual visiting department.
再一种示例中,计算机存储介质中的一条或多条指令由处理器71加载时还执行如下步骤:In another example, when one or more instructions in the computer storage medium are loaded by the processor 71, the following steps are executed:
获取所述患者对应的历史科室推荐结果;所述历史科室推荐结果包括历史待推荐科室及所述历史待推荐科室对应的第二预测概率,所述历史待推荐科室包括所述实际就诊科室;Obtaining the recommended result of the historical department corresponding to the patient; the recommended result of the historical department includes the historical department to be recommended and the second predicted probability corresponding to the historical department to be recommended, and the historical department to be recommended includes the actual department;
从所述历史科室推荐结果中获取所述实际就诊科室的第二预测概率;Obtaining the second predicted probability of the actual clinic visit from the recommendation result of the historical department;
在所述实际就诊科室的第一预测概率大于所述实际就诊科室的第二预测概率的情况下,得到针对所述科室推荐结果的第一反馈;在所述实际就诊科室的第一预测概率小于等于所述实际就诊科室的第二预测概率的情况下,得到针对所述科室推荐结果的第二反馈;In the case that the first predicted probability of the actual medical department is greater than the second predicted probability of the actual medical department, the first feedback for the recommended result of the department is obtained; the first predicted probability of the actual medical department is less than In the case of being equal to the second predicted probability of the actual treatment department, obtaining a second feedback for the recommendation result of the department;
或者,or,
基于所述待推荐科室的第一预测概率对所述待推荐科室进行排序,得到所述实际就诊科室的第一排序结果;Sorting the departments to be recommended based on the first predicted probability of the departments to be recommended to obtain the first ranking result of the actual visiting departments;
获取所述实际就诊科室的第二排序结果;所述第二排序结果为预先基于所述历史待推荐科室的第二预测概率对所述历史待推荐科室进行排序得到;Acquiring a second sorting result of the actual treatment department; the second sorting result is obtained by sorting the historical department to be recommended based on the second predicted probability of the historical department to be recommended;
在所述第一排序结果相较于所述第二排序结果有所上升的情况下,得到针对所述科室推荐结果的第一反馈;在所述第一排序结果相较于所述第二排序结果有所下降的情况下,得到针对所述科室推荐结果的第二反馈。In the case where the first ranking result is higher than the second ranking result, a first feedback for the department recommendation result is obtained; when the first ranking result is compared with the second ranking result In the case of a decrease in the result, a second feedback for the recommended result of the department is obtained.
再一种示例中,计算机存储介质中的一条或多条指令由处理器71加载时还执行如下步骤:In another example, when one or more instructions in the computer storage medium are loaded by the processor 71, the following steps are executed:
在所述反馈为针对所述科室推荐结果的第一反馈的情况下,将本轮症状询问得到的症状确定为所述目标症状。In the case where the feedback is the first feedback for the recommendation result of the department, the symptom obtained in the current round of symptom inquiry is determined as the target symptom.
再一种示例中,计算机存储介质中的一条或多条指令由处理器71加载时还执行如下步骤:In another example, when one or more instructions in the computer storage medium are loaded by the processor 71, the following steps are executed:
获取历史症状询问得到的历史症状;Get historical symptoms and ask about historical symptoms;
基于所述历史症状判断是否向所述患者返回推荐科室;Judging whether to return to the recommended department to the patient based on the historical symptoms;
若否则从预设的多个症状子集中确定出目标症状子集,以及从所述目标症状子集中确定出待询问症状;If otherwise, the target symptom subset is determined from the preset multiple symptom subsets, and the symptom to be asked is determined from the target symptom subset;
使用所述待询问症状执行本轮症状询问任务,以及在获取到针对本轮症状询问的第三反馈的情况下,将所述待询问症状确定为本轮症状询问得到的症状;所述第三反馈表示所述患者存在所述待询问症状;Use the symptom to be asked to execute the symptom questioning task of the current round, and in the case of obtaining the third feedback for the symptom questioning of the current round, determine the symptom to be questioned as the symptoms obtained from the symptom questioning of the current round; the third The feedback indicates that the patient has the symptom to be asked;
由所述历史症状和本轮症状询问得到的症状组成所述至少一个症状。The at least one symptom is composed of the historical symptoms and the symptoms obtained from the current round of symptom inquiry.
示例性的,计算机存储介质的计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。Exemplarily, the computer program in the computer storage medium includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunications signal, and software distribution media, etc.
需要说明的是,由于计算机存储介质的计算机程序被处理器执行时实现上述的智能分诊方法中的步骤,因此上述智能分诊方法的所有实施例均适用于该计算机存储介质,且均能达到相同或相似的有益效果。It should be noted that, since the computer program of the computer storage medium is executed by the processor to realize the steps in the above-mentioned intelligent triage method, all the embodiments of the above-mentioned intelligent triage method are applicable to the computer storage medium and can achieve The same or similar beneficial effects.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时, 对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the application are described in detail above, and specific examples are used in this article to illustrate the principles and implementation of the application. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the application; at the same time, for Those of ordinary skill in the art, based on the idea of the application, will have changes in the specific implementation and the scope of application. In summary, the content of this specification should not be construed as a limitation to the application.

Claims (20)

  1. 一种智能分诊方法,其中,所述方法包括:An intelligent triage method, wherein the method includes:
    获取患者的至少一个症状;所述至少一个症状包括本轮症状询问得到的症状;Obtain at least one symptom of the patient; the at least one symptom includes the symptom obtained in the current round of symptom inquiry;
    根据所述至少一个症状获取所述患者对应的科室推荐结果;Obtaining a department recommendation result corresponding to the patient according to the at least one symptom;
    获取针对所述科室推荐结果的反馈;Obtain feedback on the recommendation result of the department;
    根据所述反馈将本轮症状询问得到的症状确定为目标症状;According to the feedback, determine the symptom obtained in this round of symptom inquiry as the target symptom;
    基于所述目标症状进行下一轮症状询问,重复执行多轮症状询问直至向所述患者返回推荐科室。The next round of symptom inquiry is performed based on the target symptom, and multiple rounds of symptom inquiry are repeated until the patient returns to the recommended department.
  2. 根据权利要求1所述的方法,其中,所述根据所述至少一个症状获取所述患者对应的科室推荐结果,包括:The method according to claim 1, wherein the obtaining a department recommendation result corresponding to the patient according to the at least one symptom comprises:
    将所述至少一个症状输入预训练的分诊模型进行关键信息的提取;所述分诊模型为独立的有监督学习模型,用于执行科室推荐任务;Inputting the at least one symptom into a pre-trained triage model to extract key information; the triage model is an independent supervised learning model used to perform department recommendation tasks;
    基于提取出的关键信息进行科室的推荐预测,输出所述科室推荐结果。Based on the extracted key information, a recommendation prediction of the department is performed, and the recommendation result of the department is output.
  3. 根据权利要求1或2所述的方法,其中,所述科室推荐结果包括待推荐科室及所述待推荐科室对应的第一预测概率,所述待推荐科室包括所述患者的实际就诊科室;所述获取针对所述科室推荐结果的反馈,包括:The method according to claim 1 or 2, wherein the department recommendation result includes the department to be recommended and the first predicted probability corresponding to the department to be recommended, and the department to be recommended includes the actual department of the patient; The description of obtaining feedback on the recommended results of the department includes:
    基于所述实际就诊科室的第一预测概率获取针对所述科室推荐结果的反馈。Obtain feedback on the recommendation result of the department based on the first predicted probability of the actual visiting department.
  4. 根据权利要求3所述的方法,其中,所述基于所述实际就诊科室的第一预测概率获取针对所述科室推荐结果的反馈,包括:The method according to claim 3, wherein the obtaining feedback on a recommendation result of the department based on the first predicted probability of the actual department visits a doctor comprises:
    获取所述患者对应的历史科室推荐结果;所述历史科室推荐结果包括历史待推荐科室及所述历史待推荐科室对应的第二预测概率,所述历史待推荐科室包括所述实际就诊科室;Obtaining the recommended result of the historical department corresponding to the patient; the recommended result of the historical department includes the historical department to be recommended and the second predicted probability corresponding to the historical department to be recommended, and the historical department to be recommended includes the actual department;
    从所述历史科室推荐结果中获取所述实际就诊科室的第二预测概率;Obtaining the second predicted probability of the actual clinic visit from the recommendation result of the historical department;
    在所述实际就诊科室的第一预测概率大于所述实际就诊科室的第二预测概率的情况下,得到针对所述科室推荐结果的第一反馈;在所述实际就诊科室的第一预测概率小于等于所述实际就诊科室的第二预测概率的情况下,得到针对所述科室推荐结果的第二反馈;In the case that the first predicted probability of the actual medical department is greater than the second predicted probability of the actual medical department, the first feedback for the recommended result of the department is obtained; the first predicted probability of the actual medical department is less than In the case of being equal to the second predicted probability of the actual treatment department, obtaining a second feedback for the recommendation result of the department;
    或者,or,
    基于所述待推荐科室的第一预测概率对所述待推荐科室进行排序,得到所述实际就诊科室的第一排序结果;Sorting the departments to be recommended based on the first predicted probability of the departments to be recommended to obtain the first ranking result of the actual visiting departments;
    获取所述实际就诊科室的第二排序结果;所述第二排序结果为预先基于所述历史待推荐科室的第二预测概率对所述历史待推荐科室进行排序得到;Acquiring a second sorting result of the actual treatment department; the second sorting result is obtained by sorting the historical department to be recommended based on the second predicted probability of the historical department to be recommended;
    在所述第一排序结果相较于所述第二排序结果有所上升的情况下,得到针对所述科室推荐结果的第一反馈;在所述第一排序结果相较于所述第二排序结果有所下降的情况下,得到针对所述科室推荐结果的第二反馈。In the case where the first ranking result is higher than the second ranking result, a first feedback for the department recommendation result is obtained; when the first ranking result is compared with the second ranking result In the case of a decrease in the result, a second feedback for the recommended result of the department is obtained.
  5. 根据权利要求4所述的方法,其中,所述根据所述反馈将本轮症状询问得到的症状确定为目标症状,包括:The method according to claim 4, wherein the determining the symptom obtained in the current round of symptom inquiry as the target symptom according to the feedback comprises:
    在所述反馈为针对所述科室推荐结果的第一反馈的情况下,将本轮症状询问得到的症状确定为所述目标症状。In the case where the feedback is the first feedback for the recommendation result of the department, the symptom obtained in the current round of symptom inquiry is determined as the target symptom.
  6. 根据权利要求1所述的方法,其中,所述获取患者的至少一个症状,包括:The method according to claim 1, wherein said obtaining at least one symptom of the patient comprises:
    获取历史症状询问得到的历史症状;Get historical symptoms and ask about historical symptoms;
    基于所述历史症状判断是否向所述患者返回推荐科室;Judging whether to return to the recommended department to the patient based on the historical symptoms;
    若否则从预设的多个症状子集中确定出目标症状子集,以及从所述目标症状子集中确定出待询问症状;If otherwise, the target symptom subset is determined from the preset multiple symptom subsets, and the symptom to be asked is determined from the target symptom subset;
    使用所述待询问症状执行本轮症状询问任务,以及在获取到针对本轮症状询问的第三 反馈的情况下,将所述待询问症状确定为本轮症状询问得到的症状;所述第三反馈表示所述患者存在所述待询问症状;Use the symptom to be asked to execute the symptom questioning task of the current round, and in the case of obtaining the third feedback for the symptom questioning of the current round, determine the symptom to be questioned as the symptoms obtained from the symptom questioning of the current round; the third The feedback indicates that the patient has the symptom to be asked;
    由所述历史症状和本轮症状询问得到的症状组成所述至少一个症状。The at least one symptom is composed of the historical symptoms and the symptoms obtained from the current round of symptom inquiry.
  7. 一种智能分诊装置,其中,所述装置包括:An intelligent triage device, wherein the device includes:
    症状获取模块,用于获取患者的至少一个症状;所述至少一个症状包括本轮症状询问得到的症状;The symptom acquisition module is used to acquire at least one symptom of the patient; the at least one symptom includes the symptom obtained in the current round of symptom inquiry;
    科室推荐模块,用于根据所述至少一个症状获取所述患者对应的科室推荐结果;The department recommendation module is used to obtain the department recommendation result corresponding to the patient according to the at least one symptom;
    反馈获取模块,用于获取针对所述科室推荐结果的反馈;Feedback acquisition module, used to acquire feedback on the recommendation result of the department;
    症状确定模块,根据所述反馈将本轮症状询问得到的症状确定为目标症状;The symptom determination module determines the symptom obtained in this round of symptom inquiry as the target symptom according to the feedback;
    科室输出模块,用于基于所述目标症状进行下一轮症状询问,重复执行多轮症状询问直至向所述患者返回推荐科室。The department output module is configured to perform the next round of symptom inquiry based on the target symptom, and repeatedly execute multiple rounds of symptom inquiry until returning to the recommended department to the patient.
  8. 根据权利要求7所述的装置,其中,在根据所述至少一个症状获取所述患者对应的科室推荐结果方面,所述科室推荐模块具体用于:8. The device according to claim 7, wherein, in terms of obtaining a department recommendation result corresponding to the patient according to the at least one symptom, the department recommendation module is specifically configured to:
    将所述至少一个症状输入预训练的分诊模型进行关键信息的提取;所述分诊模型为独立的有监督学习模型,用于执行科室推荐任务;Inputting the at least one symptom into a pre-trained triage model to extract key information; the triage model is an independent supervised learning model used to perform department recommendation tasks;
    基于提取出的关键信息进行科室的推荐预测,输出所述科室推荐结果。Based on the extracted key information, a recommendation prediction of the department is performed, and the recommendation result of the department is output.
  9. 一种电子设备,包括输入设备和输出设备,其中,还包括:An electronic device, including an input device and an output device, which also includes:
    处理器,适于实现一条或多条指令;以及,Processor, suitable for implementing one or more instructions; and,
    计算机存储介质,所述计算机存储介质存储有一条或多条指令,所述一条或多条指令适于由所述处理器加载并执行以下方法:A computer storage medium storing one or more instructions, and the one or more instructions are suitable for being loaded by the processor and executing the following methods:
    获取患者的至少一个症状;所述至少一个症状包括本轮症状询问得到的症状;Obtain at least one symptom of the patient; the at least one symptom includes the symptom obtained in the current round of symptom inquiry;
    根据所述至少一个症状获取所述患者对应的科室推荐结果;Obtaining a department recommendation result corresponding to the patient according to the at least one symptom;
    获取针对所述科室推荐结果的反馈;Obtain feedback on the recommendation result of the department;
    根据所述反馈将本轮症状询问得到的症状确定为目标症状;According to the feedback, determine the symptom obtained in this round of symptom inquiry as the target symptom;
    基于所述目标症状进行下一轮症状询问,重复执行多轮症状询问直至向所述患者返回推荐科室。The next round of symptom inquiry is performed based on the target symptom, and multiple rounds of symptom inquiry are repeated until the patient returns to the recommended department.
  10. 根据权利要求9所述的电子设备,其中,所述根据所述至少一个症状获取所述患者对应的科室推荐结果时,具体执行:The electronic device according to claim 9, wherein when the department recommendation result corresponding to the patient is obtained according to the at least one symptom, the following is specifically executed:
    将所述至少一个症状输入预训练的分诊模型进行关键信息的提取;所述分诊模型为独立的有监督学习模型,用于执行科室推荐任务;Inputting the at least one symptom into a pre-trained triage model to extract key information; the triage model is an independent supervised learning model used to perform department recommendation tasks;
    基于提取出的关键信息进行科室的推荐预测,输出所述科室推荐结果。Based on the extracted key information, a recommendation prediction of the department is performed, and the recommendation result of the department is output.
  11. 根据权利要求9或10所述的电子设备,其中,所述科室推荐结果包括待推荐科室及所述待推荐科室对应的第一预测概率,所述待推荐科室包括所述患者的实际就诊科室;所述获取针对所述科室推荐结果的反馈时,具体执行:The electronic device according to claim 9 or 10, wherein the department recommendation result includes the department to be recommended and the first predicted probability corresponding to the department to be recommended, and the department to be recommended includes the actual department of the patient; When the feedback on the recommendation result of the department is obtained, the following is specifically executed:
    基于所述实际就诊科室的第一预测概率获取针对所述科室推荐结果的反馈。Obtain feedback on the recommendation result of the department based on the first predicted probability of the actual visiting department.
  12. 根据权利要求11所述的电子设备,其中,所述基于所述实际就诊科室的第一预测概率获取针对所述科室推荐结果的反馈时,具体执行:The electronic device according to claim 11, wherein, when the feedback on the recommendation result of the department is obtained based on the first predicted probability of the actual treatment department, the following is specifically executed:
    获取所述患者对应的历史科室推荐结果;所述历史科室推荐结果包括历史待推荐科室及所述历史待推荐科室对应的第二预测概率,所述历史待推荐科室包括所述实际就诊科室;Obtaining the recommended result of the historical department corresponding to the patient; the recommended result of the historical department includes the historical department to be recommended and the second predicted probability corresponding to the historical department to be recommended, and the historical department to be recommended includes the actual department;
    从所述历史科室推荐结果中获取所述实际就诊科室的第二预测概率;Obtaining the second predicted probability of the actual clinic visit from the recommendation result of the historical department;
    在所述实际就诊科室的第一预测概率大于所述实际就诊科室的第二预测概率的情况下,得到针对所述科室推荐结果的第一反馈;在所述实际就诊科室的第一预测概率小于等于所述实际就诊科室的第二预测概率的情况下,得到针对所述科室推荐结果的第二反馈;In the case that the first predicted probability of the actual medical department is greater than the second predicted probability of the actual medical department, the first feedback for the recommended result of the department is obtained; the first predicted probability of the actual medical department is less than In the case of being equal to the second predicted probability of the actual treatment department, obtaining a second feedback for the recommendation result of the department;
    或者,or,
    基于所述待推荐科室的第一预测概率对所述待推荐科室进行排序,得到所述实际就诊科室的第一排序结果;Sorting the departments to be recommended based on the first predicted probability of the departments to be recommended to obtain the first ranking result of the actual visiting departments;
    获取所述实际就诊科室的第二排序结果;所述第二排序结果为预先基于所述历史待推荐科室的第二预测概率对所述历史待推荐科室进行排序得到;Acquiring a second sorting result of the actual treatment department; the second sorting result is obtained by sorting the historical department to be recommended based on the second predicted probability of the historical department to be recommended;
    在所述第一排序结果相较于所述第二排序结果有所上升的情况下,得到针对所述科室推荐结果的第一反馈;在所述第一排序结果相较于所述第二排序结果有所下降的情况下,得到针对所述科室推荐结果的第二反馈。In the case where the first ranking result is higher than the second ranking result, a first feedback for the department recommendation result is obtained; when the first ranking result is compared with the second ranking result In the case of a decrease in the result, a second feedback for the recommended result of the department is obtained.
  13. 根据权利要求12所述的电子设备,其中,所述根据所述反馈将本轮症状询问得到的症状确定为目标症状时,具体执行:The electronic device according to claim 12, wherein when the symptom obtained in the current round of symptom inquiry is determined as the target symptom according to the feedback, the following is specifically executed:
    在所述反馈为针对所述科室推荐结果的第一反馈的情况下,将本轮症状询问得到的症状确定为所述目标症状。In the case where the feedback is the first feedback for the recommendation result of the department, the symptom obtained in the current round of symptom inquiry is determined as the target symptom.
  14. 根据权利要求9所述的电子设备,其中,所述获取患者的至少一个症状时,具体执行:The electronic device according to claim 9, wherein when the at least one symptom of the patient is obtained, the following is specifically executed:
    获取历史症状询问得到的历史症状;Get historical symptoms and ask about historical symptoms;
    基于所述历史症状判断是否向所述患者返回推荐科室;Judging whether to return to the recommended department to the patient based on the historical symptoms;
    若否则从预设的多个症状子集中确定出目标症状子集,以及从所述目标症状子集中确定出待询问症状;If otherwise, the target symptom subset is determined from the preset multiple symptom subsets, and the symptom to be asked is determined from the target symptom subset;
    使用所述待询问症状执行本轮症状询问任务,以及在获取到针对本轮症状询问的第三反馈的情况下,将所述待询问症状确定为本轮症状询问得到的症状;所述第三反馈表示所述患者存在所述待询问症状;Use the symptom to be asked to execute the symptom questioning task of the current round, and in the case of obtaining the third feedback for the symptom questioning of the current round, determine the symptom to be questioned as the symptoms obtained from the symptom questioning of the current round; the third The feedback indicates that the patient has the symptom to be asked;
    由所述历史症状和本轮症状询问得到的症状组成所述至少一个症状。The at least one symptom is composed of the historical symptoms and the symptoms obtained from the current round of symptom inquiry.
  15. 一种计算机存储介质,其中,所述计算机存储介质存储有一条或多条指令,所述一条或多条指令适于由处理器加载并执行以下方法:A computer storage medium, wherein the computer storage medium stores one or more instructions, and the one or more instructions are suitable for being loaded by a processor and executing the following methods:
    获取患者的至少一个症状;所述至少一个症状包括本轮症状询问得到的症状;Obtain at least one symptom of the patient; the at least one symptom includes the symptom obtained in the current round of symptom inquiry;
    根据所述至少一个症状获取所述患者对应的科室推荐结果;Obtaining a department recommendation result corresponding to the patient according to the at least one symptom;
    获取针对所述科室推荐结果的反馈;Obtain feedback on the recommendation result of the department;
    根据所述反馈将本轮症状询问得到的症状确定为目标症状;According to the feedback, determine the symptom obtained in this round of symptom inquiry as the target symptom;
    基于所述目标症状进行下一轮症状询问,重复执行多轮症状询问直至向所述患者返回推荐科室。The next round of symptom inquiry is performed based on the target symptom, and multiple rounds of symptom inquiry are repeated until the patient returns to the recommended department.
  16. 根据权利要求15所述的计算机存储介质,其中,所述根据所述至少一个症状获取所述患者对应的科室推荐结果时,具体执行:15. The computer storage medium according to claim 15, wherein when the department recommendation result corresponding to the patient is obtained according to the at least one symptom, the following is specifically executed:
    将所述至少一个症状输入预训练的分诊模型进行关键信息的提取;所述分诊模型为独立的有监督学习模型,用于执行科室推荐任务;Inputting the at least one symptom into a pre-trained triage model to extract key information; the triage model is an independent supervised learning model used to perform department recommendation tasks;
    基于提取出的关键信息进行科室的推荐预测,输出所述科室推荐结果。Based on the extracted key information, a recommendation prediction of the department is performed, and the recommendation result of the department is output.
  17. 根据权利要求15或16所述的计算机存储介质,其中,所述科室推荐结果包括待推荐科室及所述待推荐科室对应的第一预测概率,所述待推荐科室包括所述患者的实际就诊科室;所述获取针对所述科室推荐结果的反馈时,具体执行:The computer storage medium according to claim 15 or 16, wherein the department recommendation result includes the department to be recommended and the first predicted probability corresponding to the department to be recommended, and the department to be recommended includes the actual department of the patient. ; When obtaining the feedback on the recommendation result of the department, specifically execute:
    基于所述实际就诊科室的第一预测概率获取针对所述科室推荐结果的反馈。Obtain feedback on the recommendation result of the department based on the first predicted probability of the actual visiting department.
  18. 根据权利要求17所述的计算机存储介质,其中,所述基于所述实际就诊科室的第一预测概率获取针对所述科室推荐结果的反馈时,具体执行:18. The computer storage medium according to claim 17, wherein, when the feedback on the recommendation result of the department is obtained based on the first predicted probability of the actual treatment department, the following is specifically executed:
    获取所述患者对应的历史科室推荐结果;所述历史科室推荐结果包括历史待推荐科室及所述历史待推荐科室对应的第二预测概率,所述历史待推荐科室包括所述实际就诊科室;Obtaining the recommended result of the historical department corresponding to the patient; the recommended result of the historical department includes the historical department to be recommended and the second predicted probability corresponding to the historical department to be recommended, and the historical department to be recommended includes the actual department;
    从所述历史科室推荐结果中获取所述实际就诊科室的第二预测概率;Obtaining the second predicted probability of the actual clinic visit from the recommendation result of the historical department;
    在所述实际就诊科室的第一预测概率大于所述实际就诊科室的第二预测概率的情况下, 得到针对所述科室推荐结果的第一反馈;在所述实际就诊科室的第一预测概率小于等于所述实际就诊科室的第二预测概率的情况下,得到针对所述科室推荐结果的第二反馈;In the case that the first predicted probability of the actual medical department is greater than the second predicted probability of the actual medical department, a first feedback for the recommended result of the department is obtained; the first predicted probability of the actual medical department is less than In the case of being equal to the second predicted probability of the actual treatment department, obtaining a second feedback for the recommendation result of the department;
    或者,or,
    基于所述待推荐科室的第一预测概率对所述待推荐科室进行排序,得到所述实际就诊科室的第一排序结果;Sorting the departments to be recommended based on the first predicted probability of the departments to be recommended to obtain the first ranking result of the actual visiting departments;
    获取所述实际就诊科室的第二排序结果;所述第二排序结果为预先基于所述历史待推荐科室的第二预测概率对所述历史待推荐科室进行排序得到;Acquiring a second sorting result of the actual treatment department; the second sorting result is obtained by sorting the historical department to be recommended based on the second predicted probability of the historical department to be recommended;
    在所述第一排序结果相较于所述第二排序结果有所上升的情况下,得到针对所述科室推荐结果的第一反馈;在所述第一排序结果相较于所述第二排序结果有所下降的情况下,得到针对所述科室推荐结果的第二反馈。In the case where the first ranking result is higher than the second ranking result, a first feedback for the department recommendation result is obtained; when the first ranking result is compared with the second ranking result In the case of a decrease in the result, a second feedback for the recommended result of the department is obtained.
  19. 根据权利要求18所述的计算机存储介质,其中,所述根据所述反馈将本轮症状询问得到的症状确定为目标症状时,具体执行:18. The computer storage medium according to claim 18, wherein when the symptom obtained from the current round of symptom inquiry is determined as the target symptom according to the feedback, the following is specifically executed:
    在所述反馈为针对所述科室推荐结果的第一反馈的情况下,将本轮症状询问得到的症状确定为所述目标症状。In the case where the feedback is the first feedback for the recommendation result of the department, the symptom obtained in the current round of symptom inquiry is determined as the target symptom.
  20. 根据权利要求15所述的计算机存储介质,其中,所述获取患者的至少一个症状时,具体执行:The computer storage medium according to claim 15, wherein when the at least one symptom of the patient is obtained, the following is specifically executed:
    获取历史症状询问得到的历史症状;Get historical symptoms and ask about historical symptoms;
    基于所述历史症状判断是否向所述患者返回推荐科室;Judging whether to return to the recommended department to the patient based on the historical symptoms;
    若否则从预设的多个症状子集中确定出目标症状子集,以及从所述目标症状子集中确定出待询问症状;If otherwise, the target symptom subset is determined from the preset multiple symptom subsets, and the symptom to be asked is determined from the target symptom subset;
    使用所述待询问症状执行本轮症状询问任务,以及在获取到针对本轮症状询问的第三反馈的情况下,将所述待询问症状确定为本轮症状询问得到的症状;所述第三反馈表示所述患者存在所述待询问症状;Use the symptom to be asked to execute the symptom questioning task of the current round, and in the case of obtaining the third feedback for the symptom questioning of the current round, determine the symptom to be questioned as the symptoms obtained from the symptom questioning of the current round; the third The feedback indicates that the patient has the symptom to be asked;
    由所述历史症状和本轮症状询问得到的症状组成所述至少一个症状。The at least one symptom is composed of the historical symptoms and the symptoms obtained from the current round of symptom inquiry.
PCT/CN2020/124260 2020-09-27 2020-10-28 Smart diagnosis guide method and apparatus, electronic device, and storage medium WO2021179625A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011031139.4 2020-09-27
CN202011031139.4A CN111951943B (en) 2020-09-27 2020-09-27 Intelligent triage method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2021179625A1 true WO2021179625A1 (en) 2021-09-16

Family

ID=73356892

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/124260 WO2021179625A1 (en) 2020-09-27 2020-10-28 Smart diagnosis guide method and apparatus, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN111951943B (en)
WO (1) WO2021179625A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11562829B2 (en) * 2020-10-22 2023-01-24 Zhongyu Wei Task-oriented dialogue system with hierarchical reinforcement learning
CN115662599A (en) * 2022-12-28 2023-01-31 温州医科大学附属第二医院(温州医科大学附属育英儿童医院) Appointment method and appointment device for hospital diagnosis

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112927785A (en) * 2021-02-04 2021-06-08 浙江警官职业学院 Integrated treatment method, device, terminal and storage medium
CN114360137A (en) * 2021-11-30 2022-04-15 浙江朱道模块集成有限公司 Information acquisition automatic guide system for hospital

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104834824A (en) * 2015-05-20 2015-08-12 上海简医信息科技有限公司 Mobile terminal visual hospital guide system and method based on anthropometric dummy
US20160085928A1 (en) * 2014-09-24 2016-03-24 Fujifilm Corporation Medical assistance device, operation method and operation program for medical assistance device, and medical assistance system
CN105912848A (en) * 2016-04-08 2016-08-31 南昌大学 Palm APP based medical service system
CN111477310A (en) * 2020-03-04 2020-07-31 平安国际智慧城市科技股份有限公司 Triage data processing method and device, computer equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160328519A1 (en) * 2015-05-07 2016-11-10 Stephen Cox Systems and Methods for Virtual Triage
CN108922608A (en) * 2018-06-13 2018-11-30 平安医疗科技有限公司 Intelligent hospital guide's method, apparatus, computer equipment and storage medium
US20220068482A1 (en) * 2019-03-01 2022-03-03 Carnegie Mellon University Interactive treatment pathway interface for guiding diagnosis or treatment of a medical condition
CN110047584A (en) * 2019-04-23 2019-07-23 清华大学 Hospital distributing diagnosis method, system, device and medium based on deep learning
CN110428890A (en) * 2019-07-19 2019-11-08 万达信息股份有限公司 A kind of medical treatment hospital guide method and system
CN111370102A (en) * 2020-02-06 2020-07-03 清华大学 Department diagnosis guiding method, device and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160085928A1 (en) * 2014-09-24 2016-03-24 Fujifilm Corporation Medical assistance device, operation method and operation program for medical assistance device, and medical assistance system
CN104834824A (en) * 2015-05-20 2015-08-12 上海简医信息科技有限公司 Mobile terminal visual hospital guide system and method based on anthropometric dummy
CN105912848A (en) * 2016-04-08 2016-08-31 南昌大学 Palm APP based medical service system
CN111477310A (en) * 2020-03-04 2020-07-31 平安国际智慧城市科技股份有限公司 Triage data processing method and device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11562829B2 (en) * 2020-10-22 2023-01-24 Zhongyu Wei Task-oriented dialogue system with hierarchical reinforcement learning
CN115662599A (en) * 2022-12-28 2023-01-31 温州医科大学附属第二医院(温州医科大学附属育英儿童医院) Appointment method and appointment device for hospital diagnosis

Also Published As

Publication number Publication date
CN111951943A (en) 2020-11-17
CN111951943B (en) 2021-01-05

Similar Documents

Publication Publication Date Title
WO2021179625A1 (en) Smart diagnosis guide method and apparatus, electronic device, and storage medium
CN110852438B (en) Model generation method and device
CN110111886A (en) A kind of intelligent interrogation system and method based on XGBoost disease forecasting
CN110111888A (en) A kind of XGBoost disease probability forecasting method, system and storage medium
Pal Chronic kidney disease prediction using machine learning techniques
WO2020228636A1 (en) Training method and apparatus, dialogue processing method and system, and medium
CN111128391A (en) Information processing apparatus, method and storage medium
WO2021114635A1 (en) Patient grouping model constructing method, patient grouping method, and related device
JP7191443B2 (en) Target object attribute prediction method based on machine learning, related equipment and computer program
Xiang et al. Knowledge graph-based clinical decision support system reasoning: a survey
CN112925857A (en) Digital information driven system and method for predicting associations based on predicate type
US20210257067A1 (en) State transition prediction device, and device, method, and program for learning predictive model
CN111785385A (en) Disease classification method, device, equipment and storage medium
WO2021202528A1 (en) Multi-modal neural network architecture search
Yuan et al. Efficient symptom inquiring and diagnosis via adaptive alignment of reinforcement learning and classification
CN112463973A (en) Construction method, device and medium of medical knowledge graph and electronic equipment
US20190221294A1 (en) Time series data processing device, health prediction system including the same, and method for operating the time series data processing device
Liang et al. The treatment of sepsis: an episodic memory-assisted deep reinforcement learning approach
CN116569194A (en) Joint learning
EP3920191A1 (en) Machine learning method and system suitable for prediction of disease onset using multi-variate longitudinal patient data
Li et al. Empowering multi-class medical data classification by Group-of-Single-Class-predictors and transfer optimization: Cases of structured dataset by machine learning and radiological images by deep learning
CN110136839B (en) Symptom information processing method and device and electronic equipment
CN115658877B (en) Medicine recommendation method and device based on reinforcement learning, electronic equipment and medium
CN116631573A (en) Prescription drug auditing method, device, equipment and storage medium
WO2022249407A1 (en) Assessment assistance system, assessment assistance method, and recording medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20924331

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20924331

Country of ref document: EP

Kind code of ref document: A1