Five medical staff were among 50 people reported killed in an Israeli strike on a building near the north Gaza hospital.