A clinical diagnosis and treatment data entry method and system

By judging the logical consistency and rationality of clinical diagnosis and treatment data, combined with cluster analysis of historical data and doctor review, the problem of insufficient verification of the logical relationship between drugs and conditions in the existing system is solved, and the accuracy and accuracy of data entry are improved. Security.

CN118522396BActive Publication Date: 2024-10-01济南科汛智能科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410985107.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-10-01
Estimated Expiration
2044-07-23

AI Technical Summary

Technical Problem

The existing clinical diagnosis and treatment data entry system lacks verification of the logical relationship between drugs and conditions during the verification process, resulting in inaccurate drug use and misjudgments of patient conditions and treatment plans.

Method used

By obtaining historical clinical diagnosis and treatment data for preprocessing and cluster analysis, the logical consistency and rationality of the current patient data are judged. If the preset threshold is reached, the data will be entered. Otherwise, the affiliated doctor will review and adjust it to ensure the logical relationship between the drug and the condition. accuracy.

Benefits of technology

It effectively avoids the entry of logically abnormal data, improves the accuracy of data, and reduces misjudgments of disease conditions and treatment plans caused by entry errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118522396B_ABST
    Figure CN118522396B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of clinical research technology, and specifically to a method and system for entering clinical diagnosis and treatment data, which firstly obtains historical clinical diagnosis and treatment data and pre-processes the historical clinical diagnosis and treatment data; judges the logical consistency of the current patient diagnosis and treatment data with the pre-processed historical clinical diagnosis and treatment data; if the logical consistency is greater than a first preset threshold, enters the current patient diagnosis and treatment data; otherwise, judges the logical rationality of the current patient diagnosis and treatment data; if the logical rationality is greater than a second preset threshold, enters the current patient diagnosis and treatment data. The present invention analyzes the current patient diagnosis and treatment data with the historical clinical diagnosis and treatment data, and only allows the diagnosis and treatment data of the current patient diagnosis and treatment data that meet certain requirements in logical consistency and logical rationality to be entered, thereby preventing the diagnosis and treatment data with logical errors from being entered into the hospital information system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of clinical research technology, and in particular to a method and system for entering clinical diagnosis and treatment data. Background Art

[0002] Clinical diagnosis and treatment data refers to a series of information related to patient diagnosis, treatment and management generated in clinical practice. These data include but are not limited to patients' personal information, medical history, physical examination, laboratory test results, imaging test results, treatment plans, treatment effects, follow-up information, etc. The sources of clinical diagnosis and treatment data are diverse, and can be paper records, electronic medical record systems, medical equipment, laboratory information systems, etc. With the development of information technology, more and more clinical diagnosis and treatment data exist in electronic form, forming the so-called electronic health records (EHR) or electronic medical records (EMR).

[0003] Clinical diagnosis and treatment data entry refers to medical staff entering the patient's medical information into the hospital's electronic medical record system in electronic form. The electronic medical record system needs to have a data verification function, and needs to check the accuracy and completeness of the patient's medical information during the entry process to reduce errors and improve data quality. Existing data verification strategies include format verification, required field verification, logical verification, etc., the purpose is to ensure that the entered data meets the predetermined standards and formats. However, inaccurate use of medical terms filled in by medical staff in electronic medical records can lead to incorrect judgments about the patient's condition and treatment plan. When performing logical verification, existing methods usually only analyze whether the use of medical terms in electronic medical records is accurate, without analyzing the logical relationship between the drugs used by doctors in electronic medical records and the condition. If the use of drugs is inaccurate, it will lead to incorrect judgments about the patient's condition and treatment plan. Summary of the invention

[0004] In order to solve the technical problem that when clinical diagnosis and treatment data is entered into the hospital information system, due to inaccurate and non-standard filling of clinical diagnosis and treatment data and lack of logical relationship verification between drugs and conditions, the patient's condition and treatment plan are incorrectly judged, the purpose of the present invention is to provide a clinical diagnosis and treatment data entry method and system, and the technical scheme adopted is as follows:

[0005] In the first aspect, the present invention is a method for entering clinical diagnosis and treatment data, which includes: acquiring historical clinical diagnosis and treatment data, and preprocessing the historical clinical diagnosis and treatment data; judging the logical consistency between the current patient diagnosis and treatment data and the preprocessed historical clinical diagnosis and treatment data; if the logical consistency is greater than a first preset threshold, entering the current patient diagnosis and treatment data; otherwise, judging the logical rationality of the current patient diagnosis and treatment data; if the logical rationality is greater than a second preset threshold, entering the current patient diagnosis and treatment data.

[0006] Before entering the current patient's medical data, the present invention first determines the logical consistency of the current patient's medical data. If the logical consistency is greater than a first preset threshold, the data is allowed to be entered. If the logical consistency does not meet the standard, the logical rationality of the current patient's medical data is determined. If the logical consistency is greater than a second preset threshold, the data is allowed to be entered. The present invention judges the logical consistency and logical rationality before the medical data is entered into the hospital information system. Only medical data that conforms to logic is allowed to be entered into the hospital information system, thereby improving the accuracy of the entered data, reducing the erroneous judgment of the patient's condition and treatment plan caused by the inaccuracy of the entered medical data, and avoiding the medical data with logical errors from being entered into the hospital information system.

