Create main dataset from premedications.