A system and method are described that allow the autonomous collection of relevant data and samples from a patient during a clinical trial or during routine care. Sampling is accomplished by drawing multiple samples into tubing, such as microfluidic tubing, and using a pump to move the samples through the tubing. A spacer fluid is provided to separate each sample and to prevent contamination between each. A microcontroller is used to control the operation of the pump and to gather data about the patient from the electronic medical record or other alternative inputs, and the sampling, including data from onboard sensors.