Hospitals urged to take part in data sharing