A doctor has no legal obligation or mandate to treat people; they have an obligation to not harm the patients they are treating.
I'd love to see a timeline of the shooting until medical arrived, it's probably jacked up but I don't think immediately allowing anyone onto the scene is correct either.