The Canon of Medicine
An early psychological perspective on bedwetting was given in 1025 by Avicenna in "The Canon of Medicine":