Drug data matching method, device, equipment and storage medium

After the drug data is entered, the drug identification information and production information are used successively to query the drug standard database and standardize the specification information, the problem of low matching efficiency of drug data in the existing technology is solved, and more efficient and accurate matching results are achieved.

CN113130038BActive Publication Date: 2025-04-22KANG JIAN INFORMATION TECH (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110484005.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-30
Publication Date
2025-04-22
Estimated Expiration
2041-04-30

AI Technical Summary

Technical Problem

When matching drug standard information in existing drug data entry schemes, the technology is difficult and inefficient.

Method used

After the detection drug entry operation is completed, the identification information, production information and specification information of the entered drug are read, and these information are used as query indexes in turn to check whether there are standard drug data in the drug standard database that meets the preset conditions. If the matching fails, the standard drug data and the specification information of the entered data will be standardized and matched.

Benefits of technology

It improves the accuracy and efficiency of drug data matching, reduces the amount of data processed at one time, and reduces the difficulty of implementation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113130038B_ABST
    Figure CN113130038B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and discloses a drug data matching method, device, equipment and storage medium. By matching the drug identification information in the drug input data from the drug standard library, if no match is found, the drug production information is continued to be used to match from the drug standard library. If a match is found, the specification information in the input data and the matched standard drug data is standardized and then matched. If the match is consistent, it is determined that the input data is successful, otherwise, the match fails. The above method is used to achieve drug data matching. Since two matches are set, the parameter dimensions of each match are different, thereby improving the accuracy of drug data matching correction, while also reducing the amount of data processed at one time, and improving matching efficiency. In addition, the present invention also relates to blockchain technology, and drug data can be stored in the blockchain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a drug data matching method, device, equipment and storage medium. Background Art

[0002] With the development of Internet technology, especially in the medical industry, it is accelerating the realization of intelligent management of medical informationization, and the management of drug information is an important part of the construction of medical informationization. The currently constructed drug database not only contains a large amount of drug inventory data, but also includes various usage information of each drug. When doctors prescribe drugs for patients through the online prescription system, they need to find the corresponding drugs from the database, and even need to select drugs based on the usage information. In actual applications, the drug information in the database is entered manually, which inevitably leads to a lot of mismatch between drug data and standard drugs, resulting in doctors being unable to find matching drugs when prescribing drugs.

[0003] In response to the above problems, the method used in the prior art is to identify erroneous data through artificial intelligence and take certain correction and matching measures. However, such a solution requires the use of a large amount of historical data to train the artificial intelligence to ensure the accuracy of the correction. It is difficult to implement and the efficiency of drug data matching is not high. Summary of the invention

[0004] The main purpose of the present invention is to solve the technical problems of the existing drug data entry scheme being difficult to implement and having low efficiency when matching drug standard information.

[0005] The first aspect of the present invention provides a drug data matching method, which includes: after the drug entry operation is completed, reading the entry data of the entered drug, the entry data at least including drug identification information, drug production information and entry specification information; using the drug identification information and the drug production information as query indexes in turn, querying whether there is standard drug data that meets preset conditions in the drug standard library, and obtaining corresponding query results; if the query result is that there is no standard drug data corresponding to the drug identification information in the drug standard library and there is standard drug data corresponding to the drug production information, extracting the standard specification information of the standard drug data, and standardizing the standard specification information and the entry specification information to obtain standardized specification information; matching the standardized specification information of the standard specification information with the standardized specification information of the entry rule information to obtain a matching result; and outputting the entry result of the drug data according to the matching result.

[0006] Optionally, in a first implementation method of the first aspect of the present invention, the drug identification information includes an identification code and a drug name, and the drug identification information and the drug production information are used as query indexes in turn to query whether there is standard drug data that meets preset conditions in the drug standard library, and the corresponding query results include: using the identification code as the first query index to query whether there is standard drug data with the same identification code in the drug standard library; if there is standard drug data with the same identification code, extracting the standard drug name in the standard drug data and matching it with the entered drug name; if the match is inconsistent, using the drug production information as the second query index to query whether there is standard drug data with the same drug production information in the drug standard library; if there is standard drug data with the same drug production information, outputting the corresponding standard drug data; if there is no standard drug data with the same drug production information, outputting a matching failure prompt message.

[0007] Optionally, in a second implementation manner of the first aspect of the present invention, the drug production information includes an approval number and manufacturer information, and using the drug production information as a second query index to query whether there is standard drug data with the same drug production information in the drug standard library includes: querying whether there is standard drug data with the same approval number in the drug standard library based on the approval number; if there is standard drug data with the same approval number, extracting the standard drug name in the standard drug data and matching it with the entered drug name; if there is no standard drug data with the same approval number, using the manufacturer information as a query index to query whether there is standard drug data with the same manufacturer information in the drug standard library; if there is standard drug data with the same manufacturer information, outputting the corresponding standard drug data; if there is no standard drug data with the same manufacturer information, outputting a matching failure prompt message.

[0008] Optionally, in a third implementation method of the first aspect of the present invention, the standard specification information of the standard drug data is extracted, and the standard specification information and the entered specification information are standardized to obtain the standardized specification information, including: parsing the field names in the entered specification information; identifying the records corresponding to the field names in the standard drug data, and extracting the standard specification information in the records; and according to preset standardization rules, the standard specification information and the entered specification information are standardized respectively to obtain first specification information and second specification information.

[0009] Optionally, in a fourth implementation manner of the first aspect of the present invention, the standardization rules include information parsing rules, data sorting order and data format, and the standardization processing of the standard specification information and the input specification information is performed according to the preset standardization rules to obtain the first specification information and the second specification information, including: determining the information parsing rules corresponding to the specification information according to the field name; parsing the bytes and data in the standard specification information and the input specification information according to the information parsing rules to obtain the first byte set and the first data set of the standard specification information, and the second byte set and the second data set of the input specification information; formatting the data in the first data set and the second data set according to the data format to obtain corresponding new data; sorting the bytes in the first byte set and the second byte set according to the data sorting order to obtain a first byte sequence and a second byte sequence; matching the first byte sequence with the corresponding new data and matching the second byte sequence with the corresponding new data using a regular matching algorithm to obtain the first specification information and the second specification information.

[0010] Optionally, in a fifth implementation of the first aspect of the present invention, the data format includes a unit standard format and a suffix format, and the data in the first data set and the second data set are format converted according to the data format to obtain corresponding new data, including: calling text recognition technology to identify the unit field of each data in the first data set and the second data set; judging whether the unit format in the unit field is consistent with the unit standard format; if inconsistent, converting the unit format according to a conversion formula corresponding to the unit standard format; and adjusting the suffix character of each data according to the suffix format based on the result of the conversion calculation to form corresponding new data.

[0011] Optionally, in a sixth implementation method of the first aspect of the present invention, the outputting of the entry result of the drug data according to the matching result includes: if the matching result is that the specification information after standardization of the standard specification information and the specification information after standardization of the entry rule information are greater than a preset value, the matching degree is exponentially amplified by the following formula to obtain the difference value of the specification information of the non-matching part: difference value = similarity value * log (c / d, n) * e, wherein f is a preset value, c is the compatibility probability, d is the exclusion probability, n is the difference factor number and e is the amplification factor; determining an adjustment strategy for the entered specification information according to the difference value, and adjusting the entered data according to the adjustment strategy based on the standard drug data to obtain complete entered data; after the adjustment is completed, outputting a prompt message indicating that the drug data is successfully corrected.

[0012] The second aspect of the present invention provides a drug data matching device, which includes: a reading module, which is used to read the input data of the entered drug after the drug entry operation is completed, and the input data at least includes drug identification information, drug production information and input specification information; a query module, which is used to use the drug identification information and the drug production information as query indexes in turn to query whether there is standard drug data that meets preset conditions in the drug standard library, and obtain corresponding query results; an extraction module, which is used to extract the standard specification information of the standard drug data if the query result is that there is no standard drug data corresponding to the drug identification information in the drug standard library and there is standard drug data corresponding to the drug production information, and standardize the standard specification information and the input specification information to obtain standardized specification information; a matching module, which is used to match the standardized specification information of the standard specification information with the standardized specification information of the input rule information to obtain a matching result; an output module, which is used to output the entry result of the drug data according to the matching result.

[0013] Optionally, in a first implementation manner of the second aspect of the present invention, the drug identification information includes an identification code and a drug name, and the query module is specifically used to: use the identification code as a first query index to query whether there is standard drug data with the same identification code in the drug standard library; if there is standard drug data with the same identification code, extract the standard drug name in the standard drug data and match it with the entered drug name; if the match is inconsistent, use the drug production information as a second query index to query whether there is standard drug data with the same drug production information in the drug standard library; if there is standard drug data with the same drug production information, output the corresponding standard drug data; if there is no standard drug data with the same drug production information, output a matching failure prompt message.

[0014] Optionally, in a second implementation method of the second aspect of the present invention, the drug production information includes an approval number and manufacturer information, and the query module is specifically used to: query whether there is standard drug data with the same approval number in the drug standard library according to the approval number; if there is standard drug data with the same approval number, extract the standard drug name in the standard drug data and match it with the entered drug name; if there is no standard drug data with the same approval number, use the manufacturer information as the query index to query whether there is standard drug data with the same manufacturer information in the drug standard library; if there is standard drug data with the same manufacturer information, output the corresponding standard drug data; if there is no standard drug data with the same manufacturer information, output a matching failure prompt message.

[0015] Optionally, in a third implementation of the second aspect of the present invention, the extraction module includes: a parsing unit, used to parse the field names in the input specification information; an extraction unit, used to identify the records corresponding to the field names in the standard drug data, and extract the standard specification information in the records; a standardization processing unit, used to perform standardization processing on the standard specification information and the input specification information according to preset standardization rules, respectively, to obtain first specification information and second specification information.

[0016] Optionally, in a fourth implementation manner of the second aspect of the present invention, the standardization rules include information parsing rules, data sorting order and data format, and the standardization processing unit is specifically used to: determine the information parsing rules corresponding to the specification information according to the field name; according to the information parsing rules, parse the bytes and data in the standard specification information and the input specification information respectively to obtain the first byte set and the first data set of the standard specification information, and the second byte set and the second data set of the input specification information; according to the data format, format convert the data in the first data set and the second data set respectively to obtain corresponding new data; according to the data sorting order, sort the bytes in the first byte set and the second byte set respectively to obtain a first byte sequence and a second byte sequence; use a regular matching algorithm to match the first byte sequence with the corresponding new data, and match the second byte sequence with the corresponding new data to obtain the first specification information and the second specification information.

[0017] Optionally, in a fifth implementation of the second aspect of the present invention, the data format includes a unit standard format and a suffix format, and the standardization processing unit is specifically used to: call text recognition technology to identify the unit field of each data in the first data set and the second data set; determine whether the unit format in the unit field is consistent with the unit standard format; if inconsistent, convert the unit format according to the conversion formula corresponding to the unit standard format; based on the result of the conversion calculation, adjust the suffix character of each data according to the suffix format to form corresponding new data.

[0018] Optionally, in a sixth implementation manner of the second aspect of the present invention, the output module includes: a calculation unit, which is used to exponentially amplify the matching degree to obtain the difference value of the specification information of the non-matching part if the matching result is that the specification information after standardization of the standard specification information and the specification information after standardization of the entry rule information are greater than a preset value through the following formula: difference value = similarity value*log(c / d, n)*e, wherein f is a preset value, c is the compatibility probability, d is the exclusion probability, n is the difference factor number and e is the amplification factor; an adjustment unit, which is used to determine the adjustment strategy of the entered specification information according to the difference value, and adjust the entered data according to the adjustment strategy based on the standard drug data to obtain complete entered data; an output unit, which is used to output a prompt message of successful correction of the drug data after the adjustment is completed.

[0019] The third aspect of the present invention provides a drug data matching device, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the drug data matching device executes the above-mentioned drug data matching method.

[0020] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned drug data matching method.

[0021] In the technical solution of the present invention, the drug identification information in the drug input data is matched from the drug standard library. If no match is found, the drug production information is continued to be used to match from the drug standard library. If a match is found, the specification information in the input data and the matched standard drug data is standardized and then matched. If the match is consistent, it is determined that the input data is successful. Otherwise, the match fails. The matching of drug data is achieved by the above method. Since two matches are set, the parameter dimensions of each match are different, thereby improving the accuracy of drug data matching and correction, while also reducing the amount of data processed at one time and improving matching efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 This is a schematic diagram of a first embodiment of a drug data matching method in an embodiment of the present invention;

[0023] Figure 2 Schematic diagram of a second embodiment of the drug data matching method in an embodiment of the present invention;

[0024] Figure 3 Schematic diagram of a third embodiment of the drug data matching method in an embodiment of the present invention;

[0025] Figure 4Schematic diagram of a fourth embodiment of the drug data matching method in an embodiment of the present invention;

[0026] Figure 5 A schematic diagram of an embodiment of a drug data matching device in an embodiment of the present invention;

[0027] Figure 6 It is a schematic diagram of another embodiment of the drug data matching device in the embodiment of the present invention;

[0028] Figure 7 A schematic diagram of an embodiment of a drug data matching device in an embodiment of the present invention;

[0029] Figure 8 A matching schematic diagram of the standardized processing provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0030] The embodiments of the present invention provide a drug data matching method, device, equipment and storage medium, which improves the matching accuracy of drug data by setting multiple rounds of drug data matching. First, the drug identification information in the drug input data is matched from the drug standard library. If no match is found, the drug production information is continued to be matched from the drug standard library. If a match is found, the specification information in the input data and the matched standard drug data is standardized and then matched. If the match is consistent, it is determined that the input data is successful. Otherwise, the match fails. The drug data is matched using the above method. Since two matches are set, the parameter dimensions of each match are different, thereby improving the accuracy of drug data matching correction, while also reducing the amount of data processed at one time, thereby improving matching efficiency. The difficulty of implementing matching in two rounds is much less than the difficulty of one-time matching in the prior art.

