Medical record data verification method, device, electronic equipment and storage medium

By obtaining the fields and data to be verified of the medical records to be verified, loading and replacing the verification rules, and generating executable files for verification, the problem of low efficiency of medical record data verification in the existing technology is solved, and a faster and more effective verification process.

CN113517048BActive Publication Date: 2024-10-29GUAHAO (HANGZHOU) TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110782809.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-12
Publication Date
2024-10-29
Estimated Expiration
2041-07-12

AI Technical Summary

Technical Problem

Existing medical record data verification methods are inefficient and require recoding and releasing programs to modify verification rules, resulting in low data verification efficiency.

Method used

By obtaining the fields and data to be verified in the medical records to be verified, determine and load the rules to be verified, replace the target verification keywords with the data to be verified, generate an executable data verification file, and perform data verification based on this file. Enable fast and flexible verification.

Benefits of technology

The efficiency of medical record data verification is improved, the problem of low verification efficiency in the existing technology is solved, and faster and more effective data verification is achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113517048B_ABST
    Figure CN113517048B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a data verification method, device, electronic device and storage medium for medical records. The method includes: obtaining the medical record to be verified, determining the field to be verified of the medical record to be verified, wherein the field to be verified includes a keyword to be verified and data to be verified corresponding to the keyword to be verified; determining and loading the rule to be verified according to the keyword to be verified and the data to be verified, wherein the rule to be verified includes a target verification keyword corresponding to the keyword to be verified; replacing the target verification keyword with the data to be verified, and obtaining an executable data verification file corresponding to the medical record to be verified; based on the executable data verification file, performing data verification on the data to be verified, generating verification results, and displaying the verification results. The technical solution of the embodiment of the present invention solves the problem of low data verification efficiency of medical records in the existing data verification method of medical records, and realizes faster and more effective verification of medical record data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of medical big data technology, and in particular to a medical record data verification method, device, electronic device and storage medium. Background Art

[0002] Medical records generally refer to case records, which are records of medical personnel's medical activities such as the occurrence, development, and outcome of patients' diseases, as well as examinations, diagnosis, and treatments. They are also the basis for doctors to diagnose and treat diseases. Medical records play an important role in medical treatment, prevention, teaching, scientific research, and hospital management. Therefore, the data quality of medical records has received great attention.

[0003] In the prior art, the data verification method for medical records is usually that, first, medical staff manually organizes the data verification rules for medical records, then programmers encode the organized data verification rules for medical records into program codes, and finally, the medical record data is verified based on the converted program codes.

[0004] However, in the data verification method of medical records in the prior art, when the data verification rules need to be modified, the program needs to be re-coded and the relevant program needs to be re-published or started, resulting in the problem of low efficiency of medical record data verification. Summary of the invention

[0005] The embodiments of the present invention provide a medical record data verification method, device, electronic device and storage medium to achieve faster and more effective verification of medical record data, thereby achieving the effect of improving verification efficiency.

[0006] In a first aspect, an embodiment of the present invention provides a method for verifying medical record data, the method comprising:

[0007] Acquire the medical record to be verified, and determine the field to be verified of the medical record to be verified, wherein the field to be verified includes a keyword to be verified and data to be verified corresponding to the keyword to be verified;

[0008] Determine and load a rule to be verified according to the keyword to be verified and the data to be verified, wherein the rule to be verified includes a target verification keyword corresponding to the keyword to be verified;

[0009] The target verification keyword is replaced with the data to be verified, and an executable data verification file corresponding to the medical record to be verified is obtained;

[0010] Based on the executable data verification file, the data to be verified is verified, a verification result is generated, and the verification result is displayed.

[0011] In a second aspect, an embodiment of the present invention further provides a medical record data verification device, the device comprising:

[0012] A module for determining fields to be checked, used for obtaining medical records to be checked and determining fields to be checked of the medical records to be checked, wherein the fields to be checked include keywords to be checked and data to be checked corresponding to the keywords to be checked;

[0013] A to-be-verified rule loading module, used to determine and load the to-be-verified rule according to the to-be-verified keyword and the to-be-verified data, wherein the to-be-verified rule includes a target verification keyword corresponding to the to-be-verified keyword;

[0014] An executable data verification file obtaining module is used to replace the target verification keyword with the data to be verified, and obtain an executable data verification file corresponding to the medical record to be verified;

