Stroke data reporting method, device, storage medium and program product
Use process automation software to intercept and identify stroke treatment records in different hospital systems, and use thesaurus to verify data accuracy. This solves the difficulty of data extraction and verification during the automated uploading of stroke treatment records, and achieves data accuracy and consistency. Upload.
Patent Information
- Application Number
- CN202411089994.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-08-09
AI Technical Summary
The inconsistency of different hospital systems leads to difficulties in data extraction and verification during the automated uploading of stroke treatment records, especially the issue of ensuring data accuracy.
Use process automation software (RPA) to intercept the display area for text recognition, build a thesaurus for data verification, search for matching initial text data through the priority arrangement of pre-selected word segments, and update the priority in the thesaurus to improve the accuracy of data uploading sex.
It realizes the automatic data extraction and verification of uploaded stroke treatment records from different hospital systems to ensure the accuracy and consistency of uploaded information and is suitable for a variety of hospital systems.
Smart Images

Figure CN118588228B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of medical information processing technology, and specifically to a method, device, storage medium and program product for reporting stroke data. Background Art
[0002] In enterprises and institutions, there are businesses that require uploading large amounts of data. For example, the state stipulates that after stroke inpatients are discharged, hospitals must promptly upload various records generated during the stroke treatment process to the corresponding database in order to further conduct stroke case quality control and data analysis, optimize treatment measures, improve treatment rates, and reduce the burden of disease. Because different hospitals use different systems, it is also difficult to uniformly and automatically upload various records generated during stroke treatment. Summary of the invention
[0003] The technical problem to be solved by this application is: for various records generated during the process of automatically uploading stroke treatment, how to automatically extract and verify the accuracy of the extracted data from the relevant system and report the verified information.
[0004] In a first aspect, an embodiment provides a method for reporting stroke data, which is applied to process automation software, and the method includes executing the data reporting process multiple times, and executing the data reporting process once includes: intercepting a display area recording any data item to be uploaded in a program system including multiple data items to be uploaded; performing text recognition on the display area to obtain initial text data corresponding to at least one data item to be uploaded;
[0005] For each of the at least one data item to be uploaded, a target pre-selected word segment matching the initial text data is searched in a corresponding vocabulary according to the priority arrangement order of a plurality of pre-selected word segments; the pre-selected word segments are arranged in order from large to small according to the degree of association with the data to be uploaded; for any of the at least one data item to be uploaded, if the target pre-selected word segment is found in the vocabulary, the target pre-selected word segment is reported.
[0006] In one embodiment, during the i-th execution of the data reporting process, after reporting the initial text data, the method further includes:
[0007] Performing a preset operation on the target pre-selected word segment in the word library; arranging the priorities of the pre-selected word segments in descending order according to the number of times the preset operation has been historically accepted;
[0008] In the (i+1)th execution data reporting process, before searching the constructed vocabulary according to the priority arrangement order of the plurality of pre-selected word segments for a target pre-selected word segment matching the initial text data, the method further includes:
[0009] updating the order of the priorities of the preselected word segments after the preset operation in the word library;
[0010] In the constructed word library, a target pre-selected word segment matching the initial text data is searched according to the updated priority ranking order of the plurality of pre-selected word segments.
[0011] In one embodiment, if the target pre-selected word segment is not found in the word library, the initial text data is added to the word library;
[0012] A notification message is generated to prompt adding the initial text data to the vocabulary.
[0013] In one embodiment, searching for a target pre-selected word segment matching the initial text data in the constructed word library according to the priority ranking order of the plurality of pre-selected word segments includes:
[0014] comparing whether the first pre-selected word segment among the plurality of pre-selected word segments is the same as the initial text data;
[0015] If the first pre-selected word segment among the plurality of pre-selected word segments is the same as the initial text data, determining the target pre-selected word segment;
[0016] If the first pre-selected word segment among the multiple pre-selected word segments is different from the initial text data, the second pre-selected word segment among the multiple pre-selected word segments is compared with the initial text data to see if they are the same, until a pre-selected word segment that is the same as the initial text data is obtained or the matching of all pre-selected word segments is completed.
[0017] In one embodiment, before performing the data reporting process multiple times, the method further includes constructing a vocabulary corresponding to each data item to be uploaded; the step of constructing a corresponding vocabulary for a specific data item to be uploaded includes:
[0018] Using multiple text recognition tools to recognize the data items to be uploaded, and obtaining characters or character strings describing the data to be uploaded;
[0019] Performing a deduplication operation on the characters or the character string;
[0020] Using a semantic recognition tool to perform semantic recognition on the characters or the character strings after the deduplication operation is performed, and determining whether the characters or the character strings describe the specific data item to be uploaded according to a preset rule;
[0021] If the characters or the character strings describe the specific data item to be uploaded according to a preset rule, the characters or the character strings are used as pre-selected word segments to construct a vocabulary of the specific data item to be uploaded.
[0022] In one embodiment, before performing the data reporting process multiple times, the method further includes constructing a vocabulary corresponding to each data item to be uploaded; the step of constructing a corresponding vocabulary for a specific data item to be uploaded includes:
[0023] Using multiple text recognition tools to recognize the data items to be uploaded, and obtaining characters or character strings describing the data to be uploaded;
[0024] Performing a deduplication operation on the characters or the character string;
[0025] Display the characters or the character string after performing the deduplication operation;
[0026] A confirmation operation of the user on any of the characters or any of the character strings is received, and the character or the character string corresponding to the confirmation operation is used as a pre-selected word segment to construct a word library of the specific data item to be uploaded.
[0027] In one embodiment, if the target pre-selected word segment is not found in the word library, the method further includes:
[0028] Displaying the initial text data;
[0029] receiving a modification operation of the initial text data by a user, and modifying the initial text data in response to the modification operation;
[0030] Report the modified initial text data.
[0031] In a second aspect, an embodiment provides a stroke data reporting device, the device comprising:
[0032] An interception module, used for intercepting a display area recording any data item to be uploaded in a program system including multiple data items to be uploaded;
[0033] A recognition module, used for performing text recognition on the display area to obtain initial text data corresponding to at least one data item to be uploaded;
[0034] a search module, for searching, for each of the at least one data item to be uploaded, a target pre-selected word segment matching the initial text data in a constructed word library according to a priority ranking order of a plurality of pre-selected word segments; the word library is used to update the ranking order of the pre-selected word segments; the pre-selected word segment is a character or character string describing the data to be uploaded;
[0035] A reporting module is used for reporting the initial text data if the target pre-selected word segment is found in the word library for any of the at least one data item to be uploaded.
[0036] In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores a program executable by a processor, and the program executable by the processor is used to implement the stroke data reporting method as described above when executed by the processor.
[0037] In a fourth aspect, an embodiment of the present application further provides a computer program product, comprising a computer program or computer instructions, wherein the computer program or the computer instructions are stored in a computer-readable storage medium, a processor of a computer device reads the computer program or the computer instructions from the computer-readable storage medium, and the processor executes the computer program or the computer instructions, so that the computer device executes the stroke data reporting method as described above.
[0038] The beneficial effects of this application are:
[0039] The embodiment of the present application uses process automation software (Robotic process automation, RPA) to intercept the display area in the system where the data to be uploaded is recorded, obtain a page screenshot recording the data to be uploaded, perform text recognition on the content in the screenshot, complete the automatic extraction of relevant records in the system, and obtain initial text data. Since the screenshot of the display area and the text recognition above will not call the operation process of the system itself, they can be applied to different systems, providing a basis for different hospital systems to automatically report various records generated in the process of stroke treatment. After identifying the initial text data recorded on the page, the embodiment of the present application also uses a word library pre-constructed for the relevant uploaded data to verify the identified initial text data. Since the pre-selected word segments in the word library are characters or strings that have historically described the data to be uploaded, and the order of searching for the target pre-selected word segment in multiple pre-selected word segments is: according to the degree of association between each pre-selected word segment and the data item to be uploaded, it is carried out in descending order. Therefore, if a word segment matching the initial text data is found in the word library, it can be determined that the initial text data has historically described the data to be uploaded, and the initial text data is the most accurate description of the data to be uploaded at present. Through the above process, the embodiment of the present application completes the verification of the identified initial text data, and then reports the initial text data, so that the reported information is the text field with the highest degree of correlation with the data to be uploaded. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a flowchart of the steps of the stroke data reporting method proposed in this application;
[0041] Figure 2 This is an example diagram of a display area A captured by an example of the present application;
[0042] Figure 3This is an example diagram of a program system display interface for data items to be uploaded in an example;
[0043] Figure 4 It is a functional module diagram of the stroke data reporting device proposed in the embodiment of the present application. DETAILED DESCRIPTION
[0044] The present application is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are intended to enable the present application to be better understood. However, those skilled in the art can easily recognize that some of the features can be omitted in different situations, or can be replaced by other elements, materials, and methods. In some cases, some operations related to the present application are not shown or described in the specification, in order to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations based on the description in the specification and the general technical knowledge in the art.
[0045] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.
[0046] In order to solve the problem of various records generated in the process of automatically uploading stroke treatment by different systems, the embodiment of the present application proposes a method for reporting stroke data, which is applied to process automation software (Robotic process automation, RPA), which is also known as robotic process automation, and completes a set of pre-set operation processes automatically. For example, assuming that the pre-set operation process is: copy the date from the web page--fill the date into the form--upload the form, after the RPA is started, the operation process of copying the date from the web page--filling the date into the form--uploading the form is automatically completed without manual participation.
[0047] The above process automation software can be installed on electronic devices, such as computers, mobile phones, servers, etc.
[0048] Figure 1 This is a flowchart of the stroke data reporting method proposed in this application, such as Figure 1 As shown, the steps include:
[0049] S1: In a program system including a plurality of data items to be uploaded, a display area recording any data item to be uploaded is intercepted.
[0050] The data items to be uploaded may represent various records generated during the stroke treatment process that need to be uploaded, such as name, address, medication method, medication time, medicine, outpatient records, treatment methods, operation time, etc. Each of the name, address, medication method, medication time, medicine, outpatient records, treatment methods, and time may be used as an uploaded data item.
[0051] The program systems of different hospitals may be built based on different open methods. Each section of the hospital program system may have data records that need to be uploaded, making it difficult to achieve unified data upload. This application adopts a record extraction method that can be used in all sections, intercepts the display area that records any data items to be uploaded, and then performs text recognition on the intercepted display area to obtain initial text data.
[0052] S2: Performing text recognition on the captured display area to obtain initial text data corresponding to at least one data item to be uploaded.
[0053] Optical Character Recognition (OCR) may be used to perform text recognition on the captured display area to obtain initial text data corresponding to at least one data item to be uploaded.
[0054] Figure 2 This is an example diagram of display area A captured as an example of the present application. Display area A displays data items to be uploaded including name phrases, operation time, medication method, address and other information. Text recognition is performed on display area A, and the initial text data obtained includes: initial text data 1 "Deng Baiqiang" corresponding to the name phrase of the data item to be uploaded, initial text data 2 "XX day XX month XX year XXXX" corresponding to the operation time of the data item to be uploaded, initial text data 3 "intravenous drip (IVGTT)" corresponding to the medication method of the data item to be uploaded, and initial text data 4 "No. XX, XXXX Street, XX District, XXX City" corresponding to the address of the data item to be uploaded.
[0055] Considering that RPA will randomly call different OCRs when executing the text recognition operation process, different OCRs may obtain different results for the same text. At the same time, RPA uses an open source algorithm that is not used for Chinese. Calling OCR for text recognition may result in unclear Chinese font recognition, garbled characters, and other problems. The embodiment of the present application pre-sets a vocabulary for each data item to be uploaded. The vocabulary stores multiple pre-selected word segments. The pre-selected word segments are obtained by using different text recognition tools to perform text recognition on specific data items to be uploaded: characters or character strings that have historically described specific data items to be uploaded. After executing step S2, the embodiment of the present application executes step S3, and uses the vocabulary to verify the initial text data to obtain a more accurate description of the specific data item to be uploaded.
[0056] Step S3: for each of the at least one data item to be uploaded, search for a target pre-selected word segment that matches the initial text data in the corresponding vocabulary according to the priority arrangement order of multiple pre-selected word segments; the priorities of the pre-selected word segments in the vocabulary are arranged in sequence according to the degree of association with the data item to be uploaded.
[0057] Since the priorities of the pre-selected word segments in the vocabulary are arranged in order according to the degree of association with the data item to be uploaded, the target pre-selected word segment matching the initial text data is searched according to the priority arrangement order of the multiple pre-selected word segments, and the matched word is the phrase with the highest degree of association with the data item to be uploaded.
[0058] In one example, a preselected word segment B obtained by an OCR identifying a specific data item to be uploaded can indicate that a certain degree of association exists between the preselected word segment B and the data to be uploaded. N OCR tools identify specific data items to be uploaded to obtain preselected word segment B, and M OCR tools identify specific data items to be uploaded to obtain preselected word segment C, where M < N, and it can be determined that the degree of association between the preselected word segment C and the data item to be uploaded is less than the degree of association between the preselected word segment B and the data item to be uploaded. In another example, after identifying the data item to be uploaded, the preselected word segment B is reported to the stroke system center multiple times, indicating that a certain degree of association exists between the preselected word segment B and the data to be uploaded.
[0059] It is understandable that the number of OCR tools that recognize the pre-selected phrase B is positively correlated with the accuracy of the pre-selected phrase B in expressing the data item to be uploaded. Therefore, the more highly associated a phrase is with the data item to be uploaded, the more accurately it can express the data item to be uploaded.
[0060] Based on Figure 2Take the example shown for illustration, the data items to be uploaded include name phrases, operation time, medication method, address and other information, and text recognition is performed on the display area to obtain: initial text data 1 corresponding to the name, initial text data 2 corresponding to the operation time, initial text data 3 corresponding to the medication method, initial text data 4 corresponding to the address, and taking the name phrase of the data item to be uploaded as an example, the identified initial text data 1 is Deng Baiqiang, and a vocabulary A={Deng Baiqiang, Deng Baigong Sui, You Baiqiang, Youmo Liao Sui} corresponding to the name phrase is pre-constructed, and the target pre-selected phrase matching the initial text data 1 is obtained in the vocabulary A: Deng Baiqiang, and there is a pre-selected phrase in the vocabulary that is the same as the initial text data. Since the pre-selected phrase in the vocabulary has a certain correlation with the data item to be uploaded, it can be determined that the identified name phrase initial text data 1 can accurately express the accuracy of the data item to be uploaded to a certain extent, and the name phrase "Deng Baiqiang" is reported.
[0061] The embodiment of the present application also provides an optional way to execute step S3. Since the pre-selected word segments in the word library are arranged in order according to the degree of association with the data item to be uploaded, it is first verified whether the pre-selected word segment with the highest priority is the same as the initial text data, so as to ensure that the target pre-selected word segment with the highest accuracy is quickly found in the existing pre-selected word segments describing the data item to be uploaded. Step S3 includes the following sub-steps:
[0062] Step S31: comparing the first pre-selected word segment among the plurality of pre-selected word segments with the initial text data to see whether they are the same;
[0063] Step S32: if the first pre-selected word segment among the plurality of pre-selected word segments is the same as the initial text data, determining the target pre-selected word segment;
[0064] Step S33: If the first pre-selected word segment among the multiple pre-selected word segments is different from the initial text data, compare whether the second pre-selected word segment among the multiple pre-selected word segments is the same as the initial text data, until a pre-selected word segment that is the same as the initial text data is obtained or the matching of all pre-selected word segments is completed.
[0065] For example, the vocabulary A corresponding to a certain name phrase is {Deng Baiqiang, Deng Baigongsui, You Baiqiang, Youmo Lesui}, where the priority of each pre-selected phrase is as follows: Deng Baiqiang's priority > Deng Baigongsui's priority > You Baiqiang's priority > Youmo Lesui's priority. The initial text data obtained by performing text recognition on the captured display area is "Deng Baiqiang". The pre-selected phrase with the highest priority is first compared with "Deng Baiqiang" to determine the target pre-selected phrase. The above process arranges the pre-selected phrases in order of priority, and compares the current pre-selected phrase with the initial text data in turn to see if they are the same, so as to efficiently find the target pre-selected phrase that matches the initial text data in the currently existing pre-selected phrases with a certain accuracy.
[0066] In another example, the vocabulary A corresponding to a certain name phrase = {Deng Baiqiang, Deng Baigongsui, You Baiqiang, Youmo Lesui}, where the priority of each pre-selected phrase is as follows: Deng Baiqiang's priority > Deng Baigongsui's priority > You Baiqiang's priority > Youmo Lesui's priority. The initial text data obtained by performing text recognition on the captured display area is "Youmo Lesui". First, compare whether the pre-selected phrase "Deng Baiqiang" with the highest priority is the same as "Youmo Lesui", and then compare whether the pre-selected phrase "Deng Baigongsui" with the second priority is the same as "Youmo Lesui", and so on, until a pre-selected phrase that is the same as the initial text data is matched, or the matching of all pre-selected phrases in the vocabulary A is completed.
[0067] Step S4: For any of the at least one data item to be uploaded, if the target pre-selected word segment is found in the word library, the initial text data is reported.
[0068] In one example of the present application, the method of reporting the initial text data is to upload the initial text data to the storage address of the stroke center program system corresponding to the record of the data item to be uploaded.
[0069] For a specific data item to be uploaded, if a preselected word segment matching the initial text data is found in the vocabulary corresponding to the specific data item to be uploaded, it means that the verification results show that the initial text data has a certain accuracy, so the initial text data can be uploaded to the stroke center server.
[0070] Continue with Figure 2 The example shown is used to illustrate the identification Figure 2 The following are obtained in the display area: the data item to be uploaded is the corresponding initial text data 1 of the name phrase, the data item to be uploaded is the corresponding initial text data 2 of the operation time, the data item to be uploaded is the corresponding initial text data 3 of the medication method, and the data item to be uploaded is the corresponding initial text data 4 of the address. Step S3 can be executed for the initial text data 1, the initial text data 2, the initial text data 3, and the initial text data 4 in sequence to obtain the target pre-selected phrases corresponding to the initial text data 1, the initial text data 2, the initial text data 3, and the initial text data 4, and then step S4 is executed to report the above initial text data 1, the initial text data 2, the initial text data 3, and the initial text data 4; step S3 can also be executed for the initial text data 1, the initial text data 2, the initial text data 3, and the initial text data 4 in sequence, and S3-S4 are executed respectively.
[0071] The embodiment of the present application uses process automation software (Robotic process automation, RPA) to intercept the display area in the system where the data to be uploaded is recorded, obtain a page screenshot of the data to be uploaded, perform text recognition on the content in the screenshot, complete the automatic extraction of relevant records in the system, and obtain initial text data. Since the above-mentioned screenshot of the display area and text recognition will not call the operation process of the system itself, it can be applied to different systems, providing a basis for different hospital systems to automatically report various records generated in the process of stroke treatment. After identifying the initial text data recorded on the page, the embodiment of the present application also uses a word library pre-constructed for the relevant uploaded data to verify the identified initial text data. Since the pre-selected word segment in the word library is a character or string that has historically described the data to be uploaded, and the search for the target pre-selected word segment in multiple pre-selected word segments is performed in sequence according to the arrangement order of each pre-selected word segment, if a word segment matching the initial text data is found in the word library, it can be determined that the initial text data is a character or string that has historically described the data to be uploaded, and the initial text data is the character or string with the highest accuracy in expressing the data to be uploaded. Through the above process, the embodiment of the present application completes the verification of the initial text data obtained by recognition, and then reports the initial text data, thereby achieving the purpose of reporting the characters or strings that express the data to be uploaded with the highest accuracy.
[0072] In one embodiment of the present application, step S3 searches for a target pre-selected word segment for a specific data item to be uploaded. If the target pre-selected word segment is found, step S4 is executed. If the target pre-selected word segment is not found, step S5 or S6 is executed, or S5 and S6 are executed, and steps S4, S5 and S6 are executed in parallel.
[0073] Step S5: If the target pre-selected word segment is not found in the word library, the initial text data is added to the word library; and a notification message is generated to prompt the user to add the initial text data to the word library.
[0074] For example, the vocabulary A corresponding to a certain name phrase = {Deng Baiqiang, Deng Baigongsui, You Baiqiang, Youmo Lesui}, and the initial text data obtained by performing text recognition on the captured display area is "Deng Baiqiang". There is no pre-selected word segment matching the initial text data in the vocabulary A. In order to further expand the vocabulary and obtain a more comprehensive expression of the uploaded data items, it is possible to verify the frequency of use of the pre-selected word segments newly added to the vocabulary during subsequent program execution. Under the premise of a more comprehensive pre-selected vocabulary, a more accurate expression of the uploaded data items is obtained. The expanded vocabulary A' corresponding to the certain name phrase = {Deng Baiqiang, Deng Baigongsui, You Baiqiang, Youmo Lesui, Deng Baiqiang}.
[0075] S6: displaying the initial text data; receiving a modification operation of the initial text data by the user, modifying the initial text data in response to the modification operation; and reporting the modified initial text data.
[0076] If the target pre-selected word segment is not found in the word library, there may be an error in at least one of the recognized initial text data and the pre-selected word segment in the word library, so the initial text data can be displayed to obtain user feedback on the initial text data. After modifying the initial text data according to the user's intention, the initial text data is added to the word library, which can improve the accuracy of the expression of the pre-selected word segment in the word library to the uploaded data.
[0077] The embodiment of the present application also discusses how to construct and maintain a vocabulary corresponding to each data item to be uploaded, so as to ensure that the pre-selected word segments in the vocabulary are arranged in descending order according to the accuracy of expressing the data item to be uploaded, thereby ensuring that after the initial text data is verified using the vocabulary, the phrase with the highest current expression accuracy is obtained.
[0078] If only manual appraisal is used to assess whether the results of each OCR recognized text randomly called when RPA executes the text recognition operation process are accurate, the efficiency is too low and there are certain limitations. In view of this, the embodiment of the present application adopts artificial intelligence to preliminarily evaluate whether the results of each OCR recognized text are consistent with the expression method of the data item to be uploaded, and then adopts an adaptive adjustment statistical method to obtain the frequency of use of the results of each OCR recognized text. Based on the frequency of use of the results of each OCR recognized text, it is objectively assessed whether the results of each OCR recognized text accurately express the data item to be uploaded.
[0079] Before executing the data reporting process multiple times, the steps of constructing a vocabulary corresponding to each data item to be uploaded in the embodiment of the present application include:
[0080] S101: using multiple text recognition tools to recognize specific data items to be uploaded, and obtaining characters or character strings describing the data to be uploaded;
[0081] For example, multiple character recognition tools are used to recognize the uploaded data item a1 "drug administration method", and multiple character strings are obtained including: a1p1 = intravenous drip (IVGTT), W a1p2 = intravenous drip (IVJTT), W a1p3 =Intramuscular injection (IM), W a1p4 = intravenous drip (IVGTT) where pi (i takes any value from 1 to n, n is an integer greater than 1) represents different text recognition tools.
[0082] You can continue to identify other data items a2 to be uploaded on the same page to obtain multiple characters or multiple character strings W a2p1、 W a2p2、 W a2p3 , W a2p4 , and so on. If the other data items to be uploaded on the case interface of the hospital system include a1a2a3...a180, and the text recognition tools called by RPA include p1p2p3...pn, the characters or character strings that can be obtained by using all the text recognition tools to recognize the data items to be uploaded on the case interface include:
[0083] {W a1p1 , W a1p2 , W a1p3 ... ...W a1pn ;
[0084] W a2p1 , W a2p2 , W a2p3 ... ...W a2pn ;
[0085] W a3p1 , W a3p2 , W a3p3 ... ...W a3pn ; ... ...
[0087] W a180p1 , W a180p2 , W a180p3. ... ...W a180pn}
[0088] S102: performing a deduplication operation on the characters or the character string;
[0089] The deduplication operation can reduce the number of pre-selected word segments in the storage vocabulary, remove unnecessary interference, and avoid the vocabulary being too redundant.
[0090] For example, the uploaded data item a1 "medication method" is identified to obtain multiple character strings including: a1p1 = intravenous drip (IVGTT), W a1p2 = intravenous drip (IVJTT), W a1p3 =Intramuscular injection (IM), W a1p4 = intravenous drip (IVGTT), remove the duplicates from the above string and get W a1p1 = intravenous drip (IVGTT), W a1p2 = intravenous drip (IVJTT), W a1p3 =Results of intramuscular (IM) injection.
[0091] S103: Determine whether the character or the character string describes the specific data item to be uploaded according to a preset rule.
[0092] The embodiment of the present application uses a semantic recognition tool to automatically detect whether a character or string describes a specific data item to be uploaded according to a preset rule, or obtains the user's judgment intention on the character or string, and determines whether the character or string describes a specific data item to be uploaded according to the preset rule based on the user's instructions.
[0093] The method of using a semantic recognition tool to automatically detect whether a character or string correctly describes a specific data item to be uploaded includes the following sub-steps:
[0094] S1031: Using a semantic recognition tool to perform semantic recognition on the characters or the character strings after the deduplication operation is performed, and determining whether the characters or the character strings describe the specific data item to be uploaded according to a preset rule;
[0095] Semantic recognition tools can be based on natural language processing (NLP) technology, deep neural networks, artificial intelligence algorithm models, etc.
[0096] If the characters or character strings are checked by the semantic recognition tool to describe the specific data item to be uploaded according to the preset rules, step S104 is continued.
[0097] The method of obtaining the user's judgment intention on the character or string and determining whether the character or string describes a specific data item to be uploaded according to a preset rule according to the user instruction includes the following sub-steps:
[0098] S1032: Display the characters or the character strings after the deduplication operation is performed; if a confirmation operation of the user for any of the characters or any of the character strings is received, continue to execute step S104.
[0099] S104: Using the characters or the character strings as pre-selected word segments to construct a word library for the specific data item to be uploaded.
[0100] This is needed to determine whether the results obtained by each text recognition tool can describe the specific data item to be uploaded according to the preset rules. If the result obtained by any text recognition tool cannot determine the description of the specific data item to be uploaded, the result obtained by any text recognition tool will be deleted.
[0101] For example, the specific data item to be uploaded is a1 "medication method", and the corresponding preset rule is a standard expression that conforms to the medication method. The data item to be uploaded a1 "medication method" is identified to obtain multiple character strings including: a1p1 = intravenous drip (IVGTT), W a1p2 = intravenous drip (IVJTT), Wa1p3 =Intramuscular injection (IM), W a1p4 = intravenous drip (IVGTT), execute step S103, determine W a1p1 = intravenous drip (IVGTT), W a1p3 =Intramuscular injection (IM), W a1p4 =Intravenous drip (IVGTT) can describe the specific data items to be uploaded according to the preset rules, which are a1 "method of administration", W a1p2 = Intravenous drip (IVJTT) cannot be described according to the preset rules. The specific data item to be uploaded is a1 "method of administration". The vocabulary corresponding to the specific data item to be uploaded is a1 "method of administration" is {W a1p1 = intravenous drip (IVGTT), W a1p3 =Intramuscular injection (IM)}.
[0102] For example, the specific data item to be uploaded is a2 "address", and the corresponding preset rule is that the character string contains the characters of city, district, street, and number at the same time. The specific data item to be uploaded is a2 "address" is identified, and multiple character strings are obtained including: "XXXXXXX", "XX City XX District XX Street No. X", "XXX City District", and step S103 is executed to determine that "XX City XX District XX Street No. X" can describe the specific data item to be uploaded as a2 according to the preset rule.
[0103] The pre-selected words in the vocabulary constructed in the above manner can be verified to provide basic information for verifying the initial text data during the data reporting process. In order to further improve the expression accuracy of the pre-selected words in the vocabulary for the data items to be uploaded, in the process of verifying the initial text data using the vocabulary corresponding to the data items to be uploaded, the accuracy ranking order of each pre-selected word is adjusted according to the frequency of use of each pre-selected word in the vocabulary, thereby adaptively adjusting the verification accuracy of the vocabulary for the initial text data.
[0104] Especially when the data item to be uploaded is an address or a name, generally, there is no logical connection between the characters describing the address or the name, and a single character has no meaning. This application counts the frequency of use of the entire phrase of the address or the name, and will not be affected by a single character in judging whether the overall expression of the data to be uploaded is accurate.
[0105] If the target pre-selected word segment is found in the vocabulary, in addition to reporting the initial text data, a preset operation can be performed on the target pre-selected word segment in the vocabulary; the priorities of multiple pre-selected word segments are arranged in descending order according to the number of times the preset operation has been historically accepted; so that the next time the data reporting process is executed, the priority of the pre-selected word segment in the vocabulary is updated: the arrangement order of the priority of the pre-selected word segment after the preset operation is performed in the vocabulary is updated; in the constructed vocabulary, the target pre-selected word segment that matches the initial text data is searched according to the updated priority arrangement order of multiple pre-selected word segments.
[0106] Taking two consecutive data reporting processes as an example, the following describes how to adjust the accuracy ranking of each pre-selected word segment according to the frequency of use of each pre-selected word segment in the word library:
[0107] The i-th execution data reporting process includes the following steps:
[0108] S201: intercepting a display area recording any data item "medication method" to be uploaded in a program system including multiple data items to be uploaded;
[0109] S202: Performing text recognition on the intercepted display area to obtain initial text data of intravenous drip (IVGTT) corresponding to the data item to be uploaded “medication method”;
[0110] S203: searching for a target pre-selected word segment matching the initial text data in the word library corresponding to the data item "medication method" to be uploaded according to the priority arrangement order of the plurality of pre-selected word segments.
[0111] The data item to be uploaded is a1 "method of administration" and the corresponding word library is {W a1p1 = intravenous drip (IVGTT), W a1p3 = intramuscular injection (IM)}, where W a1p1 The priority is first, the score is T1, W a1p3 The priority is second, the score is T2, and the target pre-selected word segment matching the initial text data is searched according to the priority order of the multiple pre-selected word segments, which is intravenous drip (IVGTT).
[0112] S204: Report the initial text data intravenous drip (IVGTT).
[0113] S205: Preselect a target word segment W in the word library a1p1 Intravenous drip (IVGTT) performs a preset operation. In one example, the preset operation can be to W a1p1 The score is increased by one.
[0114] The i+1th execution data reporting process includes the following steps:
[0115] S301: intercepting a display area recording any data item "medication method" to be uploaded in a program system including multiple data items to be uploaded;
[0116] S302: Performing text recognition on the intercepted display area to obtain initial text data of intravenous drip (IVGTT) corresponding to the data item to be uploaded “medication method”;
[0117] S303: W obtained by performing the data reporting process for the ith time a1p1 The score is T1+1. For the uploaded data item a1 "method of administration", the corresponding word library {W a1p1 = intravenous drip (IVGTT), W a1p3 = intramuscular injection (IM)} in the pre-selected word segment update priority, get W a1p1 The priority is first, W a1p3 The priority is second;
[0118] S304: searching for a target pre-selected word segment matching the initial text data in the word library corresponding to the data item "medication method" to be uploaded according to the updated priority ranking order of the plurality of pre-selected word segments.
[0119] like Figure 3 As shown, Figure 3 This is an example diagram of the program system display interface of the data items to be uploaded in the example. In the C / S system, in order to achieve aesthetics, the bottom layer of the display interface has a background image or color, and text is displayed above the bottom layer of the display interface. It is difficult for RPA to recognize black font text such as "application time" and "opening time", or it can only recognize part of it.
[0120] At present, the stroke center reports a total of only 300 fields, mainly from the HIS system medical record homepage system, electronic medical record system, and surgical anesthesia system. Among them, the HIS system and the surgical anesthesia system exist in the C / S system, and the verification of the fields that need to be reported in the HIS system and the surgical anesthesia system needs to be solved. The fields of the HIS system and the surgical anesthesia system are about 140-180. The embodiment of the present application recognizes the displayed text in multiple interfaces of the stroke center reporting program system according to a variety of OCR recognition tools, and constructs a vocabulary to store the possible recognition results of OCR for different data items to be uploaded. In subsequent use, the recognized initial text data is verified with the word segments stored in the vocabulary, and the word segments stored in the vocabulary are verified to be used at the same time. The more the word segments stored in the vocabulary are used, the more OCR recognizes the word segment, thereby objectively verifying that the word segment has a higher expression accuracy for the uploaded data item. Since the fields that the stroke center program system needs to upload are within a certain range, the vocabulary construction efficiency is high, the method is simple, and the cost of verifying the initial text data in the above-mentioned way of constructing the vocabulary is low.
[0121] Figure 4 is a functional module diagram of the stroke data reporting device proposed in the embodiment of the present application, such as Figure 4 As shown, the device comprises:
[0122] The interception module 41 is used to intercept the display area recording any data item to be uploaded in the program system including multiple data items to be uploaded;
[0123] The recognition module 42 is used to perform text recognition on the display area to obtain initial text data corresponding to at least one data item to be uploaded;
[0124] A search module 43 is used to search for a target pre-selected word segment matching the initial text data in the constructed word library according to the priority arrangement order of the plurality of pre-selected word segments for each of the at least one data item to be uploaded; the priorities of the pre-selected word segments in the word library are arranged in order according to the degree of association with the data item to be uploaded;
[0125] The reporting module 44 is configured to report the initial text data if the target pre-selected word segment is found in the word library for any of the at least one data item to be uploaded.
[0126] Figure 4 The stroke data reporting device provided in the embodiment shown can be used to implement the present specification Figures 1 to 3 The technical solution of the method embodiment shown, its implementation principle and technical effects can be further referred to the relevant description in the method embodiment.
[0127] Optionally, the device further comprises: a preset operation module and an update module, wherein the preset operation module is used to perform a preset operation on the target pre-selected word segment in the word library after reporting the initial text data during the current execution data reporting process; the priorities of the plurality of pre-selected word segments are arranged in descending order according to the number of times the preset operation has been executed in history;
[0128] During the next execution of data reporting by the update module, the priority arrangement order of the pre-selected word segments after the preset operation is updated in the word library; and the target pre-selected word segments matching the initial text data are searched in the constructed word library according to the priority arrangement order of multiple pre-selected word segments after the update.
[0129] Optionally, the device further includes: a new adding module, configured to add the initial text data to the vocabulary if the target pre-selected word segment is not found in the vocabulary; and to generate a notification message prompting to add the initial text data to the vocabulary.
[0130] Optionally, the search module includes a module specifically configured to compare whether the first pre-selected word segment among the plurality of pre-selected word segments is identical to the initial text data; if the first pre-selected word segment among the plurality of pre-selected word segments is identical to the initial text data, determining the target pre-selected word segment;
[0131] If the first pre-selected word segment among the multiple pre-selected word segments is different from the initial text data, the second pre-selected word segment among the multiple pre-selected word segments is compared with the initial text data to see if they are the same, until a pre-selected word segment that is the same as the initial text data is obtained or the matching of all pre-selected word segments is completed.
[0132] Optionally, the device also includes a vocabulary building module, which is used to use multiple text recognition tools to identify the data item to be uploaded, obtain characters or character strings that describe the data to be uploaded; perform deduplication operations on the characters or character strings; use semantic recognition tools to perform semantic recognition on the characters or character strings after the deduplication operation, and determine whether the characters or character strings correctly describe the specific data item to be uploaded; if the characters or character strings correctly describe the specific data item to be uploaded, use the characters or character strings as pre-selected segments to build a vocabulary for the specific data item to be uploaded.
[0133] Optionally, the vocabulary building module is also used to use multiple text recognition tools to identify the data items to be uploaded, obtain characters or strings that describe the data to be uploaded; perform deduplication operations on the characters or strings; display the characters or strings after the deduplication operations; receive a user confirmation operation on any of the characters or any of the strings, and use the characters or strings corresponding to the confirmation operation as pre-selected segments to build a vocabulary for the specific data item to be uploaded.
[0134] Optionally, the device also includes a modification module, which is used to display the initial text data if the target pre-selected word segment is not found in the vocabulary; receive a user's modification operation on the initial text data, respond to the modification operation, and modify the initial text data; and report the modified initial text data.
[0135] Regarding the various modules / units included in the various devices described in the above embodiments, they can be software modules / units, or hardware modules / units, or they can be partially software modules / units and partially hardware modules / units. For example, for various devices applied to or integrated in a chip, the various modules / units included therein can all be implemented in the form of hardware such as circuits, or at least some of the modules / units can be implemented in the form of software programs, which run on a processor integrated inside the chip, and the remaining modules / units can be implemented in the form of hardware such as circuits; for various devices applied to or integrated in a chip module, the various modules / units included therein can all be implemented in the form of hardware such as circuits, and different modules / units can be located in the same component of the chip module (such as a chip, circuit module, etc.) or in different components, or at least some of the modules / units can be implemented in the form of software programs. The software program may be implemented in the form of a program, which runs on a processor integrated in the chip module, and the remaining modules / units may be implemented in the form of hardware such as circuits; for each device applied to or integrated in the electronic terminal device, each module / unit contained therein may be implemented in the form of hardware such as circuits, and different modules / units may be located in the same component (for example, a chip, a circuit module, etc.) or in different components in the electronic terminal device, or at least some modules / units may be implemented in the form of a software program, which runs on a processor integrated in the electronic terminal device, and the remaining (if any) modules / units may be implemented in the form of hardware such as circuits.
[0136] In one embodiment of the present application, a computer-readable storage medium is provided, on which a program is stored. The stored program includes a method that can be loaded by a processor and process any of the above embodiments.
[0137] An embodiment of the present application also discloses a computer program product, including a computer program or computer instructions, wherein the computer program or computer instructions are stored in a computer-readable storage medium, a processor of a computer device reads the computer program or computer instructions from the computer-readable storage medium, and the processor executes the computer program or computer instructions, so that the computer device executes a stroke data reporting method as in any of the previous embodiments.
[0138] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.
[0139] The above specific examples are used to illustrate the present application, which is only used to help understand the present application and is not intended to limit the present application. For technicians in the technical field to which the present application belongs, they can also make some simple deductions, deformations or substitutions based on the ideas of the present application.
Claims
1. A method for reporting stroke data, characterized in that: Applied to process automation software, the method includes executing the data reporting process multiple times, and executing the data reporting process once includes: In a program system including a plurality of data items to be uploaded, intercepting a display area recording any data item to be uploaded; Performing text recognition on the intercepted display area to obtain initial text data corresponding to at least one data item to be uploaded; For each of the at least one data item to be uploaded, searching for a target pre-selected word segment matching the initial text data in a corresponding word library according to the priority arrangement order of a plurality of pre-selected word segments; the priorities of the pre-selected word segments in the word library are arranged in order according to the degree of association with the data item to be uploaded; For any of the at least one data item to be uploaded, if the target pre-selected word segment is found in the word library, reporting the initial text data; During the i-th execution of data reporting, after reporting the initial text data, the method further includes: Performing a preset operation on the target pre-selected word segment in the word library; arranging the priorities of the pre-selected word segments in descending order according to the number of times the preset operation has been historically accepted; In the (i+1)th execution data reporting process, before searching the constructed vocabulary according to the priority arrangement order of the plurality of pre-selected word segments for a target pre-selected word segment matching the initial text data, the method further includes: updating the order of the priorities of the preselected word segments after the preset operation in the word library; Searching for a target pre-selected word segment matching the initial text data in the constructed word library according to the updated priority ranking order of the plurality of pre-selected word segments; Searching for a target pre-selected word segment matching the initial text data in the constructed word library according to the priority ranking order of the plurality of pre-selected word segments includes: comparing whether the first pre-selected word segment among the plurality of pre-selected word segments is the same as the initial text data; If the first pre-selected word segment among the plurality of pre-selected word segments is the same as the initial text data, determining the target pre-selected word segment; If the first pre-selected word segment among the plurality of pre-selected word segments is not the same as the initial text data, comparing the second pre-selected word segment among the plurality of pre-selected word segments with the initial text data to see if they are the same, until a pre-selected word segment identical to the initial text data is obtained or matching of all pre-selected word segments is completed; Before executing the data reporting process multiple times, the method further includes constructing a vocabulary corresponding to each data item to be uploaded; the step of constructing a corresponding vocabulary for a specific data item to be uploaded includes: Using multiple text recognition tools to recognize the data items to be uploaded, and obtaining characters or character strings describing the data to be uploaded; Performing a deduplication operation on the characters or the character string; Display the characters or the character string after performing the deduplication operation; A confirmation operation of the user on any of the characters or any of the character strings is received, and the character or the character string corresponding to the confirmation operation is used as a pre-selected word segment to construct a word library of the specific data item to be uploaded.
2. The method for reporting stroke data according to claim 1, characterized in that: If the target pre-selected word segment is not found in the word library, adding the initial text data to the word library; A notification message is generated to prompt adding the initial text data to the vocabulary.
3. The method for reporting stroke data according to claim 1, characterized in that: Before executing the data reporting process multiple times, the method further includes constructing a vocabulary corresponding to each data item to be uploaded; The steps of building a corresponding vocabulary for a specific data item to be uploaded include: Using multiple text recognition tools to recognize the data items to be uploaded, and obtaining characters or character strings describing the data to be uploaded; Performing a deduplication operation on the characters or the character string; Using a semantic recognition tool to perform semantic recognition on the characters or the character strings after the deduplication operation is performed, and determining whether the characters or the character strings describe the specific data item to be uploaded according to a preset rule; If the characters or the character strings describe the specific data item to be uploaded according to a preset rule, the characters or the character strings are used as pre-selected word segments to construct a vocabulary of the specific data item to be uploaded.
4. The method for reporting stroke data according to claim 1, characterized in that: If the target pre-selected word segment is not found in the word library, the method further includes: Displaying the initial text data; receiving a modification operation of the initial text data by a user, and modifying the initial text data in response to the modification operation; Report the modified initial text data.
5. A stroke data reporting device, characterized in that: Set in process automation software, the device includes: An interception module, used for intercepting a display area recording any data item to be uploaded in a program system including multiple data items to be uploaded; A recognition module, used for performing text recognition on the display area to obtain initial text data corresponding to at least one data item to be uploaded; a search module, configured to search for a target pre-selected word segment matching the initial text data in the constructed word library according to the priority arrangement order of the plurality of pre-selected word segments for each of the at least one data item to be uploaded; the priorities of the pre-selected word segments in the word library are arranged in order according to the degree of association with the data item to be uploaded; a reporting module, configured to report the initial text data if the target pre-selected word segment is found in the word library for any of the at least one data item to be uploaded; The device further comprises: a preset operation module and an update module, wherein the preset operation module is used to perform a preset operation on the target pre-selected word segment in the word library after reporting the initial text data during the current execution data reporting process; the priorities of the plurality of pre-selected word segments are arranged in descending order according to the number of times the preset operation has been executed in history; The updating module updates the order of the priority of the pre-selected word segment after the preset operation in the word library during the next execution of data reporting in the current time; searches for the target pre-selected word segment matching the initial text data in the constructed word library according to the priority order of the pre-selected word segments after the update in the constructed word library; The search module includes a method for comparing whether the first pre-selected word segment among the plurality of pre-selected word segments is the same as the initial text data; if the first pre-selected word segment among the plurality of pre-selected word segments is the same as the initial text data, determining the target pre-selected word segment; if the first pre-selected word segment among the plurality of pre-selected word segments is not the same as the initial text data, comparing whether the second pre-selected word segment among the plurality of pre-selected word segments is the same as the initial text data, until a pre-selected word segment that is the same as the initial text data is obtained or the matching of all pre-selected word segments is completed; The device also includes a vocabulary building module, which is used to use multiple text recognition tools to identify the data items to be uploaded, obtain characters or character strings that describe the data to be uploaded; perform a deduplication operation on the characters or character strings; use a semantic recognition tool to perform semantic recognition on the characters or character strings after the deduplication operation, and determine whether the characters or character strings correctly describe the specific data items to be uploaded; if the characters or character strings correctly describe the specific data items to be uploaded, use the characters or character strings as pre-selected word segments to build a vocabulary for the specific data items to be uploaded.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the stroke data reporting method according to any one of claims 1 to 4.
7. A computer program product comprising a computer program or computer instructions, characterized in that The computer program or the computer instructions are in a computer-readable storage medium, and the processor of a computer device reads the computer program or the computer instructions from the computer-readable storage medium. The processor executes the computer program or the computer instructions, so that the computer device executes the stroke data reporting method as described in any one of claims 1 to 4.