[0007] Furthermore, the historical clinical diagnosis and treatment data are preprocessed, including: based on the M diagnosis and treatment department categories of the hospital, cluster analysis is performed on the historical clinical diagnosis and treatment data to obtain M large clusters, where M is a positive integer.

[0008] Further, the logical consistency between the current patient diagnosis and treatment data and the pre-processed historical clinical diagnosis and treatment data is determined, specifically including: clustering the historical clinical diagnosis and treatment data in the mth cluster based on the symptom similarity between the historical clinical diagnosis and treatment data in the mth large cluster to obtain N small clusters; N is a positive integer; ; Traverse M large clusters to obtain M×N small clusters; determine the large cluster corresponding to the current patient's diagnosis and treatment data based on the diagnosis and treatment department where the current patient's diagnosis and treatment data is located; based on the symptom similarity between the current patient's diagnosis and treatment data and the historical clinical diagnosis and treatment data of all small clusters in the large cluster where the current patient's diagnosis and treatment data is located, obtain the logical consistency between the current patient's diagnosis and treatment data and the pre-processed historical clinical diagnosis and treatment data.

[0009] Furthermore, based on the symptom similarity between the current patient's diagnosis and treatment data and the historical clinical diagnosis and treatment data of all small clusters in the large cluster where the current patient's diagnosis and treatment data is located, the logical consistency between the current patient's diagnosis and treatment data and the pre-processed historical clinical diagnosis and treatment data is obtained, including: based on the symptom similarity between the current patient's diagnosis and treatment data and the historical clinical diagnosis and treatment data of all small clusters in the large cluster where the current patient's diagnosis and treatment data is located, determining the nth small cluster with the most similar symptoms to the current patient's diagnosis and treatment data, and based on the drug similarity between the treatment drugs of the current patient's diagnosis and treatment data and the treatment drugs of all historical clinical diagnosis and treatment data in the nth small cluster, obtaining the logical consistency between the current patient's diagnosis and treatment data and the pre-processed historical clinical diagnosis and treatment data; wherein, .

[0010] Furthermore, judging the logical rationality of the current patient's diagnosis and treatment data specifically includes: obtaining all historical clinical diagnosis and treatment data of the doctor to which the current patient belongs from the pre-processed historical clinical diagnosis and treatment data; analyzing the symptom similarity between the current patient's diagnosis and treatment data and all historical clinical diagnosis and treatment data of the doctor to which the current patient belongs, and using the historical clinical diagnosis and treatment data with symptom similarity greater than a third threshold as comparison clinical diagnosis and treatment data; analyzing the drug similarity between the treatment drugs of the current patient's diagnosis and treatment data and the treatment drugs of the comparison clinical diagnosis and treatment data, to obtain the logical rationality of the current patient's diagnosis and treatment data.

[0011] The drug similarity includes: drug composition, drug quantity and drug occurrence times.

[0012] Furthermore, after preprocessing the historical clinical treatment data, it also includes: performing word segmentation processing on all historical clinical treatment data to obtain a word segmentation sequence for each historical clinical treatment data; performing word segmentation processing on the current patient treatment data to obtain a word segmentation sequence for the current patient treatment data; and judging symptom similarity or drug similarity based on the text similarity between the word segmentation sequence of each historical clinical treatment data and the word segmentation sequence of the current patient treatment data.

[0013] Furthermore, before cluster analysis is performed on the historical clinical diagnosis and treatment data, a rationality check is performed on the historical clinical diagnosis and treatment data.

[0014] Furthermore, if the logical rationality is not greater than a second preset threshold, the doctor of the current patient will review the diagnosis and treatment data of the current patient; and re-judge the logical consistency or logical rationality based on the reviewed diagnosis and treatment data of the current patient.

[0015] In the second aspect, the present invention is a clinical diagnosis and treatment data entry system, which includes: a data acquisition module for acquiring historical clinical diagnosis and treatment data; a data preprocessing module for preprocessing the historical clinical diagnosis and treatment data; an analysis and judgment module for judging the logical consistency between the current patient diagnosis and treatment data and the preprocessed historical clinical diagnosis and treatment data; if the logical consistency is greater than a first preset threshold, the current patient diagnosis and treatment data is entered; otherwise, the logical rationality of the current patient diagnosis and treatment data is judged; if the logical rationality is greater than a second preset threshold, the current patient diagnosis and treatment data is entered; a return module, if the logical rationality is not greater than the second preset threshold, the current patient's diagnosis and treatment data is reviewed by the doctor to whom the current patient belongs; and the logical consistency or logical rationality is re-judged based on the reviewed current patient diagnosis and treatment data.

[0016] The present invention has the following beneficial effects:

