Towards a pervasive information system for patient triage and referral in emergency departments. (2017)