[0015] The verification result display module is used to perform data verification on the data to be verified based on the executable data verification file, generate a verification result, and display the verification result.

[0016] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:

[0017] one or more processors;

[0018] A storage device for storing one or more programs;

[0019] When the program is executed by the processor, the processor implements a medical record data verification method as provided in any embodiment of the present invention.

[0020] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a medical record data verification method as provided in any embodiment of the present invention.

[0021] The technical solution of the embodiment of the present invention determines the fields to be checked of the medical records to be checked by acquiring the medical records to be checked, and then determines that the fields to be checked include keywords to be checked and data to be checked corresponding to the keywords to be checked. According to the keywords to be checked and the data to be checked, the rules to be checked are determined and loaded, wherein the rules to be checked include target check keywords corresponding to the keywords to be checked. The target check keywords are replaced with the data to be checked to obtain an executable data check file corresponding to the medical records to be checked. Among them, the check rules to be loaded can not only be modified in real time, but also be flexibly configured. Based on the executable data check file, data check is performed on the data to be checked, check results are generated, and the check results are displayed, which solves the problem of low data check efficiency of medical records in the existing data check methods of medical records, and realizes faster and more effective check of medical record data, thereby achieving the technical effect of improving check efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the following briefly introduces the drawings required to describe the embodiments. Obviously, the drawings introduced are only drawings of a part of the embodiments to be described in the present invention, rather than all the drawings. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0023] Figure 1 This is a flow chart of a medical record data verification method provided in Embodiment 1 of the present invention;

[0024] Figure 2 This is a flow chart of a method for obtaining rules to be verified provided in the first embodiment of the present invention;

[0025] Figure 3 This is a schematic diagram of a method for managing rules to be verified provided by Embodiment 1 of the present invention;

[0026] Figure 4 This is a flow chart of a medical record data verification method provided by Embodiment 2 of the present invention;

[0027] Figure 5 This is a diagram of a verification result display interface provided by Embodiment 2 of the present invention;

[0028] Figure 6 This is a flow chart of a medical record data verification method provided by Embodiment 3 of the present invention;

[0029] Figure 7 This is a schematic diagram of a module of a medical record data verification device provided by a fourth embodiment of the present invention;

[0030] Figure 8It is a structural schematic diagram of an electronic device provided in Embodiment 5 of the present invention. DETAILED DESCRIPTION

[0031] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0032] Embodiment 1

[0033] Figure 1 It is a flow chart of a medical record data verification method provided in the first embodiment of the present invention. This embodiment can be applied to the situation where data verification is performed on the data to be verified of the medical record to be verified by loading the rules to be verified. The method can be executed by a medical record data verification device. The medical record data verification device can be implemented by software and / or hardware. The medical record data verification device can be integrated in electronic devices such as computers or servers.

[0034] like Figure 1 As shown, the method of this embodiment includes:

[0035] S110, obtaining the medical record to be verified, and determining the field to be verified of the medical record to be verified, wherein the field to be verified includes a keyword to be verified and data to be verified corresponding to the keyword to be verified.

[0036] Among them, the medical record to be verified can be the medical record to be verified at the current moment. The field to be verified can be the field that needs to be verified in the medical record to be verified at the current moment. A medical record to be verified can include one, two or more fields to be verified. The keyword to be verified can be the keyword that needs to be verified in the field to be verified at the current moment, which can generally be the type or attribute of the data. The data to be verified can be the data to be verified corresponding to the field to be verified and the keyword to be verified at the current moment. Exemplarily, the field to be verified is age 60, wherein the keyword to be verified is age, and the data to be verified is 60.

[0037] Specifically, the medical record that needs to be verified at the current moment is obtained as the medical record to be verified. According to the information contained in the medical record, the field to be verified of the medical record to be verified can be determined, and then the keyword to be verified and the data to be verified corresponding to the keyword to be verified can be determined.

[0038] Optionally, there may be a variety of ways to obtain the medical records to be verified, which are not specifically limited here, for example, receiving the medical records to be verified input by the user; or, obtaining the medical records to be verified based on the target storage path, or, obtaining the medical records to be verified from the target database, or, receiving the medical records to be verified transmitted by the target terminal, etc.

[0039] S120 . Determine and load a rule to be verified according to the keyword to be verified and the data to be verified, wherein the rule to be verified includes a target verification keyword corresponding to the keyword to be verified.

