Medical data quality inspection method, device, equipment and medium based on artificial intelligence

Through the medical data quality inspection method based on artificial intelligence, the patient consultation and prescription data are integrated and processed, and the pre-trained quality inspection model is used for inspection, which solves the problems of low efficiency and low accuracy of medical data quality inspection in the existing technology, and achieves More efficient and reliable data detection.

CN113724816BActive Publication Date: 2024-10-29SHENZHEN PING AN SMART HEALTHCARE TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111007584.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-30
Publication Date
2024-10-29
Estimated Expiration
2041-08-30

AI Technical Summary

Technical Problem

The existing technology has low efficiency and low accuracy in medical data quality detection, and cannot effectively cycle through the detection of data quality, resulting in inaccurate abnormal data detection.

Method used

Adopting artificial intelligence-based medical data quality inspection methods, by extracting patient consultation data and doctor prescription data, after fusion processing, the fields to be detected are input into the pre-trained quality inspection model, a quality inspection report is generated, and when abnormal data is identified, Iterative detection to improve detection accuracy and efficiency.

Benefits of technology

It improves the accuracy and efficiency of quality testing of medical data, ensures the reliability of diagnosis and treatment data, and avoids medical accidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113724816B_ABST
    Figure CN113724816B_ABST
Patent Text Reader

Abstract

The present application relates to the field of artificial intelligence technology and digital medicine, and provides a medical data quality inspection method based on artificial intelligence, including: extracting patient visit data and doctor prescription data from diagnosis and treatment data, fusing and processing patient visit data and doctor prescription data to obtain target diagnosis and treatment data; extracting multiple fields to be detected from the target diagnosis and treatment data, determining the quality inspection rules for each field to be detected based on the multiple fields to be detected, receiving multiple quality inspection results output by the quality inspection model, and generating a quality inspection report based on the multiple quality inspection results; when abnormal data is identified, reporting it to the client, and performing the next iteration quality inspection on the updated diagnosis and treatment data; when abnormal data is not identified, meeting the preset quality inspection requirements. By reporting abnormal data to the client and supervising the diagnosis and treatment data reported by the client, medical accidents on the client are avoided, and the reliability of the diagnosis and treatment data is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of artificial intelligence technology, and in particular, relates to a medical data quality inspection method, device, equipment and storage medium based on artificial intelligence. Background Art

[0002] With the increase of medical institutions, the national health information platform has been built in most areas, and the medical data and public health data of most medical institutions have been uploaded to the county platform and the city platform. The existing technology uses IT information personnel to write SQL statements to detect whether the data in each field meets various association conditions or meets the data dictionary standards. It is impossible to perform cyclic detection of data quality, and the efficiency of data quality detection by manually writing SQL is low, and the accuracy of quality detection of abnormal data is low.

[0003] Therefore, how to effectively perform quality inspection on medical data and improve the accuracy of abnormal data detection has become a technical problem that needs to be solved urgently. Summary of the invention

[0004] In view of the above, the present invention provides a medical data quality inspection method, device, equipment and storage medium based on artificial intelligence, which aims to solve the technical problem of low accuracy of detection results in the prior art.

[0005] To achieve the above object, the present invention provides a medical data quality inspection method based on artificial intelligence, the method comprising:

[0006] Extracting patient visit data and doctor prescription data from the diagnosis and treatment data, and fusing the patient visit data and the doctor prescription data to obtain target diagnosis and treatment data;

[0007] Extracting a plurality of fields to be detected from the target diagnosis and treatment data, determining a quality detection rule for each field to be detected according to the plurality of fields to be detected, and inputting the plurality of fields to be detected and the quality detection rule for each field to be detected into a pre-trained quality detection model;

[0008] Receiving a plurality of quality inspection results output by the quality inspection model, and generating a quality inspection report according to the plurality of quality inspection results;

[0009] When abnormal data is identified in the quality inspection report, the abnormal data is reported to the client, updated diagnosis and treatment data reported by the client is received, and the next iterative quality inspection is performed on the updated diagnosis and treatment data;

[0010] When no abnormal data is identified in the quality inspection report, it is determined that the quality inspection report meets the preset quality inspection requirement.

[0011] Preferably, the fusion processing of the patient's medical treatment data and the doctor's prescription data to obtain target medical treatment data includes:

[0012] Extracting a plurality of first key fields from the patient's medical consultation data and a plurality of second key fields from the doctor's prescription data;

[0013] Converting the plurality of first key fields into first structured data of a preset type and converting the plurality of second key fields into second structured data of a preset type;

[0014] The association relationship between the first structured data and the second structured data is identified according to a preset identification rule, and the first structured data and the second structured data are connected according to the association relationship to obtain the target diagnosis and treatment data of the client.

[0015] Preferably, the extracting multiple attribute features from the target diagnosis and treatment data includes:

[0016] A deep learning algorithm is used to extract multiple quality detection label words from the target diagnosis and treatment data, whose similarity with the preset quality detection feature words is greater than a preset similarity threshold, and the multiple quality detection label words are used as multiple attribute features.

[0017] Preferably, the step of determining a quality detection rule for each field to be detected based on the multiple fields to be detected includes:

[0018] Parsing the multiple fields to be detected to obtain a data structure of each field to be detected;

[0019] Determine the detection type of each field to be detected according to the data structure of each field to be detected;

[0020] The quality detection rule of each field to be detected is determined according to the detection type of each field to be detected.

[0021] Preferably, the training process of the quality detection model includes:

[0022] Acquire multiple detection fields and quality detection rules for each detection field as a sample data set;

