I seem to remember reading once that urination outside the box is a medical problem; defecating is behavioral in origin.