[0040] The rule to be verified can be understood as a rule for verifying the verification data corresponding to the keyword to be verified. The target verification keyword can be a keyword in the rule to be verified that corresponds to the current keyword to be verified. Exemplarily, the keyword to be verified is the main diagnosis name, and the target verification keyword corresponding to the keyword to be verified is outMainDiagName.

[0041] Specifically, according to the keywords to be checked and the data to be checked, the rules corresponding to the keywords to be checked and the data to be checked can be determined, and the rules corresponding to the keywords to be checked and the data to be checked can be used as the rules to be checked. Then, the rules to be checked can be loaded.

[0042] Optionally, the rule to be verified may be a rule set by the user according to specific requirements.

[0043] Optionally, the rules to be verified can be obtained through the following steps. Figure 2 , the relevant staff can set the correspondence between the keywords to be verified and the target verification keywords. Based on the correspondence between the keywords to be verified and the target verification keywords, the rules to be verified can be added, and then the rules can be edited or written with reference to the rule specifications, so that the rules to be verified can be obtained.

[0044] In order to ensure the validity of the rules to be checked, after obtaining the rules to be checked, the rules to be checked can be syntax checked to obtain the check result. When the check result is that there is no exception, the rules to be checked can be stored. When the check result is that there is an exception, the execution can be returned to edit the rules with reference to the rule specification.

[0045] See also Figure 3 In order to facilitate the management of the rules to be checked, rule operations (such as editing or disabling) can be performed on the rules to be checked by rule classification, rule name and rule description.

[0046] Optionally, the types of the target verification keywords may include at least the following types: operation type, logic type and user-defined type.

[0047] The operation type can be understood as the type of calculation of the data to be verified. For example, the target keyword to be verified of the operation type is age. The logic type can be understood as the type of judgment of the data to be verified. For example, the target keyword to be verified of the logic type is gender. The custom type can be a type defined according to actual verification requirements.

[0048] Optionally, the target verification keyword can be determined in the following manner:

[0049] Perform keyword parsing on the rule to be verified to determine the target verification keyword included in the rule to be verified.

[0050] Specifically, by performing keyword parsing on the rule to be verified, the target verification keyword included in the rule to be verified can be determined.

[0051] S130. Replace the target verification keyword with the data to be verified to obtain an executable data verification file corresponding to the medical record to be verified.

[0052] Among them, the executable data verification file can be a file obtained by replacing the target verification keyword in the rule to be verified with the data to be verified, and can be used to perform data verification on the medical record to be verified.

[0053] Specifically, when the rule to be loaded for verification is loaded, the target verification keyword included in the rule to be loaded can be determined. After determining the target verification keyword included in the rule to be loaded, based on the correspondence between the target verification keyword and the keyword to be verified, the target verification keyword in the rule to be loaded can be replaced with the data to be verified. Furthermore, an executable data verification file corresponding to the medical record to be verified can be obtained.

[0054] Exemplarily, the keyword to be verified is age, the data to be verified is 19, and the target keyword corresponding to the keyword to be verified with age is age. The rule to be verified is:

[0055] if age>18then

[0056] if outMainDiagName like'%Children%'||outOthersDiagName like'%Children%'thenreturn'该疾病诊断适用于年龄小于等于

[18] 岁的患者,此患者年龄为{age}';

[0057] Then, an executable data verification file can be obtained, where the executable data verification file includes the following sentence:

[0058] if 19>18then

[0059] if outMainDiagName like'%Children%'||outOthersDiagName like'%Children%'thenreturn'该疾病诊断适用于年龄小于等于

[18] 岁的患者,此患者年龄为{19}.'

[0060] S140. Based on the executable data verification file, perform data verification on the data to be verified, generate a verification result, and display the verification result.

[0061] The verification result may be a result of performing data verification on the verification data.

[0062] Specifically, after obtaining the executable data verification file, the data to be verified can be verified by using the executable data verification file. Then, the verification result can be generated. After the verification result is generated, the verification result can be displayed.

[0063] Optionally, in order to facilitate the verification personnel to quickly determine whether there are any abnormalities in the medical record data, verification prompt information can be generated based on the verification results and displayed.

[0064] The verification prompt information may be a prompt information indicating that abnormal data exists in the medical record data.

[0065] Specifically, after the verification result is generated, verification prompt information can be generated according to the verification result. Furthermore, the verification prompt information can be displayed.

