Well, yeah. You can take her to a doctor without telling her mom ( legally speaking she can go on her own). The doctor won't tell her mom anything. If you are concerned about her getting beat you could try and see if your cousin could stay with you until her mom is no longer angry. I hope that this helped a bit.
( this hug is for you and your cousin)