WSN4QoL: A WSN-oriented healthcare system architecture