Non-whole drug configuration method and system
By constructing a drug database and calculating the media parameters using scalar value functions to generate a media prompt text, the problem of difficult to accurately calculate the configuration ratio when dispensing dose drugs in pediatric drugs is solved, and the allocation speed and safety are improved.
Patent Information
- Application Number
- CN202411520122.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2044-10-29
AI Technical Summary
In pediatric drugs, it is difficult to accurately calculate the solution configuration ratio when dispensing doses of drugs, resulting in slow configuration speed and frequent errors, affecting the effectiveness and safety of the drug.
By constructing a drug database, storing the media parameters of the main drugs and patient medication data, calculating the media parameters using the scalar value function, generating a media prompt text, and outputting the drug configuration sheet through the printing module, simplifying the disposition process.
It greatly reduces the amount of drug allocation dosage calculations by the dispensers, improves the distribution speed, reduces the occurrence of errors, ensures the homogeneity and standardization of finished infusions, and ensures the safety and effectiveness of pediatric drugs.
Smart Images

Figure CN119601161A_ABST
Abstract
Description
Technical Field
[0001] The present invention mainly relates to the technical field of drug preparation, and in particular to a method and system for preparing a non-whole drug. Background Art
[0002] Infusion safety is one of the important issues in clinical drug use. The finished infusion given to patients in clinical practice consists of two parts: solvent and main drug. Solvent refers to the liquid used to dissolve or dilute the drug, which is also a drug. Therefore, the solvent and the main drug need to be configured according to the dosage.
[0003] Due to the particularity of pediatric medication, there are many requirements for drug dosing, and the amount of data required for dose calculation during preparation is large, which makes it difficult. In other words, it is difficult to accurately calculate the configuration ratio of divided-dose solution-type injections in the preparation cabin, especially when the main drug used for divided-dose injections is sterile powder, because some drugs require injections with sterile powder, but after adding the solvent, there will be different degrees of volume increment due to the swelling principle. For the incremental change, a large amount of calculation of the drug dose is required, which greatly affects the speed of the preparation personnel to prepare the injection. During the preparation process, it is very easy to make mistakes if the preparation personnel are not focused, the preparation process is interrupted, or the preparation time is too long. In addition, inaccurate dosage of injections can easily affect the effectiveness and safety of patients' medication. For example, too little dosage can easily delay the child's condition, and too much dosage can increase adverse reactions. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a method and system for preparing a non-whole drug in view of the deficiencies in the prior art.
[0005] The technical solution of the present invention to solve the above technical problems is as follows:
[0006] A method for preparing a non-whole drug comprises the following steps:
[0007] Constructing a drug database, wherein the drug database is used to store solvent parameters corresponding to all major drugs and medication data corresponding to patient information;
[0008] When a query condition is input, target patient information and its corresponding target medication data are screened out from the drug database according to the query condition, target solvent parameters are screened out from the drug database according to the target medication data through a scalar value function, and scalar calculation is performed on the target medication data and the target solvent parameters to obtain a solvent prompt text;
[0009] The target patient information, the target medication data and the solvent prompt text are displayed according to the set arrangement format, and the display result is printed by the configured printer to print out the drug configuration list.
[0010] Furthermore, the target medication data includes a drug code;
[0011] The step of screening out target solvent parameters from the drug database according to the target medication data by using a scalar value function includes:
[0012] Create a medium parameter value variable, a medium parameter text variable, and a dose unit variable;
[0013] Obtaining solvent parameter text from the drug database according to the drug code through a text query statement, and storing it in the solvent parameter text variable;
[0014] Obtaining a solvent parameter value from the drug database according to the drug code through a numerical query statement, and storing the value in the solvent parameter value variable;
[0015] The dosage unit is obtained from the drug database according to the drug code through a dosage query statement and stored in the dosage unit variable.
[0016] Furthermore, the target medication data also includes the unit dosage of the drug and the dosage of the drug used;
[0017] The step of performing scalar calculation on the target medication data and the target solvent parameter to obtain a solvent prompt text includes:
[0018] Create remainder variables, ratio dose variables, and solvent parameter prompt texts;
[0019] Performing a remainder calculation on the dosage of the drug and the unit dosage of the drug to obtain a remainder, and storing the remainder in the remainder variable;
[0020] The remainder obtained from the remainder variable, the solvent parameter value obtained from the solvent parameter value variable, and whether the remainder and the solvent parameter value are both equal to zero, if so, the calculation is terminated, and the display of the solvent parameter prompt text is output as a null value, if not, the drug dosage, the drug unit dosage and the solvent parameter value are divided and calculated to obtain the extraction amount, and the amount is stored in the ratio dosage variable;
[0021] The solvent parameter text is obtained from the solvent parameter text variable, the medication dosage unit is obtained from the dosage unit variable, the extraction amount is obtained from the ratio dosage variable, and the extraction amount, the solvent parameter text, the drug dosage and the medication dosage unit are combined in the solvent parameter prompt text to obtain the solvent prompt text.
[0022] Furthermore, the drug dosage, the drug unit dosage and the solvent parameter value are divided to obtain the extraction amount, including:
[0023] The unit dose of the drug is divided by the solvent parameter value to obtain the solvent quotient, and the dosage of the drug is divided by the solvent quotient to obtain the extraction amount.
[0024] Furthermore, the target medication data also includes the amount of medication;
[0025] The extraction amount, the solvent parameter text, the drug dosage and the drug dosage unit are combined in the solvent parameter prompt text to obtain the solvent prompt text, including:
[0026] Determine whether the medication quantity is greater than a preset value, and if so, combine the extraction amount, the solvent parameter text, the medication quantity, the drug dosage, and the medication dosage unit in the solvent parameter prompt text to obtain a solvent prompt text;
[0027] If not, the extraction amount, the solvent parameter text, the drug dosage and the drug dosage unit are combined in the solvent parameter prompt text to obtain a solvent prompt text.
[0028] Another technical solution of the present invention to solve the above technical problems is as follows:
[0029] A non-whole drug dispensing system, comprising: an import module, a calculation module and a printing module;
[0030] The import module is used to construct a drug database, which is used to store the solvent parameters corresponding to all major drugs and the medication data corresponding to the patient information;
[0031] The calculation module is used for, when a query condition is input, filtering out target patient information and its corresponding target medication data from the drug database according to the query condition, filtering out target solvent parameters from the drug database according to the target medication data through a scalar value function, and performing scalar calculation on the target medication data and the target solvent parameters to obtain a solvent prompt text;
[0032] The printing module is used to display the target patient information, the target medication data and the solvent prompt text according to a set arrangement format, print the display result through a configured printer, and print out a drug configuration list.
[0033] The beneficial effects of the present invention are as follows: based on the database query technology, the data of the main drugs are queried in the drug database, and the solvent parameters are calculated by embedding the scalar value function during the query to generate a solvent prompt text. The target patient information, target medication data and solvent prompt text are printed out in a set format for the dispensing personnel to view. Dispensing drugs according to the solvent prompt text greatly reduces the amount of calculation of the drug dispensing dosage by the dispensing personnel, improves the dispensing speed, and reduces the occurrence of dispensing errors, which can ensure the homogeneity and standardization of the finished drug infusion. The configuration method of the finished infusion is clear at a glance and traceable during clinical medication, ensuring the safety and effectiveness of pediatric medication. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 A flow chart of a method for dispensing a non-whole drug provided by an embodiment of the present invention;
[0035] Figure 2 A module block diagram of a non-whole drug configuration system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0036] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.
[0037] like Figure 1 As shown, a method for dispensing a non-whole drug provided by an embodiment of the present invention comprises the following steps:
[0038] Constructing a drug database, wherein the drug database is used to store solvent parameters corresponding to all major drugs and medication data corresponding to patient information;
[0039] When a query condition is input, target patient information and its corresponding target medication data are screened out from the drug database according to the query condition, target solvent parameters are screened out from the drug database according to the target medication data through a scalar value function, and scalar calculation is performed on the target medication data and the target solvent parameters to obtain a solvent prompt text;
[0040] The target patient information, the target medication data and the solvent prompt text are displayed according to the set arrangement format, and the display result is printed by the configured printer to print out the drug configuration list.
[0041] Specifically, the solvent parameters of all major drugs can be modified, and the doctor can adjust them according to the medication method, and store the solvent parameters corresponding to each major drug in the drug database. When the doctor diagnoses the patient and obtains the medication data, the patient information (such as name, age, gender, etc.) and the corresponding medication data (including drug name, specification, dosage, quantity, usage method and drip rate, etc.) are stored in the drug database according to the date. When it is necessary to inject the drug for the patient, the time condition and name are input to filter out the target patient information and target medication data in the drug database, and then the target solvent parameters are filtered out according to the drug name through the scalar value function, and the target medication data and target solvent parameters are calculated to obtain the solvent prompt text, and finally the target patient information, target medication data and solvent prompt text are displayed according to the set arrangement format, and the drug configuration sheet is output through the printer, and the drug configuration sheet can be attached to the drug.
[0042] It should be understood that the front-end interactive functions of this solution (i.e., setting solvent parameters, setting medication data, inputting query conditions, and displaying results to be printed, etc.) are implemented by the C Sharp language architecture, and the back-end data processing functions of this solution (i.e., data storage, data screening, and data calculation, etc.) are implemented by the SQL language architecture.
[0043] In the embodiment of the present invention, the data of the main drugs are queried in the drug database based on the database query technology, and the solvent parameters are calculated by embedding the scalar value function in the query to generate the solvent prompt text. The target patient information, target medication data and the solvent prompt text are printed out in a set format for the dispensing personnel to view.
[0044] Preferably, the target medication data includes a drug code; and the step of screening out a target solvent parameter from the drug database according to the target medication data by using a scalar value function includes:
[0045] Create a medium parameter value variable, a medium parameter text variable, and a dose unit variable;
[0046] Obtaining solvent parameter text from the drug database according to the drug code through a text query statement, and storing it in the solvent parameter text variable;
[0047] Obtaining a solvent parameter value from the drug database according to the drug code through a numerical query statement, and storing the value in the solvent parameter value variable;
[0048] The dosage unit is obtained from the drug database according to the drug code through a dosage query statement and stored in the dosage unit variable.
[0049] Specifically, the query statement is a database data query statement. The text query statement is based on the text field and obtains the solvent parameter text from the drug database according to the drug name (or drug ID); the numerical query statement is based on the numerical field and obtains the solvent parameter text from the drug database according to the drug name (or drug ID); the dosage query statement is based on the dosage field and obtains the solvent parameter text from the drug database according to the drug name (or drug ID).
[0050] It should be understood that if the solvent parameter is set to 5 (4.5), it is because the swelling factor of the drug is taken into consideration, the solvent parameter text is 5 (4.5), and the solvent parameter value is 5, because adding 4.5 ml of solvent to the drug will make the total volume become 5 ml; if the solvent parameter is set to 2, the solvent parameter text is 2, and the solvent parameter value is 2; the dosage unit can be g and mg, etc. The drug code can be the drug name or drug number.
[0051] In an embodiment of the present invention, multiple temporary variables are created in a data query session to temporarily store the results of acquisition or calculation, and are deleted after the session ends, without occupying database memory, avoiding the need to obtain data through query statements every time data processing is required, thereby improving query efficiency.
[0052] Preferably, the target medication data also includes a unit dose of the drug and a dosage of the drug used; the scalar calculation of the target medication data and the target solvent parameter to obtain the solvent prompt text includes:
[0053] Create remainder variables, ratio dose variables, and solvent parameter prompt texts;
[0054] Performing a remainder calculation on the dosage of the drug and the unit dosage of the drug to obtain a remainder, and storing the remainder in the remainder variable;
[0055] The remainder obtained from the remainder variable, the solvent parameter value obtained from the solvent parameter value variable, and whether the remainder and the solvent parameter value are both equal to zero, if so, the calculation is terminated, and the display of the solvent parameter prompt text is output as a null value, if not, the drug dosage, the drug unit dosage and the solvent parameter value are divided and calculated to obtain the extraction amount, and the amount is stored in the ratio dosage variable;
[0056] The solvent parameter text is obtained from the solvent parameter text variable, the medication dosage unit is obtained from the dosage unit variable, the extraction amount is obtained from the ratio dosage variable, and the extraction amount, the solvent parameter text, the drug dosage and the medication dosage unit are combined in the solvent parameter prompt text to obtain the solvent prompt text.
[0057] It should be understood that the remainder calculation is to obtain the quotient and the remainder by dividing the dosage of the drug by the unit dosage of the drug to obtain the remainder.
[0058] In an embodiment of the present invention, a scalar value function is embedded in a query statement to calculate target medication data and target solvent parameters, and a solvent prompt text is generated to prompt the dispensing personnel to prepare the medication dosage, thereby reducing the amount of calculation of the medication dosage by the dispensing personnel, improving the dispensing speed, and ensuring the homogeneity and standardization of the finished infusion after the dispensing is completed.
[0059] Preferably, the calculation of dividing the drug dosage, the drug unit dosage and the solvent parameter value to obtain the extraction amount includes:
[0060] The unit dose of the drug is divided by the solvent parameter value to obtain the solvent quotient, and the dosage of the drug is divided by the solvent quotient to obtain the extraction amount.
[0061] It should be understood that a division operation is performed on the drug unit dose and the solvent parameter value, the drug unit dose is divided by the solvent parameter value to obtain a quotient, and the drug usage dose is divided by the obtained quotient to obtain the extraction amount.
[0062] Preferably, the target medication data also includes the amount of medication;
[0063] The extraction amount, the solvent parameter text, the drug dosage and the drug dosage unit are combined in the solvent parameter prompt text to obtain the solvent prompt text, including:
[0064] Determine whether the medication quantity is greater than a preset value, and if so, combine the extraction amount, the solvent parameter text, the medication quantity, the drug dosage, and the medication dosage unit in the solvent parameter prompt text to obtain a solvent prompt text;
[0065] If not, the extraction amount, the solvent parameter text, the drug dosage and the drug dosage unit are combined in the solvent parameter prompt text to obtain a solvent prompt text.
[0066] In the embodiment of the present invention, the extraction amount, solvent parameter text, drug dosage and drug dosage unit are combined into a solvent prompt text, so that the biased personnel can intuitively prepare the drug dosage.
[0067] Preferably, Table 1 is a target medication data table for a patient, from which target medication data can be obtained to calculate the remainder of the remainder calculation to be 0, the solvent parameter text is 5 (4.5), the solvent parameter value is 5, the extraction volume is 0.25 / (0.5 / 5) = 2.5 ml, the medication quantity is equal to 1, and therefore the solvent prompt text is: solvent split volume 2.5 ml / 5 (4.5) ml = 0.25 g. After the configuration personnel dissolve azithromycin with 4.5 ml of 5% glucose injection according to the solvent split volume of the solvent prompt text, they extract 2.5 ml of the pre-dissolved mixed solution for redilution.
[0068] Table 1:
[0069] Drug Name Drug unit dose Drug dosage Number of medications 5% glucose injection 250ml 250ml 1 bottle Azithromycin for injection (GPO) 0.5g 0.25g 1 piece
[0070] like Figure 2 As shown, a non-whole drug configuration system provided by an embodiment of the present invention includes: an import module, a calculation module and a printing module;
[0071] The import module is used to construct a drug database, which is used to store the solvent parameters corresponding to all major drugs and the medication data corresponding to the patient information;
[0072] The calculation module is used for, when a query condition is input, filtering out target patient information and its corresponding target medication data from the drug database according to the query condition, filtering out target solvent parameters from the drug database according to the target medication data through a scalar value function, and performing scalar calculation on the target medication data and the target solvent parameters to obtain a solvent prompt text;
[0073] The printing module is used to display the target patient information, the target medication data and the solvent prompt text according to a set arrangement format, print the display result through a configured printer, and print out a drug configuration list.
[0074] The above-mentioned non-whole drug preparation system can refer to the implementation content and beneficial effects of the non-whole drug preparation method specifically described above, which will not be repeated here.
[0075] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are 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 other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0076] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems and modules described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0077] In the several embodiments provided in this application, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0078] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.
[0079] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for preparing a non-whole drug, characterized in that: The steps include: Constructing a drug database, wherein the drug database is used to store solvent parameters corresponding to all major drugs and medication data corresponding to patient information; When a query condition is input, target patient information and its corresponding target medication data are screened out from the drug database according to the query condition, target solvent parameters are screened out from the drug database according to the target medication data through a scalar value function, and scalar calculation is performed on the target medication data and the target solvent parameters to obtain a solvent prompt text; The target patient information, the target medication data and the solvent prompt text are displayed according to the set arrangement format, and the display result is printed by the configured printer to print out the drug configuration list.
2. The method for preparing a non-whole drug according to claim 1, characterized in that: The target medication data includes drug codes; The step of screening out target solvent parameters from the drug database according to the target medication data by using a scalar value function includes: Create a medium parameter value variable, a medium parameter text variable, and a dose unit variable; Obtaining solvent parameter text from the drug database according to the drug code through a text query statement, and storing it in the solvent parameter text variable; Obtaining a solvent parameter value from the drug database according to the drug code through a numerical query statement, and storing the value in the solvent parameter value variable; The dosage unit is obtained from the drug database according to the drug code through a dosage query statement and stored in the dosage unit variable.
3. The method for preparing a non-whole drug according to claim 2, characterized in that: The target medication data also includes the unit dosage of the drug and the dosage of the drug used; The step of performing scalar calculation on the target medication data and the target solvent parameter to obtain a solvent prompt text includes: Create remainder variables, ratio dose variables and solvent parameter prompt texts; Performing a remainder calculation on the dosage of the drug and the unit dosage of the drug to obtain a remainder, and storing the remainder in the remainder variable; The remainder obtained from the remainder variable, the solvent parameter value obtained from the solvent parameter value variable, and whether the remainder and the solvent parameter value are both equal to zero, if so, the calculation is terminated, and the display of the solvent parameter prompt text is output as a null value, if not, the drug dosage, the drug unit dosage and the solvent parameter value are divided and calculated to obtain the extraction amount, and the amount is stored in the ratio dosage variable; The solvent parameter text is obtained from the solvent parameter text variable, the medication dosage unit is obtained from the dosage unit variable, the extraction amount is obtained from the ratio dosage variable, and the extraction amount, the solvent parameter text, the drug dosage and the medication dosage unit are combined in the solvent parameter prompt text to obtain the solvent prompt text.
4. The method for preparing a non-whole drug according to claim 3, characterized in that: The method of dividing the dosage of the drug, the unit dosage of the drug and the solvent parameter value to obtain the extraction amount includes: The unit dose of the drug is divided by the solvent parameter value to obtain the solvent quotient, and the dosage of the drug is divided by the solvent quotient to obtain the extraction amount.
5. The method for preparing a non-whole drug according to claim 3, characterized in that: The target medication data also includes the amount of medication; The extraction amount, the solvent parameter text, the drug dosage and the drug dosage unit are combined in the solvent parameter prompt text to obtain the solvent prompt text, including: Determine whether the medication quantity is greater than a preset value, and if so, combine the extraction amount, the solvent parameter text, the medication quantity, the drug dosage, and the medication dosage unit in the solvent parameter prompt text to obtain a solvent prompt text; If not, the extraction amount, the solvent parameter text, the drug dosage and the drug dosage unit are combined in the solvent parameter prompt text to obtain a solvent prompt text.
6. A system for dispensing non-whole drugs, characterized in that: include: Import module, calculate module and print module; The import module is used to construct a drug database, which is used to store the solvent parameters corresponding to all major drugs and the medication data corresponding to the patient information; The calculation module is used for, when a query condition is input, filtering out target patient information and its corresponding target medication data from the drug database according to the query condition, filtering out target solvent parameters from the drug database according to the target medication data through a scalar value function, and performing scalar calculation on the target medication data and the target solvent parameters to obtain a solvent prompt text; The printing module is used to display the target patient information, the target medication data and the solvent prompt text according to a set arrangement format, print the display result through a configured printer, and print out a drug configuration list.
7. The non-whole drug dispensing system according to claim 6, characterized in that: In the calculation module, the target medication data includes a drug code; The step of screening out target solvent parameters from the drug database according to the target medication data by using a scalar value function includes: Create a medium parameter value variable, a medium parameter text variable, and a dose unit variable; Obtaining solvent parameter text from the drug database according to the drug code through a text query statement, and storing it in the solvent parameter text variable; Obtaining a solvent parameter value from the drug database according to the drug code through a numerical query statement, and storing the value in the solvent parameter value variable; The dosage unit is obtained from the drug database according to the drug code through a dosage query statement and stored in the dosage unit variable.
8. The non-whole drug dispensing system according to claim 7, characterized in that: In the calculation module, the target medication data also includes a unit dose of the drug and a dosage of the drug used; The step of performing scalar calculation on the target medication data and the target solvent parameter to obtain a solvent prompt text includes: Create remainder variables, ratio dose variables and solvent parameter prompt texts; Performing a remainder calculation on the dosage of the drug and the unit dosage of the drug to obtain a remainder, and storing the remainder in the remainder variable; The remainder obtained from the remainder variable, the solvent parameter value obtained from the solvent parameter value variable, and whether the remainder and the solvent parameter value are both equal to zero, if so, the calculation is terminated, and the display of the solvent parameter prompt text is output as a null value, if not, the drug dosage, the drug unit dosage and the solvent parameter value are divided and calculated to obtain the extraction amount, and the amount is stored in the ratio dosage variable; The solvent parameter text is obtained from the solvent parameter text variable, the medication dosage unit is obtained from the dosage unit variable, the extraction amount is obtained from the ratio dosage variable, and the extraction amount, the solvent parameter text, the drug dosage and the medication dosage unit are combined in the solvent parameter prompt text to obtain the solvent prompt text.
9. The non-whole drug dispensing system according to claim 8, characterized in that: In the calculation module, the drug dosage, the drug unit dosage and the solvent parameter value are divided to obtain the extraction amount, including: The unit dose of the drug is divided by the solvent parameter value to obtain the solvent quotient, and the dosage of the drug is divided by the solvent quotient to obtain the extraction amount.
10. The non-whole drug dispensing system according to claim 8, characterized in that: In the calculation module, the target medication data also includes the amount of medication; The extraction amount, the solvent parameter text, the drug dosage and the drug dosage unit are combined in the solvent parameter prompt text to obtain the solvent prompt text, including: Determine whether the medication quantity is greater than a preset value, and if so, combine the extraction amount, the solvent parameter text, the medication quantity, the drug dosage, and the medication dosage unit in the solvent parameter prompt text to obtain a solvent prompt text; If not, the extraction amount, the solvent parameter text, the drug dosage and the drug dosage unit are combined in the solvent parameter prompt text to obtain a solvent prompt text.
Citation Information
Patent Citations
Medicine dispensing method and system
CN106156500A
Analytical method for mixture of various dosage forms based on knowledge database rules
CN108847290A
Special drug checking auxiliary system and method for intelligent dosing robot
CN111660298A
Vein maintenance drug information display processing method and system
CN111968722A
Medical information processing method and device, equipment and storage medium
CN117556790A