[0017] The present invention analyzes the current patient diagnosis and treatment data and the historical clinical diagnosis and treatment data, and allows only the diagnosis and treatment data that meet certain requirements for logical consistency and logical rationality to be entered into the hospital information system, effectively preventing the clinical diagnosis and treatment data with abnormal logic from being entered into the hospital information system. The input data logic is reasonable and accurate, avoiding the wrong judgment of the patient's condition and treatment plan caused by the diagnosis and treatment data entry, and avoiding the diagnosis and treatment data with incorrect logic from being entered into the hospital information system.

[0018] The present invention performs logical verification on clinical diagnosis and treatment data in accordance with the existing methods, which usually only analyzes whether the medical terms used in the electronic medical record are accurate, but does not analyze the logical relationship between the drugs used by doctors in the electronic medical record and the condition. If the drugs are used inaccurately, it will lead to the problem of making wrong judgments on the patient's condition and treatment plan. The logical consistency of the current patient's diagnosis and treatment data is preliminarily judged by calculating the logical consistency of the current patient's diagnosis and treatment data and the historical clinical diagnosis and treatment data of similar symptoms. Then, the logical rationality of the current patient's diagnosis and treatment data is finally judged by combining the historical clinical diagnosis and treatment data of the current patient's doctor under similar symptoms and the treatment style deviation of the current patient's diagnosis and treatment data. This can effectively prevent the logically abnormal clinical patient diagnosis and treatment data from being entered into the hospital information system. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0020] Figure 1 A flow chart of a method for entering clinical diagnosis and treatment data provided by one embodiment of the present invention;

[0021] Figure 2 A schematic diagram of a clinical diagnosis and treatment data entry system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0022] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of a clinical diagnosis and treatment data entry method and system proposed according to the present invention, its specific implementation method, structure, features and effects, in conjunction with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0023] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0024] The following is a detailed description of a clinical diagnosis and treatment data entry method and system provided by the present invention in conjunction with the accompanying drawings.

[0025] Clinical diagnosis and treatment data entry refers to medical personnel entering the patient's medical information into the hospital's electronic medical record system in electronic form. The electronic medical record system needs to have a data verification function, and needs to check the accuracy and completeness of the patient's medical information during the entry process, so as to reduce errors and improve data quality. The embodiment of the present invention analyzes the logical rationality of clinical diagnosis and treatment data during the clinical diagnosis and treatment data entry process to prevent logically incorrect clinical diagnosis and treatment data from being entered into the hospital information system.

[0026] See also Figure 1 , which shows a flow chart of a clinical diagnosis and treatment data entry method provided by an embodiment of the present invention, specifically including: acquiring historical clinical diagnosis and treatment data, and preprocessing the historical clinical diagnosis and treatment data; judging the logical consistency between the current patient diagnosis and treatment data and the preprocessed historical clinical diagnosis and treatment data; if the logical consistency is greater than a first preset threshold, entering the current patient diagnosis and treatment data; otherwise, judging the logical rationality of the current patient diagnosis and treatment data; if the logical rationality is greater than a second preset threshold, entering the current patient diagnosis and treatment data.

[0027] Before entering the current patient's medical data, the embodiment of the present invention first determines the logical consistency of the current patient's medical data. If the logical consistency is greater than a first preset threshold, the data entry is allowed. If the logical consistency does not meet the standard, the logical rationality of the current patient's medical data is determined. If the logical consistency is greater than a second preset threshold, the data entry is allowed. The present invention improves the accuracy of the entered data by judging the logical consistency and logical rationality before the medical data is entered into the hospital information system. Only medical data that conforms to logic is allowed to be entered into the hospital information system, thereby reducing the erroneous judgment of the patient's condition and treatment plan caused by the inaccuracy of the entered medical data, and avoiding medical data with logical errors from being entered into the hospital information system. In actual application scenarios, the first preset threshold and the second preset threshold can be set accordingly according to the requirements of data entry or some unspecified particularities of the symptom data. The first preset threshold and the second preset threshold can be the same or different.

[0028] In a possible embodiment, if the logical rationality is not greater than the second preset threshold, the data is refused to be entered into the hospital information system, indicating that there are logical errors in the current patient's diagnosis and treatment data, such as errors in the logical relationship between the drugs used by the doctor and the condition. The data is returned to the doctor of the current patient to review the current patient's diagnosis and treatment data again. The logical consistency or logical rationality is re-judged based on the reviewed current patient's diagnosis and treatment data, and it is not allowed to be entered into the hospital information system until the requirements of logical consistency or logical rationality are met, so as to ensure that the logic between the drugs used by the doctor and the condition is correct, and avoid making wrong judgments about the patient's condition and treatment plan.