[0031] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0032] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1The first embodiment of the drug data matching method in the embodiment of the present invention is mainly used to match offline drug data, and check whether the drug data entered offline meets the standard drug data. In practical applications, the entered drug data can also be corrected according to the matching results of the method. The method can even be used for the use of offline matched drugs after online prescription. Specifically, the implementation steps of the method are as follows:

[0033] 101. After the test drug input operation is completed, read the drug identification information, drug production information and input specification information of the entered drug;

[0034] In this embodiment, the drug entry operation can be understood as the user's operation of entering offline drugs into the warehouse. Through this entry operation, the symptom information, specification parameters, drug identification code, drug name and other information of the offline drugs are entered into the drug database to facilitate the doctor's use of online prescription drugs.

[0035] In this step, each time the user manually enters the data of the drugs to be entered into the medicine management system, specifically enters various data of the drugs in the entry interface of the drug management system. When it is detected that the user clicks the confirmation button or the submit button in the entry interface, it is determined that the drug entry operation is completed, and the text recognition gadget is started to parse the text in the entry interface to obtain the entry data of the drug.

[0036] In actual applications, after the user clicks the confirm or submit button, the drug data is directly converted into a drug record and stored in the background database. At this time, by triggering the data acquisition applet, the currently updated data record is read from the background database, and the drug entry data is parsed from the data record.