[0066] Optionally, in order to improve the verification efficiency of medical record data, after obtaining the executable data verification file corresponding to the medical record to be verified, the executable data verification file can be syntax-checked. Specifically, the following can be done: syntax-check the executable data verification file to obtain a syntax verification result; if the syntax verification result is that the executable data verification file has a syntax exception, then return to execute the operation of replacing the target verification keyword with the data to be verified; if the syntax verification result is that the executable data verification file does not have a syntax exception, then execute the operation of performing data verification on the data to be verified based on the executable data verification file.

[0067] The grammar check result may be a result obtained by performing a grammar check on the executable data check file, and may be used to determine whether there is a grammar anomaly in the executable data check file.

[0068] Specifically, since there may be keyword replacement anomalies in the process of replacing the target verification keyword with the data to be verified, resulting in anomalies in the executable data verification file, in order to avoid reducing the verification efficiency, the executable data verification file can be grammatically checked. Then, a grammatical verification result can be obtained. If the grammatical verification result is that the executable data verification file has a grammatical anomaly, the operation of replacing the target verification keyword with the data to be verified can be returned. If the grammatical verification result is that the executable data verification file does not have a grammatical anomaly, an operation of performing data verification on the data to be verified based on the executable data verification file can be performed.

[0069] The technical solution of the embodiment of the present invention determines the fields to be checked of the medical record to be checked by acquiring the medical record to be checked, and then determines that the fields to be checked include keywords to be checked and data to be checked corresponding to the keywords to be checked. According to the keywords to be checked and the data to be checked, the rules to be checked are determined and loaded, wherein the rules to be checked include target check keywords corresponding to the keywords to be checked. The target check keywords are replaced with the data to be checked to obtain an executable data check file corresponding to the medical record to be checked. Among them, the check rules to be loaded can not only be modified in real time, but also be flexibly configured. Based on the executable data check file, data check is performed on the data to be checked, a check result is generated, and the check result is displayed, which solves the problem of low data check efficiency of medical records in the existing data check method of medical records, and realizes faster and more effective check of medical record data, thereby achieving the technical effect of improving the check efficiency.

[0070] Embodiment 2

[0071] Figure 4 It is a flow chart of a data verification method for a medical record provided in Embodiment 2 of the present invention. On the basis of the foregoing embodiment, optionally, the target verification keyword is replaced with the data to be verified to obtain an executable data verification file corresponding to the medical record to be verified, including: replacing the target verification keyword with the data to be verified to obtain a verification syntax file; based on the verification syntax file, generating a syntax tree for data verification; based on the syntax tree, generating an executable data verification file corresponding to the medical record to be verified.

[0072] Optionally, displaying the verification result includes: sending the verification result to a case display page for displaying the case to be verified, wherein the case display page includes a verification result prompt area; and displaying the verification result in a preset style in the verification result prompt area.

[0073] Among them, technical terms that are the same as or corresponding to the above embodiments are not repeated here.

[0074] like Figure 4 As shown, the method of this embodiment may specifically include:

[0075] S210, obtaining the medical record to be verified, and determining the field to be verified of the medical record to be verified, wherein the field to be verified includes a keyword to be verified and data to be verified corresponding to the keyword to be verified.

[0076] S220 . Determine and load a rule to be verified according to the keyword to be verified and the data to be verified, wherein the rule to be verified includes a target verification keyword corresponding to the keyword to be verified.

[0077] S230: Replace the target verification keyword with the data to be verified to obtain a verification syntax file.

[0078] The verification syntax file may be a file generated by replacing the target verification keyword in the rule to be verified with the keyword to be verified.

[0079] Specifically, after the rules to be verified are loaded, the target verification keywords included in the verification rules to be loaded can be determined. After the target verification keywords included in the verification rules to be loaded are determined, the target verification keywords in the rules to be verified can be replaced with the keywords to be verified based on the corresponding relationship between the target verification keywords and the keywords to be verified. Then, a verification grammar file can be obtained.

[0080] S240: Generate a syntax tree for data verification based on the verification syntax file.

[0081] The syntax tree may be a tree formed by deducing sentences contained in the verification syntax file, wherein the sentences contained in the verification syntax file may be sentences obtained by replacing target verification keywords in the rules to be verified with the keywords to be verified. The syntax tree may be used to perform data verification on the data to be verified.

[0082] Specifically, the sentence obtained by replacing the target verification keyword in the rule to be verified with the keyword to be verified in the verification grammar file is deduced. Furthermore, a grammar tree for data verification can be generated during sentence derivation.

