Added functionality and db on medical history.