Method, device, equipment and storage medium for preparing small-packaged Chinese herbal medicine pieces
By obtaining the traditional Chinese medicine prescription and medicine kitchen inventory information to generate a recipe list, combined with the association of the dispensing terminal, the problem of low efficiency and low safety in the dispensing of small-packaged Chinese medicine pieces is solved, and more reasonable efficacy is maintained and efficiency is improved.
Patent Information
- Application Number
- CN202410967266.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-18
AI Technical Summary
The efficiency and safety of the existing small packages of traditional Chinese medicine pieces are low, errors are prone to occur, and the efficacy changes and specifications are unreasonable.
By obtaining the pharmaceutical requirement information in the traditional Chinese medicine prescription, the medicine kitchen database is called to generate a list of traditional Chinese medicine slice formulas, and based on the preset distribution rules, it is associated with the capture and dispensing terminal to control the sending of small package formula information, and uses different strategies to execute the traditional Chinese medicine slice formula action. Taking into account the inventory values of different specifications and weights, generate Chinese medicine prescription formulas for those that require processing and those that do not.
It improves the efficiency and safety of the preparation of small packages of traditional Chinese medicine pieces, avoids the efficiency impact caused by changes in efficacy and frequent supplements, and improves the rationality and scene adaptability of the preparation strategy.
Smart Images

