The group representing junior doctors made an extraordinary move to force the health ministry to immediately address problems at the hospital.