Assignment title: Information


MA0261 – Coursework Assignment (Graded)

About: This assignment allows you to earn up to 12 credits. It counts for 10% of Teamwork: Each assignment is solved by two students. List the names and Submission: Please submit your answers on no more than 5 pages A4 (stapled or using

your final grade in the module. matriculation numbers of the team members in the header of your

e.g. a project pocket). You can use MS-Word or LATEX. Please submit the

deliverables to the students' office. They have to contain a ZIP file on a USB stick or CD including the Simul8 model and the MS-Word, PDF document

or LATEX sources. Make sure that the printed A4 sheets are numbered. Problem description

A hospital wants to analyze the performance of its emergency department (ED) and is interested in the following questions, among others: • How are the waiting times distributed across different patient groups?

• To what extent would varying staff capacity reduce waiting times across different patient groups? You are asked to help the hospital to answer those questions by building a

simulation model of the ED. The following information is available: Patients, categories (specialties) and priority levels Each patient arriving in the ED belongs to exactly one of the following types:

(a) surgical inpatient, (b) surgical outpatient, (c) internal medicine inpatient

and (d) internal medicine outpatient. The patient types (a)–(d) are further divided into priority levels 1, 2, 3 and 4. Higher priority levels correspond to smaller numbers.

Patient arrivals Arrivals occur at random, and the interval between successive arrivals

follows the Negative Exponential distribution with parameter λ across priorities and specialties as given by the following table: 1

Priority number: outpatient surgical

inpatient surgical

outpatient internal medicine 1 0.3 per hour 0.1 per hour 0.2 per hour 0.1 per

2 0.4 per hour 0.2 per hour 0.3 per hour 0.2 per 3 0.5 per hour 0.3 per hour 0.4 per hour 0.3 per

4 0.6 per hour 0.4 per hour 0.5 per hour 0.4 per Resources and their availabilities Physicians There are two types of physicians relevant for the ED: (a) surgeons and (b)

internists. Surgeons treat surgical patients and internists treat internal medicine patients. Nurses treat both types of patients.

Shift schedule There is always one physician of each specialty available

which means that from 0.00am – 12pm (midnight), one surgical and one internal medicine physician is present. From 8:30am – 4:30pm there is one additional physician available for each specialty. This means that, for

example, at 1pm, there are two surgical physicians and two internal medicine physicians available.

Nurses There is always at least one nurse at the emergency department. The

availability of nurses is shown in the following: inpatient

internal

medicine hour

hour hour hour

1 nurse: 0:00 am - 8:30 am and 4:30 pm - 24:00 pm 2 nurses: 8:30 am - 1:30 pm and 3:00 pm - 4:30 pm 3 nurses: 1:30 pm - 3:00 pm

2

Rooms Rooms can be divided into: (a) examination/treatment rooms, (b) X-ray rooms, (c) CT-rooms, (d) laboratories (e) and break rooms. Examination/treatment rooms There are seven rooms in which at most

one patient can be treated at a time. Every room has the equipment needed to treat all patients (besides X-ray, CT and laboratory equipment). X-ray room One room (besides the examination/treatment rooms) is equipped to diagnose patients by X-ray. Only one patient can be treated at a time. The

transport of the patient to the X-ray room and x-raying the patient is done by external staff that does not have to be considered in the model. The process of x- raying requires ERLA(0.0391, 3) hours.

CT room Another room is located in the ED where CT scans can be performed. Only one patient can be treated at a time. The transport of the patient to the CT room and the CT scan is done by external staff that does not

have to be considered in the model. The process of CT-scanning requires 0.1 + EXPO(0.2) hours. This means that each patient is processed with a constant 0.1 hours time plus a random processing time following the exponential distribution with parameter 0.2 hours. Laboratories Another room is located in the ED where different laboratory

activities are carried out e.g. test of blood samples. Laboratory activities can be performed in parallel and we assume that the lab diagnostics machine has

infinite capacity. Also, human resources who fill the lab diagnostics machines

with e.g. blood samples are out of scope in our model/analysis. The laboratory activities require LOGN(0.1, 0.01) hours.

Break rooms When physicians and nurses are idle they stay at the break

accommodate all physicians and nurses, respectively. 3 Patient Flow in the ED Patient pathways (Examination → Additional tests → Treatment) Patients who arrive are examined in one of the seven examination/treatment

rooms. Then it is decided whether they require additional tests (e.g. Xray, lab test). After the examination and any additional tests have been carried out, patients are treated in an examination/treatment room. Finally, they leave

the ED. Every patient has an examination and then a treatment. Whether additional tests are carried out between examination and treatment is

chosen randomly, see below. Also, you can choose whether patients wait for their test results in the area or in the examination/treatment room, see below.

Examination Arriving patients who cannot be treated immediately wait in

