Integrated two-wing modern hospital management and service system and method
By forming a main chain of business events across the hospital and constraining computing service resources, the problem of collaboration between hospital management and patient services was solved, enabling real-time collaboration in resource allocation and task assignment, and ensuring the efficiency of hospital operations and the continuity of patient services.
Patent Information
- Application Number
- CN202611156337.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-31
- Publication Date
- 2026-11-27
AI Technical Summary
The existing hospital data platform cannot achieve closed-loop coordination between hospital management adjustments and patient service arrangements, resulting in the inability to update resource status in a timely manner, leading to problems such as insufficient resources or waiting tasks.
By collecting patient service events and medical resource status, a main chain of hospital-wide business events is formed. Service resource constraints are calculated according to quality control rules, and resource allocation instructions and task assignment results are generated, enabling collaborative management of the hospital and coordination of patient services under the same business status.
It has achieved closed-loop coordination of hospital management adjustments and patient service arrangements, ensuring the real-time and effective allocation of resources and task assignment, and avoiding situations of insufficient resources or waiting for tasks.
Smart Images

Figure CN123182940A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of hospital information technology and medical service operation management technology. More specifically, this application relates to a modern hospital management and service system and method with a unified core and two supporting components. Background Technology
[0002] Modern hospitals typically have multiple operational systems, including outpatient registration, appointment scheduling, queue management, examination and testing, inpatient management, bed management, human resources, equipment and asset management, and supplies management. These different systems record patient service progress and hospital resource usage, providing information support for medical services and hospital operations.
[0003] Existing hospital data platforms primarily focus on data aggregation, querying, reporting, and post-event analysis. Tasks such as appointment scheduling, waiting, examinations, admission, and follow-up in patient service systems often operate according to the service status stored in their respective systems; while staff shifts, clinics, equipment, beds, and service hours in the hospital management system operate according to a different set of resource statuses. Due to inconsistencies in patient identification, service node identification, task status definitions, and update times, resource changes cannot be promptly reflected in patient service arrangements, and the backlog of tasks resulting from patient service demands cannot be directly converted into a basis for resource allocation.
[0004] When equipment is out of service, staff are temporarily unavailable, service tasks time out, patients cancel, or urgent tasks are inserted, existing solutions typically require manual verification and adjustments across multiple systems. This approach is prone to creating service periods that are open to patients but lack sufficient resources, and also to situations where resources have been released but service tasks remain in a waiting state. Simply adding a data aggregation platform can only improve data visibility; it cannot create an executable status transmission and feedback loop between hospital management adjustments and patient service assignments, making it difficult for hospital management adjustments and patient service arrangements to achieve closed-loop collaboration around the same business status. Summary of the Invention
[0005] This application provides a modern hospital management and service system and method with a unified core and two supporting components, which enables hospital management adjustments and patient service arrangements to form a closed-loop collaboration around the same business status.
[0006] Firstly, this application provides a modern hospital management and service method with a "one body, two wings" structure, comprising the following steps: Collect patient service events, medical resource status, and service task queues; obtain quality control rules including allowable deviations for service completion and resource usage; and associate them according to the patient master index, service node identifier, resource unit identifier, and event sequence to form a hospital-wide business event master chain. Based on the main chain of business events across the hospital, service tasks are mapped to personnel, locations, equipment, and time-slot resource units. The pending workload and available resource quantity of each service node are calculated, and service resource constraints, including arbitrable resource duration, arbitrable task quantity, available time slot, planned completion time limit, and reserved resource quantity, are determined according to the quality control rules. The hospital management wing generates a resource allocation instruction based on the pending workload, the available resource quantity, and the service resource constraints, and writes the allocated service resource constraints back to the hospital-wide business event main chain. The patient service wing generates the service node connection sequence and task assignment results based on the written service resource constraints, the completion status of the preceding tasks, the appointment time, the waiting time, the urgency level given by the source system, and the continuous service requirements. The resource allocation instruction and task assignment results are issued, and the service completion events and resource usage changes generated after execution are collected. The service completion deviation and resource usage deviation are determined, the main chain of hospital-wide business events is updated, and when the service completion deviation exceeds the allowable deviation, the resource usage deviation exceeds the allowable deviation, or a resource outage occurs, the resource allocation instruction and task assignment results for unstarted service tasks are regenerated.
[0007] In some embodiments, forming the hospital-wide business event master chain specifically includes: Receive event records output from various hospital business systems. The event records include at least the patient identity identifier, source system identifier, service node identifier, service task identifier, resource unit identifier, event status, event time, and status version. Event records belonging to the same patient are merged into the same patient identifier through the patient master index, and service node identifiers from different source systems are unified through the service node coding table. Remove duplicate events based on service task identifier and status version, and correct out-of-order events that arrived first and occurred later based on event time; The corrected event records are linked according to patient identifier, service node identifier, resource unit identifier and event sequence to obtain the main chain of hospital-wide business events.
[0008] In some embodiments, calculating the pending load and available resources of each service node specifically includes: Read the service tasks that are in the pending or scheduled but not completed state from the main chain of business events of the whole hospital, and read the resource type, qualification requirements, execution location, execution time period and standard duration of each service task; Personnel, locations, equipment, and time periods that meet the eligibility requirements, execution locations, and execution time periods are marked as candidate resource units, and a mapping relationship between service tasks and candidate resource units is established; The pending workload is obtained by summing up the pending resource duration of the same service node within the preset scheduling window according to the standard occupancy time of each service task. The available resource quantity is obtained by subtracting the locked time, actual occupied time, maintenance downtime, and emergency reserve time from the planned resource duration.
[0009] In some embodiments, determining service resource constraints specifically includes: Read the personnel qualification restrictions, site usage restrictions, equipment application scope, maximum parallel task volume, task preparation time and emergency resource retention requirements from the quality control rules; For service tasks that require the simultaneous participation of multiple types of resources, the number of executable tasks is determined based on the available resource quantity and corresponding standard occupancy time of each type of resource, and the minimum number of executable tasks is determined as the number of tasks that the service node can arrange. The available resource duration is determined based on the number of tasks that can be arranged at the service node and the standard occupancy time of the service tasks. The planned completion time limit is determined based on the available time period of the candidate resource unit, the task preparation time, and the standard occupancy time. The amount of reserved resources is determined according to the emergency resource retention requirements. The available resource duration, the number of tasks that can be arranged at the service node, the available time period of the candidate resource unit, the planned completion time limit, and the amount of reserved resources form a service resource constraint.
[0010] In some embodiments, the resource allocation instructions generated by the hospital management wing specifically include: Compare the pending workload with the available resource duration to identify the resource gap service nodes where the pending workload exceeds the available resource duration. Select adjustable resource units that meet the eligibility requirements and usage restrictions and are within the service resource constraints from other service nodes or adjacent available time periods; The resource allocation plan is generated in the following order: first, release the resources occupied by canceled tasks; then, activate the resources that meet the emergency retention and release conditions; and finally, adjust the interchangeable resource units. The resource source, target service node, effective period, allocation quantity, and execution prerequisites are written into the resource allocation instruction, and the service resource constraints are updated according to the available resource quantity after allocation.
[0011] In some embodiments, the patient service wing generates the service node connection order and task assignment results, specifically including: Read the completion status of the preceding tasks, the appointment time, the waiting time, the urgency level given by the source system, and the continuous service requirements of each service task from the main chain of business events of the entire hospital. The service task is added to the assignable task set only when the completion status of the preceding task is completed and the corresponding resource unit is within the service resource constraint. The set of assignable tasks is arranged according to the urgency, appointment time, waiting time and continuous service requirements given by the source system, and the connection order of service nodes is determined. The service tasks are assigned service nodes, resource units, and execution time periods to form a task assignment result. When the current service node has no available resources, the service tasks that have not yet started are assigned to alternative service nodes or alternative time periods that meet the same qualification requirements.
[0012] In some embodiments, the regeneration of resource allocation instructions and task assignment results specifically includes: Record the actual start time, actual completion time, actual resource usage duration, cancellation status, no-show status, and resource outage status of service tasks; The actual completion time is compared with the planned completion time limit, and the actual resource usage time is compared with the expected usage time in the task assignment result to determine the service completion deviation and the resource usage deviation. When the service completion deviation exceeds the allowable service completion deviation, the resource usage deviation exceeds the allowable resource usage deviation, or the resource is in a state of shutdown, the service tasks that have already started are locked, and the pending load, available resources, and service resource constraints of the affected service nodes are recalculated. Based on the recalculated pending load, available resources, and service resource constraints, resource allocation instructions and task assignment results for unstarted service tasks are regenerated.
[0013] Secondly, this application provides a modern hospital management and service system with one main body and two wings, the system including a business event main chain module, a service resource constraint module, a hospital management wing module, a patient service wing module, and a feedback module.
[0014] The business event main chain module is used to form the main chain of business events for the entire hospital. The service resource constraint module is used to determine the pending workload, available resources, and service resource constraints. The hospital management wing module is used to generate resource allocation instructions and write back the allocated service resource constraints. The patient service wing module is used to generate the service node connection sequence and task assignment results. The feedback module is used to trigger reallocation and reassignment based on the service completion deviation, resource usage deviation, and resource inactivity status.
[0015] Thirdly, this application provides a computer device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the aforementioned integrated modern hospital management and service method.
[0016] Fourthly, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the aforementioned integrated modern hospital management and service method.
[0017] The technical solutions provided by the embodiments disclosed in this application have the following beneficial effects: This application uses the hospital-wide business event master chain as a "unity," associating patient service events, service task status, and medical resource status through patient master indexes, service node identifiers, resource unit identifiers, and event sequence. This allows the hospital management wing and the patient service wing to read the same business status. Service resource constraints are formed based on the actual availability of personnel, locations, equipment, and time periods, as well as quality control rules. This ensures that the resource allocation results from the management side are available for the patient service side to access, including available resource duration, available task quantity, available time period, planned completion deadline, and reserved resource quantity. After issuing resource allocation instructions and task assignment results, the hospital-wide business event master chain is updated based on changes in service completion events and resource usage. When the deviation in service completion or resource usage exceeds the corresponding allowable deviation, or when resources are inactive, only the affected unstarted service tasks are reallocated and reassigned. This creates a closed-loop collaboration between hospital management adjustments and patient service arrangements, all centered around the same business status. Attached Figure Description
[0018] Figure 1 This is an exemplary flowchart of a modern hospital management and service method with a single body and two wings, as shown in some embodiments of this application; Figure 2 This is a schematic diagram illustrating the formation process of the main chain of hospital-wide business events according to some embodiments of this application; Figure 3 This is a schematic diagram of a modern hospital management and service system structure with one main body and two wings, as shown in some embodiments of this application; Figure 4 This is a schematic diagram of a computer device structure according to some embodiments of this application. Detailed Implementation
[0019] To better understand the above technical solutions, they will be described in detail below with reference to the accompanying drawings and specific embodiments. (Reference) Figure 1 The figure is an exemplary flowchart of a modern hospital management and service method with a single body and two wings, according to some embodiments of this application. The method mainly includes the following steps: In step S101, patient service events, medical resource status, and service task queues are collected, and quality control rules including allowable deviations for service completion and resource usage are obtained. These rules are then associated with the patient master index, service node identifier, resource unit identifier, and event sequence to form a hospital-wide business event master chain.
[0020] The main chain of hospital-wide business events is formed by associating patient master indexes, service node identifiers, resource unit identifiers, and event sequences, which can be done in the following way: Receive event records output from various hospital business systems. The event records include at least the patient identity identifier, source system identifier, service node identifier, service task identifier, resource unit identifier, event status, event time, and status version. Event records belonging to the same patient are merged into the same patient identifier through the patient master index, and service node identifiers from different source systems are unified through the service node coding table. Remove duplicate events based on service task identifier and status version, and correct out-of-order events that arrived first and occurred later based on event time; The corrected event records are linked according to patient identifier, service node identifier, resource unit identifier and event sequence to obtain the main chain of hospital-wide business events.
[0021] The term "unified system" in this application refers to a unified business status foundation provided by a hospital-wide business event master chain, while each hospital-wide business system remains independent and accesses the system through structured event records. The hospital-wide business event master chain is a sequence of business events organized according to patient identifiers, service node identifiers, resource unit identifiers, service task identifiers, and event timelines, used to store the sequential relationships between events and their current valid status.
[0022] Patient service events can originate from service stages such as appointments, check-ins, waiting for consultations, examinations and tests, admissions, discharges, and follow-ups; medical resource status can originate from management stages such as staff scheduling, facility openness, equipment availability, bed occupancy, and service hours; service task queues can be formed from authorized medical orders, appointment requests, hospitalization applications, or follow-up plans; quality control rules are used to restrict personnel qualifications, facility usage, equipment applicability, maximum concurrent task volume, task preparation time, and emergency resource retention requirements.
[0023] Patient service events, medical resource status, and service task queues all come from records already generated by the hospital's business system. The medical orders, prerequisites, and urgency levels determined by the source system serve as input constraints for patient service task orchestration. These input constraints, together with resource status, are used for resource allocation and task assignment.
[0024] In some embodiments, forming the hospital-wide business event master chain specifically includes the following process: First, the system receives event logs from various hospital-wide business systems. Each event log must at least store the patient's identity identifier, source system identifier, service node identifier, service task identifier, resource unit identifier, event status, event time, and status version. For resource maintenance events that do not involve a specific patient, the patient's identity identifier can be empty, but the resource unit identifier, event status, event time, and status version must be present.
[0025] Then, patient identification unification is performed using the patient master index. The patient master index is a unified index used in the hospital information platform to identify the same patient. The system reads the patient identifier and basic identity fields from the source system, and merges event records belonging to the same patient into the same patient identifier according to the matching results of the hospital's existing patient master index. Records that cannot be uniquely matched are entered into a manual verification queue and are not directly merged into the existing patient event sequence.
[0026] Furthermore, a service node coding table is used to unify the names of service steps from different source systems. The service node coding table must at least store the source system node name, the unified service node identifier, the preceding node, and the allowed subsequent nodes. For example, checking appointments, checking check-ins, checking execution, and checking completion should each be mapped to different service nodes; they cannot all be considered the same status under the same name.
[0027] Next, duplicate events are identified based on the source system identifier, service task identifier, event type, and status version. When the same event is pushed repeatedly, the record with complete fields and the latest status version is retained. For out-of-order events that arrive first and then occur later, they are reordered according to event time and status version. When the status versions are the same but the event times are different, the order is determined by the event time recorded by the source system.
[0028] Finally, the corrected event records are used to establish preceding and subsequent event references based on patient identifiers, service node identifiers, and event sequence, forming a hospital-wide business event main chain. Resource maintenance events are connected to the corresponding service nodes according to resource unit identifiers, enabling subsequent steps to simultaneously read patient task status and resource availability status from the same event main chain.
[0029] In step S102, based on the hospital-wide business event main chain, service tasks are mapped to personnel, locations, equipment, and time period resource units. The pending workload and available resource quantity of each service node are calculated, and service resource constraints, including arbitrable resource duration, arbitrable task quantity, available time period, planned completion deadline, and reserved resource quantity, are determined according to the quality control rules.
[0030] Specifically, the pending load and available resources of each service node can be calculated using the following method: Read the service tasks that are in the pending or scheduled but not completed state from the main chain of business events of the whole hospital, and read the resource type, qualification requirements, execution location, execution time period and standard duration of each service task; Personnel, locations, equipment, and time periods that meet the eligibility requirements, execution locations, and execution time periods are marked as candidate resource units, and a mapping relationship between service tasks and candidate resource units is established; The pending workload is obtained by summing up the pending resource duration of the same service node within the preset scheduling window according to the standard occupancy time of each service task. The available resource quantity is obtained by subtracting the locked time, actual occupied time, maintenance downtime, and emergency reserve time from the planned resource duration.
[0031] In practice, the service resource constraints, including the available resource duration, available task volume, available time period, planned completion deadline, and reserved resource volume, can be determined in the following ways: Read the personnel qualification restrictions, site usage restrictions, equipment application scope, maximum parallel task volume, task preparation time and emergency resource retention requirements from the quality control rules; For service tasks that require the simultaneous participation of multiple types of resources, the number of executable tasks is determined based on the available resource quantity and corresponding standard occupancy time of each type of resource, and the minimum number of executable tasks is determined as the number of tasks that the service node can arrange. The available resource duration is determined based on the number of tasks that can be arranged at the service node and the standard occupancy time of the service tasks. The planned completion time limit is determined based on the available time period of the candidate resource unit, the task preparation time, and the standard occupancy time. The amount of reserved resources is determined according to the emergency resource retention requirements. The available resource duration, the number of tasks that can be arranged at the service node, the available time period of the candidate resource unit, the planned completion time limit, and the amount of reserved resources form a service resource constraint.
[0032] The term "service node" in this application refers to a business process within a hospital service workflow that can establish clear input, processing, and output states, such as appointment processing, check-in, waiting area, consultation room service, examination and testing, admission procedures, bed acceptance, discharge procedures, and follow-up. Service nodes only indicate the location within a business process and do not imply a fixed sequential relationship between treatment items; the actual prerequisite relationships are based on the medical orders and service rules already established in the source system.
[0033] Personnel resource units can be represented by personnel identification, qualifications, department, shift, and available time slots; location resource units can be represented by location identification, purpose, and opening hours of clinics, examination rooms, treatment areas, or wards; equipment resource units can be represented by equipment identification, applicable items, maintenance status, and appointment time slots; time slot resource units are used to represent time windows when personnel, locations, and equipment are all available.
[0034] In some embodiments, calculating the pending load and available resources specifically includes the following process: The system retrieves service tasks that are either pending or scheduled but not yet completed from the hospital's main business event chain. It also retrieves the resource type, eligibility requirements, execution location, available execution time, and standard duration for each service task. The standard duration, maintained by the hospital based on historical execution records and business specifications, represents the estimated time required to complete a service task using a specific type of resource; it does not imply that the patient must complete the service within that duration.
[0035] For each service task, select personnel, venues, equipment, and time slots that simultaneously meet the eligibility requirements, execution location, and available time slots to form a candidate resource unit set. For service tasks requiring the participation of multiple types of resources, establish separate resource mappings for each type; the availability of one type of resource cannot substitute for the availability of all resources.
[0036] Within the preset scheduling window, the standard occupancy time of each service task on the same service node is summed according to the required resource type to obtain the pending load expressed in resource time. For service tasks that have already started, the pending load uses the estimated remaining occupancy time; for service tasks that have been canceled or completed, they are no longer included in the pending load.
[0037] Read the planned resource duration and then deduct the duration locked by other tasks, the current actual usage duration, the maintenance downtime duration, and the emergency reserve duration unavailable for normal tasks to obtain the available resource amount. All durations use the same time unit to avoid directly subtracting the task quantity from the resource duration.
[0038] The service resource constraints referred to in this application are resource usage constraints that are jointly limited by the actual available resource quantity and quality control rules and are invoked by the patient service wing when assigning tasks. The service resource constraints include the available resource duration, the available task quantity, the available time period, the planned completion time limit, and the reserved resource quantity.
[0039] refer to Figure 3When determining service resource constraints, the executable task quantity is first calculated for each type of resource required for the service task. The executable task quantity of a certain type of resource is determined by dividing the available resource duration of that type of resource by the standard duration of a single task occupying that type of resource. When multiple types of resources need to participate simultaneously, the minimum value among the executable task quantities of each type of resource is used as the schedulable task quantity of the service node. Then, the schedulable resource duration is determined based on the schedulable task quantity and standard occupation duration of the service node. The planned completion time limit is determined based on the available time period, task preparation time, and standard occupation duration of the candidate resource unit. Finally, the reserved resource quantity is determined according to the emergency resource reservation requirements.
[0040] Quality control rules are only used to narrow down the available scope and cannot include resources that are unqualified, mismatched in purpose, under maintenance, or have exceeded the maximum concurrent task capacity in the available resource quantity. When emergency reserved resources do not meet the release conditions, these resources cannot be made available for regular service tasks.
[0041] For example, an inspection service node requires qualified operators, suitable equipment, and an inspection site to be available simultaneously. If the operators can support eight tasks, the equipment can support six tasks, and the site can support ten tasks, then the number of tasks that can be scheduled during that time period cannot exceed six. If quality control rules require reserving one task capacity for emergency tasks, then the service resource constraints for ordinary tasks cannot exceed five. This example is only for illustrating multiple resource constraints; the actual task volume is calculated based on the hospital's resource status.
[0042] In step S103, the hospital management wing generates a resource allocation instruction based on the pending workload, the available resource quantity, and the service resource constraints, and writes the allocated service resource constraints back to the hospital-wide business event main chain.
[0043] Specifically, the resource allocation instruction can be generated based on the pending load, the available resource quantity, and the service resource constraints in the following manner: Compare the pending workload with the available resource duration to identify the resource gap service nodes where the pending workload exceeds the available resource duration. Select adjustable resource units that meet the eligibility requirements and usage restrictions and are within the service resource constraints from other service nodes or adjacent available time periods; The resource allocation plan is generated in the following order: first, release the resources occupied by canceled tasks; then, activate the resources that meet the emergency retention and release conditions; and finally, adjust the interchangeable resource units. The resource source, target service node, effective period, allocation quantity, and execution prerequisites are written into the resource allocation instruction, and the service resource constraints are updated according to the available resource quantity after allocation.
[0044] The hospital management wing, as referred to in this application, is the functional part of the system responsible for reading pending workloads, available resources, and service resource constraints, and outputting resource allocation instructions. The hospital management wing does not directly assign service tasks to patients; its output is first written back to the main chain of hospital-wide business events, and the patient service wing reads the allocated service resource constraints.
[0045] In some embodiments, the hospital management wing generates resource allocation instructions in the following order: Compare the pending load and service resource constraints of each service node within the scheduling window. When the resource duration corresponding to the pending load exceeds the resource duration allowed by the service resource constraints, mark the service node as a resource gap service node and record the gap resource type, gap duration, and affected period.
[0046] Adjustable resource units are selected from adjacent time slots of the same service node, other service nodes of the same department, or alternative nodes that can provide similar services. Candidate resources must meet the qualifications required for the original service task, the purpose of the location, the scope of equipment application, and restrictions on shifts and working hours.
[0047] First, release the resources occupied by tasks that have been canceled, broken, or exceeded their retention period; if there is still a resource gap, activate the corresponding reserved resources after meeting the emergency retention release conditions; if there is still a resource gap, adjust the interchangeable personnel, locations, equipment, or service periods from the candidate resources.
[0048] The resource allocation command should include the resource source, target service node, effective period, allocation quantity, execution prerequisites, and failure conditions. The resource allocation command will only take effect upon confirmation by the corresponding management authority or if existing automatic execution rules within the institute permit it.
[0049] Based on the effective resource allocation instructions, the available resource quantity and service resource constraints are recalculated, and the resource allocation instruction identifier, the allocated service resource constraints, and the effective time are written back to the hospital's main business event chain.
[0050] The available resource duration and available task volume after resource reallocation are still determined by the minimum executable capacity among actual personnel, locations, equipment, and time periods. The management side adjusts accordingly by reallocating existing resources or releasing eligible reserved resources, and writes the adjustment results into the service resource constraints.
[0051] In step S104, the patient service wing generates the service node connection sequence and task assignment results based on the written service resource constraints, the completion status of the preceding tasks, the appointment time, the waiting time, the urgency level given by the source system, and the continuous service requirements.
[0052] In practice, the service node connection sequence and task assignment results are generated based on the service resource constraints written back, the completion status of the preceding tasks, the scheduled time period, the waiting time, the urgency level given by the source system, and the continuous service requirements. This can be achieved in the following ways: Read the completion status of the preceding tasks, the appointment time, the waiting time, the urgency level given by the source system, and the continuous service requirements of each service task from the main chain of business events of the entire hospital. The service task is added to the assignable task set only when the completion status of the preceding task is completed and the corresponding resource unit is within the service resource constraint. The set of assignable tasks is arranged according to the urgency, appointment time, waiting time and continuous service requirements given by the source system, and the connection order of service nodes is determined. The service tasks are assigned service nodes, resource units, and execution time periods to form a task assignment result. When the current service node has no available resources, the service tasks that have not yet started are assigned to alternative service nodes or alternative time periods that meet the same qualification requirements.
[0053] The patient service wing referred to in this application is a functional part of the system that reads the allocated service resource constraints, the completion status of the pre-tasks, the appointment time, the waiting time, the urgency level and continuous service requirements given by the source system, and outputs the service node connection order and task assignment results. The diagnosis and treatment content, preconditions and urgency level given by the source system constitute input constraints that remain unchanged during task assignment.
[0054] In some embodiments, the patient service wing generates the service node connection sequence and task assignment results according to the following process: The system retrieves the completion status of prerequisite tasks, appointment time slots, waiting times, urgency level, and continuous service requirements from the source system for each service task from the main chain of business events across the entire hospital. Service tasks with incomplete prerequisite tasks remain in a waiting state and are not added to the set of assignable tasks.
[0055] Read the available time period and remaining schedulable task quantity for each candidate resource unit within the service resource constraints after allocation. Only add a service task to the dispatchable task set if all resources required by the service task are within the service resource constraints.
[0056] Tasks are arranged according to their urgency level as indicated by the source system; within the same urgency level, they are arranged according to appointment time, waiting time, and continuous service requirements. Continuous service requirements can be used to reduce unnecessary splitting of continuous service processes that have already started for the same patient, but cannot exceed the preconditions set by the source system.
[0057] The process involves assigning service nodes, resource units, and execution time periods to a task, resulting in a task assignment outcome. This outcome includes at least the service task identifier, patient identifier, target service node, assigned resource unit, planned start time, estimated duration, and recipient of status notifications.
[0058] If the current service node does not have resources that meet the service resource constraints, only alternative service nodes or alternative time periods that meet the same qualification requirements will be selected for service tasks that have not yet started; if there are no alternative resources, the system will remain in a waiting state and output the information that the current resource is unavailable, without generating task assignment results that exceed the service resource constraints.
[0059] For example, in a medical examination appointment scenario, the patient service wing can read the status of the examination application having been reviewed, the appointment time slot, and the waiting time, as well as the available time slots for the allocated operators, examination equipment, and examination location. The system only outputs the corresponding examination task assignment result when all three types of resources are available in the same time slot; if the equipment is temporarily out of service, the unstarted task can be transferred to an alternative examination node or a subsequent time slot that is suitable for the same equipment.
[0060] In step S105, the resource allocation instruction and the task assignment result are issued, the service completion event and resource usage change generated after execution are collected, the service completion deviation and resource usage deviation are determined, the hospital-wide business event main chain is updated, and when the service completion deviation exceeds the service completion allowable deviation, the resource usage deviation exceeds the resource usage allowable deviation, or a resource shutdown state occurs, the resource allocation instruction and the task assignment result of the unstarted service task are regenerated.
[0061] Specifically, when the service completion deviation exceeds the allowable service completion deviation, the resource usage deviation exceeds the allowable resource usage deviation, or a resource outage occurs, the regeneration of resource allocation instructions and task assignment results for unstarted service tasks can be carried out in the following manner: Record the actual start time, actual completion time, actual resource usage duration, cancellation status, no-show status, and resource outage status of service tasks; The actual completion time is compared with the planned completion time limit, and the actual resource usage time is compared with the expected usage time in the task assignment result to determine the service completion deviation and the resource usage deviation. When the service completion deviation exceeds the allowable service completion deviation, the resource usage deviation exceeds the allowable resource usage deviation, or the resource is in a state of shutdown, the service tasks that have already started are locked, and the pending load, available resources, and service resource constraints of the affected service nodes are recalculated. Based on the recalculated pending load, available resources, and service resource constraints, resource allocation instructions and task assignment results for unstarted service tasks are regenerated.
[0062] It should be noted that service completion events include at least actual start, actual completion, cancellation, no-show, and suspension events; resource usage changes include at least personnel unavailability, venue closure, equipment shutdown, bed release, task timeout, and emergency task usage. These events, generated by the corresponding business system or resource management system, are written into the hospital's main business event chain.
[0063] In some embodiments, state deviation determination and readjustment are performed according to the following process: For completed service tasks, the actual completion time is compared with the planned completion time in the service resource constraints to obtain the service completion deviation; the actual resource usage time is compared with the expected usage time in the task assignment results to obtain the resource usage deviation.
[0064] Each service node maintains its own allowable deviation. The allowable deviation can be set based on the task preparation time, normal fluctuation range, and downstream service connection requirements of that service node. When the service completion deviation or resource usage deviation does not exceed the allowable deviation, only the main chain of business events across the entire hospital is updated, and reassignment is not triggered.
[0065] When service completion deviation or resource usage deviation exceeds the allowable deviation, or when personnel, locations, equipment, or beds are out of service, identify the affected service nodes, affected time periods, and downstream service tasks that have not yet started. Service tasks that have already started should be locked to prevent repeated adjustments during execution.
[0066] The pending load, available resources, and service resource constraints of the affected service nodes are recalculated. The hospital management wing then regenerates the resource allocation instructions, and the patient service wing regenerates the task assignment results for the unstarted tasks based on the written-back service resource constraints.
[0067] After the reassignment is completed, the changed service node, execution time period and status notification will be written into the hospital's main business event chain, and the hospital's service applications will output the updated information to the corresponding staff or patient service terminals.
[0068] By locking only started tasks and adjusting affected unstarted tasks, it is possible to avoid repeated task rescheduling across the entire hospital due to minor fluctuations in resource status. For consecutive status changes occurring on the same service node within a short period of time, they can be handled uniformly after the minimum adjustment interval set by the hospital, but resource deactivation or emergency tasks marked by the source system are not subject to this interval restriction.
[0069] The following are specific examples to illustrate this: Taking outpatient examination services as an example, the appointment system generates patient examination appointment events and examination tasks, the equipment management system generates the availability status of examination equipment, the staff scheduling system generates operator shifts, and the site management system generates the open status of examination rooms. The system forms a main chain of hospital-wide business events based on the patient master index, examination service node identifiers, and event sequence.
[0070] The system maps each inspection task to qualified operators, applicable inspection equipment, inspection locations, and shared available time slots, calculating the pending workload of each inspection node. It then deducts reserved time slots, time slots for ongoing tasks, equipment maintenance, and emergency inspections from the planned resource duration to obtain the available resource quantity and determine the available workload and time slots for regular inspection tasks.
[0071] When a diagnostic device is put into a deactivated state, the hospital management system first releases the appointments that have been cancelled within the corresponding time period for that device, then filters similar devices and adjacent available time periods, generates a device appointment capacity adjustment instruction, and writes the new service resource constraints back to the hospital's main business event chain.
[0072] The patient service wing reads the new service resource constraints, reorders pending examination tasks according to the urgency, original appointment time, and waiting time given by the source system, and assigns the tasks to similar available equipment or subsequent time slots. Examination tasks that have already started are not reassigned.
[0073] After execution, the system collects the actual start, completion, and equipment occupancy time of the inspection. If the actual occupancy exceeds the allocated time and affects subsequent tasks, the service resource constraints for the affected period are recalculated, and subsequent unstarted tasks are adjusted. Thus, changes in the management-side equipment status can be transmitted to patient service arrangements, and patient service execution results can also update the management-side resource status in reverse.
[0074] refer to Figure 3 This application also provides a modern hospital management and service system with a unified core and two supporting components. The system includes a business event main chain module 301, a service resource constraint module 302, a hospital management wing module 303, a patient service wing module 304, and a feedback module 305, which are described below: The business event main chain module 301 is used to collect patient service events, medical resource status and service task queues, obtain quality control rules including service completion allowable deviation and resource usage allowable deviation, and associate them according to the patient master index, service node identifier, resource unit identifier and event sequence to form a hospital-wide business event main chain; The service resource constraint module 302 is used to map service tasks to personnel, locations, equipment and time period resource units according to the main chain of business events of the whole hospital, calculate the pending load and available resource quantity of each service node, and determine service resource constraints including arbitrable resource duration, arbitrable task quantity, available time period, planned completion time limit and reserved resource quantity according to the quality control rules. The hospital management wing module 303 is used to generate resource allocation instructions based on the pending workload, the available resource quantity and the service resource constraints, and write the allocated service resource constraints back to the hospital-wide business event main chain. The patient service wing module 304 is used to generate the service node connection sequence and task assignment results based on the written service resource constraints, the completion status of the preceding tasks, the appointment time, the waiting time, the urgency level given by the source system, and the continuous service requirements. Feedback module 305 is used to issue the resource allocation instruction and the task assignment result, collect the service completion event and resource usage change formed after execution, determine the service completion deviation and resource usage deviation, update the hospital-wide business event main chain, and regenerate the resource allocation instruction and the task assignment result of the unstarted service task when the service completion deviation exceeds the service completion allowable deviation, the resource usage deviation exceeds the resource usage allowable deviation, or a resource shutdown state occurs.
[0075] The modules described above can be deployed on the same computer device or on multiple computer devices capable of communicating via the hospital's intranet. The modules exchange structured event records containing patient identifiers, service task identifiers, resource unit identifiers, status versions, and event timestamps.
[0076] refer to Figure 4 This application also provides a computer device. The computer device includes a processor 401, a communication bus 402, a memory 403, and a communication interface 404. The processor 401, memory 403, and communication interface 404 are connected via the communication bus 402. The memory 403 stores computer programs and business event data, and the processor 401 executes the computer programs to implement the aforementioned integrated modern hospital management and service method.
[0077] Processor 401 can be a general-purpose processor or a special-purpose processor capable of executing computer program instructions. Memory 403 may include volatile and non-volatile memory for storing program code and data. Communication interface 404 is used to receive event logs output by the internal business system and output resource allocation instructions, task assignment results, and status notifications.
[0078] In addition, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the aforementioned integrated modern hospital management and service method.
[0079] Although exemplary embodiments of this application have been described, those skilled in the art can make adjustments to the event fields, resource types, service nodes, and deployment methods without departing from the technical concept of this application. All such adjustments should fall within the scope of protection claimed in this application.
Claims
1. A modern hospital management and service method with a "one body, two wings" structure, characterized in that: Includes the following steps: Collect patient service events, medical resource status, and service task queues; obtain quality control rules including allowable deviations for service completion and resource usage; and associate them according to the patient master index, service node identifier, resource unit identifier, and event sequence to form a hospital-wide business event master chain. Based on the main chain of business events across the hospital, service tasks are mapped to personnel, locations, equipment, and time-slot resource units. The pending workload and available resource quantity of each service node are calculated, and service resource constraints, including arbitrable resource duration, arbitrable task quantity, available time slot, planned completion time limit, and reserved resource quantity, are determined according to the quality control rules. The hospital management wing generates a resource allocation instruction based on the pending workload, the available resource quantity, and the service resource constraints, and writes the allocated service resource constraints back to the hospital-wide business event main chain. The patient service wing generates the service node connection sequence and task assignment results based on the written service resource constraints, the completion status of the preceding tasks, the appointment time, the waiting time, the urgency level given by the source system, and the continuous service requirements. The resource allocation instruction and task assignment results are issued, and the service completion events and resource usage changes generated after execution are collected. The service completion deviation and resource usage deviation are determined, the main chain of hospital-wide business events is updated, and when the service completion deviation exceeds the allowable deviation, the resource usage deviation exceeds the allowable deviation, or a resource outage occurs, the resource allocation instruction and task assignment results for unstarted service tasks are regenerated.
2. The method according to claim 1, characterized in that, The main chain of hospital-wide business events is formed by associating patient master indexes, service node identifiers, resource unit identifiers, and event sequences, specifically including: Receive event records output from various hospital business systems. The event records include at least the patient identity identifier, source system identifier, service node identifier, service task identifier, resource unit identifier, event status, event time, and status version. Event records belonging to the same patient are merged into the same patient identifier through the patient master index, and service node identifiers from different source systems are unified through the service node coding table. Remove duplicate events based on service task identifier and status version, and correct out-of-order events that arrived first and occurred later based on event time; The corrected event records are linked according to patient identifier, service node identifier, resource unit identifier and event sequence to obtain the main chain of hospital-wide business events.
3. The method according to claim 1, characterized in that, The calculation of the pending load and available resources for each service node specifically includes: Read the service tasks that are in the pending or scheduled but not completed state from the main chain of business events of the whole hospital, and read the resource type, qualification requirements, execution location, execution time period and standard duration of each service task; Personnel, locations, equipment, and time periods that meet the eligibility requirements, execution locations, and execution time periods are marked as candidate resource units, and a mapping relationship between service tasks and candidate resource units is established; The pending workload is obtained by summing up the pending resource duration of the same service node within the preset scheduling window according to the standard occupancy time of each service task. The available resource quantity is obtained by subtracting the locked time, actual occupied time, maintenance downtime, and emergency reserve time from the planned resource duration.
4. The method according to claim 3, characterized in that, The service resource constraints, including the available resource duration, available task volume, available time period, planned completion deadline, and reserved resource volume, specifically include: Read the personnel qualification restrictions, site usage restrictions, equipment application scope, maximum parallel task volume, task preparation time and emergency resource retention requirements from the quality control rules; For service tasks that require the simultaneous participation of multiple types of resources, the number of executable tasks is determined based on the available resource quantity and corresponding standard occupancy time of each type of resource, and the minimum number of executable tasks is determined as the number of tasks that the service node can arrange. The available resource duration is determined based on the number of tasks that can be arranged at the service node and the standard occupancy time of the service tasks. The planned completion time limit is determined based on the available time period of the candidate resource unit, the task preparation time, and the standard occupancy time. The amount of reserved resources is determined according to the emergency resource retention requirements. The available resource duration, the number of tasks that can be arranged at the service node, the available time period of the candidate resource unit, the planned completion time limit, and the amount of reserved resources form a service resource constraint.
5. The method according to claim 1, characterized in that, Generating resource allocation instructions based on the pending load, the available resource quantity, and the service resource constraints specifically includes: Compare the pending workload with the available resource duration to identify the resource gap service nodes where the pending workload exceeds the available resource duration. Select adjustable resource units that meet the eligibility requirements and usage restrictions and are within the service resource constraints from other service nodes or adjacent available time periods; The resource allocation plan is generated in the following order: first, release the resources occupied by canceled tasks; then, activate the resources that meet the emergency retention and release conditions; and finally, adjust the interchangeable resource units. The resource source, target service node, effective period, allocation quantity, and execution prerequisites are written into the resource allocation instruction, and the service resource constraints are updated according to the available resource quantity after allocation.
6. The method according to claim 1, characterized in that, Based on the written service resource constraints, the completion status of prerequisite tasks, the scheduled time period, the waiting time, the urgency level given by the source system, and the continuous service requirements, the service node connection sequence and task assignment results are generated, specifically including: Read the completion status of the preceding tasks, the appointment time, the waiting time, the urgency level given by the source system, and the continuous service requirements of each service task from the main chain of business events of the entire hospital. The service task is added to the assignable task set only when the completion status of the preceding task is completed and the corresponding resource unit is within the service resource constraint. The set of assignable tasks is arranged according to the urgency, appointment time, waiting time and continuous service requirements given by the source system, and the connection order of service nodes is determined. The service tasks are assigned service nodes, resource units, and execution time periods to form a task assignment result. When the current service node has no available resources, the service tasks that have not yet started are assigned to alternative service nodes or alternative time periods that meet the same qualification requirements.
7. The method according to claim 1, characterized in that, When the service completion deviation exceeds the allowable service completion deviation, the resource usage deviation exceeds the allowable resource usage deviation, or a resource outage occurs, the regeneration of resource allocation instructions and task assignment results for unstarted service tasks specifically includes: Record the actual start time, actual completion time, actual resource usage duration, cancellation status, no-show status, and resource outage status of service tasks; The actual completion time is compared with the planned completion time limit, and the actual resource usage time is compared with the expected usage time in the task assignment result to determine the service completion deviation and the resource usage deviation. When the service completion deviation exceeds the allowable service completion deviation, the resource usage deviation exceeds the allowable resource usage deviation, or the resource is in a state of shutdown, the service tasks that have already started are locked, and the pending load, available resources, and service resource constraints of the affected service nodes are recalculated. Based on the recalculated pending load, available resources, and service resource constraints, resource allocation instructions and task assignment results for unstarted service tasks are regenerated.
8. A modern hospital management and service system with one main body and two supporting wings, characterized in that: include: The business event main chain module is used to collect patient service events, medical resource status, and service task queues, obtain quality control rules including service completion allowable deviation and resource usage allowable deviation, and associate them according to the patient master index, service node identifier, resource unit identifier, and event sequence to form a hospital-wide business event main chain; The service resource constraint module is used to map service tasks to personnel, locations, equipment and time period resource units according to the main chain of business events of the whole hospital, calculate the pending load and available resource quantity of each service node, and determine service resource constraints including arbitrable resource duration, arbitrable task quantity, available time period, planned completion time limit and reserved resource quantity according to the quality control rules. The hospital management wing module is used to generate resource allocation instructions based on the pending workload, the available resource quantity, and the service resource constraints, and to write the allocated service resource constraints back to the hospital-wide business event main chain. The patient service wing module is used to generate the service node connection sequence and task assignment results based on the written service resource constraints, the completion status of the preceding tasks, the appointment time, the waiting time, the urgency level given by the source system, and the continuous service requirements. The feedback module is used to issue the resource allocation instructions and the task assignment results, collect the service completion events and resource usage changes generated after execution, determine the service completion deviation and resource usage deviation, update the hospital-wide business event main chain, and regenerate the resource allocation instructions and the task assignment results of the unstarted service tasks when the service completion deviation exceeds the service completion allowable deviation, the resource usage deviation exceeds the resource usage allowable deviation, or a resource shutdown state occurs.
9. A computer device, characterized in that, The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the modern hospital management and service method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the modern hospital management and service method of any one of claims 1 to 7.
