improving xml of surgery note