the waiting area which has an infinite capacity. Patients are first seen by human resources in one of the examination/treatment rooms according to the priority. If two patients have the same priority, the patients are served in a first come first served fashion. Priority 1 and 2 patients must be examined by 1 nurse and 1 physician

(sequentially, first by the nurse and then by the physician corresponding to whether the patient is a surgical or internal medicine patient). Patients having priority 3 are examined by the corresponding type of physician, only. Patients

belonging to priority 4 are examined by a nurse, only. Additional tests The following probabilities apply for the patients and we

assume (for simplification) that these probabilities are independent of the priority level: Surgical patients: inpatients outpatients

X-ray (yes?) 47% 60% CT-scan (yes?) 1% 17% Laboratory 10% 67%

Internal medicine patients: inpatients outpatients X-ray (yes?) 13% 63%

CT-scan (yes?) 1% 20%

Laboratory 51% 80% 4 Treatment

After any lab, X-ray and other test has been finished, the treatment starts.

Similar to the examinations, priority 1 and 2 patients must now be treated by 1 nurse and 1 physician (sequentially, first by the nurse and then by the

physician corresponding to whether the patient is a surgical or internal medicine patient). Patients having priority 3 are (now) treated by the corresponding type of physician, only. Patients belonging to priority 4 are

(now) treated by a nurse, only. For example, once a surgical inpatient has arrived, there is a 47% chance that he gets an X-ray scan. Alternatively, if an internal medicine outpatient

arrives, there is an 80% chance that a laboratory test is required.

Treatment durations by nurses The following durations (in hours) apply for examinations and treatments by nurses.

Surgery: Treatment duration: LOGN(0.254, 0.315) Internal: Treatment duration: BETA(0.749, 1.17451)

Examination duration: WEIB(0.494, 0965) Examination duration: 1.97*BETA(0.999, 2.09) Treatment durations by physicians The following durations (in hours) apply for examinations and treatments by physicians. Surgery: Treatment duration: LOGN(0.157, 0.173)

Internal: Treatment duration: BETA(1.02, 1.63319) Examination duration: BETA(0.754, 1.62207) Examination duration: BETA(0.869, 1.29613)

5

Some assumptions and simplifications • A nurse at the reception who prioritizes patients does no have to be

modeled. • We assume that if a patient is examined by one human resource (nurse, physician or both) a different human resource of the same type can

carry out the treatment. For example, if patient 1 is examined by nurse 1, a different nurse (e.g. nurse 2) can treat patient 1. • We do not

distinguish between examination and treatment rooms. One room type

can be used to carry out examinations and treatments. • For

simplification, we assume that patients exceeding five hours waiting

time leave the ED (e.g. to another hospital). This shall be independent of the patients' priority level.

• We simulate 24 hours and patients who are in the system at midnight

leave the system. However, if they have experienced waiting time, this should be taken into account when calculating average waiting times. • In practice, the flow between X-ray, lab test and CT is, in some hospitals

random. Other hospitals have a specific diagnostics pathway that patients follow (e.g. lab test followed by X-ray followed by CT).

Choosing either of the two options is fine. • In some hospitals, when patients require a lab test, they leave the examination/treatment room, wait in the waiting area for the lab test

results and go back to the examination/treatment room. In other hospitals, patients stay in the examination/treatment and wait for the test results. You can choose either setting for your simulation model. •

Patients' priority levels do not increase if the waiting time exceeds a

threshold. 6

Tasks to be Completed for the Coursework a) Model the process described above in Simul8. Justify any assumption

and simplification that you made during the modelling process. (5 credits)

b) Explain how you determine the warm up time and the number of replications (2 credits) c) Give the following statistical outputs for every hour of the day: (3 credits)

• Waiting times – A diagram displaying the average total waiting time, the average waiting time for physicians, the average waiting time

for nurses and the average waiting time for rooms.

– Using a stacked barplot, show how the total waiting times are distributed across the 16 patient groups (priority level 1,...,4 × surgical vs. internal med. × in- vs. outpatient).

• Idle times – A diagram displaying the average overall idle time of physicians, the average idle time of surgeons, the average idle time of internists and the average idle time of nurses.

• Utilization – A diagram displaying the average utilization of rooms and average utilization of human resources.

c) A hospital manager has two ideas how the waiting time can be reduced. The first idea is to assign an additional nurse from 4 pm – 10 pm. The

second idea is to assign an additional internist from 12 (noon) – 4 pm. To what extend is overall waiting time and waiting time for physicians, nurses and rooms reduced by this? Use a stacked barplot to show the

overall waiting time broken down by the 16 patient groups. (1 credit) d) Considering the setting described above which extensions have to be made for a more realistic simulation model and analysis? Describe two

possible extensions of the model and two possible extensions of the

scenario analysis each using two bullet points. (1 credit) 7