CN116417124A - Medical drug storage and allocation method, device, equipment and medium - Google Patents

Medical drug storage and allocation method, device, equipment and medium Download PDF

Info

Publication number
CN116417124A
CN116417124A CN202310369166.XA CN202310369166A CN116417124A CN 116417124 A CN116417124 A CN 116417124A CN 202310369166 A CN202310369166 A CN 202310369166A CN 116417124 A CN116417124 A CN 116417124A
Authority
CN
China
Prior art keywords
medical
warehouse
warehouses
total
drugs
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
CN202310369166.XA
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.)
Kangjian Information Technology Shenzhen Co Ltd
Original Assignee
Kangjian Information Technology Shenzhen 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 Kangjian Information Technology Shenzhen Co Ltd filed Critical Kangjian Information Technology Shenzhen Co Ltd
Priority to CN202310369166.XA priority Critical patent/CN116417124A/en
Publication of CN116417124A publication Critical patent/CN116417124A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/20ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the management or administration of healthcare resources or facilities, e.g. managing hospital staff or surgery rooms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06315Needs-based resource requirements planning or analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Quality & Reliability (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Health & Medical Sciences (AREA)
  • Operations Research (AREA)
  • Primary Health Care (AREA)
  • Epidemiology (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Public Health (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The invention relates to the field of digital medical treatment and the field of cloud deployment, and discloses a method for allocating medical drugs in stock, which comprises the following steps: acquiring the total medical medicine demand of a plurality of medical warehouses in a historical replenishment period; calculating the total purchase quantity of the medical drugs of the plurality of medical warehouses required in a preset handover period according to the total demand quantity of the medical drugs; acquiring the total safety stock of a plurality of medical warehouses, and judging whether the total safety stock is smaller than the total purchase amount of the medical medicines; if the medical drug allocation information is smaller than the medical drug allocation information, sending medical drug allocation information to a plurality of medical warehouses according to the joint allocation rule; and if the medical drug allocation information is not smaller than the target medical warehouse, sending the medical drug allocation information to the target medical warehouse according to the inter-warehouse allocation rules. The invention also provides a medical drug inventory allocation device, equipment and medium. The invention can improve the inventory allocation efficiency of medical drugs.

Description

Medical drug storage and allocation method, device, equipment and medium
Technical Field
The present invention relates to the field of digital medical treatment and the field of cloud deployment, and in particular, to a method, an apparatus, a device, and a storage medium for inventory allocation of medical drugs.
Background
With the development of computer technology, the use of computer technology to process medical data is widely used. For example, the existing inventory adjustment method of medical drugs is to manually check the stock quantity of the medical drugs in each warehouse and then input the stock quantity into a computer, and then the stock adjustment is performed by the stock-lack medical warehouse responsible person to put forward a replenishment application to the enterprise.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for allocating medical drugs, which mainly aim to improve the efficiency of allocating medical drugs.
In order to achieve the above object, the present invention provides a method for allocating medical drugs in stock, comprising:
acquiring the total medical medicine demand of a plurality of medical warehouses in a historical replenishment period;
Calculating the total purchase quantity of the medical drugs of the plurality of medical warehouses required in a preset handover period according to the total demand of the medical drugs;
acquiring the total safety stock of a plurality of medical warehouses, and judging whether the total safety stock is smaller than the total purchase amount of the medical medicines;
if the total safety stock is smaller than the total purchase quantity of the medical drugs, sending medical drug allocation information to a plurality of medical warehouses according to a preset joint allocation rule;
and if the total safety stock is not smaller than the total purchase quantity of the medical medicines, determining a target medical warehouse from the plurality of medical warehouses, and sending medical medicine allocation information to the target medical warehouse according to a preset inter-warehouse allocation rule.
Optionally, the calculating the total purchase amount of the medical drugs of the plurality of medical warehouses required in the preset handover period according to the total demand of the medical drugs includes:
acquiring normal distribution information of the total demand of the medical drugs, and calculating the maximum confidence that all medical warehouses meet preset inventory conditions in the handover period according to the normal distribution information;
and determining the total purchase quantity of the medical drugs corresponding to the maximum confidence coefficient as the total purchase quantity of the medical drugs of the medical warehouses from a preset normal distribution table.
Optionally, the sending medical drug allocation information to the target medical warehouse according to a preset inter-warehouse allocation rule includes:
determining the identification of the stock-out medical warehouse and the names and the quantity of the medical medicines required by the stock-out medical warehouse according to the allocation rules among the warehouses;
acquiring a position identifier of the target medical warehouse, and selecting a target medical warehouse closest to the stock-out medical warehouse from the target medical warehouses according to the identifier of the stock-out medical warehouse and the position identifier of the target medical warehouse;
and sending the allocation information of the medical names and the medical numbers required by the backorder medical warehouse to the nearest target medical warehouse.
Optionally, the sending medical drug allocation information to the plurality of medical warehouses according to the joint allocation rule includes:
sending a purchase message for purchasing the total purchase quantity of the medical drugs to a provider system according to a preset joint allocation rule;
and determining each medical warehouse identifier, the required medical drug names and the medical drug quantity which need replenishment according to the purchase message, and sending the allocation information of the required medical drug names and the medical drug quantity to each medical warehouse according to each medical warehouse identifier.
Optionally, the determining whether the total amount of safety stock is less than the total purchase amount of the medical drug includes:
calculating the difference value between the total safety stock and the total purchase quantity of the medical drugs, and judging whether the difference value is smaller than zero;
when the difference is smaller than zero, determining that the total safety stock is smaller than the total purchase amount of the medical medicines;
and when the difference value is not smaller than zero, determining that the total safety stock is not smaller than the total purchase amount of the medical medicines.
Optionally, the determining a target medical warehouse from a plurality of medical warehouses includes:
acquiring warehouse stock of a plurality of medical warehouses, and sequencing the medical warehouses from high to low according to the warehouse stock to obtain sequenced medical warehouses;
comparing the warehouse inventory of each of the ordered medical warehouses with a preset inventory threshold;
and when the warehouse inventory of any medical warehouse in the ordered medical warehouses is not smaller than a preset inventory threshold, determining any medical warehouse as the target medical warehouse.
Optionally, before the medical drug is allocated from the target medical warehouse to the out-of-stock medical warehouse according to a preset inter-warehouse allocation rule, the method further includes:
Taking a plurality of medical warehouses as a plurality of nodes, and setting monitoring interfaces for the nodes;
judging whether replies of each node are received through the monitoring interface;
when no reply of any node is received from the monitoring interface, determining that the inventory of the medical warehouse corresponding to any node is sufficient;
and when receiving a reply of any node from the monitoring interface, determining the medical warehouse corresponding to any node as the stock-out medical warehouse.
In order to solve the above problems, the present invention also provides an inventory allocation device of medical drugs, the device comprising:
the medicine acquisition module is used for acquiring the total medical medicine demand of the medical warehouses in the historical replenishment period; calculating the total purchase quantity of the medical drugs of the plurality of medical warehouses required in a preset handover period according to the total demand of the medical drugs;
the judging module is used for acquiring the total safety stock of the medical warehouses and judging whether the total safety stock is smaller than the total purchase quantity of the medical medicines;
the allocating module is used for sending medical medicine allocating information to a plurality of medical warehouses according to a preset joint allocating rule if the total amount of the safety stock is smaller than the total purchase amount of the medical medicines; and if the total safety stock is not smaller than the total purchase quantity of the medical medicines, determining a target medical warehouse from the plurality of medical warehouses, and sending medical medicine allocation information to the target medical warehouse according to a preset inter-warehouse allocation rule.
In order to solve the above-mentioned problems, the present invention also provides an electronic apparatus including:
a memory storing at least one computer program; and
And the processor executes the computer program stored in the memory to realize the inventory allocation method of the medical drugs.
In order to solve the above-mentioned problems, the present invention also provides a computer-readable storage medium having stored therein at least one computer program that is executed by a processor in an electronic device to implement the above-mentioned inventory allocation method of medical drugs.
In the embodiment of the invention, after the total medical medicine demand of the plurality of medical warehouses in the historical replenishment cycle is obtained, the total medical medicine purchasing quantity of the plurality of medical warehouses required in the preset handover period is calculated according to the total medical medicine demand, so that the replenishment quantity in the handover period can be ensured to be sufficient in the subsequent inventory allocation; secondly, the total safety stock of a plurality of medical warehouses is obtained, and whether the total safety stock is smaller than the total purchase amount of medical drugs is judged, so that the problem that the replenishment period of the medical warehouses is long can be conveniently solved according to two allocation rules, and the inventory allocation efficiency is improved; finally, if the total safety stock is smaller than the total purchase amount of the medical drugs, medical drug allocation information is sent to a plurality of medical warehouses according to the joint allocation rule, so that the medical drug allocation can be carried out on a plurality of medical warehouses in shortage at the same time; if the total safety stock is not less than the total purchase amount of the medical drugs, medical drug allocation information required by the stock shortage medical warehouse is sent to the target medical warehouse according to a preset inter-warehouse allocation rule, so that allocation of the stock shortage medical warehouse in the warehouse with sufficient stock can be realized, the need of manually applying for replenishment is avoided, the labor cost is reduced, and meanwhile, the stock allocation efficiency of the medical drugs is improved. Therefore, the inventory allocation method, the device, the equipment and the storage medium for the medical drugs can improve the inventory allocation efficiency of the medical drugs.
Drawings
FIG. 1 is a flow chart of a method for inventory allocation of medical drugs according to an embodiment of the present invention;
FIG. 2 is a detailed flowchart of a step in a method for inventory allocation of medical drugs according to an embodiment of the present invention;
FIG. 3 is a detailed flowchart illustrating a step in a method for inventory allocation of medical drugs according to an embodiment of the present invention;
FIG. 4 is a schematic block diagram of an inventory allocation device for medical drugs according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an internal structure of an electronic device for implementing a method for allocating medical drugs according to an embodiment of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The embodiment of the invention provides a medical drug inventory allocation method. The execution subject of the inventory allocation method of medical drugs includes, but is not limited to, at least one of a server, a terminal, and the like, which can be configured to execute the method provided by the embodiment of the application. In other words, the inventory allocation method of the medical drugs may be performed by software or hardware installed in a terminal device or a server device, and the software may be a blockchain platform. The service end includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like.
Referring to fig. 1, which is a schematic flow chart of a method for allocating inventory of medical drugs according to an embodiment of the present invention, in an embodiment of the present invention, the method for allocating inventory of medical drugs includes steps S1 to S5 as follows:
s1, acquiring total medical medicine demands of a plurality of medical warehouses in a historical replenishment period.
In the embodiment of the invention, the total medical medicine demand refers to the total medical medicine consumed by a plurality of medical warehouses in the historical replenishment period. For example, a historical replenishment cycle of 7 days, A, B, two medical warehouses consume 60 and 70 total medical drugs in the 7 days, respectively, and the total medical drug demand consumed by the two warehouses in the 7 days is 130. Specifically, the total medical drug demand of the plurality of medical warehouses during the historical replenishment cycle may be obtained from a database of medical warehouses.
S2, calculating the total purchase quantity of the medical drugs of the plurality of medical warehouses required in a preset delivery period according to the total demand of the medical drugs.
In the embodiment of the invention, the total purchase quantity of the medical drugs refers to the total quantity of the medical drugs required to be purchased in the next replenishment cycle and the handover cycle of a plurality of medical warehouses. The delivery period is the time required by the medical medicines required by a plurality of medical warehouses for complementing the next replenishment period; for example, the last replenishment cycle is 7 days, and the medical drugs required for all medical warehouses in the next replenishment cycle need to be replenished on the seventh day, and the delivery period is one day since the medical drugs in the next replenishment cycle actually need to arrive at the medical warehouses for one day.
According to the embodiment of the invention, the total purchase quantity of the medical drugs in the medical warehouses required in the handover period is calculated according to the total demand of the medical drugs, and the maximum total purchase quantity of the medical drugs can be calculated through normal distribution of the total demand of the medical drugs, so that the sufficient supplement quantity can be ensured when inventory allocation is carried out in the handover period in the follow-up period.
As an embodiment of the present invention, referring to fig. 2, the calculation of the total purchase amount of the medical drugs of the plurality of medical warehouses required in the preset delivery period according to the total demand of the medical drugs includes the following steps S21 to S22:
s21, acquiring normal distribution information of the total demand of the medical drugs, and calculating the maximum confidence that all medical warehouses meet preset inventory conditions in the handover period according to the normal distribution information;
s22, determining that the total purchase quantity of the medical drugs corresponding to the maximum confidence coefficient is the total purchase quantity of the medical drugs of the medical warehouses from a preset normal distribution table.
Wherein the normal distribution information is a normal distribution of the average and variance of the total demand for the medical drug in each historical replenishment cycle.
In an embodiment of the present invention, the maximum confidence coefficient refers to a maximum probability value that the medical warehouse satisfies a preset inventory condition, and an interval range of the total purchase amount of the medical drug can be obtained through the maximum confidence coefficient. Specifically, the maximum confidence may be obtained by subtracting the product of the delivery period number Lk and the average value μk of the total medical demand from the total medical demand Dk (k represents the number of days, k=1, 2,..and N), and dividing the obtained difference by the product of the root number of the delivery period number Lk and the total medical demand standard deviation.
In the embodiment of the present invention, the preset inventory condition refers to the required amount of the medical drugs in the next replenishment cycle of all the medical warehouses, for example, in the historical replenishment cycle, the required amount of the medical drugs in all the medical warehouses is 1000, and the preset inventory condition is that the required amount of the medical drugs in the next replenishment cycle of all the medical warehouses is not less than 1000.
Further, the preset normal distribution table is a table describing the confidence coefficient and the corresponding total purchase amount range of the medical drugs, and the total purchase amount range of the medical drugs corresponding to the maximum confidence coefficient can be determined according to the maximum confidence coefficient and the disclosed normal distribution table.
For example, the maximum confidence is 98%, and the total purchase amount range of the medical drugs corresponding to 98% is (136, 167) by checking the normal distribution table, and 167 can be selected as the total purchase amount of the medical drugs in order to satisfy the demand of all the warehouses as much as possible.
S3, acquiring the total safety stock of the medical warehouses, and judging whether the total safety stock is smaller than the total purchase amount of the medical medicines.
According to the embodiment of the invention, the inventory information of a plurality of medical warehouses and the drug information of the lack of stock can be obtained from the database of each medical warehouse, and the medical drug allocation is carried out for the plurality of medical warehouses, so that the medical drug inventory of each medical warehouse can meet the requirements.
The total safety stock is the stock of all warehouses which can pass the delivery period, and is determined by the service level of the warehouses, the standard deviation of the total demand of the medical drugs, the replenishment period and the delivery period factors, wherein the service level is the number of times the medical warehouses meet the demand of the goods in the history period, and the service level is higher as the number of times is higher; the standard deviation of the total demand of the medical drugs refers to the standard deviation of the total demand of the medical drugs in the historical replenishment period obeying normal distribution; the replenishment period is a period for replenishing each medical warehouse according to actual demands, and is usually one month.
The embodiment of the invention acquires the total safety stock of a plurality of medical warehouses, judges whether the total safety stock is smaller than the total purchase amount of the medical drugs, can conveniently determine two allocation rules later, and can solve the problem of longer replenishment period of the medical warehouses according to the two allocation rules so as to improve the stock allocation efficiency.
As one embodiment of the present invention, the determining whether the total amount of safety stock is smaller than the total purchase amount of the medical drugs includes:
Calculating the difference value between the total safety stock and the total purchase quantity of the medical drugs, and judging whether the difference value is smaller than zero; when the difference is smaller than zero, determining that the total safety stock is smaller than the total purchase amount of the medical medicines; and when the difference value is not smaller than zero, determining that the total safety stock is not smaller than the total purchase amount of the medical medicines.
The difference value is a value obtained by subtracting the total purchase amount of the medical drugs from the total safety stock.
And S4, if the total safety stock is smaller than the total purchase quantity of the medical drugs, sending medical drug allocation information to a plurality of medical warehouses according to a preset joint allocation rule.
Specifically, in the embodiment of the present invention, the joint allocation rule allocates medical drugs to a plurality of medical warehouses, which refers to medical drugs required by suppliers to purchase all warehouses in the next replenishment cycle.
In the embodiment of the invention, the purpose of sending the medical drug allocation information to the plurality of medical warehouses is to inform each medical warehouse of the allocated medical drug allocation information.
In the embodiment of the invention, if the total safety stock is smaller than the total purchase quantity of the medical drugs, the total stock quantity of all medical warehouses is insufficient, the handover period is not enough, medical drug allocation information needs to be sent to a plurality of medical warehouses, and medical drug allocation can be simultaneously carried out for a plurality of medical warehouses without manually applying for stock allocation to other warehouse responsible persons and then applying for allocation to a central warehouse.
As one embodiment of the present invention, the sending medical drug allocation information to a plurality of medical warehouses according to the joint allocation rule includes:
sending a purchase message for purchasing the total purchase quantity of the medical drugs to a provider system according to a preset joint allocation rule; and determining each medical warehouse identifier, the required medical drug names and the medical drug quantity which need replenishment according to the purchase message, and sending the allocation information of the required medical drug names and the medical drug quantity to each medical warehouse according to each medical warehouse identifier.
Wherein, the suppliers refer to suppliers of medical drugs, and the number of the suppliers can be a plurality of suppliers; the medical repository identification may be an ID name of the medical repository.
In an embodiment of the invention, the medical drug information and the corresponding inventory of each medical warehouse are stored locally, and the information of each medical warehouse, the names and the number of the medical drugs required for replenishment can be directly searched out from the local through a preset data access component.
For example, the data of each medical warehouse is accessed through the data access component, it is determined that the medical warehouse D needs an aspirin 30 box and an azithromycin 20 box, the medical warehouse E needs an isatis root 45 box, then the medical drug allocation information of the aspirin 30 box and the azithromycin 20 box is simultaneously sent to the medical warehouse D, and the medical warehouse allocation information of the isatis root 45 box is sent to the medical warehouse E.
S5, if the total safety stock is not smaller than the total purchase quantity of the medical drugs, determining a target medical warehouse from the medical warehouses, and sending medical drug allocation information to the target medical warehouse according to a preset inter-warehouse allocation rule.
In the embodiment of the invention, the preset inter-warehouse allocation rules refer to rules for sending medical drug allocation information required by the stock-out medical warehouse to the medical warehouse which can be allocated. The target medical warehouse refers to a medical warehouse with sufficient medical medicine inventory and can be used for medical medicine allocation. The out-of-stock medical warehouse refers to a medical warehouse that needs replenishment.
In the embodiment of the invention, the purpose of sending the medical drug allocation information to the target medical warehouse is to enable the target medical warehouse to allocate medical drugs to the medical warehouse which is out of stock.
In the embodiment of the invention, if the total safety stock is not less than the total purchase quantity of the medical drugs, the medical drug stock of all the warehouses is sufficient and the handover period can be spent, and the medical drug stock allocation information is sent to the target medical warehouse according to the preset inter-warehouse allocation rule, so that the allocation of the warehouse with sufficient stock for the absent warehouse can be realized, the manual application for replenishment is not needed, the labor cost is reduced, and the stock allocation efficiency of the medical drugs is improved.
In detail, the determining a target medical warehouse from a plurality of medical warehouses includes:
acquiring warehouse stock of a plurality of medical warehouses, and sequencing the medical warehouses from high to low according to the warehouse stock to obtain sequenced medical warehouses; comparing the warehouse inventory of each of the ordered medical warehouses with a preset inventory threshold; and when the warehouse inventory of any medical warehouse in the ordered medical warehouses is not smaller than a preset inventory threshold, determining any medical warehouse as the target medical warehouse.
And when the warehouse inventory of any medical warehouse in the ordered medical warehouses is smaller than a preset inventory threshold value, determining that the inventory of any medical warehouse is insufficient for allocating the out-of-stock medical warehouse.
In an embodiment of the present invention, the preset inventory threshold refers to an inventory level of a medical warehouse reaching an inventory level that can be transferred to other warehouses.
For example, the preset inventory threshold may be 100, and when the inventory of any medical warehouse reaches 100, which indicates that the inventory of the medical warehouse is sufficient, the medical warehouse may be used as a target medical warehouse, and medical medicines may be allocated from the medical warehouse to a medical warehouse in which the medical warehouse is out of stock; when the warehouse stock of any medical warehouse is not 100, the stock quantity of the medical warehouse can only support the normal operation of the warehouse, and the medical medicine can not be allocated from the medical warehouse.
As an embodiment of the present invention, referring to fig. 3, the step of transmitting medical drug allocation information from the target medical warehouse according to a preset inter-warehouse allocation rule includes the following steps S51 to S53:
s51, determining the identification of the stock-out medical warehouse and the names and the number of medical drugs required by the stock-out medical warehouse according to the allocation rules among the warehouses;
s52, acquiring a position identification of the target medical warehouse, and selecting a target medical warehouse closest to the stock-out medical warehouse from the target medical warehouses according to the identification of the stock-out medical warehouse and the position identification of the target medical warehouse;
and S53, transmitting the medical drug names and the allocation information of the medical drug quantity required by the stock-out medical warehouse to the nearest target medical warehouse.
The location identifier may be a specific geographic location where the target medical warehouse is located; the out-of-stock medical warehouse identification may be an ID name of the medical warehouse that needs replenishment.
In an embodiment of the invention, the medical warehouse can be allocated from nearby through the position identification, so that the logistics and manpower cost is saved, and the allocation efficiency is improved.
For example, if a stock-out medical warehouse is G and a compound licorice agent 55 cassette and a clarithromycin 15 cassette are required, medical drug allocation information of the compound licorice agent 55 cassette and clarithromycin 15 cassette required for the medical warehouse G is transmitted to the closest target medical warehouse.
In an optional embodiment of the present invention, before the medical drug is allocated from the target medical warehouse to the out-of-stock medical warehouse according to the preset inter-warehouse allocation rule, the method further includes:
taking a plurality of medical warehouses as a plurality of nodes, and setting monitoring interfaces for the nodes; judging whether replies of each node are received through the monitoring interface; when no reply of any node is received from the monitoring interface, determining that the inventory of the medical warehouse corresponding to any node is sufficient; and when receiving a reply of any node from the monitoring interface, determining the medical warehouse corresponding to any node as the stock-out medical warehouse.
The monitoring interface is used for monitoring the inventory of each medical warehouse in real time, and can be realized through Socket programming.
In an embodiment of the present invention, each node sends a reply to the monitoring interface at the frequency of the replenishment period, and if any node does not send a reply in the replenishment period, the inventory of the medical warehouse corresponding to any node is sufficient; if any node sends a reply in the replenishment period, the medical warehouse corresponding to any node is an out-of-stock medical warehouse.
In the embodiment of the invention, after the total medical medicine demand of the plurality of medical warehouses in the historical replenishment cycle is obtained, the total medical medicine purchasing quantity of the plurality of medical warehouses required in the preset handover period is calculated according to the total medical medicine demand, so that the replenishment quantity in the handover period can be ensured to be sufficient in the subsequent inventory allocation; secondly, the total safety stock of a plurality of medical warehouses is obtained, and whether the total safety stock is smaller than the total purchase amount of medical drugs is judged, so that the problem that the replenishment period of the medical warehouses is long can be conveniently solved according to two allocation rules, and the inventory allocation efficiency is improved; finally, if the total safety stock is smaller than the total purchase amount of the medical drugs, medical drug allocation information is sent to a plurality of medical warehouses according to the joint allocation rule, so that the medical drug allocation can be carried out on a plurality of medical warehouses in shortage at the same time; if the total safety stock is not less than the total purchase amount of the medical drugs, medical drug allocation information required by the stock shortage medical warehouse is sent to the target medical warehouse according to a preset inter-warehouse allocation rule, so that allocation of the stock shortage medical warehouse in the warehouse with sufficient stock can be realized, the need of manually applying for replenishment is avoided, the labor cost is reduced, and meanwhile, the stock allocation efficiency of the medical drugs is improved. Therefore, the inventory allocation method of the medical drugs provided by the embodiment of the invention can improve the inventory allocation efficiency of the medical drugs.
As shown in fig. 4, the inventory allocation device 100 of medical drugs according to the present invention may be installed in an electronic device. Depending on the functions implemented, the inventory allocation device of medical drugs may include a drug acquisition module 101, a judgment module 102, and an allocation module 103, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and are stored in a memory of the electronic device.
In the present embodiment, the functions concerning the respective modules/units are as follows:
in detail, the modules in the inventory allocation device 100 for medical drugs in the embodiment of the present invention use the same technical means as the inventory allocation method for medical drugs described in fig. 1 to 3, and can produce the same technical effects, which are not described herein.
In the embodiment of the invention, after the total medical medicine demand of the plurality of medical warehouses in the historical replenishment cycle is obtained, the total medical medicine purchasing quantity of the plurality of medical warehouses required in the preset handover period is calculated according to the total medical medicine demand, so that the replenishment quantity in the handover period can be ensured to be sufficient in the subsequent inventory allocation; secondly, the total safety stock of a plurality of medical warehouses is obtained, and whether the total safety stock is smaller than the total purchase amount of medical drugs is judged, so that the problem that the replenishment period of the medical warehouses is long can be conveniently solved according to two allocation rules, and the inventory allocation efficiency is improved; finally, if the total safety stock is smaller than the total purchase amount of the medical drugs, medical drug allocation information is sent to a plurality of medical warehouses according to the joint allocation rule, so that the medical drug allocation can be carried out on a plurality of medical warehouses in shortage at the same time; if the total safety stock is not less than the total purchase amount of the medical drugs, medical drug allocation information required by the stock shortage medical warehouse is sent to the target medical warehouse according to a preset inter-warehouse allocation rule, so that allocation of the stock shortage medical warehouse in the warehouse with sufficient stock can be realized, the need of manually applying for replenishment is avoided, the labor cost is reduced, and meanwhile, the stock allocation efficiency of the medical drugs is improved. Therefore, the inventory allocation device for the medical drugs provided by the embodiment of the invention can improve the inventory allocation efficiency of the medical drugs.
Fig. 5 is a schematic diagram of an electronic device for implementing the method for allocating medical supplies according to the present invention.
The electronic device may comprise a processor 10, a memory 11, a communication bus 12 and a communication interface 13, and may further comprise a computer program, such as an inventory allocation program for medical drugs, stored in the memory 11 and executable on the processor 10.
The memory 11 includes at least one type of medium, including flash memory, a mobile hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a local magnetic disk, an optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device, such as a mobile hard disk of the electronic device. The memory 11 may in other embodiments also be an external storage device of the electronic device, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the electronic device. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device. The memory 11 may be used not only for storing application software installed in an electronic device and various types of data, such as codes of stock allocation programs of medical drugs, but also for temporarily storing data that has been output or is to be output.
The processor 10 may be comprised of integrated circuits in some embodiments, for example, a single packaged integrated circuit, or may be comprised of multiple integrated circuits packaged with the same or different functions, including one or more central processing units (Central Processing Unit, CPU), microprocessors, digital processing chips, graphics processors, combinations of various control chips, and the like. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and executes various functions of the electronic device and processes data by running or executing programs or modules (e.g., inventory allocation programs of medical drugs, etc.) stored in the memory 11, and calling data stored in the memory 11.
The communication bus 12 may be a peripheral component interconnect standard (PerIPheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. The communication bus 12 is arranged to enable a connection communication between the memory 11 and at least one processor 10 etc. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
Fig. 5 shows only an electronic device with components, and it will be understood by those skilled in the art that the structure shown in fig. 5 is not limiting of the electronic device and may include fewer or more components than shown, or may combine certain components, or a different arrangement of components.
For example, although not shown, the electronic device may further include a power source (such as a battery) for supplying power to the respective components, and preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that functions of charge management, discharge management, power consumption management, and the like are implemented through the power management device. The power supply may also include one or more of any of a direct current or alternating current power supply, recharging device, power failure detection circuit, power converter or inverter, power status indicator, etc. The electronic device may further include various sensors, bluetooth modules, wi-Fi modules, etc., which are not described herein.
Optionally, the communication interface 13 may comprise a wired interface and/or a wireless interface (e.g., WI-FI interface, bluetooth interface, etc.), typically used to establish a communication connection between the electronic device and other electronic devices.
Optionally, the communication interface 13 may further comprise a user interface, which may be a Display, an input unit, such as a Keyboard (Keyboard), or a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the electronic device and for displaying a visual user interface.
It should be understood that the embodiments described are for illustrative purposes only and are not limited to this configuration in the scope of the patent application.
The inventory allocation program of medical drugs stored in the memory 11 of the electronic device is a combination of a plurality of computer programs, which when run in the processor 10, can implement:
acquiring the total medical medicine demand of a plurality of medical warehouses in a historical replenishment period;
calculating the total purchase quantity of the medical drugs of the plurality of medical warehouses required in a preset handover period according to the total demand of the medical drugs;
Acquiring the total safety stock of a plurality of medical warehouses, and judging whether the total safety stock is smaller than the total purchase amount of the medical medicines;
if the total safety stock is smaller than the total purchase quantity of the medical drugs, sending medical drug allocation information to a plurality of medical warehouses according to a preset joint allocation rule;
and if the total safety stock is not smaller than the total purchase quantity of the medical medicines, determining a target medical warehouse from the plurality of medical warehouses, and sending medical medicine allocation information to the target medical warehouse according to a preset inter-warehouse allocation rule.
In particular, the specific implementation method of the processor 10 on the computer program may refer to the description of the relevant steps in the corresponding embodiment of fig. 1, which is not repeated herein.
Further, the electronic device integrated modules/units may be stored in a computer readable medium if implemented in the form of software functional units and sold or used as stand alone products. The computer readable medium may be non-volatile or volatile. The computer readable medium may include: any entity or device capable of carrying the computer program code to be described, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM).
Embodiments of the present invention may also provide a computer readable storage medium storing a computer program which, when executed by a processor of an electronic device, may implement:
acquiring the total medical medicine demand of a plurality of medical warehouses in a historical replenishment period;
calculating the total purchase quantity of the medical drugs of the plurality of medical warehouses required in a preset handover period according to the total demand of the medical drugs;
acquiring the total safety stock of a plurality of medical warehouses, and judging whether the total safety stock is smaller than the total purchase amount of the medical medicines;
if the total safety stock is smaller than the total purchase quantity of the medical drugs, sending medical drug allocation information to a plurality of medical warehouses according to a preset joint allocation rule;
and if the total safety stock is not smaller than the total purchase quantity of the medical medicines, determining a target medical warehouse from the plurality of medical warehouses, and sending medical medicine allocation information to the target medical warehouse according to a preset inter-warehouse allocation rule.
Further, the computer-readable storage medium 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 from the use of blockchain nodes, and the like.
In the several embodiments provided by the present invention, it should be understood that the disclosed media, devices, apparatuses, and methods may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple 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, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. A plurality of units or means recited in the system claims can also be implemented by means of software or hardware by means of one unit or means. The terms second, etc. are used to denote a name, but not any particular order.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

1. A method of inventory allocation of medical drugs, the method comprising:
acquiring the total medical medicine demand of a plurality of medical warehouses in a historical replenishment period;
calculating the total purchase quantity of the medical drugs of the plurality of medical warehouses required in a preset handover period according to the total demand of the medical drugs;
acquiring the total safety stock of a plurality of medical warehouses, and judging whether the total safety stock is smaller than the total purchase amount of the medical medicines;
if the total safety stock is smaller than the total purchase quantity of the medical drugs, sending medical drug allocation information to a plurality of medical warehouses according to a preset joint allocation rule;
and if the total safety stock is not smaller than the total purchase quantity of the medical medicines, determining a target medical warehouse from the plurality of medical warehouses, and sending medical medicine allocation information to the target medical warehouse according to a preset inter-warehouse allocation rule.
2. The inventory allocation method of medical drugs according to claim 1, wherein the calculating of the total purchase amount of medical drugs for a plurality of the medical warehouses required in a preset delivery period based on the total demand amount of medical drugs includes:
acquiring normal distribution information of the total demand of the medical drugs, and calculating the maximum confidence that all medical warehouses meet preset inventory conditions in the handover period according to the normal distribution information;
and determining the total purchase quantity of the medical drugs corresponding to the maximum confidence coefficient as the total purchase quantity of the medical drugs of the medical warehouses from a preset normal distribution table.
3. The inventory allocation method of medical drugs according to claim 1, wherein the sending medical drug allocation information to the target medical warehouse according to a preset inter-warehouse allocation rule includes:
determining the identification of the stock-out medical warehouse and the names and the quantity of the medical medicines required by the stock-out medical warehouse according to the allocation rules among the warehouses;
acquiring a position identifier of the target medical warehouse, and selecting a target medical warehouse closest to the stock-out medical warehouse from the target medical warehouses according to the identifier of the stock-out medical warehouse and the position identifier of the target medical warehouse;
And sending the allocation information of the medical names and the medical numbers required by the backorder medical warehouse to the nearest target medical warehouse.
4. The inventory allocation method of medical drugs according to claim 1, wherein the transmitting medical drug allocation information to a plurality of the medical warehouses according to the joint allocation rule includes:
sending a purchase message for purchasing the total purchase quantity of the medical drugs to a provider system according to a preset joint allocation rule;
and determining each medical warehouse identifier, the required medical drug names and the medical drug quantity which need replenishment according to the purchase message, and sending the allocation information of the required medical drug names and the medical drug quantity to each medical warehouse according to each medical warehouse identifier.
5. The inventory allocation method of medical drugs according to any one of claims 1 to 4, wherein the judging whether the total amount of safety inventory is smaller than the total purchase amount of medical drugs includes:
calculating the difference value between the total safety stock and the total purchase quantity of the medical drugs, and judging whether the difference value is smaller than zero;
when the difference is smaller than zero, determining that the total safety stock is smaller than the total purchase amount of the medical medicines;
And when the difference value is not smaller than zero, determining that the total safety stock is not smaller than the total purchase amount of the medical medicines.
6. The inventory allocation method of medical drugs of any one of claims 1-4, wherein said determining a target medical warehouse from a plurality of said medical warehouses includes:
acquiring warehouse stock of a plurality of medical warehouses, and sequencing the medical warehouses from high to low according to the warehouse stock to obtain sequenced medical warehouses;
comparing the warehouse inventory of each of the ordered medical warehouses with a preset inventory threshold;
and when the warehouse inventory of any medical warehouse in the ordered medical warehouses is not smaller than a preset inventory threshold, determining any medical warehouse as the target medical warehouse.
7. The inventory allocation method of medical drugs according to any one of claims 1-4, wherein before the medical drugs are allocated from the target medical warehouse to an out-of-stock medical warehouse according to a preset inter-warehouse allocation rule, the method further comprises:
taking a plurality of medical warehouses as a plurality of nodes, and setting monitoring interfaces for the nodes;
judging whether replies of each node are received through the monitoring interface;
When no reply of any node is received from the monitoring interface, determining that the inventory of the medical warehouse corresponding to any node is sufficient;
and when receiving a reply of any node from the monitoring interface, determining the medical warehouse corresponding to any node as the stock-out medical warehouse.
8. An inventory allocation device for medical drugs, the device comprising:
the medicine acquisition module is used for acquiring the total medical medicine demand of the medical warehouses in the historical replenishment period; calculating the total purchase quantity of the medical drugs of the plurality of medical warehouses required in a preset handover period according to the total demand of the medical drugs;
the judging module is used for acquiring the total safety stock of the medical warehouses and judging whether the total safety stock is smaller than the total purchase quantity of the medical medicines;
the allocating module is used for sending medical medicine allocating information to a plurality of medical warehouses according to a preset joint allocating rule if the total amount of the safety stock is smaller than the total purchase amount of the medical medicines; and if the total safety stock is not smaller than the total purchase quantity of the medical medicines, determining a target medical warehouse from the plurality of medical warehouses, and sending medical medicine allocation information to the target medical warehouse according to a preset inter-warehouse allocation rule.
9. An electronic device, the electronic device comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the inventory allocation method of medical drugs according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the inventory allocation method of a medical drug according to any one of claims 1 to 7.
CN202310369166.XA 2023-04-03 2023-04-03 Medical drug storage and allocation method, device, equipment and medium Pending CN116417124A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310369166.XA CN116417124A (en) 2023-04-03 2023-04-03 Medical drug storage and allocation method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310369166.XA CN116417124A (en) 2023-04-03 2023-04-03 Medical drug storage and allocation method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN116417124A true CN116417124A (en) 2023-07-11

Family

ID=87059162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310369166.XA Pending CN116417124A (en) 2023-04-03 2023-04-03 Medical drug storage and allocation method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN116417124A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117436786A (en) * 2023-08-11 2024-01-23 北京龙腾微时代科技信息有限公司 Balance library-benefiting method, device, equipment and medium based on intelligent storage materials

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117436786A (en) * 2023-08-11 2024-01-23 北京龙腾微时代科技信息有限公司 Balance library-benefiting method, device, equipment and medium based on intelligent storage materials

Similar Documents

Publication Publication Date Title
US7941325B2 (en) System and method of using a non-retail central filling facility to process pharmacy product prescriptions in a pharmacy retail network
CN112001681B (en) Warehouse management method, device, platform and computer readable storage medium
CN111242555A (en) Inventory data processing method, device and system
CN116417124A (en) Medical drug storage and allocation method, device, equipment and medium
CN111694844A (en) Enterprise operation data analysis method and device based on configuration algorithm and electronic equipment
US11120396B2 (en) System, method and apparatus for managing pharmacy inventories
CN112529488A (en) Method and device for determining replenishment quantity
CN113240351A (en) Business data consistency checking method and device, electronic equipment and medium
CN112258120A (en) Warehouse resource management method and device and computer equipment
CN112070433A (en) Intelligent drug supply chain management system
US20230066432A1 (en) Multi-furcated allocation system
CN113407322B (en) Multi-terminal task allocation method and device, electronic equipment and readable storage medium
CN113592384B (en) Method for realizing quick distribution of electronic commerce, electronic equipment and storage medium
CN114820132A (en) Order distribution method and device, electronic equipment and storage medium
CN114240162A (en) Personnel scheduling method, device, equipment and storage medium
CN113257398A (en) Information processing system, method and device
CN114399293B (en) Information reminding method, device, equipment and storage medium
JP2000051095A (en) Production and packing management system
JP4783990B2 (en) Material ordering system, server and method
CN115225489B (en) Dynamic control method for queue service flow threshold, electronic equipment and storage medium
CN115330317A (en) Inventory data processing method and device
CN116862542A (en) Medical prescription transfer method, device, electronic equipment and storage medium
CN114723280A (en) Task object allocation method and device, electronic equipment and readable storage medium
CN115567411A (en) Service supply and demand matching method, device, equipment and storage medium
WO2020208817A1 (en) Parts management system, parts management method, and parts management program

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