Pātuhitia tēnei: The design and analysis of sequential clinical trials