|
Algorithm 1 Simulating patient-to-nurse assignment based on acuity levels |
| 1: |
Find the first available nurse (nurse assigned to patient agents with a total acuity level less than the maximum acuity level of the nurse, ); |
| 2: |
Check if the to-be-assigned patient agent has an acuity level, , less than or equal to the access acuity level that the nurse can handle; |
| 3: |
If step 2 is true, assign the patient agent to the available nurse directly before the premedication stage; |
| 4: |
Increase the number of assigned patient agents to the nurse, , by the value equal to the acuity level, , of the last assigned patient agent; |
| 5: |
After patient agent discharge, decrease the number of assigned patient agents to the nurse by the value equal to the acuity level, , of the discharged patient agent; |
| 6: |
Repeat step 1 to 5 for all patient agents |