What are the ethical and practical challenges in revoking medical licences after allegations of criminal involvement?

Doctors accused in the Delhi car blast had their licences revoked. I am curious about the balance between ensuring public safety and upholding the rights of accused professionals.