CN111899838B - Method for distributing trial tasks, terminal equipment and storage medium - Google Patents

Method for distributing trial tasks, terminal equipment and storage medium Download PDF

Info

Publication number
CN111899838B
CN111899838B CN202010684849.0A CN202010684849A CN111899838B CN 111899838 B CN111899838 B CN 111899838B CN 202010684849 A CN202010684849 A CN 202010684849A CN 111899838 B CN111899838 B CN 111899838B
Authority
CN
China
Prior art keywords
prescription
audit
auditing
queue
trial
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
Application number
CN202010684849.0A
Other languages
Chinese (zh)
Other versions
CN111899838A (en
Inventor
徐奎东
汤士伟
许玲娟
叶涛
符鸣
戚志田
刘勇
沈欢
潘宁
王卫新
杨秋芬
张丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WONDERS INFORMATION CO Ltd
Original Assignee
WONDERS INFORMATION CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by WONDERS INFORMATION CO Ltd filed Critical WONDERS INFORMATION CO Ltd
Priority to CN202010684849.0A priority Critical patent/CN111899838B/en
Publication of CN111899838A publication Critical patent/CN111899838A/en
Application granted granted Critical
Publication of CN111899838B publication Critical patent/CN111899838B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/10ICT 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/13ICT 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
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/20ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the management or administration of healthcare resources or facilities, e.g. managing hospital staff or surgery rooms

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • General Business, Economics & Management (AREA)
  • Epidemiology (AREA)
  • Business, Economics & Management (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Biomedical Technology (AREA)
  • Chemical & Material Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Medicinal Chemistry (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The application provides a method for distributing a trial task, a terminal device and a storage medium, wherein the method is used for distributing prescriptions based on a load balancing idea of minimum active numbers and specifically comprises the following steps: acquiring the minimum task number, the processing task type and the audit log of each prescription audit device at the current moment of acquiring the prescription to be audited; and analyzing according to the minimum task number, the processing task type and the audit 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. According to the application, redundant access is reduced by actively pushing the prescription to be checked, the checking speed of a checking party pharmacist is improved, and the waiting time of the whole checking party is greatly reduced.

Description

Method for distributing trial tasks, terminal equipment and storage medium
Technical Field
The application relates to the technical field of medicine management, in particular to a method for distributing a trial task, terminal equipment and a storage medium.
Background
In reality, hundreds of millions of patients come to a hospital for a doctor every day, and a large number of prescriptions are given to the doctor, wherein a large number of unreasonable prescriptions exist, and the unreasonable prescriptions are mainly reflected in violation of reasonable medication guidelines, violation of corresponding medication management systems of the health departments, violation of the existing medical insurance policies and the like, such as overdose, repeated medication, incompatibility, abuse of antibiotics, overdose level medication, oversex medication range and the like, and the unreasonable prescriptions have serious influence on the physical health of the patient and increase the medical treatment cost. Moreover, reasonable medication inspection, prescription review and the like are all post-inspection, and hysteresis exists.
Therefore, after the doctor issues the medical diagnosis prescription, the doctor needs to send prescription information to the prescription auditing equipment, and an auditing party pharmacist of the prescription auditing equipment automatically grabs the prescription to be audited for auditing, so that redundant access can be increased, the auditing party speed of the auditing party pharmacist is reduced, and the waiting time of the whole auditing party is greatly increased.
Disclosure of Invention
The application aims to provide a method for distributing a review party task, a terminal device and a storage medium, which can reduce redundant access by actively pushing a prescription to be reviewed, promote the review speed of a review party pharmacist and greatly reduce the waiting time of an overall review party.
The technical scheme provided by the application is as follows:
the application provides a method for distributing a trial task, which comprises the following steps:
acquiring the minimum task number, the processing task type and the audit log of each prescription audit device at the current moment of acquiring the prescription to be audited;
and analyzing the minimum task number, the processing task type and the audit 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 audit log analysis and pushing the prescription to be audited to the target audit queue according to an atomic operation mode includes the steps of:
judging whether the minimum task number of each prescription auditing equipment is equal;
if the minimum task numbers of all the prescription auditing equipment are not equal, determining an auditing queue with the minimum task number value being the smallest and the processing task type being matched with the service type of the prescription to be audited as a target auditing queue;
if the minimum task numbers of all the prescription auditing equipment are equal, a target auditing queue is obtained according to the service type of the prescription to be audited, the processing task type of all the prescription auditing equipment and the audit log;
and actively pushing the prescription to be checked to the target checking queue according to an atomic operation mode by combining a distributed lock.
Further, the obtaining the target audit queue according to the audit log includes the steps of:
obtaining the trial party rate, the average time of the trial parties, the correct rate of the trial parties and the number of the trial parties of each trial party pharmacist according to the trial party log analysis;
weighting operation is carried out according to the trial party rate, the average time of the trial parties, the correct rate of the trial parties and the number of the trial parties to obtain the evaluation value of each trial party pharmacist;
and determining that the processing task type is matched with the service type of the prescription to be checked, and the checking queue with the largest checking evaluation value is the target checking queue.
Further, the step of obtaining a target audit queue according to the minimum task number, the processing task type and the audit log analysis, and pushing the prescription to be audited to the target audit queue according to an atomic operation mode comprises the following steps:
obtaining auditing waiting time from pushing to the time of the auditing queue;
and if the auditing waiting time reaches the preset duration, returning the prescription to be audited to the prescription issuing equipment, and assisting the prescription issuing doctor in auditing the prescription.
The application also provides a terminal device, comprising:
the acquisition module is used for acquiring the minimum task number, the processing task type and the audit log of each prescription audit device at the current moment of acquiring the prescription to be audited;
and the processing module is used for obtaining a target audit queue according to the minimum task number, the processing task type and the audit log analysis and pushing the prescription to be audited to the target audit queue according to an atomic operation mode.
Further, the processing module includes:
the judging unit is used for judging whether the minimum task number of each prescription auditing equipment is equal;
the analysis unit is used for determining an audit queue with the minimum task number value being the smallest and the processing task type being matched with the service type of the prescription to be audited as a target audit queue if the minimum task number of each prescription audit device is not equal; if the minimum task numbers of all the prescription auditing equipment are equal, a target auditing queue is obtained according to the service type of the prescription to be audited, the processing task type of all the prescription auditing equipment and the audit log;
and the pushing unit is used for actively pushing the prescription to be checked to the target checking queue according to an atomic operation mode by combining with the distributed lock.
Further, the analysis unit includes:
the analysis subunit is used for analyzing and obtaining the trial party rate, the average time of the trial parties, the accuracy rate of the trial parties and the number of the trial parties of each trial party pharmacist according to the trial party log;
the operation subunit is used for carrying out weighted operation according to the audit rate, the audit average time, the audit accuracy rate and the audit quantity to obtain audit evaluation values of each audit 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 checked, and the checking queue with the largest checking evaluation value is the target checking queue.
Further, the method further 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 also used for returning the prescription to be checked to the prescription device to be checked to the prescription doctor for assisting the prescription doctor to check if the checking waiting time reaches the preset duration.
The application 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 assigning the trial tasks.
According to the method for distributing the audit task, the terminal equipment and the storage medium, which are provided by the application, redundant access can be reduced by actively pushing the prescription to be audited, the audit speed of an audit pharmacist is improved, and the waiting time of the whole audit is greatly reduced.
Drawings
The above characteristics, technical features, advantages and implementation manners of a method for assigning a trial task, a terminal device and a storage medium will be further described in a clear and understandable manner with reference to the accompanying drawings.
FIG. 1 is a flow chart of one embodiment of a method of assigning a trial task of the present application;
FIG. 2 is a flow chart of another embodiment of a method of assigning a trial task of the present application;
FIG. 3 is a flow chart of another embodiment of a method of assigning a trial task of the present application;
fig. 4 is a schematic structural view of an embodiment of a terminal device of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, 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 should 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 of the drawing, the parts relevant to the present application are shown only schematically in the figures, which do not represent the actual structure thereof as a product. Additionally, in order to simplify the drawing for ease of understanding, components having the same structure or function in some of the drawings are shown schematically with only one of them, or only one of them is labeled. Herein, "a" means not only "only this one" but also "more than one" case.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
In addition, in the description of the present application, the terms "first," "second," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following description will explain the specific embodiments of the present application with reference to the accompanying drawings. It is evident that the drawings in the following description are only examples of the application, from which other drawings and other embodiments can be obtained by a person skilled in the art without inventive effort.
In one embodiment of the present application, as shown in fig. 1, a method for assigning a review task includes:
s100, acquiring the minimum task number, the processing task type and the audit log of each prescription audit device at the current moment of acquiring the prescription to be audited;
specifically, the prescription to be checked comprises a medical diagnosis prescription which is issued by a doctor according to the illness state of a patient, and a prescription with uncertain result after checking the medical diagnosis prescription according to a preset checking rule after the doctor issues the medical diagnosis prescription according to the illness state of the patient.
The medical diagnosis prescription is automatically checked according to preset checking rules, and a checking rule base is established mainly through prescription checking equipment, wherein the checking rule base comprises preset checking rules which are established according to prescription management methods, chinese national prescription sets, medicine specifications, documents and the like, and can be existing used preset checking rules or self-established.
The prescription to be audited comprises patient information and medicine information, wherein the patient information comprises the name, sex, age, diagnosis (containing symptoms), special crowd marks (such as pregnant women, puerperal women, old people, children, newborns and the like), prescription dates and the like of the patient, and the medicine information mainly comprises the detailed item information of each medicine which is prescribed by doctors, including the common name (containing codes), quantity, price, usage amount, administration route and the like of the medicine.
The minimum task number is the task number in the auditing equipment, and the minimum task number is obtained in real time according to the current situation. The audit log is audit record data generated in daily audit work for the prescription audit device used by each audit pharmacist. The processing task type is a prescription field or type which corresponds to the prescription field or type which is required to process the checking prescription and is good for or allocated to the checking party pharmacist, and the processing task type of the checking party pharmacist is associated with the equipment number (such as a MAC address or model number, an identifier and the like) of the prescription checking equipment used by the checking party pharmacist, so that the processing task type of the prescription checking equipment used by each checking party pharmacist can be obtained according to the equipment number of the prescription checking equipment. For example, one auditor may be good at pediatric disease-related prescriptions, another auditor may be good at orthopedic disease-related prescriptions, and in any case, the treatment task types may be classified according to the needs of the medical institution, and any classification manner of the treatment task types is within the scope of the present application.
S200, analyzing and obtaining a target audit queue according to the minimum task number, the processing task type and the audit log, and pushing the prescription to be audited to the target audit queue according to an atomic operation mode.
Specifically, the atomic operation refers to an operation which is not interrupted by a thread scheduling mechanism, and once the operation is started, the operation runs until the end, and is not switched to another thread in the middle, and the atomic operation can be one step or a plurality of operation steps, but the sequence of the atomic operation cannot be disordered or can not be cut to only execute a part of the atomic operation, so that the repetition of the allocation of the prescription to be checked can be prevented.
After a doctor issues a medical diagnosis prescription using an issuing device (the doctor uses a device for issuing a prescription), a terminal device such as a server acquires the medical diagnosis prescription from the issuing device, and then acquires the minimum task number, the processing task type and the audit log of each prescription audit device according to the reception time of the medical diagnosis prescription received from the issuing device as the current time. And the terminal equipment such as the server directly analyzes the minimum task number, the processing task type and the audit log to obtain a target audit queue, and pushes the prescription to be audited to the target audit queue according to the atomic operation mode.
Of course, if after a doctor uses an issuing device to issue a medical diagnosis prescription, a terminal device such as a server acquires the medical diagnosis prescription from the issuing device, then the terminal device such as the server examines the medical diagnosis prescription according to a preset examination rule, if the examination result is uncertain, the time when the examination result is uncertain is obtained by examining the medical diagnosis prescription, which is judged as the current time, and the minimum task number, the processing task type and the examination log of each prescription examination device are acquired. And the terminal equipment such as the server directly analyzes the minimum task number, the processing task type and the audit log to obtain a target audit queue, 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 making equipment to make the medical diagnosis prescription, the doctor pushes the medical diagnosis prescription to the intelligent examination engine to examine the medical diagnosis prescription by adopting a preset examination rule.
In the embodiment, the target auditing queue is obtained according to the minimum task number, the processing task type and the audit log analysis of each prescription auditing device, and the prescription to be audited is actively pushed to the target auditing queue according to the atomic operation mode for waiting and auditing, so that the speed of auditing the prescription can be improved, the waiting time of the whole audit is reduced, the user experience is optimized, and the concurrency is improved.
In one embodiment of the present application, as shown in fig. 2, a method for assigning a review task includes:
s100, acquiring the minimum task number, the processing task type and the audit log of each prescription audit device at the current moment of acquiring the prescription to be audited;
s210, judging whether the minimum task number of each prescription auditing device is equal;
s220, if the minimum task numbers of all prescription auditing equipment are not equal, determining an auditing queue with the minimum task number value being the smallest and the processing task type being matched with the business type of the prescription to be audited as a target auditing queue;
s230, if the minimum task numbers of all the prescription auditing equipment are equal, a target auditing queue is obtained according to the service type of the prescription to be audited, the processing task type of all the prescription auditing equipment and the audit log;
s240, actively pushing the prescription to be checked to a target checking queue according to an atomic operation mode by combining the distributed lock.
Specifically, the terminal devices such as the server and the like judge whether the minimum task numbers of all the prescription auditing devices are equal. If the minimum task numbers of all the prescription auditing devices are not equal, the terminal device directly determines that the auditing queues with the minimum task number value being the smallest and the processing task type being matched with the business type of the prescription to be audited are target auditing queues if the minimum task numbers of all the prescription auditing devices are not equal, so that the aim of balancing loads is achieved, the situation that the prescription auditing devices with large task numbers receive more prescriptions to be audited, and the prescription auditing devices with small task numbers receive fewer prescriptions to be audited, so that part of auditors do not have prescription auditing states, is avoided. If the minimum task numbers of all the prescription auditing equipment are equal, a target auditing queue is obtained according to the service type of the prescription to be audited, the processing task type of all the prescription auditing equipment and the audit log, so that a proper auditing queue can be selected as the target auditing queue based on the audit condition of all the audit pharmacist.
According to the method and the device for checking the prescriptions, the target checking queue is obtained according to the minimum task number, the processing task type and the checking party log analysis of each prescription checking device, the prescriptions to be checked are actively pushed to the target checking queue to be checked, the speed of checking the prescriptions can be improved, the waiting time of the whole checking party is reduced, the user experience is optimized, and 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 audit log, so that the balanced distribution of the prescriptions to be audited can be realized in all directions, the audit tasks of all audit pharmacists are ensured to be balanced, the audit efficiency is greatly improved, and the waste of human resources is avoided.
In one embodiment of the present application, as shown in fig. 3, a method for assigning a review task includes:
s100, acquiring the minimum task number, the processing task type and the audit log of each prescription audit device at the current moment of acquiring the prescription to be audited;
s210, judging whether the minimum task number of each prescription auditing device is equal;
s220, if the minimum task numbers of all prescription auditing equipment are not equal, determining an auditing queue with the minimum task number value being the smallest and the processing task type being matched with the business type of the prescription to be audited as a target auditing queue;
s231, if the minimum task number of each prescription auditing device is equal, the auditing rate, the auditing mean time, the auditing accuracy and the auditing quantity of each auditing pharmacist are obtained according to the auditing log analysis;
s232, carrying out operation according to any one or more of the trial party rate, the average time of the trial parties, the correct rate of the trial parties and the number of the trial parties to obtain the trial party evaluation value of each trial party pharmacist;
s233, determining that the processing task type is matched with the service type of the prescription to be checked, and the checking queue with the largest evaluation value of the checking party is a target checking queue;
specifically, the same parts of the present embodiment as those of the foregoing embodiment are referred to the foregoing embodiment, and are not described herein in detail. The minimum task number method and the weighted random method based on the load balance are combined to automatically and dynamically allocate prescriptions to the trial participants. The method comprises the steps that based on the distributed TOPIC types of HTTP SSE and JEDSON, the minimum task number is obtained according to the current task data of prescription auditing equipment used by an auditor, if the minimum task number of each prescription auditing equipment is unequal, the prescription to be audited is actively pushed to an audit interface of the auditor with the minimum task number value being minimum through an HTTP SSE protocol, and the processing task type is matched with the business type of the prescription to be audited.
If the minimum task number of each prescription auditing device is equal, the auditing party rate of the pharmacist, the average auditing party time, the working amount of the pharmacist (namely the number of the auditing parties), the accuracy of the auditing party (which can be obtained by evaluating and calculating the prescription according to the subsequent patient) and the like are obtained according to the auditing party rate of each prescription auditing device, the auditing party evaluation value of each prescription pharmacist is obtained by carrying out weighted calculation according to one or more items, and the auditing queue with the largest auditing party evaluation value is determined to be the optimal doctor queue.
S240, actively pushing the prescription to be checked to a target checking queue according to an atomic operation mode by combining the distributed lock;
s300, starting timing from the time of pushing to the auditing queue to obtain auditing waiting time;
and S400, if the auditing waiting time reaches the preset duration, returning the prescription to be audited to the prescription issuing equipment, and assisting the prescription issuing doctor in auditing the prescription.
Specifically, after receiving the prescription to be audited, the prescription auditing equipment actively adds the prescription to be audited to the list to be audited, or increases the number of prescriptions to be processed and makes highlighting. The prescription auditing pharmacist performs rationality auditing on the prescription to be audited, namely, the prescription auditing mainly comprises overuse medicine, repeated medicine, overindication medicine, overuse sex medicine, incompatibility medicine, bad interaction medicine, inconsistent administration route, inconsistent special crowd medicine, inconsistent antibiotic medicine, inconsistent prescription writing and other auditing aspects. The specific auditing mode of the prescription auditing equipment is that the prescription auditing equipment retrieves the doctor records of the patient, and the doctor records, the prescription to be audited, the preset auditing rules and the self-experience are combined to realize the auditing of the prescription to be audited, so that the auditing 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 timely known, namely, the requirements of medical insurance policies, medication contraindications and the like are met, serious influence on the physical health of the patient when the prescription is administrated according to the unreasonable prescription is avoided, and meanwhile, the medical cost is prevented from being increased.
After pushing the prescriptions to be checked to the corresponding target checking queues, recording the receiving time of each queue for receiving the newly pushed prescriptions to be checked, starting timing by taking the receiving time as a starting point to obtain checking waiting time, detecting whether checking results returned by the corresponding prescription checking equipment are received within preset time, if the returned checking results are received within the preset time, feeding the checking results back to the issuing equipment, displaying the checking results for reference of issuing doctors, and finishing the prescription checking. If the auditing result is not received within the preset time, canceling the task of receiving the auditing result, pushing the prescription to be audited, which does not receive the auditing result within the preset time, to the issuing device again, and assisting the auditing party by the issuing doctor.
In this embodiment, after the terminal device cancels the task of receiving the audit result, the network resource can be released, and the network processing efficiency can be effectively improved. After the preset time is exceeded, the doctor of the issuer performs auditing again, so that the waiting time of the whole auditing party is reduced, and the auditing efficiency is greatly improved.
In one embodiment of the present application, as shown in fig. 4, a terminal device includes:
the acquiring module 10 is configured to acquire a minimum task number, a processing task type and an audit log of each prescription auditing apparatus at a current time when the prescription to be audited is acquired;
the processing module 20 is configured to obtain a target audit queue according to the minimum task number, the processing task type and the audit log analysis, and push the prescription to be audited to the target audit queue according to the atomic operation mode.
Specifically, the embodiment is an embodiment of a device corresponding to the embodiment of the method, and specific effects refer to the embodiment of the method, which is not described herein in detail.
Based on the foregoing embodiments, the processing module 20 includes:
the judging unit is used for judging whether the minimum task number of each prescription auditing equipment is equal;
the analysis unit is used for determining an audit queue with the minimum task number value being the smallest and the processing task type being matched with the service type of the prescription to be audited as a target audit queue if the minimum task number of each prescription audit device is not equal; if the minimum task numbers of all the prescription auditing equipment are equal, a target auditing queue is obtained according to the service type of the prescription to be audited, the processing task type of all the prescription auditing equipment and the audit log;
and the pushing unit is used for actively pushing the prescription to be checked to the target checking queue according to the atomic operation mode by combining the distributed lock.
Specifically, the embodiment is an embodiment of a device corresponding to the embodiment of the method, and specific effects refer to the embodiment of the method, which is not described herein in detail.
Based on the foregoing embodiments, the analysis unit includes:
the analysis subunit is used for analyzing and obtaining the trial party rate, the average time of the trial parties, the correct rate of the trial parties and the number of the trial parties of each trial party pharmacist according to the log of the trial parties;
the operation subunit is used for carrying out weighted operation according to the trial party rate, the average time of the trial parties, the correct rate of the trial parties and the number of the trial parties to obtain the trial party evaluation value of each trial party 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 checked, and the checking queue with the largest evaluation value of the checking party is a target checking queue.
Specifically, the embodiment is an embodiment of a device corresponding to the embodiment of the method, and specific effects refer to the embodiment of the method, which is not described herein in detail.
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 checked to the prescription device for the prescription doctor to assist the prescription when the checking waiting time reaches the preset duration.
Specifically, the embodiment is an embodiment of a device corresponding to the embodiment of the method, and specific effects refer to the embodiment of the method, which is not described herein in detail.
It will be apparent to those skilled in the art that the above-described program modules are only illustrated in the division of the above-described program modules for convenience and brevity, and that in practical applications, the above-described functional allocation may be performed by different program modules, i.e., the internal structure of the apparatus is divided into different program units or modules, to perform all or part of the above-described functions. The program modules in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one processing unit, where the integrated units may be implemented in a form of hardware or in a form of a software program unit. In addition, the specific names of the program modules are also only for distinguishing from each other, and are not used to limit the protection scope of the present application.
The terminal equipment can be desktop computers, notebooks, palm computers, tablet computers and other equipment. The terminal device may include, but is not limited to, a processor, a memory. It will be appreciated by those skilled in the art that the foregoing is merely an example of a terminal device and is not limiting of the terminal device and may include more or fewer components than shown, or may combine certain components, or different components, such as: the terminal device may also include input/output interfaces, display devices, network access devices, communication buses, communication interfaces, and the like. The communication interface and the communication bus 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 configured to execute the computer program stored in the memory, to implement the method for assigning the trial tasks in the corresponding method embodiment.
The processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. 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, for example: a hard disk or a memory of the terminal equipment. The memory may also be an external storage device of the terminal device, for example: a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like, which are provided on the terminal device. 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 elements described and enables transmission between these elements. For example, the processor receives commands from other elements through the communication bus, decrypts the received commands, and performs calculations or data processing based on the decrypted commands. The memory may include program modules such as a kernel, middleware, application programming interfaces (Application Programming Interface, APIs), and applications. The program modules may be comprised of software, firmware, or hardware, or at least two of them. The input/output interface forwards commands or data entered by a user through the input/output interface (e.g., sensor, keyboard, touch screen). The communication interface connects the terminal device with other network devices, user devices, networks. 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 wireless communication technology (NFC), global Positioning System (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 or a communication 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 through a communication interface, and protocols 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 one embodiment of the present application, a storage medium stores at least one instruction, where the instruction is loaded and executed by a processor to implement an operation performed by the corresponding embodiment of the above-mentioned method for assigning a trial task. For example, the storage medium may be read-only memory (ROM), random-access memory (RAM), compact disk read-only (CD-ROM), magnetic tape, floppy disk, optical data storage device, etc.
They may be implemented in program code that is executable by a computing device such that they may be stored in a memory device for execution by the computing device, or they may be separately fabricated into individual integrated circuit modules, or a plurality of modules or steps in them may be fabricated into a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and the parts of a certain embodiment that are not described or depicted in detail may be referred to in the related descriptions of other embodiments.
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 solution. 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 manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units may be stored in a storage medium if implemented in the form of software functional units and sold or used as stand-alone products. Based on this understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by sending instructions to related hardware by a computer program, where the computer program may be stored in a storage medium, and the computer program may implement the steps of each method embodiment described above when executed by a processor. Wherein the computer program may be in source code form, object code form, executable file or some intermediate form, etc. The storage medium may include: any entity or device capable of carrying the computer program, a recording medium, a USB flash disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that, the content contained in the storage medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example: in some jurisdictions, computer-readable storage media do not include electrical carrier signals and telecommunication signals, in accordance with legislation and patent practice.
It should be noted that the above embodiments can be freely combined as needed. The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application, which are intended to be comprehended within the scope of the present application.

Claims (5)

1. The method for distributing the trial tasks is characterized by comprising the following steps:
acquiring the minimum task number, the processing task type and the audit log of each prescription audit device at the current moment of acquiring the prescription to be audited;
obtaining a target audit queue according to the minimum task number, the processing task type and the audit log analysis, pushing the prescription to be audited to the target audit queue according to an atomic operation mode, and specifically comprising the following steps:
judging whether the minimum task number of each prescription auditing equipment is equal;
if the minimum task numbers of all the prescription auditing equipment are not equal, determining an auditing queue with the minimum task number value being the smallest and the processing task type being matched with the service type of the prescription to be audited as a target auditing queue;
if the minimum task numbers of all the prescription auditing equipment are equal, a target auditing queue is obtained according to the service type of the prescription to be audited, the processing task type of all the prescription auditing equipment and the audit log;
actively pushing the prescription to be checked to the target checking queue according to an atomic operation mode by combining a distributed lock;
the method for obtaining the target audit queue according to the business type of the prescription to be audited, the processing task type of each prescription audit device and the audit log specifically comprises the following steps:
obtaining the trial party rate, the average time of the trial parties, the correct rate of the trial parties and the number of the trial parties of each trial party pharmacist according to the trial party log analysis;
weighting operation is carried out according to the trial party rate, the average time of the trial parties, the correct rate of the trial parties and the number of the trial parties to obtain the evaluation value of each trial party pharmacist;
and determining that the processing task type is matched with the service type of the prescription to be checked, and the checking queue with the largest checking evaluation value is the target checking queue.
2. The method for distributing the audit task according to claim 1, wherein the step of obtaining a target audit queue according to the minimum task number, the processing task type and the audit log analysis, and pushing the prescription to be audited to the target audit queue according to an atomic operation mode includes the steps of:
obtaining auditing waiting time from pushing to the time of the auditing queue;
and if the auditing waiting time reaches the preset duration, returning the prescription to be audited to the prescription issuing equipment, and assisting the prescription issuing doctor in auditing the prescription.
3. A terminal device, comprising:
the acquisition module is used for acquiring the minimum task number, the processing task type and the audit log of each prescription audit device at the current moment of acquiring the prescription to be audited;
the processing module is used for obtaining a target audit queue according to the minimum task number, the processing task type and the audit log analysis, pushing the prescription to be audited to the target audit queue according to an atomic operation mode, wherein the processing module comprises:
the judging unit is used for judging whether the minimum task number of each prescription auditing equipment is equal;
the analysis unit is used for determining an audit queue with the minimum task number value being the smallest and the processing task type being matched with the service type of the prescription to be audited as a target audit queue if the minimum task number of each prescription audit device is not equal; if the minimum task numbers of all the prescription auditing equipment are equal, a target auditing queue is obtained according to the service type of the prescription to be audited, the processing task type of all the prescription auditing equipment and the audit log;
the pushing unit is used for actively pushing the prescription to be checked to the target checking queue according to an atomic operation mode by combining with a distributed lock;
wherein the analysis unit includes:
the analysis subunit is used for analyzing and obtaining the trial party rate, the average time of the trial parties, the accuracy rate of the trial parties and the number of the trial parties of each trial party pharmacist according to the trial party log;
the operation subunit is used for carrying out weighted operation according to the audit rate, the audit average time, the audit accuracy rate and the audit quantity to obtain audit evaluation values of each audit 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 checked, and the checking queue with the largest checking evaluation value is the target checking queue.
4. A terminal device according to claim 3, 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 also used for returning the prescription to be checked to the prescription device to be checked to the prescription doctor for assisting the prescription doctor to check if the checking waiting time reaches the preset duration.
5. A storage medium having stored therein at least one instruction that is loaded and executed by a processor to perform the operations performed by the method of assigning audit tasks according to any of claims 1 to 2.
CN202010684849.0A 2020-07-16 2020-07-16 Method for distributing trial tasks, terminal equipment and storage medium Active CN111899838B (en)

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 CN111899838A (en) 2020-11-06
CN111899838B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113764066A (en) * 2021-03-29 2021-12-07 北京京东拓先科技有限公司 Method and device for auditing prescription data
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

Citations (12)

* Cited by examiner, † Cited by third party
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

Patent Citations (12)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
处方前置审核模式的实践与分析;周水芳;许建文;柯蒙;;海峡药学(第04期);第207-209页 *

Also Published As

Publication number Publication date
CN111899838A (en) 2020-11-06

Similar Documents

Publication Publication Date Title
CN111899838B (en) Method for distributing trial tasks, terminal equipment and storage medium
US10999224B1 (en) Method and apparatus for parsing an electronic message and constructing multiple differently prioritized messages therefrom
US10157262B1 (en) Systems and methods for determining patient financial responsibility for multiple prescription products
US20170351819A1 (en) Data driven analysis, modeling, and semi-supervised machine learning for qualitative and quantitative determinations
US8321243B1 (en) Systems and methods for the intelligent coordination of benefits in healthcare transactions
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
Goldstein et al. Telehealth interventions designed for women: an evidence map
CN111598162A (en) Cattle risk monitoring method, terminal equipment and storage medium
CN111145847A (en) Clinical test data entry method and device, medium and electronic equipment
US20160321411A1 (en) Systems and methods for providing consumer discounts on compounded prescription medications
EP3977284A1 (en) Interoperability test environment
Ballreich et al. Medicare spending on drugs with accelerated approval
WO2020082808A1 (en) Pharmacy selection method, server, computer readable storage medium, and system
Allen et al. Navigating the doctor-patient-AI relationship-a mixed-methods study of physician attitudes toward artificial intelligence in primary care
CN111192643A (en) Medical record data processing method and related equipment
CN113408817A (en) Traffic distribution method, device, equipment and storage medium
CN108231152A (en) Medicine prescription result generation method and device
US11763262B2 (en) Identifying relationships between healthcare practitioners and healthcare facilities based on billed claims
Piña et al. Policy and payment challenges in the postpandemic treatment of heart failure: value-based care and telehealth
Monárrez et al. Mobile Application's Effect on Patient Satisfaction and Compliance in Total Joint Arthroplasty: A Systematic Review and Meta-analysis
CN113241134A (en) Online consulting doctor distribution method and system and storage medium
Morenz et al. Association Between Capitated Payments and Preventive Care Among US Adults
JP2020027550A (en) Virtual currency grant system
JP7426812B2 (en) Information processing system, information processing device, server, program, or method

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