[0023] Dividing the sample data set into a training set and a test set;

[0024] Inputting the training set into a preset neural network for training to obtain a quality detection model;

[0025] Inputting the test set into the quality detection model for testing, and calculating the test pass rate;

[0026] If the test pass rate is greater than the preset pass rate threshold, it is determined that the quality detection model training is completed; if the test pass rate is less than the preset pass rate threshold, the number of training sets is increased and the quality detection model training is re-performed.

[0027] Preferably, generating a quality inspection report according to the multiple quality inspection results includes:

[0028] Test marks identifying each quality test result;

[0029] Extracting quality inspection report characteristic information corresponding to each inspection identifier from each quality inspection result;

[0030] Determine a quality inspection report template according to a plurality of inspection identifiers, and determine a writing position of the quality inspection report characteristic information corresponding to each inspection identifier;

[0031] A quality inspection report is generated according to the quality inspection report characteristic information corresponding to each inspection mark and the writing position of the quality inspection report characteristic information corresponding to each inspection mark.

[0032] Preferably, the method further comprises:

[0033] Calculate the number of iterative quality tests;

[0034] Comparing the number of iteration quality detection times with a preset iteration quality detection threshold;

[0035] When the number of iteration quality detection times is greater than the preset iteration quality detection threshold, sending an alarm message to the client; or

[0036] When the number of iterative quality detection times is less than or equal to the preset iterative quality detection threshold, continue to perform the next iterative quality detection.

[0037] To achieve the above object, the present invention further provides a medical data quality inspection device based on artificial intelligence, the device comprising:

[0038] A fusion module, used for extracting patient visit data and doctor prescription data from the diagnosis and treatment data, and fusing the patient visit data and the doctor prescription data to obtain target diagnosis and treatment data;

[0039] An input module, used to extract a plurality of fields to be detected from the target diagnosis and treatment data, determine a quality detection rule for each field to be detected according to the plurality of fields to be detected, and input the plurality of fields to be detected and the quality detection rule for each field to be detected into a pre-trained quality detection model;

[0040] A generating module, configured to receive a plurality of quality detection results output by the quality detection model, and generate a quality detection report according to the plurality of quality detection results;

[0041] An iteration module, for, when abnormal data is identified in the quality inspection report, reporting the abnormal data to the client, receiving updated diagnosis and treatment data reported by the client, and performing a next iteration quality inspection on the updated diagnosis and treatment data;

[0042] The determination module is used to determine that the quality inspection report meets the preset quality inspection requirement when no abnormal data is identified in the quality inspection report.

[0043] To achieve the above object, the present invention further provides an electronic device, the electronic device comprising:

[0044] at least one processor; and,

[0045] a memory communicatively connected to the at least one processor; wherein,

[0046] The memory stores a program executable by the at least one processor, and the program is executed by the at least one processor so that the at least one processor can execute the artificial intelligence-based medical data quality inspection method.

[0047] To achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, which stores an artificial intelligence-based medical data quality inspection program. When the artificial intelligence-based medical data quality inspection program is executed by a processor, the steps of the artificial intelligence-based medical data quality inspection method are implemented.

[0048] On the one hand, the present application extracts multiple fields to be detected from the target medical data, determines the quality detection rules of each field to be detected according to the multiple fields to be detected, and inputs the multiple fields to be detected and the quality detection rules of each field to be detected into a pre-trained quality detection model, adopts different quality detection rules for different fields to be detected, avoids the phenomenon that all fields to be detected use the same quality detection rules and lead to inaccurate quality detection results, and improves the quality detection accuracy of medical data; on the other hand, when abnormal data is identified in the quality detection report, the abnormal data is promptly reported to the client for abnormal data inspection, and the reported medical data is rooted to obtain updated medical data, and the next iterative quality detection is performed on the updated medical data, and the quality detection efficiency of abnormal data is improved through multiple iterative quality detection; finally, by reporting the abnormal data to the client and supervising the medical data reported by the client, the occurrence of medical accidents on the client is avoided and the reliability of medical data is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0050] Figure 1 A schematic diagram of a preferred embodiment of the electronic device of the present invention;

[0051] Figure 2 for Figure 1 A module diagram of a preferred embodiment of a medical data quality inspection device based on artificial intelligence;

[0052] Figure 3 It is a flow chart of a preferred embodiment of the medical data quality inspection method based on artificial intelligence of the present invention;

[0053] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0055] Reference Figure 1 FIG. 1 is a schematic diagram of a preferred embodiment of an electronic device 1 of the present invention.

[0056] The electronic device 1 includes but is not limited to: a memory 11, a processor 12, a display 13 and a network interface 14. The electronic device 1 is connected to a network through the network interface 14 to obtain raw data. The network may be a wireless or wired network such as an intranet, the Internet, a global system of mobile communication (GSM), a wideband code division multiple access (WCDMA), a 4G network, a 5G network, Bluetooth, a Wi-Fi calling network, etc.

[0057] Among them, the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of the electronic device 1, such as a hard disk or memory of the electronic device 1. In other embodiments, the memory 11 can also be an external storage device of the electronic device 1, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped with the electronic device 1. Of course, the memory 11 can also include both the internal storage unit of the electronic device 1 and its external storage device. In this embodiment, the memory 11 is generally used to store the operating system and various application software installed on the electronic device 1, such as the program code of the medical data quality inspection program 10 based on artificial intelligence. In addition, the memory 11 can also be used to temporarily store various types of data that have been output or are to be output.

