Given the times when a patient enter a waiting room and when they leave I need to keep track of the number of patients in the waiting room during each state change. A state change would be when a new patient comes in or a patient leaves (called for service).
Bookmarks