What could cause liver pain, nausea, loss of appetite, vomiting, and green stool?

Hepatitis. Assuming you know it is liver pain - then you have hepatitis. If it is only right upper quadrant pain then the number of causes expands to gastroenteritis, gallbladder disease, inflammatory bowel disorders, and a whole host of other less common entities.