[0037] 102. Using the drug identification information and the drug production information as query indexes in turn, query whether there is standard drug data that meets the preset conditions in the drug standard library, and obtain corresponding query results;

[0038] In this embodiment, the drug standard library stores standard data of all drugs or standard parameters of various drugs. The standard parameters can be understood as different specification parameters of the same drug.

[0039] In this step, when querying, the drug identification information is first queried. When the drug identification information cannot be found, the drug production information is used for a second query. When both queries fail to find the result, the query result is output as a match failure. If at least one of the two information can query the corresponding standard drug data, the query result is output as a match success or successful drug data entry.

[0040] In this embodiment, the preset condition includes that the similarity between the query index and the drug identification information or drug production information in the drug standard library reaches a preset similarity, or the sum of the similarities of the two reaches a preset similarity sum, or even one of the two is exactly the same.

[0041] In actual applications, when querying whether there is standard drug data that meets the preset conditions in the drug standard library, the query is specifically performed through parameter matching, that is, first matching the drug identification information with the standard drug data with similar drug identification information in the drug standard library. If there is a similar one and the calculated similarity reaches the preset empirical value, the drug identification information is matched for integrity. If the match is exactly the same, the corresponding standard drug data is directly output; if the match is completely different, it jumps to using the drug production information for another match, and the matching principle is the same as that of the drug identification information.

[0042] When neither the drug identification information nor the drug production information can be found to be exactly the same, the similarity between the two corresponding to the standard drug data is calculated, and the two similarities are added to determine whether the total similarity reaches the preset empirical value. If so, the drug name in the standard drug data is obtained for matching. If the name matches exactly the same, the standard drug data is output. If the total similarity does not reach the preset empirical value or the name does not match, the query failure or matching failure is output.

[0043] 103. If the query result shows that there is no standard drug data corresponding to the drug identification information in the drug standard database and there is standard drug data corresponding to the drug production information, extract the standard specification information of the standard drug data, and standardize the standard specification information and the input specification information to obtain standardized specification information;

[0044] In this step, before extracting the standard specification information from the standard drug data, it also includes parsing the corresponding specification field name from the input specification information in the input data, extracting the standard specification information from the standard drug data based on the specification field name, and then using the standardization conversion rules to standardize the standard specification information and the input specification information. In actual applications, the standardization processing includes de-noising, parameter standardization processing, unit standardization processing and data format standardization processing.

[0045] In this embodiment, the standardization process specifically includes separately parsing the standard specification information and the input specification information, extracting the various indicators and parameters in the standard specification information and the input specification information, wherein during the extraction, the extraction is performed according to the presentation format in the standard specification information or the input specification information, and after the extraction is completed, the format of the extracted indicators and parameters is compared with the data format set in the standardization conversion rule, if they are consistent, continue to extract other indicators and parameters for comparison; if they are inconsistent, convert them according to the set data format using the standardization conversion rule to obtain the standardized specification information.

