The NY Times quotes Palestinian medical workers making this accusation:
Palestinian medical workers said Israeli troops had stationed themselves outside the city’s three main hospitals and were checking ambulances when they arrive to see if they contained suspected militants.