added functinality for printing the surgery section from the VIEW/ENTER mode