Assessment of cortical bone thickness using ultrasound