[0046] In this embodiment, if the query result is that there is standard drug data that matches the drug identification information, the drug name in the input data and the drug name in the standard drug data are obtained for matching. If the two matches are consistent, a prompt message of successful matching is output. If the two matches are inconsistent, a query is performed from the standard library based on the drug production information, and whether to execute the standardization processing steps of the specification information is selected based on the query results.

[0047] 104. Matching the standardized specification information of the standard specification information with the standardized specification information of the input rule information to obtain a matching result;

[0048] In this step, the specification information after standardization of the standard specification information is recorded as the first specification information, and the specification information after standardization of the input specification information is recorded as the second specification information. When matching the first specification information and the second specification information, they are matched one by one according to the field information in the two, and the matching status of each field information is recorded. Then, the degree of matching between the first specification information and the second specification information, that is, the matching value, is calculated according to the matching status of each field information, and the matching result is generated based on the matching value.

[0049] In actual applications, the matching results include three situations: match, mismatch and match reaching a preset value. After this step, it also includes determining an adjustment strategy according to the matching results and adjusting the input data based on the adjustment strategy.

[0050] Furthermore, it is also possible to determine whether the entered drug and the standard drug are the same drug based on the matching result, and use the matching result for subsequent drug collection.

[0051] 105. Output the input result of the drug data according to the matching result.

[0052] In this embodiment, the entry result is determined based on the actual application. For example, when prescribing medicine online, the entry result is whether the offline medicine selected by the doctor matches the standard medicine for the symptom. Another example is the medicine warehousing operation. The entry result at this time is whether the entered medicine data is the same as the standard medicine data in the standard library.

[0053] Through the implementation of the above method, the drug identification information and drug production information in the input data of the drug entry are queried and matched from the drug standard library in turn. After two queries and matches, the specification information is standardized. After the standardized processing, the matching result of the drug data is determined, thereby determining the entry result of the drug data. Based on this method, the matching process is divided into many parts, which simplifies the complexity of the matching process and improves the matching efficiency.

[0054] Furthermore, the implementation of the above solution does not require the construction of hardware resources, and multiple matching executions can be performed in the existing system, which simplifies the implementation process and facilitates the implementation of AI.

[0055] See also Figure 2 The second embodiment of the drug data matching method in the embodiment of the present invention includes:

[0056] 201, after the test drug input operation is completed, the drug identification information, drug production information and input specification information of the input drug are read;

[0057] In this step, the drug identification information can be an identification code or a drug name. The identification code refers to a code number used to identify a drug, such as a QR code, a one-dimensional code, and a 69 code. When entering drug data, the user can scan the identification code with a barcode scanner to parse out the drug name and production information, or generate a string of digital symbols.

[0058] 202, using the identification code as a first query index, querying whether there is standard drug data with the same identification code in the drug standard library;

[0059] In this embodiment, the drug name and production information take digital symbols as an example. After the digital symbols are parsed by scanning the code, the corresponding data symbols are queried from the drug annotation library based on the digital symbols. If the same digital symbols are queried, it is determined that similar standard drug data exist in the drug standard library, and then the drug names in the two are extracted for matching. Specifically, after the digital symbols are identified, the identification code is further parsed to obtain the name of the entered drug; if the match is consistent, it is determined that the same standard drug data exists. If the match is inconsistent, the query is continued with the drug production information as the index.

[0060] 203, if there is standard drug data with the same identification code, extract the standard drug name in the standard drug data and match it with the entered drug name;

[0061] In this embodiment, when extracting the name of the standard drug, the identification code of the standard drug data is scanned and identified by the background through OCR technology. The optional identification code is 69 code. The corresponding standard drug name is extracted through the 69 code, and then it is matched with the drug name in the entered data.

[0062] In actual applications, when matching drug names, it includes the recognition of text and special symbols. In the text recognition process, specifically, the OCR recognition technology is first used to recognize the text of the drug name. After obtaining the text information, the image processing technology is used to recognize the shape corresponding to the text information, as well as the special symbols in the drug name. Then, the text information recognized from the standard drug name and the entered drug name, the shape corresponding to the text information, and the special symbols are matched with each other to obtain a matching result. The matching result includes inconsistency and consistency. The consistent situation also includes the matching degree reaching a preset experience value and being completely identical.

[0063] 204, if the match is inconsistent, using the drug production information as a second query index to query whether there is standard drug data with the same drug production information in the drug standard library;

[0064] In this embodiment, after the drug name match is inconsistent, the matching process is returned, and this time the match is to re-execute the query program with the drug production information as the index, specifically to query whether there are fields in the drug standard library with the same field content as the drug production information. If so, it is determined that the same standard drug data exists, otherwise it is not.

[0065] In actual application, when the drug production information includes the approval number and manufacturer information, this step is specifically implemented as follows:

[0066] According to the approval number, query whether there is standard drug data with the same approval number in the drug standard library;

[0067] If there is standard drug data with the same approval number as the approval document, extract the standard drug name in the standard drug data and match it with the entered drug name;

[0068] If there is no standard drug data with the same approval number, the manufacturer information is used as a query index to query whether there is standard drug data with the same manufacturer information in the drug standard library;

[0069] If there is standard drug data with the same manufacturer information, the corresponding standard drug data is output;

[0070] If there is no standard drug data with the same manufacturer information, a matching failure prompt message will be output.

[0071] In this embodiment, the query is performed based on the drug production information, which is specifically divided into two rounds of queries. The first round is based on the approval number, which is the sales batch number of the same drug. The batch number is used to query and determine whether there is the same drug data. Optionally, when matching the approval number during the query process, the specific content of different bytes in the approval number is specifically through. If the content of the first N-2 bytes in the approval number is consistent, it is determined that the drug data is consistent with the standard drug data. Otherwise, it is inconsistent, and the matching process of the manufacturer information is executed.

[0072] In actual applications, when using name and manufacturer matching, although the data of these two are very accurate, there may still be certain human errors. Data preprocessing (replacing punctuation marks, deleting bracket descriptions, and using data dictionary mapping) can be used to increase the matching rate.

[0073] 205, if there is standard drug data with the same drug production information, output the corresponding standard drug data;

