Here is the design of a clinical trial:

Official Title: A Prospective Observational Multi-center 4 Cohort Study Comparing Robotic Assisted and Laparoscopic Invasive Right Colectomy and Intracorporeal Anastomosis Versus Extracorporeal Anastomosis

Included conditions:
- Colorectal Cancer
- Anastomotic Complication
- Colectomy

Study Armgroups:
- {'label': 'Robotic Right Colectomy with ICA', 'description': 'Robot-assisted surgery (RAS), allows many types of complex MIS procedures using robotic systems to aid in surgical procedures providing more precision, flexibility and control than is possible with other MIS techniques.\n\nIntracorporeal anastomosis: when the anastomosis is performed inside the abdominal cavity with a laparoscopic or robotic technique. A Pfannenstiel incision will be done exclusively for specimen extraction.', 'interventionNames': ['Procedure: Intracorporeal Anastomosis', 'Procedure: Robotic Surgery']}
- {'label': 'Robotic Right Colectomy with ECA', 'description': 'Robot-assisted surgery (RAS), allows many types of complex MIS procedures using robotic systems to aid in surgical procedures providing more precision, flexibility and control than is possible with other MIS techniques.\n\nExtracorporeal anastomosis: when the anastomosis is performed by pulling out the bowel through a laparotomy wherever that laparotomy is performed.', 'interventionNames': ['Procedure: Extracorporeal Anastomosis', 'Procedure: Robotic Surgery']}
- {'label': 'Laparoscopic Right Colectomy with ICA', 'description': 'Laparoscopic surgery, also called minimally invasive surgery (MIS), or keyhole surgery, is a surgical technique in which operations are performed far from their location through small incisions (usually 0.5-1.5 cm) elsewhere in the body.\n\nIntracorporeal anastomosis: when the anastomosis is performed inside the abdominal cavity with a laparoscopic or robotic technique. A Pfannenstiel incision will be done exclusively for specimen extraction.', 'interventionNames': ['Procedure: Intracorporeal Anastomosis', 'Procedure: Laparoscopic Surgery']}
- {'label': 'Laparoscopic Right Colectomy with ECA', 'description': 'Laparoscopic surgery, also called minimally invasive surgery (MIS), or keyhole surgery, is a surgical technique in which operations are performed far from their location through small incisions (usually 0.5-1.5 cm) elsewhere in the body.\n\nExtracorporeal anastomosis: when the anastomosis is performed by pulling out the bowel through a laparotomy wherever that laparotomy is performed.', 'interventionNames': ['Procedure: Extracorporeal Anastomosis', 'Procedure: Laparoscopic Surgery']}

Interventions:
- {'type': 'PROCEDURE', 'name': 'Extracorporeal Anastomosis', 'description': 'Anastomosis is performed by pulling out the bowel through a laparotomy wherever that laparotomy is performed.', 'armGroupLabels': ['Laparoscopic Right Colectomy with ECA', 'Robotic Right Colectomy with ECA']}
- {'type': 'PROCEDURE', 'name': 'Intracorporeal Anastomosis', 'description': 'Anastomosis is performed inside the abdominal cavity with a laparoscopic or robotic technique', 'armGroupLabels': ['Laparoscopic Right Colectomy with ICA', 'Robotic Right Colectomy with ICA']}
- {'type': 'PROCEDURE', 'name': 'Robotic Surgery', 'description': 'Procedure is performed using robotic instruments', 'armGroupLabels': ['Robotic Right Colectomy with ECA', 'Robotic Right Colectomy with ICA']}
- {'type': 'PROCEDURE', 'name': 'Laparoscopic Surgery', 'description': 'Procedure is performed using standard laparoscopic instruments', 'armGroupLabels': ['Laparoscopic Right Colectomy with ECA', 'Laparoscopic Right Colectomy with ICA']}

Primary Outcomes:
- {'measure': 'Surgical wound infection', 'description': '(CDC definition \\[Health Protection Agency. Surveillance of Surgical Site Infection in England: October 1997-September 2005. London: Health Protection Agency; 2006): Superficial incisional, affecting the skin and subcutaneous tissue. These infections may be indicated by localised (Celsian) signs such as redness, pain, heat or swelling at the site of the incision or by the drainage of pus.', 'timeFrame': '30 days'}
- {'measure': 'Clavien Dindo Complication', 'description': 'Complications according to Clavien Dindo Classification.', 'timeFrame': '30 days'}

Please estimate the sample size based on the assumption: 
The study assumes a 2-sided interval, with a 10% loss to follow-up. Several interim analyses are planned to adjust the sample size if needed. Statistical inferences will be made using a propensity score to account for confounding covariates.
Sample size calculation
        The assumptions for the sample size of this study have been developed based on the incidence of Surgical Wound Infection, as well as the incidence of Clavien-Dindo gradeâ>âIII complications as seen in the Introduction. The sample size is based on attaining a success rate of 85% for the primary endpoint, with the lower 95% confidence limit being no greater than 5% from the estimated success rate. Assuming a 2-sided interval, a total of 245â317 subjects will be required within each cohort. Accounting for a 10% loss to follow up, a total of 1200 subjects will be recruited for this study. Several interim analysis are planned through the study in order to build new power analysis and adjust sample size accordingly if needed.
        The design of this study envisages four parallel cohorts for which the sample size has been developed for each cohort according to a precision around an expected success rate with enough subject and sufficient power to make multiple comparisons within the appropriate method. Any statistical inferences drawn based on pairwise comparisons will be undertaken in a posteriori statistical analysis using a propensity score to account for confounding covariates.
        The primary endpoint for success is defined as a patient meeting the following criteria:
Surgical Wound Infection 5% lower in the ICA group.Grade IIIb-IV Clavien -Dindo complications at 30âdays post op 5% lower in the ICA group.
        According to the current literature the the following numbers represent Surgical Wound Infection and Severe Complications in intermediate volume centers:
ICAECASurgical Wound Infection4â5%5,8,1010â14%5,8,10Morbidity Dindo 3b-41.1â5%5,88â11%5,8