Injection preparation scheduling method, device and equipment and storage medium
By analyzing and constructing the list of injection prescriptions, and obtaining the storage specifications of drugs and solvents, and sorting the drugs in the prescriptions based on preset compilation rules, the problems of low efficiency and waste of drugs in the existing injection preparation technology are solved, and an efficient and accurate preparation process is achieved.
Patent Information
- Application Number
- CN202510321390.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-18
- Publication Date
- 2025-06-13
AI Technical Summary
The existing injection preparation technology has low efficiency and poor accuracy in manual screening and ordering, resulting in waste of drugs and waste of medication costs.
By receiving and analyzing the basic information of the injection prescription list, building an initial list, obtaining the storage specifications of drugs and solvents, and sorting and compiling the drugs in the prescription list based on presuppose compilation rules to generate a list of sorted compilation lists.
It reduces manual analysis errors, improves formulation efficiency, reasonably combines drug dosage, minimizes drug waste, and realizes the accuracy and standardization of information processing to order management.
Smart Images

Figure CN120148742A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of injection preparation, and particularly relates to a method, device, equipment and storage medium for arranging orders for injection preparation. Background Art
[0002] There are significant problems in the current injection preparation work. Due to the disorder and randomness of prescription forms, staff can only manually screen and arrange a large number of prescription forms within the same preparation shift, and can only perform integeration preparation of drugs for some prescription forms to a limited extent. This method has low accuracy and efficiency. For example, in the preparation of 500 prescription forms in a certain shift, it is difficult for manual work to comprehensively and accurately find all the prescription forms that can be integerated, and errors and omissions are very likely to occur.
[0003] Moreover, drugs are different from ordinary raw materials. After the packaging of most drugs is damaged, they need to be used up as soon as possible within a limited time, which is difficult to store and difficult to reuse. Even if some drugs meet the storage and reuse conditions, the access and disinfection work is extremely cumbersome. Therefore, during the preparation process, the opened drugs are usually used up as soon as possible, and unreasonable integeration production scheduling of drugs also causes drug waste, which not only reduces the preparation efficiency but also causes waste of patients' medication costs. For example, for a prescription form of a drug injection that is not used in whole bags (vials), the failure to integerate the production scheduling of the drug will result in serious medication waste. For example, a prescription form of a drug injection requires 50 ml of sodium chloride injection and 0.5 vial of meropenem. If the drug is not integerated, only 0.5 vial of meropenem is used after opening 1 vial, and the remaining drug is discarded. In addition, unreasonable integeration production scheduling of drugs will also lead to medication waste. For example, the above-mentioned prescription form of a drug injection requires 0.5 vial of meropenem. If the adjacent prescription form of a drug injection requires 0.7 vial of meropenem, the drugs in the two prescription forms of drug injections are integerated and prepared together. The drug usage amount is 1.2 vials, but 2 vials of meropenem drugs need to be opened, resulting in a waste of 0.8 vial of drugs.
[0004] Therefore, the existing technology still needs to be improved and developed. Summary of the Invention
[0005] The present invention provides a method, device, equipment and storage medium for arranging orders for injection preparation, which are used to sort and integerate the drugs in the prescription form of the injection to obtain a list of prescription forms after sorting and integeration.
[0006] The first aspect of the present invention provides a method for arranging the preparation of injection solutions. The method for arranging the preparation of injection solutions includes: receiving the basic information of a plurality of injection solution prescription forms, and parsing to obtain the key information of the injection solution prescription form corresponding to each injection solution prescription form. The key information of the injection solution prescription form includes a number, a drug name, a drug dosage, a solvent name, and a solvent dosage; constructing an initial list of injection solution prescription forms according to the key information of the injection solution prescription form, and each record in the initial list of injection solution prescription forms represents an injection solution prescription form; determining the drug name and solvent name to be used in the initial list of injection solution prescription forms, and obtaining the storage specifications corresponding to the drug name and solvent name to be used from a preset library of packaging parameters of drugs to be prepared, and filling the storage specifications corresponding to the drug name and solvent name to be used into the initial list of injection solution prescription forms to obtain an unordered list of prescription forms; based on the unordered list of prescription forms, dividing the injection solution prescription forms with the same drug name and solvent name into a group, and obtaining a preset rounding rule, and sorting and rounding the drugs in the grouped injection solution prescription forms based on the preset rounding rule to obtain a sorted and rounded list of prescription forms.
[0007] Preferably, the constructing an initial list of injection solution prescription forms according to the key information of the injection solution prescription form, and each record in the initial list of injection solution prescription forms represents an injection solution prescription form, includes: presetting an empty list, and the header of the empty list includes a prescription serial number, a prescription number, a solvent name, a solvent specification, a solvent dosage, a drug name, a drug specification, and a drug dosage; calling the preset empty list, and inputting all the key information of the injection solution prescription forms into the called empty list in a unified format; updating the empty list to generate an initial list of injection solution prescription forms, and each record in the initial list of injection solution prescription forms represents an injection solution prescription form.
[0008] Preferably, determining the drug name and solvent name to be used in the initial list of injection prescription forms, obtaining the storage specifications corresponding to the drug name and solvent name to be used from a preset library of packaging parameters for drugs to be prepared, and filling the storage specifications corresponding to the drug name and solvent name to be used into the initial list of injection prescription forms to obtain an unordered prescription form list, specifically including: traversing the initial list of injection prescription forms, extracting the drugs and solvents in each injection prescription form; performing deduplication processing on the extracted drugs and solvents to generate a list of drugs to be used and a list of solvents to be used; accessing a preset library of packaging parameters for drugs to be prepared, retrieving the corresponding drug storage specifications according to the drug list, and retrieving the corresponding solvent storage specifications according to the solvent list; for each injection prescription form in the initial list of injection prescription forms, selecting a storage specification slightly larger than the drug dose in combination with the retrieved drug storage specification and filling it into the initial list of injection prescription forms; for each injection prescription form in the initial list of injection prescription forms, selecting a storage specification close to the solvent usage amount in combination with the retrieved solvent storage specification and filling it into the initial list of injection prescription forms;
[0009] Updating the initial list of injection prescription forms to obtain an unordered prescription form list.
[0010] Preferably, based on the unordered prescription form list, dividing the injection prescription forms with the same drug name and solvent name into one group, obtaining a preset rounding rule, and sorting and rounding the drugs in the grouped injection prescription forms based on the preset rounding rule to obtain a sorted and rounded prescription form list, including: based on the unordered prescription form list, dividing the injection prescription forms with the same drug name and solvent name into one group to obtain multiple groups of injection prescription forms to be rounded; for each group of injection prescription forms to be rounded, sorting the injection prescription forms in ascending order of drug dose, obtaining a preset rounding rule, rounding the sorted injection prescription forms based on the rounding rule, and arranging the rounded injection prescription forms in front of the unrounded injection prescription forms to obtain multiple groups of rounded injection prescription forms; integrating multiple groups of rounded injection prescription forms to obtain a sorted and rounded prescription form list.
[0011] Preferably, the preset rounding rule is: selecting 2-3 groups of small-dose drugs with usage amounts not greater than 1 / 2 of the storage specification for rounding to achieve the rounding effect of using 1 or 2 storage specifications. After completing the rounding of small-dose drugs, then round the large-dose drugs with usage amounts greater than 1 / 2 of the storage specification.
[0012] The second aspect of the present invention provides an injection preparation order scheduling device, including: a parsing module, configured to receive the basic information of multiple injection prescription forms, and parse to obtain the key information of the injection prescription form corresponding to each injection prescription form, where the key information of the injection prescription form includes number, drug name, drug dosage, solvent name, and solvent dosage; a construction module, configured to construct an initial list of injection prescription forms according to the key information of the injection prescription form, and each record in the initial list of injection prescription forms represents an injection prescription form; an update module, configured to determine the drug name and solvent name to be used in the initial list of injection prescription forms, and obtain the storage specifications corresponding to the drug name and solvent name to be used from a preset library of drug packaging parameters to be prepared, and fill the storage specifications corresponding to the drug name and solvent name to be used into the initial list of injection prescription forms to obtain an unordered prescription form list; a rounding module, configured to group the injection prescription forms with the same drug name and solvent name based on the unordered prescription form list, obtain a preset rounding rule, and sort and round the drugs in the grouped injection prescription forms based on the preset rounding rule to obtain a sorted and rounded prescription form list.
[0013] The third aspect of the present invention provides an injection preparation order scheduling device, including: a memory and at least one processor, where computer-readable instructions are stored in the memory, and the memory and the at least one processor are interconnected by a line; the at least one processor invokes the computer-readable instructions in the memory to enable the injection preparation order scheduling device to execute each step of the injection preparation order scheduling method as described above.
[0014] The fourth aspect of the present invention provides a computer-readable storage medium, in which computer-readable instructions are stored, and when it runs on a computer, it enables the computer to execute each step of the injection preparation order scheduling method as described above.
[0015] In the technical solution provided by the present invention, by receiving and parsing the basic information of the injection prescription form, accurately extracting key contents such as number, drug name, drug dosage, solvent name, and solvent dosage, reducing manual parsing errors and omissions, and constructing an initial list of injection prescription forms to achieve systematic data management; then obtaining the drug and solvent storage specifications to improve the initial list of injection prescription forms, providing a standardized basis for rounding; finally, grouping by drug and solvent name, sorting and rounding the drugs in the grouped injection prescription forms based on a preset rule to obtain a sorted and rounded prescription form list, so as to facilitate subsequent injection preparation according to the sorted and rounded prescription form list, which not only simplifies the processing process of similar prescription forms, but also improves the preparation efficiency by reasonably combining drug dosages, minimizes drug waste to the greatest extent, realizes the precision and standardization from information processing to order scheduling management, and takes into account the dual advantages of operation efficiency and drug cost control. Brief Description of the Drawings
[0016] Figure 1 It is a flowchart of the injection preparation scheduling method provided by an embodiment of the present invention;
[0017] Figure 2 It is a schematic structural diagram of the injection preparation scheduling device provided by an embodiment of the present invention;
[0018] Figure 3 It is a schematic structural diagram of the injection preparation scheduling equipment provided by an embodiment of the present invention. Detailed Embodiments
[0019] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and do not have to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "comprising" or "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units does not have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0020] For ease of understanding, the specific processes of the embodiments of the present invention are described below. Please refer to Figure 1 The first embodiment of an injection preparation scheduling method in an embodiment of the present invention includes:
[0021] S101. Receive the basic information of multiple injection prescription forms, and parse to obtain the key information of the injection prescription form corresponding to each injection prescription form. The key information of the injection prescription form includes the number, drug name, drug dose, solvent name, and solvent dosage;
[0022] S102. Construct an initial list of injection prescription forms according to the key information of the injection prescription form. Each record in the initial list of injection prescription forms represents an injection prescription form;
[0023] S103. Determine the drug name and solvent name to be used in the initial list of injection prescription forms, obtain the storage specifications corresponding to the drug name and solvent name to be used from the preset library of drug packaging parameters to be prepared, and fill the storage specifications corresponding to the drug name and solvent name to be used into the initial list of injection prescription forms to obtain an unordered prescription form list;
[0024] S104. Based on the unordered list of prescription forms, group the injection prescription forms with the same drug name and solvent name into one group, obtain the preset rounding rule, and sort and round the drugs in the grouped injection prescription forms based on the preset rounding rule to obtain the sorted and rounded prescription form list.
[0025] It can be understood that the execution subject of the present invention can be an injection preparation scheduling device, or a terminal or a server, and specific limitations are not made here. In this embodiment of the present invention, the server is used as the execution subject for illustration.
[0026] In this embodiment, in step S101, the basic information of multiple injection prescription forms issued by different departments and doctors is received through channels such as the hospital information management system and the electronic prescription transfer platform.
[0027] In this embodiment, the basic information of each injection prescription form is parsed to obtain the key information of the injection prescription form. The key information of the injection prescription form includes the number, drug name, drug dosage, solvent name, and solvent dosage. The number is used to accurately identify and trace the prescription form in the subsequent process, and the number can be associated with the hospital bed number.
[0028] For example, if the prescription form records the use of "Meropenem Injection 0.75g, dissolved in 50 ml of glucose", the drug name can be parsed as Meropenem Injection, the drug dosage as 0.75g, the solvent name as glucose, and the solvent dosage as 50 ml.
[0029] In this embodiment, in step S102, an empty list can be preset. The header of the empty list includes the prescription serial number, prescription number, solvent name, solvent specification, solvent dosage, drug name, drug specification, and drug dosage. When generating the initial list of injection prescription forms, the preset empty list is called, and all the key information of the injection prescription forms is entered into the called empty list in a unified format. Each record corresponds to an injection prescription form and contains fields such as the number, drug name, drug dosage, solvent name, and solvent dosage, forming the initial list of injection prescription forms. For example, a record in the list can be [Prescription form number: 1-1, Meropenem Injection 0.75g, dissolved in 50 ml of glucose].
[0030] In this embodiment, each record in the initial list of injection prescription forms represents an injection prescription form.
[0031] In this embodiment, in step S103, the drugs and solvents to be used in the initial list of injection prescriptions are determined, the storage specifications of the drugs and solvents to be used are obtained from a preset packaging parameter library of drugs to be prepared, and the storage specifications of the drugs and solvents to be used are filled into the initial list of injection prescriptions to obtain an unordered prescription list, which specifically includes: traversing the initial list of injection prescriptions, and extracting the drugs and solvents in each injection prescription; performing de-duplication processing on the extracted drugs and solvents to generate a list of drugs to be used and a list of solvents; accessing a preset packaging parameter library of drugs to be prepared, retrieving the corresponding drug storage specifications according to the drug list, and retrieving the corresponding solvent storage specifications according to the solvent list; for each injection prescription in the initial list of injection prescriptions, selecting a storage specification slightly larger than the drug dose in combination with the retrieved drug storage specifications and filling it into the initial list of injection prescriptions; for each injection prescription in the initial list of injection prescriptions, selecting a storage specification close to the solvent dosage in combination with the retrieved solvent storage specifications and filling it into the initial list of injection prescriptions; updating the initial list of injection prescriptions to obtain an unordered prescription list.
[0032] In this embodiment, an example of the unordered prescription list is shown in Table 1.
[0033] Table 1 Unordered Prescription List (Partial Example)
[0034]
[0035]
[0036] In this embodiment, for example, in Table 1, for the injection prescriptions with prescription numbers 1-5, the drug is Minone Injection and the dose is 20 mg. By accessing the preset packaging parameter library of drugs to be prepared and retrieving the storage specification of Minone Injection as 40 mg, the storage specification of Minone Injection filled in for the key information of this injection prescription is 40 mg, and the calculated drug quantity is 20 mg / 40 mg = 0.5 vial.
[0037] In this embodiment, in step S104, based on the unordered prescription list, the injection prescriptions with the same drug name and solvent name are grouped together, and a preset rounding rule is obtained. Based on the preset rounding rule, the drugs in the grouped injection prescriptions are sorted and rounded to obtain a sorted and rounded prescription list, which specifically includes: based on the unordered prescription list, the injection prescriptions with the same drug name and solvent name are grouped together to obtain multiple groups of injection prescriptions to be rounded; for each group of injection prescriptions to be rounded, the injection prescriptions are sorted in ascending order of drug dose, and a preset rounding rule is obtained. Based on the rounding rule, the sorted injection prescriptions are rounded, and the rounded injection prescriptions are arranged in front of the unrounded injection prescriptions to obtain multiple groups of rounded injection prescriptions; the multiple groups of rounded injection prescriptions are integrated to obtain a sorted and rounded prescription list.
[0038] In this embodiment, the rounding principle is that drugs with small dosages are prioritized, and drugs with slightly larger dosages are processed later. If the large-dose drugs cannot be rounded in the end, then they are split and used from the whole bottle (vial) of drugs, and the remaining or wasted drugs are also the least, achieving the purpose of saving medicine.
[0039] Specifically, the preset rounding rule is: select 2 - 3 groups of small-dose drugs with dosages not greater than 1 / 2 of the storage specification for rounding to achieve the rounding effect of using 1 or 2 storage specifications. After completing the rounding of small-dose drugs, then round the large-dose drugs with dosages greater than 1 / 2 of the storage specification.
[0040] In this embodiment, a partial example of the sorted and rounded prescription list is shown in Table 2.
[0041] Table 2 Partial Example of the Sorted and Rounded Prescription List
[0042]
[0043]
[0044]
[0045] For example, for injection prescription 2 - 16, the glucose is 50 ml and the gemcitabine powder for injection is 0.2 g; for injection prescription 2 - 11, the glucose is 50 ml and the gemcitabine powder for injection is 0.25 g; for injection prescription 2 - 5, the glucose is 50 ml and the gemcitabine powder for injection is 0.5 g. The storage specification of glucose is 50 ml and the storage specification of gemcitabine powder for injection is 0.5 g. Then, injection prescription 2 - 16 and injection prescription 2 - 11 are rounded together, and injection prescription 2 - 5 is prepared separately.
[0046] In this embodiment, for the injection prescription forms in the same group, if there are small-dose drugs that cannot be rounded up, they can be left for rounding up in the next preparation shift or directly prepared.
[0047] In this embodiment, the solvents and drug types of the injection prescription forms are the same. Regardless of whether the doses are the same, the drugs can be rounded up. If the solvents and drug types of two injection prescription forms are different, no rounding-up treatment is performed. As shown in Table 3 below:
[0048] Table 3 Examples of rounding up and not rounding up injection prescription forms
[0049]
[0050] The solvents and drugs used in injection prescription forms 1 and 2 are exactly the same, and the drugs therein can be rounded up. The drugs in injection prescription form 3 are different from those in injection prescription forms 1 and 2, and will not be rounded up together with injection prescription forms 1 and 2. Wait to process with prescription forms of the same type of drug A + B.
[0051] The injection preparation scheduling method provided in this embodiment is a method that, by receiving and parsing the basic information of injection prescription forms, accurately extracts key contents such as numbers, drug names, drug doses, solvent names, and solvent dosages, reduces manual parsing errors and omissions, and constructs an initial list of injection prescription forms to achieve systematic data management; then obtains the storage specifications of drugs and solvents to improve the initial list of injection prescription forms and provides a standardized basis for rounding up; finally, groups by drug and solvent names, sorts and rounds up the drugs in the grouped injection prescription forms based on preset rules to obtain a list of prescription forms after sorting and rounding up, so as to facilitate subsequent injection preparation according to the list of prescription forms after sorting and rounding up. It not only simplifies the processing process of similar prescription forms, but also improves the preparation efficiency by reasonably combining drug dosages, minimizes drug waste to the greatest extent, and realizes the precision and standardization from information processing to scheduling management, taking into account the dual advantages of operation efficiency and drug cost control.
[0052] The injection preparation scheduling method in the embodiment of the present invention has been described above. Next, the device in the embodiment of the present invention will be described. Please refer to Figure 2 , and the implementation manner of the injection preparation scheduling device in the embodiment of the present invention includes:
[0053] The parsing module 201 is used to receive the basic information of multiple injection prescription forms and parse to obtain the key information of the injection prescription form corresponding to each injection prescription form. The key information of the injection prescription form includes number, drug name, drug dose, solvent name, and solvent dosage;
[0054] A construction module 202 is used to construct an initial list of injection prescription forms according to the key information of the injection prescription form, and each record in the initial list of injection prescription forms represents an injection prescription form;
[0055] An update module 203 is used to determine the drug name and solvent name to be used in the initial list of injection prescription forms, obtain the storage specifications corresponding to the drug name and solvent name to be used from a preset library of packaging parameters of drugs to be prepared, and fill the storage specifications corresponding to the drug name and solvent name to be used into the initial list of injection prescription forms to obtain an unordered prescription form list;
[0056] A rounding module 204 is used to group the injection prescription forms with the same drug name and solvent name based on the unordered prescription form list, obtain a preset rounding rule, and sort and round the drugs in the grouped injection prescription forms based on the preset rounding rule to obtain a sorted and rounded prescription form list.
[0057] In this embodiment, by receiving and parsing the basic information of the injection prescription form, key contents such as the number, drug name, drug dose, solvent name, and solvent dosage are accurately extracted, reducing manual parsing errors and omissions, and constructing an initial list of injection prescription forms to achieve systematic data management; then, the storage specifications of drugs and solvents are obtained to improve the initial list of injection prescription forms, providing a standardized basis for rounding; finally, grouping is performed according to the drug and solvent names, and sorting and rounding are performed based on preset rules, which not only simplifies the processing flow of similar prescription forms, but also improves the preparation efficiency by reasonably combining drug dosages, minimizing drug waste to the greatest extent, and achieving precision and standardization from information processing to order management, taking into account the dual advantages of operation efficiency and medication cost control.
[0058] Figure 2 The structure of the injection preparation order arranging device shown does not limit the injection preparation order arranging device, and the steps of the injection preparation order arranging method provided by the above method embodiments can be implemented.
[0059] Above Figure 2 The injection preparation order arranging device in the embodiment of the present invention is described in detail from the perspective of modular functional entities. Next, the injection preparation order arranging device in the embodiment of the present invention is described in detail from the perspective of hardware processing.
[0060] Figure 3It is a schematic structural diagram of an injection preparation scheduling device provided by an embodiment of the present invention. The device 300 can vary greatly due to different configurations or performances, and may include one or more processors (central processing units, CPUs) 310 (for example, one or more processors) and a memory 320, and one or more storage media 330 for storing application programs 333 or data 332 (for example, one or more mass storage devices). Among them, the memory 320 and the storage media 330 can be transient storage or persistent storage. The program stored in the storage media 330 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the device 300. Further, the processor 310 can be set to communicate with the storage media 330 and execute a series of instruction operations in the storage media on the device 300.
[0061] The device 300 may further include one or more power supplies 340, one or more wired or wireless network interfaces 350, one or more input / output interfaces 360, and / or one or more operating systems 331, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, and so on.
[0062] The embodiment of the present invention also provides a computer-readable storage medium. The computer-readable storage medium can be a non-volatile computer-readable storage medium, and can also be a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions run on a computer, the computer is made to execute the steps of the injection preparation scheduling method.
[0063] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the above-described system, device, or unit can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein.
[0064] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0065] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of various embodiments of the present invention.
Claims
1. A method for preparing an injection, characterized in that: The injection preparation method comprises: Receiving basic information of multiple injection prescriptions, and parsing to obtain key information of the injection prescription corresponding to each injection prescription, wherein the key information of the injection prescription includes number, drug name, drug dosage, solvent name and solvent dosage; Constructing an initial list of injection prescriptions according to the key information of the injection prescriptions, wherein each record in the initial list of injection prescriptions represents an injection prescription; Determine the names of the drugs and solvents to be used in the initial list of the injection prescription, obtain storage specifications corresponding to the names of the drugs and solvents to be used from a preset library of packaging parameters for the drugs to be prepared, and fill the storage specifications corresponding to the names of the drugs and solvents to be used into the initial list of the injection prescription to obtain an unordered prescription list; Based on the unordered prescription list, injection prescriptions with the same drug name and solvent name are divided into a group, and a preset rounding rule is obtained. The drugs in the grouped injection prescriptions are sorted and rounded based on the preset rounding rule to obtain a sorted and rounded prescription list.
2. The method for preparing injection according to claim 1, characterized in that: The initial list of injection prescriptions is constructed according to the key information of the injection prescriptions, and each record of the initial list of injection prescriptions represents an injection prescription, including: Pre-setting an empty list, the table header of the empty list includes prescription serial number, prescription number, solvent name, solvent specification, solvent dosage, drug name, drug specification and drug dosage; Calling a preset empty list, and entering all the key information of the injection prescription into the called empty list in a unified format; The empty list is updated to generate an initial list of injection prescriptions, wherein each record of the initial list of injection prescriptions represents an injection prescription.
3. The method for preparing injection according to claim 1, characterized in that: The step of determining the drug name and solvent name to be used in the initial list of the injection prescription, acquiring the storage specifications corresponding to the drug name and solvent name to be used from the preset drug packaging parameter library to be prepared, and filling the storage specifications corresponding to the drug name and solvent name to be used into the initial list of the injection prescription to obtain the unordered prescription list, specifically includes: Traversing the initial list of injection prescriptions, extracting the drugs and solvents in each injection prescription; De-duplicate the extracted drugs and solvents to generate a list of drugs and solvents to be used; Accessing a preset library of packaging parameters of the medicine to be prepared, retrieving corresponding storage specifications of the medicine according to the medicine list, and retrieving corresponding storage specifications of the solvent according to the solvent list; For each drug dosage in the injection prescription in the initial list of injection prescriptions, a storage specification slightly larger than the drug dosage is selected in combination with the retrieved drug storage specification and filled into the initial list of injection prescriptions; For each injection prescription in the initial list of injection prescriptions, a storage specification close to the solvent dosage is selected in combination with the retrieved solvent storage specification and filled into the initial list of injection prescriptions; The initial list of injection prescriptions is updated to obtain an unordered list of prescriptions.
4. The method for preparing injection according to claim 1, characterized in that: Based on the unordered prescription list, the injection prescriptions with the same drug name and solvent name are divided into a group, and a preset rounding rule is obtained, and the drugs in the grouped injection prescriptions are sorted and rounded based on the preset rounding rule to obtain a sorted and rounded prescription list, including: Based on the unordered prescription list, the injection prescriptions with the same drug name and solvent name are divided into one group to obtain multiple groups of injection prescriptions to be rounded up; For each group of injection prescriptions to be rounded, the injection prescriptions are sorted in ascending order of drug dosage, and a preset rounding rule is obtained. The sorted injection prescriptions are rounded based on the rounding rule, and the rounded injection prescriptions are arranged in front of the unrounded injection prescriptions, so as to obtain multiple groups of rounded injection prescriptions; Integrate multiple groups of rounded injection prescriptions to obtain a sorted and rounded prescription list.
5. The method for preparing injection according to claim 1, characterized in that: The preset rounding rule is: select 2-3 groups of small-dose drugs with a dosage not exceeding 1 / 2 of the storage specification to round up, so as to achieve the rounding effect of using 1 or 2 storage specifications. After completing the rounding of small-dose drugs, round up large-dose drugs with a dosage greater than 1 / 2 of the storage specification.
6. An injection preparation order arrangement device, characterized in that: include: A parsing module, for receiving basic information of a plurality of injection prescriptions, and parsing to obtain key information of the injection prescription corresponding to each injection prescription, wherein the key information of the injection prescription includes a number, a drug name, a drug dosage, a solvent name, and a solvent dosage; A construction module, used for constructing an initial list of injection prescriptions according to the key information of the injection prescriptions, wherein each record of the initial list of injection prescriptions represents an injection prescription; An updating module, used for determining the names of the drugs and the solvents to be used in the initial list of the injection prescription, and obtaining storage specifications corresponding to the names of the drugs and the solvents to be used from a preset library of packaging parameters for the drugs to be prepared, and filling the storage specifications corresponding to the names of the drugs and the solvents to be used into the initial list of the injection prescription to obtain an unordered prescription list; The rounding module is used to group the injection prescriptions with the same drug name and solvent name based on the unordered prescription list, obtain a preset rounding rule, sort and round the drugs in the grouped injection prescriptions based on the preset rounding rule, and obtain a sorted and rounded prescription list.
7. An injection preparation and ordering device, characterized in that: comprising a memory and at least one processor, wherein the memory has computer-readable instructions stored therein; The at least one processor calls the computer-readable instructions in the memory to execute the various steps of the injection preparation ordering method as described in any one of claims 1-5.
8. A computer-readable storage medium having computer-readable instructions stored thereon, characterized in that: When the computer-readable instructions are executed by a processor, the various steps of the injection preparation ordering method as described in any one of claims 1 to 5 are implemented.