First of all, I'm terribly sorry about your lost and I believe the little spirit will come back soon.
My friend used to get miscarriage once due to stress before.
If I can recall, she started to have chinese medicine(shenghua soup) after she was able to fart.
She said that the TCM suggest her have more food with yellow color can take good care of our spleen and stomach system.
Good quality protein is crucial for wound repairing so remember to have gentle food like chicken, fish and so on.