[0029] The doctor's historical clinical diagnosis and treatment data on the patient is obtained through the hospital information system, mainly in the form of electronic medical records. The historical clinical diagnosis and treatment data has been tested for rationality (the rationality test here can be understood as determined by the method of the embodiment of the present invention, or it can be determined by manual verification. In short, the historical clinical diagnosis and treatment data here are uniformly regarded as reasonable), so the historical clinical diagnosis and treatment data are all reasonable. For the current patient diagnosis and treatment data uploaded by the current doctor, the traditional existing methods such as format verification and required field verification are first used to perform a primary inspection on the eligibility of the clinical diagnosis and treatment data. After passing the test, subsequent operations will be carried out. If it fails, it will be returned to the corresponding doctor for re-filling.

[0030] Before making a judgment on logical consistency or logical rationality, the embodiment of the present invention must first pre-process the historical clinical diagnosis and treatment data. The specific method is: based on the M diagnosis and treatment department categories of the hospital, the historical clinical diagnosis and treatment data are clustered and analyzed to obtain M large clusters, where M is a positive integer. That is, according to the diagnosis and treatment department categories of the hospital, the historical clinical diagnosis and treatment data are clustered and analyzed. The historical clinical diagnosis and treatment data are clustered according to the diagnosis and treatment departments of the hospital, and the diagnosis and treatment data of the same diagnosis and treatment department are placed in one cluster. In subsequent analysis, the logical consistency of each patient's diagnosis and treatment data is analyzed by cluster. Assuming there are M diagnosis and treatment departments in total, there are M large clusters in total.

[0031] In a possible embodiment, after preprocessing the historical clinical treatment data, it also includes: performing word segmentation processing on all historical clinical treatment data to obtain a word segmentation sequence for each historical clinical treatment data; performing word segmentation processing on the current patient treatment data to obtain a word segmentation sequence for the current patient treatment data; and judging symptom similarity or drug similarity based on the text similarity between the word segmentation sequence of each historical clinical treatment data and the word segmentation sequence of the current patient treatment data.

[0032] The logical consistency of the clinical diagnosis and treatment data of the current patient and the historical diagnosis and treatment data is calculated. The clinical diagnosis and treatment data of the current patient and the diagnosis and treatment data of the current patient in the embodiment of the present invention are different expressions of the same meaning.

[0033] In a possible embodiment, determining the logical consistency between the current patient diagnosis and treatment data and the preprocessed historical clinical diagnosis and treatment data specifically includes: clustering the historical clinical diagnosis and treatment data in the mth cluster based on the symptom similarity between the historical clinical diagnosis and treatment data in the mth large cluster to obtain N small clusters; N is a positive integer; ; Traverse the M large clusters of all diagnosis and treatment departments to obtain a total of M×N small clusters. According to the diagnosis and treatment department where the current patient's diagnosis and treatment data is located, determine the large cluster corresponding to the current patient's diagnosis and treatment data; According to the symptom similarity between the current patient's diagnosis and treatment data and the historical clinical diagnosis and treatment data of all small clusters in the large cluster where it is located, determine the clustered small cluster with the most similar symptoms to the current patient's diagnosis and treatment data, that is, the nth small cluster, and then according to the drug similarity between the treatment drugs of the current patient's diagnosis and treatment data and the treatment drugs of all historical clinical diagnosis and treatment data in the nth small cluster, obtain the logical consistency of the current patient's diagnosis and treatment data with the pre-processed historical clinical diagnosis and treatment data; Among them, .

[0034] Among them, drug similarity can be judged based on factors such as drug composition, drug quantity, and number of drug occurrences.

[0035] More specifically, for each large cluster, first cluster the clinical diagnosis and treatment data with similar symptoms in each large cluster according to the text data of the symptom column in the historical clinical diagnosis and treatment data. Put the diagnosis and treatment data with similar symptoms together. For the mth large cluster, first use the JieBa word segmentation tool to segment the text data of the symptom column of all the diagnosis and treatment data in the large cluster, and then obtain the word segmentation sequence of the symptom column in each diagnosis and treatment data, where JieBa word segmentation is a prior art and will not be repeated here. Then determine the symptom similarity between each diagnosis and treatment data through the text similarity between the word segmentation sequences. Specifically:

[0036] Build the formula: ;

[0037] in, Represents the symptom similarity between the p-th clinical diagnosis and treatment data and the q-th clinical diagnosis and treatment data in the m-th large cluster. represents the Jaccard correlation coefficient. Represents an exponential function with a natural constant as base. Represents the word segmentation sequence of the symptom column of the p-th clinical diagnosis and treatment data in the m-th cluster. Represents the word segmentation sequence of the symptom column of the qth clinical diagnosis and treatment data in the mth large cluster. Represents the number of segmented words in the segmented word sequence of the symptom column of the p-th clinical diagnosis and treatment data in the m-th large cluster. Represents the number of segmented words in the segmented word sequence of the symptom column of the qth clinical diagnosis and treatment data in the mth large cluster.

[0038] The larger the value of , the more identical segmentations there are in the symptom column between the p-th clinical diagnosis and treatment data and the q-th clinical diagnosis and treatment data in the m-th cluster. The smaller the value of , the more similar the number of segmented words in the disease column of the p-th clinical diagnosis and treatment data and the q-th clinical diagnosis and treatment data in the m-th large cluster.

