Medical data correction method, device, computer equipment and storage medium

By cleaning and merging medical data, generating a matching library, and combining standard coding libraries and synonym dictionaries for word segmentation matching, the problem of irregular coding in medical data is solved, and accurate coding and coding standardization of disease names are achieved.

CN113641714BActive Publication Date: 2024-09-10SHENZHEN PING AN MEDICAL HEALTH TECHNOLOGY SERVICES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111016543.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-31
Publication Date
2024-09-10
Estimated Expiration
2041-08-31

AI Technical Summary

Technical Problem

There are problems such as irregular writing, typos, and abbreviations in medical data, which makes it difficult to match disease names to the correct coding, affecting disease classification and coding standardization.

Method used

By receiving disease data from medical databases, cleaning and merging are performed, local disease coding and matching libraries are generated, and combined with standard coding libraries and synonym dictionaries, word segmentation and matching of names to be coded are performed to ensure accurate coding.

Benefits of technology

It achieves accurate coding of the names to be coded, improves the standardization and coding matching rate of disease data, and ensures the accuracy and consistency of the data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113641714B
    Figure CN113641714B
Patent Text Reader

Abstract

The embodiment of the present application belongs to the field of big data technology and is applied in the field of smart medical care. It relates to a medical data correction method, device, computer equipment and storage medium, including receiving disease data, the disease data including disease names and disease codes; cleaning and merging the disease names to obtain local disease names; respectively determining the number of each disease code associated with the local disease name, taking the disease code with the largest number as the local disease code, and generating a matching library based on the local disease code and the corresponding local disease name; receiving a standard coding library and medical data, the medical data including the name to be coded, matching the name to be coded based on the standard coding library and / or the matching library, obtaining a target code, and associating the target code with the name to be coded. The matching library can be stored in a blockchain. The present application realizes accurate coding of the name to be coded to correct its original coding data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of big data technology, and in particular to medical data correction methods, devices, computer equipment and storage media. Background Art

[0002] With the deepening of medical and health system reform and the continuous innovation of medical insurance methods, the demand for how to make good use of disease data has become increasingly strong, and its coding quality has become a key factor in whether diagnostic medical record information can be correctly and effectively used. Realizing standardized coding of disease data of various medical institutions can continuously improve the level of disease classification.

[0003] However, due to the problems of writing and naming in the diagnosis and medical record information, such as writing the disease name and code arbitrarily, typos in the disease diagnosis, incomplete and irregular diagnosis writing, arbitrary abbreviations, abbreviated disease names and codes, and multiple disease name diagnoses combined into one, it will directly affect the matching of disease names to the correct code. In addition, since the disease classification standards adopted by various cities are not the same, it is difficult to make horizontal and vertical comparisons, which also increases the difficulty of standardizing code matching. When it is necessary to encode the name to be coded in the disease data to be corrected in order to achieve the correction of the disease data to be corrected, it is difficult to achieve accurate correction. Summary of the invention

[0004] The purpose of the embodiments of the present application is to propose a medical data correction method, apparatus, computer equipment and storage medium to achieve accurate encoding of the name to be encoded so as to correct its original encoding data.

[0005] In order to solve the above technical problems, the present application embodiment provides a medical data correction method, which adopts the following technical solution:

[0006] A medical data correction method comprises the following steps:

[0007] Receiving disease data transmitted from various medical databases, and storing the disease data in a local database, wherein the disease data includes associated disease names and disease codes;

[0008] Cleaning and merging the disease names in the local database to obtain local disease names;

[0009] Determine the number of each disease code associated with the local disease name, take the disease code with the largest number as the local disease code, and generate a matching library based on the local disease code and the corresponding local disease name;

[0010] Receive a standard coding library and medical data, wherein the medical data includes a name to be coded, match the name to be coded based on the standard coding library and / or the matching library, obtain a target code, and associate the target code with the name to be coded, wherein the standard coding library includes one-to-one corresponding standard disease codes and standard disease names.

[0011] Furthermore, the step of performing a matching operation on the name to be encoded based on the standard encoding library and / or the matching library to obtain a target encoding includes:

[0012] Performing a matching operation on the name to be encoded based on the standard encoding library and / or the matching library, and if the matching fails, performing a word segmentation operation on the name to be encoded to obtain disease terms;

