CN113130038A - Medicine data matching method, device, equipment and storage medium - Google Patents

Medicine data matching method, device, equipment and storage medium Download PDF

Info

Publication number
CN113130038A
CN113130038A CN202110484005.6A CN202110484005A CN113130038A CN 113130038 A CN113130038 A CN 113130038A CN 202110484005 A CN202110484005 A CN 202110484005A CN 113130038 A CN113130038 A CN 113130038A
Authority
CN
China
Prior art keywords
data
standard
medicine
information
drug
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110484005.6A
Other languages
Chinese (zh)
Inventor
于春涛
钱炜源
程勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kangjian Information Technology Shenzhen Co Ltd
Original Assignee
Kangjian Information Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kangjian Information Technology Shenzhen Co Ltd filed Critical Kangjian Information Technology Shenzhen Co Ltd
Priority to CN202110484005.6A priority Critical patent/CN113130038A/en
Publication of CN113130038A publication Critical patent/CN113130038A/en
Priority to PCT/CN2022/088784 priority patent/WO2022228347A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/10ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to drugs or medications, e.g. for ensuring correct administration to patients
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/20ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the management or administration of healthcare resources or facilities, e.g. managing hospital staff or surgery rooms

Abstract

The invention relates to the technical field of data processing, and discloses a medicine data matching method, a device, equipment and a storage medium. The method comprises the steps of matching drug identification information in entered data of drugs from a drug standard library, continuing to match the drug production information from the drug standard library if the drug identification information is not matched, standardizing the entered data and specification information in matched standard drug data if the drug identification information is matched, matching, determining that the entered data is successful if the drug production information is matched, and otherwise, failing to match. In addition, the invention also relates to a block chain technology, and the medicine data can be stored in the block chain.

Description