[0074] In this step, if the same standard drug data exists, specifically, when it is determined that the similarity of each specific content in the drug production information is more than 90%, it is determined that the same standard drug data exists, and then the standard drug data is output.

[0075] Furthermore, the input drug data is adjusted based on the output standard drug data.

[0076] 206, if there is no standard drug data with the same drug production information, output a matching failure prompt message;

[0077] In this step, the output matching failure prompt information can be displayed in a prompt box in the input interface of the medicine management system, or a prompt sound can be sent. Even in the scenario of online prescription, all parameters and usage precautions for the drug in the prescription can be directly deleted.

[0078] 207. If the query result is that the standard drug data corresponding to the drug identification information does not exist in the drug standard database and the standard drug data corresponding to the drug production information exists, extract the standard specification information of the standard drug data, and perform standardization processing on the standard specification information and the input specification information to obtain standardized specification information;

[0079] 208, matching the standardized specification information of the standard specification information with the standardized specification information of the input rule information to obtain a matching result;

[0080] 209. Output the input result of the drug data according to the matching result.

[0081] Through the implementation of the above method, the parameter dimensions of each match are different, thereby improving the accuracy of drug data matching and correction, while also reducing the amount of data processed at one time and improving matching efficiency. The difficulty of implementing matching in two rounds is much less than the difficulty of one-time matching in the prior art.

[0082] See also Figure 3 , a third embodiment of the drug data matching method in the embodiment of the present invention includes:

[0083] 301. After the test drug entry operation is completed, read the drug identification information, drug production information and entry specification information of the entered drug;

[0084] 302. Using the drug identification information and the drug production information as query indexes in sequence, query whether there is standard drug data that meets the preset conditions in the drug standard library, and obtain corresponding query results;

[0085] 303. If the query result is that there is no standard drug data corresponding to the drug identification information in the drug standard library and there is standard drug data corresponding to the drug production information, parse the field name in the input specification information;

[0086] 304, identifying a record corresponding to the field name in the standard drug data, and extracting standard specification information in the record;

[0087] 305, performing standardization processing on the standard specification information and the input specification information according to a preset standardization rule to obtain first specification information and second specification information;

[0088] In this embodiment, the standardization here can be specifically understood as unifying the format of the input specification information and the specification information queried in the standard library, and matching based on the unified format, which will be more accurate. The specific standardization rules include information parsing rules, data sorting order and data format. According to the preset standardization rules, the standard specification information and the input specification information are standardized respectively, and the first specification information and the second specification information are obtained, including:

[0089] Determine an information parsing rule corresponding to the specification information according to the field name;

[0090] According to the information parsing rule, the bytes and data in the standard specification information and the input specification information are parsed respectively to obtain a first byte set and a first data set of the standard specification information, and a second byte set and a second data set of the input specification information;

[0091] According to the data format, format conversion is performed on the data in the first data set and the second data set respectively to obtain corresponding new data;

[0092] sorting the bytes in the first byte set and the second byte set respectively according to the data sorting order to obtain a first byte sequence and a second byte sequence;

[0093] The first byte sequence is matched with the corresponding new data, and the second byte sequence is matched with the corresponding new data by using a regular matching algorithm to obtain first specification information and second specification information.

[0094] In practical applications, the implementation of standardization of specification information is as follows:

[0095] First, special character or unit replacement is performed.

[0096] The replacement dictionary can be found as follows:

[0097] milligram = mg, milligram = mg, microgram = μg, ug = μg, microgram = μg, gram = g, milliliter = ml, milliliter = ml, liter = l, international unit = IU, ten thousand units = MU, ten thousand U = MU, grain = s, tablet = s, pill = s, package = s, bag = s, press = s, spray = s, plate = s, small s = s, small box = s, box = s, millimeter = mm, centimeter = cm, CM =cm,sheet=s,stick=s,plate=s,granule=s,sheet=s,pill=s,bottle=s,press=s,spray=s,stick=s,piece=s,piece=s,block=s,sheet=s,stick=s,`S=s,`s=s,T=s,D=s,'s=s,'S=s,P=s,p=s,T=s,t=s,x=*,×=*,:=:, / =:,(=(,)=)

[0098] Then, convert all to lowercase.

[0099] For example, MG is converted to mg, and ML is converted to ml.

[0100] Furthermore, each regular expression conversion rule configured is matched from top to bottom, and if one is found, it is applied.

[0101] Such as "([0-9\\.]+)(mu|g|ml|l|mg|μg|ug)([: / ])([0-9\\.]+)(mu|g|ml|l|mg|μg|ug)([x\\*:])([0-9]+)[\\*]? (s):= <va> <vb> <vc> <vd> <ve> <vf> <vg> <vh>"Based on this rule, decomposition and standardized matching are performed to form the following Figure 8 The decomposition diagram shown in the figure is then matched with the preset standardized table, and the matching results are shown in the following table:

[0102]

[0103] The corresponding group numbers are sorted alphabetically. The value after the := symbol is the position of the value corresponding to each group after standardization. In this example, va to vh are arranged in sequence. In other scenarios, the value corresponding to a certain group will be placed in front.

[0104] As above, the manual input such as "11.1mg / 12ml:9*sAdditional instructions" will eventually be converted into the format of "11.1mg / 12ml:9*s". <va> <vb> <vc> <vd> <ve> <vf> <vg> <vh>" is a rearrangement of the extracted important data. If you think "11.1mg / 12ml:9*s" is equivalent to "11.1mg:12ml:9*s", then you can change the format to " <va> <vb> : <vd> <ve> <vf> <vg> <vh>”, so that the final conversion results of the two will be exactly the same.

[0105] Finally, suffix processing and unit conversion are implemented as follows:

[0106] The data format includes a unit standard format and a suffix format. According to the data format, format conversion is performed on the data in the first data set and the second data set respectively to obtain corresponding new data, including:

[0107] Invoking a text recognition technology to identify a unit field of each data in the first data set and the second data set;

[0108] Determining whether the unit format in the unit field is consistent with the unit standard format;

[0109] If they are inconsistent, the unit format is converted and calculated according to the conversion formula corresponding to the unit standard format;