[0083] S250: Generate an executable data verification file corresponding to the medical record to be verified based on the syntax tree.

[0084] Specifically, after the syntax tree is generated, each node of the syntax tree can be traversed to obtain an executable data verification file corresponding to the medical record to be verified.

[0085] S260: Based on the executable data verification file, perform data verification on the data to be verified and generate a verification result.

[0086] S270. Send the verification result to a case display page for displaying the case to be verified, wherein the case display page includes a verification result prompt area.

[0087] Among them, the case display page can be understood as a page for displaying cases. Optionally, the page length and page width of the case display page can be set according to specific verification requirements. The verification result prompt area can be an area set according to specific requirements (such as the rightmost or bottom of the case display page), which can be used to display the verification results to prompt the inspector whether there are any abnormalities in the case data.

[0088] Specifically, after obtaining the verification result, the verification result can be sent to a case display page for displaying the case to be verified.

[0089] S280: Display the verification result in a preset style in the verification result prompt area.

[0090] The preset style may be a display style set according to actual needs. Optionally, the preset style may be the following, such as displaying text or data in the verification result in a bold font, or rendering the verification result in a preset color. The preset color may be set according to actual needs, such as red or green.

[0091] Specifically, when the case display page for displaying the case to be verified receives the verification result, the verification result can be displayed in a preset style in the verification result prompt area of ​​the case display page (see Figure 5 ).

[0092] The technical solution of this embodiment obtains a verification syntax file by replacing the target verification keyword with the data to be verified. Based on the verification syntax file, a syntax tree for data verification is generated. Based on the syntax tree, an executable data verification file corresponding to the medical record to be verified is generated. Based on the executable data verification file, data verification is performed on the data to be verified to generate a verification result. The verification result is sent to a case display page for displaying the case to be verified, wherein the case display page includes a verification result prompt area. The verification result is displayed in a preset style in the verification result prompt area. A faster and more effective verification of the medical record data is achieved, thereby achieving the technical effect of improving the verification efficiency.

[0093] Embodiment 3

[0094] Embodiment 3 of the present invention provides an optional embodiment of a medical record data verification method, and its specific implementation can be referred to the following embodiments. Among them, technical terms that are the same as or corresponding to the above embodiments are not repeated here.

[0095] The method of this embodiment specifically includes the following steps:

[0096] 1. Obtain the medical record to be verified, and determine the field to be verified of the medical record to be verified, wherein the field to be verified includes a keyword to be verified and data to be verified corresponding to the keyword to be verified.

[0097] The medical record to be verified may be medical record details.

[0098] Specifically, the medical record details can be obtained by receiving the medical record details submitted by the user. After obtaining the medical record details, the fields to be verified in the medical record details can be determined, and then the keywords to be verified in the fields to be verified in the medical record details and the data to be verified corresponding to the keywords to be verified can be determined.

[0099] Optionally, after obtaining the medical records to be verified, you can also view the medical records to be verified.

[0100] 2. Determine and load the rules to be verified based on the keywords to be verified and the data to be verified, wherein the rules to be verified include the target verification keywords corresponding to the keywords to be verified.

[0101] The rule to be verified may be an available quality control rule, and the target keyword may be a parameter code.

[0102] Specifically, based on the keywords to be verified and the data to be verified in the fields to be verified in the medical record details, available quality control rules are determined and loaded.

[0103] 3. Replace the target verification keyword with the data to be verified to obtain the verification syntax file.

[0104] The verification grammar file may be a pre-execution grammar.

[0105] Specifically, according to the correspondence between the keywords to be verified and the parameter codes, the parameter codes in the available quality control rules can be replaced with the data to be verified in the medical record details. Then, the pre-execution grammar can be obtained.

[0106] Optionally, in order to ensure the correctness of the verification grammar file, after obtaining the pre-execution grammar file, a grammar verification may be performed on the pre-execution grammar based on a pre-defined rule writing specification.

[0107] Optionally, you can define the rule writing specification by:

[0108] 1) Chinese operators: Chinese operators begin with the @ identifier.

[0109] 2) Common operators: +, -, *, / , <, >, < =, > =, = =, ! =, <> [equivalent to ! =], %, mod [modulus is equivalent to %], ++, --, like (similar to sql like usage).

[0110] 3) Flow control: @if @then @otherwise, @loop (variable 1; condition 1; variable expression), {} method body, @jump out, @return.

