fixed hashtable + adding patient