[0058] The processor 12 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor 12 is generally used to control the overall operation of the electronic device 1, such as performing control and processing related to data interaction or communication. In this embodiment, the processor 12 is used to run the program code stored in the memory 11 or process data, such as running the program code of the medical data quality inspection program 10 based on artificial intelligence.

[0059] The display 13 may be referred to as a display screen or a display unit. In some embodiments, the display 13 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an organic light-emitting diode (OLED) touch device. The display 13 is used to display information processed in the electronic device 1 and to display a visual working interface, such as displaying the results of data statistics.

[0060] The network interface 14 may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), and the network interface 14 is generally used to establish a communication connection between the electronic device 1 and other electronic devices.

[0061] Figure 1Only an electronic device 1 having components 11 - 14 and an artificial intelligence-based medical data quality inspection program 10 is shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.

[0062] Optionally, the electronic device 1 may further include a target user interface, which may include a display, an input unit such as a keyboard, and an optional target user interface may further include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an organic light-emitting diode (OLED) touch device. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 1 and to display a visualized target user interface.

[0063] The electronic device 1 may further include a radio frequency (RF) circuit, a sensor, an audio circuit, etc., which will not be described in detail here.

[0064] In the above embodiment, the processor 12 can implement the following steps when executing the artificial intelligence-based medical data quality inspection program 10 stored in the memory 11:

[0065] Extracting patient visit data and doctor prescription data from the diagnosis and treatment data, and fusing the patient visit data and the doctor prescription data to obtain target diagnosis and treatment data;

[0066] Extracting a plurality of fields to be detected from the target diagnosis and treatment data, determining a quality detection rule for each field to be detected according to the plurality of fields to be detected, and inputting the plurality of fields to be detected and the quality detection rule for each field to be detected into a pre-trained quality detection model;

[0067] Receiving a plurality of quality inspection results output by the quality inspection model, and generating a quality inspection report according to the plurality of quality inspection results;

[0068] When abnormal data is identified in the quality inspection report, the abnormal data is reported to the client, updated diagnosis and treatment data reported by the client is received, and the next iterative quality inspection is performed on the updated diagnosis and treatment data;

[0069] When no abnormal data is identified in the quality inspection report, it is determined that the quality inspection report meets the preset quality inspection requirement.

[0070] For a detailed description of the above steps, please refer to the following Figure 2Functional module diagram of an embodiment of an artificial intelligence-based medical data quality inspection device 100 and Figure 3 Description of a flowchart of an embodiment of a medical data quality inspection method based on artificial intelligence.

[0071] Reference Figure 2 , which is a functional module diagram of the medical data quality inspection device 100 based on artificial intelligence of the present invention.

[0072] The medical data quality inspection device 100 based on artificial intelligence of the present invention can be installed in an electronic device. According to the functions to be implemented, the medical data quality inspection device 100 based on artificial intelligence can include a fusion module 110, an input module 120, a generation module 130, an iteration module 140 and a determination module 150. The module of the present invention can also be referred to as a unit, which refers to a series of computer program segments that can be executed by a processor of an electronic device and can complete fixed functions, which are stored in the memory of the electronic device.

[0073] In this embodiment, the functions of each module / unit are as follows:

[0074] The fusion module 110 is used to extract the patient's medical treatment data and the doctor's prescription data from the medical treatment data, and fuse the patient's medical treatment data and the doctor's prescription data to obtain target medical treatment data.

[0075] In this embodiment, the quality detection requirement may be preset, and whether to perform the iterative quality detection is determined according to the preset quality detection requirement.

[0076] In this embodiment, when performing quality inspection of medical data, the client reports the diagnosis and treatment data to the server. Specifically, the diagnosis and treatment data include, but are not limited to, various data such as the patient's basic information, appointment registration records, outpatient treatment records, test and inspection records, medication records, hospitalization records, surgery records, blood transfusion records, anesthesia records, etc. The client may be a medical institution, and the medical institution reports the diagnosis and treatment data to the server. The server receives the diagnosis and treatment data reported by the medical institution, and extracts the patient's treatment data and doctor's prescription data from the diagnosis and treatment data.

[0077] In this embodiment, since there is an association relationship between the patient's medical data and the doctor's prescription data, the patient's medical data and the doctor's prescription data are fused to determine the association relationship between the patient's medical data and the doctor's prescription data.

[0078] In other embodiments, the fusion processing of the patient's medical treatment data and the doctor's prescription data to obtain target medical treatment data includes:

[0079] Extracting a plurality of first key fields from the patient's medical consultation data and a plurality of second key fields from the doctor's prescription data;

[0080] Converting the plurality of first key fields into first structured data of a preset type and converting the plurality of second key fields into second structured data of a preset type;

[0081] The association relationship between the first structured data and the second structured data is identified according to a preset identification rule, and the first structured data and the second structured data are connected according to the association relationship to obtain the target diagnosis and treatment data of the client.

[0082] In this embodiment, an identification rule may be preset. For example, the preset identification rule is to determine whether there is an association relationship between the patient's medical consultation data and the doctor's prescription data according to the patient's identification code.

[0083] In this embodiment, the first key fields include key fields of the patient's visit, such as the patient's ID number, mobile phone number, consultation time, and consultation department; the second key fields include key fields in the prescription, such as the drug name and drug dosage in the prescription. The extracted multiple first key fields are converted into first structured data of a preset type, and the multiple second key fields are converted into second structured data of a preset type. The association between the first structured data and the second structured data is identified according to the preset identification rules to obtain the target diagnosis and treatment data of the client.