[0013] Based on the standard coding library and / or the matching library, a matching operation is performed on each of the disease words to obtain the word coding of the disease words respectively, and all the word codings are used as the target coding.

[0014] Furthermore, the step of performing a word segmentation operation on the name to be encoded to obtain disease words includes:

[0015] generating a user dictionary based on the standard disease name and the local disease name;

[0016] A synonym dictionary is received, and a word segmentation operation is performed on the name to be encoded based on the user dictionary and the synonym dictionary to obtain the disease term.

[0017] Furthermore, the synonym dictionary includes standard words and synonyms, the standard words and the synonyms are in a one-to-one or one-to-many association relationship, and the step of performing a word segmentation operation on the name to be encoded based on the user dictionary and the synonym dictionary to obtain the disease term includes:

[0018] Identify the name to be coded based on the user dictionary, use the words identified by the user dictionary as the disease words, and determine whether there is a field that is not identified by the user dictionary. If so, use the field that is not identified by the user dictionary as the word to be identified;

[0019] The word to be identified is matched with the synonym, and if the match is successful, the standard word corresponding to the synonym is used as the disease word.

[0020] Furthermore, the step of performing matching operations on each of the disease words based on the standard coding library and / or the matching library to obtain the word coding of the disease words includes:

[0021] The disease word is matched with the standard disease name. If the disease word matches the standard disease name successfully, the standard disease code corresponding to the standard disease name is used as the word code;

[0022] If the disease word fails to match the standard disease name, the disease word is matched with the local disease name;

[0023] If the disease word matches the local disease name successfully, the local disease code corresponding to the local disease name is used as the word code.

[0024] Furthermore, the disease names in the local database are cleaned, and the step of obtaining local disease names includes:

[0025] Performing a cleaning operation on the disease name based on a preset regular expression and patindex function to obtain an initial disease name;

[0026] The same initial disease names are merged to obtain the local disease name.

[0027] Furthermore, the step of matching the name to be encoded based on the standard encoding library and / or the matching library to obtain the target encoding includes:

[0028] Based on the standard encoding library and / or the matching library, a non-spaced keyword matching operation is performed on the name to be encoded to obtain the target encoding.

[0029] In order to solve the above technical problems, the embodiment of the present application also provides a medical data correction device, which adopts the following technical solution:

[0030] A medical data correction device, comprising:

[0031] A receiving module, used for receiving disease data transmitted by various medical databases, and storing the disease data in a local database, wherein the disease data includes associated disease names and disease codes;

[0032] A cleaning module, used for cleaning and merging the disease names in the local database to obtain local disease names;

[0033] A generation module, used to respectively determine the number of each disease code associated with the local disease name, take the disease code with the largest number as the local disease code, and generate a matching library based on the local disease code and the corresponding local disease name;

[0034] A correction module is used to receive a standard coding library and medical data, wherein the medical data includes a name to be coded, match the name to be coded based on the standard coding library and / or the matching library, obtain a target code, and associate the target code with the name to be coded, wherein the standard coding library includes one-to-one corresponding standard disease codes and standard disease names.

[0035] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:

[0036] A computer device includes a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the above-mentioned medical data correction method when executing the computer-readable instructions.

[0037] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:

[0038] A computer-readable storage medium stores computer-readable instructions, which implement the steps of the above-mentioned medical data correction method when executed by a processor.

[0039] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0040] This application is aimed at the scenario of medical data. Through the disease names and disease codes of each associated database, the local disease codes are determined, and a matching library is established based on the local disease codes. Since the matching library is established based on each medical database, the local disease names therein have a wider versatility, which can ensure further identification of the names to be coded, so as to be used for more accurate coding of the names to be coded. When the name to be coded is received, the name to be coded is matched based on the standard coding library and / or the matching library to obtain the target code, so as to achieve accurate and correct coding of the name to be coded, so as to correct the original coding data of the name to be coded. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0042] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;

[0043] Figure 2is a flow chart of an embodiment of a medical data correction method according to the present application;

[0044] Figure 3 is a schematic structural diagram of an embodiment of a medical data correction device according to the present application;

[0045] Figure 4 It is a structural diagram of an embodiment of a computer device according to the present application.

[0046] Figure numerals: 200, computer equipment; 201, memory; 202, processor; 203, network interface; 300, medical data correction device; 301, receiving module; 302, cleaning module; 303, generating module; 304, correction module. DETAILED DESCRIPTION

