Woman gets hit with stray bullet, heads to hospital. NYPD officers decide she’s lying about what happened, arrest her, detain her for five days . . . then release her with no charges.

Takesha Griffin, 35, said she was handcuffed to a bench in the squad room or locked in a filthy holding cell at the 73rd Precinct stationhouse during a spirit-shattering stretch last month. Cops asked her repeatedly if she was ready to cough up the real story.

“They wanted me to lie,” said Griffin, whose lawyer filed a notice of claim on Tuesday. “It was like ‘The Twilight Zone.’ ”

During her lengthy confinement, Griffin said she urinated on herself when no one was available to escort her to the bathroom. She was also denied a sanitary napkin.

The single mother of a 9-year-old boy said she was given a McDonald’s hamburger each day and ridiculed when she complained about the food. One cop sarcastically pointed out that she could order salmon or lasagna from a menu posted on the squad room wall.

The cops wanted Griffin to say a male friend with her that night shot her. The were apparently able to detain her because her name popped up on a failure to appear warrant related to a disorderly conduct summons in 2009. Even if they were right about everything, they were prepared to punish a crime victim on an unrelated matter until she changed her story about how she’d been shot. That’s fairly terrifying.

As it turns out, their justification for holding Griffin was baseless, too. Griffin actually appeared for the 2009 summons. The warrant was issued due to a “clerical error.”