[0110] Based on the result of the conversion calculation, the suffix characters of each data are adjusted according to the suffix format to form corresponding new data.

[0111] The tail of the standardized character may be in the form of 2*3s or 16ml*1s, and will be simplified to 6s or 16ml.

[0112] Note: Currently, only the special characters at the end will be simplified, and the ones in the middle will not be changed. For example, 16ml*1s*3s is the final form and will not be simplified.

[0113] Unit conversion, for example 1g=1000mg, 1L=1000ml, etc., convert all units to the smallest unit.

[0114] 306. Matching the standardized specification information of the standard specification information with the standardized specification information of the input rule information to obtain a matching result;

[0115] 307. Output the input result of the drug data according to the matching result.

[0116] In summary, the method provided in the above embodiment realizes the matching of drug data. Since two matches are set, the parameter dimensions of each match are different, thereby improving the accuracy of drug data matching and correction, while also reducing the amount of data processed at one time and improving the matching efficiency. The difficulty of implementing matching in two rounds is much less than the difficulty of one-time matching in the prior art.

[0117] See also Figure 4 The fourth embodiment of the drug data matching method in the embodiment of the present invention includes:

[0118] 401, after the test drug entry operation is completed, the drug identification information, drug production information and entry specification information of the entered drug are read;

[0119] 402, using the drug identification information and the drug production information as query indexes in sequence, querying whether there is standard drug data that meets the preset conditions in the drug standard library, and obtaining corresponding query results;

[0120] 403, if the query result is that the standard drug data corresponding to the drug identification information does not exist in the drug standard library and the standard drug data corresponding to the drug production information exists, extract the standard specification information of the standard drug data, and standardize the standard specification information and the input specification information to obtain the standardized specification information;

[0121] 404, matching the standardized specification information with the standardized specification information of the input rule information to obtain a matching result;

[0122] 405, if the matching result is that the matching degree between the specification information after the standardization of the standard specification information and the specification information after the standardization of the input rule information is greater than the preset value, the matching degree is exponentially amplified by the following formula to obtain the difference value of the specification information of the unmatched part;

[0123] In this step, the difference value = similarity value * log (c / d, n) * e

[0124] Among them, f is the preset value, c is the compatibility probability, d is the exclusion probability, n is the number of difference factors and e is the amplification factor.

[0125] 406, determining an adjustment strategy for the input specification information according to the difference value, and adjusting the input data according to the adjustment strategy based on the standard drug data to obtain complete input data;

[0126] 407. After the adjustment is completed, a prompt message indicating that the drug data has been successfully corrected is output.

[0127] In practical applications, the setting of the preset value can be determined by sorting out a large amount of offline data and summarizing the experience of many senior doctors. The matching result here can be achieved by matching online standard drugs based on specific information in the drug data. The overall implementation process can be as follows:

[0128] First, match the standard medicine according to the 69 code and the medicine name. Because the 69 code is a standard number, if the standard medicine can be found in combination with the name, then the data found must be a match, and the input error in the 69 code can be eliminated by matching the name.

[0129] If the previous round of matching fails, the approval number and name will be used again to search for drugs. Because the approval number and name may find multiple drugs, the specifications of all drugs need to be standardized before matching (how to standardize will be explained later). In other words, this round uses the approval number, name, and specification to match standard drugs.

[0130] If the third step of matching fails, the manufacturer name and name will be used to search for drugs. Because the manufacturer and name may find multiple drugs, the specifications of all drugs need to be standardized before matching (how to standardize will be explained later). In other words, this round uses the manufacturer, name, and specification to match standard drugs.

[0131] Through the implementation of the above method, the parameter dimensions of each match are different, thereby improving the accuracy of drug data matching and correction, while also reducing the amount of data processed at one time and improving matching efficiency. The difficulty of implementing matching in two rounds is much less than the difficulty of one-time matching in the prior art.

[0132] The above describes the drug data matching method in the embodiment of the present invention. The following describes the drug data matching device in the embodiment of the present invention. Figure 5 An embodiment of the drug data matching device in the embodiment of the present invention includes:

[0133] The reading module 501 is used to read the input data of the input drug after the input operation of the detected drug is completed, and the input data at least includes drug identification information, drug production information and input specification information;

[0134] A query module 502 is used to sequentially use the drug identification information and the drug production information as query indexes to query whether there is standard drug data that meets the preset conditions in the drug standard library, and obtain corresponding query results;

[0135] The extraction module 503 is used to extract the standard specification information of the standard drug data if the query result is that there is no standard drug data corresponding to the drug identification information in the drug standard library and there is standard drug data corresponding to the drug production information, and to perform standardization processing on the standard specification information and the input specification information to obtain standardized specification information;

[0136] A matching module 504, configured to match the standardized specification information of the standard specification information with the standardized specification information of the input rule information to obtain a matching result;

[0137] The output module 505 is used to output the input result of the drug data according to the matching result.

[0138] In an embodiment of the present invention, the matching accuracy of drug data is improved by setting multiple rounds of drug data matching. First, the drug identification information in the drug input data is matched from the drug standard library. If no match is found, the drug production information is continued to be matched from the drug standard library. If a match is found, the specification information in the input data and the matched standard drug data is standardized and then matched. If the match is consistent, it is determined that the input data is successful. Otherwise, the match fails. The matching of drug data is achieved by the above method. Since two matches are set, the parameter dimensions of each match are different, thereby improving the accuracy of drug data matching correction, while also reducing the amount of data processed at one time and improving matching efficiency.

[0139] See also Figure 6 Another embodiment of the drug data matching device in the embodiment of the present invention includes:

[0140] The reading module 501 is used to read the input data of the input drug after the input operation of the detected drug is completed, and the input data at least includes drug identification information, drug production information and input specification information;

[0141] A query module 502 is used to sequentially use the drug identification information and the drug production information as query indexes to query whether there is standard drug data that meets the preset conditions in the drug standard library, and obtain corresponding query results;

[0142] The extraction module 503 is used to extract the standard specification information of the standard drug data if the query result is that there is no standard drug data corresponding to the drug identification information in the drug standard library and there is standard drug data corresponding to the drug production information, and to perform standardization processing on the standard specification information and the input specification information to obtain standardized specification information;

