Sample processing device with detachable slide