Debugging patient structure