[0143] A matching module 504, configured to match the standardized specification information of the standard specification information with the standardized specification information of the input rule information to obtain a matching result;

[0144] The output module 505 is used to output the input result of the drug data according to the matching result.

[0145] In this embodiment, the drug identification information includes an identification code and a drug name, and the query module 502 is specifically used to:

[0146] Using the identification code as a first query index, query whether there is standard drug data with the same identification code in the drug standard library;

[0147] If there is standard drug data with the same identification code, extract the standard drug name in the standard drug data and match it with the entered drug name;

[0148] If the match is inconsistent, the drug production information is used as the second query index to query whether there is standard drug data with the same drug production information in the drug standard library;

[0149] If there is standard drug data with the same drug production information, the corresponding standard drug data is output;

[0150] If there is no standard drug data with the same drug production information, a matching failure prompt message will be output.

[0151] In this embodiment, the drug production information includes the approval number and manufacturer information, and the query module 502 is specifically used to:

[0152] According to the approval number, query whether there is standard drug data with the same approval number in the drug standard library;

[0153] If there is standard drug data with the same approval number as the approval document, extract the standard drug name in the standard drug data and match it with the entered drug name;

[0154] If there is no standard drug data with the same approval number, the manufacturer information is used as a query index to query whether there is standard drug data with the same manufacturer information in the drug standard library;

[0155] If there is standard drug data with the same manufacturer information, the corresponding standard drug data will be output; if there is no standard drug data with the same manufacturer information, a matching failure prompt message will be output.

[0156] Wherein, the extraction module 503 includes:

[0157] A parsing unit 5031, used for parsing the field names in the input specification information;

[0158] An extraction unit 5032, used to identify the record corresponding to the field name in the standard drug data, and extract the standard specification information in the record;

[0159] The standardization processing unit 5033 is used to perform standardization processing on the standard specification information and the input specification information according to preset standardization rules to obtain first specification information and second specification information.

[0160] In this embodiment, the standardization rules include information parsing rules, data sorting order and data format, and the standardization processing unit 5033 is specifically used to:

[0161] Determine an information parsing rule corresponding to the specification information according to the field name;

[0162] According to the information parsing rule, respectively parse the bytes and data in the standard specification information and the input specification information to obtain a first byte set and a first data set of the standard specification information, and a second byte set and a second data set of the input specification information;

[0163] According to the data format, format conversion is performed on the data in the first data set and the second data set respectively to obtain corresponding new data;

[0164] sorting the bytes in the first byte set and the second byte set respectively according to the data sorting order to obtain a first byte sequence and a second byte sequence;

[0165] The first byte sequence is matched with the corresponding new data, and the second byte sequence is matched with the corresponding new data by using a regular matching algorithm to obtain first specification information and second specification information.

[0166] In this embodiment, the data format includes a unit standard format and a suffix format, and the standardization processing unit 5033 is specifically used to:

[0167] Invoking a text recognition technology to identify a unit field of each data in the first data set and the second data set;

[0168] Determining whether the unit format in the unit field is consistent with the unit standard format;

[0169] If they are inconsistent, the unit format is converted and calculated according to the conversion formula corresponding to the unit standard format;

[0170] Based on the result of the conversion calculation, the suffix characters of each data are adjusted according to the suffix format to form corresponding new data.

[0171] Wherein, the output module 505 includes:

[0172] The calculation unit 5051 is used to exponentially amplify the matching degree by the following formula to obtain the difference value of the specification information of the non-matching part if the matching result is that the matching degree of the specification information after the standard specification information is standardized and the specification information after the input rule information is standardized is greater than a preset value:

[0173] Difference value = similarity value * log (c / d, n) * e,

[0174] Among them, f is the preset value, c is the compatibility probability, d is the exclusion probability, n is the number of difference factors and e is the amplification factor;

[0175] An adjustment unit 5052, configured to determine an adjustment strategy for the input specification information according to the difference value, and adjust the input data according to the adjustment strategy based on the standard drug data to obtain complete input data;

[0176] The output unit 5053 is used to output a prompt message indicating that the drug data has been successfully corrected after the adjustment is completed.

[0177] Through the implementation of the above method, the drug identification information and drug production information in the input data of the drug entry are queried and matched from the drug standard library in turn. After two queries and matches, the specification information is standardized. After the standardized processing, the matching result of the drug data is determined, thereby determining the entry result of the drug data. Based on this method, the matching process is divided into many parts, which simplifies the complexity of the matching process and improves the matching efficiency.

[0178] Furthermore, the implementation of the above solution does not require the construction of hardware resources, and multiple matching executions can be performed in the existing system, which simplifies the implementation process and facilitates the implementation of AI.

[0179] See also Figure 7 , an embodiment of the drug data matching device in an embodiment of the present invention is described in detail below from the perspective of hardware processing.

[0180] Figure 7 : is a structural diagram of a drug data matching device provided by an embodiment of the present invention. The drug data matching device 700 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 710 (for example, one or more processors) and a memory 720, and one or more storage media 730 (for example, one or more massive storage devices) storing application programs 733 or data 732. Among them, the memory 720 and the storage medium 730 can be short-term storage or permanent storage. The program stored in the storage medium 730 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the routing-based user demand prediction device 700. Furthermore, the processor 710 can be configured to communicate with the storage medium 730 to execute a series of instruction operations in the storage medium 730 on the drug data matching device 700.

[0181] The drug data matching device 700 may also include one or more power supplies 740, one or more wired or wireless network interfaces 750, one or more input and output interfaces 760, and / or one or more operating systems 731, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 7 The structure of the drug data matching device shown does not constitute a limitation on the drug data matching device, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0182] The blockchain referred to in this invention is a new application mode 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 of which contains a batch of 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.

[0183] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the drug data matching method.

[0184] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0185] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0186] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.< / vh> < / vg> < / vf> < / ve> < / vd> < / vb> < / va> < / vh> < / vg> < / vf> < / ve> < / vd> < / vc> < / vb> < / va> < / vh> < / vg> < / vf> < / ve> < / vd> < / vc> < / vb> < / va>

Claims

