My ex-batts have the same problem, probably because they are worn out by the time anyone gets them
Whenever they've been poorly it's been because there's a thin shelled egg stuck inside them (collapsed egg). I've been very successful at treating them when this happens and have had veterinary advice.
I find that the best way of removing the collapsed egg is to insert a middle finger gently into the vent. The hen will most likely poop due to the sensation of something in its vent. Just withdraw the finger, remove poop and insert finger again (mine can poop up to three times). It should feel totally soft in there. If there's a rough-ish or tough-ish bit it's most likely to be the remains of the egg shell/membrane. I then gently draw the eggshell out with my finger. If there's a bit of eggshell sticking out of the vent and you pull it there is more chance of a prolapse as she'll be pushing as you pull, so I would suggest inserting your finger and helping to drag it out (although a bit of prolapse isn't as bad as leaving the egg inside her, as you can push the prolapse back into the vent with your fingers).
I go into the vent by following the shape of the hen (ie downwards but following the curve of her body) and go in up to the second joint of my middle finger.
I give my hens Metacam drops (three drops, available from the vet) as this helps with pain relief.
I had this very problem yesterday with one of my girls. I removed the eggshell and couple of hours after having the Metacam she passed some clear albumen, so it looks like this may have failed to come down due to cramps (which eased after the pain relief kicked in).
I would suggest bringing the hen in if at all possible as it will aid in her recovery (she can relax more in a quiet place where she doesn't have to remain 'on guard' for preditors, etc and she'll be feeling exhausted after all that cramping). I have set up "Mummy's Hospital" in my home which consists of a dog crate in a quiet room.
My girl is back up and running this morning, so is back with her friends
Good luck with your girl. I hope you are able to help her.