It sounds like coccidiosis.....
Coccidiosis is a disease that results from the invasion and destruction of the mucous lining of the small intestine by 10 to 12 different species of one celled organisms (protozoa) of the genus Eimeria and one species of the genus Cryptosporidium of the taxonomic Order Coccidiomorpha.
Eimeria infections can result in serious clinical signs of fluid diarrhea, which may or may not contain mucous or blood, dehydration, emaciation, weakness, loss of appetite, and death. Some goats may instead be constipated and suddenly die without diarrhea. The small oocysts of Eimeria can be found in the thousands in fecal flotation samples. However, diarrhea can appear 1 to 2 days before the eggs and can continue after the oocyst discharge has returned to low levels.
Areas where infected animals have been confined must be thoroughly cleaned before the oocysts can multiply. Coccidia are tough organisms that can survive most disinfectants and hard cold weather conditions. Given the right environment (warmth and moisture), a full blown outbreak can occur in as short a time as 3 days.
Keep food off the ground. Feeders should be at a height where goats cannot defecate or urinate in them.
Treatment includes oral dosages of anti-diarrhea medicine as frequently as needed to avoid dehydration. Give Nutri_Drench, a concentrated vitamin/mineral supplement to restore nutrition losses. A 10-cc SubQ injection of Goat Serum Concentrate two days in a row will boost the compromised immune system.
Sulfadimethoxine (Di-Methox, 12.5%) can also be given orally by mixing 1-1/2 tablespoons of Di-Methox with 1-1/2 tablespoons of water and administer directly into mouth with a Drench Syringe. This should be done once a day for 5 consecutive days.
Amprolium (Co-Rid) is not readily available at this time. We never had much success using Co-Rid. The huge doses necessary for treating goats (10 times the cattle dose) created a vitamin B1 (thiamin) deficiency that resulted in the goat getting polio. In other words, "the cure was worse than the disease."
Coccidiosis can be life-threatening so prevention is the first line of defense, then quick, aggressive treatment when necessary. Most medicine is not approved for goats so consult your veterinarian for the program that is best for your goats.
I hope he/she gets better soon and GOOD LUCK!!
http://www.felixthecat.com/cards/felixgoodluckcard.jpg