[0047] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0048] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0049] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0050] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0051] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0052] Terminal devices 101, 102, 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Layer IV), laptop computers, desktop computers, etc.

[0053] The server 105 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal devices 101 , 102 , and 103 .

[0054] It should be noted that the medical data correction method provided in the embodiment of the present application is generally executed by a server / terminal device, and accordingly, the medical data correction device is generally set in the server / terminal device.

[0055] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0056] Continue to refer Figure 2 , shows a flow chart of an embodiment of a medical data correction method according to the present application. The medical data correction method comprises the following steps:

[0057] S1: receiving disease data transmitted from various medical databases, and storing the disease data in a local database, wherein the disease data includes associated disease names and disease codes.

[0058] In this embodiment, due to the problems of random writing of disease names and codes, typos in disease diagnosis, incomplete, irregular, random abbreviations, and abbreviations of disease names and codes in the disease data of each medical institution, different medical institutions have different disease names and disease codes, for example: the medical insurance version of ICD-10 code: coronary atherosclerotic heart disease corresponds to I25.103, some medical institutions will fill in the code as I25.102 or I25.100, etc., some medical institutions will abbreviate coronary atherosclerotic heart disease as coronary heart disease, etc., and some medical institutions do not even fill in the code, etc. The disease names and disease codes of the diagnostic medical records information of all cities and prefectures collected from the medical databases of various medical institutions are stored in the original library (hereinafter referred to as the ORG library) for subsequent unified processing.