[0039] therefore The larger the value of The smaller the value of , the more similar the number of word sequences in the symptom column of the p-th clinical diagnosis and treatment data and the q-th clinical diagnosis and treatment data in the m-th large cluster are, and the more the number of identical word sequences is. The greater the symptom similarity between the p-th clinical diagnosis and treatment data and the q-th clinical diagnosis and treatment data in the corresponding m-th large cluster is.

[0040] Thus, the symptom similarity between the clinical diagnosis and treatment data in the mth cluster can be quantified. Then, based on the symptom similarity between the clinical diagnosis and treatment data, the clinical diagnosis and treatment data in the mth large cluster are clustered again using the K-means method. Suppose that there are N small clusters. The symptoms of the clinical diagnosis and treatment data in each small cluster are relatively similar. Similarly, the diagnosis and treatment data in each other large cluster can be clustered again to obtain multiple small clusters, a total of M×N small clusters.

[0041] For the clinical diagnosis and treatment data of the current patient, first obtain the medical department where the patient is located and locate the corresponding large cluster. Then calculate the symptom similarity between the clinical diagnosis and treatment data of the current patient and the symptom column in the corresponding large cluster to locate the small cluster where the clinical diagnosis and treatment data of the current patient is located. Specifically:

[0042] Build the formula: ;

[0043] in, Represents the symptom similarity between the current patient's clinical diagnosis and treatment data and the clinical diagnosis and treatment data in the nth cluster. The symptom similarity between the current patient’s clinical diagnosis and treatment data and the i-th clinical diagnosis and treatment data in the n-th small cluster. Represents the number of clinical diagnosis and treatment data in the nth cluster. According to the above operation, the symptom similarity between the diagnosis and treatment data of the current patient and the clinical diagnosis and treatment data of each cluster can be calculated. The cluster corresponding to the maximum symptom similarity is recorded as the diagnosis and treatment data matching cluster of the current patient.

[0044] Since the current patient's diagnosis and treatment data and the symptoms in the matching clusters are relatively similar, the corresponding treatment plans should also be relatively similar. The consistency between the current patient's diagnosis and treatment data and the treatment plan of each diagnosis and treatment data in the matching clusters determines the logical consistency between the current patient's diagnosis and treatment data and the historical diagnosis and treatment data. Similarly, the JieBa word segmentation tool is used to perform word segmentation on the text data of the treatment plan column in the current patient's diagnosis and treatment data and each diagnosis and treatment data in the matching clusters to obtain the treatment plan word segmentation sequence of each diagnosis and treatment data. Since the treatment plan includes therapeutic drugs, the therapeutic drugs in the treatment plan of each diagnosis and treatment data are first identified through the hospital's drug library.

[0045] Build the formula: ;

[0046] in, Indicates the logical consistency between the current patient's clinical diagnosis and treatment data and historical diagnosis and treatment data. represents the Jaccard correlation coefficient. Represents the normalization function. Represents the treatment plan word segmentation sequence in the clinical diagnosis and treatment data of the current patient. Represents the treatment plan word segmentation sequence in the j-th clinical diagnosis and treatment data in the matching cluster. Represents the number of clinical diagnosis and treatment data in the matching clustering clusters. Indicates the number of drugs used in the current patient's clinical diagnosis and treatment data. Represents the component word sequence of the kth drug in the current patient's treatment plan. Represents the component word sequence of all drugs in the j-th clinical diagnosis and treatment data.

[0047] The larger the value of , the more identical the words in the treatment plan word sequence between the current patient's clinical diagnosis and treatment data and the j-th clinical diagnosis and treatment data in the matching cluster. It represents the maximum similarity value of the component word segmentation sequence of the k-th therapeutic drug in the clinical diagnosis and treatment data of the current patient and all drugs in the j-th clinical diagnosis and treatment data. The larger the value of , the more similar the composition of the k-th therapeutic drug in the clinical diagnosis and treatment data of the current patient is to that of the therapeutic drug in the j-th clinical diagnosis and treatment data.

[0048] therefore Yes This is a revision to avoid the situation where the drug names are different but the ingredients of the drugs are the same.

[0049] therefore The larger the value of indicates the greater the logical consistency between the current patient's clinical diagnosis and treatment data and the historical diagnosis and treatment data. When the value is greater than 0.5, it means that the logic of the current patient's clinical diagnosis and treatment data is reasonable and does not require a doctor's review. If it is less than or equal to 0.5, it means that the logic of the current patient's clinical diagnosis and treatment data may be abnormal. Therefore, it is necessary to further determine the logical rationality of the current patient's clinical diagnosis and treatment data itself.

