extract_bmi function

Extract most recent BMI score relative to an index date.