Operating room nurse intelligent scheduling method and system, terminal and storage medium
By generating nurse information tables and shift configuration tables, and using extended schedulers and load balancing objective functions for automatic shift scheduling, the problem of insufficient fairness and rationality in nurse shift scheduling in existing technologies is solved, and efficient, rational and fair automated management of nurse shift scheduling is achieved.
Patent Information
- Application Number
- CN202511056174.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-30
- Publication Date
- 2025-11-21
AI Technical Summary
Existing nurse scheduling methods often rely on manual experience or template-based systems, making it difficult to guarantee the fairness and rationality of scheduling. This results in low scheduling efficiency and nursing quality, failing to meet the scheduling needs of hospitals.
By determining nurse information and shift configuration, a nurse information table and a shift configuration table are generated. Automatic shift scheduling is performed using an extended scheduler and a load balancing objective function. Combined with mutual exclusion scheduling rules and standardized training system rules, the candidate nurse set is optimized and screened to ensure the rationality and fairness of the scheduling results.
It significantly improved the rationality and fairness of shift scheduling, enhanced the quality of nursing care, and achieved efficient and automated management of nurse shift scheduling.
Smart Images

Figure CN120998437A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data processing, and particularly relates to a surgical room nurse intelligent scheduling method and system, a terminal and a storage medium. BACKGROUND
[0002] In the management of a hospital operating room, nurse scheduling is a highly complex and critical task. Unlike ordinary nursing scheduling, the operating room involves various types of shifts, such as regular day shifts, night shifts, hospital area call shifts, surgical shifts, and training dedicated shifts, each of which has significant differences in working hours, responsibility intensity, and personnel qualifications. At the same time, nurse scheduling also needs to follow strict rotation strategies and individual protection requirements, such as fixed structure rotation of night shifts, guarantee of weekly rest time for trainees, and prohibition of certain shifts for special groups, and the scheduling process needs to achieve personnel coordination and post matching under multi-dimensional constraints.
[0003] Existing scheduling methods mostly rely on manual experience or template systems. When management personnel manually arrange scheduling based on personal experience, they are easily influenced by subjective preferences, making it difficult to ensure fairness and rationality, resulting in reduced scheduling efficiency and nursing quality of nurses, and failing to meet the scheduling needs of hospitals.
[0004] Therefore, the prior art still needs to be improved and developed. SUMMARY
[0005] The main purpose of the present application is to provide a surgical room nurse intelligent scheduling method and system, a terminal and a storage medium, which aims to solve the problem in the prior art that nurse scheduling methods mostly rely on manual experience or template systems, making it difficult to ensure the fairness and rationality of nurse scheduling, resulting in low scheduling efficiency and nursing quality of nurses, and failing to meet the scheduling needs of hospitals.
[0006] To achieve the above purpose, the present application provides a surgical room nurse intelligent scheduling method, which comprises the following steps:
[0007] Determine the nurse information and shift configuration, input the nurse information and the shift configuration to obtain a nurse information table and a shift configuration table;
[0008] Obtain a target shift, find the target shift in the shift configuration table to obtain a basic scheduling condition, and perform a preliminary screening process on the nurse information table according to the basic scheduling condition to obtain a candidate nurse set;
[0009] Perform a re-screening process on the candidate nurse set to obtain a target scheduling result.
[0010] Optionally, the intelligent scheduling method for operating room nurses, wherein the shift configuration comprises a load of each shift, shift basic information, and rule information; the determination of the nurse information and the shift configuration comprises: inputting the nurse information and the shift configuration to obtain a nurse information table and a shift configuration table, and specifically comprising:
[0011] obtaining the nurse information and inputting the nurse information into a database to obtain a nurse information table;
[0012] wherein the nurse information comprises basic information, qualification information, state information, and work load information of the nurses;
[0013] determining the shift configuration and shift difficulty information, quantitatively processing the load of each shift in the shift configuration according to the shift difficulty information to obtain shift load information;
[0014] obtaining the shift basic information and the rule information, and inputting the shift basic information, the shift load information, and the rule information into a database to obtain a shift configuration table.
[0015] Optionally, the intelligent scheduling method for operating room nurses, wherein the shift difficulty information comprises work intensity, responsibility level, and time particularity; the quantitatively processing of the load of each shift in the shift configuration according to the shift difficulty information to obtain the shift load information specifically comprises:
[0016] determining the work intensity, the responsibility level, and the time particularity of each shift, and comparing the difficulty of each shift according to the work intensity, the responsibility level, and the time particularity to obtain a comparison result;
[0017] setting a load score of each shift according to the comparison result to obtain shift load information of each shift.
[0018] Optionally, the intelligent scheduling method for operating room nurses, wherein the obtaining of the target shift comprises: searching for the target shift in the shift configuration table to obtain basic scheduling conditions, and performing a preliminary screening process on the nurse information table according to the basic scheduling conditions to obtain a candidate nurse set, and specifically comprising:
[0019] when receiving a scheduling request, determining a target shift according to the scheduling request;
[0020] searching for the target shift in the shift configuration table to obtain basic scheduling conditions;
[0021] According to the basic scheduling condition, an access judgment expression of the target shift is constructed, wherein the access judgment expression is an expression for judging whether the nurse information matches the post level condition, the adaptive shift type condition, the qualification condition and the prohibited state constraint condition of the target shift;
[0022] The nurse information table is matched according to the access judgment expression, and a candidate nurse set is obtained.
[0023] Optionally, the operating room nurse intelligent scheduling method, wherein the candidate nurse set is subjected to re-screening processing to obtain a target scheduling result, specifically including:
[0024] An extended scheduler is determined, and the extended scheduler is set according to the shift load information and the rule information to obtain an extended scheduling condition;
[0025] The candidate nurse set is subjected to constraint adjustment according to the extended scheduling condition to obtain a target scheduling result.
[0026] Optionally, the operating room nurse intelligent scheduling method, wherein the extended scheduling condition includes a mutual exclusion scheduling rule and a residency system rule; and the candidate nurse set is subjected to constraint adjustment according to the extended scheduling condition to obtain a target scheduling result, specifically including:
[0027] It is judged whether the target shift exists mutual exclusion scheduling, if yes, the candidate nurse set is subjected to screening processing by the extended scheduler according to the mutual exclusion scheduling rule to obtain a first candidate nurse set;
[0028] It is judged whether the target shift is a residency type shift, if yes, the first candidate nurse set is subjected to screening processing by the extended scheduler according to the residency system rule to obtain a second candidate nurse set;
[0029] The second candidate nurse set is subjected to screening processing by the extended scheduler according to the shift load information to obtain a target scheduling result.
[0030] Optionally, the operating room nurse intelligent scheduling method, wherein the second candidate nurse set is subjected to screening processing by the extended scheduler according to the shift load information to obtain a target scheduling result, specifically including:
[0031] The second candidate nurse set is grouped according to the required number of the target shift to obtain a candidate scheduling group set;
[0032] The load information of the target shift in the shift load information is obtained as a target shift load;
[0033] According to the nurse information table, the accumulated load of each nurse in the candidate nurse set is obtained, the target shift load is added to the accumulated load, and the load pre-score of each nurse in the candidate nurse set is obtained;
[0034] A load balancing objective function is determined, wherein the load balancing objective function is used to calculate the minimum value of the load pre-score variance of the nurse combination in the candidate shift group, and the expression of the minimum value of the load pre-score variance is:
[0035]
[0036] Wherein, min represents the minimum value, n represents the required number of the target shift, i represents the number of nurses, S i represents the load pre-score of the nurse i, represents the average value of the load pre-score of all nurses in the candidate nurse set;
[0037] According to the load balancing objective function, the nurse combination corresponding to the minimum value of the load pre-score variance is obtained, and the target shift result is obtained.
[0038] In addition, in order to achieve the above-mentioned purpose, the application further provides a operating room nurse intelligent scheduling system, wherein the operating room nurse intelligent scheduling system comprises:
[0039] An information configuration module is configured to determine nurse information and shift configuration, and to perform input processing on the nurse information and the shift configuration to obtain a nurse information table and a shift configuration table;
[0040] A primary screening module is configured to obtain a target shift, to search for the target shift in the shift configuration table to obtain a basic scheduling condition, and to perform primary screening processing on the nurse information table according to the basic scheduling condition to obtain a candidate nurse set;
[0041] An optimization screening module is configured to perform re-screening processing on the candidate nurse set to obtain a target shift result.
[0042] In addition, in order to achieve the above-mentioned purpose, the application further provides a terminal, wherein the terminal comprises a memory, a processor, and an operating room nurse intelligent scheduling program stored in the memory and executable on the processor, and the operating room nurse intelligent scheduling program, when executed by the processor, implements the steps of the operating room nurse intelligent scheduling method as described above.
[0043] In addition, to achieve the above object, the application further provides a computer readable storage medium, wherein the computer readable storage medium stores a operating room nurse intelligent scheduling program, and the operating room nurse intelligent scheduling program realizes the steps of the operating room nurse intelligent scheduling method when executed by a processor.
[0044] In the application, nurse information and shift configuration are determined, the nurse information and the shift configuration are subjected to input processing to obtain a nurse information table and a shift configuration table; a target shift is obtained, a basic scheduling condition is obtained by searching the shift configuration table according to the target shift, and the nurse information table is subjected to primary screening processing according to the basic scheduling condition to obtain a candidate nurse set; the candidate nurse set is subjected to re-screening processing to obtain a target scheduling result. According to the shift configuration, the application generates corresponding scheduling conditions, and automatically schedules nurses according to the scheduling conditions, which significantly improves the rationality and fairness of scheduling. BRIEF DESCRIPTION OF DRAWINGS
[0045] Figure 1 is a flow chart of a preferred embodiment of the operating room nurse intelligent scheduling method of the application;
[0046] Figure 2 is a working principle diagram of the operating room nurse intelligent scheduling method of the application;
[0047] Figure 3 is a structure diagram of a preferred embodiment of the operating room nurse intelligent scheduling system of the application;
[0048] Figure 4 is a structure diagram of a preferred embodiment of the terminal of the application. DETAILED DESCRIPTION
[0049] To make the object, technical scheme and advantages of the application more clear and explicit, the application is further described in detail below with reference to the drawings and examples. It should be understood that the specific examples described herein are only used to explain the application and do not limit the application.
[0050] In the management of hospital operating rooms, nurse scheduling is a highly complex and critical task. Unlike ordinary nursing scheduling, operating rooms involve various types of shifts, such as regular day shifts, night shifts, hospital area call shifts, surgery shifts and training dedicated shifts, each of which has significant differences in working period, responsibility intensity and personnel qualifications. At the same time, nurse scheduling also needs to follow strict rotation strategies and individual protection requirements, such as fixed structure rotation of night shifts, guarantee of weekly rest time for trainees and prohibition of scheduling certain shifts for special groups, and the scheduling process needs to achieve personnel coordination and post matching under multi-dimensional constraints.
[0051] The existing scheduling method mainly depends on manual experience or a template system. When a manager manually arranges the scheduling based on personal experience, the manager is easily affected by subjective preference, and it is difficult to ensure fairness and rationality, and the efficiency is low. When the scheduling is arranged by using the template system, the system is usually only suitable for simple rules, and cannot process complex shift requirements. The two scheduling methods are difficult to systematically process complex shift structure and personnel rules, which affects the efficiency of scheduling and the nursing quality of nurses.
[0052] To solve the above problems, the present application provides a kind of operating room nurse intelligent scheduling method, by corresponding scheduling condition is generated according to shift configuration, and according to scheduling condition, nurses are automatically scheduled, so that scheduling result is more reasonable and accurate, significantly improve the efficiency of scheduling and the nursing quality of nurses.
[0053] The operating room nurse intelligent scheduling method of the preferred embodiment of the present application, as shown in Figure 1 The operating room nurse intelligent scheduling method comprises the following steps:
[0054] Step S10, determine the nurse information and shift configuration, input the nurse information and the shift configuration, obtain the nurse information table and the shift configuration table.
[0055] Specifically, the shift configuration includes the load of each shift, shift basic information and rule information; obtain the nurse information, and input the nurse information into the database to obtain the nurse information table; wherein the nurse information includes nurse basic information, qualification information, state information and work load information.
[0056] The present application first carries out structured management to the nurse information table, and the process is as follows:
[0057] The nurse information table is the individual subject information input source of the system, mainly through multidimensional structured modeling of the nurse related information, to form the basic data support of subsequent scheduling algorithm, including the following dimensions:
[0058] 1. Basic attribute dimension: nurse ID, post level, such as N1-N4, probationer and adaptive shift type set, such as regular shift, standby shift and examination shift.
[0059] 2. Qualification and state dimension: including post qualification list, such as critical illness qualification, DSA (Driving Safety Alerting, driving safety warning and navigation system) operation qualification, rotation state and forbidden scheduling conditions, such as pregnancy, rest and training conflict.
[0060] 3. Work load dimension: total historical load score, such as 30 points, current value state (such as having night shift), available time period, off-duty, training and forbidden scheduling window, etc.
[0061] Among them, for the current on-duty state, different shifts of the day nurse have different on-duty states, which can be divided into on-duty day shift and on-duty night shift and leave.
[0062] For each nurse, detailed basic information is entered, including but not limited to the nurse's name, job number, and post level, such as N1-N4 level nurses and interns, etc. The post level is an important basis for judging the nurse's ability to undertake shifts and work difficulty. For example, N4 level nurses usually have the ability to undertake high difficulty and high responsibility shifts, while interns need to be guided by the teacher to undertake some basic shifts.
[0063] It is necessary to consider the nurse's professional skills, training experience and work experience, etc. For example, nurses with critical care qualifications can undertake shifts in the intensive care unit; nurses who have received first aid training can participate in emergency shifts. At the same time, for interns, special shifts such as "line 0" and "night 0" should be marked, and special constraints such as not less than 2 days of weekly rest should be set.
[0064] The naming rules of the shift are as follows:
[0065] "Line": refers to the day shift period on normal working days and holidays, with a working time of 8 to 17, which belongs to the normal day shift arrangement; "Line two" ( "Line" plus Chinese numerals, used for normal weekdays): "two, three, four" are the common call shifts of two hospital areas, which are prepared for night shift call on weekdays and must arrive at the department within 30 minutes after receiving the notice; among them, "Line two" is on duty from 8 to 15, and rests from 15 to 17, and takes the call night shift at 17; "Line three" and "Line four" have the same white shift time as "Line" because the probability of being called is very low; "Examination": during the normal day shift period from 8 to 17 on weekdays, undertake the examination work of the operation specification of other personnel, and the task implementers are limited to a few nurses with high qualifications.
[0066] "Rest" represents the fixed rest day of each week, that is, all day without attendance.
[0067] "D two" (abbreviation of "Line D two"): on normal working days from 8 to 15, but need to keep a prepared state, ready to respond to night DSA operation second-line task. Each day should ensure that there is one nurse to play the role of "D two" to ensure the emergency support needs of the operation. D two is on duty from 8 to 15, and rests from 15 to 17, and takes the call night shift at 17.
[0068] "D2 Rest" (dedicated to weekends): The entire weekend is initially set to a pending rest state, but must be prepared at any time to respond quickly when there is a need for second-line DSA surgery at night, ensuring the timeliness and effectiveness of emergency surgical support.
[0069] "Two-day rest" (specifically for weekends): The entire weekend is designated as a rest day, while remaining on the second line of emergency surgery, ready to respond to any 24-hour call. Upon receiving a call (not just at night), personnel must arrive at the hospital within 30 minutes to meet the manpower needs for emergency surgeries. When "two-day rest" personnel are insufficient, "three-day rest" personnel will serve as backup for the third line of surgery, although their deployment is usually less frequent. The same applies to "four-day rest" personnel, and so on, collectively building a tiered system of emergency surgical personnel for weekends.
[0070] "Line 1" ("Line" followed by Arabic numerals, specifically for weekends): This role is designed for emergency situations on weekends. It requires performing normal day shift work from 8:00 to 17:00 on Saturdays and Sundays to ensure adequate nursing staff during weekend emergency periods, ensuring the smooth operation of emergency work and timely treatment of patients.
[0071] Line 0 is the weekend shift arranged for resident trainees. When the resident trainees' teachers are teaching Line 1, Line 2, Line 3, or Line 4 on weekends, they will consider arranging Line 0 for the resident trainees. There must be one resident trainee in Line 0 every day on weekends or holidays.
[0072] "Rest 1" ("Rest 1" followed by Arabic numerals, specifically for weekends): This means that at the beginning of the week, the nurse is temporarily scheduled to rest for the weekend, but must make corresponding preparations. For example, if a doctor temporarily schedules a routine surgery on Saturday, the nurse can be ready to work overtime on the weekend routine surgery to flexibly cope with the uncertainty and temporary changes in the weekend surgery schedule and ensure the efficient operation and continuity of the hospital's surgical work.
[0073] "Education Class": Changes according to the night shift schedule; "Resuscitation Room": Rotates between standardized training programs, with one person on duty for one month at a time.
[0074] Night shifts fall into two categories:
[0075] "Rest 1" and "Night 1": Specifically, this refers to a rest period from 8:00 to 17:00, followed by night shift duties from 17:00 to 8:00 the next day; "Travel 1" and "Night 1": Normal work from 8:00 to 12:00 on the first day, followed by a rest period from 12:00 to 17:00, and then night shift duties from 17:00 to 8:00 the next day; Special note: If there is a surgery scheduled on the morning of the first day for "Travel 1" and "Night 1", they will also need to be assigned to assist with the surgery.
[0076] "Night shift": refers to the rest day after the night shift ends at 8:00 am; "Night 0" is only used to indicate the situation of trainees working night shifts.
[0077] Record nurses' special qualifications, which are key factors in enabling them to undertake specific shifts. For example, nurses qualified to assist in surgery can participate in operating room shifts; nurses qualified to operate equipment, such as ventilators and electrocardiogram monitors, can work in relevant departments. In addition, record nurses' rotation status, i.e., whether they have completed rotations in specific positions. This is crucial for adhering to rotation rules when scheduling shifts.
[0078] Enter nurses' restrictions on scheduling, such as prohibiting pregnant nurses from working night shifts; prohibiting nurses undergoing training from working certain shifts during the training period. These restrictions will play a limiting role in the scheduling process to ensure that nurses' work arrangements are in line with their physical condition and actual work situation.
[0079] Furthermore, the shift difficulty information includes workload, responsibility level, and time specificity; the workload, responsibility level, and time specificity of each shift are determined, and the difficulty of each shift is compared based on the workload, responsibility level, and time specificity to obtain a comparison result; the load score of each shift is set based on the comparison result to obtain the shift load information of each shift; the basic shift information and the rule information are obtained, and the basic shift information, the shift load information, and the rule information are entered into the database to obtain the shift configuration table.
[0080] The structured management process for shift allocation tables includes:
[0081] like Figure 2 As shown, the shift configuration table is a structured input template for scheduling tasks, defining the attributes, requirements, and corresponding constraints for each shift. It is primarily used to construct scheduling rules and constraints, and its fields include:
[0082] 1. Basic Information: Shift ID, Shift Name (e.g., Day Shift, Night Shift, DSA Second-Line Duty), and Shift Schedule. This schedule can be continuous or segmented, such as a regular Day Shift from 8:00 to 15:00, a break from 15:00 to 17:00, and a Night Shift starting at 17:00.
[0083] 2. Load Quantification: The difficulty score of this shift is used for load assessment. For example, the night shift has a relatively high difficulty score because the working hours are at night, the work intensity is higher, and the responsibility risk is higher.
[0084] 3. Admittance rule field: post level requirement, required qualification list, forbidden state requirement, and whether to require a teacher; used to strictly limit the scope of nurses who can undertake the shift, for example, high-risk shifts may require nurses to have specific qualifications, and trainees need to have a teacher on duty when undertaking certain shifts.
[0085] 4. Quantity rule: required number of nurses, personnel structure configuration of each role (such as main shift, deputy shift); used to clearly define the number of personnel required for the shift each day or each week, for example, at least 4 nurses are required for emergency night shift each day, and 1 nurse is required for second-line shift each day.
[0086] 5. Rotation rule: whether to be included in the night shift group rotation, corresponding shift group index structure, etc. For example, the night shift group rotates in the order of nurse number, or the necessary shift rotation rule across departments.
[0087] To determine the detailed attribute information for each shift, first of all, the name of the shift, such as regular day shift, night shift, education shift, and examination shift, etc., should accurately reflect the nature and characteristics of the shift; the working period of the shift should be clear, which can be continuous, such as regular day shift from 8:00-17:00, or segmented, such as "line two" shift, working from 8:00-15:00, resting from 15:00-17:00, and waiting for calls from 17:00; different working periods require different energy and physical strength from nurses, which should be considered comprehensively when scheduling. Set the difficulty score of the shift. Difficulty score is a quantitative indicator that comprehensively evaluates factors such as work intensity, responsibility risk, and period specificity of the shift, for example, night shift has a greater impact on nurses' biological clock due to the working time at night, and may face more urgent and complex situations, so the difficulty score is relatively high; examination shift involves the examination of nurses' professional skills and knowledge, which is of great responsibility, so the difficulty score is also correspondingly increased; develop constraints for the shift; admittance rule clearly defines the scope of nurses who can undertake the shift, such as "DSA second line" shift is only undertaken by a small number of nurses with specific qualifications; quantity rule specifies the number of personnel required for the shift each day or each week, such as at least 4 nurses are required for emergency night shift each day; rotation rule determines whether the shift is included in a specific rotation system, such as the "shift fixed person rotation" strategy is adopted for the night shift group, and nurses rotate within the fixed night shift group.
[0088] Step S20, obtain a target shift, search in the shift configuration table according to the target shift, obtain the basic scheduling conditions, and perform a preliminary screening process on the nurse information table according to the basic scheduling conditions to obtain a candidate nurse set.
[0089] Specifically, when a scheduling request is received, a target shift is determined based on the scheduling request; the target shift is searched in the shift configuration table to obtain basic scheduling conditions; based on the basic scheduling conditions, an admission judgment expression for the target shift is constructed, wherein the admission judgment expression is an expression that judges whether the nurse information matches the job level conditions, suitable shift type conditions, qualification conditions, and prohibited status constraints of the target shift; the nurse information table is matched according to the admission judgment expression to obtain a candidate nurse set.
[0090] Retrieve the shift configuration table from the nurse scheduling request, and extract the corresponding basic scheduling conditions from the shift configuration table based on the shift entries within the target scheduling period. The basic scheduling conditions are the admission conditions associated with the shift entries, including job level conditions, suitable shift type conditions, qualification conditions, and prohibited status constraints.
[0091] Based on the admission criteria, a judgment expression is constructed for admission determination. This expression is used to match the job level, suitable shift, qualifications, and prohibited status in the nurse information table in sequence. When the job level meets the job level condition, the suitable shift and qualifications are matched with the corresponding suitable shift type condition and qualification condition in sequence. If the prohibited status does not meet the prohibited status constraint condition, the candidate nurse is determined to meet the admission criteria and is added to the candidate nurse set.
[0092] For each candidate nurse in the candidate nurse set, determine whether the available time period corresponding to the nurse information table covers the scheduling time window of the target shift. If the result is no coverage, remove the candidate nurse and update the candidate nurse set. If the result is coverage, retain the candidate nurse.
[0093] Step S30: Perform a second screening process on the candidate nurse set to obtain the target scheduling result.
[0094] Specifically, an extended scheduler is determined, and the extended scheduler is configured according to the shift load information and the rule information to obtain extended scheduling conditions; the extended scheduling conditions include mutually exclusive scheduling rules and standardized training system rules.
[0095] like Figure 2 As shown, this invention includes an extended scheduler, whose scheduling targets include:
[0096] 1. Night shift rotation constraint processing: In accordance with the night shift group rotation strategy of "fixed shift, rotating personnel", the preset night shift structure is fixedly configured, and the members are rotated in a cyclical manner within the night shift group based on the historical shift order index;
[0097] 2. The trainee nurse protection scheduling is inserted into the rest window according to the preset weekly rest rules and high load shift limit, to ensure that the trainee nurse obtains at least two days of rest time per week, and does not continuously bear high load shifts. When the trainee nurse has been arranged in the current shift cycle, the recovery shift has a higher priority than the night shift of the trainee nurse, so the trainee nurse is not included in the “night 0” candidate list, to avoid repeated high load shifts.
[0098] 3. The nurse combination rotation mechanism: for specific nurse combinations with scheduling exclusion relationship, under the same shift demand scenario, the historical scheduling frequency and load index are used for rotation assignment to avoid continuously assigning high load combination members to the same or adjacent shifts.
[0099] Further, it is judged whether the target shift has a mutual exclusion scheduling. If yes, the candidate nurse set is filtered by the extension scheduler according to the mutual exclusion scheduling rule to obtain a first candidate nurse set.
[0100] According to the personnel configuration of the shift configuration table of the target shift, the shift structure and the number of personnel requirements of the target shift are obtained, and it is judged whether the target shift belongs to a preset rotating shift type. The night shift belongs to the rotating shift.
[0101] When it belongs to the preset rotating shift type, the rotating scheduling mechanism is called, the shift structure and the number of personnel requirements are used, and the candidate nurses in the historical rotation table are sequentially rotated backward according to the scheduling order index. When the scheduling pointer exceeds the index boundary of the shift member list, a cycle reset operation is triggered to reset the scheduling pointer to the index starting position. According to the updated scheduling order index, the corresponding candidate nurses are selected from the candidate nurse set in turn, and are assigned to the corresponding positions in the shift structure in order until the number of personnel requirements is met. The updated candidate nurse set is reserved, otherwise the current candidate nurse set is reserved.
[0102] The mutual exclusion scheduling combination configuration associated with the target shift is extracted from the shift configuration table, for example, A and B can only have one person for two days of evaluation shift per week, and the candidate nurse combination with scheduling conflict and the corresponding rotation allocation mechanism are identified. It is judged whether the candidate nurse set contains a candidate nurse combination matching the mutual exclusion combination configuration. When the candidate nurse combination is not included, the rotation allocation mechanism is skipped, and the current candidate nurse set is reserved. When the candidate nurse combination is included, the rotation allocation mechanism is used for distribution. This includes retrieving the historical scheduling record table of the candidate nurses in the candidate nurse combination in the target shift, and counting the participation frequency and continuous scheduling times of the candidate nurses in the preset historical period. The candidate nurse with the least participation frequency is selected according to the rotation allocation mechanism. When the participation frequency of the candidate nurse is the same, the candidate nurse with the least continuous scheduling times or the lowest total historical load score is extracted and scheduled to the corresponding position in the shift structure, and the historical scheduling record table is updated.
[0103] For example, for the assessment class, first, according to the access rules, the nurses with level ≥ N3 and assessment qualification are selected as candidates, for example, A and B can only have one person in a week and can have two consecutive assessment classes, the system will automatically follow this special rule when scheduling to avoid two people simultaneously and continuously undertaking the assessment class; when selecting specific nurses, the load score of the nurses is also considered, and nurses with lower load are preferred to achieve overall load balance.
[0104] Further, it is judged whether the target shift is a training type shift, and if so, the first candidate nurse set is filtered by the extended scheduler according to the training system rules to obtain a second candidate nurse set.
[0105] When the target shift is a non-training shift type or there is no qualified training nurse, the current candidate nurse set is retained; when the target shift is a training shift type, "line 0" "night 0" fine distribution is performed: the system dynamically generates a candidate list in combination with the shift information of the teaching teacher.
[0106] When the teaching teacher undertakes any of the "line two", "line three" or "line four" shift, the training student of the teaching teacher automatically enters the "line 0" candidate list, and the system selects the training student with ≥2 days of weekly rest from the candidate list every day, calculates the comprehensive score according to "continuous value post days × 0.6 + months of employment × 0.4", and preferentially selects the one with the highest score, for example, training student A has been on duty for 5 days and has been employed for 8 months, the score = 5 × 0.6 + 8 × 0.4 = 6.2, which is higher than the score 5.8 of training student B, and training student B is preferentially distributed.
[0107] When the teaching teacher undertakes the night shift, the training student of the teaching teacher enters the "night 0" candidate list, and the selection rule is consistent with "line 0", ensuring that one training student undertakes the night 0 shift and the teaching teacher is on duty every day. The recovery class is a special shift for training students, and the on-duty personnel is automatically rotated every month 1, which is distributed by the system according to the rotation order and qualification of the training students.
[0108] The system maintains the rotation list of the recovery class of the training students in advance, and sorts them according to the factors such as the time of employment and the training progress, and automatically switches the on-duty training students at 0 o'clock every month 1, for example: training student A undertakes the recovery class in January, and training student B is automatically rotated on February 1; when the training nurse has been arranged in the recovery class in the current scheduling period, the priority of the recovery class is higher than that of the night shift of the training student, so the training nurse is not included in the "night 0" candidate list to avoid repeated high-load shifts. The rest condition of the training student is that the training nurse continuously or intermittently accumulates the rest for a predetermined number of days in the target scheduling period.
[0109] Further, the second candidate nurse set is grouped according to the required number of nurses of the target shift, to obtain a candidate shift group set; the load information of the target shift in the shift load information is obtained as a target shift load; the cumulative load of each nurse in the candidate nurse set is obtained according to the nurse information table, and the target shift load is added to the cumulative load to obtain the load pre-credit of each nurse in the candidate nurse set; and a load balance objective function is determined, wherein the load balance objective function is used to calculate the minimum value of the load pre-credit variance of the nurse combination in the candidate shift group set, and the expression of the minimum value of the load pre-credit variance is:
[0110]
[0111] Wherein, min represents the minimum value, n represents the required number of nurses of the target shift, i represents the number of nurses, S i represents the load pre-credit of nurse i, represents the average value of the load pre-credits of all nurses in the candidate nurse set; according to the load balance objective function, the nurse combination corresponding to the minimum load pre-credit variance is obtained to obtain a target shift result.
[0112] The nurse information table also contains a load record, and the load record includes historical work credits and a current available period, wherein the historical work credits are the comprehensive difficulty of the past shifts undertaken by the nurse, that is, the total historical load credit, and the current available period includes a shift-off plan and a shift already undertaken.
[0113] The load credit of the shift attribute is based on the work intensity, responsibility level and time specificity, wherein the setting rule of the load credit is that the higher the work intensity, the higher the load credit, and the work intensity is based on the shift difficulty, for example, DSA line needs special qualifications, and the intensity is obviously higher than that of ordinary day shift; the night shift has a greater impact on the nurse's biological clock due to the working time at night, and may face more urgent and complex situations at night, so the load credit is relatively high; and the examination shift involves the examination of the professional skills and knowledge of the nurse, and the responsibility is great, so the load credit will also be increased accordingly.
[0114] For example, the current shift type is night shift allocation, and the system first filters out the candidate nurses who meet the conditions from the nurse information table according to the admission rules of the night shift, and for the night shift, the nurse is usually required to be a non-regulation trainee and in the night shift participation state, and the system will automatically filter out the regulation trainees and nurses who cannot participate in the night shift due to the forbidden shift condition, to obtain a preliminary candidate nurse set.
[0115] The night shift team rotation strategy adopts a "shift fixed person rotation" strategy. Nurses are arranged in a fixed night shift team queue according to their employment time. Every week, the nurses in the team rotate according to the queue index (for example, if the queue index is shifted sequentially, the cycle is reset when the length is exceeded). For example, nurse A undertook a night shift shift in a certain night shift team on Monday last week. This week, the next nurse in the queue automatically rotates to undertake the night shift shift on Monday. If the queue length is 4, a cycle is completed every 4 weeks. The system records the scheduling order index through the historical rotation table, so that the future night shift shift of each nurse can be accurately predicted through the queue order. At the same time, the system evaluates the pre-credit through the load calculator to ensure that the load pre-credit variance is minimized in rotation, avoiding the same type of night shift for a long time and ensuring balanced work load.
[0116] For the selected candidate nurses, the system calculates their pre-credits after undertaking the night shift. The calculation method of the pre-credit is the cumulative load credit of the current nurse plus the load credit of the night shift.
[0117] For example, the cumulative load credit of nurse B is 20 points, and the difficulty credit of the night shift is 9 points. Therefore, the pre-credit of nurse B after undertaking the night shift will be 29 points. The system selects the allocation scheme that minimizes the variance of the nurses' load based on the load balance objective function, that is, by comparing the load variances of different candidate nurse combinations, the combination with the smallest variance is selected as the final night shift allocation scheme, ensuring that the four nurses on the night shift each day belong to different night shift teams and achieving balanced load allocation.
[0118] Based on the generated scheduling results, the verification optimizer verifies the target scheduling results, and performs real-time optimization adjustment when it detects that the basic scheduling conditions are not met, the load balance target exceeds the threshold, and / or the scheduling conflicts caused by the nurse information table update.
[0119] The verification optimizer verifies the scheduling compliance in real time, intelligently optimizes the load variance that exceeds the threshold, provides a manual adjustment interface, and re-verifies the compliance of the rules, which mainly include:
[0120] 1. Real-time detection of whether the scheduling results meet the basic scheduling conditions such as the number of roles, qualification matching, etc. If it is found that the rules are not met, a red warning will be prompted. Specifically, the scheduling results are verified in real time at 0 o'clock every day to check whether various basic scheduling conditions are met. For example, whether "row two", "row three" and "row four" are arranged with one person each; whether the off-duty days of the probationers meet the requirements; whether the number of night shift personnel meets the requirements, etc. If it is found that the rules are not met, the system will mark it with a red warning to remind the management personnel to handle it.
[0121] 2、When the load variance between nurses is detected to exceed the pre-set threshold, the system will optimize the scheduling scheme by automatically adjusting shift exchange, inserting off-duty, etc. to minimize the load difference between nurses. Specifically, the system will monitor the load score of nurses in real time, and when it finds that the load difference between nurses is large, i.e. the standard deviation of nurse score > 8, it will trigger the shift exchange mechanism. For example, if nurse C has a high load score and nurse D has a low load score, the system will automatically attempt to exchange their shifts, e.g. exchange nurse C's "on" shift with nurse D's "on standby 1" shift. After the exchange, the system will recalculate the load score and load variance of the nurses and check again whether the requirements of the load balancing objective function are met. If not, adjustments will continue until the load difference is within an acceptable range.
[0122] 3、The system provides a visual interface that allows the operating room manager to fine-tune the scheduling results. After the manager makes adjustments, the system will automatically re-verify whether the adjusted scheme still meets all the basic scheduling conditions. The operating room manager can view the detailed scheduling results on the interface. For conflicts and problems marked by the system, the manager can intervene and adjust manually. For example, for certain special cases, such as a nurse having personal special needs (e.g. taking an important exam, having a sudden situation at home, etc.), the manager can manually adjust the nurse's shift. After manual adjustment, the system will automatically re-verify whether the adjusted scheme still meets all the constraints to ensure that the final scheduling scheme meets the actual needs and is compliant and fair. Finally, the manager can publish the final scheduling results through the system for nurses to view and execute.
[0123] As shown in Figure 2 , the system generates a candidate nurse set through the constraint solver engine based on the nurse information table and the shift configuration table; calculates the load pre-score of each candidate nurse in the candidate nurse set after taking on the target shift through the load calculator, and selects the nurse scheduling combination with the smallest load through the load balancing optimizer, and calls the extended scheduler to adjust the candidate nurse set according to the extended scheduling conditions in the shift configuration table to obtain the target scheduling result, and inputs the target scheduling result into the intermediate scheduling result outputter; the intermediate scheduling result outputter inputs the target scheduling result into the verification optimizer to verify the compliance of the scheduling, if the verification fails, the constraint solver engine re-schedules, if it passes, the target scheduling result is input into the final scheduling result outputter for output.
[0124] The present application generates corresponding scheduling conditions according to the shift configuration, and automatically schedules nurses according to the scheduling conditions, making the scheduling results more reasonable and accurate, significantly improving the efficiency of scheduling and the quality of nursing care for nurses.
[0125] The present application has the following advantages:
[0126] The application realizes intelligent management of the nurse scheduling process in the operating room of the hospital by constructing a multi-dimensional data model and a multi-constraint scheduling mechanism. Compared with the traditional manual scheduling method, the application can automatically schedule according to various factors such as shift demand, nurse qualification, work load, rotation requirement and special protection rules, significantly improving the accuracy, compliance and fairness of scheduling. The introduced load score and variance minimization optimization strategy ensures reasonable allocation of nurse work tasks and avoids individual overwork; at the same time, it supports night shift group rotation, intern leave protection and nurse combination constraints and other complex scene configurations, and adapts to different clinical systems and management rules. The system as a whole has high adaptability, high efficiency and strong expansibility, can effectively improve the efficiency of medical resource allocation, reduce management cost, and ensure the continuity of medical services and nursing quality.
[0127] The application aims to provide an intelligent scheduling method for nurses in the operating room, which comprehensively covers multiple types of shifts, strictly implements various constraint rules and takes load balancing as the core target, supports automatic allocation of various conventional and special shifts, ensures strict implementation of corresponding rules in terms of personnel qualification matching, quantity requirements and rotation strategies, and at the same time, through the construction of difficulty score model and objective function, maximizes the reduction of work load difference between nurses, improves the fairness and rationality of scheduling. Reduce the degree of manual intervention, automatically process complex rules such as intern scheduling and special combination rotation, improve the efficiency and accuracy of scheduling.
[0128] Further, as shown in Figure 3 Based on the above-mentioned visual language action federated learning method based on the two-way selection mixed expert mechanism, the application also correspondingly provides an intelligent scheduling system for nurses in the operating room, wherein the intelligent scheduling system for nurses in the operating room comprises:
[0129] An information configuration module 31 is configured to determine nurse information and shift configuration, perform input processing on the nurse information and the shift configuration, and obtain a nurse information table and a shift configuration table;
[0130] A primary screening module 32 is configured to obtain a target shift, find the target shift in the shift configuration table to obtain a basic scheduling condition, and perform primary screening processing on the nurse information table according to the basic scheduling condition to obtain a candidate nurse set;
[0131] An optimization screening module 33 is configured to perform re-screening processing on the candidate nurse set to obtain a target scheduling result.
[0132] Further, as shown in Figure 4As shown, based on the operating room nurse intelligent scheduling method and system, the application further provides a terminal, which comprises a processor 10, a memory 20 and a display 30. Figure 4 Only part of the components of the terminal are shown, but it should be understood that all the shown components are not required to be implemented, and more or less components can be alternatively implemented.
[0133] The memory 20 can be an internal storage unit of the terminal in some embodiments, such as a hard disk or a memory of the terminal. The memory 20 can also be an external storage device of the terminal in other embodiments, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal. Further, the memory 20 can include both the internal storage unit and the external storage device of the terminal. The memory 20 is used to store application software and various data installed on the terminal, such as program codes of the terminal, etc. The memory 20 can also be used to temporarily store data that has been output or will be output. In an embodiment, the memory 20 stores an operating room nurse intelligent scheduling program 40, which can be executed by the processor 10 to implement the operating room nurse intelligent scheduling method in the application.
[0134] The processor 10 can be a central processing unit (CPU), a microprocessor or other data processing chip in some embodiments, which is used to run program codes or process data stored in the memory 20, such as to execute the operating room nurse intelligent scheduling method, etc.
[0135] The display 30 can be an LED display, a liquid crystal display, a touch liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, etc. in some embodiments. The display 30 is used to display information of the terminal and to display a visualized user interface.
[0136] In an embodiment, the processor 10 implements the steps of the operating room nurse intelligent scheduling method when executing the operating room nurse intelligent scheduling program 40 in the memory 20.
[0137] The application further provides a computer readable storage medium, wherein the computer readable storage medium stores an operating room nurse intelligent scheduling program, which implements the steps of the operating room nurse intelligent scheduling method as described above when executed by a processor.
[0138] In summary, the application provides a method, system and terminal for intelligent scheduling of operating room nurses, the method comprising: determining nurse information and shift configuration, inputting the nurse information and the shift configuration to obtain a nurse information table and a shift configuration table; obtaining a target shift, searching the shift configuration table according to the target shift to obtain a basic scheduling condition, and performing a preliminary screening process on the nurse information table according to the basic scheduling condition to obtain a candidate nurse set; performing a re-screening process on the candidate nurse set to obtain a target scheduling result. The application automatically schedules nurses according to shift requirements, nurse qualifications, workloads, rotation requirements and special protection rules, thereby significantly improving the rationality and fairness of scheduling.
[0139] It should be noted that in this document, the terms "comprising", "including", or any other variant thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or terminal including a list of elements does not only include those elements, but also other elements not expressly listed, or inherent to such process, method, article or terminal. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article or terminal including the element.
[0140] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by a computer program instructing relevant hardware (such as a processor, a controller, etc.) to complete, and the program can be stored in a computer-readable computer-readable storage medium, and the program can include the processes of the above-mentioned method embodiments when executed. The computer-readable storage medium can be a memory, a magnetic disc, an optical disc, etc.
[0141] It should be understood that the application is not limited to the above examples, and those skilled in the art can make improvements or changes according to the above description, and all such improvements and changes should be within the scope of the appended claims of the application.
Claims
1. An operating room nurse intelligent scheduling method, characterized in that, The operating room nurse intelligent scheduling method comprises: determining nurse information and shift configuration, performing input processing on the nurse information and the shift configuration to obtain a nurse information table and a shift configuration table; obtaining a target shift, searching for the target shift in the shift configuration table to obtain a basic scheduling condition, and performing primary screening processing on the nurse information table according to the basic scheduling condition to obtain a candidate nurse set; performing re-screening processing on the candidate nurse set to obtain a target scheduling result.
2. The operating room nurse intelligent scheduling method of claim 1, wherein, The shift configuration comprises a load of each shift, shift basic information and rule information; The determination of the nurse information and the shift configuration, the input processing of the nurse information and the shift configuration, and the obtaining of the nurse information table and the shift configuration table specifically comprise: obtaining nurse information and inputting the nurse information into a database to obtain a nurse information table; The nurse information comprises basic information, qualification information, state information and work load information of the nurse; determining the shift configuration and shift difficulty information, quantitatively processing the load of each shift in the shift configuration according to the shift difficulty information to obtain shift load information; obtaining the shift basic information and the rule information, and inputting the shift basic information, the shift load information and the rule information into a database to obtain a shift configuration table.
3. The OR nurse intelligent scheduling method of claim 2, wherein, The shift difficulty information comprises work intensity, responsibility level and time particularity; The quantitative processing of the load of each shift in the shift configuration according to the shift difficulty information to obtain the shift load information specifically comprises: determining the work intensity, the responsibility level and the time particularity of each shift, and comparing the difficulty of each shift according to the work intensity, the responsibility level and the time particularity to obtain a comparison result; setting the load points of each shift according to the comparison result to obtain the shift load information of each shift.
4. The OR nurse intelligent scheduling method of claim 1, wherein, The obtaining of the target shift, the searching for the target shift in the shift configuration table to obtain the basic scheduling condition, and the primary screening processing of the nurse information table according to the basic scheduling condition to obtain the candidate nurse set specifically comprise: when a scheduling request is received, determining a target shift according to the scheduling request; searching for the target shift in the shift configuration table to obtain a basic scheduling condition; constructing an admission judgment expression of the target shift according to the basic scheduling condition, wherein the admission judgment expression is an expression for judging whether the nurse information matches the post level condition, the shift type condition, the qualification condition and the prohibited state constraint condition of the target shift; matching the nurse information table according to the admission judgment expression to obtain a candidate nurse set.
5. The OR nurse intelligent scheduling method of claim 2, wherein, The re-screening processing of the candidate nurse set to obtain the target scheduling result specifically comprises: determining an extended dispatcher, setting the extended dispatcher according to the shift load information and the rule information to obtain an extended scheduling condition; constraining and adjusting the candidate nurse set according to the extended scheduling condition to obtain a target scheduling result.
6. The OR nurse intelligent scheduling method of claim 5, wherein, The extended scheduling conditions include mutual exclusion scheduling rules and residency system rules; The adjustment of the candidate nurse set according to the extended scheduling conditions to obtain the target scheduling result specifically includes: determining whether the target shift exists mutual exclusion scheduling, if yes, according to the mutual exclusion scheduling rules, the candidate nurse set is screened by the extended scheduler to obtain the first candidate nurse set; determining whether the target shift is a residency type shift, if yes, according to the residency system rules, the first candidate nurse set is screened by the extended scheduler to obtain the second candidate nurse set; screening the second candidate nurse set by the extended scheduler according to the shift load information to obtain the target scheduling result.
7. The OR nurse intelligent scheduling method of claim 6, wherein, The adjustment of the candidate nurse set according to the extended scheduling conditions to obtain the target scheduling result specifically includes: grouping the second candidate nurse set according to the required number of the target shift to obtain a candidate scheduling group set; obtaining the load information of the target shift in the shift load information as a target shift load; obtaining the cumulative load of each nurse in the candidate nurse set according to the nurse information table, and adding the target shift load and the cumulative load to obtain the load pre-credit of each nurse in the candidate nurse set; determining a load balance objective function, wherein the load balance objective function is used to calculate the minimum value of the load pre-credit variance of the nurse combination in the candidate scheduling group set, and the expression of the minimum value of the load pre-credit variance is: wherein min denotes a calculation of a minimum value, n denotes a required number of persons for the target shift, i denotes a number of a nurse, S i denotes a load pre-integral of a nurse i, denotes an average value of the load pre-integrals of all the nurses in the candidate nurse set; obtaining the nurse combination corresponding to the minimum load pre-credit variance according to the load balance objective function to obtain the target scheduling result.
8. An operating room nurse intelligent scheduling system, characterized in that, The operating room nurse intelligent scheduling system comprises: An information configuration module is configured to determine nurse information and shift configuration, and to input the nurse information and the shift configuration to obtain a nurse information table and a shift configuration table; A primary screening module is configured to obtain a target shift, search the target shift in the shift configuration table to obtain a basic scheduling condition, and perform a primary screening process on the nurse information table according to the basic scheduling condition to obtain a candidate nurse set; An optimization screening module is configured to perform a secondary screening process on the candidate nurse set to obtain a target scheduling result.
9. A terminal, characterized by comprising: The terminal comprises a memory, a processor, and an operating room nurse intelligent scheduling program stored on the memory and executable on the processor, and the operating room nurse intelligent scheduling program, when executed by the processor, implements the steps of the operating room nurse intelligent scheduling method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores an operating room nurse intelligent scheduling program, and the operating room nurse intelligent scheduling program, when executed by the processor, implements the steps of the operating room nurse intelligent scheduling method according to any one of claims 1-7.