 " The Rant Song " was composed by Fordham and Perry . The song is a Gilbert and Sullivan @-@ style patter song , in order to complement Dr. Cox 's normal rapid @-@ fire rants . Bill Lawrence has mentioned " Major @-@ General 's Song " from The Pirates of Penzance as a specific influence . " We were mortified because Studio 60 did [ a ' Modern Major General ' spoof ] first . But theirs isn 't funny . " Fordham has described D 'Abruzzo 's section in this song as the episode 's " Patti LuPone moment . " Fordham had long been a LuPone fan ( which is the reason D 'Abruzzo 's character was named Patti Miller ) . 
