The UbiMedic Framework to Support Medical Emergencies by Ubiquitous Computing