what you can do is tell the doctor about this and maybe just add in that you're in pain sometimes to a point that you can't work. you can ask for hospitalisation leave and the doctor would definitely give you. I'm not sure if they'll give you a long hospitalisation leave but try asking for as much as possible. remember to add in that you're in pain. maybe it's cramps or just lower back pain.
Amanda