Wrong visit_no bug fix

when getting visit_no added lab_no to ensure uniqueness, deleted
unnecessary files