In this paper, we describe the design of a microfluidic sample preparation chip for human stool samples infected with Clostridium difficile. We established a polymerase chain reaction able to distinguish C. difficile in the presence of several other organisms found in the normal intestinal flora. A protocol for on-chip extraction of nucleic acids from clinical samples is described that can detect target DNA down to 5.0x10(-3) ng of template. The assay and sample preparation chip were then validated using known positive and known negative clinical samples. The work presented has potential applications in both the developed and developing world.