On the complaint of ASI Narender Kumar, the rape victim has been booked under section 309 (attempt to commit suicide) of the Indian Penal Code, a police spokesperson said.
A case has also been registered against the victim's parents, the spokesperson said.
The rape victim is still undergoing treatment at PGIMS in Rohtak where her condition is now stated to be out of danger.
The victim and her family had come to Jhajjar from Bahadurgarh yesterday to appear before a local court in connection with the rape case.
After the court hearing, she consumed some poisonous substance with an intention to end her life, police said.
On the complaint by the victim, Bahadurgarh police had last year registered a case on charges of rape against Chhikkara Colony resident Neeraj.