Drug instruction sheet processing method, device, electronic device and storage medium

By obtaining key information from the drug inserts and using reference tables to expand indications, the problem of inadequate indication information in the drug inserts was solved, and detailed descriptions of drug indications and improved medication safety were achieved.

CN119271809BActive Publication Date: 2025-09-12SINGULARITY INTELLIGENCE (BEIJING) TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411286969.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2025-09-12
Estimated Expiration
2044-09-13

AI Technical Summary

Technical Problem

The drug indication information in the current drug instructions is omitted with words such as "etc.", resulting in the inability to know the specific indications and to provide clinicians with detailed treatment plans.

Method used

By obtaining key information from the drug instructions and using the preset symptom information reference table and ingredient indication reference table, the drug indication information is expanded, detailed target indication information is generated, and intersection processing is performed on the symptom and ingredient information.

Benefits of technology

It realizes the automatic expansion of the indication information in the drug instructions, provides detailed drug indication information, and improves the accuracy and safety of medication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119271809B_ABST
    Figure CN119271809B_ABST
Patent Text Reader

Abstract

The present invention provides a drug instruction sheet processing method, device, electronic device, and storage medium. The method includes: obtaining first key information KI1 and second key information KI2 in a target processing text; obtaining label information M of the symptom corresponding to KI1 based on KI1 and a preset symptom information reference table; obtaining a common keyword Ck corresponding to M, and obtaining a symptom name set NS corresponding to Ck based on Ck and the preset symptom information reference table; obtaining the union of KI1 and NS as first indication information ID1 of the target processing text; obtaining the set of indication symptom names corresponding to KI2 as second indication information ID2 of the target processing text based on KI2 and a preset ingredient indication reference table; and obtaining the indication corresponding to the intersection of ID1 and ID2 as the target indication information of the target processing text. The present invention can automatically and accurately expand the indication information of the corresponding drug instruction sheet.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology applications, and in particular to a method, device, electronic equipment and storage medium for processing drug instructions. Background Art

[0002] Drug inserts are reference materials for traditional Chinese medicine that guide doctors' treatment. These inserts are compiled by companies based on extensive preclinical and postclinical trial data and serve as the most crucial evidence-based basis for clinicians and pharmacists to provide patients with drug treatment plans. Information on drug indications, contraindications, and other conditions in drug inserts is typically presented using the abbreviated "etc." format, using general terms like "XXX's indications are A, B, etc.". This "etc." lacks clarity regarding the other indications for the drug. Therefore, based on the existing drug inserts, it's impossible to identify specific indications. Summary of the Invention

[0003] In view of the above technical problems, the technical solution adopted by the present invention is:

[0004] According to a first aspect of the present invention, a method for processing drug instructions is provided, the method comprising the following steps:

[0005] S100, obtaining the drug instructions to be processed as the target processing text.

[0006] S200, obtaining the first key information KI1 and the second key information KI2 in the target processing text; wherein KI1={KI11, KI12, ..., KI1 i ,……,KI1 m}, KI1 i is the i-th keyword obtained based on the indication information corresponding to the target treatment text, i ranges from 1 to m, and m is the number of keywords obtained based on the indication information corresponding to the target treatment text; KI2 = {KI21, KI22, ..., KI2 j ,……,KI2 n}, KI2 j The jth component is obtained based on the component information corresponding to the target processing text, where j ranges from 1 to n, and n is the number of components obtained based on the component information corresponding to the target processing text.

[0007] S300, based on KI1 and the preset symptom information reference table, obtain the label information M of the symptom corresponding to KI1; wherein M=(M1∪M2∪……∪M i ∪……∪M m ), M i KI1 i Label information of the corresponding symptoms.

[0008] S400 , obtaining a common keyword Ck corresponding to M, and based on Ck and the preset symptom information reference table, obtaining a symptom name set NS corresponding to Ck.

