Patients' weight, height and waist circumference will be added to their NHS medical records and tracked over their lifetime.