Bill input method and related device
By matching the input medical entities in medical bills with the standard entity library and word segmentation processing, combined with the local entity library, the problem of low efficiency in manual entry is solved and efficient entry of medical bills is achieved.
Patent Information
- Application Number
- CN202410309710.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-18
- Publication Date
- 2024-08-27
AI Technical Summary
In the insurance business, when manually entering medical bills, due to differences in entity libraries in different places, matching and searching take a lot of time, and the entry efficiency is low.
By obtaining the input medical entity in the medical bill to be entered, matching it with the standard entity database, the candidate medical entity is obtained, segmenting it, and then matching it with the local entity database to determine the target medical entity to determine the entry result.
It improves the efficiency of medical bill entry, realizes the matching of input medical entities and local medical entities, and simplifies the entry process.
Smart Images

Figure CN118550986A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a bill entry method and related devices. Background Art
[0002] With the development of computer technology, in insurance business, the contents of medical bills are generally entered manually into the three-directory detail entry system to facilitate subsequent verification of the medical bills and calculation of the claim amount.
[0003] When manually entering medical bills, it is necessary to manually match the medical entities in the medical bills (such as drugs, medical treatments, and consumables) with the local medical entities in the local entity library, and store and calculate the claim amount based on the matched local medical entities. However, due to the differences in local entity libraries in different places, manual matching requires a lot of time to match and search, resulting in low entry efficiency. Summary of the invention
[0004] Based on the above problems, the present application provides a bill processing method and related devices to solve the problem of low processing efficiency of bill entry.
[0005] The embodiments of the present application disclose the following technical solutions:
[0006] In a first aspect, an embodiment of the present application provides a bill entry method, the method comprising:
[0007] Acquire an input medical entity to be matched; the input medical entity is obtained based on the medical bill to be entered;
[0008] Matching the input medical entity with a plurality of standard medical entities in a standard entity library to obtain a candidate medical entity;
[0009] Performing word segmentation processing on the candidate medical entity to obtain a candidate word segmentation result;
[0010] Matching the candidate word segmentation results with a plurality of local medical entities in a local entity library to obtain a target medical entity; the local entity library indicates an entity library corresponding to the location indicated by the medical bill;
[0011] The target medical entity is used to determine the entry result corresponding to the medical bill.
[0012] Optionally, matching the input medical entity with a plurality of standard medical entities in a standard entity library to obtain a candidate medical entity includes:
[0013] Recall and match the input medical entity with a plurality of standard medical entities in the standard entity library to obtain a plurality of candidate standard medical entities;
[0014] The input medical entity is semantically matched with the multiple candidate standard medical entities to determine the candidate medical entity.
[0015] Optionally, the step of performing recall matching on the input medical entity and a plurality of standard medical entities in the standard entity library to obtain a plurality of candidate standard medical entities includes:
[0016] constructing a query vector according to the input medical entity;
[0017] Using the query vector, selecting standard medical entities having a similarity with the query vector higher than a preset similarity from the standard entity library as similar standard medical entities;
[0018] Calculating a matching value between each similar standard medical entity and the input medical entity;
[0019] Based on the plurality of matching values, sorting the plurality of similar standard medical entities in descending order;
[0020] The first N similar standard medical entities are taken as candidate standard medical entities; wherein N is a positive integer greater than or equal to 2.
[0021] Optionally, performing word segmentation processing on the candidate medical entity to obtain a candidate word segmentation result includes:
[0022] determining an entity type of the input medical entity;
[0023] The candidate medical entities are segmented based on the entity type to obtain candidate segmentation results.
[0024] Optionally, matching the candidate word segmentation results with a plurality of local medical entities in the local entity library to obtain a target medical entity includes:
[0025] Determine the keyword corresponding to the candidate medical entity based on the candidate word segmentation result;
[0026] The keyword is matched with a plurality of local medical entities in the local entity library, and the successfully matched local medical entity is used as a target medical entity.
[0027] Optionally, the using the target medical entity to determine the input result corresponding to the medical bill includes:
[0028] Determine the medical insurance level and self-payment ratio corresponding to the target medical entity according to the target medical entity and the bill time corresponding to the medical bill;
[0029] The input result corresponding to the medical bill is determined according to the medical insurance level and the self-payment ratio.
[0030] Optionally, obtaining an input medical entity to be matched includes:
[0031] Determine the bill text content corresponding to the medical bill;
[0032] Segmenting the text content of the bill to obtain a text segmentation result;
[0033] The text segmentation result is matched with a corpus of different medical types to obtain the input medical entity.
[0034] In a second aspect, an embodiment of the present application provides a bill entry device, the device comprising:
[0035] An acquisition module, used for acquiring an input medical entity to be matched; the input medical entity is obtained based on the medical bill to be entered;
[0036] A first matching module, used for matching the input medical entity with a plurality of standard medical entities in a standard entity library to obtain a candidate medical entity;
[0037] A word segmentation module, used to perform word segmentation processing on the candidate medical entity to obtain a candidate word segmentation result;
[0038] A second matching module is used to match the candidate word segmentation results with a plurality of local medical entities in a local entity library to obtain a target medical entity; the local entity library indicates an entity library corresponding to the location indicated by the medical bill;
[0039] An input module is used to use the target medical entity to determine the input result corresponding to the medical bill.
[0040] In a third aspect, an embodiment of the present application provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the ticket entry method as described in the first aspect is implemented.
[0041] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal device, the terminal device executes the ticket entry method as described in the first aspect.
[0042] Compared with the prior art, this application has the following beneficial effects:
[0043] The bill entry method provided in the embodiment of the present application obtains an input medical entity to be matched based on the medical bill to be entered, then matches the input medical entity with multiple standard medical entities in the standard entity library to obtain a candidate medical entity, further performs word segmentation processing on the candidate medical entity to obtain a candidate word segmentation result, then matches the candidate word segmentation result with multiple local medical entities in the local entity library to obtain a target medical entity, and uses the target medical entity to determine the entry result corresponding to the medical bill, wherein the local entity library indicates the entity library corresponding to the location indicated by the medical bill. Among them, the embodiment of the present application matches the input medical entity to be entered in the medical bill with the standard entity library to convert the input medical entity into a standard medical entity, and further matches the standard medical entity with the local medical entity to obtain the target medical entity, thereby achieving matching of the input medical entity with the local medical entity, and determining the entry result of the medical bill based on the matched target medical entity, thereby improving the entry efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0045] Figure 1 A flowchart of a bill entry method provided in an embodiment of the present application;
[0046] Figure 2 A schematic diagram of a bill entry method provided in an embodiment of the present application;
[0047] Figure 3 A schematic diagram of the structure of a bill entry device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] As described above, in the research on the entry of medical bills, it was found that in the insurance business, the contents of the medical bills are generally manually entered into the three-directory detailed entry system to facilitate the subsequent verification of the medical bills and the calculation of the claim amount. For example, if medical bill A is "disposable injection needle, 1 piece, 1 yuan", then it is necessary to manually enter "disposable injection needle, 1 piece, 1 yuan" into the three-directory detailed entry system.
[0049] Among them, when manually entering medical bills, it is necessary to manually match the medical entities (such as drugs, diagnosis and treatment, and consumables) in the medical bills with the local medical entities in the local entity library, and store and calculate the claim amount based on the matched local medical entities. For example, when medical bill A is "Diquafosol Sodium Eye Drops, 1 tube, 90 yuan", the medical entity in medical bill A is "Diquafosol Sodium Eye Drops", but in the local entity library, the corresponding name of "Diquafosol Sodium Eye Drops" is "Aix", so it is necessary to manually match "Diquafosol Sodium Eye Drops" with the local medical entity "Aix" in the local entity library, and store the relevant information of "Aix".
[0050] However, since each province includes a local entity library, manual matching requires a lot of time to match and search, resulting in low input efficiency.
[0051] In order to solve the above problems, the embodiment of the present application provides a bill entry method and related devices. The method includes: obtaining an input medical entity to be matched based on the medical bill to be entered, then matching the input medical entity with multiple standard medical entities in the standard entity library to obtain a candidate medical entity, further performing word segmentation processing on the candidate medical entity to obtain a candidate word segmentation result, then matching the candidate word segmentation result with multiple local medical entities in the local entity library to obtain a target medical entity, and using the target medical entity to determine the entry result corresponding to the medical bill, wherein the local entity library indicates the entity library corresponding to the location indicated by the medical bill.
[0052] In this way, the embodiment of the present application matches the input medical entity to be entered in the medical bill with the standard entity library to convert the input medical entity into a standard medical entity, and further matches the standard medical entity with the local medical entity to obtain the target medical entity, that is, the standard medical entity is used as an intermediate quantity to achieve matching between the input medical entity and the local medical entity, and the entry result of the medical bill is determined based on the matched target medical entity, thereby improving the entry efficiency.
[0053] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0054] In order to facilitate understanding of the following embodiments, several terms that may appear in the following embodiments are first explained:
[0055] Medical bills refer to bills for various expenses incurred by patients during medical treatment, including but not limited to bills for medicine, medical treatment, consumables, etc., which are not specifically limited here. Medical bills are mainly used by patients as vouchers or other vouchers for insurance reimbursement.
[0056] The three medical catalogues refer to the "Basic Medical Insurance Drug Catalogue", "Basic Medical Insurance Service Facility Catalogue" and "Basic Medical Insurance Diagnosis and Treatment Item Catalogue". The three catalogues strictly regulate the drugs, diagnosis and treatment items, medical service facility scope and payment standards included in the basic medical insurance payment scope. Specifically, the basic medical insurance drug catalogue mainly includes drugs included in the basic medical insurance payment scope; the basic medical insurance diagnosis and treatment item catalogue refers to the routine methods with good examination and treatment effects that should be selected in the medical service process; the basic medical insurance service facility catalogue refers to the necessary and appropriate medical service facilities and environment that should be selected as the medical insurance payment scope in the process of providing medical services such as hospitalization.
[0057] The three-directory detail entry system is used to enter the medical entity recorded in the medical bill and the associated information corresponding to the medical entity, so as to facilitate the subsequent calculation and verification of the bill amount of the medical bill. Medical entity refers to the entity of different medical types in the medical bill, such as the medical entity is the name of the drug, the name of the diagnosis and treatment, the name of the consumables, etc. The medical type can include but is not limited to drugs, diagnosis and treatment, and consumables, and in some cases can also include diseases, which are not specifically limited here.
[0058] See also Figure 1 , which is a flow chart of a bill entry method provided in an embodiment of the present application, combined with Figure 1 As shown, the bill entry method provided in the embodiment of the present application may include:
[0059] S101: Obtain input medical entities to be matched.
[0060] The input medical entity refers to the medical entity that needs to be entered, such as the name of a drug, the name of a diagnosis and treatment, the name of a consumable, etc. The input medical entity is obtained based on the medical bill to be entered. For example, the input medical entity can be obtained by identifying the medical bill through optical character recognition (OCR) technology, or can be obtained by other means, which are not specifically limited here.
[0061] In a possible implementation, step S101 may include:
[0062] Step 11: Determine the bill text content corresponding to the medical bill.
[0063] The text content of the bill means the text content included in the medical bill. For example, the text content of medical bill X can be "442919 Yunnan Baiyao Paste | National Medicine Standard No. 220073015 6.5cp*10cm46.4400%2.00S288 Western medicine fee: 57.12 Examination fee: Surgery fee: Infusion fee: Laboratory fee: Treatment fee: Chinese patent medicine fee: Chinese herbal medicine slices: Medical materials: Oxygen supply fee: Observation bed fee: Starting standard: 574.80 Personal payment: 150 Total: One hundred and fifty yuan".
[0064] Step 12: Segment the text content of the bill to obtain a text segmentation result.
[0065] It should be understood that, since the bill text content may include content that is irrelevant to the input medical entity, it is necessary to first segment the bill text content, and then determine the input medical entity from the text segmentation result. Exemplarily, based on the previous example, the text segmentation result of the bill text content of medical bill X can be: "442919", "Yunnan Baiyao Paste", "National Medicine Standard", "220073015", "6.5cp*10cm", "46.4400%", "2.00", "S288", "Western medicine fee: 57.12", "Examination fee:", "Surgery fee:", "Infusion fee:", "Laboratory fee:", "Treatment fee:", "Chinese patent medicine fee:", "Chinese herbal medicine slices:", "Medical materials:", "Oxygen supply fee:", "Observation bed fee:", "Starting standard: 574.80", "Personal payment: 150", "Total: One hundred and fifty yuan".
[0066] Step 13: Match the text segmentation result with the corpus of different medical types to obtain the input medical entity.
[0067] The corpus refers to a corpus corresponding to medical entities of different medical types (such as medicines, diagnosis and treatment, and consumables). For example, the corpus of the medical type of medicine includes a variety of drug names and the like.
[0068] Among them, the input medical entity can be determined by matching the text segmentation result with the corpus of different medical types. For example, based on the previous example, the text segmentation result "Yunnan Baiyao Paste" matches the corpus of the medical type of medicine, and "Yunnan Baiyao Paste" is used as the input medical entity.
[0069] S102: Match the input medical entity with a plurality of standard medical entities in a standard entity library to obtain a candidate medical entity.
[0070] The candidate medical entity refers to a standard medical entity that matches the input medical entity. The candidate medical entity may include one or more. The number of candidate medical entities may be determined according to actual needs and is not limited here.
[0071] The standard entity library includes multiple standard medical entities. A standard medical entity is a uniformly specified medical entity. For example, a standard medical entity is a standard drug name, which can be the generic name of the drug. The standard entity library can be constructed based on standard data sources, medical entity hierarchies, and dosage form libraries.
[0072] Standard data sources refer to data sources that are widely recognized and used as reference in the medical field. Standard data sources are usually authoritative, accurate and reliable, and can be used for various decisions, research and analysis. Standard data sources can include multiple medical entities specified in the standards. For example, the medical type of a medical entity is a drug, and the medical entity is XXX sustained-release capsules. The name of XXX sustained-release capsules should be "Y sustained-release capsules" according to the standards. For example, the medical type of a medical entity is consumables, and the medical entity can be a disposable syringe. The name of a disposable syringe according to the standards can be "disposable injection needle".
[0073] The medical entity level refers to the level used to divide medical entities. For example, if the medical type of a medical entity is diagnosis and treatment, the diagnosis and treatment level can be major categories of diagnosis and treatment, core words of diagnosis and treatment, names of diagnosis and treatment, etc.; for example, if the medical type of a medical entity is medicine, the medicine level can be trade name, generic name (ingredients + dosage form); for example, if the medical type of a medical entity is consumables, the consumables level can be primary classification (discipline, category), secondary classification (purpose, item), tertiary classification (part, function, variety), generic name, product name.
[0074] The dosage form library is a database or information system that contains various dosage forms of drugs. The dosage form library usually contains various dosage form information of drugs, such as tablets, capsules, injections, oral solutions, etc. Each drug will correspond to one or more dosage forms in the dosage form library, and these dosage form information are of great guiding significance for the production, storage, transportation, sales and use of drugs. The dosage forms of the drug library can be divided into solid, semi-solid, liquid and gas, etc. Solid preparations refer to drugs in solid form, and common ones include tablets, capsules, powders, granules, etc. Liquid preparations include but are not limited to injections, suspensions, solutions, etc. Semi-solid preparations include but are not limited to creams, suppositories, gels, etc. Gas preparations refer to aerosols, sprays, powder sprays, etc. In addition, some other dosage forms are also included, such as films, eye preparations, ear preparations, nasal preparations, etc.
[0075] As a possible implementation, step S102 may include:
[0076] Step 21: recall and match the input medical entity with multiple standard medical entities in the standard entity library to obtain multiple candidate standard medical entities.
[0077] Recall matching is mainly used to select the standard entity that is most likely to match the input medical entity as a candidate standard medical entity from the standard entity library based on the matching degree between the input medical entity and multiple standard medical entities.
[0078] In a possible implementation, the process of determining multiple candidate standard medical entities through recall matching may be:
[0079] Step 31: Construct a query vector according to the input medical entity.
[0080] The query vector refers to a vector used to screen standard medical entities with high similarity to the input medical entity in the standard entity library, which is similar to an index or keyword. For example, taking the input medical entity "omeprazole for injection" as an example, the query vector "omeprazole" can be constructed based on "omeprazole for injection".
[0081] Step 32: Using the query vector, standard medical entities having a similarity with the query vector higher than a preset similarity are selected from the standard entity library as similar standard medical entities.
[0082] Similar standard medical entities refer to standard medical entities whose similarity to the query vector is higher than the preset similarity. For example, taking the input medical entity as "omeprazole for injection" as an example, a query vector "omeprazole" can be constructed based on "omeprazole for injection", and then the query vector is used to screen out standard medical entities whose similarity to "omeprazole" is higher than the preset similarity (such as 70%) from the standard drug library (referring to the aforementioned standard entity library) as similar standard medical entities, such as "omeprazole enteric-coated tablets", "omeprazole injection", "omeprazole enteric-coated capsules", "omeprazole injection", "omeprazole injection", and so on.
[0083] Step 33: Calculate the matching value between each similar standard medical entity and the input medical entity.
[0084] It should be understood that since there may be multiple standard medical entities with a similarity higher than the preset similarity with the query vector, it is necessary to further determine the matching degree between the similarity standard medical entity and the input medical entity after determining one or more similarity standard medical entities to improve the matching accuracy. For example, taking the input medical entity "omeprazole for injection" as an example, the similar standard medical entities are "omeprazole enteric-coated tablets", "omeprazole injection", "omeprazole enteric-coated capsules", "omeprazole injection", and "omeprazole injection". The matching degree of each similar standard medical entity with the input medical entity is: "omeprazole enteric-coated tablets" is 60%, "omeprazole injection" is 70%, "omeprazole enteric-coated capsules" is 55%, "omeprazole injection" is 71%, and "omeprazole injection" is 88%.
[0085] Step 34: Based on the multiple matching values, sort the multiple similar standard medical entities in descending order.
[0086] In the embodiment of the present application, after determining the matching value of each similar standard medical entity, multiple similar standard medical entities are sorted from high to low according to the matching value, so as to facilitate the subsequent determination of candidate standard medical entities. Exemplarily, based on the above example, the sorting results may be "Omeprazole for injection", "Omeprazole for injection", "Omeprazole injection", "Omeprazole enteric-coated tablets", and "Omeprazole enteric-coated capsules".
[0087] Step 35: taking the first N similar standard medical entities as candidate standard medical entities; wherein N is a positive integer greater than or equal to 2.
[0088] Exemplarily, based on the previous example, the first three similar standard medical entities are used as candidate standard medical entities, and the candidate standard medical entities are "omeprazole injection", "omeprazole injection", and "omeprazole injection".
[0089] Step 22: semantically match the input medical entity with the multiple candidate standard medical entities to determine the candidate medical entity.
[0090] Semantic matching refers to finding the degree of similarity between two texts and determining whether they express the same or similar meanings through semantic analysis and understanding of texts in the field of natural language processing.
[0091] After determining multiple candidate standard medical entities, it is further necessary to perform semantic matching between the input medical entity and the candidate medical entity to determine whether the input medical entity and the candidate medical entity are the same entity or similar entities, so as to further improve the accuracy of the candidate medical entity.
[0092] It should be noted that in the relevant technology, since the local medical entities indicated by the local entity libraries in various places are different from the input medical entities, it is necessary to match the input medical entities with the local medical entities, and use the matched local medical entities to determine the associated key information. For example, if the input medical entity is "ibuprofen sustained-release capsules", and the local medical entity matching "ibuprofen sustained-release capsules" is "ibuprofen", then it is necessary to manually match "ibuprofen sustained-release capsules" with "ibuprofen", and use "ibuprofen" to associate the corresponding key information and enter it.
[0093] Therefore, in order to achieve the matching of input medical entities with local medical entities, the input medical entities need to be converted into standard medical entities first. That is, the standard medical entity is the standard corresponding to the local medical entities in various places. For example, the input medical entity is a "disposable collection tube", the standard medical entity is a "disposable vacuum blood collection tube", and the local medical entity is a "vacuum blood collection tube", that is, the standard medical entity is associated with the input medical entity and the local medical entity respectively. Therefore, by using the standard medical entity as an intermediate quantity between the input medical entity and the local medical entity, the matching accuracy and efficiency can be improved.
[0094] S103: Perform word segmentation processing on the candidate medical entity to obtain a candidate word segmentation result.
[0095] It should be understood that the candidate medical entity is the standard medical entity that matches the input medical entity. After the input medical entity is converted into a candidate medical entity (that is, a standard medical entity), the candidate medical entity needs to be further matched with the local medical entity. Therefore, it is necessary to first perform word segmentation on the candidate medical entity and split the candidate medical entity into multiple keywords, that is, to obtain the candidate word segmentation result.
[0096] In a possible implementation, step S103 may include:
[0097] Step 41: Determine the entity type of the input medical entity.
[0098] Entity type refers to the type of medical entity input, including but not limited to drugs, diagnosis and treatment, diseases, and consumables, which are not specifically limited here.
[0099] It should be understood that in the embodiment of the present application, input medical entities of different entity types can be split into different combinations, that is, there are different ways of splitting the candidate medical entities corresponding to the input medical entities.
[0100] Step 42: Perform word segmentation processing on the candidate medical entity based on the entity type to obtain a candidate word segmentation result.
[0101] For example, if the entity type is drug, then the medical hierarchical structure corresponding to the drug is ingredient name, generic name (ingredient + dosage form). Assuming that the candidate medical entity is "Omeprazole for injection", then the candidate medical entity needs to be split into "Omeprazole" and "injection", that is, the candidate word segmentation results are "Omeprazole" and "injection".
[0102] S104: Match the candidate word segmentation results with multiple local medical entities in the local entity library to obtain a target medical entity.
[0103] The target medical entity refers to the local medical entity corresponding to the input medical entity.
[0104] The local entity library indicates an entity library corresponding to the location indicated by the medical bill. The local entity library includes multiple local medical entities, which are medical entities specified by various places. For example, the local medical entity is a local drug name, which may be a trade name.
[0105] In some possible implementations, step S104 may include:
[0106] Step 51: Determine the keywords corresponding to the candidate medical entity based on the candidate word segmentation results.
[0107] Keywords refer to keywords corresponding to candidate word segmentation results. For example, keywords that may be related to medical entities are identified in the candidate word segmentation results. In some possible implementations, the keywords may be determined according to some predefined rules, patterns, or existing medical entity libraries, which are not specifically limited here.
[0108] Step 52: Match the keyword with a plurality of local medical entities in the local entity library, and use the successfully matched local medical entity as the target medical entity.
[0109] The matching process usually involves string comparison between keywords and local medical entities in the local entity library, and various string matching algorithms or techniques can be used, such as regular expressions, fuzzy matching, substring matching, etc. In the matching process, local medical entities that are completely matched or highly similar to the candidate medical entities can be screened out from the local entity library based on keywords as target medical entities.
[0110] It should be understood that in the embodiment of the present application, by matching the candidate word segmentation results with the local medical entities in the local entity library, the matching efficiency can be improved.
[0111] S105: Using the target medical entity to determine the entry result corresponding to the medical bill.
[0112] The input result means the result of entering the medical bill into the system, including but not limited to entering the medical entity and entering relevant information corresponding to the medical entity, such as quantity, unit price, total price, etc., which is not specifically limited here.
[0113] The bill entry method provided in the embodiment of the present application obtains an input medical entity to be matched based on the medical bill to be entered, then matches the input medical entity with multiple standard medical entities in the standard entity library to obtain a candidate medical entity, further performs word segmentation processing on the candidate medical entity to obtain a candidate word segmentation result, then matches the candidate word segmentation result with multiple local medical entities in the local entity library to obtain a target medical entity, and uses the target medical entity to determine the entry result corresponding to the medical bill, wherein the local entity library indicates the entity library corresponding to the location indicated by the medical bill. Among them, the embodiment of the present application matches the input medical entity to be entered in the medical bill with the standard entity library to convert the input medical entity into a standard medical entity, and further matches the standard medical entity with the local medical entity to obtain the target medical entity, thereby achieving matching of the input medical entity with the local medical entity, and determining the entry result of the medical bill based on the matched target medical entity, thereby improving the entry efficiency.
[0114] In some possible implementations, step S105 may include:
[0115] Step 61: Determine the medical insurance level and self-payment ratio corresponding to the target medical entity according to the target medical entity and the bill time corresponding to the medical bill.
[0116] The bill time refers to the time when the expenses in the medical bill occurred. It should be understood that the medical insurance level and self-payment ratio associated with the target medical entity may vary from year to year, so the medical insurance level and self-payment ratio need to be determined based on the target medical entity and the bill time.
[0117] Medical insurance levels, i.e. basic medical insurance levels, are mainly divided into three levels: Level 1, Level 2 and Level 3. Different levels of medical insurance may have different reimbursement ratios.
[0118] The out-of-pocket ratio refers to the proportion of medical expenses that an individual needs to bear under medical insurance.
[0119] Step 62: Determine the input result corresponding to the medical bill according to the medical insurance level and the self-payment ratio.
[0120] For example, the cost result of the medical bill can be determined according to the medical insurance level and the self-payment ratio, and the calculated cost result can be entered into the system as the input result. In other possible implementations, the text content of the medical bill can also be included, such as the cost of the medical bill, the time of occurrence, the place of occurrence, the recorded single cost, the recorded total cost, etc., which are not specifically limited here.
[0121] Based on the bill entry method provided in the above embodiment, the present application embodiment also provides another bill entry method, see Figure 2 , this figure is a schematic diagram of a bill entry method provided in an embodiment of the present application, which can mainly include three parts: a knowledge base, a service process and an algorithm model. Among them, the knowledge base part is mainly used to provide various types of basic libraries to the service process part, such as standard entity libraries, local entity libraries, and standard library mapping tables corresponding to local entity libraries. The service process part is mainly used to implement the entry process of medical bills. The algorithm model part is mainly used to provide algorithm support for the service process part, including but not limited to tf-idf inverted retrieval model, text alignment model, matching strategy model, sample enhancement model, etc., which are not specifically limited here.
[0122] Combination Figure 2 As shown, the bill entry method provided in the embodiment of the present application may include:
[0123] Step 71: Based on the input medical entity and the hierarchical standard medical entity library, a probability model is used to select about 100 candidate standard medical entities that are most relevant to the input medical entity from the standard medical entity library.
[0124] The probability model is a semantic matching method based on probability statistics. It usually uses probability distribution to describe the similarity or matching degree between texts. The probability model evaluates the semantic similarity between two texts by calculating statistical information such as the probability of word occurrence in the text and the co-occurrence probability between words. Common probability models include the naive Bayes classifier based on the bag-of-words model and the latent Dirichlet allocation (LDA).
[0125] Recall matching is a semantic matching method based on similarity calculation. It aims to find the text that is most similar or matches the target text from the candidate set. Recall matching usually uses various similarity measurement methods, such as cosine similarity, Euclidean distance, etc., to calculate the similarity between texts. By setting thresholds or sorting, recall matching can filter out the text that is most similar to the target text from the candidate set.
[0126] That is, in the embodiment of the present application, a probability model may be used instead of recall matching to determine candidate standard medical entities, which is not specifically limited here.
[0127] Step 72: Based on the medical NLP semantic matching model, 10 candidate medical entities that are most semantically relevant to the input medical entity are screened out from hundreds of relevant candidate medical entities.
[0128] The NLP semantic matching model is a natural language processing (NLP) task used to measure text similarity. The goal of this model is to understand the semantic relationship between two texts and determine whether they express the same or similar meanings. The NLP semantic matching model usually includes steps such as text preprocessing, feature extraction, semantic representation, matching calculation, and result sorting and output. In the preprocessing stage, the input text is cleaned and standardized, such as removing irrelevant characters, filtering stop words, and extracting stems. In the feature extraction stage, meaningful features are extracted from the text, such as bag-of-words models, TF-IDF, Word2Vec, etc. In the semantic representation stage, the extracted features are converted into a fixed-dimensional vector representation, namely a semantic vector, which is usually implemented through deep learning models such as RNN, CNN, or Transformer. In the matching calculation stage, the similarity or matching degree between two semantic vectors is calculated, which can be achieved through various distance measurement methods or specialized matching algorithms. Finally, in the result sorting and output stage, the results are sorted according to the calculated matching degree, and the best matching text or answer is output.
[0129] Step 73: Use the medical NLP word segmentation model to segment each candidate medical entity to obtain a candidate word segmentation result corresponding to each candidate medical entity.
[0130] The NLP word segmentation model is an important model in natural language processing (NLP), which is mainly used to decompose candidate medical entities into data structures based on words for subsequent processing and analysis.
[0131] Step 74: Match the candidate word segmentation results corresponding to each candidate medical entity with the local medical entity database to obtain the target medical entity.
[0132] Determining the target medical entity based on the candidate segmentation results helps to improve the accuracy of the target medical entity and enhance the robustness of the system.
[0133] Step 75: Determine the medical insurance level and the self-payment ratio through the target medical entity, the location of the medical bill and the bill time, and obtain the input result based on the medical insurance level and the self-payment ratio.
[0134] The bill entry method provided in the embodiment of the present application has the same beneficial effects as the bill entry method provided in the above embodiment, which will not be repeated here.
[0135] Based on the bill entry method provided in the above embodiment, the present application embodiment also provides a bill entry device, see Figure 3 , which is a schematic diagram of the structure of the bill entry device provided in the embodiment of the present application, combined with Figure 3 As shown, the bill entry device 300 provided in the embodiment of the present application may include:
[0136] The acquisition module 301 is used to acquire an input medical entity to be matched; the input medical entity is obtained based on the medical bill to be entered;
[0137] A first matching module 302 is used to match the input medical entity with a plurality of standard medical entities in a standard entity library to obtain a candidate medical entity;
[0138] The word segmentation module 303 is used to perform word segmentation processing on the candidate medical entity to obtain a candidate word segmentation result;
[0139] The second matching module 304 is used to match the candidate word segmentation result with a plurality of local medical entities in a local entity library to obtain a target medical entity; the local entity library indicates an entity library corresponding to the location indicated by the medical bill;
[0140] The input module 305 is used to determine the input result corresponding to the medical bill using the target medical entity.
[0141] As an example, the first matching module 302 includes:
[0142] A recall matching unit, configured to perform recall matching on the input medical entity and a plurality of standard medical entities in the standard entity library to obtain a plurality of candidate standard medical entities;
[0143] The semantic matching unit is used to perform semantic matching between the input medical entity and the multiple candidate standard medical entities to determine the candidate medical entity.
[0144] As an example, the recall matching unit includes:
[0145] A construction subunit, used for constructing a query vector according to the input medical entity;
[0146] a screening subunit, configured to use the query vector to screen out standard medical entities having a similarity with the query vector higher than a preset similarity from the standard entity library as similar standard medical entities;
[0147] A calculation subunit, used for calculating a matching value between each similar standard medical entity and the input medical entity;
[0148] A sorting subunit, used for sorting the plurality of similar standard medical entities in descending order based on the plurality of matching values;
[0149] The recall matching subunit is used to take the first N similar standard medical entities as candidate standard medical entities; wherein N is a positive integer greater than or equal to 2.
[0150] As an example, the word segmentation module 303 includes:
[0151] a type determination unit, configured to determine the entity type of the input medical entity;
[0152] The word segmentation unit is used to perform word segmentation processing on the candidate medical entity based on the entity type to obtain a candidate word segmentation result.
[0153] As an example, the second matching module 304 includes:
[0154] A keyword determination unit, configured to determine keywords corresponding to the candidate medical entity based on the candidate word segmentation result;
[0155] The entity matching unit is used to match the keyword with multiple local medical entities in the local entity library, and use the successfully matched local medical entity as the target medical entity.
[0156] As an example, the input module 305 includes:
[0157] A grade ratio determination unit, used to determine the medical insurance grade and self-payment ratio corresponding to the target medical entity according to the target medical entity and the bill time corresponding to the medical bill;
[0158] An input unit is used to determine the input result corresponding to the medical bill according to the medical insurance level and the self-payment ratio.
[0159] As an example, the acquisition module 301 includes:
[0160] A text determination unit, used to determine the bill text content corresponding to the medical bill;
[0161] Segmenting the text content of the bill to obtain a text segmentation result;
[0162] The text segmentation result is matched with a corpus of different medical types to obtain the input medical entity.
[0163] The bill entry device provided in the embodiment of the present application has the same beneficial effects as the bill entry method provided in the above embodiment, so they will not be described in detail.
[0164] The embodiments of the present application also provide corresponding devices and computer storage media for implementing the solutions provided by the embodiments of the present application.
[0165] The device includes a memory and a processor, the memory is used to store instructions or codes, and the processor is used to execute the instructions or codes so that the device executes the bill entry method described in any embodiment of the present application.
[0166] The computer storage medium stores codes, and when the codes are executed, the device executing the codes implements the bill entry method described in any embodiment of the present application.
[0167] It should be noted that each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and equipment embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments. The device and equipment embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components indicated as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. A person of ordinary skill in the art can understand and implement it without paying creative labor.
[0168] The "first" and "second" in the names such as "first" and "second" (if any) mentioned in the embodiments of the present application are only used as name identifiers and do not represent the first or second in order.
[0169] Through the description of the above implementation methods, it can be known that those skilled in the art can clearly understand that all or part of the steps in the above-mentioned embodiment method can be implemented by means of software plus a general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a storage medium, such as a read-only memory (ROM) / RAM, a magnetic disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network communication device such as a router) to execute the methods described in each embodiment of the present application or some parts of the embodiments.
[0170] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for entering bills, It is characterized in that The method comprises: Acquire an input medical entity to be matched; the input medical entity is obtained based on the medical bill to be entered; Matching the input medical entity with a plurality of standard medical entities in a standard entity library to obtain a candidate medical entity; Performing word segmentation processing on the candidate medical entity to obtain a candidate word segmentation result; Matching the candidate word segmentation results with a plurality of local medical entities in a local entity library to obtain a target medical entity; the local entity library indicates an entity library corresponding to the location indicated by the medical bill; The target medical entity is used to determine the entry result corresponding to the medical bill.
2. The method according to claim 1, It is characterized in that The step of matching the input medical entity with a plurality of standard medical entities in a standard entity library to obtain a candidate medical entity comprises: Recall and match the input medical entity with a plurality of standard medical entities in the standard entity library to obtain a plurality of candidate standard medical entities; The input medical entity is semantically matched with the multiple candidate standard medical entities to determine the candidate medical entity.
3. The method according to claim 2, It is characterized in that The step of recalling and matching the input medical entity with a plurality of standard medical entities in the standard entity library to obtain a plurality of candidate standard medical entities includes: constructing a query vector according to the input medical entity; Using the query vector, selecting standard medical entities having a similarity with the query vector higher than a preset similarity from the standard entity library as similar standard medical entities; Calculating a matching value between each similar standard medical entity and the input medical entity; Based on the plurality of matching values, sorting the plurality of similar standard medical entities in descending order; The first N similar standard medical entities are taken as candidate standard medical entities; wherein N is a positive integer greater than or equal to 2.
4. The method according to claim 1, It is characterized in that The performing word segmentation processing on the candidate medical entity to obtain a candidate word segmentation result includes: determining an entity type of the input medical entity; The candidate medical entities are segmented based on the entity type to obtain candidate segmentation results.
5. The method according to claim 1, It is characterized in that The step of using the target medical entity to determine the input result corresponding to the medical bill includes: Determine the medical insurance level and self-payment ratio corresponding to the target medical entity according to the target medical entity and the bill time corresponding to the medical bill; The input result corresponding to the medical bill is determined according to the medical insurance level and the self-payment ratio.
6. The method according to claim 1, It is characterized in that The step of obtaining the input medical entity to be matched includes: Determine the bill text content corresponding to the medical bill; Segmenting the text content of the bill to obtain a text segmentation result; The text segmentation result is matched with a corpus of different medical types to obtain the input medical entity.
7. The method according to claim 1, It is characterized in that The candidate word segmentation results are matched with a plurality of local medical entities in the local entity library to obtain a target medical entity, including: Determine the keyword corresponding to the candidate medical entity based on the candidate word segmentation result; The keyword is matched with a plurality of local medical entities in the local entity library, and the successfully matched local medical entity is used as a target medical entity.
8. A bill entry device, It is characterized in that The device comprises: An acquisition module, used for acquiring an input medical entity to be matched; the input medical entity is obtained based on the medical bill to be entered; A first matching module, used for matching the input medical entity with a plurality of standard medical entities in a standard entity library to obtain a candidate medical entity; A word segmentation module, used to perform word segmentation processing on the candidate medical entity to obtain a candidate word segmentation result; A second matching module is used to match the candidate word segmentation results with a plurality of local medical entities in a local entity library to obtain a target medical entity; the local entity library indicates an entity library corresponding to the location indicated by the medical bill; An input module is used to use the target medical entity to determine the input result corresponding to the medical bill.
9. A computer device, It is characterized in that include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the bill entry method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores instructions, and when the instructions are executed on the terminal device, the terminal device executes the bill entry method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Medical data matching method and device
CN107784057A
Medical data matching method and device, storage medium and electronic device
CN109933612A
Medical bill information integration method for personal injury claim settlement
CN113255642A
Medical term normalization method and system based on editing distance and medium
CN114819155A
Cited By
Bill warehousing method and system
CN119049678A
Medical electronic invoice detail acquisition method, electronic equipment and storage medium
CN119128227A
