CN117649930A - Medicine access management method, device, terminal equipment and storage medium - Google Patents

Medicine access management method, device, terminal equipment and storage medium Download PDF

Info

Publication number
CN117649930A
CN117649930A CN202311851729.5A CN202311851729A CN117649930A CN 117649930 A CN117649930 A CN 117649930A CN 202311851729 A CN202311851729 A CN 202311851729A CN 117649930 A CN117649930 A CN 117649930A
Authority
CN
China
Prior art keywords
medicine
zero
disassembly
inventory
storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311851729.5A
Other languages
Chinese (zh)
Inventor
张亚茹
郑林云
刘灯松
陈麒
张连红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Lachesis Mobile Medical Technology Co ltd
Original Assignee
Shenzhen Lachesis Mobile Medical Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Lachesis Mobile Medical Technology Co ltd filed Critical Shenzhen Lachesis Mobile Medical Technology Co ltd
Priority to CN202311851729.5A priority Critical patent/CN117649930A/en
Publication of CN117649930A publication Critical patent/CN117649930A/en
Pending legal-status Critical Current

Links

Landscapes

  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The invention discloses a medicine access management method, a device, terminal equipment and a storage medium, wherein the method comprises the following steps: acquiring a medicine code of a medicine to be taken and the required medicine dosage; searching a preset medicine information table for a zero disassembly inventory, an integral inventory and a total inventory which are matched with medicine codes, and converting values for integral zero disassembly conversion; when the required medicine dosage is larger than the zero disassembly inventory and the packaged medicines are preferentially taken, determining a first zero disassembly storage position and a first packaged storage position of the medicines to be taken according to the medicine codes, the calculated first required packaged quantity and the first required zero disassembly quantity, so that a user can take the medicines to be taken according to the first zero disassembly storage position and the first packaged storage position; according to the first required integral quantity, integral stock, the first required zero disassembly quantity and zero disassembly stock, the integral stock, the zero disassembly stock and the total stock are updated, and the medicine management efficiency is improved by implementing the invention.

Description

