Learning medical alarms whilst performing other tasks