[0084] The input module 120 is used to extract multiple fields to be detected from the target diagnosis and treatment data, determine the quality detection rules of each field to be detected based on the multiple fields to be detected, and input the multiple fields to be detected and the quality detection rules of each field to be detected into a pre-trained quality detection model.

[0085] In this embodiment, the multiple fields to be detected refer to fields that need to be quality-checked, each field to be detected corresponds to a quality detection rule, and the quality detection model can be pre-trained. After obtaining the multiple fields to be detected and the quality detection rules corresponding to each field to be detected, the multiple fields to be detected and the quality detection rules for each field to be detected are input into the pre-trained quality detection model.

[0086] In other embodiments, the extracting multiple attribute features from the target diagnosis and treatment data includes:

[0087] A deep learning algorithm is used to extract multiple quality detection label words from the target diagnosis and treatment data, whose similarity with the preset quality detection feature words is greater than a preset similarity threshold, and the multiple quality detection label words are used as multiple attribute features.

[0088] In this embodiment, the target diagnosis and treatment data includes multiple quality detection fields, such as drug name, drug dosage, etc. A corresponding quality detection label word can be set in advance for each quality detection field, and a deep learning algorithm is used to extract multiple quality detection fields whose similarity is greater than a preset similarity threshold from the target diagnosis and treatment data, and the quality detection label word corresponding to each quality detection field is obtained. The multiple quality detection label words are used as multiple attribute features, thereby improving the management efficiency of the attribute features of the diagnosis and treatment data.

[0089] In other implementations, determining a quality detection rule for each field to be detected based on the multiple fields to be detected includes:

[0090] Parsing the multiple fields to be detected to obtain a data structure of each field to be detected;

[0091] Determine the detection type of each field to be detected according to the data structure of each field to be detected;

[0092] The quality detection rule of each field to be detected is determined according to the detection type of each field to be detected.

[0093] In this embodiment, each quality detection rule corresponds to a detection type, and identifies the detection type of each field to be detected.

[0094] In this embodiment, each quality detection rule corresponds to a detection type. By parsing each field to be detected, data structures such as the length, characters, numbers or word segmentation of each field to be detected can be obtained. For example, the data structure of the parsed field to be detected is a telephone number structure. According to the telephone number structure, it is determined that the detection type corresponding to the field to be detected is a telephone number detection type. Then, according to the telephone number detection type, it is determined that the quality detection rule of the field to be detected is a telephone number quality detection rule.

[0095] In other implementations, the training process of the quality detection model includes:

[0096] Acquire multiple detection fields and quality detection rules for each detection field as a sample data set;

[0097] Dividing the sample data set into a training set and a test set;

[0098] Inputting the training set into a preset neural network for training to obtain a quality detection model;

[0099] Inputting the test set into the quality detection model for testing, and calculating the test pass rate;

[0100] If the test pass rate is greater than the preset pass rate threshold, it is determined that the quality detection model training is completed; if the test pass rate is less than the preset pass rate threshold, the number of training sets is increased and the quality detection model training is re-performed.

[0101] In this embodiment, different detection fields correspond to different quality detection rules. The multiple fields to be detected and the quality detection rules of each field to be detected are input into a pre-trained quality detection model for detection to obtain multiple quality detection results. In the subsequent training process, the data to be detected each time is used as new data to increase the number of the data sets, and the quality detection model is retrained based on the new data set, and the quality detection model is continuously updated, thereby continuously improving the quality detection accuracy.

[0102] In this embodiment, different quality detection rules are used for different fields to be detected, so as to avoid the phenomenon that the same quality detection rules are used for all fields to be detected, resulting in inaccurate quality detection results, thereby improving the quality detection accuracy of diagnosis and treatment data.

[0103] The generating module 130 is configured to receive a plurality of quality detection results output by the quality detection model, and generate a quality detection report according to the plurality of quality detection results.

[0104] In this embodiment, since each field to be detected corresponds to a quality detection rule, the multiple fields to be detected and the quality detection rules corresponding to each field to be detected are input into the quality detection model to obtain multiple quality detection results, and a quality detection report is generated based on the multiple quality detection results.

[0105] In other implementations, generating a quality inspection report according to the multiple quality inspection results includes:

[0106] Test marks identifying each quality test result;

[0107] Extracting quality inspection report characteristic information corresponding to each inspection identifier from each quality inspection result;

[0108] Determine a quality inspection report template according to a plurality of inspection identifiers, and determine a writing position of the quality inspection report characteristic information corresponding to each inspection identifier;

[0109] A quality inspection report is generated according to the quality inspection report characteristic information corresponding to each inspection mark and the writing position of the quality inspection report characteristic information corresponding to each inspection mark.

[0110] In this embodiment, the detection identifier is used to uniquely identify the identification code of the quality detection result. According to the identification code of each quality detection result, it is possible to determine the feature information required for generating a quality detection report from each quality detection result.

[0111] The iteration module 140 is used to report abnormal data to the client when abnormal data is identified in the quality detection report, receive updated diagnosis and treatment data reported by the client, and perform the next iteration quality detection on the updated diagnosis and treatment data.

[0112] In this embodiment, the abnormal data may be other abnormal data such as an error in the drug name, an error in the drug dosage, or the drug in the prescription does not correspond to the patient's disease. When abnormal data is identified in the quality inspection report, the abnormal data is promptly reported to the client for abnormal data inspection, and the reported diagnosis and treatment data is rooted to obtain updated diagnosis and treatment data, and the next iterative quality inspection is performed on the updated diagnosis and treatment data. The quality inspection efficiency of abnormal data is improved through multiple iterative quality inspections.

