I am modelling a surgery ward, where 3 different patient types (red patient, blue patient and green patient) are entering based on a schedule. Based on the type of patient they are (red, blue or green) the surgery time varies. Red: 30 min. Blue: 1 hour and Green: 2 hours. I am using a delay block to simulate the surgery time. How do I make it so that the delay time is based on the type of patient that enters?
So for example: the delay time is 30 min. when a Red patient enters the delay block, but 1 hour if a Blue enters?
Thanks!