[0050] In a possible embodiment, judging the logical rationality of the current patient's diagnosis and treatment data specifically includes: obtaining all historical clinical diagnosis and treatment data of the current patient's doctor from the aforementioned pre-processed historical clinical diagnosis and treatment data. The doctor is the doctor responsible for the clinical diagnosis and treatment data of the current patient. In most scenarios, the doctor is the attending physician of the current patient. Next, the symptom similarity between the current patient's diagnosis and treatment data and all historical clinical diagnosis and treatment data of the current patient's doctor is analyzed, and the historical clinical diagnosis and treatment data with symptom similarity greater than the third threshold is used as the comparison clinical diagnosis and treatment data; the drug similarity between the treatment drugs of the current patient's diagnosis and treatment data and the treatment drugs of the comparison clinical diagnosis and treatment data is analyzed to obtain the logical rationality of the current patient's diagnosis and treatment data. Among them, drug similarity refers to the similarity of drugs represented by factors such as drug composition, drug quantity and number of drug occurrences.

[0051] In this embodiment, logical consistency, logical rationality, and symptom similarity are all normalized values, and their value ranges are . In this embodiment, logical consistency, logical rationality and symptom similarity are all demarcated at 0.5, that is, the first preset threshold, the second preset threshold and the third preset threshold are all set to 0.5. However, according to the needs of the actual scenario, a possible situation, such as: when it is necessary to be lenient with the entry of medical data, a value less than 0.5 can be used as the demarcation point for logical consistency and logical rationality, such as the values ​​of the first preset threshold and the second preset threshold are set to 0.3. Another possible situation is that when the logical consistency of the current patient's medical data and the historical medical data is not required, and the logical rationality of the current patient's medical data itself is strictly required, the value of the first preset threshold can be set to less than 0.5, and the value of the second preset threshold can be set to greater than 0.5. There is also a possible situation that when the self-requirements for the clinical medical data recorded by the attending physician are more standardized and unified, the demarcation point of symptom similarity can be set higher, such as the value of the third preset threshold is set to 0.8, and the historical clinical medical data with a symptom similarity greater than 0.8 is recorded as the historical clinical medical data matched by the corresponding attending physician.

[0052] Therefore, in the actual application scenario of the method of the present invention, the third preset threshold can be set accordingly according to the requirements of data entry or certain unspecified particularities of the disease data. The third preset threshold can be exactly the same as the first preset threshold or the second preset threshold, or they can be different.

[0053] Since each doctor's treatment experience is different and each has his own style, when the symptoms are similar, a doctor's treatment plan and other doctors' treatment plans and the drugs used may be different. In this case, the clinical diagnosis and treatment data of the current patient determined by the above-mentioned logical consistency may have logical anomalies. However, if compared with the doctor's own historical treatment plan, there may be no anomalies. Therefore, when logical anomalies occur when calculating the current patient's clinical diagnosis and treatment data according to the above-mentioned logical consistency judgment method, when the symptoms are known, it is necessary to calculate the style deviation between the current patient's attending physician's historical treatment plan and the current patient's treatment plan to determine the logical rationality of the current patient's clinical diagnosis and treatment data itself. Specifically:

[0054] First, obtain all the historical clinical diagnosis and treatment data of the attending physician corresponding to the clinical diagnosis and treatment data of the current patient. Then calculate the symptom similarity of the clinical diagnosis and treatment data of the current patient and the symptom column of all the historical clinical diagnosis and treatment data of the attending physician (the same method as the symptom similarity in the logical consistency analysis). The historical clinical diagnosis and treatment data with symptom similarity greater than 0.5 is recorded as the historical clinical diagnosis and treatment data matched by the corresponding attending physician, that is, as the comparison clinical diagnosis and treatment data.

[0055] Then calculate the style deviation of the treatment plan between the current patient's clinical diagnosis and treatment data and the historical clinical diagnosis and treatment data matched by the corresponding attending physician. Specifically:

[0056] Build the formula: ;

[0057] in, Indicates the treatment style deviation of the treatment plan of the current patient's clinical diagnosis and treatment data. Represents an exponential function with a natural constant as base. Represents the normalization function. Indicates the number of drugs used in the current patient's clinical diagnosis and treatment data. Indicates the number of historical clinical diagnosis and treatment data matching the corresponding attending physician. Indicates the kth drug in the treatment plan of the current patient's clinical diagnosis and treatment data among all The number of times it appears in clinical diagnosis and treatment data.

[0058] The larger the value, the more likely the kth drug is in the treatment plan of the current patient's clinical diagnosis and treatment data. The more times it appears in the clinical diagnosis and treatment data.

[0059] therefore The larger the value of indicates, the smaller the deviation of the treatment style of the treatment plan of the current patient’s clinical diagnosis and treatment data is. When the value is less than or equal to 0.5, it means that there is an abnormality in the logical rationality of the current patient's clinical diagnosis and treatment data itself.