[0111] 4) Array collection: [] array definition, elements are separated by “,”, @ creates a list, and @ creates a key-value collection.

[0112] 5) Advanced operators:

[0113] @Any match: Any match of the value ["option 1", "option 2", "option 3"]. If one, two or three of the three values ​​exist in the option, true is returned, otherwise false is returned;

[0114] @Any contains: [value 1, value 2, value 3] Any contains ["option 1", "option 2", "option 3"], if there are one, two or three of the three values ​​in the option, it returns true, otherwise it returns false;

[0115] @Match regular expression: [value1, value2, value3] matches the regular expression. Return true if it matches, otherwise return false.

[0116] 4. Derive the rule string in the verification grammar file to generate a syntax tree for data verification.

[0117] 5. Execute the syntax tree for data verification and generate an executable data verification syntax file.

[0118] 6. Based on the executable data verification file, perform data verification on the data to be verified and generate verification results.

[0119] The verification result may be a verification result set.

[0120] Specifically, the data to be verified is verified by executing the executable data verification syntax file, and then a verification result set can be obtained.

[0121] Optional, to avoid the possibility that available quality control rules are not loaded, see Figure 6 After obtaining the verification result set, it can be determined whether there is a next rule. If so, the rule is loaded as an available quality control rule. If not, the verification result set can be used as a quality control result set and the quality control result set is returned.

[0122] 7. Send the verification results to the case display page used to display the cases to be verified.

[0123] Specifically, after obtaining the verification result set, the verification result set can be sent to a case display page for displaying the case to be verified, so that the user can view the verification result set and modify the data to be verified according to the verification result set.

[0124] The technical solution of this embodiment solves the problem of low medical record data verification efficiency in existing medical record data verification methods, and realizes faster and more effective verification of medical record data, thereby achieving the technical effect of improving verification efficiency.

[0125] Embodiment 4

[0126] Figure 7It is a schematic diagram of a data verification device module for a medical record provided in a fourth embodiment of the present invention. The present invention provides a data verification device for a medical record, which includes: a module 410 for determining a field to be verified, a module 420 for loading rules to be verified, a module 430 for obtaining an executable data verification file, and a module 440 for displaying verification results.

[0127] Among them, the module 410 for determining the fields to be checked is used to obtain the medical records to be checked and determine the fields to be checked of the medical records to be checked, wherein the fields to be checked include keywords to be checked and data to be checked corresponding to the keywords to be checked; the module 420 for loading rules to be checked is used to determine and load rules to be checked based on the keywords to be checked and the data to be checked, wherein the rules to be checked include target check keywords corresponding to the keywords to be checked; the module 430 for obtaining the executable data check file is used to replace the target check keyword with the data to be checked and obtain the executable data check file corresponding to the medical records to be checked; the module 440 for displaying the check results is used to perform data check on the data to be checked based on the executable data check file, generate a check result, and display the check result.

[0128] The technical solution of the embodiment of the present invention is to obtain the medical record to be verified through the module for determining the field to be verified, determine the field to be verified of the medical record to be verified, and then determine that the field to be verified includes the keyword to be verified and the data to be verified corresponding to the keyword to be verified. The module for loading the rules to be verified determines and loads the rules to be verified according to the keyword to be verified and the data to be verified, wherein the rules to be verified include the target verification keyword corresponding to the keyword to be verified. The module for obtaining the executable data verification file replaces the target verification keyword with the data to be verified, and obtains the executable data verification file corresponding to the medical record to be verified. Among them, the verification rules to be loaded can not only be modified in real time, but also be flexibly configured. The verification result display module performs data verification on the data to be verified based on the executable data verification file, generates the verification result, and displays the verification result, thereby solving the problem of low data verification efficiency of medical records in the existing data verification method of medical records, and realizing faster and more effective verification of the data of medical records, thereby achieving the technical effect of improving the verification efficiency.

[0129] Optionally, an executable data verification file obtaining module 430 is used to replace the target verification keyword with the data to be verified to obtain a verification syntax file; based on the verification syntax file, a syntax tree for data verification is generated; based on the syntax tree, an executable data verification file corresponding to the medical record to be verified is generated.

