// TODO for now, only for phone call form
Map<String, Object> info = new HashMap<String, Object>();
Emergency emergency = new Emergency();
// persists the emergency
Location location = new Location();
location.setLocationX(Integer.parseInt(data.get("Location X")));
location.setLocationY(Integer.parseInt(data.get("Location Y")));
emergency.setLocation(location);
if (data.get("Number Of People") != null) {
emergency.setNroOfPeople(Integer.valueOf(Integer.parseInt(data
.get("Number Of People"))));
} else {