Medicine access management method, device, terminal equipment and storage medium
Technical Field
The present invention relates to the field of medical storage and management technologies, and in particular, to a method, an apparatus, a terminal device, and a storage medium for managing drug access.
Background
With the development of the pharmaceutical industry, the storage and management of medicines are becoming more and more important, and common medicine cabinet storage modes of medicines include a tablet shape (zero disassembly), an ambergent bottle (zero disassembly) and a box package (whole package). Traditional storage of a medicine in a single mode cannot meet the storage and management requirements of the existing medicines, and the packaged medicines are stored after being disassembled into zero, so that the whole medicine cabinet is stored in a zero-disassembling mode. If only the medicine is stored in a zero disassembly mode, the medicine taking amount of the medicine taken once is limited, and the medicine taking amount requirement cannot be met; if only carry out the medicine storage with the integral packaging mode, then the medicine volume of getting of once taking the medicine is little, and the integral packaging mode can not satisfy current little medicine volume demand, need tear open to the whole medicine and zero, causes the integral packaging medicine to tear open the management degree of difficulty behind zero big, can take the integral packaging medicine earlier when follow-up is used again, causes medical resource waste.
Therefore, how to realize whole storage, whole taking and zero disassembly access of the same medicine and improve the medicine management efficiency becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the invention provides a medicine access management method, a device, terminal equipment and a storage medium, which can effectively solve the problem of how to realize whole storage, whole taking and zero disassembly access of the same medicine and improve the medicine management efficiency.
An embodiment of the present invention provides a method for managing drug access, including:
acquiring a medicine code of a medicine to be taken and the required medicine dosage;
searching a medicine code of a medicine to be taken, and searching a zero disassembly inventory, an integral inventory and a total inventory matched with the medicine code and a conversion value for integral zero disassembly conversion in a preset medicine information table;
when the required medicine dosage is larger than the zero disassembly inventory and the packaged medicines are preferentially taken, calculating a first required packaged quantity and a first required zero disassembly quantity according to the required medicine dosage and the converted value;
determining a first unpacking storage position and a first packing storage position of the medicine to be taken according to the medicine codes, the first required packing quantity and the first unpacking quantity, so that a user can take the medicine to be taken according to the first unpacking storage position and the first packing storage position;
updating the package inventory according to the first required package quantity and the package inventory; updating the zero disassembly inventory according to the first required zero disassembly quantity and the zero disassembly inventory; and updating the total inventory according to the updated integral inventory and the updated zero removal inventory.
Further, the method further comprises the following steps:
when the required medicine dosage is larger than the zero disassembly inventory and the zero disassembly medicine is preferentially taken, calculating the required medicine residual dosage except the zero disassembly inventory according to the required medicine dosage and the zero disassembly inventory;
calculating a second required integral quantity and a second required zero removal quantity except the zero removal inventory according to the required medicine residual quantity and the converted value;
determining a second unpacking storage position and a second unpacking storage position of the medicine to be taken according to the medicine codes, the second required integral quantity and the second unpacking quantity, so that a user can take the medicine to be taken according to the second unpacking storage position and the second integral storage position;
updating the package inventory according to the second required package quantity and the package inventory; updating the zero disassembly inventory according to the second required zero disassembly quantity and the zero disassembly inventory; and updating the total inventory according to the updated integral inventory and the updated zero removal inventory.
Further, the method further comprises the following steps:
when the required medicine dosage is smaller than or equal to the zero disassembly inventory, determining a third zero disassembly storage position of the medicine to be taken according to the medicine code and the required medicine dosage, so that a user can take the medicine to be taken according to the third zero disassembly storage position;
Updating the zero disassembly inventory according to the required medicine dosage and the zero disassembly inventory; and updating the total stock according to the updated zero-dismantling stock.
Further, the determining the first zero removal storage location and the first integral storage location of the medicine to be retrieved according to the medicine code, the first required integral quantity and the first required zero removal quantity includes:
searching a storage position serial number, a storage medicine box number, a medicine expiration date, a medicine storage mode and a storage medicine box inventory which are matched with the medicine codes in a preset medicine storage table according to the medicine codes;
determining a first integral storage position serial number and a first integral storage medicine box number of the medicine storage mode as integral according to the first required integral quantity, the medicine expiration date, the medicine storage mode and the stored medicine box inventory in order from small to large;
according to the first required zero disassembly quantity, the medicine expiration date, the medicine storage mode and the stored medicine box inventory, determining a first zero disassembly storage position serial number and a first zero disassembly storage medicine box serial number of the medicine storage mode in order from small to large according to the medicine expiration date;
determining the first integral storage position of the medicine to be taken according to the serial number of the first integral storage position and the serial number of the first integral storage medicine box; and determining the first zero disassembly storage position of the medicine to be taken according to the first zero disassembly storage position serial number and the first zero disassembly storage medicine box serial number.
Further, the determining the second zero removal storage location and the second integral storage location of the medicine to be retrieved according to the medicine code, the second required integral quantity, and the second required zero removal quantity includes:
searching a storage position serial number, a storage medicine box number, a medicine expiration date, a medicine storage mode and a storage medicine box inventory which are matched with the medicine codes in a preset medicine storage table according to the medicine codes;
determining a second integral storage position serial number and a second integral storage medicine box number of which the medicine storage mode is integral according to the second required integral quantity, the medicine expiration date, the medicine storage mode and the stored medicine box inventory in order from small to large;
determining a second zero disassembly storage position serial number and a second zero disassembly storage medicine box serial number of the medicine storage mode according to the second required zero disassembly quantity, the medicine expiration date, the medicine storage mode and the stored medicine box inventory in order from small to large according to the medicine expiration date;
determining a second integral storage position of the medicine to be taken according to the serial number of the second integral storage position and the serial number of the second integral storage medicine box; and determining the second zero disassembly storage position of the medicine to be taken according to the second zero disassembly storage position serial number and the second zero disassembly storage medicine box serial number.
Further, the determining the third zero disassembly storage position of the medicine to be taken according to the medicine code and the required medicine amount includes:
searching a storage position serial number, a storage medicine box number, a medicine expiration date, a medicine storage mode and a storage medicine box inventory which are matched with the medicine codes in a preset medicine storage table according to the medicine codes;
according to the required medicine dosage, the medicine expiration date, the medicine storage mode and the stored medicine box inventory, determining a third zero-dismantling storage position serial number and a third zero-dismantling storage medicine box serial number of which the medicine storage mode is zero-dismantling according to the order from the small medicine expiration date to the large medicine expiration date;
and determining the third zero disassembly storage position of the medicine to be taken according to the third zero disassembly storage position serial number and the third zero disassembly storage medicine box serial number.
Further, the method further comprises the following steps:
acquiring medicine codes of medicines to be stored, the number of required storage disassembly parts and the number of required storage whole packages;
when a fourth serial number which is matched with a medicine code of the medicine to be stored and used for representing the medicine storage position is found in a preset medicine storage table, determining the fourth serial number of the medicine to be stored according to the medicine code;
Determining a to-be-stored position of the to-be-stored medicine according to the fourth serial number, so that a user stores the to-be-stored medicine according to the to-be-stored position;
updating the zero disassembly inventory according to the required zero disassembly number of the medicines to be stored and the zero disassembly inventory; updating the whole stock according to the required stored whole quantity and the whole stock; and updating the total stock according to the zero disassembly stock after the update and the whole stock.
As an improvement of the foregoing aspect, another embodiment of the present invention correspondingly provides a medicine access management device, including:
the first medicine information acquisition module is used for acquiring medicine codes of medicines to be taken and the required medicine dosage;
the inventory searching module is used for searching the medicine code of the medicine to be taken, and searching zero disassembly inventory, integral inventory and total inventory matched with the medicine code and conversion values for integral zero disassembly conversion in a preset medicine information table;
the first integral zero disassembly calculation module is used for calculating first required integral quantity and first required zero disassembly quantity according to the required medicine dosage and the conversion value when the required medicine dosage is larger than the zero disassembly inventory and the integral medicine is preferentially taken;
The first storage position determining module is used for determining a first zero disassembly storage position and a first integral storage position of the medicine to be taken according to the medicine codes, the first required integral quantity and the first required zero disassembly quantity, so that a user can take the medicine to be taken according to the first zero disassembly storage position and the first integral storage position;
the first inventory updating module is used for updating the integral inventory according to the first required integral quantity and the integral inventory; updating the zero disassembly inventory according to the first required zero disassembly quantity and the zero disassembly inventory; and updating the total inventory according to the updated integral inventory and the updated zero removal inventory.
Another embodiment of the present invention provides a terminal device including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing a drug access management method as described in the above embodiment when executing the computer program.
Another embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium includes a stored computer program, where when the computer program runs, a device where the computer readable storage medium is controlled to execute a method for managing drug access according to the foregoing embodiment.
By implementing the invention, the invention has at least the following beneficial effects:
the invention provides a medicine access management method, a device, a terminal device and a storage medium, wherein the method can realize zero disassembly access and whole assembly access of the same medicine, and according to medicine codes of the medicine to be taken and the required medicine dosage, zero disassembly inventory, whole assembly inventory, total inventory and conversion values for whole assembly zero disassembly conversion which are matched with the medicine codes are searched in a preset medicine information table, and then when the required medicine dosage is larger than the zero disassembly inventory and the whole assembly medicine is taken in priority, the first required whole assembly quantity and the first required zero disassembly quantity are calculated according to the required medicine dosage and the conversion values; determining a first unpacking storage position and a first packing storage position of the medicine to be taken according to the medicine codes, the first required packing quantity and the first unpacking quantity, so that a user can take the medicine to be taken according to the first unpacking storage position and the first packing storage position; updating the package inventory according to the first required package quantity and the package inventory; updating the zero disassembly inventory according to the first required zero disassembly quantity and the zero disassembly inventory; and updating the total inventory according to the updated integral inventory and the updated zero removal inventory. The invention can meet the management requirements of the disassembly and the assembly and the access of the same medicine, avoid the problems that the metering is inaccurate and the medicine dosage requirement cannot be met when the medicine is managed only by the disassembly or the assembly, realize the whole storage and the assembly and the disassembly and the access of the same medicine by the management mode of the disassembly and the assembly and the access, and improve the medicine management efficiency.
Drawings
Fig. 1 is a flowchart of a method for managing drug access according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a drug access management device according to an embodiment of the present invention.
Fig. 3 is a structural diagram of a drug access management method according to an embodiment of the present invention.
Fig. 4 is a medicine setting layer 0 diagram of a medicine access management method according to an embodiment of the present invention.
Fig. 5 is a flowchart of a medicine setting method according to an embodiment of the present invention.
Fig. 6 is a flowchart of a medicine supplement method according to an embodiment of the present invention.
Fig. 7 is a flowchart of a medicine taking method according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flow chart of a method for managing drug access according to an embodiment of the invention includes:
s1, acquiring a medicine code of a medicine to be taken and the required medicine dosage;
preferably, common drug cabinet storage modes include tablet (zero release), ambergent bottle (zero release) and box (self-contained). Each drug has a unique drug code.
S2, searching a medicine code of the medicine to be taken, and searching a zero disassembly inventory, an integral inventory and a total inventory which are matched with the medicine code in a preset medicine information table, and converting values for integral zero disassembly conversion;
specifically, the preset medicine information table has a plurality of rows of data, each row of data comprises medicine codes, medicine names, zero disassembly stock, integral stock, total stock, zero disassembly units, integral units and conversion values (for integral zero disassembly conversion), wherein the integral units and the zero disassembly units are relatively speaking, for example, the integral units are 'boxes', and then the zero disassembly units can be every 'bottle', 'slice', 'grain', 'bag' and the like in the boxes; the conversion value is used for the whole-assembled and disassembled zero conversion, namely the quantity of the disassembled zero medicines in one whole-assembled medicine, for example, 10 whole-assembled medicines contain the disassembled zero medicines, and the conversion value is 10. Each medicine corresponds to data in a medicine information table, so that the zero disassembly inventory, the whole assembly inventory, the total inventory and the conversion value for the whole assembly zero disassembly conversion can be searched in a preset medicine information table according to the medicine code of the medicine to be taken.
S3, when the required medicine dosage is larger than the zero disassembly inventory and the packaged medicine is preferentially taken, calculating a first required packaged quantity and a first required zero disassembly quantity according to the required medicine dosage and the converted value;
specifically, the usage scenes of the medicines are different, so that the taking priority of the whole medicine and the zero-release medicine is different, for example, in the scenes of a surgery pharmacy and a hospitalization pharmacy, the general medicine allocation requirement is large, so that the taking priority of the whole medicine is higher; in operating theatre and clinic scenarios, it is necessary to take the medicine according to the patient's prescription, at which time zero removal takes precedence. The first required integral quantity refers to the maximum integral medicine quantity which can be taken when the required medicine dosage is larger than the zero-dismantling inventory and the integral medicine is taken in priority; the first required zero disassembly amount refers to the amount of the required medicine that needs to be retrieved from the zero disassembly medicine when the amount of the required medicine is not yet satisfied but the retrievable amount of the required medicine is removed, and the remaining amount is not yet satisfied. For example, the required medicine dosage is 18, the inventory is removed to zero, the medicine conversion value is 10, the required medicine dosage is larger than the inventory is removed to zero, and the whole medicine is preferentially taken, the whole division part quotient is 1, the remainder is 8, 1 box of whole medicine is required, and 8 pieces of the zero-removed medicine are required, at this time, the first required whole medicine quantity is 1, and the first required zero-removed quantity is 8.
S4, determining a first zero disassembly storage position and a first full assembly storage position of the medicine to be taken according to the medicine codes, the first required full assembly quantity and the first required zero disassembly quantity, so that a user can take the medicine to be taken according to the first zero disassembly storage position and the first full assembly storage position;
preferably, the determining the first zero removal storage position and the first integral storage position of the medicine to be retrieved according to the medicine code, the first required integral quantity and the first required zero removal quantity includes:
searching a storage position serial number, a storage medicine box number, a medicine expiration date, a medicine storage mode and a storage medicine box inventory which are matched with the medicine codes in a preset medicine storage table according to the medicine codes;
determining a first integral storage position serial number and a first integral storage medicine box number of the medicine storage mode as integral according to the first required integral quantity, the medicine expiration date, the medicine storage mode and the stored medicine box inventory in order from small to large;
according to the first required zero disassembly quantity, the medicine expiration date, the medicine storage mode and the stored medicine box inventory, determining a first zero disassembly storage position serial number and a first zero disassembly storage medicine box serial number of the medicine storage mode in order from small to large according to the medicine expiration date;
Determining the first integral storage position of the medicine to be taken according to the serial number of the first integral storage position and the serial number of the first integral storage medicine box; and determining the first zero disassembly storage position of the medicine to be taken according to the first zero disassembly storage position serial number and the first zero disassembly storage medicine box serial number.
Specifically, the first zero removal storage position refers to a zero removal medicine storage position, and the first self-contained storage position refers to a self-contained medicine storage position; the preset medicine storage table comprises medicine codes, storage position serial numbers, storage medicine box numbers, medicine expiration dates, medicine storage modes and storage medicine box stock; the medicine storage mode comprises zero disassembly and whole assembly; determining a first self-contained storage serial number and a first self-contained storage medicine box number of which the medicine storage modes are self-contained according to the order from small to large of the medicine validity period, guaranteeing the use of medicines in the validity period, avoiding the generation of medication safety accidents caused by the use of expired medicines, avoiding the waste of medicines and reducing the expenditure of purchasing medicines; each medicine code can correspond to a plurality of different serial numbers of first self-contained storage positions, each serial number of the first self-contained storage positions corresponds to a plurality of different serial numbers of first self-contained storage medicine boxes, in a database, one medicine code corresponds to a plurality of serial numbers of the first self-contained storage positions, one serial number of the first self-contained storage positions corresponds to a plurality of serial numbers of the first self-contained storage medicine boxes, one serial number of the first self-contained storage positions and one serial number of the first self-contained storage medicine boxes form a storage position, and the storage position is an absolute path for storing self-contained medicines, namely one medicine can be stored in a plurality of storage positions, and one storage position can store a plurality of self-contained medicine boxes; similarly, the serial numbers of the first zero disassembly storage positions and the serial numbers of the first zero disassembly storage medicine boxes with the medicine storage modes of zero disassembly are determined according to the order of the medicine validity period from small to large, each medicine code can correspond to a plurality of different serial numbers of the first zero disassembly storage medicine boxes, each first zero disassembly storage serial number corresponds to a plurality of different serial numbers of the first zero disassembly storage medicine boxes, in the database, one medicine code corresponds to a plurality of serial numbers of the first zero disassembly storage position, one serial number of the first zero disassembly storage position corresponds to a plurality of serial numbers of the first zero disassembly storage medicine boxes, one serial number of the first zero disassembly storage position and one serial number of the first zero disassembly storage medicine box form a storage position, and the storage position is an absolute path for storing the zero disassembly medicine, namely one medicine can be disassembled and stored in a plurality of storage positions, and one storage position can store a plurality of zero disassembly medicine boxes (the medicine quantity in the medicine boxes is not wholly assembled but is disassembled). The preset storage information table comprises a storage position serial number, a storage medicine box serial number and a storage position, so that the first self-contained storage position of the medicine to be taken is determined according to the first self-contained storage position serial number and the first self-contained storage medicine box serial number; and determining the first zero disassembly storage position of the medicine to be taken according to the first zero disassembly storage position serial number and the first zero disassembly storage medicine box serial number.
S5, updating the whole inventory according to the first required whole quantity and the whole inventory; updating the zero disassembly inventory according to the first required zero disassembly quantity and the zero disassembly inventory; updating the total inventory according to the updated integral inventory and the updated zero disassembly inventory;
specifically, after the user gets the medicine to be taken, the medicine stock quantity is reduced, so that the stock information needs to be updated, and the self-contained stock is updated according to the first required self-contained quantity and the self-contained stock; updating the zero disassembly inventory according to the first required zero disassembly quantity and the zero disassembly inventory; and updating the total inventory according to the updated integral inventory and the updated zero removal inventory.
Preferably, when the required medicine dosage is larger than the zero-dismantling inventory and the zero-dismantling medicine is preferentially taken, calculating the required medicine residual dosage except the zero-dismantling inventory according to the required medicine dosage and the zero-dismantling inventory;
calculating a second required integral quantity and a second required zero removal quantity except the zero removal inventory according to the required medicine residual quantity and the converted value;
determining a second unpacking storage position and a second unpacking storage position of the medicine to be taken according to the medicine codes, the second required integral quantity and the second unpacking quantity, so that a user can take the medicine to be taken according to the second unpacking storage position and the second integral storage position;
Updating the package inventory according to the second required package quantity and the package inventory; updating the zero disassembly inventory according to the second required zero disassembly quantity and the zero disassembly inventory; and updating the total inventory according to the updated integral inventory and the updated zero removal inventory.
Illustratively, the determining the second zero removal storage location and the second full storage location of the drug to be retrieved according to the drug code, the second required full quantity, and the second required zero removal quantity includes:
searching a storage position serial number, a storage medicine box number, a medicine expiration date, a medicine storage mode and a storage medicine box inventory which are matched with the medicine codes in a preset medicine storage table according to the medicine codes;
determining a second integral storage position serial number and a second integral storage medicine box number of which the medicine storage mode is integral according to the second required integral quantity, the medicine expiration date, the medicine storage mode and the stored medicine box inventory in order from small to large;
determining a second zero disassembly storage position serial number and a second zero disassembly storage medicine box serial number of the medicine storage mode according to the second required zero disassembly quantity, the medicine expiration date, the medicine storage mode and the stored medicine box inventory in order from small to large according to the medicine expiration date;
Determining a second integral storage position of the medicine to be taken according to the serial number of the second integral storage position and the serial number of the second integral storage medicine box; and determining the second zero disassembly storage position of the medicine to be taken according to the second zero disassembly storage position serial number and the second zero disassembly storage medicine box serial number.
Preferably, when the required medicine dosage is less than or equal to the zero disassembly inventory, determining a third zero disassembly storage position of the medicine to be taken according to the medicine code and the required medicine dosage, so that a user can take the medicine to be taken according to the third zero disassembly storage position;
updating the zero disassembly inventory according to the required medicine dosage and the zero disassembly inventory; and updating the total stock according to the updated zero-dismantling stock.
Illustratively, the determining the third zero-release storage location of the medicine to be retrieved according to the medicine code and the required medicine amount includes:
searching a storage position serial number, a storage medicine box number, a medicine expiration date, a medicine storage mode and a storage medicine box inventory which are matched with the medicine codes in a preset medicine storage table according to the medicine codes;
according to the required medicine dosage, the medicine expiration date, the medicine storage mode and the stored medicine box inventory, determining a third zero-dismantling storage position serial number and a third zero-dismantling storage medicine box serial number of which the medicine storage mode is zero-dismantling according to the order from the small medicine expiration date to the large medicine expiration date;
And determining the third zero disassembly storage position of the medicine to be taken according to the third zero disassembly storage position serial number and the third zero disassembly storage medicine box serial number.
In a preferred embodiment of the present invention, the medicine code of the medicine to be stored, the required zero disassembly number for storage and the required whole number for storage are obtained; when a fourth serial number which is matched with a medicine code of the medicine to be stored and used for representing the medicine storage position is found in a preset medicine storage table, determining the fourth serial number of the medicine to be stored according to the medicine code; determining a to-be-stored position of the to-be-stored medicine according to the fourth serial number, so that a user stores the to-be-stored medicine according to the to-be-stored position; updating the zero disassembly inventory according to the required zero disassembly number of the medicines to be stored and the zero disassembly inventory; updating the whole stock according to the required stored whole quantity and the whole stock; and updating the total stock according to the zero disassembly stock after the update and the whole stock.
In an alternative embodiment of the present invention, as shown in fig. 3 and 4, the self-contained medicine and the zero-release medicine of the same medicine may be stored simultaneously, and the medicine setting, the medicine supplement, the medicine taking, the zero release, the inventory and the like are related to the zero release and the self-contained medicine. As shown in fig. 5, for a preset medicine information table, a zero disassembly unit, a unit of assembly, a base number (equivalent to a converted value) and a binding medicine box storage position (including a zero disassembly position and an assembly position) may be set. As shown in fig. 6, when the medicine inventory is lower than the preset inventory reminding value, the system prompts medicine supplement, and the whole medicine can be supplemented to update the whole inventory; the zero-dismantling inventory can be updated after the zero-dismantling medicine of the whole medicine is dismantled, and the total inventory is updated. As shown in fig. 7, whether the zero disassembly priority or the whole assembly priority is judged, if the whole assembly priority is the whole assembly priority, the number of the zero disassembly medicines and the number of the whole assembly medicines can be directly calculated, and the medicines are delivered; if the zero disassembly priority is given, whether the zero disassembly inventory meets the medicine dosage is judged, if the zero disassembly inventory meets the medicine dosage, the medicine can be directly discharged from the zero disassembly inventory, if the zero disassembly inventory does not meet the medicine dosage, the dosage and the zero disassembly inventory difference value are calculated, after all the zero disassembly medicines are discharged, the residual medicine dosage is discharged according to the calculation results of whole assembly and zero disassembly, and after each medicine discharge, the medicine inventory is updated, so that the accuracy of the medicine quantity and the management effectiveness are ensured. Meanwhile, the stock may have the following anomalies: in the operation process of operators and when equipment is used, the medicine bottles collide to cause the breakage of the ambergris, so that interference factors can be caused to the weighing sensor, weighing inaccuracy occurs, and the actual inventory is inconsistent with the inventory recorded in the database; the medicine package has the difference in gram weight, if the difference of individual packages is larger, the gram weight deviation is larger, and finally, the error exists when the quantity is calculated according to the average weight; the actual inventory of the medicines is inconsistent with the account data of the hospital system; the weighing sensor has errors in weighing. Aiming at the abnormal situation, only the medicine quantity is calculated, and a weighing sensor is not involved, so that weighing errors do not influence the stock quantity, the actual stock of medicines is strictly managed, the medicine is recorded in and out, the situation that the medicine is inconsistent with the account-setting data of a hospital system is avoided, the whole medicine is stored and taken and the whole medicine is taken and the medicine is taken in by the way of taking and managing the whole medicine, and the medicine management efficiency is improved.
Through implementing this embodiment, can satisfy the zero disassembly and the whole access management requirement of same medicine, avoid only with the zero disassembly or only with the problem that the measurement that appears when managing with whole dress mode is inaccurate and can't satisfy the medicine consumption demand, through the access management mode of zero disassembly and whole dress realize the whole of same medicine and get and tear the zero access open, improved medicine management efficiency.
Referring to fig. 2, a schematic structural diagram of a drug access management device according to an embodiment of the present invention includes:
the first medicine information acquisition module is used for acquiring medicine codes of medicines to be taken and the required medicine dosage;
the inventory searching module is used for searching the medicine code of the medicine to be taken, and searching zero disassembly inventory, integral inventory and total inventory matched with the medicine code and conversion values for integral zero disassembly conversion in a preset medicine information table;
the first integral zero disassembly calculation module is used for calculating first required integral quantity and first required zero disassembly quantity according to the required medicine dosage and the conversion value when the required medicine dosage is larger than the zero disassembly inventory and the integral medicine is preferentially taken;
the first storage position determining module is used for determining a first zero disassembly storage position and a first integral storage position of the medicine to be taken according to the medicine codes, the first required integral quantity and the first required zero disassembly quantity, so that a user can take the medicine to be taken according to the first zero disassembly storage position and the first integral storage position;
The first inventory updating module is used for updating the integral inventory according to the first required integral quantity and the integral inventory; updating the zero disassembly inventory according to the first required zero disassembly quantity and the zero disassembly inventory; and updating the total inventory according to the updated integral inventory and the updated zero removal inventory.
The invention provides a medicine access management device, which acquires medicine codes of medicines to be taken and the required medicine dosage according to a first medicine information acquisition module; the method comprises the steps that in an inventory searching module, a medicine code of a medicine to be taken is searched for a zero disassembly inventory, an integral inventory and a total inventory which are matched with the medicine code and converted values for integral zero disassembly conversion in a preset medicine information table; according to the first integral zero disassembly calculation module, when the required medicine dosage is larger than the zero disassembly inventory and the integral medicine is preferentially taken, calculating the first required integral quantity and the first required zero disassembly quantity according to the required medicine dosage and the converted value; determining a first unpacking storage position and a first packing storage position of the medicine to be picked according to the medicine codes, the first required packing quantity and the first unpacking quantity through a first storage position determining module, so that a user can pick up the medicine to be picked according to the first unpacking storage position and the first packing storage position; finally, updating the integral stock according to the first required integral quantity and the integral stock by a first stock updating module; updating the zero disassembly inventory according to the first required zero disassembly quantity and the zero disassembly inventory; and updating the total inventory according to the updated integral inventory and the updated zero removal inventory. By implementing the embodiment, the management requirements of the disassembly and assembly access of the same medicine can be met, the problems that the metering is inaccurate and the medicine consumption requirement cannot be met only when the disassembly and assembly management is carried out or only when the disassembly and assembly management is carried out are avoided, the whole storage and the assembly and the disassembly access of the same medicine are realized through the disassembly and assembly access management mode, and the medicine management efficiency is improved.
It should be noted that the above-described apparatus embodiments are merely illustrative, and the units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the device provided by the invention, the connection relation between the modules represents that the modules have communication connection, and can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
It will be clear to those skilled in the art that, for convenience and brevity, reference may be made to the corresponding process in the foregoing method embodiment for the specific working process of the apparatus described above, which is not described herein again.
Another embodiment of the present invention also provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor executes the computer program to implement a drug access management method as described in the above embodiment. The terminal equipment can be computing equipment such as a desktop computer, a notebook computer, a palm computer, a cloud server and the like. The terminal device may include, but is not limited to, a processor, a memory.
The processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which is a control center of the terminal device, and which connects various parts of the entire terminal device using various interfaces and lines.
The memory may be used to store the computer program, and the processor may implement various functions of the terminal device by running or executing the computer program stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the cellular phone, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid state storage device.
Another embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium includes a stored computer program, where when the computer program runs, a device where the computer readable storage medium is controlled to execute a method for managing drug access according to the foregoing embodiment.
The storage medium is a computer readable storage medium, and the computer program is stored in the computer readable storage medium, and when executed by a processor, the computer program can implement the steps of the above-mentioned method embodiments. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.

