New script for viewing a patients history