hard stool

Sam

my lo is 5 month old. she been experiencing hard stool for 2 days now. today I notice she was crying like she is in pain. so I check her diaper, it appears that she having a hard stool dark green color. is this something I should be concerned? Im giving her prune mix with bm rn.