Claims (10)

1. A medication access management method, comprising:
acquiring a medicine code of a medicine to be taken and the required medicine dosage;
searching a medicine code of a medicine to be taken, and searching a zero disassembly inventory, an integral inventory and a total inventory matched with the medicine code and a conversion value for integral zero disassembly conversion in a preset medicine information table;
when the required medicine dosage is larger than the zero disassembly inventory and the packaged medicines are preferentially taken, calculating a first required packaged quantity and a first required zero disassembly quantity according to the required medicine dosage and the converted value;
determining a first unpacking storage position and a first packing storage position of the medicine to be taken according to the medicine codes, the first required packing quantity and the first unpacking quantity, so that a user can take the medicine to be taken according to the first unpacking storage position and the first packing storage position;
updating the package inventory according to the first required package quantity and the package inventory; updating the zero disassembly inventory according to the first required zero disassembly quantity and the zero disassembly inventory; and updating the total inventory according to the updated integral inventory and the updated zero removal inventory.
2. The medication access management method of claim 1, further comprising:
when the required medicine dosage is larger than the zero disassembly inventory and the zero disassembly medicine is preferentially taken, calculating the required medicine residual dosage except the zero disassembly inventory according to the required medicine dosage and the zero disassembly inventory;
calculating a second required integral quantity and a second required zero removal quantity except the zero removal inventory according to the required medicine residual quantity and the converted value;
determining a second unpacking storage position and a second unpacking storage position of the medicine to be taken according to the medicine codes, the second required integral quantity and the second unpacking quantity, so that a user can take the medicine to be taken according to the second unpacking storage position and the second integral storage position;
updating the package inventory according to the second required package quantity and the package inventory; updating the zero disassembly inventory according to the second required zero disassembly quantity and the zero disassembly inventory; and updating the total inventory according to the updated integral inventory and the updated zero removal inventory.
3. The medication access management method of claim 1, further comprising:
When the required medicine dosage is smaller than or equal to the zero disassembly inventory, determining a third zero disassembly storage position of the medicine to be taken according to the medicine code and the required medicine dosage, so that a user can take the medicine to be taken according to the third zero disassembly storage position;
updating the zero disassembly inventory according to the required medicine dosage and the zero disassembly inventory; and updating the total stock according to the updated zero-dismantling stock.
4. The method of claim 1, wherein determining the first zero-release storage location and the first self-contained storage location for the medication to be retrieved based on the medication code, the first required self-contained number, and the first required zero-release number comprises:
searching a storage position serial number, a storage medicine box number, a medicine expiration date, a medicine storage mode and a storage medicine box inventory which are matched with the medicine codes in a preset medicine storage table according to the medicine codes;
determining a first integral storage position serial number and a first integral storage medicine box number of the medicine storage mode as integral according to the first required integral quantity, the medicine expiration date, the medicine storage mode and the stored medicine box inventory in order from small to large;
According to the first required zero disassembly quantity, the medicine expiration date, the medicine storage mode and the stored medicine box inventory, determining a first zero disassembly storage position serial number and a first zero disassembly storage medicine box serial number of the medicine storage mode in order from small to large according to the medicine expiration date;
determining the first integral storage position of the medicine to be taken according to the serial number of the first integral storage position and the serial number of the first integral storage medicine box; and determining the first zero disassembly storage position of the medicine to be taken according to the first zero disassembly storage position serial number and the first zero disassembly storage medicine box serial number.
5. The method of claim 2, wherein determining the second zero-release storage location and the second self-contained storage location for the medication to be retrieved based on the medication code, the second required self-contained number, and the second required zero-release number comprises:
searching a storage position serial number, a storage medicine box number, a medicine expiration date, a medicine storage mode and a storage medicine box inventory which are matched with the medicine codes in a preset medicine storage table according to the medicine codes;
determining a second integral storage position serial number and a second integral storage medicine box number of which the medicine storage mode is integral according to the second required integral quantity, the medicine expiration date, the medicine storage mode and the stored medicine box inventory in order from small to large;
Determining a second zero disassembly storage position serial number and a second zero disassembly storage medicine box serial number of the medicine storage mode according to the second required zero disassembly quantity, the medicine expiration date, the medicine storage mode and the stored medicine box inventory in order from small to large according to the medicine expiration date;
determining a second integral storage position of the medicine to be taken according to the serial number of the second integral storage position and the serial number of the second integral storage medicine box; and determining the second zero disassembly storage position of the medicine to be taken according to the second zero disassembly storage position serial number and the second zero disassembly storage medicine box serial number.
6. A method of medication access management as recited in claim 3, wherein said determining a third zero-release storage location for the medication to be retrieved based on the medication code and the desired medication amount comprises:
searching a storage position serial number, a storage medicine box number, a medicine expiration date, a medicine storage mode and a storage medicine box inventory which are matched with the medicine codes in a preset medicine storage table according to the medicine codes;
according to the required medicine dosage, the medicine expiration date, the medicine storage mode and the stored medicine box inventory, determining a third zero-dismantling storage position serial number and a third zero-dismantling storage medicine box serial number of which the medicine storage mode is zero-dismantling according to the order from the small medicine expiration date to the large medicine expiration date;
And determining the third zero disassembly storage position of the medicine to be taken according to the third zero disassembly storage position serial number and the third zero disassembly storage medicine box serial number.
7. The medication access management method of claim 1, further comprising:
acquiring medicine codes of medicines to be stored, the number of required storage disassembly parts and the number of required storage whole packages;
when a fourth serial number which is matched with a medicine code of the medicine to be stored and used for representing the medicine storage position is found in a preset medicine storage table, determining the fourth serial number of the medicine to be stored according to the medicine code;
determining a to-be-stored position of the to-be-stored medicine according to the fourth serial number, so that a user stores the to-be-stored medicine according to the to-be-stored position;
updating the zero disassembly inventory according to the required zero disassembly number of the medicines to be stored and the zero disassembly inventory; updating the whole stock according to the required stored whole quantity and the whole stock; and updating the total stock according to the zero disassembly stock after the update and the whole stock.
8. A medicine access management device, comprising:
the first medicine information acquisition module is used for acquiring medicine codes of medicines to be taken and the required medicine dosage;
The inventory searching module is used for searching the medicine code of the medicine to be taken, and searching zero disassembly inventory, integral inventory and total inventory matched with the medicine code and conversion values for integral zero disassembly conversion in a preset medicine information table;
the first integral zero disassembly calculation module is used for calculating first required integral quantity and first required zero disassembly quantity according to the required medicine dosage and the conversion value when the required medicine dosage is larger than the zero disassembly inventory and the integral medicine is preferentially taken;
the first storage position determining module is used for determining a first zero disassembly storage position and a first integral storage position of the medicine to be taken according to the medicine codes, the first required integral quantity and the first required zero disassembly quantity, so that a user can take the medicine to be taken according to the first zero disassembly storage position and the first integral storage position;
the first inventory updating module is used for updating the integral inventory according to the first required integral quantity and the integral inventory; updating the zero disassembly inventory according to the first required zero disassembly quantity and the zero disassembly inventory; and updating the total inventory according to the updated integral inventory and the updated zero removal inventory.
9. A terminal device comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor implementing a drug access management method according to any one of claims 1 to 7 when executing the computer program.
10. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored computer program, wherein the computer program, when run, controls a device in which the computer readable storage medium is located to perform a method for managing access to a drug as claimed in any one of claims 1 to 7.
CN202311851729.5A 2023-12-28 2023-12-28 Medicine access management method, device, terminal equipment and storage medium Pending CN117649930A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311851729.5A CN117649930A (en) 2023-12-28 2023-12-28 Medicine access management method, device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311851729.5A CN117649930A (en) 2023-12-28 2023-12-28 Medicine access management method, device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117649930A true CN117649930A (en) 2024-03-05

