Here is the design of a clinical trial:

Official Title: Laparoscopically Inserted Transversus Abdominis Plane Block Versus Wound Local Anesthesia in Laparoscopic Endometriosis Surgery: a Prospective Randomized Controlled Double-blinded LTAP-trial

Included conditions:
- Endometriosis; Peritoneum
- Postoperative Pain

Study Armgroups:
- {'label': 'LTAP', 'type': 'EXPERIMENTAL', 'description': 'Patients receive laparoscopically inserted TAP block with levobupivacain and local wound anesthesia injections with saline.', 'interventionNames': ['Procedure: Postoperative pain management: LTAP block or local wound anesthesia with levobupivacaine']}
- {'label': 'Local wound analgesia', 'type': 'ACTIVE_COMPARATOR', 'description': 'Patients receive laparoscopically inserted TAP block with saline and local wound anesthesia injections with levobupivacaine.', 'interventionNames': ['Procedure: Postoperative pain management: LTAP block or local wound anesthesia with levobupivacaine']}

Interventions:
- {'type': 'PROCEDURE', 'name': 'Postoperative pain management: LTAP block or local wound anesthesia with levobupivacaine', 'description': 'Postoperative pain management', 'armGroupLabels': ['LTAP', 'Local wound analgesia']}

Primary Outcomes:
- {'measure': 'Postoperative opioid consumption', 'description': 'Oxicodone consumption measured via PCA-pump in Morphine equivalents', 'timeFrame': '24 hours'}

Please estimate the sample size based on the assumption: 
80% power, 0.05 alpha error.
Sample size {14}
        Sample size was calculated based on the assumption that LTAP would decrease the postoperative opioid consumption by 50%, which was thought to be a clinically relevant difference. The calculation was based on previous literature showing a 15.4âmg Â± 9.2 postoperative opioid consumption after local wound analgesia [15]. With 80% power and 0.05 alpha error, the sample size of 46 (23 +â23) was obtained to detect a decrease of 7.7âmg in opioid consumption from 15.4âmg in the control group to 7.7âmg in the intervention group, assuming a standard deviation of 9.2âmg. Sample size was calculated according to Chow et al. [16], and the calculation was performed with statistical program R.