[0059] In this embodiment, the electronic device (eg, Figure 1 The server / terminal device shown in the figure can receive the disease data transmitted by each medical database through a wired connection or a wireless connection. It should be noted that the above wireless connection method may include but is not limited to 3G / 4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or to be developed in the future.

[0060] S2: Cleaning and merging the disease names in the local database to obtain local disease names.

[0061] In this embodiment, the disease names are cleaned to remove non-compliant names, and repeated disease names are merged to facilitate the subsequent determination of the number of each disease code associated with the local disease name.

[0062] Specifically, the disease names in the local database are cleaned and the step of obtaining the local disease names includes:

[0063] Performing a cleaning operation on the disease name based on a preset regular expression and patindex function to obtain an initial disease name;

[0064] The same initial disease names are merged to obtain the local disease name.

[0065] In this embodiment, due to the irregular writing and naming of the diagnosis medical record information, the disease names that do not contain Chinese characters and English letters are eliminated through regular expressions and PATINDEX functions. That is, the local disease names obtained have Chinese characters, or English letters, or both Chinese characters and English letters. The regular expression is as follows:

[0066] Disease name!~ '[\u2e80-\ua4cf]|[\uf900-\ufaff]|[\ufe30-\ufe4f]'. The function of the regular expression is to remove the data that does not contain Chinese characters in the disease name.

[0067] The patindex function is patindex ('%[AZ]%', disease name) = 0. The function of the patindex function is to eliminate the data that does not contain any English letters in the disease name.

[0068] It should be noted that: this application sets and runs the above regular expression and patindex function in one condition at the same time, so as to remove disease names that do not contain Chinese characters and English letters, and then realizes the cleaning operation of disease names in the local database.

[0069] S3: respectively determine the number of each disease code associated with the local disease name, take the disease code with the largest number as the local disease code, and generate a matching library based on the local disease code and the corresponding local disease name.

[0070] In this embodiment, a matching library is formed: the disease names in the local database that have been preliminarily cleaned are queried to find the disease codes that correspond to the largest number of entries in accordance with the ICD-10 coding rules for each disease name as the matching local disease code. Specifically: the standard medical insurance version of the icd-10 code is one-to-one, but it is not in the actual medical insurance databases of various provinces and cities (i.e., the associated database of this application). For example: the local disease name is "coronary heart disease", and the code is I25.103, there are 1000 entries, I25.102 has 200 entries, and A00.000 has 100 entries, but there is no "coronary heart disease" disease name in the medical insurance version of the icd-10 code. Then take the code with the largest number of corresponding entries (law of large numbers) I25.103 as the local disease code for coronary heart disease. This application generates a matching library with the generated matching principle, that is, the largest number of the disease codes and the corresponding local disease names, as specific matching data. Improve the matching rate of the coded names in the subsequent application process.

[0071] S4: Receive a standard coding library and medical data, wherein the medical data includes a name to be coded, match the name to be coded based on the standard coding library and / or the matching library, obtain a target code, and associate the target code with the name to be coded, wherein the standard coding library includes one-to-one corresponding standard disease codes and standard disease names.

[0072] In this embodiment, the standard coding library refers to the ICD-10 coding library of the Medical Insurance Bureau. The name to be coded is matched by the standard coding library and / or the matching library to improve the successful matching rate of the name to be coded.

[0073] Specifically, the step of performing a matching operation on the name to be encoded based on the standard encoding library and / or the matching library to obtain a target encoding includes:

[0074] Performing a matching operation on the name to be encoded based on the standard encoding library and / or the matching library, and if the matching fails, performing a word segmentation operation on the name to be encoded to obtain disease terms;

[0075] Based on the standard coding library and / or the matching library, a matching operation is performed on each of the disease words to obtain the word coding of the disease words respectively, and all the word codings are used as the target coding.

[0076] In this embodiment, if the name to be coded fails to match initially, segmentation is performed, and then matching is performed again. Due to the particularity of medical data, if segmentation is performed directly first, an incorrect segmentation operation may be performed on the name to be coded which is relatively long.

[0077] The step of performing a word segmentation operation on the name to be encoded to obtain disease words includes:

[0078] generating a user dictionary based on the standard disease name and the local disease name;

[0079] A synonym dictionary is received, and a word segmentation operation is performed on the name to be encoded based on the user dictionary and the synonym dictionary to obtain the disease term.

[0080] In this embodiment, in view of the situation that there are multiple disease name diagnoses in the database that are merged into one, the JIEBA word segmentation module of PYTHON is introduced, the built-in dictionary is cleared, and the standard disease names and local disease names in the "standard coding library (ICD-10 coding library)" and "matching library (MATCH matching library)" are used as user dictionaries. The synonym dictionary includes standard words and synonyms, and the synonyms include two types: meaning synonyms and morphological synonyms. For example: the standard word is "cerebral infarction", and the meaning synonyms are "cerebral infarction", "cerebral infarction", etc. The morphological synonym is "brain ridge death", etc. For another example: the standard word is "Evans syndrome", and its morphological synonym is "Evans syndrome". This application introduces a synonym dictionary to perform fault-tolerant processing on the situation that the disease names are similar in sound and shape, and continuously improves the correct matching rate of identification and diagnosis. In the word segmentation process, the Jieba (jieba) word segmentation tool is used to replace the user dictionary with the dictionary that comes with the Jieba word segmentation tool.

[0081] Furthermore, the synonym dictionary includes standard words and synonyms, the standard words and the synonyms are in a one-to-one or one-to-many association relationship, and the step of performing a word segmentation operation on the name to be encoded based on the user dictionary and the synonym dictionary to obtain the disease term includes:

[0082] Identify the name to be coded based on the user dictionary, use the words identified by the user dictionary as the disease words, and determine whether there is a field that is not identified by the user dictionary. If so, use the field that is not identified by the user dictionary as the word to be identified;

[0083] The word to be identified is matched with the synonym, and if the match is successful, the standard word corresponding to the synonym is used as the disease word.

[0084] In this embodiment, if the synonym fails to match the word to be identified, the word to be identified is directly used as a disease word. The coded name is identified based on the user dictionary and the synonym dictionary. For example: the name to be coded is "coronary heart disease, cerebral infarction", and the main diagnosis code is filled in "none". At this time, python jieba word segmentation processing is required. The coded name is segmented based on the user dictionary and the synonym dictionary, and the standard word corresponding to the synonym is used as the disease word. The disease words obtained are: "coronary atherosclerotic heart disease" and "cerebral infarction", among which "coronary atherosclerotic heart disease" is the standard word for "coronary heart disease", and the corresponding subsequent re-matching will also divide the two words into codes "I25.103" and "I63.900". At the same time, these two words can be output to the user so that the user can replace the name to be coded with these two words.

[0085] In addition, the step of performing matching operations on each of the disease words based on the standard coding library and / or the matching library to obtain the word coding of the disease words includes:

[0086] The disease word is matched with the standard disease name. If the disease word matches the standard disease name successfully, the standard disease code corresponding to the standard disease name is used as the word code;

[0087] If the disease word fails to match the standard disease name, the disease word is matched with the local disease name;

[0088] If the disease word matches the local disease name successfully, the local disease code corresponding to the local disease name is used as the word code.

[0089] In this embodiment, if the disease word fails to match the local disease name, a request signal is sent to the front-end page, and the request signal carries the disease word; a response signal sent by the front-end page is received, and the code carried by the response signal is used as the word code of the disease word, wherein the response signal corresponds to the request signal. The name to be coded is first matched in the ICD-10 coding library (i.e., the standard coding library) by using a non-spaced keyword matching method. If the match fails, it is then entered into the matching library. If the code cannot be matched, it is automatically classified into the manual matching coding category, and the medical data is sent to a medical expert, who performs manual coding matching on the name to be coded based on the disease complaint and medical identification information in the medical data. After the matching is completed and approved by relevant personnel, it can be reversely filled into the matching library to expand it.

[0090] In addition, the step of matching the name to be encoded based on the standard encoding library and / or the matching library to obtain the target encoding includes:

[0091] Based on the standard encoding library and / or the matching library, a non-spaced keyword matching operation is performed on the name to be encoded to obtain the target encoding.

[0092] In this embodiment, non-spaced keyword matching refers to matching when the part contained in the name to be encoded is exactly the same as the standard disease name literally (i.e., the order remains unchanged and there is no gap). For example, if the standard disease name is the word coronary heart disease, then the names to be encoded are coronary heart disease angina, coronary heart disease, severe coronary heart disease, etc., which all meet the non-spaced keyword matching conditions. Coronary heart disease can be matched. If the name to be encoded is coronary heart disease, coronary heart disease and other words, it does not meet the non-spaced keyword matching conditions, and the match fails. Compared with broad matching, the non-spaced keyword matching of this application is more targeted.

[0093] This application is aimed at the scenario of medical data. Through the disease names and disease codes of each associated database, the local disease codes are determined, and a matching library is established based on the local disease codes. Since the matching library is established based on each medical database, the local disease names therein have a wider versatility, which can ensure further identification of the names to be coded, so as to be used for more accurate coding of the names to be coded. When the name to be coded is received, the name to be coded is matched based on the standard coding library and / or the matching library to obtain the target code, so as to achieve accurate and correct coding of the name to be coded, so as to correct the original coding data of the name to be coded.

[0094] It should be emphasized that in order to further ensure the privacy and security of the above-mentioned matching library, the above-mentioned matching library can also be stored in a node of a blockchain.

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

[0096] This application can be applied in the field of smart medical care, thereby promoting the construction of smart cities.

[0097] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. When the computer-readable instructions are executed, they can include the processes of the embodiments of the above-mentioned methods. The aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0098] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0099] Further references Figure 3 , as a response to the above Figure 2 The present application provides an embodiment of a medical data correction device, and the device embodiment is similar to Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0100] like Figure 3As shown, the medical data correction device 300 described in this embodiment includes: a receiving module 301, a cleaning module 302, a generating module 303 and a correcting module 304. Among them: the receiving module 301 is used to receive the disease data transmitted by each medical database, and store the disease data in the local database, wherein the disease data includes the associated disease name and disease code; the cleaning module 302 is used to clean and merge the disease names in the local database to obtain the local disease name; the generating module 303 is used to respectively determine the number of each disease code associated with the local disease name, take the disease code with the largest number as the local disease code, and generate a matching library based on the local disease code and the corresponding local disease name; the correcting module 304 is used to receive the standard code library and medical data, wherein the medical data includes the name to be coded, and the name to be coded is matched based on the standard code library and / or the matching library to obtain the target code, and the target code is associated with the name to be coded, wherein the standard code library includes one-to-one corresponding standard disease codes and standard disease names.

