PatH and JoanP, I too wonder that the doctors could not see the "torturous" effect of their treatment. Perhaps because there was some kernal of truth in it. In her autobiography, Gilman herself says that her affliction (severe depression I think) required her to pull back from some activities at periods throughout her life.
She says:
"After I was finally free [after separating from her husband], in 1890, wreck though I was, there was a surprising output of work, some of my best. I think that if I could have had a period of care and rest then, I might have made full recovery. But the ensuing four years in California were the hardest of my life. The result has been a lasting loss of power, total in some directions, partial in others; the necessity for a laboriously acquired laziness foreign to both temperament and conviction, a crippled life.
But since my public activities do not show weakness, nor my writings, and since brain and nerve disorder is not visible, short of lunacy or literal “prostration,” this lifetime of limitation and wretchedness, when I mention it, is flatly disbelieved. When I am forced to refuse invitations, to back out of work that seems easy, to own that I cannot read a heavy book, apologetically alleging this weakness of mind, friends gibber amiably, “I wish I had your mind!” I wish they had, for a while, as a punishment for doubting my word. What confuses them is the visible work I have been able to accomplish. They see activity, achievement, they do not see blank months of idleness; nor can they see what the work would have been if the powerful mind I had to begin with had not broken at twenty-four." [The Living of Charlotte Perkins Gilman, p. 98.]
Maybe the doctors just went too far in their prescribed rest treatment. They should have watched and listened to their patients more and individualized and timed the treatment for each.