Medicine data matching method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of data processing, in particular to a medicine data matching method, a device, equipment and a storage medium.
Background
With the development of internet technology, especially in the medical industry, it is accelerating to implement intelligent management of medical informatization, and the management of drug information is an important component of medical informatization construction. The currently-established medicine database not only has a large amount of medicine inventory data, but also comprises various use information of each medicine, and when a doctor opens a medicine bill for a patient through an online medicine opening system, the doctor needs to search the corresponding medicine from the database, and even needs to select the medicine according to the use information. In practical application, the medicine information in the database is input in a manual input mode, so that mismatching of a lot of medicine data and standard medicines is inevitable, and a doctor cannot find the matched medicines when prescribing the medicines.
For the above problems, the method used in the prior art is implemented by identifying error data through artificial intelligence and adopting a certain correction and matching means, but such a scheme needs to use a large amount of historical data to train artificial intelligence to ensure the accuracy of correction, and has the disadvantages of great difficulty in implementation and low efficiency in matching of medicine data.
Disclosure of Invention
The invention mainly aims to solve the technical problems of high technical implementation difficulty and low efficiency when the existing drug data entry scheme is used for matching drug standard information.
The invention provides a medicine data matching method in a first aspect, which comprises the following steps: after the detection of the completion of the drug entry operation, reading the entered data of the drug, wherein the entered data at least comprises drug identification information, drug production information and entered specification information; sequentially taking the medicine identification information and the medicine production information as query indexes, and querying whether standard medicine data meeting preset conditions exist in a medicine standard library to obtain a corresponding query result; 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, extracting the standard specification information of the standard drug data, and performing standardization processing on the standard specification information and the input specification information to obtain standardized specification information; matching the standard information standardized by the standard information and the input rule information standardized by the input rule information to obtain a matching result; and outputting the input result of the medicine data according to the matching result.
Optionally, in a first implementation manner of the first aspect of the present invention, the drug identification information includes an identification code and a drug name, and the querying whether standard drug data meeting a preset condition exists in a drug standard library by sequentially using the drug identification information and the drug production information as query indexes to obtain a corresponding query result includes: taking the identification code as a first query index, and querying whether standard medicine data with the same identification code exists in a medicine standard library or not; if the standard medicine data with the same identification code exists, extracting the standard medicine name in the standard medicine data, and matching the standard medicine name with the input medicine name; if the matching is inconsistent, the drug production information is used as a second query index to query whether standard drug data with the same drug production information exist in a drug standard library; if the standard medicine data with the same medicine production information exists, outputting the corresponding standard medicine data; and if the standard medicine data with the same medicine production information does not exist, outputting matching failure prompt information.
Optionally, in a second implementation manner of the first aspect of the present invention, the drug production information includes an approval document number and manufacturer information, and querying whether standard drug data with the same drug production information exists in a drug standard library by using the drug production information as a second query index includes: inquiring whether standard medicine data with the same approved document number exists in a medicine standard library or not according to the approved document number; if the standard medicine data same as the approved document exists, extracting the standard medicine name in the standard medicine data, and matching the standard medicine name with the input medicine name; if the standard medicine data same as the approved document number does not exist, inquiring whether the standard medicine data same as the manufacturer information exists in a medicine standard library or not by taking the manufacturer information as an inquiry index; if the standard medicine data with the same manufacturer information exists, outputting the corresponding standard medicine data; and if the standard medicine data with the same manufacturer information does not exist, outputting matching failure prompt information.
Optionally, in a third implementation manner of the first aspect of the present invention, the extracting standard specification information of the standard drug data, and standardizing the standard specification information and the entered specification information to obtain standardized specification information includes: analyzing the field name in the input specification information; identifying a record corresponding to the field name in the standard medicine data, and extracting standard specification information in the record; and respectively carrying out 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.
Optionally, in a fourth implementation manner of the first aspect of the present invention, the normalization rules include an information parsing rule, a data sorting order, and a data format, and the normalizing the standard specification information and the entered specification information according to a preset normalization rule to obtain the first specification information and the second specification information includes: determining an information analysis rule corresponding to the specification information according to the field name; according to the information analysis rule, respectively analyzing 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 respectively carried out on the data in the first data set and the data in the second data set to obtain corresponding new data; according to the data sorting sequence, sorting the bytes in the first byte set and the second byte set respectively to obtain a first byte sequence and a second byte sequence; and matching the first byte sequence with the corresponding new data by using a regular matching algorithm, and matching the second byte sequence with the corresponding new data to obtain first specification information and second specification information.
Optionally, in a fifth implementation manner of the first aspect of the present invention, the data formats include a unit standard format and a suffix format, and the performing format conversion on the data in the first data set and the data in the second data set according to the data formats respectively to obtain the corresponding new data includes: calling a character recognition technology to recognize unit fields 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 not, carrying out conversion calculation on the unit format according to a conversion formula corresponding to the unit standard format; based on the result of the conversion calculation, the suffix character of each data is adjusted according to the suffix format to form corresponding new data.
Optionally, in a sixth implementation manner of the first aspect of the present invention, the outputting the entry result of the drug data according to the matching result includes: if the matching result is that the matching degree of the standard specification information after standardization and the specification information after standardization of the input rule information is larger than a preset value, performing exponential amplification on the matching degree through the following formula to obtain a difference value of the specification information of a unmatched part: a difference value log (c/d, n) e, wherein f is a preset value, c is a compatibility probability, d is a repulsion probability, n is a difference factor number, and e is an amplification factor; determining an adjustment strategy of the input specification information according to the difference value, and adjusting the input data according to the adjustment strategy by taking the standard medicine data as a reference to obtain complete input data; and outputting prompt information of successful correction of the medicine data after the adjustment is completed.
A second aspect of the present invention provides a medicine data matching apparatus, including: the reading module is used for reading input data of the input medicines after the detection of the completion of the medicine input operation, wherein the input data at least comprises medicine identification information, medicine production information and input specification information; the query module is used for sequentially taking the medicine identification information and the medicine production information as query indexes, and querying whether standard medicine data meeting preset conditions exist in a medicine standard library to obtain a corresponding query result; the extraction module is used for extracting the standard specification information of the standard medicine data and carrying out standardization processing on the standard specification information and the input specification information to obtain standardized specification information if the query result indicates that the standard medicine data corresponding to the medicine identification information does not exist in the medicine standard library and the standard medicine data corresponding to the medicine production information exists; the matching module is used for matching the standard information standardized by the standard information and the input rule information standardized by the input rule information to obtain a matching result; and the output module is used for outputting the input result of the medicine data according to the matching result.
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 configured to: taking the identification code as a first query index, and querying whether standard medicine data with the same identification code exists in a medicine standard library or not; if the standard medicine data with the same identification code exists, extracting the standard medicine name in the standard medicine data, and matching the standard medicine name with the input medicine name; if the matching is inconsistent, the drug production information is used as a second query index to query whether standard drug data with the same drug production information exist in a drug standard library; if the standard medicine data with the same medicine production information exists, outputting the corresponding standard medicine data; and if the standard medicine data with the same medicine production information does not exist, outputting matching failure prompt information.
Optionally, in a second implementation manner of the second aspect of the present invention, the drug production information includes an approval document number and manufacturer information, and the query module is specifically configured to: inquiring whether standard medicine data with the same approved document number exists in a medicine standard library or not according to the approved document number; if the standard medicine data same as the approved document exists, extracting the standard medicine name in the standard medicine data, and matching the standard medicine name with the input medicine name; if the standard medicine data same as the approved document number does not exist, inquiring whether the standard medicine data same as the manufacturer information exists in a medicine standard library or not by taking the manufacturer information as an inquiry index; if the standard medicine data with the same manufacturer information exists, outputting the corresponding standard medicine data; and if the standard medicine data with the same manufacturer information does not exist, outputting matching failure prompt information.
Optionally, in a third implementation manner of the second aspect of the present invention, the extraction module includes: the analysis unit is used for analyzing the field names in the input specification information; the extraction unit is used for identifying a record corresponding to the field name in the standard medicine data and extracting standard specification information in the record; and the standardization processing unit is used for respectively carrying out 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.
Optionally, in a fourth implementation manner of the second aspect of the present invention, the normalization rule includes an information parsing rule, a data sorting order, and a data format, and the normalization processing unit is specifically configured to: determining an information analysis rule corresponding to the specification information according to the field name; according to the information analysis rule, respectively analyzing 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 respectively carried out on the data in the first data set and the data in the second data set to obtain corresponding new data; according to the data sorting sequence, sorting the bytes in the first byte set and the second byte set respectively to obtain a first byte sequence and a second byte sequence; and matching the first byte sequence with the corresponding new data by using a regular matching algorithm, and matching the second byte sequence with the corresponding new data to obtain first specification information and second specification information.
Optionally, in a fifth implementation manner of the second aspect of the present invention, the data format includes a unit standard format and a suffix format, and the normalization processing unit is specifically configured to: calling a character recognition technology to recognize unit fields 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 not, carrying out conversion calculation on the unit format according to a conversion formula corresponding to the unit standard format; based on the result of the conversion calculation, the suffix character of each data is adjusted according to the suffix format to form corresponding new data.
Optionally, in a sixth implementation manner of the second aspect of the present invention, the output module includes: a calculating unit, configured to, if the matching result is that a matching degree between the standardized specification information and the standardized specification information of the entry rule information is greater than a preset value, perform exponential amplification on the matching degree through the following formula to obtain a difference value between the unmatched specification information: a difference value log (c/d, n) e, wherein f is a preset value, c is a compatibility probability, d is a repulsion probability, n is a difference factor number, and e is an amplification factor; the adjusting unit is used for determining an adjusting strategy of the input specification information according to the difference value, and adjusting the input data according to the adjusting strategy by taking the standard medicine data as a reference to obtain complete input data; and the output unit is used for outputting prompt information of successful correction of the medicine data after the adjustment is finished.
A third aspect of the present invention provides a medicine data matching apparatus comprising: a memory and at least one processor, the memory having instructions stored therein; the at least one processor invokes the instructions in the memory to cause the drug data matching device to perform the drug data matching method described above.
A fourth aspect of the present invention provides a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to execute the above-described drug data matching method.
According to the technical scheme, the medicine identification information in the input data of the medicines is matched from the medicine standard library, if the medicine identification information is not matched, the medicine production information is continuously used for matching from the medicine standard library, if the medicine identification information is matched, the input data and the specification information in the matched standard medicine data are standardized and then matched, if the medicine identification information is matched, the input data is determined to be successful, otherwise, the matching is failed, and the medicine data is matched by the mode.
Drawings
FIG. 1 is a schematic diagram of a first embodiment of a drug data matching method according to an embodiment of the present invention;
FIG. 2 is a diagram of a second embodiment of a drug data matching method according to an embodiment of the present invention;
FIG. 3 is a diagram of a third embodiment of a drug data matching method according to an embodiment of the present invention;
FIG. 4 is a diagram of a fourth embodiment of a drug data matching method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an embodiment of a drug data matching device in an embodiment of the present invention;
FIG. 6 is a schematic diagram of another embodiment of a drug data matching device in an embodiment of the present invention;
FIG. 7 is a schematic diagram of an embodiment of a drug data matching device in an embodiment of the present invention;
fig. 8 is a matching diagram of the normalization process provided in the embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a medicine data matching method, a device, equipment and a storage medium, wherein the matching accuracy of medicine data is improved by setting multiple rounds of medicine data matching, firstly, medicine identification information in input data of medicines is matched from a medicine standard library, if the medicine identification information is not matched, medicine production information is continuously used for matching from the medicine standard library, if the medicine identification information is matched, the input data and specification information in matched standard medicine data are standardized and then matched, if the matching is consistent, the input data is determined to be successful, otherwise, the matching fails, the matching of the medicine data is realized by using the mode, because two times of matching are set, the dimension of parameters matched every time is different, the accuracy of matching and correcting the medicine data is improved, the data quantity processed at one time is reduced, and the matching efficiency is improved, the difficulty of realizing two-wheel matching is far less than the difficulty of one-time matching in the prior art.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of understanding, a specific flow of an embodiment of the present invention is described below, and referring to fig. 1, a first embodiment of a drug data matching method in an embodiment of the present invention is mainly used for matching offline drug data, checking whether drug data entered offline meets standard drug data, in practical application, correcting entered drug data according to a matching result of the method, and even the method can be used for using offline matched drugs after online opening a drug, specifically, the method includes the following implementation steps:
101. after the detection of the completion of the drug entry operation, reading the drug identification information, the drug production information and the entry specification information of the entered drug;
in this embodiment, the medicine entry operation may be understood as an operation of a user to enter an offline medicine into a warehouse, and information such as symptom information, specification parameters, medicine identification codes, medicine names and the like of the offline medicine is entered into a medicine database through the warehouse entry operation, so that a doctor can use the online medicine.
In the step, each time a user inputs data of a medicine to be entered in the medicine management system in a manual entry mode, specifically, each item of data of the medicine is input in an entry interface of the medicine management system, when it is detected that the user clicks a confirmation key or submits a key in the entry interface, it is determined that the medicine entry operation is completed, and a character recognition widget is started to analyze characters in the entry interface to obtain entry data of the medicine.
In practical application, after a user clicks a confirmation or submission key, medicine data of the user is directly converted into a medicine record and stored in a background database, at the moment, a small program is obtained by triggering data, the currently updated data record is read from the background database, and the input data of the medicine is analyzed from the data record.
102. Sequentially taking the drug identification information and the drug production information as query indexes, and querying whether standard drug data meeting preset conditions exist in a drug standard library to obtain a corresponding query result;
in this embodiment, the drug standard library stores standard data of all drugs or standard parameters of various drugs, and the standard parameters may be understood as different specification parameters of the same drug.
In the step, during inquiry, firstly, medicine identification information is inquired, when the medicine identification information cannot be inquired, medicine production information is utilized to carry out secondary inquiry, when the inquiry of the two times fails, the inquiry result is output as matching failure, and if at least one of the two information can inquire corresponding standard medicine data, the inquiry result is output as matching success or medicine data entry success.
In this embodiment, the preset condition includes that the similarity between the query index and the drug identification information or the drug production information in the drug standard library reaches a preset similarity, or the similarity between the query index and the drug production information in the drug standard library reaches a preset similarity or the similarity between the query index and the drug production information in the drug standard library are added to reach a preset similarity sum, or even one of the query index.
In practical application, when inquiring whether standard medicine data meeting preset conditions exist in a medicine standard library, specifically, inquiring in a parameter matching mode, namely, firstly, matching the medicine identification information with the standard medicine data of whether similar medicine identification information exists in the medicine standard library, if the medicine identification information is similar and the calculated similarity reaches a preset empirical value, performing integrity matching on the medicine identification information, and if the medicine identification information is completely matched with the standard medicine data, directly outputting the corresponding standard medicine data; and if the matching is completely different, skipping to the step of matching again by using the medicine production information, wherein the matching principle is the same as that of the medicine identification information.
When the medicine identification information and the medicine production information are not completely matched, calculating the similarity of the medicine identification information and the medicine production information corresponding to the standard medicine data respectively, adding the two similarities, judging whether the sum of the similarities reaches a preset empirical value, if so, acquiring the medicine name in the standard medicine data for matching, if the names are completely matched, outputting the standard medicine data, and if the sum of the similarities does not reach the preset empirical value or the names are not matched, outputting the inquiry failure or the matching failure.
103. 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, extracting the standard specification information of the standard drug data, and standardizing the standard specification information and the input specification information to obtain standardized specification information;
before extracting the standard specification information in the standard medicine data, analyzing the corresponding specification field name from the input specification information in the input data, extracting the standard specification information from the standard medicine data based on the specification field name, and then standardizing the standard specification information and the input specification information by using a standardized conversion rule.
In this embodiment, the process of the standardization processing specifically includes analyzing and processing the standard specification information and the entered specification information separately, and extracting each index and parameter in the standard specification information and the entered specification information, wherein during extraction, extraction is performed according to an expression format of the standard specification information or the entered specification information, after extraction is completed, the format of the extracted index and parameter is compared with a data format set in a standardization conversion rule, and if the extracted index and parameter are consistent with the data format set in the standardization conversion rule, other indexes and parameters are continuously extracted for comparison; if the data format is inconsistent with the standard conversion rule, the data format is converted according to the standard conversion rule to obtain standardized specification information.
In this embodiment, if the query result is that there is standard drug data matching the drug identification information, the drug name in the entered data and the drug name in the standard drug data are obtained to be matched, if the two matches are identical, prompt information indicating that the matching is successful is output, if the two matches are not identical, the drug is queried from the standard library according to the drug production information, and whether to execute a standardized processing step of the specification information is selected according to the query result.
104. Matching the standard information after the standard information is standardized with the standard information after the input rule information is standardized to obtain a matching result;
in this step, specification information standardized by standard specification information is referred to as first specification information, specification information standardized by entered specification information is referred to as second specification information, and when the first specification information and the second specification information are matched, the first specification information and the second specification information are specifically matched one by one according to field information in the two, the matching condition of each field information is recorded, then the matching degree of the first specification information and the second specification information, that is, a matching value is calculated according to the matching condition of each field information, and a matching result is generated based on the matching value.
In practical application, the matching result comprises three conditions of matching, mismatching and matching reaching a preset value, and after the step, the method further comprises the steps of determining an adjustment strategy according to the matching result, and adjusting the input data based on the adjustment strategy.
Further, whether the input medicine and the standard medicine are the same medicine or not can be determined according to the matching result, and the matching result can be used for the follow-up medicine taking of the medicine bill.
105. And outputting the input result of the medicine data according to the matching result.
In this embodiment, the entry result is determined according to actual application, for example, when the medicine is opened online, the entry result is whether the offline medicine selected by the doctor matches with the standard medicine of the symptom, and then, for example, the medicine is put in storage, and the entry result is whether the entered medicine data is the same as the standard medicine data in the standard library.
By implementing the method, the medicine identification information and the medicine production information in the input data of the medicine are respectively and sequentially inquired and matched from the medicine standard library, the specification information is subjected to standardized processing after the inquiry and matching are performed twice, and the matching result of the medicine data is determined after the standardized processing, so that the input result of the medicine data is determined.
Furthermore, the implementation of the above scheme does not need to construct hardware resources, and the matching execution is performed for multiple times in the existing system, so that the implementation process is simple, and the implementation of AI is facilitated.
Referring to fig. 2, a second embodiment of the drug data matching method according to the embodiment of the present invention includes:
after the detection of the completion of the drug entry operation, reading drug identification information, drug production information and entry specification information of the entered drug;
in this step, the drug identification information may be an identification code or a drug name. The identification code refers to a code number for identifying the medicine, such as a two-dimensional code, a one-dimensional code, a 69 code and the like, when data of the medicine is input, a user can analyze information such as a name and production information of the medicine after scanning the identification code through a code scanning gun, and a string of digital symbols can also be generated.
202, using the identification code as a first query index, and querying whether standard medicine data with the same identification code exists in a medicine standard library;
in this embodiment, the medicine name and the production information take a number symbol as an example, after the number symbol is analyzed by scanning the code, a corresponding data symbol is queried from the medicine labeling library based on the number symbol, if the same number symbol is queried, it is determined that similar standard medicine data exists in the medicine standard library, then the medicine names in the medicine labeling library and the medicine labeling library are extracted for matching, specifically, after the number symbol is identified, the identification code is continuously analyzed to obtain the name of the input medicine; and if the matching is consistent, determining that the same standard medicine data exists, and if the matching is inconsistent, executing continuous query by taking the medicine production information as an index.
203, if standard medicine data with the same identification code exists, extracting the standard medicine name in the standard medicine data, and matching the standard medicine name with the input medicine name;
in this embodiment, when extracting the standard drug name, specifically, the identification code of the standard drug data is obtained by performing background code scanning recognition on the identification code through an OCR technology, the optional identification code is 69 codes, the corresponding standard drug name is extracted through the hour section 69 codes, and then the standard drug name is matched with the drug name recorded in the data.
In practical application, when matching a medicine name, the method comprises character recognition and special symbol recognition, in the character recognition process, specifically, firstly, an OCR recognition technology is used for recognizing characters of the medicine name to obtain character information, then, an image processing technology is used for recognizing shapes corresponding to the character information and special symbols in the medicine name, then, the character information recognized from a standard medicine name and an input medicine name, the shapes corresponding to the character information and the special symbols are matched with each other to obtain a matching result, the matching result comprises two types of inconsistency and consistency, and the consistency condition further comprises that the matching degree reaches a preset experience value and is completely the same.
204, if the matching is inconsistent, using the drug production information as a second query index to query whether standard drug data with the same drug production information exists in a drug standard library;
in this embodiment, after the drug names are not matched, a matching process is returned, and the matching process is to re-execute the query procedure with the drug production information as an index, specifically, to query whether field contents identical to the drug production information exist in fields in the drug standard library, if so, it is determined that identical standard drug data exist, otherwise, it does not exist.
In practical application, when the drug production information includes an approval document number and manufacturer information, the steps are specifically realized as follows:
inquiring whether standard medicine data with the same approved document number exists in a medicine standard library or not according to the approved document number;
if the standard medicine data same as the approved document exists, extracting the standard medicine name in the standard medicine data, and matching the standard medicine name with the input medicine name;
if the standard medicine data same as the approved document number does not exist, inquiring whether the standard medicine data same as the manufacturer information exists in a medicine standard library or not by taking the manufacturer information as an inquiry index;
if the standard medicine data with the same manufacturer information exists, outputting the corresponding standard medicine data;
and if the standard medicine data with the same manufacturer information does not exist, outputting matching failure prompt information.
In this embodiment, the inquiry is performed based on the drug production information, specifically divided into two rounds of inquiry, where the first round is an approval document number, the approval document number is a sales lot number of the same drug, and the inquiry is performed according to the lot number to determine whether the same drug data exists in advance, optionally, when the approval document number is matched in the inquiry process, specifically, the data of the drug is determined to be consistent with the standard drug data by using the specific content of different bytes in the approval document number, and if the contents of the first N-2 bytes in the approval document number are consistent. Otherwise, the process is inconsistent, and the matching process of the vendor information is executed.
In practical application, when name and vendor matching is used, although the accuracy of the data of the name and vendor matching is high, a certain artificial error still exists, and the matching rate can be increased by using data preprocessing (punctuation mark replacement, parenthesis content deletion, data dictionary mapping).
205, if the standard medicine data with the same medicine production information exists, outputting the corresponding standard medicine data;
in this step, the same standard drug data exists, and specifically, when it is determined that the similarity of more than 90% exists in each item of specific content in the drug production information, it is determined that the same standard drug data exists, and then the standard drug data is output.
Furthermore, the input medicine data is adjusted based on the output standard medicine data.
206, if the standard medicine data with the same medicine production information does not exist, outputting a matching failure prompt message;
in the step, the prompt information for outputting the matching failure can be displaying a prompt box in an input interface of the medicine management system, or sending prompt sound, or even in the scene of online opening, directly deleting all parameters and use cautions of the medicine in the medicine bill.
207, 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, extracting the standard specification information of the standard drug data, and standardizing the standard specification information and the input specification information to obtain standardized specification information;
208, matching the standard information standardized by the standard specification information with the standard information standardized by the input rule information to obtain a matching result;
and 209, outputting the input result of the medicine data according to the matching result.
Through the implementation of the mode, the parameter dimensionality matched every time is different, so that the accuracy of medicine data matching correction is improved, the data volume processed at one time is reduced, the matching efficiency is improved, and the difficulty of realizing two-wheel matching is far smaller than that of one-time matching in the prior art.
Referring to fig. 3, a third embodiment of the drug data matching method according to the embodiment of the present invention includes:
301. after the detection of the completion of the drug entry operation, reading the drug identification information, the drug production information and the entry specification information of the entered drug;
302. sequentially taking the drug identification information and the drug production information as query indexes, and querying whether standard drug data meeting preset conditions exist in a drug standard library to obtain a corresponding query result;
303. if the query result is that the standard medicine data corresponding to the medicine identification information does not exist in the medicine standard library and the standard medicine data corresponding to the medicine production information exists, analyzing the field name in the input specification information;
304, identifying records corresponding to the field names in the standard medicine data, and extracting standard specification information in the records;
305, respectively carrying out 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;
in this embodiment, the standardization is specifically understood to be that format unification is performed on the entered specification information and the specification information queried in the standard library, and matching is performed based on the unified format, which is more accurate, specifically, the standardization rule includes an information parsing rule, a data sorting order, and a data format, and the standardizing processing is performed on the standard specification information and the entered specification information respectively according to a preset standardization rule, so as to obtain the first specification information and the second specification information includes:
determining an information analysis rule corresponding to the specification information according to the field name;
according to the information analysis rule, respectively analyzing 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 respectively carried out on the data in the first data set and the data in the second data set to obtain corresponding new data;
according to the data sorting sequence, sorting the bytes in the first byte set and the second byte set respectively to obtain a first byte sequence and a second byte sequence;
and matching the first byte sequence with the corresponding new data by using a regular matching algorithm, and matching the second byte sequence with the corresponding new data to obtain first specification information and second specification information.
In practical applications, the normalization of the specification information is specifically realized as follows:
first, special character or unit replacement is performed.
The alternative dictionary may be referenced as follows:
mg, μ g, ml, l, IU, MU, U, MU, m, S, CM, S: :,/═:, ((,) ═)
Then, all go to lower case.
For example, MG turns to MG and ML turns to ML.
Further, matching each configured regular conversion rule from top to bottom, and finding one rule to apply.
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 the rule, decomposing and standardized matching are carried out to form an exploded view as shown in fig. 8, then the decomposed information in the diagram is respectively matched with a preset standardized table, and the obtained matching result is shown in the following table:
Figure BDA0003049595900000121
the corresponding group number corresponds to the alphabetical ordering: after the symbol, the position of the value corresponding to each normalized packet is located, in this example, va to vh are all arranged in sequence, and there are other scenes where the value corresponding to a certain group is put in front.
As above, eventually, the manual input of "11.1 mg/12ml: 9. multidot.s extra" will be converted to a format of "11.1 mg/12ml: 9. multidot.s". "< va > < vb > < vc > < vd > < ve > < vf > < vg > < vh >" is a rearrangement of the extracted important data, and if "11.1 mg/12ml:9 s" is considered equivalent to "11.1 mg:12ml:9 s", the layout format can be changed to "< va > < vb > < vd > < ve > < vf > < vg > < vh >" so that the final conversion results of both will be identical.
Finally, suffix processing and unit conversion are specifically realized as follows:
the data formats include a unit standard format and a suffix format, and the format conversion of the data in the first data set and the second data set according to the data formats respectively to obtain corresponding new data includes:
calling a character recognition technology to recognize unit fields 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 not, carrying out conversion calculation on the unit format according to a conversion formula corresponding to the unit standard format;
based on the result of the conversion calculation, the suffix character of each data is adjusted according to the suffix format to form corresponding new data.
The normalized character tail may have a shape of 2 × 3s or 16ml × 1s, and a further round of reduction may be performed for 6s and 16 ml.
Note that: currently, only the last special character is simplified, and the middle special character is not changed, such as 16ml 1s 3s, which is the final form, and the simplification is not performed
Unit conversions such as 1g 1000mg, 1L 1000ml, etc., convert all units to the minimum unit.
306. Matching the standard information after the standard information is standardized with the standard information after the input rule information is standardized to obtain a matching result;
307. and outputting the input result of the medicine data according to the matching result.
In summary, the method provided by the above embodiment implements matching of the drug data, and since two times of matching are set, the parameter dimensions of each matching are different, thereby improving the accuracy of drug data matching correction, reducing the data amount of one-time processing, improving the matching efficiency, and the difficulty of implementing matching in two rounds is much smaller than the difficulty of one-time matching in the prior art.
Referring to fig. 4, a fourth embodiment of the drug data matching method according to the embodiment of the present invention includes:
401, after the detection of the completion of the drug entry operation, reading the drug identification information, the drug production information and the entry specification information of the entered drug;
402, sequentially using the drug identification information and the drug production information as query indexes, querying whether standard drug data meeting preset conditions exist in a drug standard library to obtain corresponding query results;
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, extracting the standard specification information of the standard drug data, and performing standardization processing on the standard specification information and the input specification information to obtain standardized specification information;
404, matching the standard information standardized by the standard specification information with the standard information standardized by the input rule information to obtain a matching result;
405, if the matching result is that the matching degree of the standard information after the standard specification information is standardized and the specification information after the rule information is input into the standard is larger than a preset value, performing exponential amplification on the matching degree through the following formula to obtain a difference value of the specification information of a unmatched part;
in this step, the difference value is the similarity value log (c/d, n) e
Wherein f is a preset value, c is a compatibility probability, d is a repulsion probability, n is a difference factor number, and e is an amplification factor.
406, determining an adjustment strategy of the input specification information according to the difference value, and adjusting the input data according to the adjustment strategy by taking the standard medicine data as a reference to obtain complete input data;
407, after the adjustment is completed, outputting a prompt message indicating that the medicine data is corrected successfully.
In practical application, the preset value can be set by sorting a large amount of data below the line and summarizing and determining experience of a plurality of qualified physicians, and the matching result can realize matching of standard drugs on the line according to specific information in drug data, and the overall implementation flow can be specifically as follows:
first, the standard medicine is matched according to the 69 codes and the medicine name, because the 69 codes are standard numbers, if the standard medicine can be found by combining the names, the found data must be matched, and the input error in the 69 codes can be eliminated by matching the names.
If the previous matching round fails, the approved document number and name are reused to search for the drug, because the approved document number and name may search for a plurality of drugs, and therefore, the specification of all the drugs needs to be standardized and then matched (how to standardize the approved document number, name and name is described later), that is, the approved document number, name and specification are used in the previous matching round to match the standard drug.
If the third step fails, the manufacturer name and name are used to search for the drug, because the manufacturer and name may search for a plurality of drugs, and therefore, it is necessary to standardize all the specifications of the drugs and then perform matching (how to standardize will be described later), that is, this round of matching the standard drugs using the manufacturer, name and specification.
Through the implementation of the mode, the parameter dimensionality matched every time is different, so that the accuracy of medicine data matching correction is improved, the data volume processed at one time is reduced, the matching efficiency is improved, and the difficulty of realizing two-wheel matching is far smaller than that of one-time matching in the prior art.
With reference to fig. 5, the medicine data matching method in the embodiment of the present invention is described above, and a medicine data matching device in the embodiment of the present invention is described below, where an embodiment of the medicine data matching device in the embodiment of the present invention includes:
the reading module 501 is configured to read entry data of an entered drug after a drug entry operation is detected to be completed, where the entry data at least includes drug identification information, drug production information, and entry specification information;
the query module 502 is configured to query whether standard drug data meeting preset conditions exist in a drug standard library by sequentially using the drug identification information and the drug production information as query indexes, so as to obtain a corresponding query result;
an extracting module 503, configured to, 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, extract 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;
a matching module 504, configured to match the standardized specification information with the standardized specification information of the entry rule information to obtain a matching result;
and the output module 505 is configured to output an entry result of the drug data according to the matching result.
According to the embodiment of the invention, the matching accuracy of the medicine data is improved by setting multiple rounds of medicine data matching, firstly, the medicine identification information in the input data of the medicine is matched from the medicine standard library, if the medicine identification information is not matched, the medicine production information is continuously matched from the medicine standard library, if the medicine identification information is matched, the input data and the specification information in the matched standard medicine data are standardized and then matched, if the input data is consistent with the standard medicine data, the input data is determined to be successful, otherwise, the matching fails, the medicine data matching is realized by using the method, because the two times of matching are set, the parameter dimensionality of each matching is different, the accuracy of medicine data matching correction is improved, the data quantity processed once is reduced, and the matching efficiency is improved.
Referring to fig. 6, another embodiment of the medicine data matching device according to the embodiment of the present invention includes:
the reading module 501 is configured to read entry data of an entered drug after a drug entry operation is detected to be completed, where the entry data at least includes drug identification information, drug production information, and entry specification information;
the query module 502 is configured to query whether standard drug data meeting preset conditions exist in a drug standard library by sequentially using the drug identification information and the drug production information as query indexes, so as to obtain a corresponding query result;
an extracting module 503, configured to, 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, extract 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;
a matching module 504, configured to match the standardized specification information with the standardized specification information of the entry rule information to obtain a matching result;
and the output module 505 is configured to output an entry result of the drug data according to the matching result.
In this embodiment, the drug identification information includes an identification code and a drug name, and the query module 502 is specifically configured to:
taking the identification code as a first query index, and querying whether standard medicine data with the same identification code exists in a medicine standard library or not;
if the standard medicine data with the same identification code exists, extracting the standard medicine name in the standard medicine data, and matching the standard medicine name with the input medicine name;
if the matching is inconsistent, the drug production information is used as a second query index to query whether standard drug data with the same drug production information exist in a drug standard library;
if the standard medicine data with the same medicine production information exists, outputting the corresponding standard medicine data;
and if the standard medicine data with the same medicine production information does not exist, outputting matching failure prompt information.
In this embodiment, the drug production information includes an approval document number and manufacturer information, and the query module 502 is specifically configured to:
inquiring whether standard medicine data with the same approved document number exists in a medicine standard library or not according to the approved document number;
if the standard medicine data same as the approved document exists, extracting the standard medicine name in the standard medicine data, and matching the standard medicine name with the input medicine name;
if the standard medicine data same as the approved document number does not exist, inquiring whether the standard medicine data same as the manufacturer information exists in a medicine standard library or not by taking the manufacturer information as an inquiry index;
if the standard medicine data with the same manufacturer information exists, outputting the corresponding standard medicine data; and if the standard medicine data with the same manufacturer information does not exist, outputting matching failure prompt information.
Wherein the extracting module 503 comprises:
an analyzing unit 5031 configured to analyze the field name in the input specification information;
an extracting unit 5032, configured to identify a record corresponding to the field name in the standard drug data, and extract standard specification information in the record;
a standardization processing unit 5033, configured to respectively standardize the standard specification information and the entered specification information according to a preset standardization rule to obtain first specification information and second specification information.
In this embodiment, the normalization rule includes an information parsing rule, a data sorting order, and a data format, and the normalization processing unit 5033 is specifically configured to:
determining an information analysis rule corresponding to the specification information according to the field name;
according to the information analysis rule, respectively analyzing 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 respectively carried out on the data in the first data set and the data in the second data set to obtain corresponding new data;
according to the data sorting sequence, sorting the bytes in the first byte set and the second byte set respectively to obtain a first byte sequence and a second byte sequence;
and matching the first byte sequence with the corresponding new data by using a regular matching algorithm, and matching the second byte sequence with the corresponding new data to obtain first specification information and second specification information.
In this embodiment, the data formats include a unit standard format and a suffix format, and the normalization processing unit 5033 is specifically configured to:
calling a character recognition technology to recognize unit fields 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 not, carrying out conversion calculation on the unit format according to a conversion formula corresponding to the unit standard format;
based on the result of the conversion calculation, the suffix character of each data is adjusted according to the suffix format to form corresponding new data.
Wherein the output module 505 comprises:
a calculating unit 5051, configured to, if the matching result is that the matching degree of the standard specification information after the standard specification information is standardized and the specification information after the entry rule information is standardized is greater than a preset value, perform exponential amplification on the matching degree through the following formula to obtain a difference value of the specification information of a non-matching part:
the difference value is the similarity value log (c/d, n) e,
wherein f is a preset value, c is a compatibility probability, d is a repulsion probability, n is a difference factor number, and e is an amplification factor;
an adjusting unit 5052, configured to determine an adjusting policy of the entered specification information according to the difference value, and adjust the entered data according to the adjusting policy by using the standard drug data as a reference, so as to obtain complete entered data;
an output unit 5053 is configured to output a prompt message indicating that the correction of the medicine data is successful after the adjustment is completed.
By implementing the method, the medicine identification information and the medicine production information in the input data of the medicine are respectively and sequentially inquired and matched from the medicine standard library, the specification information is subjected to standardized processing after the inquiry and matching are performed twice, and the matching result of the medicine data is determined after the standardized processing, so that the input result of the medicine data is determined.
Furthermore, the implementation of the above scheme does not need to construct hardware resources, and the matching execution is performed for multiple times in the existing system, so that the implementation process is simple, and the implementation of AI is facilitated.
Referring to fig. 7, an embodiment of a medicine data matching apparatus according to an embodiment of the present invention will be described in detail below from the viewpoint of hardware processing.
Fig. 7 is a schematic diagram of a drug data matching device 700 according to an embodiment of the present invention, which may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 710 (e.g., one or more processors) and a memory 720, one or more storage media 730 (e.g., one or more mass storage devices) for storing applications 733 or data 732. Memory 720 and storage medium 730 may be, among other things, transient storage or persistent storage. The program stored on the storage medium 730 may include one or more modules (not shown), each of which may include a sequence of instructions operating on the route-based user demand prediction apparatus 700. Still further, processor 710 may be configured to communicate with storage medium 730 to execute a series of instructional operations on storage medium 730 on drug data matching device 700.
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-output interfaces 760, and/or one or more operating systems 731, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, and so forth. It will be understood by those skilled in the art that the configuration of the drug data matching device shown in fig. 7 does not constitute a limitation of the drug data matching device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A Block chain (Block chain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data Block contains a batch of information for verifying the validity (anti-counterfeiting) of the information and generating a next Block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium, and which may also be a volatile computer-readable storage medium, having stored therein instructions, which, when executed on a computer, cause the computer to perform the steps of the drug data matching method.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A drug data matching method, characterized in that the drug data matching method comprises:
after the detection of the completion of the drug entry operation, reading the entered data of the drug, wherein the entered data at least comprises drug identification information, drug production information and entered specification information;
sequentially taking the medicine identification information and the medicine production information as query indexes, and querying whether standard medicine data meeting preset conditions exist in a medicine standard library to obtain a corresponding query result;
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, extracting the standard specification information of the standard drug data, and performing standardization processing on the standard specification information and the input specification information to obtain standardized specification information;
matching the standard information standardized by the standard information and the input rule information standardized by the input rule information to obtain a matching result;
and outputting the input result of the medicine data according to the matching result.
2. The drug data matching method of claim 1, wherein the drug identification information comprises an identification code and a drug name, and the sequentially using the drug identification information and the drug production information as query indexes to query whether standard drug data meeting preset conditions exist in a drug standard library to obtain corresponding query results comprises:
taking the identification code as a first query index, and querying whether standard medicine data with the same identification code exists in a medicine standard library or not;
if the standard medicine data with the same identification code exists, extracting the standard medicine name in the standard medicine data, and matching the standard medicine name with the input medicine name;
if the matching is inconsistent, the drug production information is used as a second query index to query whether standard drug data with the same drug production information exist in a drug standard library;
if the standard medicine data with the same medicine production information exists, outputting the corresponding standard medicine data;
and if the standard medicine data with the same medicine production information does not exist, outputting matching failure prompt information.
3. The drug data matching method of claim 2, wherein the drug production information comprises an approval document number and manufacturer information, and the querying whether standard drug data with the same drug production information exists in a drug standard library with the drug production information as a second query index comprises:
inquiring whether standard medicine data with the same approved document number exists in a medicine standard library or not according to the approved document number;
if the standard medicine data same as the approved document exists, extracting the standard medicine name in the standard medicine data, and matching the standard medicine name with the input medicine name;
if the standard medicine data same as the approved document number does not exist, inquiring whether the standard medicine data same as the manufacturer information exists in a medicine standard library or not by taking the manufacturer information as an inquiry index;
if the standard medicine data with the same manufacturer information exists, outputting the corresponding standard medicine data;
and if the standard medicine data with the same manufacturer information does not exist, outputting matching failure prompt information.
4. The drug data matching method according to any one of claims 1 to 3, wherein the extracting standard specification information of the standard drug data and standardizing the standard specification information and the entry specification information to obtain standardized specification information includes:
analyzing the field name in the input specification information;
identifying a record corresponding to the field name in the standard medicine data, and extracting standard specification information in the record;
and respectively carrying out 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.
5. The drug data matching method according to claim 4, wherein the standardization rules include an information parsing rule, a data sorting order and a data format, and the standardizing the standard specification information and the entered specification information according to a preset standardization rule to obtain the first specification information and the second specification information includes:
determining an information analysis rule corresponding to the specification information according to the field name;
according to the information analysis rule, respectively analyzing 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 respectively carried out on the data in the first data set and the data in the second data set to obtain corresponding new data;
according to the data sorting sequence, sorting the bytes in the first byte set and the second byte set respectively to obtain a first byte sequence and a second byte sequence;
and matching the first byte sequence with the corresponding new data by using a regular matching algorithm, and matching the second byte sequence with the corresponding new data to obtain first specification information and second specification information.
6. The drug data matching method according to claim 5, wherein the data formats include a unit standard format and a suffix format, and the obtaining of the corresponding new data by performing format conversion on the data in the first data set and the data in the second data set according to the data formats includes:
calling a character recognition technology to recognize unit fields 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 not, carrying out conversion calculation on the unit format according to a conversion formula corresponding to the unit standard format;
based on the result of the conversion calculation, the suffix character of each data is adjusted according to the suffix format to form corresponding new data.
7. The drug data matching method according to claim 4, wherein the outputting of the entry result of the drug data according to the matching result includes:
if the matching result is that the matching degree of the standard specification information after standardization and the specification information after standardization of the input rule information is larger than a preset value, performing exponential amplification on the matching degree through the following formula to obtain a difference value of the specification information of a unmatched part:
the difference value is the similarity value log (c/d, n) e,
wherein f is a preset value, c is a compatibility probability, d is a repulsion probability, n is a difference factor number, and e is an amplification factor;
determining an adjustment strategy of the input specification information according to the difference value, and adjusting the input data according to the adjustment strategy by taking the standard medicine data as a reference to obtain complete input data;
and outputting prompt information of successful correction of the medicine data after the adjustment is completed.
8. A drug data matching apparatus, characterized by comprising:
the reading module is used for reading input data of the input medicines after the detection of the completion of the medicine input operation, wherein the input data at least comprises medicine identification information, medicine production information and input specification information;
the query module is used for sequentially taking the medicine identification information and the medicine production information as query indexes, and querying whether standard medicine data meeting preset conditions exist in a medicine standard library to obtain a corresponding query result;
the extraction module is used for extracting the standard specification information of the standard medicine data and carrying out standardization processing on the standard specification information and the input specification information to obtain standardized specification information if the query result indicates that the standard medicine data corresponding to the medicine identification information does not exist in the medicine standard library and the standard medicine data corresponding to the medicine production information exists;
the matching module is used for matching the standard information standardized by the standard information and the input rule information standardized by the input rule information to obtain a matching result;
and the output module is used for outputting the input result of the medicine data according to the matching result.
9. A drug data matching device, characterized in that the drug data matching device comprises: a memory and at least one processor, the memory having instructions stored therein;
the at least one processor invokes the instructions in the memory to cause the drug data matching device to perform the drug data matching method of any of claims 1-7.
10. A computer-readable storage medium, having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the drug data matching method of any one of claims 1-7.
CN202110484005.6A 2021-04-30 2021-04-30 Medicine data matching method, device, equipment and storage medium Pending CN113130038A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110484005.6A CN113130038A (en) 2021-04-30 2021-04-30 Medicine data matching method, device, equipment and storage medium
PCT/CN2022/088784 WO2022228347A1 (en) 2021-04-30 2022-04-24 Drug data matching method, apparatus and device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110484005.6A CN113130038A (en) 2021-04-30 2021-04-30 Medicine data matching method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113130038A true CN113130038A (en) 2021-07-16

Family

ID=76780779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110484005.6A Pending CN113130038A (en) 2021-04-30 2021-04-30 Medicine data matching method, device, equipment and storage medium

Country Status (2)

Country Link
CN (1) CN113130038A (en)
WO (1) WO2022228347A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113509387A (en) * 2021-09-10 2021-10-19 江西中医药大学 Decision method of technological parameters of traditional Chinese medicine solid preparation, preparation method and system
CN113742348A (en) * 2021-09-07 2021-12-03 上海柯林布瑞信息技术有限公司 Patient data matching method in CDR system, main index establishing method and device
WO2022228347A1 (en) * 2021-04-30 2022-11-03 康键信息技术(深圳)有限公司 Drug data matching method, apparatus and device, and storage medium
CN115510049A (en) * 2022-11-15 2022-12-23 阿里健康科技(杭州)有限公司 Method, device, equipment and storage medium for inputting standard data of medicine
CN117009998A (en) * 2023-08-29 2023-11-07 上海倍通医药科技咨询有限公司 Data inspection method and system
CN117711593A (en) * 2024-02-05 2024-03-15 苏州绿华科技有限公司 Intelligent pharmacy medicine inlet and outlet management system
CN113742348B (en) * 2021-09-07 2024-05-17 上海柯林布瑞信息技术有限公司 Patient data matching method in CDR system, main index establishing method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115545809B (en) * 2022-12-02 2023-05-12 广州数说故事信息科技有限公司 Method for constructing standard library of electronic commerce commodity, data alignment method, device and equipment

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678435A (en) * 2013-07-08 2014-03-26 重庆绿色智能技术研究院 Drug specification data similarity matching method
CN103678262A (en) * 2013-12-27 2014-03-26 中西亚通医疗信息科技(北京)有限公司 Text processing method and text processing device
CN105184052A (en) * 2015-08-13 2015-12-23 易保互联医疗信息科技(北京)有限公司 Automatic coding method and system for medicine information
CN107103048A (en) * 2017-03-31 2017-08-29 苏州艾隆信息技术有限公司 Medicine information matching process and system
CN107203686A (en) * 2017-03-31 2017-09-26 苏州艾隆信息技术有限公司 medicine information difference processing method and system
CN107766395A (en) * 2017-03-03 2018-03-06 平安医疗健康管理股份有限公司 Data matching method and device
CN107784058A (en) * 2017-04-11 2018-03-09 平安医疗健康管理股份有限公司 Drug data processing method and processing device
CN107818124A (en) * 2017-03-03 2018-03-20 平安医疗健康管理股份有限公司 Data matching method and device
CN110289058A (en) * 2019-06-06 2019-09-27 北京市天元网络技术股份有限公司 A kind of electronic health record standardization matching process and device
CN110781677A (en) * 2019-10-12 2020-02-11 平安医疗健康管理股份有限公司 Medicine information matching processing method and device, computer equipment and storage medium
CN111180087A (en) * 2020-01-02 2020-05-19 中国中医科学院中医药信息研究所 Marketing medicine information standardization method, equipment, server and storage medium
CN111798969A (en) * 2020-06-29 2020-10-20 平安国际智慧城市科技股份有限公司 Medical medicine matching method and device, electronic equipment and storage medium
CN111931774A (en) * 2020-09-27 2020-11-13 耀方信息技术(上海)有限公司 Method and system for warehousing medicine data
CN112668280A (en) * 2020-12-29 2021-04-16 杭州依图医疗技术有限公司 Medical data processing method and device and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6829604B1 (en) * 1999-10-19 2004-12-07 Eclipsys Corporation Rules analyzer system and method for evaluating and ranking exact and probabilistic search rules in an enterprise database
CN113130038A (en) * 2021-04-30 2021-07-16 康键信息技术(深圳)有限公司 Medicine data matching method, device, equipment and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678435A (en) * 2013-07-08 2014-03-26 重庆绿色智能技术研究院 Drug specification data similarity matching method
CN103678262A (en) * 2013-12-27 2014-03-26 中西亚通医疗信息科技(北京)有限公司 Text processing method and text processing device
CN105184052A (en) * 2015-08-13 2015-12-23 易保互联医疗信息科技(北京)有限公司 Automatic coding method and system for medicine information
CN107818124A (en) * 2017-03-03 2018-03-20 平安医疗健康管理股份有限公司 Data matching method and device
CN107766395A (en) * 2017-03-03 2018-03-06 平安医疗健康管理股份有限公司 Data matching method and device
CN107103048A (en) * 2017-03-31 2017-08-29 苏州艾隆信息技术有限公司 Medicine information matching process and system
CN107203686A (en) * 2017-03-31 2017-09-26 苏州艾隆信息技术有限公司 medicine information difference processing method and system
CN107784058A (en) * 2017-04-11 2018-03-09 平安医疗健康管理股份有限公司 Drug data processing method and processing device
CN110289058A (en) * 2019-06-06 2019-09-27 北京市天元网络技术股份有限公司 A kind of electronic health record standardization matching process and device
CN110781677A (en) * 2019-10-12 2020-02-11 平安医疗健康管理股份有限公司 Medicine information matching processing method and device, computer equipment and storage medium
CN111180087A (en) * 2020-01-02 2020-05-19 中国中医科学院中医药信息研究所 Marketing medicine information standardization method, equipment, server and storage medium
CN111798969A (en) * 2020-06-29 2020-10-20 平安国际智慧城市科技股份有限公司 Medical medicine matching method and device, electronic equipment and storage medium
CN111931774A (en) * 2020-09-27 2020-11-13 耀方信息技术(上海)有限公司 Method and system for warehousing medicine data
CN112668280A (en) * 2020-12-29 2021-04-16 杭州依图医疗技术有限公司 Medical data processing method and device and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022228347A1 (en) * 2021-04-30 2022-11-03 康键信息技术(深圳)有限公司 Drug data matching method, apparatus and device, and storage medium
CN113742348A (en) * 2021-09-07 2021-12-03 上海柯林布瑞信息技术有限公司 Patient data matching method in CDR system, main index establishing method and device
CN113742348B (en) * 2021-09-07 2024-05-17 上海柯林布瑞信息技术有限公司 Patient data matching method in CDR system, main index establishing method and device
CN113509387A (en) * 2021-09-10 2021-10-19 江西中医药大学 Decision method of technological parameters of traditional Chinese medicine solid preparation, preparation method and system
CN115510049A (en) * 2022-11-15 2022-12-23 阿里健康科技(杭州)有限公司 Method, device, equipment and storage medium for inputting standard data of medicine
CN117009998A (en) * 2023-08-29 2023-11-07 上海倍通医药科技咨询有限公司 Data inspection method and system
CN117711593A (en) * 2024-02-05 2024-03-15 苏州绿华科技有限公司 Intelligent pharmacy medicine inlet and outlet management system
CN117711593B (en) * 2024-02-05 2024-04-19 苏州绿华科技有限公司 Intelligent pharmacy medicine inlet and outlet management system

Also Published As

Publication number Publication date
WO2022228347A1 (en) 2022-11-03

Similar Documents

Publication Publication Date Title
CN113130038A (en) Medicine data matching method, device, equipment and storage medium
CN111986770B (en) Prescription medication auditing method, device, equipment and storage medium
US20170337334A1 (en) Systems and Methods of Generating Medical Billing Codes
US20140343957A1 (en) Clinical content analytics engine
JP2011175648A (en) Method and system for organizing data
JP2012212437A (en) Method and system for data arrangement
CN112035741B (en) Reservation method, device, equipment and storage medium based on user physical examination data
US20200013491A1 (en) Interoperable Record Matching Process
CN113707300A (en) Search intention identification method, device, equipment and medium based on artificial intelligence
CN110929125A (en) Search recall method, apparatus, device and storage medium thereof
CN111198887B (en) Medicine indexing method, medicine retrieval method and system
CN111370132B (en) Electronic file analysis method and device, computer equipment and storage medium
CN112035757A (en) Medical waterfall flow pushing method, device, equipment and storage medium
CN114358001A (en) Method for standardizing diagnosis result, and related device, equipment and storage medium thereof
CN114830079A (en) Efficient data processing for identifying information and reformatting data files and applications thereof
CN114912887A (en) Clinical data entry method and device based on electronic medical record
CN111104481B (en) Method, device and equipment for identifying matching field
CN113724830A (en) Medicine taking risk detection method based on artificial intelligence and related equipment
CN113204942A (en) Medical record encoding method and device, terminal equipment and readable storage medium
CN112100202B (en) Product identification and product information completion method, storage medium and robot
CN116304186A (en) Post-structuring processing method and post-structuring processing system for medical document
US20230377697A1 (en) System and a way to automatically monitor clinical trials - virtual monitor (vm) and a way to record medical history
US11593417B2 (en) Assigning documents to entities of a database
CN114743209A (en) Prescription identification and verification method, system, electronic equipment and storage medium
CN115310772A (en) Method for monitoring quality supervision result data of medical instruments, medical instrument transaction platform and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination