A memory bubbled into my conscious from long ago. A black and white movie, 60s?, earlier? A woman is held in a sanitarium, somehow she is tricked/decieved, and she has false memories? What I remember is a complex story, suspense, and an explanation at the end of the movie, with something of a happy ending. I do recall (he he) one scene where a doctor? spied on the woman in the bath, or possibly in her bed, from a window in the ceiling.
Not a lot to go by, and perhaps my memory is not that good, but I do recall being impressed with the story. If anyone knows the title, please share.