Describir: HbA1c values calculated from blood glucose levels using truncated Fourier series and implementation in standard SQL database language.