Intelligent traditional Chinese medicine pharmacy medication management method and system based on Internet of Things
By receiving and analyzing patient prescription information in smart Chinese pharmacies and calculating the availability of drug use information, the problem of lack of personalized review in the existing technology is solved, the safety and effectiveness of drug use are improved, and the rationality of the decoction process is ensured. .
Patent Information
- Application Number
- CN202411323900.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2024-12-27
AI Technical Summary
Smart Chinese Pharmacy lacks personalized review of drug formulas when reviewing prescriptions, and cannot effectively judge the availability of prescription information, making it difficult to guarantee the safety and effectiveness of medication.
By receiving patient prescription information, extracting historical prescription information and return information, calculating the availability of medication information, and conducting a preliminary review based on the availability, determining whether a second manual review is triggered, and deciding whether to perform the decoction process.
It realizes personalized review of current patient prescription information, improves the safety and effectiveness of medication, and ensures the rationality and accuracy of the decoction process.
Smart Images

Figure CN119207728A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart Chinese medicine pharmacies, and in particular to a smart Chinese medicine pharmacy medication management method and system based on the Internet of Things. Background Art
[0002] Smart Chinese medicine pharmacy is an innovative Chinese medicine service model that integrates information technologies such as the Internet and the Internet of Things. It uses smart devices and software systems to build a modern Chinese medicine pharmacy platform to provide patients with one-stop services such as prescription review, Chinese medicine decoction, Chinese medicine distribution, and pharmaceutical consultation. The construction of smart Chinese medicine pharmacy not only solves the limitations of traditional decoction methods, but also realizes the full traceability and quality control of the decoction process through information technology. At present, smart Chinese medicine pharmacies usually use rules such as "eighteen anti-incompatibility and nineteen fears" to automatically review prescriptions when reviewing prescriptions, and lack personalized review of medication formulas. Therefore, the present invention proposes a smart Chinese medicine pharmacy medication management method and system based on the Internet of Things. Summary of the invention
[0003] In view of the above-mentioned problems, the present invention proposes a smart Chinese medicine pharmacy medication management method and system based on the Internet of Things.
[0004] To achieve the above object, the present invention provides the following technical solutions:
[0005] A smart Chinese medicine pharmacy medication management method based on the Internet of Things, the method comprising the following steps:
[0006] Receive the current patient's prescription information, which includes the patient's basic information, patient condition information, diagnosis information, and medication information;
[0007] According to the current patient's prescription information, historical prescription information set and return visit information are extracted from the prescription database;
[0008] Determining the availability of medication information in the current patient's prescription information based on the historical prescription information set, the return visit information, and the current patient's prescription information;
[0009] A preliminary review is performed based on the availability to determine whether a secondary manual review is triggered, and based on the review result, a determination is made as to whether a subsequent decoction process is to be executed.
[0010] As a further technical solution of the present invention, the step of extracting the historical prescription information set and the return visit information from the prescription database according to the current patient's prescription information includes:
[0011] Obtain medication information from the current patient's prescription information as medication information to be reviewed;
[0012] Based on the authority granted by the historical patients, the prescription information and the follow-up information of the historical patients after hiding the confidential information are obtained from the prescription database, wherein the prescription database stores the prescription information and the follow-up information of the historical patients, and the follow-up information includes the treatment effect after the patient takes the medicine, and the treatment effect includes no effect, general effect and significant effect;
[0013] Extracting medication information whose similarity reaches a preset similarity threshold from the prescription information of historical patients after hiding confidential information according to the medication information to be reviewed as a historical medication information set;
[0014] Obtain prescription information corresponding to the historical medication information set as the historical prescription information set.
[0015] As a further technical solution of the present invention, the step of determining the availability of medication information in the current patient's prescription information based on the historical prescription information set, the return visit information and the current patient's prescription information includes:
[0016] Acquiring the diagnosis information in the historical prescription information set as the historical diagnosis information set;
[0017] Obtain the diagnosis information in the current patient prescription information, and calculate the overlap between each historical diagnosis information in the historical diagnosis information set and the diagnosis information in the current patient prescription information. The overlap may be determined based on the disease name in the diagnosis information; overlap = number of identical disease names / number of disease names in the historical diagnosis information;
[0018] Sort the historical prescription information in the historical prescription information set according to the degree of overlap to obtain a coincidence sorting table;
[0019] Determine the target historical prescription information according to the preset extraction quantity n and the overlap ranking table;
[0020] Obtain the historical patient revisit information corresponding to each target historical prescription information as the target revisit information;
[0021] Determine the treatment effect value according to the treatment effect in the target return visit information, and preset the effect values corresponding to no effect, general effect and significant effect in the treatment effect as 0, 40 and 80 respectively;
[0022] The availability of medication information in the current patient prescription information is generated according to the overlap degree and the treatment effect value, and the calculation formula is as follows:
[0023] A=S1T1+S2T2+...+S n T n ;
[0024] Where A represents the availability of medication information in the current patient prescription information, n represents the preset number of extractions, and S n represents the overlap degree corresponding to the nth target historical prescription information extracted from the overlap ranking table, T n Represents the treatment effect value corresponding to the nth target historical prescription information extracted from the coincidence sorting table.
[0025] As a further technical solution of the present invention, the steps of performing a preliminary review based on the availability, determining whether to trigger a secondary manual review, and determining whether to execute a subsequent decoction process based on the review result include:
[0026] When the availability exceeds the preset availability threshold, it is preliminarily determined that the medication information in the current patient's prescription information is reasonable medication, that is, the preliminary review is passed, and the subsequent decoction process is executed;
[0027] When the availability does not exceed the preset availability threshold, it is preliminarily determined that the medication information in the current patient's prescription information is irrational medication, that is, the preliminary review fails, triggering a secondary manual review instruction;
[0028] Determine whether to execute the subsequent decoction process based on the secondary manual review results;
[0029] When the second manual review result is passed, the subsequent decoction process will be executed;
[0030] When the result of the second manual review fails, the subsequent decoction process is suspended and a prompt message is sent to the current patient's mobile terminal.
[0031] Another object of the present invention is to provide a smart Chinese medicine pharmacy medication management system based on the Internet of Things, the system comprising:
[0032] A prescription information receiving module is used to receive the current patient's prescription information, wherein the prescription information includes the patient's basic information, the patient's condition information, the diagnosis information and the medication information;
[0033] A historical information acquisition module is used to extract historical prescription information sets and return visit information from a prescription database based on the current patient's prescription information;
[0034] An availability determination module, used for determining the availability of medication information in the current patient's prescription information based on the historical prescription information set, the return visit information and the current patient's prescription information;
[0035] The review and determination module is used to perform a preliminary review based on the availability, determine whether to trigger a secondary manual review, and determine whether to execute the subsequent decoction process based on the review result.
[0036] As a further technical solution of the present invention, the historical information acquisition module includes:
[0037] A medication information determination unit, used to obtain medication information in the current patient prescription information as medication information to be reviewed;
[0038] A historical information extraction unit, for obtaining, based on the authority granted by the historical patients, the prescription information and return visit information of the historical patients after hiding the confidential information from the prescription database, wherein the prescription database stores the prescription information and return visit information of the historical patients, wherein the return visit information includes the treatment effect of the patients after taking the medicine, wherein the treatment effect includes no effect, general effect and significant effect, wherein no effect means that the symptoms of the patients do not change within a preset period after taking the medicine, wherein the general effect means that the symptoms of the patients are alleviated within a preset period after taking the medicine, but not completely disappeared, and wherein the significant effect means that the symptoms of the patients have completely disappeared within a preset period after taking the medicine, wherein the preset period may be 3 days, 1 month or 3 months, and the specific value is set according to the time situation, and the confidential information includes the patient's name, contact information, address information, etc.;
[0039] A medication information extraction unit is used to extract medication information whose similarity reaches a preset similarity threshold from the prescription information of historical patients after hiding confidential information according to the medication information to be reviewed, as a historical medication information set, wherein the preset similarity threshold is generally 100%, and a specific value can also be set according to actual conditions; when there is no historical medication information set, a secondary manual review instruction is directly triggered;
[0040] The historical prescription determining unit is used to obtain the prescription information corresponding to the historical medication information set as the historical prescription information set.
[0041] As a further technical solution of the present invention, the availability determination module includes:
[0042] A historical diagnosis information acquisition unit, used to acquire the diagnosis information in the historical prescription information set as the historical diagnosis information set;
[0043] a coincidence calculation unit, used for obtaining the diagnosis information in the current patient prescription information, and calculating the coincidence between each piece of historical diagnosis information in the historical diagnosis information set and the diagnosis information in the current patient prescription information;
[0044] A prescription sorting unit, used for sorting each piece of historical prescription information in the historical prescription information set according to the degree of overlap, to obtain an overlap sorting table;
[0045] A target information determination unit, used to determine the target historical prescription information according to a preset extraction number n and the coincidence sorting table, wherein the value of the preset extraction number n is generally at least 3;
[0046] A return visit information acquisition unit, used to acquire the return visit information of the historical patients corresponding to each target historical prescription information as the target return visit information;
[0047] An effect value determination unit, used to determine a treatment effect value according to the treatment effect in the target return visit information, wherein the effect values corresponding to no effect, general effect and significant effect in the treatment effect are preset to be 0, 40 and 80 respectively;
[0048] The availability calculation unit is used to generate the availability of the medication information in the current patient prescription information according to the overlap degree and the treatment effect value, and the calculation formula is as follows:
[0049] A=S1T1+S2T2+...+S n T n ;
[0050] Where A represents the availability of medication information in the current patient prescription information, n represents the preset number of extractions, and S n represents the overlap degree corresponding to the nth target historical prescription information extracted from the overlap ranking table, T n Represents the treatment effect value corresponding to the nth target historical prescription information extracted from the coincidence sorting table.
[0051] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention provides a smart Chinese medicine pharmacy medication management method and system based on the Internet of Things, in which a historical prescription information set and follow-up information are extracted from a prescription database based on the current patient's prescription information, and a personalized review of the medication information in the current patient's prescription information is implemented based on the historical prescription information set and the follow-up information, and in the present invention, the availability of the medication information in the current patient's prescription information is calculated based on the historical prescription information set and the follow-up information, and whether to execute the subsequent decoction process is determined based on the availability, thereby effectively ensuring the safety and effectiveness of the current patient's prescription information. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 This is a flowchart of a smart Chinese medicine pharmacy medication management method based on the Internet of Things.
[0053] Figure 2 This is a flowchart of the steps for extracting historical prescription information in a smart Chinese medicine pharmacy medication management method based on the Internet of Things.
[0054] Figure 3 A flowchart of the availability step in a smart Chinese medicine pharmacy medication management method based on the Internet of Things.
[0055] Figure 4 This is a structural block diagram of a smart Chinese medicine pharmacy medication management system based on the Internet of Things. DETAILED DESCRIPTION
[0056] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0057] like Figure 1 As shown, an embodiment of the present invention provides a smart Chinese medicine pharmacy medication management method based on the Internet of Things, and the method includes the following steps:
[0058] Step S100, receiving the current patient's prescription information, the prescription information includes the patient's basic information, the patient's condition information, diagnosis information and medication information, the patient's basic information includes name, gender, age, contact information and address information; the patient's condition information includes current condition, past medical history and family history, current condition: the patient's specific symptoms, signs, onset time, location, onset urgency, etc. during this visit, which is an important basis for doctors to make a preliminary diagnosis; past medical history: the patient's past medical history, including diseases that have been suffered, treatment conditions, surgical history, allergy history, etc., this information is of great reference value for doctors to judge the patient's current condition and formulate treatment plans; family history: whether there is a history of hereditary diseases or related diseases in the patient's family, which helps doctors assess the patient's genetic risk; the diagnosis information includes specific information such as the name and stage of the disease; it is the diagnosis opinion made by the doctor after comprehensive judgment based on the patient's symptoms, signs, medical history and auxiliary examination results; medication information includes the type and dosage of medication, etc.
[0059] Step S200, extracting a historical prescription information set and a follow-up information from a prescription database according to the current patient's prescription information; the follow-up information includes the treatment effect of the patient after taking the medicine, and the treatment effect includes no effect, general effect and significant effect, no effect means that the patient's symptoms have not changed within a preset period after taking the medicine, general effect means that the patient's symptoms have been alleviated within a preset period after taking the medicine, but have not completely disappeared, and significant effect means that the patient's symptoms have completely disappeared within a preset period after taking the medicine, wherein the preset period may be 3 days, one month or three months, and the specific value is set according to the time situation;
[0060] Step S300, determining the availability of medication information in the current patient's prescription information according to the historical prescription information set, the return visit information and the current patient's prescription information;
[0061] Step S400, performing a preliminary review based on the availability, determining whether to trigger a secondary manual review, and determining whether to execute a subsequent decoction process based on the review result.
[0062] In this embodiment, after receiving the current patient's prescription information, the smart Chinese medicine pharmacy conducts personalized review of the medication information in the current patient's prescription information, specifically: extracting a historical prescription information set and a follow-up information from the prescription database based on the current patient's prescription information; determining the availability of the medication information in the current patient's prescription information based on the historical prescription information set, the follow-up information, and the current patient's prescription information; conducting a preliminary review based on the availability to determine whether to trigger a secondary manual review, and determining whether to execute the subsequent decoction process based on the review results. Before using availability for preliminary review, the present invention can also automatically review prescriptions based on other preset review rules (such as "18 anti-incompatibility and 19 fears" incompatibility, medication suitability, and excessive usage and dosage, etc.). It can identify potential medication risks, such as incompatibility, overdose, etc.
[0063] like Figure 2 As shown, as a preferred embodiment of the present invention, the step of extracting the historical prescription information set and the return visit information from the prescription database according to the current patient's prescription information includes:
[0064] Step S201, obtaining medication information in the current patient's prescription information as medication information to be reviewed;
[0065] Step S202, based on the authority granted by the historical patients, obtain the prescription information and return visit information of the historical patients after hiding the confidential information from the prescription database, wherein the prescription database stores the prescription information and return visit information of the historical patients, wherein the return visit information includes the treatment effect after the patient takes the medicine, wherein the treatment effect includes no effect, general effect and significant effect, wherein no effect means that the patient's symptoms do not change within a preset period after taking the medicine, wherein a general effect means that the patient's symptoms are alleviated within a preset period after taking the medicine, but not completely disappeared, and wherein a significant effect means that the patient's symptoms have completely disappeared within a preset period after taking the medicine, wherein the preset period may be 3 days, 1 month or 3 months, and the specific value is set according to the time situation, and the confidential information includes the patient's name, contact information, address information, etc.;
[0066] Step S203, extracting medication information whose similarity reaches a preset similarity threshold from the prescription information of historical patients after hiding confidential information according to the medication information to be reviewed, as a historical medication information set, wherein the preset similarity threshold is generally 100%, and a specific value can also be set according to actual conditions; when there is no historical medication information set, directly triggering a secondary manual review instruction;
[0067] Step S204, obtaining prescription information corresponding to the historical medication information set as the historical prescription information set.
[0068] In this embodiment, medication information whose similarity reaches a preset similarity threshold is extracted based on the medication information in the current patient's prescription information as a historical medication information set. Subsequent personalized analysis and judgment of the medication information in the current patient's prescription information is performed based on the historical medication information set, which can effectively improve the accuracy of prescription review.
[0069] like Figure 3 As shown, as a preferred embodiment of the present invention, the step of determining the availability of medication information in the current patient's prescription information based on the historical prescription information set, the return visit information and the current patient's prescription information includes:
[0070] Step S301, obtaining the diagnosis information in the historical prescription information set as the historical diagnosis information set;
[0071] Step S302, obtaining the diagnosis information in the current patient's prescription information, calculating the overlap between each historical diagnosis information in the historical diagnosis information set and the diagnosis information in the current patient's prescription information, and the overlap can be determined based on the disease name in the diagnosis information; overlap = number of identical disease names / number of disease names in the historical diagnosis information; the overlap in the present invention is mainly determined based on the diagnosis information, and in practical applications, the overlap can also be comprehensively determined based on the diagnosis information, the patient's age information and the patient's condition;
[0072] Step S303, sorting each piece of historical prescription information in the historical prescription information set according to the degree of overlap to obtain a coincidence sorting table;
[0073] Step S304, determining the target historical prescription information according to the preset extraction quantity n and the overlap ranking table, wherein the value of the preset extraction quantity n is generally at least 3;
[0074] Step S305, obtaining the historical patient return visit information corresponding to each target historical prescription information as the target return visit information;
[0075] Step S306, determining a treatment effect value according to the treatment effect in the target return visit information, wherein the effect values corresponding to no effect, general effect and significant effect in the preset treatment effect are 0, 40 and 80 respectively;
[0076] Step S307, generating the availability of medication information in the current patient prescription information according to the overlap degree and the treatment effect value, and the calculation formula is as follows:
[0077] A=S1T1+S2T2+...+S n T n ;
[0078] Where A represents the availability of medication information in the current patient prescription information, n represents the preset extraction quantity, S1 represents the overlap degree corresponding to the first target historical prescription information extracted from the overlap sorting table, T1 represents the treatment effect value corresponding to the first target historical prescription information extracted from the overlap sorting table, S2 represents the overlap degree corresponding to the second target historical prescription information extracted from the overlap sorting table, T2 represents the treatment effect value corresponding to the second target historical prescription information extracted from the overlap sorting table, S n represents the overlap degree corresponding to the nth target historical prescription information extracted from the overlap ranking table, T n Represents the treatment effect value corresponding to the nth target historical prescription information extracted from the coincidence sorting table.
[0079] In this embodiment, the overlap and treatment effect value are determined by analyzing and extracting the target historical prescription information and the target follow-up information, and then the availability of the medication information in the current patient prescription information is further generated based on the overlap and treatment effect value, which can effectively ensure the safety and effectiveness of medication and improve the accuracy of prescription review.
[0080] As a preferred embodiment of the present invention, the steps of performing a preliminary review based on the availability, determining whether to trigger a secondary manual review, and determining whether to execute a subsequent decoction process based on the review result include:
[0081] When the availability exceeds the preset availability threshold, it is preliminarily determined that the medication information in the current patient's prescription information is reasonable medication, that is, the preliminary review is passed, and the subsequent decoction process is executed;
[0082] When the availability does not exceed the preset availability threshold, it is preliminarily determined that the medication information in the current patient's prescription information is irrational medication, that is, the preliminary review fails, triggering a secondary manual review instruction;
[0083] Determine whether to execute the subsequent decoction process based on the secondary manual review results;
[0084] When the second manual review result is passed, the subsequent decoction process will be executed;
[0085] When the result of the second manual review fails, the subsequent decoction process is suspended, and a prompt message is sent to the current patient's mobile terminal, wherein the prompt message carries the prescription information and follow-up information of the historical patient after hiding the confidential information.
[0086] like Figure 4 As shown, another object of the present invention is to provide a smart Chinese medicine pharmacy medication management system based on the Internet of Things, the system comprising:
[0087] The prescription information receiving module 100 is used to receive the current patient's prescription information, which includes the patient's basic information, the patient's condition information, the diagnosis information and the medication information;
[0088] A historical information acquisition module 200 is used to extract historical prescription information sets and return visit information from a prescription database according to the current patient's prescription information;
[0089] Availability determination module 300, used to determine the availability of medication information in the current patient's prescription information based on the historical prescription information set, the return visit information and the current patient's prescription information;
[0090] The review and determination module 400 is used to perform a preliminary review based on the availability, determine whether to trigger a secondary manual review, and determine whether to execute a subsequent decoction process based on the review result.
[0091] As a preferred embodiment of the present invention, the historical information acquisition module 200 includes:
[0092] A medication information determination unit, used to obtain medication information in the current patient prescription information as medication information to be reviewed;
[0093] a historical information extraction unit, for obtaining, based on the authority granted by the historical patients, the prescription information and return visit information of the historical patients after hiding the confidential information from the prescription database, wherein the prescription database stores the prescription information and return visit information of the historical patients, wherein the return visit information includes the treatment effect after the patient takes the medicine, wherein the treatment effect includes no effect, general effect and significant effect, wherein no effect means that the patient's symptoms do not change within a preset period after taking the medicine, wherein the general effect means that the patient's symptoms are alleviated within a preset period after taking the medicine, but not completely disappeared, wherein the significant effect means that the patient's symptoms have completely disappeared within a preset period after taking the medicine, wherein the preset period may be 3 days, 1 month or 3 months, and the specific value is set according to the time situation, wherein the confidential information includes the patient's name, contact information, address information, etc., and the prescription database is used to store the patient's prescription information;
[0094] A medication information extraction unit is used to extract medication information whose similarity reaches a preset similarity threshold from the prescription information of historical patients after hiding confidential information according to the medication information to be reviewed, as a historical medication information set, wherein the preset similarity threshold is generally 100%, and a specific value can also be set according to actual conditions; when there is no historical medication information set, a secondary manual review instruction is directly triggered;
[0095] The historical prescription determining unit is used to obtain the prescription information corresponding to the historical medication information set as the historical prescription information set.
[0096] As a preferred embodiment of the present invention, the availability determination module 300 includes:
[0097] A historical diagnosis information acquisition unit, used to acquire the diagnosis information in the historical prescription information set as the historical diagnosis information set;
[0098] A coincidence calculation unit is used to obtain the diagnosis information in the current patient prescription information, and calculate the coincidence between each historical diagnosis information in the historical diagnosis information set and the diagnosis information in the current patient prescription information. The coincidence can be determined based on the disease name in the diagnosis information; coincidence = number of identical disease names / number of disease names in the historical diagnosis information;
[0099] A prescription sorting unit, used for sorting each piece of historical prescription information in the historical prescription information set according to the degree of overlap, to obtain an overlap sorting table;
[0100] A target information determination unit, used to determine the target historical prescription information according to a preset extraction number n and the coincidence sorting table, wherein the value of the preset extraction number n is generally at least 3;
[0101] A return visit information acquisition unit, used to acquire the return visit information of the historical patients corresponding to each target historical prescription information as the target return visit information;
[0102] An effect value determination unit, used to determine a treatment effect value according to the treatment effect in the target return visit information, wherein the effect values corresponding to no effect, general effect and significant effect in the treatment effect are preset to be 0, 40 and 80 respectively;
[0103] The availability calculation unit is used to generate the availability of the medication information in the current patient prescription information according to the overlap degree and the treatment effect value, and the calculation formula is as follows:
[0104] A=S1T1+S2T2+...+S n T n ;
[0105] Where A represents the availability of medication information in the current patient prescription information, n represents the preset extraction quantity, S1 represents the overlap degree corresponding to the first target historical prescription information extracted from the overlap sorting table, T1 represents the treatment effect value corresponding to the first target historical prescription information extracted from the overlap sorting table, S2 represents the overlap degree corresponding to the second target historical prescription information extracted from the overlap sorting table, T2 represents the treatment effect value corresponding to the second target historical prescription information extracted from the overlap sorting table, S n represents the overlap degree corresponding to the nth target historical prescription information extracted from the overlap ranking table, T n Represents the treatment effect value corresponding to the nth target historical prescription information extracted from the coincidence sorting table.
[0106] It should be noted that, in this article, the term "comprises" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0107] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A smart Chinese medicine pharmacy medication management method based on the Internet of Things, characterized in that: The method comprises the following steps: Receive the current patient's prescription information, which includes the patient's basic information, patient condition information, diagnosis information, and medication information; According to the current patient's prescription information, historical prescription information set and return visit information are extracted from the prescription database; Determining the availability of medication information in the current patient's prescription information based on the historical prescription information set, the return visit information, and the current patient's prescription information; A preliminary review is performed based on the availability to determine whether a secondary manual review is triggered, and based on the review result, a determination is made as to whether a subsequent decoction process is to be executed.
2. According to the Internet of Things-based smart Chinese medicine pharmacy medication management method of claim 1, it is characterized in that: The step of extracting the historical prescription information set and the return visit information from the prescription database according to the current patient's prescription information comprises: Obtain medication information from the current patient's prescription information as medication information to be reviewed; Based on the authority granted by the historical patients, the prescription information and the follow-up information of the historical patients after hiding the confidential information are obtained from the prescription database, wherein the prescription database stores the prescription information and the follow-up information of the historical patients, and the follow-up information includes the treatment effect after the patient takes the medicine, and the treatment effect includes no effect, general effect and significant effect; Extracting medication information whose similarity reaches a preset similarity threshold from the prescription information of historical patients after hiding confidential information according to the medication information to be reviewed as a historical medication information set; Obtain prescription information corresponding to the historical medication information set as the historical prescription information set.
3. According to the method for managing medication in a smart Chinese medicine pharmacy based on the Internet of Things in claim 2, it is characterized in that: The step of determining the availability of medication information in the current patient's prescription information based on the historical prescription information set, the return visit information, and the current patient's prescription information comprises: Acquiring the diagnosis information in the historical prescription information set as the historical diagnosis information set; Obtaining the diagnosis information in the current patient prescription information, and calculating the overlap between each piece of historical diagnosis information in the historical diagnosis information set and the diagnosis information in the current patient prescription information; Sort the historical prescription information in the historical prescription information set according to the degree of overlap to obtain a coincidence sorting table; Determine the target historical prescription information according to the preset extraction quantity n and the overlap ranking table; Obtain the historical patient revisit information corresponding to each target historical prescription information as the target revisit information; Determine a treatment effect value according to the treatment effect in the target return visit information; The availability of medication information in the current patient prescription information is generated according to the overlap degree and the treatment effect value, and the calculation formula is as follows: A=S1T1+S2T2+...+S n T n ; Where A represents the availability of medication information in the current patient prescription information, n represents the preset number of extractions, and S n represents the overlap degree corresponding to the nth target historical prescription information extracted from the overlap ranking table, T n Represents the treatment effect value corresponding to the nth target historical prescription information extracted from the coincidence sorting table.
4. According to the Internet of Things-based smart Chinese medicine pharmacy medication management method of claim 1, it is characterized in that: The steps of performing a preliminary review based on the availability, determining whether to trigger a secondary manual review, and determining whether to execute a subsequent decoction process based on the review result include: When the availability exceeds the preset availability threshold, it is preliminarily determined that the medication information in the current patient's prescription information is reasonable medication, that is, the preliminary review is passed, and the subsequent decoction process is executed; When the availability does not exceed the preset availability threshold, it is preliminarily determined that the medication information in the current patient's prescription information is irrational medication, that is, the preliminary review fails, triggering a secondary manual review instruction; Determine whether to execute the subsequent decoction process based on the secondary manual review results; When the second manual review result is passed, the subsequent decoction process will be executed; When the result of the second manual review fails, the subsequent decoction process is suspended and a prompt message is sent to the current patient's mobile terminal.
5. A smart Chinese medicine pharmacy medication management system based on the Internet of Things, characterized in that: The system comprises: A prescription information receiving module is used to receive the current patient's prescription information, wherein the prescription information includes the patient's basic information, the patient's condition information, the diagnosis information and the medication information; A historical information acquisition module is used to extract historical prescription information sets and return visit information from a prescription database based on the current patient's prescription information; An availability determination module, used for determining the availability of medication information in the current patient's prescription information based on the historical prescription information set, the return visit information and the current patient's prescription information; The review and determination module is used to perform a preliminary review based on the availability, determine whether to trigger a secondary manual review, and determine whether to execute the subsequent decoction process based on the review result.
6. According to the Internet of Things-based smart Chinese medicine pharmacy medication management system of claim 5, it is characterized in that: The historical information acquisition module includes: A medication information determination unit, used to obtain medication information in the current patient prescription information as medication information to be reviewed; A historical information extraction unit, for obtaining, based on the authority granted by the historical patients, the prescription information and the follow-up information of the historical patients after hiding the confidential information from the prescription database, wherein the prescription database stores the prescription information and the follow-up information of the historical patients, wherein the follow-up information includes the treatment effect after the patients take the medicine, wherein the treatment effect includes no effect, general effect and significant effect; A medication information extraction unit, configured to extract medication information whose similarity reaches a preset similarity threshold from the prescription information of historical patients after hiding confidential information according to the medication information to be reviewed, as a historical medication information set; The historical prescription determining unit is used to obtain the prescription information corresponding to the historical medication information set as the historical prescription information set.
7. According to the Internet of Things-based smart Chinese medicine pharmacy medication management system of claim 5, it is characterized in that: The availability determination module comprises: A historical diagnosis information acquisition unit, used to acquire the diagnosis information in the historical prescription information set as the historical diagnosis information set; a coincidence calculation unit, used for obtaining the diagnosis information in the current patient prescription information, and calculating the coincidence between each piece of historical diagnosis information in the historical diagnosis information set and the diagnosis information in the current patient prescription information; A prescription sorting unit, used for sorting each piece of historical prescription information in the historical prescription information set according to the degree of overlap, to obtain an overlap sorting table; a target information determination unit, configured to determine target historical prescription information according to a preset extraction quantity n and the coincidence sorting table; A return visit information acquisition unit, used to acquire the return visit information of the historical patients corresponding to each target historical prescription information as the target return visit information; An effect value determination unit, used to determine a treatment effect value according to the treatment effect in the target return visit information; The availability calculation unit is used to generate the availability of the medication information in the current patient prescription information according to the overlap degree and the treatment effect value, and the calculation formula is as follows: A=S1T1+S2T2+…+S n T n ; Where A represents the availability of medication information in the current patient prescription information, n represents the preset number of extractions, and S n represents the overlap degree corresponding to the nth target historical prescription information extracted from the overlap ranking table, T n Represents the treatment effect value corresponding to the nth target historical prescription information extracted from the coincidence sorting table.
