Essays on technology diffusion in healthcare