[0101] In this embodiment, the present application targets the scenario of medical data, determines the local disease code through the disease name and disease code of each associated database, and establishes a matching library based on the local disease code. Since the matching library is established based on each medical database, the local disease name therein has a wider versatility, which can ensure further identification of the name to be coded, so as to be used for more accurate coding of the name to be coded. When the name to be coded is received, the name to be coded is matched based on the standard coding library and / or the matching library to obtain the target code, so as to achieve accurate and correct coding of the name to be coded, so as to correct the original coding data of the name to be coded.

[0102] The cleaning module 302 includes a cleaning submodule and a merging submodule. The cleaning submodule is used to perform a cleaning operation on the disease name based on a preset regular expression and patindex function to obtain an initial disease name; the merging submodule is used to merge the same initial disease names to obtain the local disease name.

[0103] The correction module 304 includes a word segmentation submodule and a matching submodule. The word segmentation submodule is used to perform a matching operation on the name to be encoded based on the standard encoding library and / or the matching library. If the matching fails, the word segmentation operation is performed on the name to be encoded to obtain the disease words; the matching submodule is used to perform a matching operation on each of the disease words based on the standard encoding library and / or the matching library, respectively obtain the word codes of the disease words, and use all the word codes as the target codes.

[0104] The word segmentation submodule includes a generation unit and a word segmentation unit, wherein the generation unit is used to generate a user dictionary based on the standard disease name and the local disease name; the word segmentation unit is used to receive a synonym dictionary, perform word segmentation operations on the name to be encoded based on the user dictionary and the synonym dictionary, and obtain the disease term.