[0130] Optionally, after obtaining the executable data verification file corresponding to the medical record to be verified, the device also includes: a grammar verification result obtaining module, which is used to perform grammar verification on the executable data verification file to obtain a grammar verification result; if the grammar verification result is that the executable data verification file has a grammar abnormality, then returning to execute the operation of replacing the target verification keyword with the data to be verified; if the grammar verification result is that the executable data verification file does not have a grammar abnormality, then executing the operation of performing data verification on the data to be verified based on the executable data verification file.

[0131] Optionally, the verification result display module 440 is used to send the verification result to a case display page for displaying the case to be verified, wherein the case display page includes a verification result prompt area; and display the verification result in a preset style in the verification result prompt area.

[0132] Optionally, the device further includes: a target verification keyword determination module, configured to perform keyword analysis on the rule to be verified, and determine the target verification keyword included in the rule to be verified.

[0133] Optionally, the device further includes: a verification prompt information display module, configured to generate verification prompt information based on the verification result, and display the verification prompt information.

[0134] Optionally, the types of the target verification keywords include at least: numerical type, logical type and user-defined type.

[0135] The above-mentioned device can execute a medical record data verification method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the medical record data verification method.

[0136] It is worth noting that the various units and modules included in the above-mentioned medical record data verification device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present invention.

[0137] Embodiment 5

[0138] Figure 8 It is a structural schematic diagram of an electronic device provided in Embodiment 5 of the present invention. Figure 8 A block diagram of an exemplary electronic device 12 suitable for implementing any of the embodiments of the present invention is shown. Figure 8 The electronic device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention. The device 12 is typically an electronic device that is responsible for processing configuration information.

[0139] like Figure 8 As shown, the electronic device 12 is in the form of a general purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a memory 28, and a bus 18 connecting the various components (including the memory 28 and the processing unit 16).

[0140] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. For example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.

[0141] The electronic device 12 typically includes a variety of computer readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.

[0142] The memory 28 may include computer device readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 8Not shown, usually referred to as a "hard drive"). Although not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (such as a read-only optical disk (Compact Disc-Read Only Memory, CD-ROM), a digital video disk (Digital Video Disc-Read Only Memory, DVD-ROM) or other optical media) can be provided. In these cases, each drive can be connected to the bus 18 via one or more data medium interfaces. The memory 28 can include at least one program product 40, which has a set of program modules 42, which are configured to perform the functions of various embodiments of the present invention. The program product 40 can be stored in, for example, the memory 28, and such program modules 42 include but are not limited to one or more application programs, other program modules and program data, each of which or some combination of these examples may include the implementation of a network environment. The program module 42 generally performs the functions and / or methods in the embodiments described in the present invention.

[0143] The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, mouse, camera, etc., and display), may also communicate with one or more devices that enable a user to interact with the electronic device 12, and / or communicate with any device that enables the electronic device 12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 22. In addition, the electronic device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN) and / or a public network, such as the Internet) through a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 through a bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, disk arrays (Redundant Arrays of Independent Disks, RAID) devices, tape drives, and data backup storage devices.

[0144] The processor 16 executes various functional applications and data processing by running the program stored in the memory 28, for example, implementing the medical record data verification method provided in the above embodiment of the present invention, the method comprising:

[0145] Obtain the medical record to be verified, determine the field to be verified of the medical record to be verified, wherein the field to be verified includes a keyword to be verified and data to be verified corresponding to the keyword to be verified; determine and load the rule to be verified based on the keyword to be verified and the data to be verified, wherein the rule to be verified includes a target verification keyword corresponding to the keyword to be verified; replace the target verification keyword with the data to be verified, and obtain an executable data verification file corresponding to the medical record to be verified; based on the executable data verification file, perform data verification on the data to be verified, generate a verification result, and display the verification result.

[0146] Of course, those skilled in the art will appreciate that the processor may also implement the medical record data verification method provided in any embodiment of the present invention.

[0147] Embodiment 6

[0148] Embodiment 6 of the present invention further provides a computer-readable storage medium having a computer program stored thereon, characterized in that when the program is executed by a processor, for example, the medical record data verification method provided in the above embodiment of the present invention includes:

[0149] Acquire the medical record to be verified, and determine the field to be verified of the medical record to be verified, wherein the field to be verified includes a keyword to be verified and data to be verified corresponding to the keyword to be verified;

[0150] Determine and load a rule to be verified according to the keyword to be verified and the data to be verified, wherein the rule to be verified includes a target verification keyword corresponding to the keyword to be verified;

[0151] The target verification keyword is replaced with the data to be verified, and an executable data verification file corresponding to the medical record to be verified is obtained;

