1. A computer-readable medium embodying computer program code for developing a plan for a clinical trial, the computer program code comprising computer executable instructions for: receiving schema information for the clinical trial from a user interface, the schema information associated with a patient visit and with the structure of a trial candidate; storing the schema information in a database; comparing the schema information to a treatment arm, wherein the treatment arm represents a treatment provided to a patient during a patient visit; determining whether the treatment arm has changed; if the treatment arm has changed, automatically updating the treatment arm based on at least a portion of the schema information; and storing the updated treatment arm in the database.