added global  in views
lab results preliminarily working