private bool readlyOnlyAddCommRD(Visit visit1)
 {
     return visit1.IsMyVisit(globalData.UserID);
 }
 private bool readlyOnlyEditPlan(Visit visit1)
 {
     if (visit1.IsMyVisit(globalData.UserID))
         return !visit1.canEditPlan;
     else
         return true;
 }
 private bool canChangeStatus(Visit visit1)
 {
     if (visit1.IsMyVisit(globalData.UserID))
         return visit1.canEditFact;
     else
         return true;
 }