[0152] Based on the executable data verification file, the data to be verified is verified, a verification result is generated, and the verification result is displayed.

[0153] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0154] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0155] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0156] Computer program code for performing the operation of embodiments of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0157] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A method for verifying medical record data, characterized in that: include: Acquire the medical record to be verified, and determine the field to be verified of the medical record to be verified, wherein the field to be verified includes a keyword to be verified and data to be verified corresponding to the keyword to be verified; Determine and load a rule to be verified according to the keyword to be verified and the data to be verified, wherein the rule to be verified includes a target verification keyword corresponding to the keyword to be verified; The target verification keyword is replaced with the data to be verified, and an executable data verification file corresponding to the medical record to be verified is obtained; Based on the executable data verification file, perform data verification on the data to be verified, generate a verification result, and display the verification result; The step of replacing the target verification keyword with the data to be verified comprises: based on the corresponding relationship between the target verification keyword and the keyword to be verified, replacing the target verification keyword in the rule to be verified with the data to be verified; After obtaining the executable data verification file corresponding to the medical record to be verified, the method further includes: Performing syntax verification on the executable data verification file to obtain a syntax verification result; If the syntax check result is that the executable data check file has syntax anomalies, returning to execute the operation of replacing the target check keyword with the data to be checked; If the syntax verification result is that there is no syntax anomaly in the executable data verification file, performing the operation of performing data verification on the data to be verified based on the executable data verification file; The step of replacing the target verification keyword with the data to be verified to obtain an executable data verification file corresponding to the medical record to be verified includes: The target verification keyword is replaced with the data to be verified to obtain a verification syntax file; Processing the rule character string in the verification grammar file to generate a grammar tree for data verification; The syntax tree is executed, and an executable data verification file corresponding to the medical record to be verified is generated.

2. The method according to claim 1, characterized in that The displaying of the verification result includes: Sending the verification result to a case display page for displaying the case to be verified, wherein the case display page includes a verification result prompt area; The verification result is displayed in a preset format in the verification result prompt area.

3. The method according to claim 1, characterized in that The method further comprises: Keyword parsing is performed on the rule to be verified to determine the target verification keyword contained in the rule to be verified.

4. The method according to claim 1, characterized in that: The method further comprises: Verification prompt information is generated based on the verification result, and the verification prompt information is displayed.

5. The method according to claim 1, characterized in that The types of the target verification keywords include at least: operation type, logic type and user-defined type.

6. A medical record data verification device, characterized in that: include: A module for determining fields to be checked, used for obtaining medical records to be checked and determining fields to be checked of the medical records to be checked, wherein the fields to be checked include keywords to be checked and data to be checked corresponding to the keywords to be checked; A to-be-verified rule loading module, used to determine and load the to-be-verified rule according to the to-be-verified keyword and the to-be-verified data, wherein the to-be-verified rule includes a target verification keyword corresponding to the to-be-verified keyword; An executable data verification file obtaining module is used to replace the target verification keyword with the data to be verified, and obtain an executable data verification file corresponding to the medical record to be verified; A verification result display module, used to perform data verification on the data to be verified based on the executable data verification file, generate a verification result, and display the verification result; The step of replacing the target verification keyword with the data to be verified comprises: based on the corresponding relationship between the target verification keyword and the keyword to be verified, replacing the target verification keyword in the rule to be verified with the data to be verified; After obtaining the executable data verification file corresponding to the medical record to be verified, the device further includes: a grammar verification result obtaining module, which is used to perform grammar verification on the executable data verification file to obtain a grammar verification result; if the grammar verification result is that the executable data verification file has a grammar anomaly, then returning to execute the operation of replacing the target verification keyword with the data to be verified; if the grammar verification result is that the executable data verification file does not have a grammar anomaly, then executing the operation of performing data verification on the data to be verified based on the executable data verification file; The executable data verification file obtaining module is used to replace the target verification keyword with the data to be verified to obtain a verification grammar file; process the rule character string in the verification grammar file to generate a grammar tree for data verification; execute the grammar tree and generate an executable data verification file corresponding to the medical record to be verified.

7. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs; When the program is executed by the processor, the processor implements the medical record data verification method as described in any one of claims 1-5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the medical record data verification method as described in any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Method and device for verifying interface packet

    CN109510824A

  • Medical record home page information input method and device and computer equipment

    CN111724136A