Amanda was diagnosed with biliary atresia, a condition that affects the bile ducts and liver.