[0105] The synonym dictionary includes standard words and synonyms, and the standard words and the synonyms are in a one-to-one or one-to-many association relationship. The word segmentation unit includes an identification subunit and a matching subunit. Among them, the identification subunit is used to identify the name to be coded based on the user dictionary, use the words recognized by the user dictionary as the disease words, and determine whether there are fields that are not recognized by the user dictionary. If so, the fields that are not recognized by the user dictionary are used as the words to be recognized; the matching subunit is used to match the words to be recognized with the synonyms. If the match is successful, the standard words corresponding to the synonyms are used as the disease words.

[0106] The matching submodule includes a first matching unit, a second matching unit and a third matching unit, wherein the first matching unit is used to match the disease term with the standard disease name, and if the disease term matches the standard disease name successfully, the standard disease code corresponding to the standard disease name is used as the term code; the second matching unit is used to match the disease term with the local disease name when the disease term fails to match the standard disease name; the third matching unit is used to match the local disease code corresponding to the local disease name as the term code when the disease term matches the local disease name successfully.

[0107] In some optional implementations of this embodiment, the correction module 304 is further used to: perform a non-spaced keyword matching operation on the name to be encoded based on the standard encoding library and / or the matching library to obtain the target encoding.

[0108] This application is aimed at the scenario of medical data. Through the disease names and disease codes of each associated database, the local disease codes are determined, and a matching library is established based on the local disease codes. Since the matching library is established based on each medical database, the disease names therein have a wider versatility, which can ensure further identification of the names to be coded, so as to be used for more accurate coding of the names to be coded. When the name to be coded is received, the name to be coded is matched based on the standard coding library and / or the matching library to obtain the target code, so as to achieve accurate and correct coding of the name to be coded, so as to correct the original coding data of the name to be coded.

[0109] To solve the above technical problems, the present application also provides a computer device. Figure 4, Figure 4 This is a basic structural block diagram of the computer device in this embodiment.

[0110] The computer device 200 includes a memory 201, a processor 202, and a network interface 203 that are interconnected and communicated through a system bus. It should be noted that the figure only shows a computer device 200 having components 201-203, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0111] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.

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

[0113] The processor 202 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 202 is generally used to control the overall operation of the computer device 200. In this embodiment, the processor 202 is used to run computer-readable instructions stored in the memory 201 or process data, such as computer-readable instructions for running the medical data correction method.

[0114] The network interface 203 may include a wireless network interface or a wired network interface. The network interface 203 is generally used to establish a communication connection between the computer device 200 and other electronic devices.

[0115] In this embodiment, the local disease names in the matching library have wider versatility, which can ensure further identification of the names to be coded, so as to be used for more accurate coding of the names to be coded. Based on the standard coding library and / or the matching library, the names to be coded are matched together to achieve accurate and correct coding of the names to be coded, so as to correct the original coding data of the names to be coded.

[0116] The present application also provides another embodiment, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor to enable the at least one processor to perform the steps of the medical data correction method as described above.

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

[0118] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.

Claims

