Kan. Stat. Ann. § 60-457
The judge may require that a witness before testifying in terms of opinion or inference be first examined concerning the data upon which the opinion or inference is founded.
L. 1963, ch. 303, 60-457; Jan. 1, 1964.