Patient tracking

How does ultrasound based patient tracking work?