Mer än 500 personer har dödats i ett anfall mot ett sjukhus i Gaza, uppger hälsomyndigheterna i Gaza enligt AP.