AN RFID AND AGENT TECHNOLOGIES BASED SYSTEM FOR THE IDENTIFICATION AND MONITORING OF PATIENTS