[0113] In this embodiment, by performing quality inspection on the diagnosis and treatment data reported by the client and supervising the diagnosis and treatment data of the client according to the quality inspection result, medical accidents on the client are avoided and the reliability of the diagnosis and treatment data is improved.

[0114] The determination module 150 is configured to determine that the quality inspection report meets the preset quality inspection requirement when no abnormal data is identified in the quality inspection report.

[0115] In this embodiment, when all data in the quality inspection report are normal, it is determined that the quality inspection report meets the preset quality inspection requirements.

[0116] In other embodiments, it also includes:

[0117] Calculate the number of iterative quality tests;

[0118] Comparing the number of iteration quality detection times with a preset iteration quality detection threshold;

[0119] When the number of iteration quality detection times is greater than the preset iteration quality detection threshold, sending an alarm message to the client; or

[0120] When the number of iterative quality detection times is less than or equal to the preset iterative quality detection threshold, continue to perform the next iterative quality detection.

[0121] In this embodiment, an iteration quality detection threshold can be set in advance, for example, it can be set to 3 times or 5 times. When the calculated number of iteration quality detection times is greater than the preset iteration quality detection threshold, an alarm message is sent to the client. Specifically, the alarm message includes: abnormal data and other alarm information such as the number of times the abnormal data appears. By sending the alarm message to the client in a timely manner, the client is supervised to update the abnormal data in a timely manner, thereby improving the quality detection efficiency of the abnormal data.

[0122] To summarize, on the one hand, this embodiment extracts multiple fields to be detected from the target medical data, determines the quality detection rules of each field to be detected according to the multiple fields to be detected, and inputs the multiple fields to be detected and the quality detection rules of each field to be detected into a pre-trained quality detection model, adopts different quality detection rules for different fields to be detected, avoids the phenomenon that all fields to be detected use the same quality detection rules resulting in inaccurate quality detection results, and improves the quality detection accuracy of medical data; on the other hand, when abnormal data is identified in the quality detection report, the abnormal data is promptly reported to the client for abnormal data inspection, and the reported medical data is rooted to obtain updated medical data, and the next iterative quality detection is performed on the updated medical data, and the quality detection efficiency of abnormal data is improved through multiple iterative quality detection; finally, by reporting the abnormal data to the client and supervising the medical data reported by the client, the occurrence of medical accidents on the client is avoided and the reliability of the medical data is improved.

[0123] In addition, the present invention also provides a medical data quality inspection method based on artificial intelligence. Figure 3 As shown, it is a method flow diagram of an embodiment of the medical data quality inspection method based on artificial intelligence of the present invention. When the processor 12 of the electronic device 1 executes the medical data quality inspection program 10 based on artificial intelligence stored in the memory 11, the medical data quality inspection method based on artificial intelligence is implemented, including steps S101-S105. Each step is described in detail below.

[0124] S101: extracting patient consultation data and doctor prescription data from the diagnosis and treatment data, and fusing the patient consultation data and the doctor prescription data to obtain target diagnosis and treatment data.

[0125] In this embodiment, the quality detection requirement may be preset, and whether to perform the iterative quality detection is determined according to the preset quality detection requirement.

[0126] In this embodiment, when performing quality inspection of medical data, the client reports the diagnosis and treatment data to the server. Specifically, the diagnosis and treatment data include, but are not limited to, various data such as the patient's basic information, appointment registration records, outpatient treatment records, test and inspection records, medication records, hospitalization records, surgery records, blood transfusion records, anesthesia records, etc. The client may be a medical institution, and the medical institution reports the diagnosis and treatment data to the server. The server receives the diagnosis and treatment data reported by the medical institution, and extracts the patient's treatment data and doctor's prescription data from the diagnosis and treatment data.

[0127] In this embodiment, since there is an association relationship between the patient's medical data and the doctor's prescription data, the patient's medical data and the doctor's prescription data are fused to determine the association relationship between the patient's medical data and the doctor's prescription data.

[0128] In other embodiments, the fusion processing of the patient's medical treatment data and the doctor's prescription data to obtain target medical treatment data includes:

[0129] Extracting a plurality of first key fields from the patient's medical consultation data and a plurality of second key fields from the doctor's prescription data;

[0130] Converting the plurality of first key fields into first structured data of a preset type and converting the plurality of second key fields into second structured data of a preset type;

[0131] The association relationship between the first structured data and the second structured data is identified according to a preset identification rule, and the first structured data and the second structured data are connected according to the association relationship to obtain the target diagnosis and treatment data of the client.

[0132] In this embodiment, an identification rule may be preset. For example, the preset identification rule is to determine whether there is an association relationship between the patient's medical consultation data and the doctor's prescription data according to the patient's identification code.

[0133] In this embodiment, the first key fields include key fields of the patient's visit, such as the patient's ID number, mobile phone number, consultation time, and consultation department; the second key fields include key fields in the prescription, such as the drug name and drug dosage in the prescription. The extracted multiple first key fields are converted into first structured data of a preset type, and the multiple second key fields are converted into second structured data of a preset type. The association between the first structured data and the second structured data is identified according to the preset identification rules to obtain the target diagnosis and treatment data of the client.

[0134] S102: extract multiple fields to be detected from the target diagnosis and treatment data, determine the quality detection rule of each field to be detected according to the multiple fields to be detected, and input the multiple fields to be detected and the quality detection rule of each field to be detected into a pre-trained quality detection model.

[0135] In this embodiment, the multiple fields to be detected refer to fields that need to be quality-checked, each field to be detected corresponds to a quality detection rule, and the quality detection model can be pre-trained. After obtaining the multiple fields to be detected and the quality detection rules corresponding to each field to be detected, the multiple fields to be detected and the quality detection rules for each field to be detected are input into the pre-trained quality detection model.

