CN112133416A - Method and device for determining replacement medicament, electronic equipment and storage medium - Google Patents
Method and device for determining replacement medicament, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112133416A CN112133416A CN202010961971.8A CN202010961971A CN112133416A CN 112133416 A CN112133416 A CN 112133416A CN 202010961971 A CN202010961971 A CN 202010961971A CN 112133416 A CN112133416 A CN 112133416A
- Authority
- CN
- China
- Prior art keywords
- target
- medicament
- characteristic data
- name
- replaced
- 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
Links
- 239000003814 drug Substances 0.000 title claims abstract description 596
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000003860 storage Methods 0.000 title claims abstract description 26
- 229940079593 drug Drugs 0.000 claims abstract description 122
- 206010020751 Hypersensitivity Diseases 0.000 claims description 12
- 208000026935 allergic disease Diseases 0.000 claims description 12
- 230000007815 allergy Effects 0.000 claims description 12
- 238000000605 extraction Methods 0.000 claims description 5
- 230000000694 effects Effects 0.000 abstract description 18
- 230000001976 improved effect Effects 0.000 abstract description 5
- 206010062717 Increased upper airway secretion Diseases 0.000 description 9
- 239000000463 material Substances 0.000 description 9
- 208000026435 phlegm Diseases 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000003672 processing method Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 230000009471 action Effects 0.000 description 5
- 239000003795 chemical substances by application Substances 0.000 description 5
- 201000010099 disease Diseases 0.000 description 5
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 5
- 238000012216 screening Methods 0.000 description 5
- 210000000952 spleen Anatomy 0.000 description 5
- 231100000419 toxicity Toxicity 0.000 description 5
- 230000001988 toxicity Effects 0.000 description 5
- 230000007812 deficiency Effects 0.000 description 4
- 235000005911 diet Nutrition 0.000 description 4
- 230000037213 diet Effects 0.000 description 4
- 235000008216 herbs Nutrition 0.000 description 4
- 241000555712 Forsythia Species 0.000 description 3
- 230000002411 adverse Effects 0.000 description 3
- 239000008280 blood Substances 0.000 description 3
- 210000004369 blood Anatomy 0.000 description 3
- 238000003745 diagnosis Methods 0.000 description 3
- 238000001035 drying Methods 0.000 description 3
- 239000008177 pharmaceutical agent Substances 0.000 description 3
- 230000035935 pregnancy Effects 0.000 description 3
- 238000002360 preparation method Methods 0.000 description 3
- 230000001737 promoting effect Effects 0.000 description 3
- 239000002994 raw material Substances 0.000 description 3
- 230000001105 regulatory effect Effects 0.000 description 3
- 210000000582 semen Anatomy 0.000 description 3
- 210000002784 stomach Anatomy 0.000 description 3
- 208000011580 syndromic disease Diseases 0.000 description 3
- 206010000234 Abortion spontaneous Diseases 0.000 description 2
- 241001474374 Blennius Species 0.000 description 2
- 244000020518 Carthamus tinctorius Species 0.000 description 2
- 235000003255 Carthamus tinctorius Nutrition 0.000 description 2
- 235000000604 Chrysanthemum parthenium Nutrition 0.000 description 2
- 241000701408 Euphorbia kansui Species 0.000 description 2
- 241000434018 Euphorbia pekinensis Species 0.000 description 2
- 241000628997 Flos Species 0.000 description 2
- 244000303040 Glycyrrhiza glabra Species 0.000 description 2
- 235000006200 Glycyrrhiza glabra Nutrition 0.000 description 2
- 240000007890 Leonurus cardiaca Species 0.000 description 2
- 235000000802 Leonurus cardiaca ssp. villosus Nutrition 0.000 description 2
- 235000004347 Perilla Nutrition 0.000 description 2
- 244000124853 Perilla frutescens Species 0.000 description 2
- 244000297179 Syringa vulgaris Species 0.000 description 2
- 235000004338 Syringa vulgaris Nutrition 0.000 description 2
- 206010047700 Vomiting Diseases 0.000 description 2
- 238000007605 air drying Methods 0.000 description 2
- 230000017531 blood circulation Effects 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 2
- 230000004438 eyesight Effects 0.000 description 2
- 235000013305 food Nutrition 0.000 description 2
- LPLVUJXQOOQHMX-QWBHMCJMSA-N glycyrrhizinic acid Chemical compound O([C@@H]1[C@@H](O)[C@H](O)[C@H](O[C@@H]1O[C@@H]1C([C@H]2[C@]([C@@H]3[C@@]([C@@]4(CC[C@@]5(C)CC[C@@](C)(C[C@H]5C4=CC3=O)C(O)=O)C)(C)CC2)(C)CC1)(C)C)C(O)=O)[C@@H]1O[C@H](C(O)=O)[C@@H](O)[C@H](O)[C@H]1O LPLVUJXQOOQHMX-QWBHMCJMSA-N 0.000 description 2
- 235000011477 liquorice Nutrition 0.000 description 2
- 210000004185 liver Anatomy 0.000 description 2
- 238000002483 medication Methods 0.000 description 2
- 208000015994 miscarriage Diseases 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 239000000843 powder Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000002791 soaking Methods 0.000 description 2
- 208000000995 spontaneous abortion Diseases 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 230000008673 vomiting Effects 0.000 description 2
- 238000005406 washing Methods 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 244000144730 Amygdalus persica Species 0.000 description 1
- 241000282817 Bovidae Species 0.000 description 1
- ODINCKMPIJJUCX-UHFFFAOYSA-N Calcium oxide Chemical compound [Ca]=O ODINCKMPIJJUCX-UHFFFAOYSA-N 0.000 description 1
- 206010007247 Carbuncle Diseases 0.000 description 1
- 206010007882 Cellulitis Diseases 0.000 description 1
- 235000007516 Chrysanthemum Nutrition 0.000 description 1
- 244000189548 Chrysanthemum x morifolium Species 0.000 description 1
- 206010010071 Coma Diseases 0.000 description 1
- 206010011224 Cough Diseases 0.000 description 1
- 235000009917 Crataegus X brevipes Nutrition 0.000 description 1
- 235000013204 Crataegus X haemacarpa Nutrition 0.000 description 1
- 235000009685 Crataegus X maligna Nutrition 0.000 description 1
- 235000009444 Crataegus X rubrocarnea Nutrition 0.000 description 1
- 235000009486 Crataegus bullatus Nutrition 0.000 description 1
- 235000017181 Crataegus chrysocarpa Nutrition 0.000 description 1
- 235000009682 Crataegus limnophila Nutrition 0.000 description 1
- 240000000171 Crataegus monogyna Species 0.000 description 1
- 235000004423 Crataegus monogyna Nutrition 0.000 description 1
- 235000002313 Crataegus paludosa Nutrition 0.000 description 1
- 235000009840 Crataegus x incaedua Nutrition 0.000 description 1
- 244000124209 Crocus sativus Species 0.000 description 1
- 235000015655 Crocus sativus Nutrition 0.000 description 1
- 241000721047 Danaus plexippus Species 0.000 description 1
- 201000000297 Erysipelas Diseases 0.000 description 1
- 244000153234 Hibiscus abelmoschus Species 0.000 description 1
- 206010020741 Hyperpyrexia Diseases 0.000 description 1
- 235000006040 Prunus persica var persica Nutrition 0.000 description 1
- 208000007107 Stomach Ulcer Diseases 0.000 description 1
- 244000269722 Thea sinensis Species 0.000 description 1
- 206010070863 Toxicity to various agents Diseases 0.000 description 1
- 208000031971 Yin Deficiency Diseases 0.000 description 1
- 230000003213 activating effect Effects 0.000 description 1
- 229940037003 alum Drugs 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004061 bleaching Methods 0.000 description 1
- 238000001354 calcination Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000004087 circulation Effects 0.000 description 1
- 235000021270 cold food Nutrition 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000003750 conditioning effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000857 drug effect Effects 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 208000030533 eye disease Diseases 0.000 description 1
- 239000012530 fluid Substances 0.000 description 1
- 238000009472 formulation Methods 0.000 description 1
- 201000005917 gastric ulcer Diseases 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 239000012535 impurity Substances 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 230000005764 inhibitory process Effects 0.000 description 1
- 230000009545 invasion Effects 0.000 description 1
- 230000007794 irritation Effects 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 230000033001 locomotion Effects 0.000 description 1
- 231100000053 low toxicity Toxicity 0.000 description 1
- 201000007227 lymph node tuberculosis Diseases 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 208000004396 mastitis Diseases 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 201000009240 nasopharyngitis Diseases 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000035790 physiological processes and functions Effects 0.000 description 1
- 239000006187 pill Substances 0.000 description 1
- 206010036067 polydipsia Diseases 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000010926 purge Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 235000013974 saffron Nutrition 0.000 description 1
- 239000004248 saffron Substances 0.000 description 1
- 210000003296 saliva Anatomy 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000007873 sieving Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 235000019640 taste Nutrition 0.000 description 1
- 229940126680 traditional chinese medicines Drugs 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H40/00—ICT 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/20—ICT 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
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H70/00—ICT specially adapted for the handling or processing of medical references
Landscapes
- Health & Medical Sciences (AREA)
- Engineering & Computer Science (AREA)
- Epidemiology (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Primary Health Care (AREA)
- Public Health (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Biomedical Technology (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Abstract
The embodiment of the invention discloses a method, a device, electronic equipment and a storage medium for determining a replacement medicament, wherein the method comprises the following steps: when the target event is detected to exist, acquiring the name of the medicament to be replaced corresponding to the target event; extracting target characteristic data of the names of the medicaments to be replaced and medication characteristic data corresponding to the names of the medicaments in a target prescription, and acquiring user basic information of a target user; determining at least one target medicament name to be determined associated with the target characteristic data according to the target characteristic data; and determining a target medicament name corresponding to the medicament name to be replaced from at least one target medicament name to be determined according to the basic information of the user and the medication characteristic data. According to the technical scheme, the problem of inaccurate replacement caused by the fact that doctors need to manually replace the medicaments according to common knowledge in the medicament shortage state is solved, the matching degree of the determined target medicament and the medicament in the shortage state is improved, and therefore the technical effect of user experience is improved.
Description
Technical Field
The embodiment of the invention relates to the technical field of medical treatment, in particular to a method and a device for determining a replacement medicament, electronic equipment and a storage medium.
Background
Currently, after a doctor has filled a prescription, the prescription may be imported to a pharmacy platform. Whether the medicines in the prescription are in the out-of-stock state or not can be displayed on the prescription platform.
If a certain medicament is in a state of shortage, a doctor is required to adjust the medicament according to medical reserve knowledge and memory, namely, the adjustment of the medicament in shortage mainly depends on the knowledge reserve of the doctor at present.
However, the names of the medicines memorized by the doctor are limited, a certain memory error may occur, and when the medicine in the medicine shortage state is replaced by depending on the memory of the doctor, the medicine corresponding to the medicine shortage name cannot be accurately provided, so that the medicine is not symptomatic, and the state of illness of the user is affected.
Disclosure of Invention
The invention provides a method, a device, electronic equipment and a storage medium for determining a replacement medicament, which are used for improving the matching degree between a recommended medicament name and a medicament to be replaced, so that the technical effect of user experience is improved.
In a first aspect, embodiments of the present invention provide a method for determining a replacement medicament, the method comprising:
when the target event is detected to exist, acquiring a name of a medicament to be replaced corresponding to the target event;
extracting target characteristic data of the medicament name to be replaced and medication characteristic data corresponding to each medicament name in a target prescription, and acquiring user basic information of a target user;
determining at least one target medicament name to be determined associated with the target characteristic data according to the target characteristic data;
and determining a target medicament name corresponding to the medicament name to be replaced from the at least one target medicament name to be determined according to the user basic information and the medication characteristic data.
In a second aspect, embodiments of the present invention also provide an apparatus for determining a replacement medicament, the apparatus comprising:
the device comprises a to-be-replaced medicament name determining module, a to-be-replaced medicament name determining module and a to-be-replaced medicament name determining module, wherein the to-be-replaced medicament name determining module is used for acquiring a to-be-replaced medicament name corresponding to a target event when the target event is detected to exist;
the information extraction module is used for extracting the target characteristic data of the medicament name to be replaced and the medication characteristic data corresponding to each medicament name in the target prescription and acquiring the user basic information of the target user;
a target medicament name to be determined determining module, configured to determine, according to the target feature data, at least one target medicament name to be determined that is associated with the target feature data;
and the target medicament name determining module is used for determining a target medicament name corresponding to the medicament name to be replaced from the at least one target medicament name to be determined according to the user basic information and the medication characteristic data.
In a third aspect, an embodiment of the present invention further provides an apparatus, where the apparatus includes:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of determining a replacement medicament as described in any of the embodiments of the present invention.
In a fourth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions for performing a method of determining a replacement medicament according to any one of the embodiments of the present invention when executed by a computer processor.
The technical proposal of the embodiment of the invention obtains the name of the medicament to be replaced by detecting the existence of the target event, determining at least one target medicament name to be determined from the target characteristic data of the medicament name to be replaced, according to the basic information of the user and the medication characteristic data, the name of the target medicament corresponding to the name of the medicament to be replaced is determined, the problem that the medicament is out of stock is solved, the inaccurate replacement problem caused by the fact that doctors need to manually replace the medicaments according to the common knowledge realizes that when the medicaments are detected to be in the out-of-stock state, can match out the target medicament for replacing the medicament according to the medicament characteristic data and the user basic information, improves the matching degree of the determined target medicament and the medicament in the out-of-stock state, further optimizes the accuracy and convenience for determining the target medicament, thereby making the target medicament more suitable for the user, and further improving the technical effect of the treatment efficiency for the user.
Drawings
In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, a brief description is given below of the drawings used in describing the embodiments. It should be clear that the described figures are only views of some of the embodiments of the invention to be described, not all, and that for a person skilled in the art, other figures can be derived from these figures without inventive effort.
Fig. 1 is a flow chart illustrating a method for identifying a replacement medicament according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for determining a replacement medicament according to a second embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for determining a replacement medicament according to a second embodiment of the present invention;
FIG. 4 is a schematic diagram of a comparison search of feature data according to a second embodiment of the present invention;
fig. 5 is a schematic diagram illustrating acquisition of a matching value of a replacement drug according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of a device for determining a replacement medicament according to a third embodiment of the present invention;
fig. 7 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a method for determining a replacement medicament according to an embodiment of the present invention, which is applicable to matching a corresponding replacement medicament when a medicament is detected to be in an out-of-stock state, and the method may be performed by a device for determining a replacement medicament, and the device may be implemented in software and/or hardware.
Before the technical scheme of the embodiment of the invention is introduced, the following application scenarios are simply introduced. At present, after a doctor finishes seeing a doctor's doctor, a prescription can be firstly made on a terminal, namely a target prescription list, and all medicinal agents in a traditional Chinese medicine prescription are generally sorted according to monarch, minister, assistant and guide, namely, a main medicine is arranged on the front side or the right side, and an auxiliary medicine is arranged on the right side or the rear side. The main medicine is necessary to exist, and the auxiliary medicine can be reserved or not reserved, and usually, the medicines in the prescription are all needed by the user. After the prescription is complete, the prescription may be imported to a prescription platform for other physicians to fill their prescription. The prescription issuing platform can be a pre-established platform or a pre-developed application program, and a doctor can introduce the prescription into the application program to identify various medicaments in the prescription and take the medicaments based on the identified medicaments. After the drug order is imported to the platform, the platform may obtain the corresponding drug name and determine whether a drug corresponding to the drug name exists in the drug library.
As shown in fig. 1, the method of this embodiment includes:
and S110, when the target event is detected to exist, acquiring the name of the medicament to be replaced corresponding to the target event.
Wherein the target event is an event in which one or more drugs in the target drug order are not present in the drug library. The drug name to be replaced refers to the name of the drug name in the out-of-stock state at the target event.
In this embodiment, the detecting whether the target event exists may be that each medicine may have a corresponding medicine remaining amount, and whether the target event exists may be determined according to the medicine remaining amount. When the residual quantity of a certain medicament in the medicament storage is smaller than the dosage of the medicament in the target prescription, the target event is indicated to occur, and the medicament name is called the medicament name to be replaced. For example: the required dosage of the medicament name A in the target prescription is 10g, and the inventory of the medicament name in the medicament library is 5g, which indicates that the medicament name A is in a stock shortage state, namely, a target event occurs. If the target prescription further comprises a medicament name B, the required dosage is 8g, and the storage amount of the medicament name B in the medicament library is 7g, the medicament B is in a shortage state, namely, a target event occurs. That is, the name of a medicament that may be in a backorder state in a target event may be one or more medicaments. Accordingly, the names of the medicaments to be replaced may be a medicament name a and a medicament name B.
And S120, extracting target characteristic data of the medicine name to be replaced and medicine characteristic data corresponding to each medicine name in the target medicine prescription, and acquiring user basic information of the target user.
The target characteristic data refers to characteristic data of the medicine in the out-of-stock state. The target characteristic data comprises information of processing modes of medicaments to be replaced, medicament properties, applicable people and the like. The target drug order includes the name of the drug used to treat the patient. The medication characteristic data is characteristic data of the medicine corresponding to each medicine name. The characteristic data of the medicament corresponding to each medicament name can be extracted, for example, the extracted characteristic data can be processing mode, medicament shape, contraindication information and the like. After the characteristic data corresponding to each medicament is obtained, the characteristic data of all medicament names can be integrated to obtain the medicament characteristic data corresponding to the target medicament single phase. The advantage of determining medication characteristics data is that it can be determined whether the name of the replaced medication matches other medications in the target medication order based on the characteristics in the medication characteristics data, thereby improving the technical effect of the treatment efficiency for the patient. The target user refers to a user corresponding to the target prescription. The user basic information includes information such as the age, sex, whether the user is a pregnant woman, and allergy history of the user. The reason for determining the user information is that the user can be provided with a replacement medicament highly matched thereto when replacing the medicament. Since there may be a difference in the applicable drug for patients of different ages and sexes, the drug corresponding to the name of the drug to be replaced may be determined in conjunction with the user information. For example: children of younger age are not suitable for taking medicaments with strong irritation and nourishing property, have certain requirements on dosage, and are not suitable for taking medicaments with cold and cool property. If the user is pregnant woman, the blood-activating and stasis-resolving herbs should not be used. The name of the medicine which can not be taken by the patient can be determined according to the allergy history information of the user. Contraindicated properties refer to a user suffering from a disease in which certain drugs are contraindicated or are taken with caution.
For example, fructus forsythiae is processed by removing impurities and fruit stalks from raw materials, washing with water, sun drying, and sieving to remove fallen cores and dust; the drug is in the shape of long egg to egg, slightly flat, 1.5-2.5 cm long and 0.5-1.3 cm diameter; it is indicated for heat-clearing and detoxicating, detumescence and resolving masses, and is commonly used for treating carbuncle, cellulitis, scrofula, acute mastitis, erysipelas, wind-heat type common cold, early stage pestilence, warm invasion of nutrient-qi, hyperpyrexia, polydipsia, coma, heat stranguria and anuresis, and is contraindicated for patients with spleen and stomach deficiency.
It can be said that the same herbs are processed in different ways, with different names and different effects, for example: rhizoma Pinelliae Preparata is prepared from rhizoma Pinelliae Preparata, Alumen, Glycyrrhrizae radix, and calx by processing and adding into the medicine. Low toxicity and strong phlegm-resolving action. Fa ban Xia has mild dryness, and has the actions of regulating spleen and stomach, besides drying dampness and resolving phlegm, it is indicated for spleen deficiency with damp stagnation and internal retention of phlegm-fluid, and has the actions of clearing phlegm and resolving fluid retention, regulating spleen and stomach. Soaking rhizoma Pinelliae with water, rinsing until the rhizoma Pinelliae tastes only spicy, decocting with rhizoma Zingiberis recens and Alumen, taking out, air drying until it becomes dry, moistening, slicing, and air drying. Jiang ban Xia has reduced toxicity and warm and dry property, and has the actions of drying dampness and resolving phlegm, checking adverse rise of qi and relieving vomiting, so it is indicated for vomiting due to spleen deficiency with profuse phlegm and saliva or cough with cold phlegm. The unprocessed ban Xia is processed with alum and then used as medicine. Ban Xia is indicated for weak body with excessive phlegm and mild cold-dampness because it can clear toxicity and reduce pungent and dry property and enhance phlegm-resolving action.
In order to facilitate the quick matching of replacement agents corresponding to agent names in a stock of out-of-stock upon occurrence of a target event, characteristic data corresponding to each agent name may be predetermined and stored for recall. That is, in order to quickly specify the feature data corresponding to the medicine name, each medicine name may be stored in correspondence with its feature data so that the medicine feature data corresponding to the medicine name is specified based on the correspondence.
And S130, determining at least one target medicament name to be determined associated with the target characteristic data according to the target characteristic data.
Specifically, the drug name of each drug and the corresponding characteristic data may be stored in advance, and the target drug name to be determined may be matched in the prestored characteristic data according to the target characteristic data. For example, a pharmaceutical agent that performs similar functions in different processing steps for the same pharmaceutical agent may be used as the at least one target pharmaceutical agent.
For example, perilla and fructus amomi both have the effects of promoting qi circulation and preventing miscarriage and are suitable for being used as medicines in miscarriage prevention medicines for pregnant women, and if fructus amomi is a medicine to be replaced, the perilla can be used as a target medicine name to be determined; the chrysanthemum, the antelope horn and the bear gall have the effects of clearing liver, improving eyesight, clearing heat and removing toxicity, are suitable for prescriptions with the effects of clearing liver, purging fire, removing toxicity and improving eyesight, and are mainly used for treating heat eye diseases.
Optionally, the medicaments can be classified according to medicament efficacy, and meanwhile, the medicaments are reclassified according to information of different processing modes, different properties, different applicable populations and the like, so that the associated target medicament name to be determined is convenient to determine.
It may be mentioned that the target agent name to be determined may be one or more, for example: the target medicament is named as saffron, is used for promoting blood circulation to remove blood stasis and conditioning dysmenorrheal, and can be named as safflower and motherwort according to medicament efficacy.
And S140, according to the basic information of the user and the medication characteristic data, determining a target medicament name corresponding to the medicament name to be replaced from at least one target medicament name to be determined.
Specifically, in combination with the basic information of the user, the medicament that does not match the user can be rejected, that is, the rejection efficacy is the same as that of the medicament to be replaced, but the medicament that does not match the user information, for example: the user is not suitable for pregnant women to take blood circulation promoting and blood stasis removing medicine such as Carthami flos, semen Persicae and herba Leonuri etc., and the user has gastric ulcer, and is not suitable for taking fructus crataegi. At this time, if the target medicament to be determined includes safflower, peach kernel, motherwort herb and hawthorn fruit, these medicaments should be removed from the name of the target medicament to be determined, so as to improve the matching degree of the target medicament to be determined and the basic information of the user.
Specifically, it can be determined whether the target medicament to be determined is matched with other medicaments in the target prescription by combining the medication characteristic data, that is, whether there are problems such as mutual attack of drug properties, for example: the liquorice is respectively matched with euphorbia pekinensis, lilac daphne flower bud, euphorbia kansui and seaweed, if the liquorice is contained in the target medicament prescription, the euphorbia pekinensis, the lilac daphne flower bud, the euphorbia kansui and the seaweed can be removed from the names of the target medicaments to be determined, so that side effects are avoided.
The target medicament to be determined can be further screened according to the basic information of the user and the medication characteristic data to obtain the target medicament which can be used for replacing the medicament to be replaced.
In order to match the medicament name highly matched with the user from the medicament names to be determined, after the target medicament name to be determined is obtained based on the target characteristic data, the medicament name which is not suitable for the target user in the target medicament to be determined can be removed according to the basic information of the user, and the target medicament name to be determined after the first screening is obtained. Further, in order to improve the degree of fit between the name of the target medicament to be determined and the medication characteristic data screened for the first time, the name of the medicament which is in conflict with the property of the medication characteristic data can be removed by further combining the medication characteristic data, and the name of the target medicament to be determined after secondary screening is obtained. After the second screening is finished, a certain number of drug names can be selected from the target drug names to be determined as the target drug names.
In order to facilitate the user to quickly confirm the final target medicament name corresponding to the medicament name to be replaced, the determined target medicament name can be displayed on the display interface according to a certain sequence for the user to select, and the target medicament name finally triggered by the user can be used as the final target medicament name, namely the final target medicament name is the medicament name replacing the medicament name to be replaced.
It should be noted that, data screening may be performed according to the user basic information and then according to the medication characteristic data, or may be performed according to the medication characteristic data and then according to the user basic information, or may be performed by combining the two, and the order of the data screening is not specifically limited herein.
The technical proposal of the embodiment of the invention obtains the name of the medicament to be replaced by detecting the existence of the target event, determining at least one target medicament name to be determined from the target characteristic data of the medicament name to be replaced, according to the basic information of the user and the medication characteristic data, the name of the target medicament corresponding to the name of the medicament to be replaced is determined, the problem that the medicament is out of stock is solved, the inaccurate replacement problem caused by the fact that doctors need to manually replace the medicaments according to the common knowledge realizes that when the medicaments are detected to be in the out-of-stock state, can match out the target medicament for replacing the medicament according to the medicament characteristic data and the user basic information, improves the matching degree of the determined target medicament and the medicament in the out-of-stock state, further optimizes the accuracy and convenience for determining the target medicament, thereby making the target medicament more suitable for the user, and further improving the technical effect of the treatment efficiency for the user.
Example two
Fig. 2 is a flowchart illustrating a method for determining a replacement medicament according to a second embodiment of the present invention. On the basis of the foregoing embodiment, this embodiment embodies the step 130 of determining at least one target drug name to be determined associated with the target characteristic data according to the target characteristic data, and provides a specific target drug determining method to be determined, wherein technical terms that are the same as or corresponding to those in the foregoing embodiment are not repeated herein.
Referring specifically to fig. 2, the method may include the steps of:
s210, determining a target medicine prescription corresponding to the target user according to the user basic information, the medical characteristic data and the historical medicine use characteristic data of the target user.
The target user is a patient, and the user basic information may include information such as age, sex, whether the target user is a pregnant woman or not, and allergy history. The medicament which is not suitable for the user can be screened out according to the basic information of the user, and the unsuitable medicament is avoided. The medical characteristic data can be related data obtained by doctors of traditional Chinese medicine by looking and hearing, such as patient form information, pulse information, tongue diagnosis information and the like, so as to provide information for subsequent prescription orders. The historical medication characteristic data is information of the medicament taken by the target user before the current time. According to the historical medicine taking characteristic data, the previous medicine taking record of the user can be obtained, and if the historical characteristic data contains the medicine taking record of the existing disease of the patient, diagnosis and prescription can be carried out by referring to the medicine taking record. In addition, the recent medicine taking information of the user can be obtained according to historical medicine taking characteristic data, and the problem that the medicine taken by the user in the recent time is in conflict with the medicine taken by the user in the prior medicine prescription is solved.
From the information, a target prescription corresponding to the target user can be determined, which includes information such as the name, usage, and dosage of the medication used to treat the patient.
Optionally, the target prescription list may be generated automatically by the system according to the user basic information, medical characteristic data and historical medication characteristic data of the target user, and this way may improve the efficiency of medical diagnosis and prescription; optionally, the mode of generating the target prescription order may be completed by the doctor according to the user basic information, the medical characteristic data and the historical medication characteristic data of the target user displayed on the platform and in combination with medical knowledge of the doctor, and the mode may provide reference data for the doctor, so that the doctor can prescribe the medicine in a targeted manner.
S220, when the condition corresponding to the medicine name in the target prescription is detected to be the out-of-stock condition, the medicine name in the out-of-stock condition is acquired and is used as the medicine name to be replaced.
The out-of-stock state can be a state that the medicament stock is zero or a state that the medicament stock cannot meet the dosage of the corresponding medicament in the target prescription. For example: the target prescription is named as forsythia, the usage and dosage are 10g, and the forsythia is decocted for oral administration. At this time, when the stock amount of forsythia suspense in the drug storage is less than 10g, it can be determined that the drug storage is in the out-of-stock state.
It should be noted that, after the prescription is introduced to the platform, the various medicines in the prescription can be displayed on the real interface, and the user can see the displayed medicine states corresponding to the various medicines, such as the out-of-stock state. Whether the goods are out of stock is realized by preset program codes.
Before determining whether or not the names of the respective medicines in the target recipe are in the out-of-stock state, a correspondence between the medicine stock amount and the medicine names may be established in advance so as to determine the medicine state based on the correspondence. When using the medicament, the inventory of the medicament can be reduced accordingly depending on the dose of the medicament used. For example, if the target dose used for the drug name a in a certain prescription is 10g, the total amount of the drug inventory corresponding to the drug name a can be subtracted by 10g based on the correspondence relationship established in advance to obtain the current drug inventory of the drug a.
When there is a medicament in the target order that is out of stock, the system may acquire the medicament name in the out of stock state as the medicament name to be replaced. For example: the target prescription is provided with a medicament A, the corresponding using dosage is 10g, a medicament B, the corresponding using dosage is 8g, a medicament C, the corresponding using dosage is 5g, the inventory quantity in the medicament library is 5g of the medicament A, 10g of the medicament B is stored, and the inventory quantity of the medicament C is zero, so that the medicament name A and the medicament name C are determined as the medicament names to be replaced.
And S230, extracting target characteristic data of the medicine name to be replaced and medicine characteristic data corresponding to each medicine name in the target medicine prescription, and acquiring user basic information of the target user.
In order to obtain characteristic data of the medicament, the name of each medicament and corresponding characteristic data thereof can be stored in a medicament library in advance, and the characteristic data comprises data of processing modes, medicament properties and contraindication information.
The corresponding processing mode, the medicine property and the contraindication information can be obtained from the medicine library according to the name of the medicine to be replaced and the name of each medicine in the target medicine recipe.
The processing method is the process of carrying out necessary processing treatment on the traditional Chinese medicinal materials before the traditional Chinese medicinal materials are applied or prepared into a preparation form, generally comprises the methods of bleaching, washing, soaking, calcining and the like, and directly influences the drug effect by the processing method, so the processing method is used as the characteristic data of the medicament. The properties of the medicine comprise the characteristics of the shape, color, smell, size, texture, section and the like of the medicinal materials, in particular to the powder, liquid, pill and the like of the medicine, and different properties have certain influence on the medicine effect. The contraindication information comprises contraindications with other medicaments, syndrome contraindications, pregnancy medication contraindications, diet contraindications and the like, and the contraindications with other medicaments refer to mutual inhibition between medicaments; the contraindication of syndromes refers to the contraindication that certain drugs are used in certain syndromes, adverse consequences occur, and health is damaged, for example: use bitter cold heat-clearing herbs with cautions for yin deficiency and internal heat; medication contraindications for pregnancy refer to medications that are used with caution and forbidden during pregnancy, such as: cautions include those with effects of dredging meridians, dispelling blood stasis, activating qi-flowing, removing food stagnation, and inducing pungent-heat and smooth movement, such as semen Persicae, Carthami flos, Achyranthis radix, and radix et rhizoma Rhei, while contraindicated herbs include those with strong toxicity or drastic drug property, such as fructus crotonis, semen Pharbitidis, and Moschus; diet contraindication means that some diets reduce the efficacy of the drug or that some diets are hot and cold with drugs and the deficiency and excess resist, for example: raw and cold food, pungent food, tea, etc. are prohibited.
The characteristic data can be acquired to avoid adverse effects such as drug poisoning caused by incompatibility of medicaments when the medicaments are replaced. In addition, in order to make the medicament suitable for the target user, namely, in order to ensure that the determined target medicament is highly matched with the target user, the basic information of the user can be acquired, wherein the basic information comprises identity information, allergy history information and contraindication properties.
S240, obtaining alternative characteristic data corresponding to each alternative medicament name in the medicament library, and determining a weight value corresponding to each alternative characteristic data according to the target characteristic data.
The medicament library is a database for storing information of various medicaments. The alternative medicament names refer to all medicament names stored in the medicament library, and the alternative feature data refer to feature data corresponding to the alternative medicament names. The weight value is used to characterize the importance of each feature data.
When at least one target medicament to be determined is selected from the alternative medicaments, the selection can be carried out according to the alternative characteristic data, for example, the same medicinal materials only differ in processing mode, and can be preferentially selected. Specifically, the weight value of each feature data may be increased to perform the calculation.
For example, the name of the drug to be replaced is a, and the corresponding characteristic data is processing method, drug property and contraindication information, at this time, the weight value of the processing method is determined to be 50%, the weight value of the drug property is determined to be 30%, and the weight value of the contraindication information is determined to be 20%.
Optionally, class feature data corresponding to at least two classes of medicament names are respectively obtained, and weight values corresponding to other alternative feature data under the class feature data are set and stored, so that after the target feature data are determined, the weight values corresponding to the prestored alternative feature data corresponding to the target feature data are obtained.
For example, if the processing method has the highest importance degree, the medicine property has the second importance degree, and the contraindication information has the lowest importance degree, the weight values may be determined to be 50%, 30% and 20% correspondingly; if the importance degree of the processing mode is lowest, the importance degree of the medicine property is second, and the importance degree of the contraindication information is highest, the weight values can be correspondingly determined to be 20%, 30% and 50%; if the importance degree of the medicine property is the highest, and the importance degrees of the processing mode and the taboo information are consistent and lower than the processing mode, the weight value of the processing mode can be determined to be 25%, the weight value of the medicine property is 50%, and the weight value of the taboo information is 25%, the preset weight value of the feature data can be stored, and after the target feature data is determined, the prestored weight value which is in accordance with the target feature data can be called.
And S250, determining at least one target medicament name to be determined associated with the target characteristic data according to the weight value corresponding to each candidate characteristic data and the candidate characteristic data included in each medicament name.
Specifically, at least one target medicament name to be determined that matches the target characteristic data may be determined according to a predetermined weight value corresponding to each candidate characteristic data and the characteristic data included in the medicament name.
And S260, adjusting the weight value corresponding to the at least one alternative characteristic data according to the weight values corresponding to the age information, the allergy history information and the taboo property information in the identity information to obtain an updated weight value.
Wherein, the at least one alternative characteristic data refers to the characteristic data corresponding to the at least one target medicament name to be determined.
Specifically, according to the age information, the allergy history information and the taboo property information in the identity information, a medicament which is not suitable for a user to use can be removed from at least one target medicament name to be determined, and meanwhile, the weight value corresponding to the alternative feature data can be adjusted according to the weight value corresponding to the age information, the allergy history information and the taboo property information in the identity information of the user to obtain an updated weight value, so that a matching value corresponding to each medicament name to be determined can be determined based on the updated weight value, and the target medicament name can be determined based on the matching value.
And S270, determining a matching value corresponding to each target medicament name to be determined according to the updated weight value.
The matching value is used for measuring the matching degree between each target medicament to be determined and the medicament name to be replaced, and optionally, the higher the matching value is, the higher the degree of engagement between the target medicament name to be determined and the medicament name to be replaced is.
Optionally, the names of the drugs with the same efficacy in the candidate drugs may be determined as the names of the target drugs to be determined according to the efficacy of the drugs, and then the matching values corresponding to the names of the target drugs to be determined are determined according to the feature data corresponding to the names of the target drugs to be determined and the updated weight values.
And S280, determining the preset number of target medicament names to be determined from high to low according to the matching value, and using the target medicament names.
In order to obtain the target medicament highly matched with the medicament name to be replaced, the medicament name to be determined with the matching value higher than the preset threshold value can be obtained as the target medicament name, or the five medicament names to be determined with higher matching values can be used as the target medicament name by sorting from high to low according to the matching values.
When the fact that the target user triggers the key for replacing the name of the medicament to be replaced is detected, the determined name of the target medicament can be pushed to the medicament opening platform and is sequentially arranged from high to low according to the matching degree value, and therefore the technical effect that the user can conveniently select the name of the medicament is achieved.
Fig. 3 is a flowchart illustrating a method for determining a replacement medicament according to a second embodiment of the present invention, which is a further optimization based on the second embodiment. As shown in fig. 3, the method of this embodiment includes:
and S310, acquiring medical characteristic data of the user.
The medical characteristic data of the user is obtained, and the medical characteristic data mainly comprises information which is recorded when a doctor asks the user and is related to the disease.
And S320, acquiring the medication characteristic data of the user based on the medical characteristic data of the user by combining the identity information of the user and the historical medication information.
The user medication characteristic data comprises medical characteristic data of the user, identity information of the user and historical medication information of the user. The medical characteristic data of the user is used for acquiring information related to the disease condition of the user. And, an appropriate medicament may be selected for the user based on data in the medical characteristic data relating to the condition of the user. The identity information of the user includes age, sex and whether the pregnant woman is pregnant, etc., the medicament suitable for the user with different ages and sex may be different, and the wrong medication can be avoided according to the identity information, for example: pregnant women are not suitable for taking blood-activating medicine. The historical medication information of the user is used for acquiring medication information of the user in a past period of time so as to avoid conflict between newly added medicaments and medicaments used in a past short time, or the adaptability of the user to the medicaments can be determined according to the past medication, so that medicaments suitable for the user can be selected when the medicaments are replaced.
And S330, data encapsulation is carried out on the user medication characteristic data, and the encapsulated data is encrypted and then sent to a service server based on an HTTPS protocol.
The service server is a server for performing a specific function, and in the embodiment of the present invention, refers to a server for determining a replacement medicament. Optionally, the user medication characteristic data may be correspondingly stored in the memory each time a medical order is issued, that is, a medication is prescribed, and the stored content includes: the name and dosage of each medicament, the course of medication and the like, so as to facilitate the subsequent use. The medication characteristic data of each user corresponds to the user one by one, and in order to protect the privacy of the user, the medication characteristic data is packaged and encrypted and then transmitted to the service server based on an HTTPS protocol. In order to improve information security, the encryption mode of the medication characteristic data comprises one or more of but not limited to symmetric encryption, one-way hash encryption and asymmetric encryption.
S340, the service server decrypts to obtain the user medication characteristic data, and compares and searches the medicinal material, the medicine and the pharmacopeia database in sequence by combining the characteristic data of the selected out-of-stock medicine to obtain the medicine and the matching value matched with the characteristic data of the out-of-stock medicine.
The encrypted packaging data can be decrypted according to a private key corresponding to the encryption mode to obtain the user medication characteristic data, and a matching value matched with the lacking medicament characteristic data is obtained by combining the characteristic data of the missing medicament.
The medicine, the medicine and the pharmacopoeia database are compared and searched in sequence, and comprehensive search is carried out according to characteristic data of the medicine and the out-of-stock medicine to obtain a proper replacement medicine.
The medicinal materials can be used as raw materials for preparing medicines, in particular to Chinese medicinal materials, namely raw materials of Chinese medicaments which are not processed or prepared into finished products. The medicine is a substance for preventing, treating and diagnosing human diseases, purposefully regulating the physiological functions of human and prescribing indications or functional indications, administration and dosage, and comprises traditional Chinese medicines, chemical medicines, biological products and the like. The pharmacopoeia is a national code for recording the standards and specifications of medicines, and the standards of medicines generally comprise the following contents: legal title, source, property, identification, purity check, content (potency or activity) determination, category, dosage, specification, storage, formulation, etc.
The method for obtaining the medicinal materials and the matching values matched with the characteristic data of the missing medicament is shown in figure 4.
User medication characteristic data may include: medical characteristic data TY, user identity information TD and historical medication data information TH. The out-of-stock medicament characteristic data comprises: processing related data MP, preparation related data MZ and contraindications and efficacy related data MD. The processing-related data refers to the processing manner of the medicament, the preparation-related data refers to the state of the medicament, such as powder, and the contraindication and efficacy-related data refers to the contraindication information data and the efficacy information data of the medicament.
And comparing and searching the medicinal material database, the medicine database and the pharmacopeia database in sequence according to the medicine use characteristic data and the out-of-stock medicament characteristic data of the user to obtain a matching value R between the out-of-stock medicament and the medicament in each database, wherein the matching value R is used for representing the matching value between the target medicament to be determined and the out-of-stock medicament, and the set of all R values is a database matching result.
A specific manner of obtaining the matching value between the out-of-stock medicament and each medicament is shown in fig. 5.
And carrying out weight assignment twice on the medicament characteristic data in the database according to the medicament use characteristic data of the user and the out-of-stock medicament characteristic data, and further carrying out matching degree detection to obtain a matching value of each medicament and the out-of-stock medicament in the database. According to the matching value, the medicament with the high matching value can be recommended as a recommended replacement medicament.
And S350, generating a replacement medicament matching degree list, and pushing three medicaments with the first three matching values for selection of a doctor.
And determining the medicaments with the matching values larger than the preset value as the replacement medicaments, and arranging the replacement medicaments from high to low according to the matching values to generate a replacement medicament matching degree list. Three medicaments with the first three matching values are displayed on the system according to the matching list of the replacement medicaments, and simultaneously, the characteristic information corresponding to the medicaments can be displayed for selection and use when a doctor replaces the medicaments.
According to the technical scheme of the embodiment of the invention, when a target event is detected, the name of the medicament to be replaced is obtained, at least one name of the target medicament to be determined is determined according to target characteristic data of the name of the medicament to be replaced, the weight value of the characteristic data is adjusted according to user basic information and medicament use characteristic data, the matching value corresponding to each target medicament to be determined is obtained according to the weight value, the preset number of the names of the target medicaments to be determined is determined as the name of the target medicament according to the matching value from high to low, the problem of inaccurate replacement caused by the fact that a doctor needs to manually replace the medicament according to common knowledge is solved, the technical effects that when the medicament is detected to be in a shortage state, the name of the medicament matched with the medicament to be replaced can be obtained according to the medicament characteristic data, further, the target medicament suitable for a user is matched according to the user basic information, the matching degree of the determined target medicament and the medicament in the out-of-stock state is improved, and the accuracy and convenience for determining the target medicament are further optimized, so that the target medicament is more suitable for the user, and the technical effect of improving the treatment efficiency of the user is further improved.
EXAMPLE III
Fig. 6 is a schematic structural diagram of a device for determining a replacement medicament according to a third embodiment of the present invention. As shown in fig. 6, the apparatus includes: a to-be-replaced medicament name determination module 610, an information extraction module 620, a to-be-determined target medicament name determination module 630, and a target medicament name determination module 640.
The module 610 for determining the name of the medicament to be replaced is used for acquiring the name of the medicament to be replaced corresponding to a target event when the target event is detected to exist; the information extraction module 620 is configured to extract target feature data of the names of the medicaments to be replaced and medication feature data corresponding to each medicament name in the target prescription, and acquire user basic information of the target user; a target medicament name to be determined determining module 630, configured to determine, according to the target feature data, at least one target medicament name to be determined associated with the target feature data; and a target medicament name determining module 640, configured to determine, according to the user basic information and the medication characteristic data, a target medicament name corresponding to the medicament name to be replaced from the at least one target medicament name to be determined.
On the basis of the technical scheme, the device for determining the replacement medicament further comprises: and the target prescription determining module is used for determining a target prescription corresponding to the target user according to the user basic information, the medical characteristic data and the historical medication characteristic data of the target user.
On the basis of the above technical solution, the to-be-replaced medicament name determining module 610 is further configured to, when it is detected that the state corresponding to the medicament name in the target prescription is the out-of-stock state, acquire the medicament name in the out-of-stock state and use the medicament name as the to-be-replaced medicament name.
On the basis of the above technical solution, the information extraction module 620 is further configured to obtain a processing method, a medicine property, and contraindication information corresponding to the name of the medicament to be replaced and the names of the medicaments in the target prescription; and acquiring identity information, allergy history information and contraindication property in the basic information of the user.
On the basis of the above technical solution, the target medicament name determining module 630 is further configured to obtain alternative feature data corresponding to each alternative medicament name in the medicament library, and determine a weight value corresponding to each alternative feature data according to the target feature data; and determining at least one target medicament name to be determined associated with the target characteristic data according to the weight value corresponding to each candidate characteristic data and the candidate characteristic data included in each medicament name.
On the basis of the above technical solution, the target medicament name determining module 630 is further configured to obtain class feature data corresponding to at least two classes of medicament names, set and store weight values corresponding to other alternative feature data under the class feature data, so as to obtain weight values corresponding to pre-stored alternative feature data corresponding to the target feature data after determining the target feature data.
On the basis of the above technical solution, the target medicament name determining module 630 is further configured to adjust a weight value corresponding to the at least one alternative feature data according to a weight value corresponding to age information, allergy history information, and contraindication property information in the identity information, so as to obtain an updated weight value; determining a matching value corresponding to each target medicament name to be determined according to the updated weight value; and determining a preset number of target medicament names to be determined from high to low according to the matching value to serve as the target medicament names.
The technical proposal of the embodiment of the invention obtains the name of the medicament to be replaced by detecting the existence of the target event, determining at least one target medicament name to be determined from the target characteristic data of the medicament name to be replaced, according to the basic information of the user and the medication characteristic data, the name of the target medicament corresponding to the name of the medicament to be replaced is determined, the problem that the medicament is out of stock is solved, the inaccurate replacement problem caused by the fact that doctors need to manually replace the medicaments according to the common knowledge realizes that when the medicaments are detected to be in the out-of-stock state, can match out the target medicament for replacing the medicament according to the medicament characteristic data and the user basic information, improves the matching degree of the determined target medicament and the medicament in the out-of-stock state, further optimizes the accuracy and convenience for determining the target medicament, thereby making the target medicament more suitable for the user, and further improving the technical effect of the treatment efficiency for the user.
The device for determining the replacement medicament provided by the embodiment of the invention can execute the method for determining the replacement medicament provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, the units and modules included in the apparatus are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.
Example four
Fig. 7 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. FIG. 7 illustrates a block diagram of an exemplary electronic device 70 suitable for use in implementing embodiments of the present invention. The electronic device 70 shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 7, the electronic device 70 is embodied in the form of a general purpose computing device. The components of the electronic device 70 may include, but are not limited to: one or more processors or processing units 701, a system memory 702, and a bus 703 that couples various system components including the system memory 702 and the processing unit 701.
The system memory 702 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)704 and/or cache memory 705. The electronic device 70 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, the storage system 706 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 7, commonly referred to as a "hard drive"). Although not shown in FIG. 7, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 703 via one or more data media interfaces. Memory 702 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 708 having a set (at least one) of program modules 707 may be stored, for example, in memory 702, such program modules 707 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. The program modules 707 generally perform the functions and/or methodologies of the described embodiments of the invention.
The electronic device 70 may also communicate with one or more external devices 709 (e.g., keyboard, pointing device, display 710, etc.), with one or more devices that enable a user to interact with the electronic device 70, and/or with any devices (e.g., network card, modem, etc.) that enable the electronic device 70 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 711. Also, the electronic device 70 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 712. As shown, the network adapter 712 communicates with the other modules of the electronic device 70 over a bus 703. It should be appreciated that although not shown in FIG. 7, other hardware and/or software modules may be used in conjunction with electronic device 70, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 701 executes various functional applications and data processing, such as implementing the method of determining a replacement medicament provided by an embodiment of the present invention, by executing a program stored in the system memory 702.
EXAMPLE five
Embodiments of the present invention also provide a storage medium containing computer-executable instructions which, when executed by a computer processor, perform a method of determining a replacement medicament.
The method comprises the following steps:
when the target event is detected to exist, acquiring the name of the medicament to be replaced corresponding to the target event;
extracting target characteristic data of the names of the medicaments to be replaced and medication characteristic data corresponding to the names of the medicaments in a target prescription, and acquiring user basic information of a target user;
determining at least one target medicament name to be determined associated with the target characteristic data according to the target characteristic data;
and determining a target medicament name corresponding to the medicament name to be replaced from at least one target medicament name to be determined according to the basic information of the user and the medication characteristic data.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. A method of identifying a replacement medicament, comprising:
when the target event is detected to exist, acquiring a name of a medicament to be replaced corresponding to the target event;
extracting target characteristic data of the medicament name to be replaced and medication characteristic data corresponding to each medicament name in a target prescription, and acquiring user basic information of a target user;
determining at least one target medicament name to be determined associated with the target characteristic data according to the target characteristic data;
and determining a target medicament name corresponding to the medicament name to be replaced from the at least one target medicament name to be determined according to the user basic information and the medication characteristic data.
2. The method of claim 1, further comprising:
and determining a target drug order corresponding to the target user according to the user basic information, the medical characteristic data and the historical drug use characteristic data of the target user.
3. The method according to claim 1, wherein the obtaining a name of a medicament to be replaced corresponding to a target event when the presence of the target event is detected comprises:
and when the condition corresponding to the medicament name in the target prescription list is detected to be the out-of-stock condition, acquiring the medicament name in the out-of-stock condition and taking the medicament name as the medicament name to be replaced.
4. The method according to claim 1, wherein the extracting target characteristic data of the name of the medicament to be replaced and medication characteristic data corresponding to each medicament name in the target prescription and obtaining user basic information of the target user comprises:
acquiring processing modes, medicine properties and contraindication information corresponding to the names of the medicaments to be replaced and the names of the medicaments in the target prescription;
and acquiring identity information, allergy history information and contraindication properties in the user basic information.
5. The method of claim 1, wherein said determining from said target characteristic data at least one target medicament name to be determined associated with said target characteristic data comprises:
acquiring alternative characteristic data corresponding to each alternative medicament name in a medicament library, and determining a weight value corresponding to each alternative characteristic data according to the target characteristic data;
and determining at least one target medicament name to be determined associated with the target characteristic data according to the weight value corresponding to each candidate characteristic data and the candidate characteristic data included in each medicament name.
6. The method of claim 5, further comprising:
the method comprises the steps of respectively obtaining class characteristic data corresponding to at least two classes of medicament names, setting and storing weight values corresponding to other alternative characteristic data under the class characteristic data so as to obtain the weight values corresponding to the pre-stored alternative characteristic data corresponding to target characteristic data after the target characteristic data is determined.
7. The method according to claim 5, wherein the identification information, allergy history information and contraindication nature in the user basic information, and the determining of the target medicament name corresponding to the medicament name to be replaced from the at least one target medicament name to be determined according to the user basic information and the medication characteristic data comprises:
adjusting a weight value corresponding to the at least one alternative characteristic data according to a weight value corresponding to age information, allergy history information and contraindication property information in the identity information to obtain an updated weight value;
determining a matching value corresponding to each target medicament name to be determined according to the updated weight value;
and determining a preset number of target medicament names to be determined from high to low according to the matching value to serve as the target medicament names.
8. A device for identifying replacement medication, comprising:
the device comprises a to-be-replaced medicament name determining module, a to-be-replaced medicament name determining module and a to-be-replaced medicament name determining module, wherein the to-be-replaced medicament name determining module is used for acquiring a to-be-replaced medicament name corresponding to a target event when the target event is detected to exist;
the information extraction module is used for extracting the target characteristic data of the medicament name to be replaced and the medication characteristic data corresponding to each medicament name in the target prescription and acquiring the user basic information of the target user;
a target medicament name to be determined determining module, configured to determine, according to the target feature data, at least one target medicament name to be determined that is associated with the target feature data;
and the target medicament name determining module is used for determining a target medicament name corresponding to the medicament name to be replaced from the at least one target medicament name to be determined according to the user basic information and the medication characteristic data.
9. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of determining a replacement medicament as claimed in any one of claims 1-7.
10. A storage medium containing computer executable instructions for performing the method of determining a replacement medicament of any one of claims 1-7 when executed by a computer processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010961971.8A CN112133416A (en) | 2020-09-14 | 2020-09-14 | Method and device for determining replacement medicament, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010961971.8A CN112133416A (en) | 2020-09-14 | 2020-09-14 | Method and device for determining replacement medicament, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112133416A true CN112133416A (en) | 2020-12-25 |
Family
ID=73846770
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010961971.8A Pending CN112133416A (en) | 2020-09-14 | 2020-09-14 | Method and device for determining replacement medicament, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112133416A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113517050A (en) * | 2021-04-23 | 2021-10-19 | 联仁健康医疗大数据科技股份有限公司 | Method and device for determining prescription order, electronic equipment and storage medium |
CN114220518A (en) * | 2021-12-17 | 2022-03-22 | 北京京东拓先科技有限公司 | Data processing method and device, electronic equipment and storage medium |
CN114373528A (en) * | 2021-12-27 | 2022-04-19 | 新瑞鹏宠物医疗集团有限公司 | Replacement drug determination method, device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040138921A1 (en) * | 2002-10-18 | 2004-07-15 | Bnan Broussard | Automated drug substitution, verification, and reporting system |
CN109545388A (en) * | 2018-10-27 | 2019-03-29 | 平安医疗健康管理股份有限公司 | A kind of medicine risk control method, server and storage medium |
CN110245217A (en) * | 2019-06-17 | 2019-09-17 | 京东方科技集团股份有限公司 | A kind of drug recommended method, device and electronic equipment |
CN110289068A (en) * | 2019-06-20 | 2019-09-27 | 北京百度网讯科技有限公司 | Drug recommended method and equipment |
-
2020
- 2020-09-14 CN CN202010961971.8A patent/CN112133416A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040138921A1 (en) * | 2002-10-18 | 2004-07-15 | Bnan Broussard | Automated drug substitution, verification, and reporting system |
CN109545388A (en) * | 2018-10-27 | 2019-03-29 | 平安医疗健康管理股份有限公司 | A kind of medicine risk control method, server and storage medium |
CN110245217A (en) * | 2019-06-17 | 2019-09-17 | 京东方科技集团股份有限公司 | A kind of drug recommended method, device and electronic equipment |
CN110289068A (en) * | 2019-06-20 | 2019-09-27 | 北京百度网讯科技有限公司 | Drug recommended method and equipment |
Non-Patent Citations (1)
Title |
---|
刘欣;张冰;王海南;张体灯;薛菡;罗志;: "中成药说明书[注意事项]的修订完善思考与建议", 药物流行病学杂志, no. 01 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113517050A (en) * | 2021-04-23 | 2021-10-19 | 联仁健康医疗大数据科技股份有限公司 | Method and device for determining prescription order, electronic equipment and storage medium |
CN113517050B (en) * | 2021-04-23 | 2024-06-18 | 联仁健康医疗大数据科技股份有限公司 | Method, device, electronic equipment and storage medium for determining prescription form |
CN114220518A (en) * | 2021-12-17 | 2022-03-22 | 北京京东拓先科技有限公司 | Data processing method and device, electronic equipment and storage medium |
CN114373528A (en) * | 2021-12-27 | 2022-04-19 | 新瑞鹏宠物医疗集团有限公司 | Replacement drug determination method, device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Lim et al. | Acupuncture for polycystic ovarian syndrome | |
Barnes et al. | Complementary medicine products used in pregnancy and lactation and an examination of the information sources accessed pertaining to maternal health literacy: a systematic review of qualitative studies | |
CN112133416A (en) | Method and device for determining replacement medicament, electronic equipment and storage medium | |
Hernán et al. | Beyond the intention-to-treat in comparative effectiveness research | |
Amann et al. | Prescribing of potentially inappropriate medications for the elderly: an analysis based on the PRISCUS list | |
Li et al. | Chinese herbal medicines for unexplained recurrent miscarriage | |
Liu et al. | Chinese herbs combined with Western medicine for severe acute respiratory syndrome (SARS) | |
Smith et al. | Homoeopathy for induction of labour | |
Lv et al. | Efficacy and safety of Xiangsha Liujunzi granules for functional dyspepsia: A multi-center randomized double-blind placebo-controlled clinical study | |
Chen et al. | Vitamin A for preventing acute lower respiratory tract infections in children up to seven years of age | |
Gu et al. | Chinese herbal medicine for atopic eczema | |
Donovan et al. | Medications for increasing milk supply in mothers expressing breastmilk for their preterm hospitalised infants | |
Chen et al. | Corticosteroids for pneumonia | |
Chen et al. | Chinese herbal medicine for oesophageal cancer | |
Wu et al. | Vitamin A for non‐measles pneumonia in children | |
CN110444288A (en) | Auxiliary diagnostic equipment, method and readable storage medium storing program for executing based on complex network | |
Poulsen et al. | Colorectal transit and volume during treatment with prolonged-release oxycodone/naloxone versus oxycodone plus macrogol 3350 | |
Fuemmeler et al. | Association between prepregnancy body mass index and gestational weight gain with size, tempo, and velocity of infant growth: analysis of the newborn epigenetic study cohort | |
Jiang et al. | Ginkgo biloba extract for dementia: a systematic review | |
Holko et al. | Prevalence and drug treatment practices of inflammatory bowel diseases in Poland in the years 2012–2014: an analysis of nationwide databases | |
Hochner et al. | Gum chewing and gastrointestinal function following caesarean delivery: a systematic review and meta‐analysis | |
Bahnasawy et al. | Clinical pharmacist‐provided services In iron‐overloaded beta‐thalassaemia major children: a new insight Into patient care | |
Morin et al. | Measuring the intensity of pregnancy planning effort | |
Yamana et al. | Outpatient prescriptions of Kampo formulations in Japan | |
Athuman et al. | Intermittent preventive antimalarial treatment for children with anaemia |
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 |