Cleaned up notes and basic coding for database.c:Patient_lookup