[0136] In other embodiments, the extracting multiple attribute features from the target diagnosis and treatment data includes:

[0137] A deep learning algorithm is used to extract multiple quality detection label words from the target diagnosis and treatment data, whose similarity with the preset quality detection feature words is greater than a preset similarity threshold, and the multiple quality detection label words are used as multiple attribute features.

[0138] In this embodiment, the target diagnosis and treatment data includes multiple quality detection fields, such as drug name, drug dosage, etc. A corresponding quality detection label word can be set in advance for each quality detection field, and a deep learning algorithm is used to extract multiple quality detection fields whose similarity is greater than a preset similarity threshold from the target diagnosis and treatment data, and the quality detection label word corresponding to each quality detection field is obtained. The multiple quality detection label words are used as multiple attribute features, thereby improving the management efficiency of the attribute features of the diagnosis and treatment data.

[0139] In other implementations, determining a quality detection rule for each field to be detected based on the multiple fields to be detected includes:

[0140] Parsing the multiple fields to be detected to obtain a data structure of each field to be detected;

[0141] Determine the detection type of each field to be detected according to the data structure of each field to be detected;

[0142] The quality detection rule of each field to be detected is determined according to the detection type of each field to be detected.

[0143] In this embodiment, each quality detection rule corresponds to a detection type, and identifies the detection type of each field to be detected.

[0144] In this embodiment, each quality detection rule corresponds to a detection type. By parsing each field to be detected, data structures such as the length, characters, numbers or word segmentation of each field to be detected can be obtained. For example, the data structure of the parsed field to be detected is a telephone number structure. According to the telephone number structure, it is determined that the detection type corresponding to the field to be detected is a telephone number detection type. Then, according to the telephone number detection type, it is determined that the quality detection rule of the field to be detected is a telephone number quality detection rule.

[0145] In other implementations, the training process of the quality detection model includes:

[0146] Acquire multiple detection fields and quality detection rules for each detection field as a sample data set;

[0147] Dividing the sample data set into a training set and a test set;

[0148] Inputting the training set into a preset neural network for training to obtain a quality detection model;

[0149] Inputting the test set into the quality detection model for testing, and calculating the test pass rate;

[0150] If the test pass rate is greater than the preset pass rate threshold, it is determined that the quality detection model training is completed; if the test pass rate is less than the preset pass rate threshold, the number of training sets is increased and the quality detection model training is re-performed.

[0151] In this embodiment, different detection fields correspond to different quality detection rules. The multiple fields to be detected and the quality detection rules of each field to be detected are input into a pre-trained quality detection model for detection to obtain multiple quality detection results. In the subsequent training process, the data to be detected each time is used as new data to increase the number of the data sets, and the quality detection model is retrained based on the new data set, and the quality detection model is continuously updated, thereby continuously improving the quality detection accuracy.

[0152] In this embodiment, different quality detection rules are used for different fields to be detected, so as to avoid the phenomenon that the same quality detection rules are used for all fields to be detected, resulting in inaccurate quality detection results, thereby improving the quality detection accuracy of diagnosis and treatment data.

[0153] S103: Receive multiple quality inspection results output by the quality inspection model, and generate a quality inspection report according to the multiple quality inspection results.

[0154] In this embodiment, since each field to be detected corresponds to a quality detection rule, the multiple fields to be detected and the quality detection rules corresponding to each field to be detected are input into the quality detection model to obtain multiple quality detection results, and a quality detection report is generated based on the multiple quality detection results.

[0155] In other implementations, generating a quality inspection report according to the multiple quality inspection results includes:

[0156] Test marks identifying each quality test result;

[0157] Extracting quality inspection report characteristic information corresponding to each inspection identifier from each quality inspection result;

[0158] Determine a quality inspection report template according to a plurality of inspection identifiers, and determine a writing position of the quality inspection report characteristic information corresponding to each inspection identifier;

[0159] A quality inspection report is generated according to the quality inspection report characteristic information corresponding to each inspection mark and the writing position of the quality inspection report characteristic information corresponding to each inspection mark.

[0160] In this embodiment, the detection identifier is used to uniquely identify the identification code of the quality detection result. According to the identification code of each quality detection result, it is possible to determine the feature information required for generating a quality detection report from each quality detection result.

[0161] S104: When abnormal data is identified in the quality detection report, the abnormal data is reported to the client, updated diagnosis and treatment data reported by the client is received, and the next iterative quality detection is performed on the updated diagnosis and treatment data.

[0162] In this embodiment, the abnormal data may be other abnormal data such as an error in the drug name, an error in the drug dosage, or the drug in the prescription does not correspond to the patient's disease. When abnormal data is identified in the quality inspection report, the abnormal data is promptly reported to the client for abnormal data inspection, and the reported diagnosis and treatment data is rooted to obtain updated diagnosis and treatment data, and the next iterative quality inspection is performed on the updated diagnosis and treatment data. The quality inspection efficiency of abnormal data is improved through multiple iterative quality inspections.

[0163] In this embodiment, by performing quality inspection on the diagnosis and treatment data reported by the client and supervising the diagnosis and treatment data of the client according to the quality inspection result, medical accidents on the client are avoided and the reliability of the diagnosis and treatment data is improved.

[0164] S105: When no abnormal data is identified in the quality inspection report, determining that the quality inspection report meets the preset quality inspection requirement.

