Add Comment on Doc and Inpatient functions