A letter of resignation and a surgeon's statement concerning his physical condition should be in the National Archives service file, as well as pay statements and prisoner-of-war and hospital records. You can order it through this message board:
http://history-sites.com/research/confedrecs.html