A computer program product for conducting an observational trial of a drug under study, the computer program product comprising a non-transitory computer readable storage having program instructions embodied therewith, the program instructions executable by a computer, to cause the computer to perform a method comprising:
- receiving data relating to a plurality of patients, the data including drug prescription information for each patient;
- assigning each of the plurality of patients to a trial cohort based on the drug prescription information;
- setting an index date for each of the plurality of patients;
- and
- conducting an observational drug trial using the generated cohorts and index dates.