A judge says a 17-year-old Connecticut girl forced to undergo chemotherapy must remain in the hospital until she finishes treatment later this month.

The judge's decision Wednesday also says the teen's mother cannot visit her at the hospital while she is in temporary state custody.

The teen, identified only as Cassandra C., testified by teleconference during a closed hearing last month, asking to finish her treatments from home or have visits with her mother.

Doctors say her Hodgkin lymphoma, diagnosed in September, is in remission but she needs the remaining treatments. She says she is no longer fighting them.

The state was awarded temporary custody after the teen missed several medical appointments last fall and ran away. Her lawyers unsuccessfully tried to stop the treatment she opposed.