CN115049318B - Medicine allocation management method and system based on cooperative allocation among areas - Google Patents
Medicine allocation management method and system based on cooperative allocation among areas Download PDFInfo
- Publication number
- CN115049318B CN115049318B CN202210966318.XA CN202210966318A CN115049318B CN 115049318 B CN115049318 B CN 115049318B CN 202210966318 A CN202210966318 A CN 202210966318A CN 115049318 B CN115049318 B CN 115049318B
- Authority
- CN
- China
- Prior art keywords
- information
- allocation
- time
- value
- medicine
- 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.)
- Active
Links
- 239000003814 drug Substances 0.000 title claims abstract description 315
- 229940079593 drug Drugs 0.000 title claims abstract description 170
- 238000007726 management method Methods 0.000 title claims abstract description 20
- 239000000284 extract Substances 0.000 claims abstract description 4
- 238000002156 mixing Methods 0.000 claims description 57
- 238000000034 method Methods 0.000 claims description 47
- 238000002360 preparation method Methods 0.000 claims description 26
- 238000013139 quantization Methods 0.000 claims description 25
- 238000012545 processing Methods 0.000 claims description 14
- 230000006399 behavior Effects 0.000 claims description 12
- 238000013508 migration Methods 0.000 claims description 9
- 230000005012 migration Effects 0.000 claims description 9
- 238000012549 training Methods 0.000 claims description 7
- 230000001174 ascending effect Effects 0.000 claims description 5
- 238000011002 quantification Methods 0.000 claims description 4
- 230000009467 reduction Effects 0.000 claims description 4
- 238000012163 sequencing technique Methods 0.000 claims description 4
- 238000012544 monitoring process Methods 0.000 claims description 3
- 229940124579 cold medicine Drugs 0.000 description 16
- 230000008569 process Effects 0.000 description 14
- 238000004590 computer program Methods 0.000 description 12
- 239000002246 antineoplastic agent Substances 0.000 description 6
- 229940041181 antineoplastic drug Drugs 0.000 description 6
- 239000008280 blood Substances 0.000 description 6
- 210000004369 blood Anatomy 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000003203 everyday effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000036541 health Effects 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 238000012935 Averaging Methods 0.000 description 2
- 230000002354 daily effect Effects 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000012377 drug delivery Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 201000010099 disease Diseases 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000000825 pharmaceutical preparation Substances 0.000 description 1
- 229940127557 pharmaceutical product Drugs 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001225 therapeutic effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06313—Resource planning in a project environment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2282—Tablespace storage structures; Management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2462—Approximate or statistical queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9537—Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06315—Needs-based resource requirements planning or analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06316—Sequencing of tasks or work
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Databases & Information Systems (AREA)
- General Business, Economics & Management (AREA)
- Development Economics (AREA)
- Tourism & Hospitality (AREA)
- Operations Research (AREA)
- Marketing (AREA)
- Game Theory and Decision Science (AREA)
- Educational Administration (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Quality & Reliability (AREA)
- Probability & Statistics with Applications (AREA)
- Software Systems (AREA)
- Biodiversity & Conservation Biology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Computational Linguistics (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Abstract
The invention provides a medicine allocation management method and a medicine allocation management system based on collaborative allocation among regions.A cloud server extracts a first moment when first allocation data is received, determines first geographic information corresponding to a first allocation library end and second geographic information corresponding to an allocation destination, and counts all the first allocation data to generate a corresponding medicine list to be allocated; obtaining a second moment according to the first geographic information, the second geographic information, the drug attribute information and the first moment, and obtaining a drug allocation time interval by the cloud server according to the first moment and the second moment; traversing first allocation data corresponding to the second allocation data in the list of the medicines to be allocated, and deleting the traversed first allocation data from the list of the medicines to be allocated; and if the corresponding second dispensing data is not received within the medicine dispensing time interval, outputting reminding information to the first dispensing end, automatically recording the medicine dispensing, and tracing back in time.
Description
Technical Field
The present invention relates to data processing technologies, and in particular, to a method and a system for managing drug allocation based on inter-regional coordination.
Background
Along with the continuous improvement of living standard of people, daily medical system is also gradually perfected, and the current medical institution has all kinds of hospitals, disease control centers, health hospitals, community health service centers, drugstores and the like, and greatly facilitates the daily hospitalization of people.
However, in the existing drug allocation process, manual statistical allocation is mainly performed manually, manual statistical recording and deletion are performed on allocated drugs, and an automatic recording and transferring system is not provided, so that traceability verification cannot be realized for allocation of many drugs.
Therefore, how to realize automatic recording, transportation and verification of the prepared medicines becomes an urgent problem to be solved.
Disclosure of Invention
The embodiment of the invention provides a medicine allocation management method and system based on regional collaborative allocation, which can realize automatic recording and transportation of distributed medicines by combining a library allocation end and a cloud end, reduce labor cost, determine a corresponding distribution time interval according to the emergency degree of the medicines, the conveying quantity of the medicines and the like, find problems in distribution relatively in time, process the problems in time, facilitate subsequent traceability well and reduce the possibility of medicine loss.
In a first aspect of the embodiments of the present invention, a method for managing drug allocation based on collaborative allocation between areas is provided, including:
the method comprises the steps that a first database adjusting end obtains a medicine label based on a bar code of a medicine to be taken, associates an input allocation destination with the medicine label to obtain first allocation data, and uploads the first allocation data to a cloud server;
after receiving the first allocation data, the cloud server extracts a first moment when the first allocation data are received, determines first geographic information corresponding to the first allocation library end and second geographic information corresponding to an allocation destination, and counts all the first allocation data to generate a corresponding to-be-allocated medicine list;
acquiring drug attribute information corresponding to the drug label, obtaining a second moment according to the first geographic information, the second geographic information, the drug attribute information and the first moment, and obtaining a drug allocation time interval by the cloud server according to the first moment and the second moment;
receiving second allocation data uploaded by a second allocation database end located at an allocation destination in real time, wherein the second allocation data comprise the allocation destination and the medicine label, traversing first allocation data corresponding to the second allocation data in the medicine list to be allocated, and deleting the traversed first allocation data from the medicine list to be allocated;
and if the corresponding second dispensing data is not received within the medicine dispensing time interval, outputting reminding information to the first dispensing end.
Optionally, in a possible implementation manner of the first aspect, the obtaining of the drug attribute information corresponding to the drug label to obtain a second time according to the first geographic information, the second geographic information, the drug attribute information, and the first time, and the obtaining, by the cloud server, a drug allocation time interval according to the first time and the second time includes:
acquiring drug attribute information corresponding to the drug label, acquiring a corresponding drug quantitative value according to the drug attribute information, determining a corresponding first attribute value according to the drug quantitative value, the allocation quantity information and the drug dosage information, and determining a corresponding first attribute offset coefficient according to the first attribute value;
acquiring first longitude information and first latitude information corresponding to the first geographic information, acquiring second longitude information and second latitude information corresponding to the second geographic information, acquiring a first distance according to the first longitude information, the first latitude information, the second longitude information and the second latitude information, and determining a corresponding first distance offset coefficient according to the first distance;
carrying out migration processing on preset deployment time according to the first attribute migration coefficient and the first distance migration coefficient to obtain first deployment time;
and obtaining a medicine dispensing time interval according to the first moment and the first dispensing time.
Optionally, in a possible implementation manner of the first aspect, the obtaining a drug dispensing time interval according to the first time and the first dispensing time includes:
obtaining a second moment according to the sum of the first moment and the first allocation time;
the first distance deviation coefficient, the first adjusting time and the second time are obtained by the following formulas,
wherein,is a first distance between the first and the second distance,as the information on the first latitude, there is,in order to be the information of the second latitude,is the second longitude information of the first longitude information,is the first degree information of the first degree information,the first time for the preparation is the first time,is a value of a first one of the attributes,is a weight value of an attribute,the coefficient is shifted for the first property and,is a weight value for the distance,is a first distance-offset factor that is,in order to preset the time for the preparation,is the influencing factor of the first deployment time,is the first moment in time of the first time,is the second moment;
and determining a medicine dispensing time interval according to the first time and the second time.
Optionally, in a possible implementation manner of the first aspect, the obtaining drug attribute information corresponding to the drug label, obtaining a corresponding drug quantified value according to the drug attribute information, and determining a corresponding first attribute value according to the drug quantified value, the blending quantity information, and the drug usage information includes:
comparing the drug quantitative value with a preset quantitative value to obtain a first quantitative ratio;
comparing the allocation quantity information with preset quantity information to obtain a first quantity ratio;
comparing the medicine dosage information with preset dosage information to obtain a first dosage ratio;
generating a first attribute value according to the first quantization ratio, the first quantity ratio and the first quantity ratio;
the first attribute value is obtained by the following formula,
wherein,in order to be the value of the first attribute,in order to quantify the value of the drug,in order to preset the quantization value, the quantization value is set,the values are normalized for the quantized values and,is the information of the preset quantity, and the information of the preset quantity,in order to allocate the quantity information,the value is normalized for the quantity,is the information of the preset dosage and is used as the information of the preset dosage,is the information of the dosage of the medicine,is the normalized value of the dosage,is the impact factor of the first attribute value.
Optionally, in a possible implementation manner of the first aspect, the method further includes:
monitoring user behaviors, and if the first allocation time is adjusted to be the second allocation time by the user, generating a first adjustment value according to the difference value between the second allocation time and the first allocation time;
if the first adjusting value is larger than 0, adjusting the influence factor of the first allocation time according to the first adjusting value and the increased adjusting value to obtain the increased influence factor of the first allocation time;
the increased influence factor of the first dosing time is obtained by the following formula,
wherein,for an increased influencing factor of the first fitting time,for the second time of the preparation,is the first adjustment value and is the second adjustment value,to increase the adjustment value.
Optionally, in a possible implementation manner of the first aspect, the method further includes:
if the first adjusting value is smaller than 0, adjusting the influence factor of the first allocation time according to the first adjusting value and the reduction adjusting value to obtain the reduced influence factor of the first allocation time;
the reduced influence factor of the first dosing time is obtained by the following formula,
wherein,to reduce the impact factor of the first fitting time,the second time for the preparation is the second time for the preparation,is the first adjustment value and is the second adjustment value,to reduce the adjustment value.
Optionally, in a possible implementation manner of the first aspect, the method further includes:
if the actual blending time of the first blending library end medicine is longer than the first blending time, respectively counting the actual blending time and the first blending time to obtain the actual blending total time and the first blending total time;
generating a first blending ratio according to the ratio of the actual blending total time to the first blending total time;
generating a deployed person number image according to the first deployed ratio and the actual deployed person number;
generating the number of required people according to the difference value between the number of deployed people and the number of actually deployed people;
the required number of people is obtained by the following formula,
wherein,the number of people who need the health care product is,the influence factors of the number of people are actually configured,the number of people is actually allocated,in order to prepare an upper limit value of the kind of the drug,is as followsThe actual dispensing time of the drug to be dispensed,is as followsA first dispensing time of the drug.
Optionally, in a possible implementation manner of the first aspect, the method further includes:
respectively counting all the allocation quantity information, the allocation frequency information and the working duration of the first allocation library end within a preset time to obtain allocation total number information, total frequency information and working total duration;
calculating according to the total allocation amount information, the actual allocation number of people at the first allocation library end and the total number information to obtain per-person workload information;
the per-capita efficiency information is obtained by the following formula,
wherein,in order to provide the per-person efficiency information,in order to allocate the total amount information,in order to adapt the impact factor of the total number information,as the information on the total number of times,is an influence factor of the total number of times information,the actual number of people allocated for the first library adjusting end,the information of the workload is averaged for the people,the total working time is;
obtaining per-person efficiency information according to the ratio of the per-person workload information to the total working time;
sequencing all first library adjusting ends in a preset range in an ascending order based on the per-capita efficiency information to obtain a first efficiency sequence;
obtaining a first efficiency average value according to the average value of the per-capita efficiency information corresponding to the first library adjusting end and the per-capita efficiency information corresponding to the last first library adjusting end in the first efficiency sequence;
extracting a first library adjusting end with the average value smaller than the first efficiency value from the first efficiency sequence to obtain a second efficiency sequence;
and performing management training according to the sequence of the first library adjusting end in the second efficiency sequence.
Optionally, in a possible implementation manner of the first aspect, the method further includes:
acquiring the blending quantity information and the blending frequency information of the medicines corresponding to the medicine labels in the second blending data in the replenishment time period;
obtaining out-of-stock total information according to the product of the allocation quantity information and the allocation frequency information;
and finishing the next feeding according to the total quantity information of the out-of-stock.
In a second aspect of the embodiments of the present invention, a medicine allocation management system based on collaborative allocation between regions is provided, including:
the system comprises a correlation module, a cloud server and a database management module, wherein the correlation module is used for obtaining a medicine label based on a bar code of a medicine to be called at a first database preparation end, correlating an input preparation destination with the medicine label to obtain first preparation data, and uploading the first preparation data to the cloud server;
the extraction module is used for extracting a first moment when the first allocation data is received by the cloud server after the first allocation data is received, determining first geographic information corresponding to the first allocation library end and second geographic information corresponding to the allocation destination, and counting all the first allocation data to generate a corresponding to-be-allocated medicine list;
the acquisition module is used for acquiring drug attribute information corresponding to the drug label, acquiring a second moment according to the first geographic information, the second geographic information, the drug attribute information and the first moment, and acquiring a drug allocation time interval by the cloud server according to the first moment and the second moment;
the deleting module is used for receiving second allocation data uploaded by a second allocating terminal located at an allocating destination in real time, wherein the second allocation data comprise the allocating destination and the medicine label, traversing first allocation data corresponding to the second allocation data in the medicine list to be allocated, and deleting the traversed first allocation data from the medicine list to be allocated;
and the reminding module is used for outputting reminding information to the first library adjusting end if the corresponding second allocation data is not received in the medicine allocation time interval.
In a third aspect of the embodiments of the present invention, there is provided an electronic device, including: memory, a processor and a computer program, the computer program being stored in the memory, the processor running the computer program to perform the method of the first aspect of the invention as well as various possible aspects of the first aspect.
A fourth aspect of the embodiments of the present invention provides a readable storage medium, in which a computer program is stored, the computer program being, when executed by a processor, configured to implement the method according to the first aspect of the present invention and various possible aspects of the first aspect.
According to the medicine allocation management method and system based on the inter-area cooperative allocation, the allocation library end is combined with the cloud server, the medicine to be allocated is uploaded to the cloud end based on the bar code to form the distribution record, the distribution record is deleted from the cloud end after the corresponding medicine is received, automatic record in the medicine distribution process is achieved, manual record is not needed, consumption of labor cost is relatively reduced, the medicine allocation time interval is generated through geographic information and medicine attributes, whether the medicine is delivered or not is checked, problems occurring in the allocation process can be found in time, and timely processing is conducted.
According to the technical scheme provided by the invention, a first attribute value is obtained by comprehensively considering the drug attribute, the drug allocation quantity and the drug dose, and the preset allocation time is subjected to offset processing according to the first attribute value and the transport distance to obtain a drug allocation time interval, wherein the preset allocation time can be obtained by carrying out weighted average on the transport time of the same past route, so that the drug allocation time interval is conveniently utilized for verification, whether the drug is delivered in time or not is checked, the source of the drug is traced, and the reason for not being delivered in time is traced; the invention can record the user behavior, and update the model through the autonomous learning of the user behavior, if the user changes the first allocation time of a certain medicine, the system can automatically record the behavior, actively adjust the influence factor of the first allocation time, so that the subsequently output first allocation time is more consistent with the actual situation, and has the function of autonomous learning and updating according to the user behavior.
According to the technical scheme provided by the invention, when the actual dispensing time of the medicine is longer than the dispensing time automatically output by the system, the corresponding transportation speed is slow, and the number of the corresponding dispensing personnel is too small, so that a dispensing personnel number image is obtained according to the actual dispensing time, the dispensing time obtained by the system and the currently actually-dispensed personnel, the dispensing personnel number image reflects the total number of people required for completing the dispensing task in time, the number of the people required to be added is obtained according to the difference value between the required total number of people and the actually-dispensed people number, the required number of people is obtained, and the system can automatically calculate the number of the people required to be added according to the actual dispensing time and the automatically-output time; according to the method, the working efficiency of the corresponding allocating personnel in each medical institution is obtained according to the corresponding workload of each person in each hospital under the actual working duration, the working efficiency is sorted in an ascending order, the average working efficiency is obtained according to the working efficiency of the maximum value and the working efficiency of the minimum value, the medical institutions with the average working efficiency are reserved, the subsequent medical institutions are trained in sequence according to the reserved order, the medical institutions with low efficiency can be known in time, and the medical institutions with low efficiency are trained in time according to the working efficiency from low to high, so that the efficiency recovery time is short, and in addition, the efficiency recovery time is short.
Drawings
Fig. 1 is a flowchart of a method for managing drug allocation based on inter-regional collaborative allocation according to the present invention;
FIG. 2 is a flow chart of a method for generating a demanded population according to the present invention;
fig. 3 is a schematic structural diagram of a medicine allocation management system based on inter-regional coordination according to the present invention;
fig. 4 is a schematic diagram of a hardware structure of an electronic device according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other sequences than those illustrated or described herein.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the processes do not mean the execution sequence, and the execution sequence of the processes should be determined by the functions and the internal logic of the processes, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
It should be understood that in the present application, "comprising" and "having" and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that, in the present invention, "a plurality" means two or more. "and/or" is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "comprising a, B and C", "comprising a, B, C" means that all three of a, B, C are comprised, "comprising a, B or C" means comprising one of three of a, B, C, "comprising a, B and/or C" means comprising any 1 or any 2 or 3 of three of a, B, C.
It should be understood that in the present invention, "B corresponding to a", "a corresponds to B", or "B corresponds to a" means that B is associated with a, and B can be determined from a. Determining B from a does not mean determining B from a alone, but may be determined from a and/or other information. And the matching of A and B means that the similarity of A and B is greater than or equal to a preset threshold value.
As used herein, the term "if" may be interpreted as "at \8230; …" or "in response to a determination" or "in response to a detection" depending on the context.
The technical solution of the present invention will be described in detail below with specific examples. These several specific embodiments may be combined with each other below, and details of the same or similar concepts or processes may not be repeated in some embodiments.
The invention provides a medicine allocation management method based on cooperative allocation among regions, which comprises the following steps of:
step S110, the first library adjusting end obtains a medicine label based on a bar code of a medicine to be adjusted, associates an input adjusting destination with the medicine label to obtain first adjusting data, and uploads the first adjusting data to the cloud server.
According to the technical scheme provided by the invention, when the first library adjusting end receives related medicine allocation information, a worker scans a bar code of a medicine to be taken by using a scanning gun to obtain a corresponding medicine label, and the medicine label is associated with an allocation destination, for example: hospital B demand 500 boxes of cold medicine, can understand that hospital B is the allotment destination, and the cold medicine is the medicine label, obtains first allotment data, uploads first allotment data to high in the clouds server, forms the convenient follow-up deletion that carries out data of first allotment data to and the medicine does not carry out the backtracking of medicine information when transporting.
Step S120, after receiving the first allocation data, the cloud server extracts a first time when the first allocation data is received, determines first geographic information corresponding to the first allocation library end and second geographic information corresponding to an allocation destination, and counts all the first allocation data to generate a corresponding to-be-allocated drug list.
According to the technical scheme provided by the invention, after the cloud server receives the first allocation data, the cloud server obtains the first moment according to the current moment when the first allocation data is received, and determines the first geographic information corresponding to the first allocation library end and the second geographic information corresponding to the allocation destination, for example: the hospital B needs 500 boxes of cold medicines, the hospital A allocates 500 boxes of cold medicines, it can be understood that the first database allocation end is the hospital A, the first geographic information corresponding to the first database allocation end can be longitude and latitude information of the hospital A, the allocation destination is the hospital B, the second geographic information corresponding to the allocation destination can be longitude and latitude information of the hospital B, all the first allocation data are counted to generate a corresponding medicine list to be allocated, it can be understood that only one medicine can be allocated in the first allocation data, and multiple medicines can be allocated, and limitation is not limited in the above.
Step S130, medicine attribute information corresponding to the medicine label is obtained, a second moment is obtained according to the first geographic information, the second geographic information, the medicine attribute information and the first moment, and a medicine allocation time interval is obtained by the cloud server according to the first moment and the second moment.
According to the technical scheme provided by the invention, the cloud server can acquire the drug attribute information corresponding to the drug label, wherein the drug attribute information can be the treatment attribute of the drug, such as: cold drugs, anti-cancer drugs, blood sugar drugs and the like are not limited herein, and it can be understood that the anti-cancer drugs, the blood sugar drugs and the like need to be taken on time, otherwise physical conditions of patients are affected, so that the emergency degree is different, the more urgent the second moment is correspondingly generated, the smaller the second moment is, the corresponding straight line distance can be obtained according to the first geographic information and the second geographic information, if the straight line distance is shorter, the shorter the corresponding overall distance is, the smaller the corresponding second moment is, at this moment, the cloud server obtains a drug allocation time interval according to the first moment and the second moment, whether the drugs are timely delivered within the drug allocation time interval or not can be conveniently and subsequently checked, if the drugs are not timely delivered, drug delivery information in the cloud server is backtracked, and if the drugs are timely delivered, the corresponding drug delivery information is deleted in the cloud.
In a possible implementation manner of the technical solution provided by the present invention, step S130 specifically includes:
acquiring drug attribute information corresponding to the drug label, obtaining a corresponding drug quantized value according to the drug attribute information, and determining a corresponding first quantized value offset coefficient according to the drug quantized value.
According to the technical scheme provided by the invention, the cloud server acquires the drug attribute information corresponding to the drug label, wherein the drug attribute information can be the treatment attribute of the drug, such as: the cold drug, the anti-cancer drug, the blood sugar drug, and the like are not limited herein, and it is understood that the anti-cancer drug, the blood sugar drug, and the like need to be taken on time, otherwise, the physical conditions of the patient are affected, and therefore, the emergency degrees are different, the drug is quantized to obtain different drug quantization values, it is understood that the higher the drug quantization value is, the lower the drug quantization value is, the higher the corresponding emergency degree is, the higher the drug quantization value is, the corresponding first quantization value offset coefficient is determined according to the drug quantization value, and it is convenient to subsequently generate the corresponding first allocation time according to the first quantization value offset coefficient.
Acquiring first longitude information and first latitude information corresponding to the first geographic information, acquiring second longitude information and second latitude information corresponding to the second geographic information, acquiring a first distance according to the first longitude information, the first latitude information, the second longitude information and the second latitude information, and determining a corresponding first distance offset coefficient according to the first distance.
According to the technical scheme provided by the invention, a system acquires first longitude information and first latitude information corresponding to first geographic information, acquires second longitude information and second latitude information corresponding to second geographic information, and acquires a first distance according to the first longitude information, the first latitude information, the second longitude information and the second latitude information, for example: allocating 500 boxes of cold medicines to a hospital B by the hospital A, correspondingly obtaining longitude and latitude information of the hospital A, obtaining longitude and latitude information of the hospital B, and obtaining a corresponding first distance according to the longitude and latitude information of the hospital A and the longitude and latitude information of the hospital B.
And performing offset processing on preset allocation time according to the first quantized value offset coefficient and the first distance offset coefficient to obtain first allocation time, and obtaining a second time according to the sum of the first time and the first allocation time.
According to the technical scheme provided by the invention, the preset allocation time is subjected to offset processing simultaneously according to the first quantized value offset coefficient and the first distance offset coefficient, and it can be understood that the preset allocation time can be manually set in advance according to actual conditions, and the higher the quantized value of the medicine is, the lower the corresponding emergency degree is, for example: the degree of urgency can be classified according to the therapeutic attributes of the drug as: the method comprises the steps of obtaining a first allocating time by performing offset processing on preset allocating time at the same time, summing the first time and the first allocating time to obtain a corresponding second time, wherein after the second time is obtained, the medicine allocating time interval is conveniently obtained according to the first time and the first allocating time, and if the medicine is not timely delivered in the medicine allocating time interval, cloud end and an allocating end are convenient to backtrack medicine data.
The first distance deviation coefficient, the first adjusting time and the second time are obtained by the following formulas,
wherein,the first distance is a distance between the first and second electrodes,as the information on the first latitude, there is,in order to be the information of the second latitude,is the second longitude information, and is the second longitude information,is the first degree information of the first degree information,for the first time of the preparation,in order to quantify the value of the drug,in order to quantize the weight values,the coefficients are shifted for the first quantized values,is a weight value of the distance value,is a first distance-offset factor and is,in order to preset the time for the preparation,is the influencing factor of the first deployment time,is the first moment in time of the first day,for the second moment, it is understood that the first deployment timeOffset coefficient from first quantized valueProportional, first deployment timeCoefficient of deviation from first distanceProportional preset blending timeMay be set based on historical delivery time averaging.
And determining a medicine dispensing time interval according to the first time and the second time.
According to the technical scheme provided by the invention, the medicine allocation time interval is generated after the second moment and the first moment extracted by the previous cloud server is obtained, and the medicine allocation time interval can be the time interval from the first moment to the second moment, so that whether the related allocated medicine is delivered within the medicine allocation time interval or not can be conveniently checked in the follow-up process, and the backtracking of the medicine allocation information can be conveniently carried out.
In another possible implementation manner of the technical solution provided by the present invention, step S130 specifically includes:
acquiring drug attribute information corresponding to the drug label, obtaining a corresponding drug quantified value according to the drug attribute information, determining a corresponding first attribute value according to the drug quantified value, the blending quantity information and the drug usage information, and determining a corresponding first attribute offset coefficient according to the first attribute value.
According to the technical scheme provided by the invention, the cloud server acquires the drug attribute information corresponding to the drug label, wherein the drug attribute information can be the treatment attribute of the drug, such as: the cold drug, the anti-cancer drug, the blood sugar drug, etc. are not limited herein, and it is understood that the anti-cancer drug, the blood sugar drug, etc. need to be taken on time, otherwise, the physical condition of the patient will be affected, therefore, according to different degrees of urgency, different quantization processes are performed on the drug to obtain different drug quantization values, it is understood that the higher the drug quantization value is, the lower the drug quantization value is, the higher the corresponding degree of urgency is, the lower the drug quantization value is, the corresponding first attribute value is determined according to the drug quantization value, the blending quantity information and the drug dosage information, wherein the blending quantity information is the quantity of a certain drug blending, for example: hospital A allocates 500 cases of cold medicines to hospital B, 500 cases are the corresponding allocated quantity information, it can be understood that the larger the allocated quantity information is, the more the corresponding quantity of medicine allocation is, the higher the shortage degree of the corresponding medicine is, wherein the medicine dosage information can be the quantity of medicine taken every day, and also can be the quantity taken every day, for example: the patient takes 1/4 of the cold medicines in each box every day, the corresponding 1/4 of the boxes are medicine dosage information, and it can be understood that the dosage of each Chinese patent medicine is large, the larger the dosage of the patient is, the higher the corresponding degree of shortage is, so that the corresponding first attribute value is determined according to the medicine quantization value, the blending quantity information and the medicine dosage information, the corresponding first attribute offset coefficient can be conveniently obtained according to the first attribute value, and the offset processing can be conveniently carried out on the preset blending time according to the first attribute offset coefficient to obtain the first blending time.
In a possible implementation manner, the obtaining of the drug attribute information corresponding to the drug label, obtaining a corresponding drug quantification value according to the drug attribute information, and determining a corresponding first attribute value according to the drug quantification value, the blending quantity information, and the drug usage information includes:
and comparing the drug quantitative value with a preset quantitative value to obtain a first quantitative ratio.
According to the technical scheme provided by the invention, the system can compare the drug quantitative value with the preset quantitative value to obtain a first quantitative ratio, and as can be understood, the drug quantitative value can be obtained by quantifying the emergency degree corresponding to the treatment attribute of the drug, the higher the emergency degree is, the smaller the corresponding quantitative value is, the lower the emergency degree is, the larger the corresponding quantitative value is, and the quantitative value corresponding to the drug is compared with the artificially preset quantitative value in advance to obtain the corresponding first quantitative ratio.
And comparing the allocation quantity information with preset quantity information to obtain a first quantity ratio.
According to the technical scheme provided by the invention, the system can compare the allocated quantity information with the preset quantity information to obtain the corresponding first quantity ratio, and the larger the allocated quantity information is, the larger the quantity of the allocated medicines is, the larger the quantity information is, the first quantity ratio is compared with the preset quantity information preset in advance manually to obtain the corresponding first quantity ratio, wherein the preset quantity information can be obtained by weighting and averaging according to the historical distributed quantity information of the medicines, and can also be preset manually.
And comparing the medicine dosage information with preset dosage information to obtain a first dosage ratio.
According to the technical scheme provided by the invention, the system can compare the medicine dosage information with the preset dosage information to obtain a first dosage ratio, and the medicine dosage information is corresponding quantity information of medicines taken by a patient, such as: the patient takes 1/4 of the cold medicines every day, the preset dosage information can be manually preset, comparison is carried out, a corresponding first dosage ratio is obtained, and the corresponding first attribute value can be conveniently obtained according to the first dosage ratio.
Generating a first attribute value according to the first quantization ratio, the first quantity ratio and the first quantity ratio;
the first attribute value is obtained by the following formula,
wherein,in order to be the value of the first attribute,in order to quantify the value of the drug,in order to preset the quantization value, the quantization value is set,the values are normalized for the quantized values and,in order to be the information of the preset quantity,in order to allocate the quantity information,the value is normalized for the quantity,is the information of the preset dosage and is used as the information of the preset dosage,is the information of the dosage of the medicine,is the normalized value of the dosage,as an influence factor of the first attribute value, it can be understood that the medicine quantization valueAnd a first attribute valueProportional, quantity informationAnd a first attribute valueInversely proportional, drug dose informationAnd a first attribute valueIs inversely proportional, wherein the influence factor of the first property valueMay be preset manually.
According to the technical scheme provided by the invention, the corresponding first attribute value is obtained through the attribute, the distribution quantity and the corresponding medicine dosage of the medicine, so that the subsequent first allocation time can be conveniently generated according to the first attribute value.
Acquiring first longitude information and first latitude information corresponding to the first geographic information, acquiring second longitude information and second latitude information corresponding to the second geographic information, acquiring a first distance according to the first longitude information, the first latitude information, the second longitude information and the second latitude information, and determining a corresponding first distance offset coefficient according to the first distance.
According to the technical scheme provided by the invention, a system acquires first longitude information and first latitude information corresponding to first geographic information, acquires second longitude information and second latitude information corresponding to second geographic information, and acquires a first distance according to the first longitude information, the first latitude information, the second longitude information and the second latitude information, for example: allocating 500 boxes of cold medicines to a hospital B by the hospital A, correspondingly obtaining longitude and latitude information of the hospital A, obtaining longitude and latitude information of the hospital B, and obtaining a corresponding first distance according to the longitude and latitude information of the hospital A and the longitude and latitude information of the hospital B.
And carrying out migration processing on preset deployment time according to the first attribute migration coefficient and the first distance migration coefficient to obtain first deployment time.
According to the technical scheme provided by the invention, the preset allocation time is subjected to offset processing simultaneously according to the first attribute offset coefficient and the first distance offset coefficient to obtain the corresponding first allocation time, and it can be understood that, in the same principle as the quantization value, the larger the corresponding first attribute offset coefficient is, the larger the corresponding first allocation time is, the first attribute offset coefficient is in direct proportion to the first allocation time, and the larger the corresponding first allocation time is, the larger the first distance offset coefficient is, the first distance offset coefficient is in direct proportion to the first allocation time.
And obtaining a medicine dispensing time interval according to the first time and the first dispensing time.
According to the technical scheme provided by the invention, the corresponding second moment is obtained according to the first moment and the first allocation time, and the corresponding medicine allocation time interval is obtained according to the first moment and the second moment.
In a possible embodiment of the technical solution provided by the present invention, the obtaining a drug dispensing time interval according to the first time and the first dispensing time includes:
obtaining a second moment according to the sum of the first moment and the first allocation time;
obtaining a first distance offset coefficient, a first adjusting time and a second time through the following formulas,
wherein,the first distance is a distance between the first and second electrodes,as the information on the first latitude, there is,in order to be the information of the second latitude,is the second longitude information, and is the second longitude information,is the first degree information of the first degree information,for the first time of the preparation,is a value of a first one of the attributes,is a weight value of an attribute,for the first property the offset coefficient is used,is a weight value of the distance value,is a first distance-offset factor and is,in order to preset the time for the preparation,is the influencing factor of the first deployment time,is the first moment in time of the first day,for the second time instant, it can be understood that the first property shift factorWith a first blending timeProportional, first distance offset coefficientAnd a first blending timeIs in direct proportion;
and determining a medicine dispensing time interval according to the first time and the second time.
According to the technical scheme provided by the invention, the corresponding medicine preparing time interval can be determined according to the first time and the second time, and it can be understood that the medicine preparing time interval can be from the first time to the second time, wherein the first time and the second time can be specific time, and the first preparing time can be a time period, such as: hospital a, at 5 months, 20 days, 13 00, 500 boxes of cold medication are dispensed to hospital B, with a 4 hour dispensing consumption time, hospital B receives 500 boxes of cold medication at 5 months, 20 days, 13 00, the first time is 5 months, 20 days, 13 00, the second time is 5 months, 20 days, 17, 00.
In a possible embodiment, the technical solution provided by the present invention further includes:
and monitoring the user behavior, and if the first allocation time is adjusted to the second allocation time by the user, generating a first adjustment value according to the difference value between the second allocation time and the first allocation time.
According to the technical scheme provided by the invention, the system can monitor the user behavior, and if the user is judged to adjust the first allocation time to the second allocation time, a first adjustment value is generated according to the difference value between the second allocation time and the first allocation time, so that the subsequent adjustment of the influence factor of the first allocation time is facilitated.
And if the first adjusting value is larger than 0, adjusting the influence factor of the first allocation time according to the first adjusting value and the increasing adjusting value to obtain the increased influence factor of the first allocation time.
According to the technical scheme provided by the invention, if the first adjustment value is greater than 0, it can be understood that the first dispensing time is adjusted to the second dispensing time when the user considers that the medicine is not urgent, the influence factor of the first dispensing time is adjusted to be larger according to the first adjustment value and the increased adjustment value to obtain the increased influence factor of the first dispensing time, and it can be understood that the system can automatically prolong the dispensing time when the medicine is dispensed next time, and has the function of recording the behavior of the user for self-learning.
The increased influence factor of the first dosing time is obtained by the following formula,
wherein,for an increased influencing factor of the first fitting time,for the second time of the preparation,is the first adjustment value and is the second adjustment value,to increase the adjustment value, it will be understood that the first adjustment valueFactor of influence of increased first deployment timeIs in direct proportion;
and if the first adjusting value is smaller than 0, adjusting the influence factor of the first allocation time according to the first adjusting value and the reduction adjusting value to obtain the reduced influence factor of the first allocation time.
According to the technical scheme provided by the invention, if the first adjustment value is less than 0, it can be understood that at the moment, the user considers that the prepared medicine is urgent, the first preparation time is reduced to the second preparation time, the influence factor of the first preparation time is reduced according to the first adjustment value and the reduction adjustment value, and the influence factor of the reduced first preparation time corresponding to the prepared medicine is obtained, so that the subsequent preparation time corresponding to the medicine can be automatically reduced, the system has an autonomous learning function, the behavior of the user is recorded, the behavior is recorded and learned and adjusted, and the subsequently output result can meet the requirements of the user.
The reduced influence factor of the first dosing time is obtained by the following formula,
wherein,to reduce the impact factor of the first deployment time,for the second time of the preparation,is the first adjustment value and is the second adjustment value,to reduce the adjustment value, it will be appreciated that,andin inverse proportion.
According to the technical scheme provided by the invention, the behaviors of the user can be recorded and learned, and the influence factors of the corresponding first allocation time are generated aiming at the corresponding learning adjustment of different medicines, so that the subsequent output result can meet the requirements of the user better and has an autonomous learning function.
Step S140, receiving second allocation data uploaded by a second allocating end located at an allocating destination in real time, wherein the second allocation data comprises the allocating destination and the medicine label, traversing first allocation data corresponding to the second allocation data in the medicine list to be allocated, and deleting the traversed first allocation data from the medicine list to be allocated.
According to the technical scheme provided by the invention, the system can receive second allocation data uploaded by a second allocation library end located at an allocation destination in real time, wherein the second allocation data comprises the allocation destination and the medicine label, and it can be understood that after the second allocation library end receives corresponding medicines, the second allocation data can also be uploaded to the cloud server, first allocation data corresponding to the second allocation data in the medicine list to be allocated is traversed, and the traversed first allocation data is deleted from the medicine list to be allocated, and it can be understood that when the second allocation data uploaded by the second allocation library end is consistent with the first allocation data, the first allocation data is deleted, for example: the first allocation data uploaded to the cloud server by the hospital A are as follows: allocating 500 boxes of cold medicines to the hospital B, and uploading second allocation data when the hospital B receives 500 boxes of cold medicines: when receiving 500 boxes of cold medicines in the hospital A in the hospital B, the hospital B deletes the first allocation data correspondingly to complete the corresponding allocation task, so that the system can automatically record corresponding medicine allocation data, automatic processing is realized, and manpower resources are saved.
Step S150, if the corresponding second dispensing data is not received in the medicine dispensing time interval, outputting reminding information to the first dispensing end.
According to the technical scheme provided by the invention, if the corresponding second dispensing data is not received in the medicine dispensing time interval, the reminding information is output to the first dispensing end, and it can be understood that if the corresponding second dispensing data is not received in the medicine dispensing time interval, the problem of medicine dispensing at the moment is shown, the reminding information is output to the first dispensing end possibly caused by medicine loss or delay time on the route, and the first dispensing end can conveniently trace back according to the automatically recorded historical information.
In a possible embodiment, as shown in fig. 2, the technical solution provided by the present invention further includes:
step S210, if the actual dispensing time of the first dispensing end drug is longer than the first dispensing time, respectively counting the actual dispensing time and the first dispensing time to obtain an actual total dispensing time and a first total dispensing time.
According to the technical scheme provided by the invention, if the actual blending time of the first blending library end medicine is longer than the first blending time, the actual blending time is counted to obtain the corresponding actual blending total time, and the first blending time is counted to obtain the corresponding first blending total time.
Step S220, generating a first blending ratio according to the ratio of the actual blending total time to the first blending total time.
According to the technical scheme provided by the invention, the corresponding first allocation ratio can be obtained according to the ratio of the actual allocation total time to the first allocation total time, and the ratio of the actual allocation total time to the first allocation total time reflects the distribution delay.
Step S230, generating a deployment people number image according to the first deployment ratio and the actual deployment people number.
According to the technical scheme provided by the invention, the system can generate the deployment person number portrait according to the product of the first deployment ratio and the actual deployment person number, and the deployment person number portrait can be obtained by carrying out offset processing on the preset deployment time to obtain the first deployment time, and the preset deployment time is obtained by carrying out weighted average according to the historical deployment time and is the time that deployment personnel can arrive, so that the larger the first deployment ratio is, the larger the difference of the actual deployment total time compared with the first deployment total time is, the slower the deployment speed is, the smaller the number of the persons in charge of deployment is, and the slower the deployment speed is caused.
Step S240, generating the required number of people according to the difference value between the number of people allocated and the number of people actually allocated.
According to the technical scheme provided by the invention, the system can obtain the number of people needing to be distributed according to the difference value between the number of people to be distributed and the number of people actually distributed.
The required number of people is obtained by the following formula,
wherein,the number of people who need the medicine is the number of people,the influence factors of the number of people are actually configured,the number of people is actually allocated,in order to prepare an upper limit value of the kind of the drug,is as followsThe actual dispensing time of the drug to be dispensed,is a firstThe first dispensing time of a pharmaceutical product is,in order to actually prepare the total time,for the first allocation of total time, it can be understood that the number of persons in needThe total time of blending with the actualProportional to the number of people in needAnd the first blending timeInversely proportional, the influence factor of the actual number of persons allocatedCan be preset manually according to the situation.
According to the technical scheme provided by the invention, the first allocation ratio can be obtained through the ratio of the actual allocation total time to the preset allocation total time, the currently required allocation number is obtained according to the first allocation ratio, the actual allocation number and the influence factor of the actual allocation number, and the required number is obtained according to the difference value of the currently required allocation number and the actual allocation number.
In a possible embodiment, the technical solution provided by the present invention further includes:
and respectively counting all the allocation quantity information, the allocation frequency information and the working duration of the first allocation library end within a preset time to obtain the allocation total number information, the total frequency information and the working total duration.
According to the technical scheme provided by the invention, the system can count all the allocation quantity information of the first allocation library end within the preset time to obtain the allocation total information, can count the allocation times to obtain the total times information, and can count the working time of each person to obtain the total working time, for example: make statistics of 3 allotment personnel of A hospital in 1 week and allocated 5 times total and be 1000 casees medicines, allotment personnel's work is long for 10h always, and convenient follow-up obtains corresponding per-capita work load information and work efficiency according to allotment total information, total number of times information and work is long always, and wherein, the work is long for allotment personnel 1 week actual work duration of allotment at every turn, for example: and 5 times of allocation, wherein the time spent in each allocation is 2h, the corresponding working time is 2h, and the total working time is 10h.
And calculating according to the total allocation amount information, the actual allocation number of people at the first allocation library end and the total number information to obtain the per-person workload information.
According to the technical scheme provided by the invention, the system can calculate according to the total allocation information, the total times information and the actual allocation number of people at the first allocation library end to obtain the per-person workload information, and can understand that the system can calculate the total allocation information and the total times information to obtain the total workload and divide the total workload and the number of people to obtain the workload of each person.
And obtaining the per-person efficiency information according to the ratio of the per-person workload information to the total working time.
According to the technical scheme provided by the invention, the system obtains the per-person efficiency information according to the ratio of the per-person workload information to the total working duration, and can understand that the per-person workload information is compared with the total working duration to obtain the working efficiency of each person, for example: the work efficiency of each person is 100 boxes/h because each person divides 1000 boxes by 10h to obtain 100 boxes/h.
The per-person efficiency information is obtained by the following formula,
wherein,in order to provide the per-person efficiency information,in order to allocate the total amount information,in order to adapt the impact factor of the total number information,as the information on the total number of times,as an influence factor of the total number of times information,the number of people is actually allocated at the first library adjusting end,the information of the workload is averaged for the person,for the total duration of the operation, it can be understood that the influence factor of the total information is allocatedThe influence factor of the total times information can be artificially presetThe total number of times information has larger influence on the average efficiency information of the people in the actual allocation process, so the total number of times informationThe influence of (2) is greater than the influence factors of the total deployment number information and the total times informationInfluence factor larger than total deployment informationIt can be appreciated that the per-person efficiency informationCan be used to reflect the work efficiency of each allocating staff of the medical institution.
And sequencing all the first adjusting terminals in a preset range in an ascending order based on the per-person efficiency information to obtain a first efficiency sequence.
According to the technical scheme provided by the invention, the system can perform ascending sequencing on all the first library adjusting ends in the preset range based on the per-person efficiency information of each medical institution, and can obtain a first efficiency sequence from small to large, for example: (hospital A: 100 boxes/h, hospital B: 200 boxes/h, and hospital C: 400 boxes/h), a second efficiency sequence needing training can be conveniently obtained according to the first efficiency sequence, and the efficiency of each hospital can be reflected visually.
And obtaining a first efficiency average value according to the average value of the per-capita efficiency information corresponding to the first tuning bank end and the average value of the per-capita efficiency information corresponding to the last first tuning bank end in the first efficiency sequence.
According to the technical scheme provided by the invention, the system can average the per-capita efficiency information corresponding to the first tuning bank end and the per-capita efficiency information corresponding to the last first tuning bank end in the first efficiency sequence to obtain a corresponding first efficiency average value, for example: a Hospital: 100 boxes/h, hospital C: and 400 boxes/h, the obtained first efficiency mean value is 250 boxes/h, and the paths needing to be trained can be conveniently obtained by subsequent comparison.
And extracting a first library adjusting end smaller than a first efficiency mean value from the first efficiency sequence to obtain a second efficiency sequence.
According to the technical scheme provided by the invention, a first library adjusting end smaller than a first efficiency mean value is sequentially extracted from a first efficiency sequence, for example: a first warehouse adjusting end with the volume less than 250 boxes/h is sequentially extracted from the hospital A with the volume of 100 boxes/h, the hospital B with the volume of 200 boxes/h and the hospital C with the volume of 400 boxes/h to obtain a second efficiency sequence (the hospital A with the volume of 100 boxes/h and the hospital B with the volume of 200 boxes/h), which can directly reflect the convenience of subsequent training management of medical institutions with the volume less than the average value, and can better promote the allocation level from institutions with poor priority training.
And performing management training according to the sequence of the first library adjusting end in the second efficiency sequence.
According to the technical scheme provided by the invention, after the system automatically outputs the second efficiency sequence, the management mechanism can carry out management training according to the sequence of the first database adjusting end in the second efficiency sequence, so that the allocation level is quickly improved.
In a possible embodiment, the technical solution provided by the present invention further includes:
and acquiring the blending quantity information and the blending frequency information of the medicines corresponding to the medicine labels in the second blending data within the replenishment time period.
According to the technical scheme provided by the invention, the system can be used in a replenishment time period, for example: the replenishment time of the medical institution may be once a week or once every 2 days, which is not limited herein, and the information of the amount of prepared drugs and the information of the number of times of preparation corresponding to the drug label in the second preparation data are obtained, for example: the cold medicine is prepared for 2 times in 500 boxes, so that the corresponding quantity can be conveniently generated subsequently, and the next replenishment can be conveniently carried out.
And obtaining the total quantity information of the out-of-stock according to the product of the allocation quantity information and the allocation frequency information.
According to the technical scheme provided by the invention, the system can obtain the total quantity information of the out-of-stock according to the product of the blending quantity information and the blending frequency information, and can understand that 500 boxes of cold medicines are blended for 2 times to obtain 1000 boxes of cold medicines, and the 1000 boxes of cold medicines are the total quantity information of the out-of-stock, so that the corresponding increase can be conveniently carried out in the next replenishment according to the total quantity information of the out-of-stock.
And finishing the next feeding according to the total quantity information of the out-of-stock.
According to the technical scheme provided by the invention, the next time of goods feeding is finished according to the total quantity information of the out-of-stock, and the system can automatically record the information of the quantity of the out-of-stock, so that the next time of the user for replenishing goods, the user can carry out corresponding goods feeding according to the information of the quantity of the out-of-stock, and the repeated allocation is reduced.
In order to better implement the method for managing allocation of a medicine based on inter-regional coordination provided by the present invention, the present invention further provides a system for managing allocation of a medicine based on inter-regional coordination, as shown in fig. 3, including:
the system comprises a correlation module, a cloud server and a database management module, wherein the correlation module is used for a first database adjusting end to obtain a medicine label based on a bar code of a medicine to be adjusted, correlate an input adjusting destination with the medicine label to obtain first adjusting data and upload the first adjusting data to the cloud server;
the extraction module is used for extracting a first moment when the first allocation data is received by the cloud server after the first allocation data is received, determining first geographic information corresponding to the first allocation library end and second geographic information corresponding to the allocation destination, and counting all the first allocation data to generate a corresponding to-be-allocated medicine list;
the acquisition module is used for acquiring drug attribute information corresponding to the drug label, acquiring a second moment according to the first geographic information, the second geographic information, the drug attribute information and the first moment, and acquiring a drug allocation time interval according to the first moment and the second moment by the cloud server;
the deleting module is used for receiving second allocation data uploaded by a second allocation library end located at an allocation destination in real time, traversing first allocation data corresponding to the second allocation data in the to-be-allocated medicine list, and deleting the traversed first allocation data from the to-be-allocated medicine list, wherein the second allocation data comprises the allocation destination and the medicine label;
and the reminding module is used for outputting reminding information to the first library adjusting end if the corresponding second allocation data is not received in the medicine allocation time interval.
As shown in fig. 4, which is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention, the electronic device 50 includes: a processor 51, a memory 52 and computer programs; wherein
A memory 52 for storing the computer program, which may also be a flash memory (flash). The computer program is, for example, an application program, a functional module, or the like that implements the above-described method.
A processor 51 for executing the computer program stored in the memory to implement the steps performed by the apparatus in the above method. Reference may be made in particular to the description relating to the preceding method embodiment.
Alternatively, the memory 52 may be separate or integrated with the processor 51.
When the memory 52 is a device independent of the processor 51, the apparatus may further include:
a bus 53 for connecting the memory 52 and the processor 51.
The present invention also provides a readable storage medium, in which a computer program is stored, and the computer program is used for implementing the method provided by the above-mentioned various embodiments when being executed by a processor.
The readable storage medium may be a computer storage medium or a communication medium. Communication media includes any medium that facilitates transfer of a computer program from one place to another. Computer storage media may be any available media that can be accessed by a general purpose or special purpose computer. For example, a readable storage medium is coupled to a processor such that the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Additionally, the ASIC may reside in user equipment. Of course, the processor and the readable storage medium may also reside as discrete components in a communication device. The readable storage medium may be read-only memory (ROM), random-access memory (RAM), CD-ROMs, magnetic tapes, floppy disks, optical data storage devices, and the like.
The present invention also provides a program product comprising execution instructions stored in a readable storage medium. The at least one processor of the device may read the execution instructions from the readable storage medium, and the execution of the execution instructions by the at least one processor causes the device to implement the methods provided by the various embodiments described above.
In the above embodiments of the apparatus, it should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of hardware and software modules.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and these modifications or substitutions do not depart from the spirit of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A medicine allocation management method based on cooperative allocation among areas is characterized by comprising the following steps:
the method comprises the steps that a first allocating library end obtains a medicine label based on a bar code of a medicine to be allocated, an input allocating destination is associated with the medicine label to obtain first allocating data, and the first allocating data are uploaded to a cloud server;
after receiving the first allocation data, the cloud server extracts a first moment when the first allocation data are received, determines first geographic information corresponding to the first allocation library end and second geographic information corresponding to an allocation destination, and counts all the first allocation data to generate a corresponding to-be-allocated medicine list;
acquiring drug attribute information corresponding to the drug label, obtaining a second moment according to the first geographic information, the second geographic information, the drug attribute information and the first moment, and obtaining a drug allocation time interval by the cloud server according to the first moment and the second moment;
receiving second allocation data uploaded by a second allocation library end located at an allocation destination in real time, wherein the second allocation data comprise the allocation destination and the medicine label, traversing first allocation data corresponding to the second allocation data in the medicine list to be allocated, and deleting the traversed first allocation data from the medicine list to be allocated;
and if the corresponding second dispensing data is not received within the medicine dispensing time interval, outputting reminding information to the first dispensing end.
2. The method of claim 1,
the method for acquiring the drug attribute information corresponding to the drug label includes the steps of obtaining a second moment according to the first geographic information, the second geographic information, the drug attribute information and the first moment, and obtaining a drug allocation time interval by the cloud server according to the first moment and the second moment, including:
acquiring drug attribute information corresponding to the drug label, obtaining a corresponding drug quantitative value according to the drug attribute information, determining a corresponding first attribute value according to the drug quantitative value, the blending quantity information and the drug dosage information, and determining a corresponding first attribute offset coefficient according to the first attribute value;
acquiring first longitude information and first latitude information corresponding to the first geographic information, acquiring second longitude information and second latitude information corresponding to the second geographic information, acquiring a first distance according to the first longitude information, the first latitude information, the second longitude information and the second latitude information, and determining a corresponding first distance offset coefficient according to the first distance;
carrying out migration processing on preset deployment time according to the first attribute migration coefficient and the first distance migration coefficient to obtain first deployment time;
and obtaining a medicine dispensing time interval according to the first time and the first dispensing time.
3. The method of claim 2,
the obtaining of the drug dispensing time interval according to the first time and the first dispensing time includes:
obtaining a second moment according to the sum of the first moment and the first allocation time;
the first distance deviation coefficient, the first adjusting time and the second time are obtained by the following formulas,
wherein,the first distance is a distance between the first and second electrodes,as the information on the first latitude, there is,in order to be the information of the second latitude,is the second longitude information of the first longitude information,is the first degree information of the first degree information,for the first time of the preparation,in order to be the value of the first attribute,is a weight value of the attribute(s),the coefficient is shifted for the first property and,is a weight value of the distance value,is a first distance-offset factor and is,in order to preset the time for the preparation,is the influencing factor of the first deployment time,is the first moment in time of the first day,is the second moment;
and determining a medicine dispensing time interval according to the first time and the second time.
4. The method of claim 3,
the acquiring of the drug attribute information corresponding to the drug label, obtaining the corresponding drug quantification value according to the drug attribute information, and determining the corresponding first attribute value according to the drug quantification value, the blending quantity information, and the drug dosage information includes:
comparing the drug quantitative value with a preset quantitative value to obtain a first quantitative ratio;
comparing the allocation quantity information with preset quantity information to obtain a first quantity ratio;
comparing the medicine dosage information with preset dosage information to obtain a first dosage ratio;
generating a first attribute value according to the first quantization ratio, the first quantity ratio and the first quantity ratio;
the first attribute value is obtained by the following formula,
wherein,is a value of a first one of the attributes,in order to quantify the value of the drug,in order to preset the quantization value, the quantization value is set,the values are normalized for the quantized values and,in order to be the information of the preset quantity,for blendingThe information of the quantity is transmitted to the user,the value is normalized for the quantity,is the information of the preset dosage and is used as the information of the preset dosage,is the information of the dosage of the medicine,is the normalized value of the dosage,is the impact factor of the first attribute value.
5. The method of claim 4, further comprising:
monitoring user behaviors, and if the first allocation time is adjusted to be the second allocation time by a user, generating a first adjustment value according to the difference value between the second allocation time and the first allocation time;
if the first adjusting value is larger than 0, adjusting the influence factor of the first allocation time according to the first adjusting value and the increasing adjusting value to obtain the increased influence factor of the first allocation time;
the increased influence factor of the first dosing time is obtained by the following formula,
6. The method of claim 5, further comprising:
if the first adjusting value is smaller than 0, adjusting the influence factor of the first allocation time according to the first adjusting value and the reduction adjusting value to obtain the reduced influence factor of the first allocation time;
the reduced influence factor of the first dosing time is obtained by the following formula,
7. The method of claim 4, further comprising:
if the actual blending time of the first blending library end medicine is longer than the first blending time, respectively counting the actual blending time and the first blending time to obtain the actual blending total time and the first blending total time;
generating a first blending ratio according to the ratio of the actual total blending time to the first total blending time;
generating a deployed person number image according to the first deployed ratio and the actual deployed person number;
generating the number of required persons according to the difference value between the number of allocated persons and the number of actually allocated persons;
the required number of people is obtained by the following formula,
wherein,the number of people who need the medicine is the number of people,the influence factors of the number of people are actually configured,the number of people is actually allocated,in order to prepare an upper limit value of the kind of the medicine,is as followsThe actual time for preparing the seed medicine is,is as followsA first dispensing time of the drug.
8. The method of claim 7, further comprising:
respectively counting all the allocation quantity information, the allocation frequency information and the working duration of the first allocation library end within a preset time to obtain allocation total number information, total frequency information and working total duration;
calculating according to the allocation total number information, the actual allocation number of people at the first allocation library end and the total number information to obtain the per-person workload information;
obtaining per-person efficiency information according to the ratio of the per-person workload information to the total working time;
the per-person efficiency information is obtained by the following formula,
wherein,in order to provide the per-person efficiency information,in order to allocate the total amount information,in order to adapt the impact factor of the total number information,as the information on the total number of times,as an influence factor of the total number of times information,the actual number of people allocated for the first library adjusting end,the information of the workload is averaged for the people,the total working time is;
based on the per-person efficiency information, sequencing all the first library adjusting ends in an ascending order to obtain a first efficiency sequence;
obtaining a first efficiency average value according to the average value of the per-capita efficiency information corresponding to the first library adjusting end and the per-capita efficiency information corresponding to the last first library adjusting end in the first efficiency sequence;
extracting a first library adjusting end with the average value smaller than the first efficiency value from the first efficiency sequence to obtain a second efficiency sequence;
and performing management training according to the sequence of the first library adjusting end in the second efficiency sequence.
9. The method of claim 4, further comprising:
acquiring the blending quantity information and the blending frequency information of the medicines corresponding to the medicine labels in the second blending data in the replenishment time period;
obtaining out-of-stock total information according to the product of the allocation quantity information and the allocation frequency information;
and finishing the next feeding according to the total quantity information of the out-of-stock.
10. A medicine allocation management system based on collaborative allocation between areas is characterized by comprising the following steps:
the system comprises a correlation module, a cloud server and a database management module, wherein the correlation module is used for a first database adjusting end to obtain a medicine label based on a bar code of a medicine to be adjusted, correlate an input adjusting destination with the medicine label to obtain first adjusting data and upload the first adjusting data to the cloud server;
the extracting module is used for extracting a first moment when the first allocation data are received by the cloud server after the first allocation data are received, determining first geographic information corresponding to the first allocation library end and second geographic information corresponding to an allocation destination, and counting all the first allocation data to generate a corresponding to-be-allocated medicine list;
the acquisition module is used for acquiring drug attribute information corresponding to the drug label, acquiring a second moment according to the first geographic information, the second geographic information, the drug attribute information and the first moment, and acquiring a drug allocation time interval according to the first moment and the second moment by the cloud server;
the deleting module is used for receiving second allocation data uploaded by a second allocation library end located at an allocation destination in real time, traversing first allocation data corresponding to the second allocation data in the to-be-allocated medicine list, and deleting the traversed first allocation data from the to-be-allocated medicine list, wherein the second allocation data comprises the allocation destination and the medicine label;
and the reminding module is used for outputting reminding information to the first library adjusting end if the corresponding second allocation data is not received in the medicine allocation time interval.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210966318.XA CN115049318B (en) | 2022-08-12 | 2022-08-12 | Medicine allocation management method and system based on cooperative allocation among areas |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210966318.XA CN115049318B (en) | 2022-08-12 | 2022-08-12 | Medicine allocation management method and system based on cooperative allocation among areas |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115049318A CN115049318A (en) | 2022-09-13 |
CN115049318B true CN115049318B (en) | 2022-11-15 |
Family
ID=83168021
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210966318.XA Active CN115049318B (en) | 2022-08-12 | 2022-08-12 | Medicine allocation management method and system based on cooperative allocation among areas |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115049318B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110705940A (en) * | 2019-10-09 | 2020-01-17 | 重庆华医康道科技有限公司 | Medicine logistics tracing and checking method based on block chain |
CN111932185A (en) * | 2020-09-14 | 2020-11-13 | 耀方信息技术(上海)有限公司 | Medicine inventory allocation system and method |
CN112951401A (en) * | 2021-04-26 | 2021-06-11 | 湖南城市学院 | Scheduling platform, drug management system, combined drug allocation system and scheduling method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150278482A1 (en) * | 2014-03-27 | 2015-10-01 | Mckesson Financial Holdings | Systems and methods for secure life cycle tracking and management of healthcare related information |
CN112201364A (en) * | 2020-10-19 | 2021-01-08 | 兰付军 | Block chain-based electronic label for drug supply chain and drug tracing method |
-
2022
- 2022-08-12 CN CN202210966318.XA patent/CN115049318B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110705940A (en) * | 2019-10-09 | 2020-01-17 | 重庆华医康道科技有限公司 | Medicine logistics tracing and checking method based on block chain |
CN111932185A (en) * | 2020-09-14 | 2020-11-13 | 耀方信息技术(上海)有限公司 | Medicine inventory allocation system and method |
CN112951401A (en) * | 2021-04-26 | 2021-06-11 | 湖南城市学院 | Scheduling platform, drug management system, combined drug allocation system and scheduling method |
Non-Patent Citations (1)
Title |
---|
现代信息技术在药品流通领域的应用;刘帅;《黑龙江科学》;20220630;第13卷(第12期);第96-98页 * |
Also Published As
Publication number | Publication date |
---|---|
CN115049318A (en) | 2022-09-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20140278466A1 (en) | Pharmacy workflow | |
Pak et al. | Predicting waiting time to treatment for emergency department patients | |
US7613573B2 (en) | Pricing of the identification service by a registry which identifies prospective donors having particular bloodtypes to a requisitioner | |
CN104008449A (en) | System for managing hospitalized patients with medical insurance | |
CN116957471B (en) | Intelligent retail service method, system, electronic equipment and storage medium | |
CN112488893B (en) | Service data processing method and device, storage medium and electronic equipment | |
JP7384961B2 (en) | Feed management equipment, feed management methods and programs | |
CN107451687B (en) | Method for automatically replenishing inventory of test consumables | |
Fortsch et al. | A resilient donor arrival policy for blood | |
CN115049318B (en) | Medicine allocation management method and system based on cooperative allocation among areas | |
CN117059251A (en) | Material fine management method, device, equipment and medium based on cost management and control | |
CN110782361A (en) | Recommendation method and device for customized insurance | |
Yarnoff et al. | Estimating the costs and income of providing vaccination to adults and children | |
Lourenço et al. | Utilization of public health centres in Portugal: effect of time costs and other determinants. Finite mixture models applied to truncated samples | |
CN107464077B (en) | Test drug inventory management system applied to research center | |
CN108364145B (en) | Information determination method and device | |
US20070021978A1 (en) | System and method for clinical cost capture on a job cost basis | |
WO2021228198A1 (en) | Delivery order allocation method and device, storage medium, and electronic apparatus | |
CN113988933A (en) | Advertisement putting method, device, equipment and medium | |
WO2020119113A1 (en) | Premium pricing method, device, equipment for medicines based on big data and storage medium | |
CN110766559A (en) | Label configuration method and device | |
CN109493148A (en) | Method for building up, device, equipment and the storage medium of Premium Pricing Model | |
CN113570411B (en) | Popularization information display method and device, electronic equipment and storage medium | |
CN109636468A (en) | Premium calculation principle method, apparatus, equipment and the storage medium of drug | |
Green et al. | Providing timely access to medical care: a queueing model |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 214000, Floor 20, Office Area, Yinhua Financial Building, Licheng Road 18, Wuxi Economic Development Zone, Wuxi City, Jiangsu Province Patentee after: Zhongweixin Software Co.,Ltd. Address before: 7th Floor, Building 02, R&D Headquarters Park, Nanjing Xincheng Science and Technology Park, No. 68 Olympic Sports Street, Jianye District, Nanjing City, Jiangsu Province 210000 Patentee before: Nanjing zhongweixin Software Technology Co.,Ltd. |
|
CP03 | Change of name, title or address |