[0060] In an embodiment of the present invention, the style deviation of the above-mentioned treatment plan is judged as the logical rationality of the embodiment of the present invention, that is, the logical rationality of the clinical diagnosis and treatment data of the current patient is equivalent to the style deviation of the treatment plan, that is, when the logical rationality of the clinical diagnosis and treatment data of the current patient is greater than 0.5, it means that the logical rationality of the clinical diagnosis and treatment data of the current patient itself is normal and can be entered into the hospital information system. If the logical rationality is less than or equal to 0.5, it is refused to be entered into the hospital information system, indicating that there is a logical error in the clinical diagnosis and treatment data of the current patient itself. Return it to the attending physician corresponding to the current patient, and manually review the diagnosis and treatment data of the current patient again. Based on the clinical diagnosis and treatment data of the current patient after review, the logical consistency or logical rationality is re-judged, and it is allowed to be entered into the hospital information system only after the requirements of logical consistency or logical rationality are met, so as to ensure the logic between the drugs used by the doctor and the condition, and avoid making wrong judgments on the patient's condition and treatment plan.

[0061] In the judgment of the logical consistency or logical rationality of the method in this embodiment, it is greater than a certain threshold, or less than a certain threshold, or equal to a certain threshold. Different threshold points can be set according to the needs of the actual specific application scenario.

[0062] Based on the same inventive concept as the above method embodiment, the embodiment of the present invention also provides a clinical diagnosis and treatment data entry system, such as Figure 2 As shown, the entry system specifically includes:

[0063] Data acquisition module, used to obtain historical clinical diagnosis and treatment data;

[0064] Data preprocessing module, used to preprocess historical clinical diagnosis and treatment data;

[0065] The analysis and judgment module is used to judge the logical consistency of the current patient diagnosis and treatment data and the historical clinical diagnosis and treatment data after preprocessing; if the logical consistency is greater than a first preset threshold, the current patient diagnosis and treatment data is entered; otherwise, the logical rationality of the current patient diagnosis and treatment data is judged; if the logical rationality is greater than a second preset threshold, the current patient diagnosis and treatment data is entered;

[0066] Return module, if the logical rationality is not greater than the second preset threshold, the doctor of the current patient will review the diagnosis and treatment data of the current patient; based on the reviewed diagnosis and treatment data of the current patient, the logical consistency or logical rationality will be re-judged.

[0067] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0068] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

Claims

1. A method for entering clinical diagnosis and treatment data, characterized in that: The input method includes: Acquiring historical clinical diagnosis and treatment data, and preprocessing the historical clinical diagnosis and treatment data; Determine the logical consistency between the current patient diagnosis and treatment data and the pre-processed historical clinical diagnosis and treatment data; if the logical consistency is greater than a first preset threshold, enter the current patient diagnosis and treatment data; Otherwise, the logical rationality of the current patient diagnosis and treatment data is determined; if the logical rationality is greater than a second preset threshold, the current patient diagnosis and treatment data is entered; The historical clinical diagnosis and treatment data are preprocessed, including: based on the M diagnosis and treatment department categories of the hospital, cluster analysis is performed on the historical clinical diagnosis and treatment data to obtain M large clusters, where M is a positive integer; The method for obtaining logical consistency is as follows: based on the symptom similarity between the historical clinical diagnosis and treatment data in the mth cluster, cluster analysis is performed on the historical clinical diagnosis and treatment data in the mth cluster to obtain N small clusters; N is a positive integer; ; Traverse M large clusters to obtain M×N small clusters; determine the large cluster corresponding to the current patient's diagnosis and treatment data according to the diagnosis and treatment department where the current patient's diagnosis and treatment data is located; obtain the logical consistency of the current patient's diagnosis and treatment data with the preprocessed historical clinical diagnosis and treatment data based on the symptom similarity between the current patient's diagnosis and treatment data and the historical clinical diagnosis and treatment data of all small clusters in the large cluster where the current patient's diagnosis and treatment data is located; Among them, according to the symptom similarity between the current patient's diagnosis and treatment data and the historical clinical diagnosis and treatment data of all small clusters in the large cluster where the current patient's diagnosis and treatment data is located, the logical consistency between the current patient's diagnosis and treatment data and the pre-processed historical clinical diagnosis and treatment data is obtained, including: according to the symptom similarity between the current patient's diagnosis and treatment data and the historical clinical diagnosis and treatment data of all small clusters in the large cluster where the current patient's diagnosis and treatment data is located, the nth small cluster with the most similar symptoms to the current patient's diagnosis and treatment data is determined, and according to the drug similarity between the treatment drugs of the current patient's diagnosis and treatment data and the treatment drugs of all historical clinical diagnosis and treatment data in the nth small cluster, the logical consistency between the current patient's diagnosis and treatment data and the pre-processed historical clinical diagnosis and treatment data is obtained; wherein, ; Among them, judging the logical rationality of the current patient's diagnosis and treatment data specifically includes: obtaining all historical clinical diagnosis and treatment data of the doctor to which the current patient belongs from the pre-processed historical clinical diagnosis and treatment data; analyzing the symptom similarity between the current patient's diagnosis and treatment data and all historical clinical diagnosis and treatment data of the doctor to which the current patient belongs, and using the historical clinical diagnosis and treatment data with symptom similarity greater than a third threshold as comparison clinical diagnosis and treatment data; analyzing the drug similarity between the treatment drugs of the current patient's diagnosis and treatment data and the treatment drugs of the comparison clinical diagnosis and treatment data, to obtain the logical rationality of the current patient's diagnosis and treatment data.

