CN111899838A - Authority task allocation method, terminal device and storage medium - Google Patents
Authority task allocation method, terminal device and storage medium Download PDFInfo
- Publication number
- CN111899838A CN111899838A CN202010684849.0A CN202010684849A CN111899838A CN 111899838 A CN111899838 A CN 111899838A CN 202010684849 A CN202010684849 A CN 202010684849A CN 111899838 A CN111899838 A CN 111899838A
- Authority
- CN
- China
- Prior art keywords
- prescription
- party
- auditing
- audited
- auditor
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000012545 processing Methods 0.000 claims abstract description 75
- 238000012550 audit Methods 0.000 claims abstract description 44
- 238000004458 analytical method Methods 0.000 claims description 20
- 238000011156 evaluation Methods 0.000 claims description 14
- 239000003814 drug Substances 0.000 description 21
- 238000004891 communication Methods 0.000 description 20
- 238000003745 diagnosis Methods 0.000 description 15
- 229940079593 drug Drugs 0.000 description 14
- 238000004590 computer program Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000036541 health Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000012552 review Methods 0.000 description 3
- 239000003242 anti bacterial agent Substances 0.000 description 2
- 229940088710 antibiotic agent Drugs 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000005034 decoration Methods 0.000 description 2
- 201000010099 disease Diseases 0.000 description 2
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000010267 cellular communication Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- -1 incompatibility Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000000399 orthopedic effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 208000024891 symptom Diseases 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H20/00—ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
- G16H20/10—ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to drugs or medications, e.g. for ensuring correct administration to patients
- G16H20/13—ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to drugs or medications, e.g. for ensuring correct administration to patients delivered from dispensers
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H40/00—ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
- G16H40/20—ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the management or administration of healthcare resources or facilities, e.g. managing hospital staff or surgery rooms
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Public Health (AREA)
- Epidemiology (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Primary Health Care (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Medicinal Chemistry (AREA)
- Chemical & Material Sciences (AREA)
- Biomedical Technology (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Abstract
The invention provides a method for allocating a party task, a terminal device and a storage medium, wherein the method allocates a prescription based on a load balancing thought of a minimum active number, and specifically comprises the following steps: at the current moment of acquiring the prescription to be audited, acquiring the minimum task number, the processing task type and the auditor log of auditing equipment of each party; and analyzing according to the minimum task number, the processing task type and the auditor log to obtain a target audit queue, and pushing the prescription to be audited to the target audit queue according to the atomic operation mode. The invention reduces redundant access by actively pushing the prescription to be checked, improves the speed of checking the prescription of a prescription checking pharmacist, and greatly reduces the waiting time of the whole prescription checking.
Description
Technical Field
The invention relates to the technical field of medicine management, in particular to a method for allocating a party task, terminal equipment and a storage medium.
Background
In reality, hundreds of millions of patients visit a hospital every day, correspondingly, doctors can make a large number of prescriptions, wherein many unreasonable prescriptions exist, and unreasonable prescriptions mainly reflect that the prescriptions violate reasonable medication rules, corresponding medication management systems of health departments, existing medical insurance policies and the like, such as overdose medication, repeated medication, incompatibility, antibiotics abuse, medication at an overdose level and the like, the unreasonable prescriptions can seriously affect the physical health of the patients, and the medical cost of the patients can be increased. Moreover, the reasonable medication examination, prescription comment and the like are post examination, and hysteresis exists.
Therefore, after a doctor has a medical diagnosis prescription, prescription information needs to be sent to the prescription auditing equipment, and the prescription to be audited is automatically taken by the prescription auditor of the prescription auditing equipment for auditing.
Disclosure of Invention
The invention aims to provide a method for allocating an auditor task, terminal equipment and a storage medium, which can reduce redundant access by actively pushing a prescription to be audited, improve the auditor speed of an auditor pharmacist, and greatly reduce the waiting time of the overall auditor.
The technical scheme provided by the invention is as follows:
the invention provides a method for allocating an auditor task, which comprises the following steps:
at the current moment of acquiring the prescription to be audited, acquiring the minimum task number, the processing task type and the auditor log of auditing equipment of each party;
and analyzing according to the minimum task number, the processing task type and the auditor log to obtain a target audit queue, and pushing the prescription to be audited to the target audit queue according to an atomic operation mode.
Further, the step of obtaining a target audit queue according to the minimum task number, the processing task type and the auditor log analysis, and the step of pushing the prescription to be audited to the target audit queue according to an atomic operation mode includes:
judging whether the minimum task number of the auditing equipment of each party is equal or not;
if the minimum task numbers of the auditing devices of all parties are not equal, determining an auditing queue with the minimum task number value and the processing task type matched with the service type of the prescription to be audited as a target auditing queue;
if the minimum task number of each party of auditing equipment is equal, obtaining a target auditing queue according to the service type of the prescription to be audited, the processing task type of each party of auditing equipment and the auditor log;
and actively pushing the prescription to be audited to the target auditing queue by combining a distributed lock according to an atomic operation mode.
Further, the obtaining of the target audit queue according to the auditor log comprises the following steps:
analyzing according to the party log to obtain the party rate, the average time, the correct rate and the number of parties of each party of the party of;
carrying out weighted operation according to the party reviewing rate, the party reviewing average time, the party reviewing accuracy and the party reviewing quantity to obtain the party reviewing evaluation value of each party reviewing pharmacist;
and determining that the processing task type is matched with the service type of the prescription to be audited, and setting the auditing queue with the maximum auditor evaluation value as the target auditing queue.
Further, the step of obtaining a target audit queue according to the minimum task number, the processing task type and the auditor log analysis, and pushing the prescription to be audited to the target audit queue according to an atomic operation mode includes:
counting time from the time of pushing to the auditing queue to obtain auditing waiting time;
and if the auditing waiting time reaches the preset time, returning the prescription to be audited to the prescription issuing equipment, and assisting the auditor by the prescription doctor.
The present invention also provides a terminal device, including:
the acquisition module is used for acquiring the minimum task number, the processing task type and the auditor log of the auditing equipment of each party at the current moment of acquiring the prescription to be audited;
and the processing module is used for obtaining a target auditing queue according to the minimum task number, the processing task type and the auditor log analysis, and pushing the prescription to be audited to the target auditing queue according to an atomic operation mode.
Further, the processing module comprises:
the judging unit is used for judging whether the minimum task number of the auditing equipment of each party is equal or not;
the analysis unit is used for determining an audit queue with the minimum task number value and the processing task type matched with the service type of the prescription to be audited as a target audit queue if the minimum task numbers of the audit devices of all parties are not equal; if the minimum task number of each party of auditing equipment is equal, obtaining a target auditing queue according to the service type of the prescription to be audited, the processing task type of each party of auditing equipment and the auditor log;
and the pushing unit is used for actively pushing the prescription to be audited to the target auditing queue according to an atomic operation mode by combining with the distributed lock.
Further, the analysis unit includes:
the analysis subunit is used for obtaining the party-checking rate, the party-checking average time, the party-checking accuracy and the party-checking quantity of each party-checking pharmacist according to the party-checking log analysis;
the operation subunit is used for carrying out weighted operation according to the party reviewing rate, the party reviewing average time, the party reviewing accuracy and the number of parties to obtain the party reviewing evaluation value of each party reviewing pharmacist;
and the processing subunit is configured to determine that the processing task type matches the service type of the prescription to be audited, and the auditing queue with the largest auditor evaluation value is the target auditing queue.
Further, the method also comprises the following steps:
the timing module is used for timing from the time of pushing to the auditing queue to obtain auditing waiting time;
and the processing module is further used for returning the prescription to be audited to the prescription issuing equipment and assisting the auditing party by the issuing doctor if the auditing waiting time reaches the preset time.
The invention also provides a storage medium, wherein at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to realize the operation executed by the method for allocating the auditor task.
Through the allocation method of the auditor tasks, the terminal equipment and the storage medium, provided by the invention, redundant access can be reduced through a mode of actively pushing the prescriptions to be audited, the auditor speed of the auditor pharmacist is improved, and the waiting time of the overall auditor is greatly reduced.
Drawings
The above-described characteristics, technical features, advantages and implementations of a method for distributing reviewers' tasks, a terminal device and a storage medium will be further explained in a clearly understandable manner in the following description of preferred embodiments in conjunction with the accompanying drawings.
FIG. 1 is a flow diagram of one embodiment of a method of assigning reviewer tasks according to the present invention;
FIG. 2 is a flow diagram of another embodiment of a method of assigning reviewer tasks according to the present invention;
FIG. 3 is a flow diagram of another embodiment of a method of assigning reviewer tasks according to the present invention;
fig. 4 is a schematic structural diagram of an embodiment of a terminal device of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
For the sake of simplicity, the drawings only schematically show the parts relevant to the present invention, and they do not represent the actual structure as a product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically illustrated or only labeled. In this document, "one" means not only "only one" but also a case of "more than one".
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
In addition, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not intended to indicate or imply relative importance.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
One embodiment of the present invention, as shown in fig. 1, is a method for allocating a reviewer task, including:
s100, at the current moment of obtaining the prescription to be audited, obtaining the minimum task number, the processing task type and the auditor log of auditing equipment of each party;
specifically, the prescription to be reviewed includes a medical diagnosis prescription which is prescribed by a doctor according to the patient's condition, and a prescription which is prescribed by the doctor according to the patient's condition and has an uncertain result after the doctor reviews the medical diagnosis prescription according to a preset reviewing rule.
The medical diagnosis prescription is automatically checked according to preset prescription checking rules, a prescription checking rule base is mainly established through prescription checking equipment, the prescription checking rule base comprises preset prescription checking rules, the preset prescription checking rules are established according to prescription management methods, Chinese national prescription collections, medicine specifications, documents and the like, and can be the existing preset prescription checking rules which are already used or can be established automatically.
No matter which prescription to be checked, the prescription includes patient information and medicine information, wherein the patient information includes the name, sex, age, diagnosis (including symptoms), special population marks (such as pregnant women, lying-in women, old people, children, newborns and the like), prescription date and the like of the patient, and the medicine information mainly includes detailed information of each medicine prescribed by a doctor, including general names (including codes), quantity, price, usage amount, administration route and the like of the medicine.
The minimum task number is the task number in the auditor equipment, and the minimum task number is obtained in real time according to the current situation. The auditor log is auditor record data generated by prescription auditing equipment used by each auditor pharmacist during routine auditor work. The processing task type is the field or type of the prescription which is adept or distributed by the corresponding prescription pharmacist and needs to process the checking prescription, and the processing task type of the prescription pharmacist is associated with the equipment number (such as an MAC address, a model, an identifier and the like) of the prescription checking equipment used by the prescription pharmacist, so that the processing task type of the prescription checking equipment used by each prescription pharmacist can be obtained according to the equipment number of the prescription checking equipment. For example, one prescription pharmacist is good at pediatric disease-related prescriptions, the other prescription pharmacist is good at orthopedic disease-related prescriptions, in short, the types of processing tasks can be classified according to the needs of medical institutions, and any classification method of the types of processing tasks is within the protection scope of the present invention.
S200, a target auditing queue is obtained according to the minimum task number, the processing task type and the auditor log analysis, and the prescription to be audited is pushed to the target auditing queue according to the atomic operation mode.
Specifically, an atomic operation refers to an operation that is not interrupted by a thread scheduling mechanism, and once the operation is started, the operation is run to the end, and there is no switching to another thread in the middle, the atomic operation may be one step or multiple operation steps, but the order of the atomic operation may not be disturbed, or may not be cut and only a part of the operation steps is executed, so that the recipe to be reviewed can be prevented from being repeatedly distributed.
After a doctor uses a prescription device (a device used by the doctor to make a prescription) to make a medical diagnosis prescription, a terminal device such as a server obtains the medical diagnosis prescription from the prescription device, and then obtains the minimum task number, the processing task type and the trial party log of each prescription auditing device according to the receiving time of the medical diagnosis prescription received from the prescription device as the current time. And the terminal equipment such as the server and the like directly obtains a target audit queue according to the minimum task number, the processing task type and the auditor log, and pushes the prescription to be audited to the target audit queue according to the atomic operation mode.
Of course, if a doctor uses the prescription device to make a medical diagnosis prescription, the terminal device such as the server obtains the medical diagnosis prescription from the prescription device, then the terminal device such as the server checks the medical diagnosis prescription according to the preset prescription checking rule, and if the checking result is uncertain, the time when the checking result is uncertain is obtained by judging the medical diagnosis prescription, and the minimum task number, the processing task type and the prescription checking log of each prescription checking device are obtained as the current time. And the terminal equipment such as the server and the like directly obtains a target audit queue according to the minimum task number, the processing task type and the auditor log, and pushes the prescription to be audited to the target audit queue according to the atomic operation mode.
Preferably, after the doctor uses the prescription device to prescribe the medical diagnosis prescription, the doctor firstly pushes the medical diagnosis prescription to the intelligent examiner engine to examine the medical diagnosis prescription by adopting a preset examiner rule.
In the embodiment, the target audit queue is obtained according to the minimum task number, the processing task type and the auditor log of each auditor, and the prescription to be audited is actively pushed to the target audit queue for waiting for audit according to the atomic operation mode, so that the speed of auditing the prescription can be improved, the waiting time of the whole auditor is reduced, the user experience is optimized, and the concurrence is improved.
One embodiment of the present invention, as shown in fig. 2, is a method for allocating a reviewer task, including:
s100, at the current moment of obtaining the prescription to be audited, obtaining the minimum task number, the processing task type and the auditor log of auditing equipment of each party;
s210, judging whether the minimum task number of the auditing equipment of each party is equal or not;
s220, if the minimum task numbers of the auditing devices of all parties are not equal, determining an auditing queue with the minimum task number value and the processing task type matched with the service type of the prescription to be audited as a target auditing queue;
s230, if the minimum task number of each party of auditing equipment is equal, obtaining a target auditing queue according to the service type of the prescription to be audited, the processing task type of each party of auditing equipment and the auditor log;
s240, the prescription to be audited is actively pushed to the target audit queue according to the atomic operation mode by combining the distributed lock.
Specifically, the terminal device such as the server determines whether the minimum number of tasks of the auditing devices of each party is equal. If the minimum task numbers of the auditing devices of all parties are judged to be unequal, the terminal device directly determines that if the minimum task numbers of the auditing devices of all parties are unequal, the auditing queue which determines that the minimum task number is the minimum and the processing task type is matched with the service type of the prescription to be audited is a target auditing queue, so that the purpose of load balancing is achieved, the condition that the prescription auditing device with the large task number receives more prescriptions to be audited to cause that the prescription cannot be audited in time, and the condition that the prescription auditing device with the small task number receives fewer prescriptions to be audited to cause that part of prescription auditors have no prescription auditing is avoided. If the minimum task number of the auditing equipment of each party is equal, a target auditing queue is obtained according to the service type of the prescription to be audited, the processing task type of the auditing equipment of each party and the auditor log, so that a proper auditing queue can be selected as the target auditing queue based on the auditor condition of each auditor pharmacist.
According to the method and the device for processing the prescription, the target auditing queue is obtained according to the minimum task number, the processing task type and the auditor log of the auditing equipment of each party, the prescription to be audited is actively pushed to the target auditing queue to wait for auditing, the speed of auditing the prescription can be improved, the waiting time of the whole auditor is reduced, the user experience is optimized, and the concurrency is improved. In addition, in the embodiment, the target audit queue is analyzed based on the minimum task number, the processing task type and the auditor log, so that the balanced distribution of the prescriptions to be audited can be realized in an all-around manner, the auditor tasks of the auditors and pharmacists are guaranteed to be balanced, the auditor efficiency is greatly improved, and the waste of human resources is avoided.
In an embodiment of the present invention, as shown in fig. 3, a method for allocating a reviewer task includes:
s100, at the current moment of obtaining the prescription to be audited, obtaining the minimum task number, the processing task type and the auditor log of auditing equipment of each party;
s210, judging whether the minimum task number of the auditing equipment of each party is equal or not;
s220, if the minimum task numbers of the auditing devices of all parties are not equal, determining an auditing queue with the minimum task number value and the processing task type matched with the service type of the prescription to be audited as a target auditing queue;
s231, if the minimum task number of each party of auditing equipment is equal, obtaining the party auditing rate, the party auditing average time, the party auditing accuracy and the party auditing number of each party of auditing pharmacist according to the party auditing log analysis;
s232, calculating according to any one or more of the party rate, the party average time, the party accuracy and the party number to obtain the party evaluation value of each party pharmacist;
s233, determining that the processing task type is matched with the service type of the prescription to be audited, and the auditing queue with the maximum auditor evaluation value is the target auditing queue;
specifically, the same portions of this embodiment as those of the above embodiment refer to the above embodiment, and are not described in detail herein. A minimum task number method based on load balancing and a weighted random method are combined to automatically and dynamically allocate prescriptions to the prescription pharmacist. The method comprises the steps that distributed TOPIC types based on HTTP SSE and JEDISSON are adopted, the minimum task number is obtained according to current task data of prescription auditing equipment used by an auditor pharmacist, if the minimum task number of each prescription auditing equipment is not equal, a prescription to be audited is actively pushed to an auditing interface of the auditor pharmacist, the minimum task number is the minimum, and the task type is matched with the service type of the prescription to be audited.
If the minimum number of tasks of the auditing equipment of each party is equal, the prescription rate of the pharmacist, the average time of the prescription, the workload of the pharmacist (namely the number of the prescription to be audited) and the accuracy rate of the prescription to be audited (which can be obtained by evaluating and calculating the prescription of a subsequent patient) and the like are obtained according to the prescription log, then, weighted calculation is carried out according to one or more items to obtain the evaluation value of each auditor pharmacist, the auditing queue with the maximum evaluation value of each auditor is determined as the optimal doctor queue, because the corresponding processing task types of different optimal doctor queues are possibly different, the optimal doctor queue matched with the processing task type and the service type of the prescription to be audited is screened out as a final target auditing queue, the prescription to be audited is then distributed to the distributed TOPIC of the pharmacist corresponding to the final target audit queue, namely, the prescription to be audited is actively pushed to the audit interface of the auditor pharmacist belonging to the target audit queue through the HTTP SSE protocol.
S240, combining the distributed lock and actively pushing the prescription to be audited to a target audit queue according to an atomic operation mode;
s300, counting time from the time of pushing to the auditing queue to obtain auditing waiting time;
s400, if the auditing waiting time reaches the preset time, returning the prescription to be audited to the prescription issuing equipment, and assisting the auditing party by the issuing doctor.
Specifically, after receiving the prescription to be reviewed, the prescription review device actively adds the number of the prescription to be reviewed to the list to be reviewed, or adds the number of the prescription to be processed, and displays the number of the prescription to be reviewed in a highlighted manner. The checking pharmacist checks the reasonableness of the prescription to be checked, namely checks the prescription mainly in the aspects of excessive medication, repeated medication, super-adaptive medication, super-differential medication, incompatibility of compatibility, adverse interaction medication, inconsistent administration route, inconsistent medication for special people, inconsistent medication for antibiotics, inconsistent writing of the prescription and the like. The auditing method of the prescription checking pharmacist is characterized in that the prescription auditing equipment calls the patient's treatment record, the examination of the prescription to be audited is realized through the combination of the treatment record, the prescription to be audited, the preset prescription rule and the medical experience of the pharmacist, the examination is more comprehensive and accurate, the feasibility of the prescription to be audited is ensured, whether the prescription to be audited is reasonable or not can be known in time, the requirements of medical insurance policy, medication contraindication and the like are met, the serious influence on the body health of the pharmacist when the pharmacist takes medicine according to an unreasonable prescription is avoided, and the medical cost of the pharmacist is prevented from being increased.
After the prescription to be audited is pushed to the corresponding target auditing queue, the receiving time of each queue receiving the newly pushed prescription to be audited is recorded, the time is started to be counted by taking the receiving time as a starting point to obtain the auditing waiting time, whether the auditing result returned by the corresponding prescription auditing equipment is received within the preset time is detected, if the returned auditing result is received within the preset time, the auditing result is fed back to the issuing equipment, the auditing result is displayed for the issuing doctor to refer, and the prescription auditing is finished. And if the audit result is not received within the preset time, canceling the task of receiving the audit result, and pushing the prescription to be audited, which does not receive the audit result within the preset time, to the issuing equipment again, so that the issuing doctor assists the auditing party.
In the embodiment, after the terminal equipment cancels the task of receiving the auditing result, the network resource can be released, and the network processing efficiency can be effectively improved. After the preset time length is exceeded, the doctor of the prescribing side carries out auditing again, the waiting time of the whole auditor is reduced, and the auditing efficiency is greatly improved.
In an embodiment of the present invention, as shown in fig. 4, a terminal device includes:
the acquisition module 10 is configured to acquire a minimum task number, a processing task type, and an auditor log of each auditor device at a current time when the prescription to be audited is acquired;
and the processing module 20 is configured to obtain a target audit queue according to the minimum number of tasks, the processing task type, and the auditor log, and push the prescription to be audited to the target audit queue according to an atomic operation mode.
Specifically, this embodiment is a device embodiment corresponding to the method embodiment, and specific effects refer to the method embodiment, which is not described in detail herein.
Based on the foregoing embodiment, the processing module 20 includes:
the judging unit is used for judging whether the minimum task number of the auditing equipment of each party is equal or not;
the analysis unit is used for determining an audit queue with the minimum task number value and the processing task type matched with the service type of the prescription to be audited as a target audit queue if the minimum task numbers of the audit devices of all parties are not equal; if the minimum task number of each party of auditing equipment is equal, obtaining a target auditing queue according to the service type of the prescription to be audited, the processing task type of each party of auditing equipment and the auditor log;
and the pushing unit is used for actively pushing the prescription to be audited to the target auditing queue according to the atomic operation mode by combining the distributed lock.
Specifically, this embodiment is a device embodiment corresponding to the method embodiment, and specific effects refer to the method embodiment, which is not described in detail herein.
Based on the foregoing embodiment, the analysis unit includes:
the analysis subunit is used for obtaining the party-checking rate, the party-checking average time, the party-checking accuracy and the party-checking quantity of each party-checking pharmacist according to the party-checking log analysis;
the operation subunit is used for carrying out weighting operation according to the party reviewing rate, the party reviewing average time, the party reviewing accuracy and the number of parties to obtain the party reviewing evaluation value of each party reviewing pharmacist;
and the processing subunit is used for determining that the processing task type is matched with the service type of the prescription to be audited, and the auditing queue with the maximum auditor evaluation value is the target auditing queue.
Specifically, this embodiment is a device embodiment corresponding to the method embodiment, and specific effects refer to the method embodiment, which is not described in detail herein.
Based on the foregoing embodiment, further comprising:
the timing module is used for timing from the time of pushing to the auditing queue to obtain auditing waiting time;
the processing module 20 is further configured to return the prescription to be reviewed to the prescription issuing device and assist the reviewing party by the issuing doctor if the review waiting time reaches the preset time.
Specifically, this embodiment is a device embodiment corresponding to the method embodiment, and specific effects refer to the method embodiment, which is not described in detail herein.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of program modules is illustrated, and in practical applications, the above-described distribution of functions may be performed by different program modules, that is, the internal structure of the apparatus may be divided into different program units or modules to perform all or part of the above-described functions. Each program module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one processing unit, and the integrated unit may be implemented in a form of hardware, or may be implemented in a form of software program unit. In addition, the specific names of the program modules are only used for distinguishing the program modules from one another, and are not used for limiting the protection scope of the application.
The terminal device can be a desktop computer, a notebook, a palm computer, a tablet computer and the like. The terminal device may include, but is not limited to, a processor, a memory. Those skilled in the art will appreciate that the foregoing is merely an example of a terminal device and is not limiting of terminal devices, and that more or fewer components than those shown, or some of the components in combination, or different components may be included, such as: the terminal device may also include input/output interfaces, display devices, network access devices, communication buses, communication interfaces, and the like. A communication interface and a communication bus, and may further comprise an input/output interface, wherein the processor, the memory, the input/output interface and the communication interface complete communication with each other through the communication bus. The memory stores a computer program, and the processor is used for executing the computer program stored on the memory and realizing the method for allocating the auditor task in the corresponding method embodiment.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory may be an internal storage unit of the terminal device, such as: hard disk or memory of the terminal device. The memory may also be an external storage device of the terminal device, such as: the terminal equipment is provided with a plug-in hard disk, an intelligent memory Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like. Further, the memory may also include both an internal storage unit and an external storage device of the terminal device. The memory is used for storing the computer program and other programs and data required by the terminal device. The memory may also be used to temporarily store data that has been output or is to be output.
A communication bus is a circuit that connects the described elements and enables transmission between the elements. For example, the processor receives commands from other elements through the communication bus, decrypts the received commands, and performs calculations or data processing according to the decrypted commands. The memory may include program modules such as a kernel (kernel), middleware (middleware), an Application Programming Interface (API), and applications. The program modules may be comprised of software, firmware or hardware, or at least two of the same. The input/output interface forwards commands or data entered by a user via the input/output interface (e.g., sensor, keyboard, touch screen). The communication interface connects the terminal equipment with other network equipment, user equipment and a network. For example, the communication interface may be connected to a network by wire or wirelessly to connect to external other network devices or user devices. The wireless communication may include at least one of: wireless fidelity (WiFi), Bluetooth (BT), Near Field Communication (NFC), Global Positioning Satellite (GPS) and cellular communications, among others. The wired communication may include at least one of: universal Serial Bus (USB), high-definition multimedia interface (HDMI), asynchronous transfer standard interface (RS-232), and the like. The network may be a telecommunications network and a communications network. The communication network may be a computer network, the internet of things, a telephone network. The terminal device may be connected to the network via a communication interface, and a protocol used by the terminal device to communicate with other network devices may be supported by at least one of an application, an Application Programming Interface (API), middleware, a kernel, and a communication interface.
In an embodiment of the present invention, a storage medium stores at least one instruction, and the instruction is loaded and executed by a processor to implement the operations performed by the corresponding embodiments of the method for allocating an auditor task. For example, the storage medium may be a read-only memory (ROM), a Random Access Memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
They may be implemented in program code that is executable by a computing device such that it is executed by the computing device, or separately, or as individual integrated circuit modules, or as a plurality or steps of individual integrated circuit modules. Thus, the present invention is not limited to any specific combination of hardware and software.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or recited in detail in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units may be stored in a storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by sending instructions to relevant hardware through a computer program, where the computer program may be stored in a storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program may be in source code form, object code form, an executable file or some intermediate form, etc. The storage medium may include: any entity or device capable of carrying the computer program, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the content of the storage medium may be increased or decreased as appropriate according to the requirements of legislation and patent practice in the jurisdiction, for example: in certain jurisdictions, in accordance with legislation and patent practice, computer-readable storage media do not include electrical carrier signals and telecommunications signals.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (9)
1. A method for distributing a task of a party to be examined is characterized by comprising the following steps:
at the current moment of acquiring the prescription to be audited, acquiring the minimum task number, the processing task type and the auditor log of auditing equipment of each party;
and analyzing according to the minimum task number, the processing task type and the auditor log to obtain a target audit queue, and pushing the prescription to be audited to the target audit queue according to an atomic operation mode.
2. The method for allocating the task of the auditor as claimed in claim 1, wherein the step of obtaining a target audit queue according to the minimum number of tasks, the type of processing task, and the auditor log analysis, and the step of pushing the prescription to be audited to the target audit queue according to the atomic operation mode includes the steps of:
judging whether the minimum task number of the auditing equipment of each party is equal or not;
if the minimum task numbers of the auditing devices of all parties are not equal, determining an auditing queue with the minimum task number value and the processing task type matched with the service type of the prescription to be audited as a target auditing queue;
if the minimum task number of each party of auditing equipment is equal, obtaining a target auditing queue according to the service type of the prescription to be audited, the processing task type of each party of auditing equipment and the auditor log;
and actively pushing the prescription to be audited to the target auditing queue by combining a distributed lock according to an atomic operation mode.
3. The method for distributing the task of the auditor as claimed in claim 2, wherein the step of obtaining the target audit queue according to the service type of the prescription to be audited, the processing task type of the audit device of each auditor and the auditor log comprises the steps of:
analyzing according to the party log to obtain the party rate, the average time, the correct rate and the number of parties of each party of the party of;
carrying out weighted operation according to the party reviewing rate, the party reviewing average time, the party reviewing accuracy and the party reviewing quantity to obtain the party reviewing evaluation value of each party reviewing pharmacist;
and determining that the processing task type is matched with the service type of the prescription to be audited, and setting the auditing queue with the maximum auditor evaluation value as the target auditing queue.
4. The method for allocating the task of the auditor as claimed in any one of claims 1 to 3, wherein the step of obtaining a target audit queue according to the minimum number of tasks, the type of processing task and the auditor log analysis, and after pushing the prescription to be audited to the target audit queue according to an atomic operation mode, comprises the steps of:
counting time from the time of pushing to the auditing queue to obtain auditing waiting time;
and if the auditing waiting time reaches the preset time, returning the prescription to be audited to the prescription issuing equipment, and assisting the auditor by the prescription doctor.
5. A terminal device, comprising:
the acquisition module is used for acquiring the minimum task number, the processing task type and the auditor log of the auditing equipment of each party at the current moment of acquiring the prescription to be audited;
and the processing module is used for obtaining a target auditing queue according to the minimum task number, the processing task type and the auditor log analysis, and pushing the prescription to be audited to the target auditing queue according to an atomic operation mode.
6. The terminal device of claim 5, wherein the processing module comprises:
the judging unit is used for judging whether the minimum task number of the auditing equipment of each party is equal or not;
the analysis unit is used for determining an audit queue with the minimum task number value and the processing task type matched with the service type of the prescription to be audited as a target audit queue if the minimum task numbers of the audit devices of all parties are not equal; if the minimum task number of each party of auditing equipment is equal, obtaining a target auditing queue according to the service type of the prescription to be audited, the processing task type of each party of auditing equipment and the auditor log;
and the pushing unit is used for actively pushing the prescription to be audited to the target auditing queue according to an atomic operation mode by combining with the distributed lock.
7. The terminal device according to claim 6, wherein the analysis unit comprises:
the analysis subunit is used for obtaining the party-checking rate, the party-checking average time, the party-checking accuracy and the party-checking quantity of each party-checking pharmacist according to the party-checking log analysis;
the operation subunit is used for carrying out weighted operation according to the party reviewing rate, the party reviewing average time, the party reviewing accuracy and the number of parties to obtain the party reviewing evaluation value of each party reviewing pharmacist;
and the processing subunit is configured to determine that the processing task type matches the service type of the prescription to be audited, and the auditing queue with the largest auditor evaluation value is the target auditing queue.
8. The terminal device according to any of claims 5-7, further comprising:
the timing module is used for timing from the time of pushing to the auditing queue to obtain auditing waiting time;
and the processing module is further used for returning the prescription to be audited to the prescription issuing equipment and assisting the auditing party by the issuing doctor if the auditing waiting time reaches the preset time.
9. A storage medium having stored therein at least one instruction that is loaded and executed by a processor to perform operations performed by a method of assigning a reviewer task according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010684849.0A CN111899838B (en) | 2020-07-16 | 2020-07-16 | Method for distributing trial tasks, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010684849.0A CN111899838B (en) | 2020-07-16 | 2020-07-16 | Method for distributing trial tasks, terminal equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111899838A true CN111899838A (en) | 2020-11-06 |
CN111899838B CN111899838B (en) | 2023-11-21 |
Family
ID=73189146
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010684849.0A Active CN111899838B (en) | 2020-07-16 | 2020-07-16 | Method for distributing trial tasks, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111899838B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113345550A (en) * | 2021-05-27 | 2021-09-03 | 北京京东拓先科技有限公司 | Method, device and storage medium for dynamically configuring information sheet |
CN113764066A (en) * | 2021-03-29 | 2021-12-07 | 北京京东拓先科技有限公司 | Method and device for auditing prescription data |
CN114066335A (en) * | 2022-01-18 | 2022-02-18 | 飞狐信息技术(天津)有限公司 | Auditing task distribution method, device, equipment and storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202838495U (en) * | 2012-08-08 | 2013-03-27 | 东芝泰格有限公司 | Queue management system |
CN104318381A (en) * | 2014-10-21 | 2015-01-28 | 中国建设银行股份有限公司 | Background audit task distributing method and device |
CN107731271A (en) * | 2017-10-25 | 2018-02-23 | 康美药业股份有限公司 | The prescription distribution method and device of a kind of Auto-matching pharmacist |
CN107785060A (en) * | 2017-03-03 | 2018-03-09 | 平安医疗健康管理股份有限公司 | Medicine prescription checking method and device |
CN108229792A (en) * | 2017-12-11 | 2018-06-29 | 浪潮软件集团有限公司 | Method and device for automatically allocating tasks |
CN109360626A (en) * | 2018-08-24 | 2019-02-19 | 康美药业股份有限公司 | Square gauge then base construction method, device, electronic equipment and storage medium are examined in personalization |
CN109448811A (en) * | 2018-08-24 | 2019-03-08 | 康美药业股份有限公司 | Checking prescription improved method, device, electronic equipment and storage medium |
CN109902922A (en) * | 2019-01-21 | 2019-06-18 | 新疆恒致达信息技术有限公司 | Distribution method, device, computer equipment and the storage medium of audit task |
CN109978356A (en) * | 2019-03-15 | 2019-07-05 | 平安普惠企业管理有限公司 | Mark method for allocating tasks, device, medium and computer equipment |
CN110223753A (en) * | 2019-06-13 | 2019-09-10 | 广州宝荣科技应用有限公司 | A kind of Checking prescription distribution method and system based on queuing duration |
CN110264060A (en) * | 2019-06-13 | 2019-09-20 | 广州宝荣科技应用有限公司 | A kind of prescription distribution method and system for examining square state based on pharmacist |
CN110414865A (en) * | 2019-08-06 | 2019-11-05 | 广州荔支网络技术有限公司 | A kind of distribution method, device, computer equipment and the storage medium of audit task |
-
2020
- 2020-07-16 CN CN202010684849.0A patent/CN111899838B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202838495U (en) * | 2012-08-08 | 2013-03-27 | 东芝泰格有限公司 | Queue management system |
CN104318381A (en) * | 2014-10-21 | 2015-01-28 | 中国建设银行股份有限公司 | Background audit task distributing method and device |
CN107785060A (en) * | 2017-03-03 | 2018-03-09 | 平安医疗健康管理股份有限公司 | Medicine prescription checking method and device |
CN107731271A (en) * | 2017-10-25 | 2018-02-23 | 康美药业股份有限公司 | The prescription distribution method and device of a kind of Auto-matching pharmacist |
CN108229792A (en) * | 2017-12-11 | 2018-06-29 | 浪潮软件集团有限公司 | Method and device for automatically allocating tasks |
CN109360626A (en) * | 2018-08-24 | 2019-02-19 | 康美药业股份有限公司 | Square gauge then base construction method, device, electronic equipment and storage medium are examined in personalization |
CN109448811A (en) * | 2018-08-24 | 2019-03-08 | 康美药业股份有限公司 | Checking prescription improved method, device, electronic equipment and storage medium |
CN109902922A (en) * | 2019-01-21 | 2019-06-18 | 新疆恒致达信息技术有限公司 | Distribution method, device, computer equipment and the storage medium of audit task |
CN109978356A (en) * | 2019-03-15 | 2019-07-05 | 平安普惠企业管理有限公司 | Mark method for allocating tasks, device, medium and computer equipment |
CN110223753A (en) * | 2019-06-13 | 2019-09-10 | 广州宝荣科技应用有限公司 | A kind of Checking prescription distribution method and system based on queuing duration |
CN110264060A (en) * | 2019-06-13 | 2019-09-20 | 广州宝荣科技应用有限公司 | A kind of prescription distribution method and system for examining square state based on pharmacist |
CN110414865A (en) * | 2019-08-06 | 2019-11-05 | 广州荔支网络技术有限公司 | A kind of distribution method, device, computer equipment and the storage medium of audit task |
Non-Patent Citations (1)
Title |
---|
周水芳;许建文;柯蒙;: "处方前置审核模式的实践与分析", 海峡药学, no. 04, pages 207 - 209 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113764066A (en) * | 2021-03-29 | 2021-12-07 | 北京京东拓先科技有限公司 | Method and device for auditing prescription data |
CN113345550A (en) * | 2021-05-27 | 2021-09-03 | 北京京东拓先科技有限公司 | Method, device and storage medium for dynamically configuring information sheet |
CN113345550B (en) * | 2021-05-27 | 2024-04-05 | 北京京东拓先科技有限公司 | Method, device and storage medium for dynamically configuring information sheets |
CN114066335A (en) * | 2022-01-18 | 2022-02-18 | 飞狐信息技术(天津)有限公司 | Auditing task distribution method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111899838B (en) | 2023-11-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Isautier et al. | People’s experiences and satisfaction with telehealth during the COVID-19 pandemic in Australia: cross-sectional survey study | |
CN111899838B (en) | Method for distributing trial tasks, terminal equipment and storage medium | |
CN109543863A (en) | A kind of medical treatment task management method, server and storage medium | |
US10999224B1 (en) | Method and apparatus for parsing an electronic message and constructing multiple differently prioritized messages therefrom | |
Tarn et al. | How much time does it take to prescribe a new medication? | |
US10157262B1 (en) | Systems and methods for determining patient financial responsibility for multiple prescription products | |
US20090326977A1 (en) | Systems and Methods for Providing Drug Samples to Patients | |
US7885827B1 (en) | Method and system for delivering substitute medical therapies with restricted access | |
US20210134441A1 (en) | Selection and performance of hosted and distributed imaging analysis services | |
CN111785371A (en) | Medical service method, medical service device, computer equipment and storage medium | |
CN109255721A (en) | Insurance recommended method, equipment, server and readable medium based on Cost Forecast | |
Leong et al. | Prescription medication use during pregnancies that resulted in births and abortions (2001-2013): a retrospective population-based study in a Canadian population | |
Baskaya et al. | Health4Afrika-Implementing HL7 FHIR Based Interoperability. | |
Buchanan et al. | Preferences for medical consultations from online providers: evidence from a discrete choice experiment in the United Kingdom | |
Fischer et al. | Non-visit-based and non-infection-related antibiotic use in the US: a cohort study of privately insured patients during 2016–2018 | |
Heisey-Grove et al. | Patient and clinician characteristics associated with secure message content: Retrospective cohort study | |
CN111192643A (en) | Medical record data processing method and related equipment | |
Mattke et al. | Evidence for misspecification of a nationally used quality measure for substance use treatment | |
Liu et al. | Multivariate analysis of physicians’ practicing behaviors in an urgent care telemedicine intervention | |
WO2015175721A1 (en) | Remotely diagnosing conditions and providing prescriptions using a multi-access health care provider portal | |
US20210158945A1 (en) | Identifying referral patterns between healthcare entities based on billed claims | |
CN113408817A (en) | Traffic distribution method, device, equipment and storage medium | |
JP2003141251A (en) | Method and system for diagnosis and medication | |
Lloyd et al. | What factors influence concordance with medications? Findings from the UK Asian Diabetes study | |
Piña et al. | Policy and payment challenges in the postpandemic treatment of heart failure: value-based care and telehealth |
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 |