Here is the design of a clinical trial:

Official Title: Virtual Reality in the Operating Room: Using Immersive Relaxation as an Adjunct to Anesthesia

Included conditions:
- Anesthesia, Intravenous
- Pain, Postoperative
- Delayed Recovery From Anesthesia
- Satisfaction
- Relaxation Therapy

Study Armgroups:
- {'label': 'Usual Anesthesia Care', 'type': 'NO_INTERVENTION', 'description': 'Patients in the usual care arm will undergo the current standard of care for hand/wrist surgery and postoperative recovery. They will be asked to refrain from using a virtual reality headset during their surgery.'}
- {'label': 'Virtual Reality Immersive Relaxation', 'type': 'EXPERIMENTAL', 'description': 'Patients in the experimental group will wear a headset and be immersed in a virtual reality environment during their surgery. There are various short videos and environments such as sitting on a beach that are designed to promote relaxation and calmness.\n\nThroughout their surgery patients will be monitored according to current anesthesia standards. The relaxation programming will run for the duration of the operative procedure. At the end of the procedure the headset will be removed and standard postoperative care will commence.', 'interventionNames': ['Other: Virtual Reality Immersive Relaxation']}

Interventions:
- {'type': 'OTHER', 'name': 'Virtual Reality Immersive Relaxation', 'description': 'The software developed by VRHealth allows patients to select from scenery such as mountains, the beach or from a selection of short videos, which are intended to promote relaxation.', 'armGroupLabels': ['Virtual Reality Immersive Relaxation']}

Primary Outcomes:
- {'measure': 'Intraoperative Propofol Dose', 'description': 'Total propofol dose (mg/kg/min) administered intraoperatively will be measured for the duration of the procedure.', 'timeFrame': '60 minutes'}

Please estimate the sample size based on the assumption: 
two-sided α of 0.05, 80% power, and accounting for anticipated drop-out
Sample size calculation
          Based on preliminary data from a related study evaluating the use of VR immersion for major joint surgery, we anticipate that we may be able to achieve a 30% reduction in intraoperative propofol dose between groups [15]. Using a two-sided Î± of 0.05, 80% power, an effect size of 30%, with mean propofol doses of 155âmg/h (standard deviation (SD) 45âmg/h) and 108.5âmg/h (SD 45âmg/h) we anticipate needing a sample size of 32 patients. To account for anticipated drop-out, we will add 8 patients to the calculated sample size for a total planned enrollment of 40 patients, with 20 in each of the two groups.