1. A medical data correction method, characterized in that: The steps include: Receiving disease data transmitted from various medical databases, and storing the disease data in a local database, wherein the disease data includes associated disease names and disease codes; Cleaning and merging the disease names in the local database to obtain local disease names; Determine the number of each disease code associated with the local disease name, take the disease code with the largest number as the local disease code, and generate a matching library based on the local disease code and the corresponding local disease name; Receiving a standard coding library and medical data, wherein the medical data includes a name to be coded, matching the name to be coded based on the standard coding library and / or the matching library to obtain a target code, and associating the target code with the name to be coded, wherein the standard coding library includes a one-to-one correspondence between standard disease codes and standard disease names; The step of performing a matching operation on the name to be encoded based on the standard encoding library and / or the matching library to obtain a target encoding comprises: Performing a matching operation on the name to be encoded based on the standard encoding library and / or the matching library, and if the matching fails, performing a word segmentation operation on the name to be encoded to obtain disease terms; Based on the standard coding library and / or the matching library, a matching operation is performed on each of the disease words respectively, the word coding of the disease words is obtained respectively, and all the word codings are used as the target coding; The step of performing a word segmentation operation on the name to be encoded to obtain disease words comprises: Generate a user dictionary based on the standard disease name and the local disease name, and when multiple disease name diagnoses in the local database are merged into one, introduce a Jieba word segmentation module, clear the dictionary of the Jieba word segmentation module, and replace the dictionary of the Jieba word segmentation module with the user dictionary; A synonym dictionary is received, and a word segmentation operation is performed on the name to be encoded based on the user dictionary and the synonym dictionary to obtain the disease term.

2. The medical data correction method according to claim 1, characterized in that: The synonym dictionary includes standard words and synonyms, and the standard words and the synonyms are in a one-to-one or one-to-many association relationship. The step of performing a segmentation operation on the name to be coded based on the user dictionary and the synonym dictionary to obtain the disease term includes: Identify the name to be coded based on the user dictionary, use the words identified by the user dictionary as the disease words, and determine whether there is a field that is not identified by the user dictionary. If so, use the field that is not identified by the user dictionary as the word to be identified; The word to be identified is matched with the synonym, and if the match is successful, the standard word corresponding to the synonym is used as the disease word.

3. The medical data correction method according to claim 1, characterized in that: The step of performing a matching operation on each of the disease words based on the standard coding library and / or the matching library to obtain the word coding of the disease words comprises: The disease word is matched with the standard disease name. If the disease word matches the standard disease name successfully, the standard disease code corresponding to the standard disease name is used as the word code; If the disease word fails to match the standard disease name, the disease word is matched with the local disease name; If the disease word matches the local disease name successfully, the local disease code corresponding to the local disease name is used as the word code.

4. The medical data correction method according to claim 1, characterized in that: The disease names in the local database are cleaned, and the step of obtaining the local disease names includes: Performing a cleaning operation on the disease name based on a preset regular expression and patindex function to obtain an initial disease name; The same initial disease names are merged to obtain the local disease name.

5. The medical data correction method according to claim 1, characterized in that: The step of matching the name to be encoded based on the standard encoding library and / or the matching library to obtain the target encoding comprises: Based on the standard encoding library and / or the matching library, a non-spaced keyword matching operation is performed on the name to be encoded to obtain the target encoding.

6. A medical data correction device, characterized in that: The medical data correction device performs the steps of implementing the medical data correction method according to any one of claims 1 to 5, wherein the medical data correction device comprises: A receiving module, used for receiving disease data transmitted by various medical databases, and storing the disease data in a local database, wherein the disease data includes associated disease names and disease codes; A cleaning module, used for cleaning and merging the disease names in the local database to obtain local disease names; A generation module, used to respectively determine the number of each disease code associated with the local disease name, take the disease code with the largest number as the local disease code, and generate a matching library based on the local disease code and the corresponding local disease name; A correction module is used to receive a standard coding library and medical data, wherein the medical data includes a name to be coded, match the name to be coded based on the standard coding library and / or the matching library, obtain a target code, and associate the target code with the name to be coded, wherein the standard coding library includes one-to-one corresponding standard disease codes and standard disease names.

7. A computer device, characterized in that: It comprises a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the medical data correction method as described in any one of claims 1 to 5 when executing the computer-readable instructions.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, which, when executed by a processor, implement the steps of the medical data correction method according to any one of claims 1 to 5.