[0165] In this embodiment, when all data in the quality inspection report are normal, it is determined that the quality inspection report meets the preset quality inspection requirements.

[0166] In other embodiments, it also includes:

[0167] Calculate the number of iterative quality tests;

[0168] Comparing the number of iteration quality detection times with a preset iteration quality detection threshold;

[0169] When the number of iteration quality detection times is greater than the preset iteration quality detection threshold, sending an alarm message to the client; or

[0170] When the number of iterative quality detection times is less than or equal to the preset iterative quality detection threshold, continue to perform the next iterative quality detection.

[0171] In this embodiment, an iteration quality detection threshold can be set in advance, for example, it can be set to 3 times or 5 times. When the calculated number of iteration quality detection times is greater than the preset iteration quality detection threshold, an alarm message is sent to the client. Specifically, the alarm message includes: abnormal data and other alarm information such as the number of times the abnormal data appears. By sending the alarm message to the client in a timely manner, the client is supervised to update the abnormal data in a timely manner, thereby improving the quality detection efficiency of the abnormal data.

[0172] To summarize, on the one hand, this embodiment extracts multiple fields to be detected from the target medical data, determines the quality detection rules of each field to be detected according to the multiple fields to be detected, and inputs the multiple fields to be detected and the quality detection rules of each field to be detected into a pre-trained quality detection model, adopts different quality detection rules for different fields to be detected, avoids the phenomenon that all fields to be detected use the same quality detection rules resulting in inaccurate quality detection results, and improves the quality detection accuracy of medical data; on the other hand, when abnormal data is identified in the quality detection report, the abnormal data is promptly reported to the client for abnormal data inspection, and the reported medical data is rooted to obtain updated medical data, and the next iterative quality detection is performed on the updated medical data, and the quality detection efficiency of abnormal data is improved through multiple iterative quality detection; finally, by reporting the abnormal data to the client and supervising the medical data reported by the client, the occurrence of medical accidents on the client is avoided and the reliability of the medical data is improved.

[0173] In addition, the embodiment of the present invention further proposes a computer-readable storage medium, which may be any one or any combination of a hard disk, a multimedia card, an SD card, a flash memory card, an SMC, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disk read-only memory (CD-ROM), a USB memory, etc. The computer-readable storage medium includes a data storage area and a program storage area, the data storage area stores data created according to the use of the blockchain node, and the program storage area stores an artificial intelligence-based medical data quality inspection program 10. When the artificial intelligence-based medical data quality inspection program 10 is executed by the processor, the following operations are implemented:

[0174] Extracting patient visit data and doctor prescription data from the diagnosis and treatment data, and fusing the patient visit data and the doctor prescription data to obtain target diagnosis and treatment data;

[0175] Extracting a plurality of fields to be detected from the target diagnosis and treatment data, determining a quality detection rule for each field to be detected according to the plurality of fields to be detected, and inputting the plurality of fields to be detected and the quality detection rule for each field to be detected into a pre-trained quality detection model;

[0176] Receiving a plurality of quality inspection results output by the quality inspection model, and generating a quality inspection report according to the plurality of quality inspection results;

[0177] When abnormal data is identified in the quality inspection report, the abnormal data is reported to the client, updated diagnosis and treatment data reported by the client is received, and the next iterative quality inspection is performed on the updated diagnosis and treatment data;

[0178] When no abnormal data is identified in the quality inspection report, it is determined that the quality inspection report meets the preset quality inspection requirement.

[0179] In another embodiment, the medical data quality inspection method based on artificial intelligence provided by the present invention can further ensure the privacy and security of all the above data, and all the above data can also be stored in a blockchain node. For example, QR codes, identification codes, etc., all of these data can be stored in blockchain nodes.

[0180] It should be noted that the blockchain referred to in the present invention is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the blockchain underlying platform, platform product service layer, and application service layer.

[0181] In addition, the present invention can also be applied to smart healthcare, thereby promoting the construction of smart cities, namely the development of digital healthcare.

[0182] The specific implementation of the computer-readable storage medium of the present invention is roughly the same as the specific implementation of the above-mentioned artificial intelligence-based medical data quality inspection method, and will not be repeated here.

[0183] It should be noted that the serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. And the terms "including", "comprising" or any other variants thereof herein are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "including a ..." does not exclude the existence of other identical elements in the process, device, article or method including the element.

[0184] It should be noted that the above embodiments of the present invention can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0185] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0186] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling an electronic device (which can be a mobile phone, a computer, an electronic device, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0187] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A medical data quality inspection method based on artificial intelligence, characterized in that: The method comprises: Extracting patient visit data and doctor prescription data from the diagnosis and treatment data, and fusing the patient visit data and the doctor prescription data to obtain target diagnosis and treatment data; Extracting multiple fields to be detected from the target diagnosis and treatment data, determining a quality detection rule for each field to be detected based on the multiple fields to be detected, and inputting the multiple fields to be detected and the quality detection rule for each field to be detected into a pre-trained quality detection model; the multiple fields to be detected are fields that need to be quality-detected; Receiving a plurality of quality inspection results output by the quality inspection model, and generating a quality inspection report according to the plurality of quality inspection results; When abnormal data is identified in the quality inspection report, the abnormal data is reported to the client, updated diagnosis and treatment data reported by the client is received, and the next iterative quality inspection is performed on the updated diagnosis and treatment data; When no abnormal data is identified in the quality inspection report, determining that the quality inspection report meets the preset quality inspection requirement; The method further comprises: Calculate the number of iterative quality tests; Comparing the number of iteration quality detection times with a preset iteration quality detection threshold; When the number of iteration quality detections is greater than the preset iteration quality detection threshold, sending an alarm message to the client, the alarm message including abnormal data and the number of times the abnormal data occurs; or When the number of iteration quality detection times is less than or equal to the preset iteration quality detection threshold, continue to perform the next iteration quality detection; The step of determining a quality detection rule for each field to be detected according to the multiple fields to be detected includes: Parsing the multiple fields to be detected to obtain a data structure of each field to be detected; Determine the detection type of each field to be detected according to the data structure of each field to be detected; Determining a quality detection rule for each field to be detected according to the detection type of each field to be detected; Generating a quality inspection report according to the multiple quality inspection results includes: Test marks identifying each quality test result; Extracting quality inspection report characteristic information corresponding to each inspection identifier from each quality inspection result; Determine a quality inspection report template according to a plurality of inspection identifiers, and determine a writing position of the quality inspection report characteristic information corresponding to each inspection identifier; A quality inspection report is generated according to the quality inspection report characteristic information corresponding to each inspection mark and the writing position of the quality inspection report characteristic information corresponding to each inspection mark.

