A distributed approach to Complex Event Processing in RFID-enabled hospitals