Figure CN118506991B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of Chinese herbal medicine slices, and in particular to a method, device, equipment and storage medium for preparing small-packaged Chinese herbal medicine slices. Background Art
[0002] Small-packaged Chinese herbal medicine slices are a form of Chinese medicine preparation in which Chinese herbal medicines are directly put into small packages for sale and use after a series of processing. This form of Chinese herbal medicine slices is convenient to carry, accurately measured, and easy to store and distribute.
[0003] In actual application, there are many varieties of Chinese herbal medicines used in clinical practice, with more than 300 commonly used varieties alone, and the weight packaging specifications of small-packaged Chinese herbal medicines involve 1g / bag, 3g / bag, 5g / bag, 9g / bag, 10g / bag, 12g / bag, 15g / bag, 18g / bag, 30g / bag, etc., which brings great inconvenience to the formula personnel of Chinese medicine pharmacies in hospitals and retail pharmacies. Moreover, since the Chinese medicine kitchen of Chinese medicine pharmacies is dynamic, the inventory in the kitchen is constantly replenished and taken away by formula adjustment, which makes the formula personnel not only inefficient but also very prone to errors, thus affecting the safety and effectiveness of clinical Chinese medicine. At the same time, the unplanned and managed preparation of Chinese herbal medicines will also cause some types and specifications of small-packaged Chinese herbal medicines in the kitchen to be retained for too long, affecting the efficacy, while other types and specifications of small-packaged Chinese herbal medicines are consumed too quickly and frequent replenishment affects the efficiency of preparation.
[0004] Therefore, how to improve the efficiency and safety of dispensing small-packaged Chinese herbal medicines, reduce the probability of errors in dispensing, avoid changes in efficacy, and improve the rationality of dispensing strategies is a technical problem that needs to be solved urgently. Summary of the invention
[0005] The main purpose of the present invention is to provide a method, device, equipment and storage medium for preparing small-packaged Chinese herbal medicine slices, aiming to solve the technical problems of low preparation efficiency and safety, high probability of preparation errors, easy changes in efficacy and unreasonable preparation strategies in the current preparation of small-packaged Chinese herbal medicine slices.
[0006] To achieve the above object, the present invention provides a method for preparing small-packaged Chinese herbal medicine pieces, comprising the following steps:
[0007] Obtaining a target Chinese medicine prescription, and extracting medicine requirement information in the target Chinese medicine prescription;
[0008] Calling a medicine kitchen database, and generating a Chinese medicine piece formula list based on the small-package Chinese medicine piece inventory information and the medicine demand information stored in the medicine kitchen database; wherein the Chinese medicine piece formula list includes a plurality of small-package formula information corresponding to different types of Chinese medicine pieces;
[0009] Based on the preset allocation rules between the Chinese medicine prescription and the dispensing terminal, an association relationship between the Chinese medicine decoction piece formula list and the dispensing terminal corresponding to the target Chinese medicine prescription is established;
[0010] The small package formula information corresponding to several different types of Chinese herbal medicines in the Chinese herbal medicine formula list is sent to the grabbing and dispensing terminal in sequence, and the sending action of the small package formula information is controlled according to the grabbing and dispensing completion trigger action fed back by the grabbing and dispensing terminal.
[0011] Optionally, the step of obtaining a target Chinese medicine prescription and extracting medicine requirement information in the target Chinese medicine prescription specifically includes:
[0012] Obtaining a target Chinese medicine prescription pushed by a Chinese medicine prescription waiting pool; wherein the Chinese medicine prescription waiting pool stores a number of Chinese medicine prescriptions generated and transmitted by a prescription generation terminal;
[0013] Extract the prescription text information in the target Chinese medicine prescription, use natural language processing tools to perform word segmentation, part-of-speech analysis and keyword extraction on the prescription text information, and obtain the drug requirement information in the target Chinese medicine prescription.
[0014] Optionally, the medicine demand information includes the type of Chinese medicine, a single dose and the number of doses, and the target Chinese medicine prescription also includes Chinese medicine processing remarks information; calling the medicine kitchen database, and generating a Chinese medicine decoction piece formula list step based on the small package Chinese medicine decoction piece inventory information and the medicine demand information stored in the medicine kitchen database, specifically includes:
[0015] Calling the medicine kitchen database to extract the inventory information of small-packaged Chinese herbal medicine pieces stored in the medicine kitchen database; wherein the inventory information of small-packaged Chinese herbal medicine pieces includes the inventory value of small packages of different specifications and weights corresponding to each type of Chinese herbal medicine pieces stored in the Chinese herbal medicine kitchen;
[0016] Extracting the Chinese medicine processing remark information in the target Chinese medicine prescription; wherein the Chinese medicine processing remark information is configured as one of two processing categories: requiring processing and not requiring processing;
[0017] According to the processing category of the Chinese medicine processing remark information, the Chinese medicine preparation action of the target Chinese medicine prescription is executed by using the small package inventory value of different specifications and weights corresponding to each type of Chinese medicine preparation piece and the type, single dose and number of doses of the Chinese medicine in the target Chinese medicine prescription;
[0018] Based on the execution result of the Chinese herbal medicine prescription action, a Chinese herbal medicine prescription list is generated containing small package prescription information corresponding to different types of Chinese herbal medicine prescriptions; wherein the small package prescription information includes the small package specification weight and small package quantity of each type of Chinese herbal medicine prescription.
[0019] Optionally, according to the processing category of the Chinese medicine processing remark information, the Chinese medicine decoction piece formula action steps of the target Chinese medicine prescription are executed by using the small package inventory value of different specifications and weights corresponding to each type of Chinese medicine decoction piece and the type, single dose and number of doses of the Chinese medicine in the target Chinese medicine prescription, specifically including:
[0020] Determine whether the processing category of the Chinese medicine processing remark information is that processing is required, if so, execute the Chinese medicine decoction piece formula action according to the first strategy, otherwise, execute the Chinese medicine decoction piece formula action according to the second strategy;
[0021] The first strategy is configured as follows:
[0022] According to the types of Chinese medicine, single dose and number of doses in the target Chinese medicine prescription, the total dose of each type of Chinese medicine is calculated, and the Chinese medicine decoction piece formula corresponding to the total dose of each type of Chinese medicine is generated by matching the calculated total dose upward in the small package inventory values of different specifications and weights of the corresponding Chinese medicine decoction piece type according to the smallest specification and weight, and based on the Chinese medicine decoction piece formulas of several types of Chinese medicine, a Chinese medicine decoction piece formula list of the target Chinese medicine prescription is generated;
[0023] The second strategy is configured as follows:
[0024] According to the types of Chinese medicine and single doses in the target Chinese medicine prescription, the single dose of each type of Chinese medicine is calculated, and the Chinese medicine decoction piece formula corresponding to the single dose of each type of Chinese medicine is generated by matching the calculated single dose downward according to the largest specification weight in the small package inventory values of different specifications and weights of the corresponding Chinese medicine decoction piece types, and based on the Chinese medicine decoction piece formulas and dose numbers of single doses of several types of Chinese medicine, a list of Chinese medicine decoction piece formulas for the target Chinese medicine prescription is generated.
[0025] Optionally, the step of executing the Chinese medicine slice formula action of the target Chinese medicine prescription also includes:
[0026] Determine whether the medicine requirement information of the target Chinese medicine prescription contains special Chinese medicine types; wherein the special Chinese medicine types include a first Chinese medicine type with a fixed usage specification weight preset by a user and / or a second Chinese medicine type with a formula frequency of the target specification weight in the most recent formula cycle being lower than a first preset value;
[0027] If so, when executing the Chinese herbal medicine prescription action according to the second strategy, the calculated single dose is used in the small package inventory values of different specifications and weights corresponding to the type of Chinese herbal medicine:
[0028] Generate a Chinese medicine decoction piece formula corresponding to a single dose of a special Chinese medicine type by matching downwards starting from the fixed usage specification weight or target specification weight of the special Chinese medicine type;
[0029] Starting from the maximum specification weight of non-special Chinese medicines and matching downward, generate the Chinese herbal medicine formula corresponding to the single dose of non-special Chinese medicines.
[0030] Optionally, the step of executing the Chinese medicine slice formula action of the target Chinese medicine prescription also includes:
[0031] Determine whether the medicine demand information of the target Chinese medicine prescription contains high-frequency Chinese medicine types; wherein the high-frequency Chinese medicine types include a third Chinese medicine type whose formula frequency of the target specification weight in the target time period is higher than a second preset value;
[0032] If so, when executing the Chinese herbal medicine prescription action according to the second strategy, the calculated single dose is used in the small package inventory values of different specifications and weights corresponding to the type of Chinese herbal medicine:
[0033] The formula of Chinese herbal medicine slices corresponding to a single dose of the high-frequency Chinese medicine is generated by starting from the maximum specification weight of the high-frequency Chinese medicine in a downward matching manner, and skipping the target specification weight in the downward matching process.
[0034] Optionally, the small package formula information corresponding to several different types of Chinese herbal medicine pieces in the Chinese herbal medicine formula list is sequentially sent to the grabbing and dispensing terminal, and the sending action step of the small package formula information is controlled according to the grabbing and dispensing completion trigger action fed back by the grabbing and dispensing terminal, specifically including:
[0035] Convert the small package specifications and weights in the small package formula information corresponding to several different types of Chinese herbal medicine pieces in the Chinese herbal medicine piece formula list into small package codes, and generate several pieces of grabbing and dispensing guidance information based on the small package codes and the small package quantities in the small package formula information;
[0036] The plurality of pieces of grabbing and dispensing guidance information are sequentially sent to the grabbing and dispensing terminal, and a grabbing and dispensing completion trigger signal of the corresponding type of Chinese herbal medicine slices generated based on a response action of the formulator fed back by the grabbing and dispensing terminal is obtained; wherein the response action includes one or more of a key action, a screen click action, a voice trigger action or a preset perception action performed by the formulator on the grabbing and dispensing terminal;
[0037] Determine whether the Chinese herbal medicine type corresponding to the current preparation completion trigger signal is at the end of the Chinese herbal medicine formula list. If not, send the preparation guidance information of the next Chinese herbal medicine type in the Chinese herbal medicine formula list to the preparation terminal. If so, complete the preparation of the Chinese herbal medicines of the target Chinese medicine prescription.
[0038] In addition, in order to achieve the above-mentioned purpose, the present invention also provides a small-package Chinese medicine slice grabbing and dispensing device, comprising:
[0039] An acquisition module, used to acquire a target Chinese medicine prescription and extract medicine requirement information in the target Chinese medicine prescription;
[0040] A generating module is used to call a medicine kitchen database, and generate a Chinese medicine piece formula list based on the inventory information of small-package Chinese medicine pieces and the medicine demand information stored in the medicine kitchen database; wherein the Chinese medicine piece formula list includes a plurality of small-package formula information corresponding to different types of Chinese medicine pieces;
[0041] An establishment module is used to establish an association relationship between the Chinese medicine decoction piece formula list and the grabbing and dispensing terminal corresponding to the target Chinese medicine prescription based on the preset allocation rules between the Chinese medicine prescription and the grabbing and dispensing terminal;
[0042] The sending module is used to send the small package formula information corresponding to several different types of Chinese herbal medicines in the Chinese herbal medicine formula list to the grabbing and dispensing terminal in sequence, and control the sending action of the small package formula information according to the grabbing and dispensing completion trigger action fed back by the grabbing and dispensing terminal.
[0043] In addition, in order to achieve the above-mentioned purpose, the present invention also provides a small-package Chinese herbal medicine piece grabbing and preparation device, which includes: a memory, a processor, and a small-package Chinese herbal medicine piece grabbing and preparation program stored in the memory and runnable on the processor, and when the small-package Chinese herbal medicine piece grabbing and preparation program is executed by the processor, the steps of the small-package Chinese herbal medicine piece grabbing and preparation method as described above are implemented.
[0044] In addition, in order to achieve the above-mentioned purpose, the present invention also provides a storage medium, on which a small-package Chinese herbal medicine preparation program is stored. When the small-package Chinese herbal medicine preparation program is executed by a processor, the steps of the above-mentioned small-package Chinese herbal medicine preparation method are implemented.
[0045] The beneficial effects of the present invention are as follows: a method, device, equipment and storage medium for preparing small-package Chinese herbal medicine slices are proposed, by extracting the medicine demand information of the target Chinese medicine prescription and the inventory information of small-package Chinese herbal medicine slices stored in the medicine kitchen database, considering the inventory values of different specifications and grams of each type of Chinese herbal medicine slices, to achieve small-package Chinese herbal medicine slice formula generation and preparation control for Chinese medicine prescriptions that require processing and do not require processing, by adopting different strategies to execute the formula actions of small-package Chinese herbal medicine slices, while improving the efficiency and safety of preparation, it can also improve the scene adaptability of small-package Chinese herbal medicine slice preparation, avoid changes in efficacy caused by too long storage time and efficiency impact caused by frequent supplementation. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 A schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention;
[0047] Figure 2It is a schematic diagram of a process of an embodiment of a method for preparing small-packaged Chinese herbal medicine pieces of the present invention;
[0048] Figure 3 The present invention is a structural block diagram of a device for preparing small-packaged Chinese herbal medicine pieces in an embodiment of the present invention.
[0049] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0050] 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.
[0051] In order to make the purpose, technical solution and advantages of 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 intended to limit the present invention.
[0052] like Figure 1 As shown, Figure 1 It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention.
[0053] like Figure 1 As shown, the device may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or it may be a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0054] Those skilled in the art will understand that Figure 1 The structure of the device shown in the figure does not constitute a limitation of the device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0055] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a small package Chinese herbal medicine preparation program.
[0056] exist Figure 1In the terminal shown, the network interface 1004 is mainly used to connect to the backend server and perform data communication with the backend server; the user interface 1003 is mainly used to connect to the client (user end) and perform data communication with the client; and the processor 1001 can be used to call the small package Chinese medicine slice grabbing program stored in the memory 1005, and perform the following operations:
[0057] Obtaining a target Chinese medicine prescription, and extracting medicine requirement information in the target Chinese medicine prescription;
[0058] Calling a medicine kitchen database, and generating a Chinese medicine piece formula list based on the small-package Chinese medicine piece inventory information and the medicine demand information stored in the medicine kitchen database; wherein the Chinese medicine piece formula list includes a plurality of small-package formula information corresponding to different types of Chinese medicine pieces;
[0059] Based on the preset allocation rules between the Chinese medicine prescription and the dispensing terminal, an association relationship between the Chinese medicine decoction piece formula list and the dispensing terminal corresponding to the target Chinese medicine prescription is established;
[0060] The small package formula information corresponding to several different types of Chinese herbal medicines in the Chinese herbal medicine formula list is sent to the grabbing and dispensing terminal in sequence, and the sending action of the small package formula information is controlled according to the grabbing and dispensing completion trigger action fed back by the grabbing and dispensing terminal.
[0061] The specific embodiments of the present invention applied to the device are basically the same as the embodiments of the method for preparing small-packaged Chinese herbal medicine pieces described below, and will not be described in detail here.
[0062] The embodiment of the present invention provides a method for preparing small-packaged Chinese medicine pieces, referring to Figure 2 , Figure 2 The present invention is a schematic diagram of the process of preparing small-packaged Chinese herbal medicine slices according to an embodiment of the present invention.
[0063] In this embodiment, the method for preparing small-packaged Chinese herbal medicine pieces comprises the following steps:
[0064] S100: Acquire a target Chinese medicine prescription, and extract medicine requirement information in the target Chinese medicine prescription;
[0065] S200: calling the medicine kitchen database, and generating a Chinese medicine piece formula list based on the small package Chinese medicine piece inventory information and the medicine demand information stored in the medicine kitchen database; wherein the Chinese medicine piece formula list includes a plurality of small package formula information corresponding to different types of Chinese medicine pieces;
[0066] S300: establishing an association relationship between the Chinese medicine decoction piece formula list and the dispensing terminal corresponding to the target Chinese medicine prescription based on a preset allocation rule between the Chinese medicine prescription and the dispensing terminal;
[0067] S400: sending the small package formula information corresponding to several different types of Chinese herbal medicines in the Chinese herbal medicine formula list to the grabbing and dispensing terminal in sequence, and controlling the sending action of the small package formula information according to the grabbing and dispensing completion trigger action fed back by the grabbing and dispensing terminal.
[0068] It should be noted that there are many varieties of Chinese herbal medicines, with more than 300 commonly used varieties alone. In addition, the weight packaging specifications of small-packaged Chinese herbal medicines include 1g / bag, 3g / bag, 5g / bag, 9g / bag, 10g / bag, 12g / bag, 15g / bag, 18g / bag, 30g / bag, etc. In the existing small-packaged Chinese herbal medicine preparation scheme, due to the wide variety of Chinese herbal medicines, it brings great inconvenience to the formula personnel of the Chinese medicine pharmacy in hospitals and retail pharmacies. Moreover, since the Chinese medicine preparation kitchen in the Chinese medicine pharmacy is dynamic, the inventory in the kitchen is constantly replenished and is constantly taken away by formula adjustment, which makes the formula personnel not only inefficient but also very prone to errors, thereby affecting the safety and effectiveness of clinical Chinese medicine. At the same time, the unplanned and managed preparation of Chinese herbal medicines will also cause some types and specifications of small-packaged Chinese herbal medicines in the medicine kitchen to be retained for too long, affecting the efficacy, while other types and specifications of small-packaged Chinese herbal medicines are consumed too quickly and frequent replenishment affects the efficiency of preparation.
[0069] In order to solve the above problems, this embodiment extracts the medicine demand information of the target Chinese medicine prescription and the inventory information of small-package Chinese herbal medicine pieces stored in the medicine kitchen database, considers the inventory values of different specifications and weights of each type of Chinese herbal medicine pieces, and realizes the formula generation and grabbing control of small-package Chinese herbal medicine pieces for Chinese medicine prescriptions that require processing and those that do not require processing. By adopting different strategies to execute the formula actions of small-package Chinese herbal medicine pieces, while improving the efficiency and safety of grabbing, it can also improve the scene adaptability of grabbing and preparing small-package Chinese herbal medicine pieces, avoid changes in efficacy caused by too long storage time and efficiency impact caused by frequent supplements.
[0070] In a preferred embodiment, the step of obtaining a target Chinese medicine prescription and extracting medicine requirement information in the target Chinese medicine prescription specifically includes:
[0071] S101: Obtain a target Chinese medicine prescription pushed from a Chinese medicine prescription waiting pool; wherein the Chinese medicine prescription waiting pool stores a number of Chinese medicine prescriptions generated and transmitted by a prescription generation terminal;
[0072] S102: extracting prescription text information from the target Chinese medicine prescription, performing word segmentation, part-of-speech analysis and keyword extraction on the prescription text information using a natural language processing tool, and obtaining drug requirement information in the target Chinese medicine prescription.
[0073] Furthermore, the medicine demand information includes the type of Chinese medicine, single dose and number of doses, and the target Chinese medicine prescription also includes Chinese medicine processing note information; calling the medicine kitchen database, based on the small package Chinese medicine decoction piece inventory information and the medicine demand information stored in the medicine kitchen database, generating a Chinese medicine decoction piece formula list step specifically includes:
[0074] S201: calling the medicine kitchen database to extract the inventory information of small-packaged Chinese herbal medicine pieces stored in the medicine kitchen database; wherein the inventory information of small-packaged Chinese herbal medicine pieces includes the inventory values of small packages of different specifications and weights corresponding to each type of Chinese herbal medicine pieces stored in the Chinese herbal medicine kitchen;
[0075] S202: extracting the Chinese medicine processing remark information in the target Chinese medicine prescription; wherein the Chinese medicine processing remark information is configured as one of two processing categories: requiring processing and not requiring processing;
[0076] S203: According to the processing category of the Chinese medicine processing remark information, the Chinese medicine decoction piece formula action of the target Chinese medicine prescription is executed by using the small package inventory value of different specifications and weights corresponding to each type of Chinese medicine decoction piece and the type, single dose and number of doses of the Chinese medicine in the target Chinese medicine prescription;
[0077] S204: Based on the execution result of the Chinese herbal medicine prescription action, generate a Chinese herbal medicine prescription list containing small package prescription information corresponding to different types of Chinese herbal medicine prescriptions; wherein the small package prescription information includes the small package specification weight and small package quantity of each type of Chinese herbal medicine prescription.
[0078] In this embodiment, the target Chinese medicine prescription pushed by the Chinese medicine prescription waiting pool is first obtained, and then the text information in the prescription is processed using a natural language processing tool to extract the drug demand information and Chinese medicine processing note information; wherein, the drug demand information includes the type of Chinese medicine, single dose and number of doses, and the Chinese medicine processing note information is required or not required. For example, the drug demand information of the target Chinese medicine prescription finally obtained is: "30g of bone-setting scutellaria, 30g of Millettia reticulata, 15g of frankincense, 30g of Eucommia ulmoides, 20g of Angelica dahurica, 15g of myrrh, 20g of Clematis chinensis, 20g of safflower, 180g per dose, 8 flavors per dose, 3 doses in total"; the Chinese medicine processing note information of the target Chinese medicine prescription finally obtained is "needs processing", and it should be noted that the need for processing is specifically: the Chinese medicine materials need to be decocted or powdered. After that, by calling the small-package inventory values of different specifications and weights corresponding to each type of Chinese herbal medicine slices stored in the medicine kitchen database, the drug demand information and Chinese medicine processing remarks information of the target Chinese medicine prescription are taken into consideration, and the Chinese herbal medicine slice formula action of the target Chinese medicine prescription is executed. Finally, according to the execution result of the Chinese herbal medicine slice formula action, a Chinese herbal medicine slice formula list containing small-package formula information corresponding to different types of Chinese herbal medicine slices is generated, that is, the types of Chinese herbal medicine slices required for the target Chinese herbal medicine prescription when dispensing, as well as the small-package specifications, weights, and quantities of each Chinese herbal medicine slice are output. Based on the output result, it can help the dispensing personnel to perform the dispensing of Chinese medicine. The pre-prepared small-package Chinese herbal medicine slices and formula schemes are automatically generated, thereby avoiding the additional weighing and calculation process of medicinal materials performed by the dispensing personnel after receiving the Chinese medicine prescription, reducing the probability of dispensing errors, and improving the dispensing efficiency.
[0079] In a preferred embodiment, according to the processing category of the Chinese medicine processing remark information, the Chinese medicine decoction piece formula action steps of the target Chinese medicine prescription are executed by using the small package inventory value of different specifications and weights corresponding to each type of Chinese medicine decoction piece and the type, single dose and number of doses of the Chinese medicine in the target Chinese medicine prescription, which specifically includes:
[0080] Determine whether the processing category of the Chinese medicine processing remark information is that processing is required, if so, execute the Chinese medicine decoction piece formula action according to the first strategy, otherwise, execute the Chinese medicine decoction piece formula action according to the second strategy;
[0081] The first strategy is configured as follows:
[0082] According to the types of Chinese medicine, single dose and number of doses in the target Chinese medicine prescription, the total dose of each type of Chinese medicine is calculated, and the Chinese medicine decoction piece formula corresponding to the total dose of each type of Chinese medicine is generated by matching the calculated total dose upward in the small package inventory values of different specifications and weights of the corresponding Chinese medicine decoction piece type according to the smallest specification and weight, and based on the Chinese medicine decoction piece formulas of several types of Chinese medicine, a Chinese medicine decoction piece formula list of the target Chinese medicine prescription is generated;
[0083] The second strategy is configured as follows:
[0084] According to the types of Chinese medicine and single doses in the target Chinese medicine prescription, the single dose of each type of Chinese medicine is calculated, and the Chinese medicine decoction piece formula corresponding to the single dose of each type of Chinese medicine is generated by matching the calculated single dose downward according to the largest specification weight in the small package inventory values of different specifications and weights of the corresponding Chinese medicine decoction piece types, and based on the Chinese medicine decoction piece formulas and dose numbers of single doses of several types of Chinese medicine, a list of Chinese medicine decoction piece formulas for the target Chinese medicine prescription is generated.
[0085] In this embodiment, taking into account the different processing categories corresponding to the Chinese medicine processing remarks information of each Chinese medicine prescription, when the processing category of the target Chinese medicine prescription is obtained, if the processing category is "needs processing", it indicates that the Chinese herbal medicine pieces dispensed by the Chinese medicine prescription need to be processed. At this time, the first strategy is executed, that is, the Chinese herbal medicine piece formula corresponding to the total dose of each type of Chinese medicine is generated by matching downward the small package inventory values of different specifications and weights of the corresponding Chinese herbal medicine pieces type according to the maximum specification and weight. In this way, the Chinese herbal medicine pieces finally dispensed are the formula with the smallest specification and weight as possible. In this way, the pharmacy can improve the processing efficiency when performing subsequent processing (i.e. powdering or decocting), so that patients can get the dispensed medicinal materials faster; the medicinal materials are further granulated to enhance the efficacy of the medicine when decocting. If the processing category is "no processing required", it means that there is no need to process the Chinese herbal medicine pieces dispensed according to the Chinese medicine prescription. At this time, the second strategy is implemented, that is, the Chinese herbal medicine piece formula corresponding to the single dose of each type of Chinese medicine is generated by matching downward the small package inventory values of different specifications and weights of the corresponding Chinese herbal medicine pieces according to the maximum specification and weight. In this way, the Chinese herbal medicine pieces finally dispensed are the formula with the least number of packaging bags as possible, thereby reducing the probability of errors made by the dispensers in counting and packaging.
[0086] Furthermore, since the commonly used small-packaged Chinese herbal beverages have a relatively light weight (usually within the range of a few grams or more than ten grams), when preparing small-packaged Chinese herbal beverages in the early stage, it is usually necessary to cut the large-sized and large-sized Chinese herbal beverages into small-sized and small-sized Chinese herbal beverages. This embodiment adopts the second strategy to achieve the preparation of Chinese herbal medicines that do not require processing. By using large-sized and heavy Chinese herbal beverages as much as possible and reducing the number of small-sized and heavy Chinese herbal beverages used, the processing pressure of cutting large-sized and small-sized Chinese herbal beverages in the early stage of preparation can be alleviated, the early preparation cost can be reduced, and the shortage of small-sized and heavy Chinese herbal medicines can be avoided.
[0087] In a preferred embodiment, the step of executing the Chinese medicine slice formula of the target Chinese medicine prescription also includes:
[0088] S2041: Determine whether the medicine requirement information of the target Chinese medicine prescription includes special Chinese medicine types; wherein the special Chinese medicine types include a first Chinese medicine type with a fixed usage specification weight preset by a user and / or a second Chinese medicine type with a formula frequency of the target specification weight in the most recent formula cycle being lower than a first preset value;
[0089] S2042: If yes, when executing the Chinese herbal medicine slice formula action according to the second strategy, the calculated single dose is used in the small package inventory values of different specifications and weights corresponding to the type of Chinese herbal medicine slice:
[0090] A1: Generate the Chinese medicine slice formula corresponding to the single dose of the special Chinese medicine by matching downward from the fixed usage specification weight or target specification weight of the special Chinese medicine;
[0091] A2: Starting from the maximum weight of non-special Chinese medicines, generate the Chinese medicine decoction piece formula corresponding to the single dose of non-special Chinese medicines in a downward matching manner.
[0092] In this embodiment, when executing the Chinese medicine slice formula action of the target Chinese medicine prescription, the influence of special Chinese medicine types also needs to be considered. Specifically, some types of Chinese medicine slices have fixed specifications and weights (in some cases, it is necessary to consider the common specifications and weights of such Chinese medicine slices, under which the corresponding therapeutic effect can be basically achieved; in addition, it is also necessary to consider the possible impact of the specifications and weights on the efficacy of such Chinese medicine slices when they are decocted into medicines. When the specifications and weights of a single piece of Chinese medicine slice in a small package of Chinese medicine slices are too large, it will be impossible to decoct all the efficacy), for example, licorice slices usually use a specification and weight of 10 grams; some specifications and weights of some types of Chinese medicine slices have a low frequency of use, which makes the Chinese medicine slices circulate in the medicine kitchen for too long, affecting the efficacy, such as small-package Chinese medicine drinks with specifications and weights of 14 grams and 27 grams. Therefore, when formulating Chinese medicine slices for special Chinese medicine types, the second strategy is optimized, that is, for special Chinese medicine types in the target Chinese medicine prescription, starting from the fixed usage specification weight or the target specification weight of the special Chinese medicine type, the Chinese medicine slice formula corresponding to the single dose of the special Chinese medicine type is generated in a downward matching manner; for non-special Chinese medicine types in the target Chinese medicine prescription, the original second strategy is still used, starting from the maximum specification weight of the non-special Chinese medicine type, and matching downward to generate the Chinese medicine slice formula corresponding to the single dose of the non-special Chinese medicine type. Therefore, by adaptively adjusting the second strategy in executing the Chinese medicine slice formula action of the target Chinese medicine prescription, the formula efficiency of Chinese medicine drinks with fixed usage specifications and weights is improved, and the circulation speed of small-packaged Chinese medicine drinks with different specifications and weights of each Chinese medicine drink in the medicine kitchen can be balanced to avoid the failure of medicinal materials caused by long-term stay.
[0093] In a preferred embodiment, the step of executing the Chinese medicine slice formula of the target Chinese medicine prescription also includes:
[0094] S2043: Determine whether the medicine demand information of the target Chinese medicine prescription includes a high-frequency Chinese medicine category; wherein the high-frequency Chinese medicine category includes a third Chinese medicine category having a formula frequency of a target specification weight higher than a second preset value within a target time period;
[0095] S2044: If yes, when executing the Chinese herbal medicine slice formula action according to the second strategy, the calculated single dose is used in the small package inventory values of different specifications and weights corresponding to the type of Chinese herbal medicine slice:
[0096] A3: Start from the maximum weight of the high-frequency Chinese medicine and match downward, and skip the target weight in the process of downward matching to generate a Chinese medicine decoction piece formula corresponding to a single dose of the high-frequency Chinese medicine.
[0097] In this embodiment, when executing the Chinese medicine slice formulating action of the target Chinese medicine prescription, the influence of high-frequency Chinese medicine types also needs to be considered. Specifically, the efficiency of some small packages of some specifications and grams of some Chinese medicine slices in the formula is too high, which will cause some Chinese medicine slices and small packages of specifications and grams to stay in the medicine kitchen for too long (for example, the specifications and grams of each type of Chinese medicine slices near the middle), and other Chinese medicine slices and small packages of specifications and grams to be consumed too quickly (for example, the specifications and grams of each type of Chinese medicine slices near the two ends and the specifications and grams corresponding to some special Chinese medicine types), which will cause the medicinal materials to stay in the medicine kitchen for too long, affecting the efficacy, and the consumption speed of Chinese medicine slices is too fast, and the frequent addition of small packages of single specifications and grams of single Chinese medicine slices affects the formula efficiency of the personnel who prepare the medicine. Therefore, when formulating Chinese herbal medicines for high-frequency Chinese medicine types, the second strategy is optimized, that is, starting from the maximum specification weight of the high-frequency Chinese medicine types, matching downwards is performed, and the target specification weight is skipped in the downward matching process to generate a Chinese herbal medicine formula corresponding to a single dose of the high-frequency Chinese medicine types; thereby, by adaptively adjusting the second strategy in executing the Chinese herbal medicine formula action of the target Chinese medicine prescription, the rationality of the small-package Chinese herbal medicine preparation strategy and the adaptability to the scenarios are improved.
[0098] In a preferred embodiment, the small package formula information corresponding to several different types of Chinese herbal medicine pieces in the Chinese herbal medicine formula list is sequentially sent to the grabbing and dispensing terminal, and the steps of controlling the sending action of the small package formula information are specifically including:
[0099] S401: converting the small package specifications and weights in the small package formula information corresponding to the different types of Chinese herbal medicine pieces in the Chinese herbal medicine piece formula list into small package codes, and generating a plurality of grabbing and dispensing guidance information based on the small package codes and the small package quantities in the small package formula information;
[0100] S402: sending the plurality of pieces of grabbing and dispensing guidance information to the grabbing and dispensing terminal in sequence, and obtaining a grabbing and dispensing completion trigger signal of the corresponding type of Chinese herbal medicine slices generated based on a response action of the formulator fed back by the grabbing and dispensing terminal; wherein the response action includes one or more of a key action, a screen click action, a voice trigger action, or a preset perception action performed by the formulator on the grabbing and dispensing terminal;
[0101] S403: Determine whether the Chinese herbal medicine type corresponding to the current preparation completion trigger signal is at the end of the Chinese herbal medicine formula list; if not, send the preparation guidance information of the next Chinese herbal medicine type in the Chinese herbal medicine formula list to the preparation terminal; if so, complete the preparation of the Chinese herbal medicines of the target Chinese medicine prescription.
[0102] In this embodiment, after obtaining the grabbing and dispensing terminal corresponding to the target Chinese medicine prescription, the small package formula information corresponding to several different types of Chinese herbal medicine pieces in the Chinese herbal medicine formula list are converted into several grabbing and dispensing guidance information, and sent to the grabbing and dispensing terminal in sequence, so that the grabbing and dispensing terminal goes to the corresponding position of the medicine kitchen to grab and dispense the small package of Chinese herbal medicine drinks according to the small package code and the small package quantity in the received grabbing and dispensing guidance information. At the same time, after completing the grabbing and dispensing action of each grabbing and dispensing guidance information (that is, the small package grabbing and dispensing action corresponding to the specification and weight of each type of Chinese herbal medicine drink in the target Chinese medicine prescription), the grabbing and dispensing personnel can input the grabbing and dispensing completion trigger signal by pressing buttons, touching the screen, voice or action on the grabbing and dispensing terminal, and feedback the grabbing and dispensing completion trigger signal. After receiving the feedback grabbing and dispensing completion trigger signal, the next grabbing and dispensing guidance information is sent to achieve sending and grabbing one by one, avoiding grabbing and dispensing errors caused by confusion of multiple information, until all the Chinese herbal medicine pieces of the target Chinese medicine prescription are grabbed and dispensed.
[0103] Reference Figure 3 , Figure 3 It is a structural block diagram of an embodiment of a device for dispensing small-packaged Chinese herbal medicines according to the present invention.
[0104] like Figure 3 As shown, the small package Chinese medicine slice grabbing and dispensing device proposed in the embodiment of the present invention includes:
[0105] An acquisition module 10 is used to acquire a target Chinese medicine prescription and extract medicine requirement information in the target Chinese medicine prescription;
[0106] The generating module 20 is used to call the medicine kitchen database, and generate a Chinese medicine piece formula list based on the small package Chinese medicine piece inventory information and the medicine demand information stored in the medicine kitchen database; wherein the Chinese medicine piece formula list includes a plurality of small package formula information corresponding to different types of Chinese medicine pieces;
[0107] Establishing module 30, for establishing an association relationship between the Chinese medicine decoction piece formula list and the grabbing and dispensing terminal corresponding to the target Chinese medicine prescription based on the preset allocation rules between the Chinese medicine prescription and the grabbing and dispensing terminal;
[0108] The sending module 40 is used to send the small package formula information corresponding to several different types of Chinese herbal medicines in the Chinese herbal medicine formula list to the grabbing and dispensing terminal in sequence, and control the sending action of the small package formula information according to the grabbing and dispensing completion trigger action fed back by the grabbing and dispensing terminal.
[0109] Other embodiments or specific implementations of the small-package Chinese herbal medicine dispensing device of the present invention can refer to the above-mentioned method embodiments, which will not be repeated here.
[0110] In addition, the present invention also proposes a small-package Chinese herbal medicine piece picking and preparation device, which includes: a memory, a processor, and a small-package Chinese herbal medicine piece picking and preparation program stored in the memory and runnable on the processor, and when the small-package Chinese herbal medicine piece picking and preparation program is executed by the processor, the steps of the small-package Chinese herbal medicine piece picking and preparation method as described above are implemented.
[0111] The specific implementation method of the small-package Chinese herbal medicine preparation equipment of the present application is basically the same as the various embodiments of the small-package Chinese herbal medicine preparation method described above, and will not be repeated here.
[0112] In addition, the present invention also proposes a readable storage medium, which includes a computer-readable storage medium on which a small package of Chinese herbal medicine pieces preparation program is stored. The readable storage medium may be Figure 1 The memory 1005 in the terminal may also be at least one of a ROM (Read-Only Memory) / RAM (Random Access Memory), a magnetic disk, and an optical disk. The readable storage medium includes a number of instructions for enabling a small-package Chinese herbal medicine piece grabbing device with a processor to execute the small-package Chinese herbal medicine piece grabbing method described in each embodiment of the present invention.
[0113] The specific implementation methods in the readable storage medium of the present application are basically the same as the embodiments of the above-mentioned small-package Chinese herbal medicine preparation method, and will not be repeated here.
[0114] It is understood that, in the description of this specification, the description with reference to the terms "one embodiment", "another embodiment", "other embodiments", or "first to Nth embodiments" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0115] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system 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 system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0116] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0117] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0118] 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 method for preparing small-packaged Chinese herbal medicine pieces, characterized in that: The following steps are involved: Obtaining a target Chinese medicine prescription, and extracting medicine requirement information in the target Chinese medicine prescription; Calling a medicine kitchen database, and generating a Chinese medicine piece formula list based on the small-package Chinese medicine piece inventory information and the medicine demand information stored in the medicine kitchen database; wherein the Chinese medicine piece formula list includes a plurality of small-package formula information corresponding to different types of Chinese medicine pieces; Based on the preset allocation rules between the Chinese medicine prescription and the dispensing terminal, an association relationship between the Chinese medicine decoction piece formula list and the dispensing terminal corresponding to the target Chinese medicine prescription is established; Sending the small package formula information corresponding to several different types of Chinese herbal medicine pieces in the Chinese herbal medicine formula list to the grabbing and dispensing terminal in sequence, and controlling the sending action of the small package formula information according to the grabbing and dispensing completion trigger action fed back by the grabbing and dispensing terminal; The medicine demand information includes the type of Chinese medicine, single dose and number of doses, and the target Chinese medicine prescription also includes Chinese medicine processing note information; calling the medicine kitchen database, and generating a Chinese medicine decoction piece formula list step based on the small package Chinese medicine decoction piece inventory information and the medicine demand information stored in the medicine kitchen database, specifically includes: Call the medicine kitchen database to extract the inventory information of small-package Chinese herbal medicine slices stored in the medicine kitchen database; wherein the inventory information of small-package Chinese herbal medicine slices includes the inventory value of small packages of different specifications and weights corresponding to each type of Chinese herbal medicine slices stored in the Chinese herbal medicine kitchen; extract the Chinese medicine processing notes information in the target Chinese medicine prescription; wherein the Chinese medicine processing notes information is configured as one of two processing categories: processing required and processing not required; according to the processing category of the Chinese medicine processing notes information, the Chinese herbal medicine slice formula action of the target Chinese medicine prescription is executed by using the inventory value of small packages of different specifications and weights corresponding to each type of Chinese herbal medicine slice and the type, single dose and number of doses of Chinese medicine in the target Chinese medicine prescription; based on the execution result of the Chinese herbal medicine slice formula action, a Chinese herbal medicine slice formula list containing small-package formula information corresponding to different types of Chinese herbal medicine slices is generated; wherein the small-package formula information includes the small-package specification and weight and the small-package quantity of each type of Chinese herbal medicine slice; Among them, according to the processing category of the Chinese medicine processing remark information, the Chinese medicine decoction piece formula action steps of the target Chinese medicine prescription are executed by using the small package inventory value of different specifications and weights corresponding to each type of Chinese medicine decoction piece and the type, single dose and number of doses of the Chinese medicine in the target Chinese medicine prescription, specifically including: Determine whether the processing category of the Chinese medicine processing remark information is that processing is required. If so, execute the Chinese medicine decoction piece formula action according to the first strategy; otherwise, execute the Chinese medicine decoction piece formula action according to the second strategy; wherein the first strategy is configured as follows: according to the Chinese medicine type, single dose and number of doses in the target Chinese medicine prescription, calculate the total dose of each type of Chinese medicine, use the calculated total dose to match the small package inventory values of different specifications and weights of the corresponding Chinese medicine decoction piece type upwards according to the smallest specification and weight, generate the Chinese medicine decoction piece formula corresponding to the total dose of each type of Chinese medicine, and based on several types of Chinese medicine The second strategy is configured as follows: according to the Chinese medicine types and single doses in the target Chinese medicine prescription, the single dose of each type of Chinese medicine is calculated, and the Chinese medicine decoction piece formula corresponding to the single dose of each type of Chinese medicine is generated by matching the calculated single dose downward in the small package inventory values of different specifications and weights of the corresponding Chinese medicine decoction piece type according to the maximum specification and weight, and based on the Chinese medicine decoction piece formulas and dosage numbers of the single doses of several types of Chinese medicine, a Chinese medicine decoction piece formula list of the target Chinese medicine prescription is generated; Among them, the Chinese medicine slice formula action steps for executing the target Chinese medicine prescription also include: Determine whether the medicine demand information of the target Chinese medicine prescription includes special Chinese medicine types; wherein the special Chinese medicine types include a first Chinese medicine type with a fixed usage specification weight preset by the user and / or a second Chinese medicine type whose formulation frequency of the target specification weight in the most recent formulation cycle is lower than the first preset value; if so, when executing the Chinese medicine decoction piece formulation action according to the second strategy, use the calculated single dose in the small package inventory value of different specifications weight of the corresponding Chinese medicine decoction piece type: starting from the fixed usage specification weight or the target specification weight of the special Chinese medicine type, in a downward matching manner, generate a Chinese medicine decoction piece formula corresponding to a single dose of the special Chinese medicine type; starting from the maximum specification weight of the non-special Chinese medicine type, in a downward matching manner, generate a Chinese medicine decoction piece formula corresponding to a single dose of the non-special Chinese medicine type; Among them, the Chinese medicine slice formula action steps for executing the target Chinese medicine prescription also include: Determine whether the drug demand information of the target Chinese medicine prescription includes high-frequency Chinese medicine types; wherein the high-frequency Chinese medicine types include a third Chinese medicine type whose formula frequency of the target specification weight is higher than the second preset value within the target time period; if so, when executing the Chinese herbal medicine preparation formula action according to the second strategy, use the calculated single dose in the small package inventory value of different specifications weight of the corresponding Chinese herbal medicine preparation type: start from the maximum specification weight of the high-frequency Chinese medicine type and match downward, and skip the target specification weight in the process of downward matching to generate a Chinese herbal medicine preparation formula corresponding to the single dose of the high-frequency Chinese medicine type.
2. The method for preparing small-packaged Chinese herbal medicine slices according to claim 1, characterized in that: The step of obtaining a target Chinese medicine prescription and extracting medicine requirement information in the target Chinese medicine prescription specifically includes: Obtaining a target Chinese medicine prescription pushed by a Chinese medicine prescription waiting pool; wherein the Chinese medicine prescription waiting pool stores a number of Chinese medicine prescriptions generated and transmitted by a prescription generation terminal; Extract the prescription text information in the target Chinese medicine prescription, use natural language processing tools to perform word segmentation, part-of-speech analysis and keyword extraction on the prescription text information, and obtain the drug requirement information in the target Chinese medicine prescription.
3. The method for preparing small-packaged Chinese herbal medicine slices according to claim 1, characterized in that: The small package formula information corresponding to several different types of Chinese herbal medicine pieces in the Chinese herbal medicine formula list is sequentially sent to the grabbing and dispensing terminal, and the steps of controlling the sending action of the small package formula information according to the grabbing and dispensing completion trigger action fed back by the grabbing and dispensing terminal specifically include: Convert the small package specifications and weights in the small package formula information corresponding to several different types of Chinese herbal medicine pieces in the Chinese herbal medicine piece formula list into small package codes, and generate several pieces of grabbing and dispensing guidance information based on the small package codes and the small package quantities in the small package formula information; The plurality of pieces of grabbing and dispensing guidance information are sequentially sent to the grabbing and dispensing terminal, and a grabbing and dispensing completion trigger signal of the corresponding type of Chinese herbal medicine slices generated based on a response action of the formulator fed back by the grabbing and dispensing terminal is obtained; wherein the response action includes one or more of a key action, a screen click action, a voice trigger action or a preset perception action performed by the formulator on the grabbing and dispensing terminal; Determine whether the Chinese herbal medicine type corresponding to the current preparation completion trigger signal is at the end of the Chinese herbal medicine formula list. If not, send the preparation guidance information of the next Chinese herbal medicine type in the Chinese herbal medicine formula list to the preparation terminal. If so, complete the preparation of the Chinese herbal medicines of the target Chinese medicine prescription.
4. A device for preparing small-packaged Chinese herbal medicine pieces, used in the method for preparing small-packaged Chinese herbal medicine pieces as claimed in any one of claims 1 to 3, characterized in that: include: An acquisition module, used to acquire a target Chinese medicine prescription and extract medicine requirement information in the target Chinese medicine prescription; A generating module is used to call a medicine kitchen database, and generate a Chinese medicine piece formula list based on the inventory information of small-package Chinese medicine pieces and the medicine demand information stored in the medicine kitchen database; wherein the Chinese medicine piece formula list includes a plurality of small-package formula information corresponding to different types of Chinese medicine pieces; An establishment module is used to establish an association relationship between the Chinese medicine decoction piece formula list and the grabbing and dispensing terminal corresponding to the target Chinese medicine prescription based on the preset allocation rules between the Chinese medicine prescription and the grabbing and dispensing terminal; The sending module is used to send the small package formula information corresponding to several different types of Chinese herbal medicines in the Chinese herbal medicine formula list to the grabbing and dispensing terminal in sequence, and control the sending action of the small package formula information according to the grabbing and dispensing completion trigger action fed back by the grabbing and dispensing terminal.
5. A small package Chinese medicine slice grabbing and dispensing equipment, characterized in that: The small-package Chinese herbal medicine piece picking and dispensing device comprises: a memory, a processor, and a small-package Chinese herbal medicine piece picking and dispensing program stored in the memory and executable on the processor. When the small-package Chinese herbal medicine piece picking and dispensing program is executed by the processor, the steps of the small-package Chinese herbal medicine piece picking and dispensing method as described in any one of claims 1 to 3 are implemented.
6. A storage medium, characterized in that: The storage medium stores a small-package Chinese herbal medicine piece picking and dispensing program, and when the small-package Chinese herbal medicine piece picking and dispensing program is executed by the processor, the steps of the small-package Chinese herbal medicine piece picking and dispensing method as described in any one of claims 1 to 3 are implemented.
