Automation of extra-analytical phase for clinical laboratory