1. A drug data matching method, characterized in that: The drug data matching method comprises: After the drug input operation is completed, the input data of the drug is read, and the input data at least includes drug identification information, drug production information and input specification information; Using the drug identification information and the drug production information as query indexes in sequence, query whether there is standard drug data that meets the preset conditions in the drug standard library, and obtain corresponding query results; If the query result is that there is no standard drug data corresponding to the drug identification information in the drug standard library and there is standard drug data corresponding to the drug production information, extracting standard specification information of the standard drug data, and standardizing the standard specification information and the input specification information to obtain standardized specification information; The extracting of the standard specification information of the standard drug data and standardizing the standard specification information and the input specification information to obtain the standardized specification information includes: Parsing the field names in the input specification information; Identifying a record corresponding to the field name in the standard drug data, and extracting standard specification information in the record; According to preset standardization rules, the standard specification information and the input specification information are respectively standardized to obtain first specification information and second specification information, wherein the standardization rules include information parsing rules, data sorting order and data format; Matching the standardized specification information of the standard specification information with the standardized specification information of the input rule information to obtain a matching result; The entry result of the drug data is output according to the matching result.

2. The drug data matching method according to claim 1, characterized in that: The drug identification information includes an identification code and a drug name. The drug identification information and the drug production information are used as query indexes in sequence to query whether there is standard drug data that meets the preset conditions in the drug standard library, and the corresponding query results include: Using the identification code as a first query index, query whether there is standard drug data with the same identification code in the drug standard library; If there is standard drug data with the same identification code, extract the standard drug name in the standard drug data and match it with the entered drug name; If the match is inconsistent, the drug production information is used as the second query index to query whether there is standard drug data with the same drug production information in the drug standard library; If there is standard drug data with the same drug production information, the corresponding standard drug data is output; If there is no standard drug data with the same drug production information, a matching failure prompt message will be output.

3. The drug data matching method according to claim 2, characterized in that: The drug production information includes the approval number and the manufacturer information. The query of whether there is standard drug data with the same drug production information in the drug standard library using the drug production information as the second query index includes: According to the approval number, query whether there is standard drug data with the same approval number in the drug standard library; If there is standard drug data with the same approval number as the approval document, extract the standard drug name in the standard drug data and match it with the entered drug name; If there is no standard drug data with the same approval number, the manufacturer information is used as a query index to query whether there is standard drug data with the same manufacturer information in the drug standard library; If there is standard drug data with the same manufacturer information, the corresponding standard drug data is output; If there is no standard drug data with the same manufacturer information, a matching failure prompt message will be output.

4. The drug data matching method according to claim 1, characterized in that: The standardization rules include information parsing rules, data sorting order and data format. The standard specification information and the input specification information are standardized according to the preset standardization rules to obtain the first specification information and the second specification information, including: Determine an information parsing rule corresponding to the specification information according to the field name; According to the information parsing rule, respectively parse the bytes and data in the standard specification information and the input specification information to obtain a first byte set and a first data set of the standard specification information, and a second byte set and a second data set of the input specification information; According to the data format, format conversion is performed on the data in the first data set and the second data set respectively to obtain corresponding new data; sorting the bytes in the first byte set and the second byte set respectively according to the data sorting order to obtain a first byte sequence and a second byte sequence; The first byte sequence is matched with the corresponding new data, and the second byte sequence is matched with the corresponding new data by using a regular matching algorithm to obtain first specification information and second specification information.

5. The drug data matching method according to claim 4, characterized in that: The data format includes a unit standard format and a suffix format. According to the data format, format conversion is performed on the data in the first data set and the second data set respectively to obtain corresponding new data, including: Invoking a text recognition technology to identify a unit field of each data in the first data set and the second data set; Determining whether the unit format in the unit field is consistent with the unit standard format; If they are inconsistent, the unit format is converted and calculated according to the conversion formula corresponding to the unit standard format; Based on the result of the conversion calculation, the suffix characters of each data are adjusted according to the suffix format to form corresponding new data.

6. The drug data matching method according to claim 1, characterized in that: Outputting the input result of the drug data according to the matching result includes: If the matching result is that the matching degree between the specification information after the standard specification information is standardized and the specification information after the input rule information is standardized is greater than a preset value, the matching degree is exponentially amplified by the following formula to obtain the difference value of the specification information of the non-matching part: Difference value = similarity value * log (c / d, n) * e, Among them, f is the preset value, c is the compatibility probability, d is the exclusion probability, n is the number of difference factors and e is the amplification factor; Determining an adjustment strategy for the input specification information according to the difference value, and adjusting the input data according to the adjustment strategy based on the standard drug data to obtain complete input data; After the adjustment is completed, a prompt message indicating that the drug data has been successfully corrected is output.

7. A drug data matching device, characterized in that: The drug data matching device comprises: A reading module, used to read the input data of the input drug after the input operation of the detected drug is completed, wherein the input data at least includes drug identification information, drug production information and input specification information; A query module, used to sequentially use the drug identification information and the drug production information as query indexes to query whether there is standard drug data that meets preset conditions in the drug standard library, and obtain corresponding query results; an extraction module, for extracting standard specification information of the standard drug data if the query result is that there is no standard drug data corresponding to the drug identification information in the drug standard library and there is standard drug data corresponding to the drug production information, and performing standardization processing on the standard specification information and the input specification information to obtain standardized specification information; The extracting of the standard specification information of the standard drug data and standardizing the standard specification information and the input specification information to obtain the standardized specification information includes: Parsing the field names in the input specification information; Identifying a record corresponding to the field name in the standard drug data, and extracting standard specification information in the record; According to preset standardization rules, the standard specification information and the input specification information are respectively standardized to obtain first specification information and second specification information, wherein the standardization rules include information parsing rules, data sorting order and data format; A matching module, used for matching the standardized specification information of the standard specification information with the standardized specification information of the input rule information to obtain a matching result; An output module is used to output the input result of the drug data according to the matching result.

8. A drug data matching device, characterized in that: The drug data matching device comprises: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory to enable the drug data matching device to execute the drug data matching method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the drug data matching method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Drug information difference processing method and system

    CN107203686A

  • Data matching method and device

    CN107766395A