Medtronic interview question

draw a state machine model