Three writ petitions have been filed in the Madras High Court seeking proper medical treatment for the injured inmates