2. A method for entering clinical diagnosis and treatment data according to any one of claim 1, characterized in that: The drug similarity includes: drug composition, drug quantity and drug occurrence times.

3. A clinical diagnosis and treatment data entry method according to claim 2, characterized in that: After preprocessing the historical clinical diagnosis and treatment data, the following steps are also included: Perform word segmentation processing on all historical clinical diagnosis and treatment data to obtain the word segmentation sequence of each historical clinical diagnosis and treatment data; Perform word segmentation processing on the current patient diagnosis and treatment data to obtain a word segmentation sequence of the current patient diagnosis and treatment data; Based on the text similarity between the word segmentation sequence of each historical clinical diagnosis and treatment data and the word segmentation sequence of the current patient diagnosis and treatment data, the symptom similarity or drug similarity is judged.

4. A method for entering clinical diagnosis and treatment data according to any one of claims 1 or 3, characterized in that: Before cluster analysis is performed on the historical clinical diagnosis and treatment data, a rationality check is performed on the historical clinical diagnosis and treatment data.

5. A clinical diagnosis and treatment data entry method according to claim 1, characterized in that: If the logical rationality is not greater than the second preset threshold, the doctor of the current patient will review the diagnosis and treatment data of the current patient; and re-judge the logical consistency or logical rationality based on the reviewed diagnosis and treatment data of the current patient.

6. A clinical diagnosis and treatment data entry system, characterized in that: The entry system comprises: Data acquisition module, used to obtain historical clinical diagnosis and treatment data; A data preprocessing module, used for preprocessing the historical clinical diagnosis and treatment data; wherein the preprocessing of the historical clinical diagnosis and treatment data comprises: performing cluster analysis on the historical clinical diagnosis and treatment data based on M diagnosis and treatment department categories of the hospital to obtain M large clusters, where M is a positive integer; An analysis and judgment module is used to judge the logical consistency of the current patient diagnosis and treatment data and the pre-processed historical clinical diagnosis and treatment data; if the logical consistency is greater than a first preset threshold, the current patient diagnosis and treatment data is entered; otherwise, the logical rationality of the current patient diagnosis and treatment data is judged; if the logical rationality is greater than a second preset threshold, the current patient diagnosis and treatment data is entered; The method for obtaining logical consistency is as follows: based on the symptom similarity between the historical clinical diagnosis and treatment data in the mth cluster, cluster analysis is performed on the historical clinical diagnosis and treatment data in the mth cluster to obtain N small clusters; N is a positive integer; ; Traverse M large clusters to obtain M×N small clusters; determine the large cluster corresponding to the current patient's diagnosis and treatment data according to the diagnosis and treatment department where the current patient's diagnosis and treatment data is located; obtain the logical consistency of the current patient's diagnosis and treatment data with the preprocessed historical clinical diagnosis and treatment data based on the symptom similarity between the current patient's diagnosis and treatment data and the historical clinical diagnosis and treatment data of all small clusters in the large cluster where the current patient's diagnosis and treatment data is located; Among them, according to the symptom similarity between the current patient's diagnosis and treatment data and the historical clinical diagnosis and treatment data of all small clusters in the large cluster where the current patient's diagnosis and treatment data is located, the logical consistency between the current patient's diagnosis and treatment data and the pre-processed historical clinical diagnosis and treatment data is obtained, including: according to the symptom similarity between the current patient's diagnosis and treatment data and the historical clinical diagnosis and treatment data of all small clusters in the large cluster where the current patient's diagnosis and treatment data is located, the nth small cluster with the most similar symptoms to the current patient's diagnosis and treatment data is determined, and according to the drug similarity between the treatment drugs of the current patient's diagnosis and treatment data and the treatment drugs of all historical clinical diagnosis and treatment data in the nth small cluster, the logical consistency between the current patient's diagnosis and treatment data and the pre-processed historical clinical diagnosis and treatment data is obtained; wherein, ; Among them, judging the logical rationality of the current patient's diagnosis and treatment data specifically includes: obtaining all historical clinical diagnosis and treatment data of the doctor to which the current patient belongs from the pre-processed historical clinical diagnosis and treatment data; analyzing the symptom similarity between the current patient's diagnosis and treatment data and all historical clinical diagnosis and treatment data of the doctor to which the current patient belongs, and using the historical clinical diagnosis and treatment data with symptom similarity greater than a third threshold as comparison clinical diagnosis and treatment data; analyzing the drug similarity between the treatment drugs of the current patient's diagnosis and treatment data and the treatment drugs of the comparison clinical diagnosis and treatment data, and obtaining the logical rationality of the current patient's diagnosis and treatment data; Return module, if the logical rationality is not greater than the second preset threshold, the doctor of the current patient will review the diagnosis and treatment data of the current patient; based on the reviewed diagnosis and treatment data of the current patient, the logical consistency or logical rationality will be re-judged.