cleaned up edit_med_details and changed the details form to a big textarea. However the textarea doesn't seem to store any newlines. must look into this