chemical analysis in medicine