Here is the design of a clinical trial:

Official Title: "COTIDEA COmparison Between Continued Inpatient Treatment Versus Day Patient Treatment (Partial Hospitalization) After Short Inpatient Care in Early Onset Anorexia Nervosa: a Non-inferiority Trial A Non-inferiority Study"

Included conditions:
- Early Onset Anorexia Nervosa

Study Armgroups:
- {'label': 'standard care', 'type': 'OTHER', 'description': 'continuation of full-time hospitalization until the minimum healthy weight is reached, defined as the weight corresponding to the return to the previous BMI corridor (previous BMI +/- 1 BMI corridor, e.g. change from 25th to 10th percentile). This management combines bi-weekly medical follow-up by a senior psychiatrist, weekly family work, weekly therapeutic education group, weekly cognitive remediation group and bi-weekly dietary follow-up with therapeutic meals.', 'interventionNames': ['Other: standard care']}
- {'label': 'FTH (full-time hospitalisation) then day hospitalization)', 'type': 'EXPERIMENTAL', 'description': 'FTH output and DH relay one day a week until the minimum healthy weight. This treatment combines over one day a medical evaluation by a senior psychiatrist, family work (parents group and multi-family therapy session), a therapeutic education group, a cognitive remediation group and a dietary follow-up with therapeutic meals.\n\nDuring this phase, all children are evaluated once a week on a somatic level.', 'interventionNames': ['Other: FTH then DH support']}

Interventions:
- {'type': 'OTHER', 'name': 'FTH then DH support', 'description': 'FTH output and DH relay one day a week until the minimum healthy weight. This treatment combines over one day a medical evaluation by a senior psychiatrist, family work (parents group and multi-family therapy session), a therapeutic education group, a cognitive remediation group and a dietary follow-up with therapeutic meals.\n\nDuring this phase, all children are evaluated once a week on a somatic level.', 'armGroupLabels': ['FTH (full-time hospitalisation) then day hospitalization)']}
- {'type': 'OTHER', 'name': 'standard care', 'description': 'continuation of full-time hospitalization until the minimum healthy weight is reached, defined as the weight corresponding to the return to the previous BMI corridor (previous BMI +/- 1 BMI corridor, e.g. change from 25th to 10th percentile). This management combines bi-weekly medical follow-up by a senior psychiatrist, weekly family work, weekly therapeutic education group, weekly cognitive remediation group and bi-weekly dietary follow-up with therapeutic meals.', 'armGroupLabels': ['standard care']}

Primary Outcomes:
- {'measure': 'BMI BMI', 'description': 'body mass index (BMI) at 1 year after admission into FTH', 'timeFrame': 'one year'}

Please estimate the sample size based on the assumption: 
One-sided Student's t test, significance level of 2.5%, power of 90%, dropout rate of 10%
Sample size
          We calculated the sample size for a one-sided Studentâs t test with a significance level of 2.5% and a power of 90% based on the clinically determined non-inferiority margin for a difference in BMI of 1Â kg/m2, assuming a distribution of the BMI of 16,6âÂ±â1,35Â kg/m2. This procedure led to a required sample size of 80 patients (40 per group). Assuming a dropout rate of 10% [8], we calculated a sample size of 88 patients. We aim to include 88 children with EOAN (44 per group).