[0009] S500 , obtaining KI1∪NS as the first indication information ID1 of the target processing text.

[0010] S600 , based on KI2 and a preset component indication reference table, obtaining an indication symptom name set corresponding to KI2 as the second indication information ID2 of the target processing text.

[0011] S700 , obtaining the indication corresponding to ID1∩ID2 as target indication information of the target processing text.

[0012] According to a second aspect of the present invention, an electronic device is provided, comprising a processor and a memory; the processor is configured to execute the steps of the method according to the first aspect of the present invention by calling a program or instruction stored in the memory.

[0013] According to a second aspect of the present invention, there is provided a non-transitory computer-readable storage medium storing a program or instructions for enabling a computer to execute the steps of the method according to the first aspect of the present invention.

[0014] The present invention has at least the following beneficial effects:

[0015] The drug instructions processing method provided by the embodiment of the present invention can automatically expand the indication information in the drug instructions, thereby enriching the drug indication information.

[0016] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0018] Figure 1 This is a flowchart of a method for processing drug instructions provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0019] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making any creative efforts shall fall within the scope of protection of the present invention.

[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this invention pertains. The terms used herein in the specification of the present invention are for the purpose of describing specific embodiments only and are not intended to limit the present invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.

[0021] It should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the steps as sequential processes, many of the steps can be performed in parallel, concurrently, or simultaneously. In addition, the order of the steps can be rearranged. A process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. A process can correspond to a method, function, procedure, subroutine, subprogram, etc.

[0022] The embodiment of the present invention provides a method for processing drug instructions, which is intended to extract key information from drug instructions and generate target indication information of the drug. Figure 1 As shown, the method may include the following steps:

[0023] S100, obtaining the drug instructions to be processed as the target processing text.

[0024] In the embodiment of the present invention, the drug instructions to be processed may be instructions for any drug, and the specific content of the drug instructions may be determined based on the current drug instruction writing specifications.

[0025] S200, obtaining the first key information KI1 and the second key information KI2 in the target processing text; wherein KI1={KI11, KI12, ..., KI1 i ,……,KI1 m}, KI1 i is the i-th keyword obtained based on the indication information corresponding to the target treatment text, i ranges from 1 to m, and m is the number of keywords obtained based on the indication information corresponding to the target treatment text; KI2 = {KI21, KI22, ..., KI2 j ,……,KI2 n}, KI2 jThe jth component is obtained based on the component information corresponding to the target processing text, where j ranges from 1 to n, and n is the number of components obtained based on the component information corresponding to the target processing text.

[0026] In an embodiment of the present invention, KI1 can be obtained based on an existing keyword acquisition method. For example, for a drug's indication information "suitable for various infections caused by sensitive bacteria, such as respiratory tract infections (pneumonia, acute and chronic bronchitis, tonsillitis, otitis media, etc.); genital and urinary tract infections (gonorrhea, urethritis, cystitis, pyelonephritis, etc.); skin and soft tissue infections; typhoid and paratyphoid fever, etc.," the first key information obtained may include: respiratory tract infections, pneumonia, acute and chronic bronchitis, tonsillitis, otitis media, genital and urinary tract infections, gonorrhea, urethritis, cystitis, pyelonephritis, skin and soft tissue infections, typhoid and paratyphoid fever.

[0027] In the embodiment of the present invention, the ingredient information corresponding to the target processing text is the ingredient information of the medicine.

[0028] S300, based on KI1 and the preset symptom information reference table, obtain the label information M of the symptom corresponding to KI1; wherein M=(M1∪M2∪……∪M i ∪……∪M m ), M i KI1 i Label information of the corresponding symptoms.

[0029] In an embodiment of the present invention, each row of information in the preset symptom information reference table may include a symptom name and corresponding label information. The label information at least includes the symptom manifestation and the symptom cause, i.e., the cause of the symptom, for example, bronchitis may be caused by mycoplasma infection.

[0030] In an embodiment of the present invention, the preset symptom information reference table can be obtained based on historical data, that is, drug instructions obtained within a preset time period, and the specific acquisition method can be an existing method.

[0031] M i The way to obtain it is: i As the search term, search in the preset symptom information reference table, and use the label information corresponding to the queried indication name as the M i .

[0032] S400 , obtaining a common keyword Ck corresponding to M, and based on Ck and the preset symptom information reference table, obtaining a symptom name set NS corresponding to Ck.

[0033] Furthermore, S400 may specifically include:

[0034] S401, obtaining a common keyword Ck1 corresponding to the symptom manifestations in M, using Ck1 to search in the preset symptom information reference table, and obtaining a corresponding search result as the first symptom name set NS1.

[0035] S402, obtain the common keyword Ck2 corresponding to the symptom inducement in M, use Ck2 to query the preset symptom information reference table, and obtain the corresponding query result as the second symptom name set NS2.

[0036] S403, obtaining NS=NS1∪NS2, that is, taking the union of NS1 and NS2 as NS.

[0037] In an embodiment of the present invention, the common keywords corresponding to the symptom manifestations are the common features of all symptom manifestations, and the common keywords corresponding to the symptom inducements are the common features of all symptom inducements. The common keywords are obtained based on a clustering method. The clustering method can be any existing clustering method, and the present invention is not particularly limited, as long as it is a method that can cluster. It is known to those skilled in the art that the number of common keywords can be determined based on the number of clustering clusters after clustering, that is, the number of common keywords is the same as the number of clustering clusters. Obviously, Ck1 is all the common keywords corresponding to the symptom manifestations in M, and Ck2 is all the common keywords corresponding to the symptom inducements in M. The number of Ck1 and Ck2 is greater than or equal to 1.

[0038] S500 , obtaining KI1∪NS, that is, taking the union of KI1 and NS as the first indication information ID1 of the target processing text.

[0039] S600 , based on KI2 and a preset component indication reference table, obtaining an indication symptom name set corresponding to KI2 as the second indication information ID2 of the target processing text.

[0040] In an embodiment of the present invention, each row of data in the preset ingredient indication reference table may include at least the ingredient name, indication, and precautions. In an embodiment of the present invention, the ingredient name may be a common name or a chemical formula. The preset ingredient indication reference table may be obtained based on historical data, and the specific acquisition method may adopt existing methods.

[0041] S700 , obtaining ID1∩ID2, that is, taking the indication corresponding to the intersection of ID1 and ID2 as target indication information of the target processing text.

[0042] In an embodiment of the present invention, first, corresponding label information is obtained from a preset symptom information reference table based on the indication information of the drug instructions, then, common keywords of the label information are obtained, and based on the common keywords, corresponding indication names are obtained from the preset symptom information reference table, and the union of the obtained indication names and the indication information of the drug instructions is used as the first indication information, then, based on the ingredient information of the drug instructions, corresponding indication information is obtained from the preset ingredient indication reference table as the second indication information, and finally, the intersection of the first indication information and the second indication information is used as the target indication information of the drug instructions. Since the indication information of the drug instructions and the drug ingredient information are taken into consideration at the same time, the indication information of the drug instructions can be expanded as much and as accurately as possible.

[0043] Furthermore, the method provided in the embodiment of the present invention further includes the following steps:

[0044] S800 , based on KI2 and a preset component indication reference table, obtain the prohibited and cautious use information PCU2 corresponding to KI2.

[0045] S900: Obtaining prohibited use caution information PCU corresponding to the target processing text.

[0046] S1000: If at least one piece of information in PCU2 does not belong to PCU, that is, if PCU∩PCU2≠PCU2, the description of the prohibited and cautious information in the target processing text of the manual is not standardized, then output a prompt message indicating that the target processing text is abnormal.

[0047] In the embodiment of the present invention, since the prohibition and caution information of the drug insert is confirmed, the hidden danger of drug safety caused by inaccurate prohibition and caution information can be avoided, making the drug insert more accurate.

[0048] Based on the same inventive concept, an embodiment of the present invention further provides a drug instruction sheet processing device, the device comprising:

[0049] The text acquisition module is used to obtain the drug instructions to be processed as the target processing text.

[0050] The key information acquisition module is used to acquire the first key information KI1 and the second key information KI2 in the target processing text; wherein KI1={KI11, KI12, ..., KI1 i ,……,KI1 m}, KI1 i is the i-th keyword obtained based on the indication information corresponding to the target treatment text, i ranges from 1 to m, and m is the number of keywords obtained based on the indication information corresponding to the target treatment text; KI2 = {KI21, KI22, ..., KI2j ,……,KI2 n}, KI2 j The jth component is obtained based on the component information corresponding to the target processing text, where j ranges from 1 to n, and n is the number of components obtained based on the component information corresponding to the target processing text.

[0051] The label information acquisition module is used to obtain the label information M of the adaptive symptoms corresponding to KI1 based on KI1 and the preset symptom information reference table; wherein M=(M1∪M2∪……∪M i ∪……∪M m ), M i KI1 i Corresponding label information for the applicable symptoms.

[0052] The first information acquisition module is used to obtain the common keyword Ck corresponding to M, and based on Ck and the preset symptom information reference table, obtain the symptom name set NS corresponding to Ck; and obtain KI1∪NS as the first indication information ID1 of the target processing text.

[0053] The second information acquisition module is used to acquire the indication symptom name set corresponding to KI2 based on KI2 and a preset component indication reference table as the second indication information ID2 of the target processing text.

[0054] The target information acquisition module is used to acquire the indication corresponding to ID1∩ID2 as the target indication information of the target processing text.

[0055] Furthermore, the device further comprises:

[0056] a prohibition and caution information acquisition module, configured to acquire prohibition and caution information PCU corresponding to the target processing text and, based on KI2 and a preset component indication reference table, acquire prohibition and caution information PCU2 corresponding to KI2;

[0057] The output module is configured to output prompt information indicating that the target processing text is an abnormal text when there is at least one piece of information that does not belong to the PCU in the PCU2.

[0058] The device can be used to perform Figure 1 The method shown in the embodiment shown, therefore, for the functions that can be realized by each functional module of the device, please refer to Figure 1 The description of the illustrated embodiment is omitted for brevity.

[0059] An embodiment of the present invention also provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are configured to execute the method described in the embodiment of the present invention.

[0060] An embodiment of the present invention further provides a non-transitory computer-readable storage medium storing computer-executable instructions, wherein the computer instructions are used to execute the method described in the embodiment of the present invention.

[0061] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in the present invention can be achieved. This is not limited herein.

[0062] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.

Claims

1. A method for processing drug instructions, characterized in that: The method comprises the following steps: S100, obtaining the drug instructions to be processed as the target processing text; S200, obtaining the first key information KI1 and the second key information KI2 in the target processing text; wherein KI1={KI11, KI12, ..., KI1 i ,……,KI1 m }, KI1 i is the i-th keyword obtained based on the indication information corresponding to the target treatment text, i ranges from 1 to m, and m is the number of keywords obtained based on the indication information corresponding to the target treatment text; KI2 = {KI21, KI22, ..., KI2 j ,……,KI2 n }, KI2 j is the jth component obtained based on the component information corresponding to the target processing text, where j ranges from 1 to n, and n is the number of components obtained based on the component information corresponding to the target processing text; S300, based on KI1 and the preset symptom information reference table, obtain the label information M of the symptom corresponding to KI1; wherein M=(M1∪M2∪……∪M i ∪……∪M m ), M i KI1 i Label information of the corresponding symptoms; S400, obtaining a common keyword Ck corresponding to M, and based on Ck and the preset symptom information reference table, obtaining a symptom name set NS corresponding to Ck; S500 , obtaining KI1∪NS as the first indication information ID1 of the target processing text; S600, based on KI2 and a preset component indication reference table, obtaining a set of indication symptom names corresponding to KI2 as second indication information ID2 of the target processing text; S700 , obtaining the indication corresponding to ID1∩ID2 as target indication information of the target processing text.

2. The method according to claim 1, characterized in that The label information includes at least symptom manifestations and symptom inducements.

3. The method according to claim 2, characterized in that S400 specifically includes: S401, obtaining a common keyword Ck1 corresponding to the symptom manifestations in M, using Ck1 to search the preset symptom information reference table, and obtaining a corresponding query result as a first symptom name set NS1; S402, obtaining a common keyword Ck2 corresponding to the symptom inducement in M, using Ck2 to search the preset symptom information reference table, and obtaining a corresponding query result as a second symptom name set NS2; S403, obtain NS=NS1∪NS2.

4. The method according to claim 1, wherein The common keywords are obtained based on a clustering method.

5. The method according to claim 1, characterized in that The following steps are also included: S800, based on KI2 and a preset component indication reference table, obtain the prohibited and cautious use information PCU2 corresponding to KI2; S900, obtaining the prohibited use caution information PCU corresponding to the target processing text; S1000: If there is at least one piece of information in PCU2 that does not belong to PCU, output prompt information indicating that the target processing text is an abnormal text.

6. A drug instruction sheet processing device, characterized in that: The device comprises: A text acquisition module is used to obtain the drug instructions to be processed as the target processing text; The key information acquisition module is used to acquire the first key information KI1 and the second key information KI2 in the target processing text; wherein KI1={KI11, KI12, ..., KI1 i ,……,KI1 m }, KI1 i is the i-th keyword obtained based on the indication information corresponding to the target treatment text, i ranges from 1 to m, and m is the number of keywords obtained based on the indication information corresponding to the target treatment text; KI2 = {KI21, KI22, ..., KI2 j ,……,KI2 n }, KI2 j is the jth component obtained based on the component information corresponding to the target processing text, where j ranges from 1 to n, and n is the number of components obtained based on the component information corresponding to the target processing text; The label information acquisition module is used to obtain the label information M of the symptoms corresponding to KI1 based on KI1 and the preset symptom information reference table; wherein M=(M1∪M2∪……∪M i ∪……∪M m ), M i KI1 i Label information of the corresponding symptoms; A first information acquisition module is configured to acquire a common keyword Ck corresponding to M, and based on Ck and the preset symptom information reference table, acquire a symptom name set NS corresponding to Ck; and acquire KI1∪NS as the first indication information ID1 of the target processing text; A second information acquisition module is configured to acquire, based on KI2 and a preset component indication reference table, a set of indication symptom names corresponding to KI2 as second indication information ID2 of the target processing text; The target information acquisition module is used to acquire the indication corresponding to ID1∩ID2 as the target indication information of the target processing text.

7. The device according to claim 6, characterized in that Also includes: a prohibition and caution information acquisition module, configured to acquire prohibition and caution information PCU corresponding to the target processing text and, based on KI2 and a preset component indication reference table, acquire prohibition and caution information PCU2 corresponding to KI2; The output module is configured to output prompt information indicating that the target processing text is an abnormal text when there is at least one piece of information that does not belong to the PCU in the PCU2.

8. An electronic device, characterized in that: including processor and memory; The processor is configured to execute the steps of the method according to any one of claims 1 to 5 by calling the program or instructions stored in the memory.

9. A non-transitory computer-readable storage medium, characterized in that The non-transitory computer-readable storage medium is used to store a program or instruction, and the program or instruction enables a computer to execute the steps of the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method and device for determining push priority information

    CN109992719A

  • Construction method and device for knowledge graph of medicine specification

    CN111968756A