2. The medical data quality inspection method based on artificial intelligence according to claim 1, characterized in that: The fusion processing of the patient's medical treatment data and the doctor's prescription data to obtain target medical treatment data includes: Extracting a plurality of first key fields from the patient's medical consultation data and a plurality of second key fields from the doctor's prescription data; Converting the plurality of first key fields into first structured data of a preset type and converting the plurality of second key fields into second structured data of a preset type; The association relationship between the first structured data and the second structured data is identified according to a preset identification rule, and the first structured data and the second structured data are connected according to the association relationship to obtain the target diagnosis and treatment data of the client.

3. The medical data quality inspection method based on artificial intelligence according to claim 1, characterized in that: The extracting multiple attribute features from the target diagnosis and treatment data includes: A deep learning algorithm is used to extract multiple quality detection label words from the target diagnosis and treatment data, whose similarity with the preset quality detection feature words is greater than a preset similarity threshold, and the multiple quality detection label words are used as multiple attribute features.

4. The medical data quality inspection method based on artificial intelligence according to claim 1, characterized in that: The training process of the quality detection model includes: Acquire multiple detection fields and quality detection rules for each detection field as a sample data set; Dividing the sample data set into a training set and a test set; Inputting the training set into a preset neural network for training to obtain a quality detection model; Inputting the test set into the quality detection model for testing, and calculating the test pass rate; If the test pass rate is greater than the preset pass rate threshold, it is determined that the quality detection model training is completed; if the test pass rate is less than the preset pass rate threshold, the number of training sets is increased and the quality detection model training is re-performed.

5. A medical data quality inspection device based on artificial intelligence, characterized in that: The device comprises: A fusion module, used for extracting patient visit data and doctor prescription data from the diagnosis and treatment data, and fusing the patient visit data and the doctor prescription data to obtain target diagnosis and treatment data; An input module, used to extract multiple fields to be detected from the target diagnosis and treatment data, determine the quality detection rule of each field to be detected according to the multiple fields to be detected, and input the multiple fields to be detected and the quality detection rule of each field to be detected into a pre-trained quality detection model; the multiple fields to be detected are fields that need to be quality-checked; A generating module, configured to receive a plurality of quality detection results output by the quality detection model, and generate a quality detection report according to the plurality of quality detection results; An iteration module, for, when abnormal data is identified in the quality inspection report, reporting the abnormal data to the client, receiving updated diagnosis and treatment data reported by the client, and performing a next iteration quality inspection on the updated diagnosis and treatment data; A determination module, configured to determine that the quality inspection report meets the preset quality inspection requirement when no abnormal data is identified in the quality inspection report; The device is also used for: Calculate the number of iterative quality tests; Comparing the number of iteration quality detection times with a preset iteration quality detection threshold; When the number of iteration quality detections is greater than the preset iteration quality detection threshold, sending an alarm message to the client, the alarm message including abnormal data and the number of times the abnormal data occurs; or When the number of iteration quality detection times is less than or equal to the preset iteration quality detection threshold, continue to perform the next iteration quality detection; Wherein, determining the quality detection rule of each field to be detected according to the multiple fields to be detected includes: parsing the multiple fields to be detected to obtain the data structure of each field to be detected; determining the detection type of each field to be detected according to the data structure of each field to be detected; determining the quality detection rule of each field to be detected according to the detection type of each field to be detected; The method of generating a quality inspection report based on the multiple quality inspection results includes: identifying the inspection identifier of each quality inspection result; extracting quality inspection report characteristic information corresponding to each inspection identifier from each quality inspection result; determining a quality inspection report template based on the multiple inspection identifiers, and determining the writing position of the quality inspection report characteristic information corresponding to each inspection identifier; and generating a quality inspection report based on the quality inspection report characteristic information corresponding to each inspection identifier and the writing position of the quality inspection report characteristic information corresponding to each inspection identifier.

6. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores a program executable by the at least one processor, and the program is executed by the at least one processor so that the at least one processor can execute the artificial intelligence-based medical data quality inspection method as described in any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an artificial intelligence-based medical data quality inspection program, and when the artificial intelligence-based medical data quality inspection program is executed by the processor, the steps of the artificial intelligence-based medical data quality inspection method as described in any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Method and apparatus for generating medical record quality inspection report based on data processing

    CN109543957A

  • Abnormal medical prescription judgment method, device and equipment and readable storage medium

    CN109637615A

  • A to-be-corrected medical data identification method, device and equipment, and a storage medium

    CN112507701A