Family

ID=90043487

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311851729.5A Pending CN117649930A (en) 2023-12-28 2023-12-28 Medicine access management method, device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117649930A (en)

Similar Documents

Publication Publication Date Title
US20230274604A1 (en) Medication management systems and methods for health and health related facilities
JP6253254B2 (en) Drug inventory management system
US20120173254A1 (en) Load balancing and assigning medication requests
US20240120056A1 (en) Dynamic user interface for automated generation of custom physical labels
CA2759517C (en) Modes and workflows for processing medication requests
CN117649930A (en) Medicine access management method, device, terminal equipment and storage medium
CA2870383C (en) Systems and methods for prescription drug packaging
JP7061222B1 (en) Equipment, methods and programs for managing product inventories in medical institutions
EP4276716A1 (en) Worktable enable/disable recommendation method and apparatus, electronic device, and warehousing system
US10492987B2 (en) Methods, systems, and computer program products for managing multiple drug product packaging systems using a common database management system
US11538113B1 (en) Methods and systems for classifying genetic panels
CN111477294A (en) Intelligent clinic system medicine unit switching processing method
US11373400B1 (en) Methods and systems for image processing to present data in augmented reality
US12001461B2 (en) Computerized method and apparatus for automated distributed ingest and presentation of multi-domain metrics
CN115954080A (en) Medicine selling method and device, electronic equipment and readable storage medium
US20240221922A1 (en) Chaotic storage of prescription medications
JP2000191118A (en) Shipping management system and shipping management method
AU2022271459A1 (en) On Site Prescription Management System and Methods for Health Care Facilities
JP2015223460A (en) Automatic medicine picking method
JP2024083323A (en) Drug inventory support device, drug inventory support method, and drug inventory support program
JP2022110315A (en) Apparatus and method for managing product inventory in medical institution and program therefore
JP2022117608A (en) Inventory control program, inventory control method, and inventory control device
JP5003547B2 (en) Unit conversion coefficient changing program, method and apparatus
AU2011240684A1 (en) On site prescription management system and methods for health care facilities

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination