Bart gets a stomach ache after accidentally eating a jagged metal Krusty-O prize packed in his breakfast cereal. Thinking Bart is feigning illness to avoid a history test, Homer and Marge send him to school anyway. After Bart struggles through the test, Mrs. Krabappel allows him to visit the school nurse once she sees he actually may be ill. Bart collapses in the nurse's office and is taken to Springfield General Hospital, where he undergoes appendicitis surgery from Dr. Hibbert and Dr. Nick. While visiting Bart in the hospital, Lisa discovers her hero, jazzman Bleeding Gums Murphy, is a patient in another ward. He is destitute after spending all the royalties from his only album, "Sax on the Beach", on a $1500-a-day Fabergé egg habit.