PREPARE THIS AS POWERPOINT FOR AP STATE CONFERENCE PRESENTATION IN KURNOOL
"IJMEDPH" "Amar Nath" 1532 1537
~/
/tmp/workspace/attachments/fdb54059-dcdf-4d65-952c-51d75b19ca2f/267. 4162. IJMEDPH_Amar Nath_1532-1537.pdf/skills/readonly/medical-library/SKILL.md/tmp/workspace/attachments/fdb54059-dcdf-4d65-952c-51d75b19ca2f/267. 4162. IJMEDPH_Amar Nath_1532-1537.pdf.pptx presentation file, optimized for a state conference audience in Kurnool.Error code: 400 - {'error': {'message': "Invalid value: 'file'. Supported values are: 'text', 'refusal', 'image_url', and 'input_audio'.", 'type': 'invalid_request_error', 'param': 'messages[9].content[0]', 'code': 'invalid_value'}}
We encountered an error while processing your request. Please try again or reach out to us for help.
CREATE A POWERPOINT SLIDE PRESENTATION
/tmp/workspace/attachments/fdb54059-dcdf-4d65-952c-51d75b19ca2f/267. 4162. IJMEDPH_Amar Nath_1532-1537.pdfpypdf or pdfplumber to read/extract PDF text/tables.python-pptx for creating a new presentation; read /tmp/skills/pptx/python-pptx.md before implementation if creating from scratch."IJMEDPH" "Amar Nath" 1532 1537 was performed, but its results were ambiguous/mismatched and should not be treated as the source of truth. The attached PDF must be directly extracted and used./tmp/workspace/attachments/fdb54059-dcdf-4d65-952c-51d75b19ca2f/267. 4162. IJMEDPH_Amar Nath_1532-1537.pdf/tmp/skills/pdf/SKILL.md/tmp/skills/pptx/SKILL.md/skills/readonly/medical-library/SKILL.md.pptx output file has been created or modified yet.pypdf/pdfplumber..pptx using python-pptx, with professional clinical/public-health visual design and readable presentation-scale typography.Error code: 400 - {'error': {'message': "Invalid value: 'file'. Supported values are: 'text', 'refusal', 'image_url', and 'input_audio'.", 'type': 'invalid_request_error', 'param': 'messages[3].content[0]', 'code': 'invalid_value'}}
We encountered an error while processing your request. Please try again or reach out to us for help.
Prepare power point presentation for the above article
~/
~/attachments
~/attachments/fdb54059-dcdf-4d65-952c-51d75b19ca2f
mkdir -p "/tmp/workspace/ap-conference-presentation/src" "/tmp/workspace/ap-conference-presentation/output" "/tmp/workspace/ap-conference-presentation/assets" && python - <<'PY' from pypdf import PdfReader from pathlib import Path p=Path('/tmp/workspace/attachments/fdb54059-dcdf-4d65-952c-51d75b19ca2f/267. 4162. IJMEDPH_Amar Nath_1532-1537.pdf') r=PdfReader(str(p)) out=Path('/tmp/workspace/ap-conference-presentation/article_extracted.txt') with out.open('w',encoding='utf-8') as f: f.write(f'PAGES: {len(r.pages)}\nMETADATA: {r.metadata}\n\n') for i,page in enumerate(r.pages,1): f.write(f'\n\n===== PAGE {i} =====\n') f.write(page.extract_text() or '') print(out, len(r.pages)) PY
coblation tonsillectomy
coblation tonsillectomy systematic review 2024 2025
python - <<'PY' import pdfplumber p='/tmp/workspace/attachments/fdb54059-dcdf-4d65-952c-51d75b19ca2f/267. 4162. IJMEDPH_Amar Nath_1532-1537.pdf' with pdfplumber.open(p) as pdf: for i,page in enumerate(pdf.pages,1): print(i, len(page.images), page.width, page.height) for j,img in enumerate(page.images): try: crop=page.crop((img['x0'],img['top'],img['x1'],img['bottom'])) crop.to_image(resolution=150).save(f'/tmp/workspace/ap-conference-presentation/assets/page{i}_img{j}.png',format='PNG') except Exception as e: print('err',e) PY
python - <<'PY' from pptx import Presentation from pptx.util import Inches, Pt from pptx.dml.color import RGBColor from pptx.enum.shapes import MSO_SHAPE from pptx.enum.text import PP_ALIGN, MSO_ANCHOR from pptx.chart.data import CategoryChartData from pptx.enum.chart import XL_CHART_TYPE, XL_LEGEND_POSITION from pptx.enum.dml import MSO_THEME_COLOR from pathlib import Path OUT=Path('/tmp/workspace/ap-conference-presentation/output/Coblation_Tonsillectomy_AP_State_Conference_Kurnool.pptx') prs=Presentation(); prs.slide_width=Inches(13.333); prs.slide_height=Inches(7.5) blank=prs.slide_layouts[6] # colors NAVY=RGBColor(9,41,68); TEAL=RGBColor(0,133,143); AQUA=RGBColor(29,185,186); BLUE=RGBColor(41,111,181) ORANGE=RGBColor(232,130,45); RED=RGBColor(190,67,68); SLATE=RGBColor(70,84,97); LIGHT=RGBColor(244,248,250); MID=RGBColor(220,231,235); WHITE=RGBColor(255,255,255); DARK=RGBColor(33,44,52) def rect(s,x,y,w,h,color, radius=False, line=None): sh=s.shapes.add_shape(MSO_SHAPE.ROUNDED_RECTANGLE if radius else MSO_SHAPE.RECTANGLE, Inches(x), Inches(y), Inches(w), Inches(h)); sh.fill.solid(); sh.fill.fore_color.rgb=color; sh.line.color.rgb=line or color return sh def txt(s,text,x,y,w,h,size=18,color=DARK,bold=False,align=PP_ALIGN.LEFT,font='Aptos',margin=0.06): tb=s.shapes.add_textbox(Inches(x), Inches(y), Inches(w), Inches(h)); tf=tb.text_frame; tf.clear(); tf.word_wrap=True; tf.margin_left=tf.margin_right=Inches(margin); tf.margin_top=tf.margin_bottom=Inches(margin); tf.vertical_anchor=MSO_ANCHOR.MIDDLE p=tf.paragraphs[0]; p.alignment=align; r=p.add_run(); r.text=text; r.font.name=font; r.font.size=Pt(size); r.font.bold=bold; r.font.color.rgb=color return tb def bullet(s,items,x,y,w,h,size=18,color=DARK, gap=8): tb=s.shapes.add_textbox(Inches(x),Inches(y),Inches(w),Inches(h)); tf=tb.text_frame; tf.clear(); tf.word_wrap=True; tf.margin_left=Inches(.08); tf.margin_right=Inches(.04); tf.margin_top=Inches(.02); tf.margin_bottom=Inches(.02) for i,item in enumerate(items): p=tf.paragraphs[0] if i==0 else tf.add_paragraph(); p.text=item; p.level=0; p.font.name='Aptos'; p.font.size=Pt(size); p.font.color.rgb=color; p.space_after=Pt(gap); p._element.get_or_add_pPr().insert(0, p._element._new_buChar('•')) return tb def header(s,title,kicker='AP STATE CONFERENCE | KURNOOL'): rect(s,0,0,13.333,.28,NAVY); txt(s,kicker,0.55,.32,7.6,.28,9,TEAL,True); txt(s,title,.55,.62,12.1,.55,27,NAVY,True); rect(s,.55,1.22,1.15,.05,ORANGE) def footer(s,n): rect(s,0,7.2,13.333,.3,NAVY); txt(s,'Source: Amarnath SB et al. Int J Med Pub Health. 2026;16(1):1532-1537.',.55,7.22,10.5,.18,8,WHITE); txt(s,str(n),12.2,7.22,.5,.18,9,WHITE,True,PP_ALIGN.RIGHT) def stat(s,num,label,x,y,w=2.5,color=TEAL): rect(s,x,y,w,1.22,WHITE,True,line=MID); txt(s,num,x+.12,y+.13,w-.24,.45,29,color,True,PP_ALIGN.CENTER); txt(s,label,x+.12,y+.66,w-.24,.38,12,SLATE,False,PP_ALIGN.CENTER) def add_chart(s,cats,series,x,y,w,h,colors,typ=XL_CHART_TYPE.COLUMN_CLUSTERED,legend=False): data=CategoryChartData(); data.categories=cats for name,vals in series: data.add_series(name,vals) ch=s.shapes.add_chart(typ,Inches(x),Inches(y),Inches(w),Inches(h),data).chart ch.has_legend=legend; ch.legend.position=XL_LEGEND_POSITION.BOTTOM; ch.legend.include_in_layout=False ch.value_axis.has_major_gridlines=True; ch.value_axis.major_gridlines.format.line.color.rgb=MID ch.value_axis.tick_labels.font.size=Pt(10); ch.category_axis.tick_labels.font.size=Pt(10) ch.chart_title.has_text_frame=False for i,ser in enumerate(ch.series): ser.format.fill.solid(); ser.format.fill.fore_color.rgb=colors[i%len(colors)]; ser.format.line.color.rgb=colors[i%len(colors)] return ch def notes(slide, text): slide.notes_slide.notes_text_frame.text=text #1 s=prs.slides.add_slide(blank); rect(s,0,0,13.333,7.5,NAVY); rect(s,0,0,13.333,.28,ORANGE); rect(s,8.8,0,4.533,7.5,TEAL) # abstract rings for i,sz in enumerate([4.6,3.3,2.0]): sh=s.shapes.add_shape(MSO_SHAPE.OVAL, Inches(9.5+(4.6-sz)/2), Inches(1.5+(4.6-sz)/2), Inches(sz), Inches(sz)); sh.fill.background(); sh.line.color.rgb=[AQUA,WHITE,ORANGE][i]; sh.line.width=Pt(2) txt(s,'COLD DISSECTION,\nWARM OUTCOMES',.7,.95,7.8,1.35,30,WHITE,True); txt(s,'Coblation tonsillectomy review from a tertiary care hospital',.72,2.48,7.5,.6,19,RGBColor(204,232,234)); rect(s,.72,3.35,1.2,.06,ORANGE) txt(s,'AP State Conference Presentation | Kurnool',.72,3.72,6.4,.32,15,WHITE,True); txt(s,'Amarnath S B | Gouthami Sushma S | Prathyusha Koneru',.72,4.22,7.2,.3,14,WHITE); txt(s,'Department of ENT, SVIMS-Sri Padmavathi Medical College for Women, Tirupati, Andhra Pradesh',.72,4.62,7.4,.55,12,RGBColor(204,232,234)); txt(s,'Original research article | Int J Med Pub Health 2026;16(1):1532-1537',.72,6.65,8,.25,10,RGBColor(204,232,234)) notes(s,'Opening slide. State that this presentation summarizes a single-centre retrospective review of coblation tonsillectomy outcomes.') #2 s=prs.slides.add_slide(blank); header(s,'Why Coblation Tonsillectomy?'); footer(s,2) rect(s,.55,1.52,5.85,4.95,LIGHT,True); txt(s,'Clinical context',.85,1.78,4,.35,20,NAVY,True); bullet(s,['Tonsillectomy is performed for recurrent tonsillitis, sleep-disordered breathing and obstructive sleep apnoea.','Coblation uses bipolar radiofrequency energy in saline to create a plasma field for tissue dissolution and vessel coagulation.','The article contrasts lower operating temperature (about 60°C) with electrocautery, which may reach up to 400°C.'],.85,2.3,5.05,3.6,17) rect(s,6.75,1.52,5.98,4.95,WHITE,True,line=MID); txt(s,'Rationale',7.08,1.78,3.5,.35,20,NAVY,True); txt(s,'Potential pathway to less thermal injury and postoperative morbidity',7.08,2.32,4.8,.55,19,TEAL,True); for y,label in [(3.35,'Low-temperature plasma field'),(4.2,'Capsular-plane dissection'),(5.05,'Focused recovery assessment')]: rect(s,7.1,y,.34,.34,ORANGE,True); txt(s,label,7.62,y-0.02,4.55,.38,16,DARK) notes(s,'Introduce why this technique was evaluated. These statements are paraphrased from the paper introduction.') #3 s=prs.slides.add_slide(blank); header(s,'Study Aim and Design'); footer(s,3) stat(s,'45','patients',.7,1.58); stat(s,'5-35 y','age range',3.45,1.58); stat(s,'Jan 2018 - Mar 2022','study period',6.2,1.58,2.8); stat(s,'6 months','follow-up',9.25,1.58,2.8) rect(s,.7,3.15,12,2.85,LIGHT,True); txt(s,'Objective',1,3.45,2,.35,19,NAVY,True); txt(s,'To evaluate postoperative outcomes following coblation-assisted tonsillectomy at the authors’ institution.',1,3.88,10.7,.45,19,TEAL,True); txt(s,'Design and setting',1,4.65,3,.35,19,NAVY,True); bullet(s,['Retrospective, single-centre review at the Department of ENT, SVIMS-Sri Padmavathi Medical College for Women, Tirupati.','Included recurrent tonsillitis/chronic adenotonsillitis, sleep-disordered breathing and obstructive sleep apnoea cases undergoing coblation tonsillectomy or adenotonsillectomy.','Ethical and scientific committee clearance: IEC no. 1278.'],1,5.05,10.9,.8,15) #4 s=prs.slides.add_slide(blank); header(s,'Methods: Standardized Procedure and Outcomes'); footer(s,4) # flow steps=[('Pre-operative','History, examination, baseline investigations and anaesthesia fitness'),('Intra-operative','General anaesthesia; Rose position; Bonns Plasma Surgical System ARS 700'),('Technique','Ablation setting 7; coagulation setting 3; dissection along capsular plane'),('Follow-up','Weekly in month 1, then monthly for five months')] for i,(a,b) in enumerate(steps): x=.65+i*3.15; rect(s,x,1.7,2.65,1.65,WHITE,True,line=MID); txt(s,a,x+.15,1.93,2.35,.3,17,NAVY,True,PP_ALIGN.CENTER); txt(s,b,x+.16,2.36,2.33,.67,12,SLATE,False,PP_ALIGN.CENTER) if i<3: txt(s,'›',3.31+i*3.15,2.2,.25,.45,28,ORANGE,True,PP_ALIGN.CENTER) rect(s,.65,4.15,12.05,1.85,LIGHT,True); txt(s,'Measured outcomes',.95,4.42,2.6,.35,19,NAVY,True); bullet(s,['Operative duration, postoperative pain (Wong-Baker FACES scale), haemorrhage, tonsillar-fossa healing, return to diet and routine activities.','Quality of life: Tonsillectomy Outcome Inventory-14 (TOI-14), a patient-reported disease-specific questionnaire.','Analysis: SPSS v20; frequencies/percentages, mean ± SD, chi-square and Student t-test; p < 0.05 considered significant.'],.95,4.85,11.2,.95,14) #5 s=prs.slides.add_slide(blank); header(s,'Cohort Profile'); footer(s,5) add_chart(s,['Male','Female'],[('Patients',[26,19])],.7,1.65,4.4,3.8,[TEAL]); txt(s,'Sex distribution',.85,1.35,3,.25,17,NAVY,True) add_chart(s,['5-10','11-15','16-20','25-30','31-35'],[('Patients',[16,19,5,2,3])],5.35,1.65,5.9,3.8,[BLUE]); txt(s,'Age distribution (years)',5.5,1.35,3.5,.25,17,NAVY,True) stat(s,'13.4 ± 7.2 y','mean age',.9,5.65,2.65); stat(s,'77.8%','paediatric patients',4.0,5.65,2.65,ORANGE); stat(s,'57.7%','male patients',7.1,5.65,2.65,BLUE); txt(s,'n = 45',10.3,5.92,1.6,.3,18,NAVY,True,PP_ALIGN.CENTER) #6 s=prs.slides.add_slide(blank); header(s,'Operative and Recovery Outcomes'); footer(s,6) stat(s,'15.8 ± 4.5 min','mean operative time',.7,1.55,3.05); stat(s,'5.44 ± 1.5 d','return to normal diet',4.1,1.55,3.05,ORANGE); stat(s,'6.1 ± 1.7 d','return to routine activity',7.5,1.55,3.05,BLUE); stat(s,'0 / 45','any reported haemorrhage',10.05,1.55,2.6,RED) rect(s,.7,3.3,12,2.55,LIGHT,True); txt(s,'Haemorrhage outcome',1,3.65,3,.35,20,NAVY,True); txt(s,'No primary, reactionary or secondary haemorrhage was reported in this cohort.',1,4.16,10.7,.45,21,TEAL,True); txt(s,'Interpret cautiously: the study is retrospective and has no comparator arm.',1,5.0,9.7,.3,15,SLATE) #7 s=prs.slides.add_slide(blank); header(s,'Pain Improves Across the First 3 Weeks'); footer(s,7) add_chart(s,['6 h','24 h','48 h','1 wk','2 wk','3 wk'],[('Average pain score',[6.58,5.58,4.78,2.73,1.29,.53])],.7,1.55,7.1,4.8,[ORANGE],XL_CHART_TYPE.LINE_MARKERS) rect(s,8.25,1.55,4.3,4.8,WHITE,True,line=MID); txt(s,'Key result',8.65,1.95,2.8,.35,19,NAVY,True); txt(s,'5.58',8.65,2.6,2.8,.6,38,ORANGE,True); txt(s,'± 1.2 at 24 hours',8.65,3.22,2.9,.25,15,SLATE); txt(s,'2.73',8.65,4.05,2.8,.6,38,TEAL,True); txt(s,'± 0.8 at 1 week',8.65,4.68,2.9,.25,15,SLATE); txt(s,'Pain scores: Wong-Baker FACES scale.',8.65,5.55,3,.35,11,SLATE) #8 s=prs.slides.add_slide(blank); header(s,'Patient-Reported Outcomes: TOI-14'); footer(s,8) # comparisons selected add_chart(s,['Snoring','Apnoea','Throat infection\n<2 wk','Doctor visits','Missing school'], [('Pre-op',[2.9,2.8,2.9,2.9,2.5]),('1 month',[1.4,1.5,.4,.5,.8]),('3-6 months',[.5,.5,.4,.3,.3])],.65,1.58,8.0,4.85,[NAVY,ORANGE,TEAL],XL_CHART_TYPE.COLUMN_CLUSTERED,True) rect(s,9.0,1.58,3.65,4.85,LIGHT,True); txt(s,'Quality-of-life signal',9.35,1.92,2.85,.6,19,NAVY,True); txt(s,'28.7',9.35,2.85,2.5,.55,34,TEAL,True); txt(s,'mean difference between pre-operative and 3-6 month TOI-14 scores',9.35,3.5,2.65,.8,14,SLATE); txt(s,'All listed TOI-14 symptom comparisons showed p = 0.000 in Table 3.',9.35,4.75,2.7,.62,15,DARK,True); txt(s,'Values shown are symptom scores reported in the article.',9.35,5.72,2.7,.3,11,SLATE) #9 s=prs.slides.add_slide(blank); header(s,'Interpretation'); footer(s,9) rect(s,.7,1.55,5.8,4.9,WHITE,True,line=MID); txt(s,'What this series suggests',1.05,1.95,4.7,.35,20,NAVY,True); bullet(s,['In this institutional cohort, coblation tonsillectomy was associated with a declining pain trajectory, return to diet in about 5.4 days, and return to routine activity in about 6.1 days.','No haemorrhage was observed among 45 patients.','TOI-14 symptom scores improved significantly during follow-up.'],1.05,2.55,4.85,2.8,17) rect(s,6.85,1.55,5.8,4.9,LIGHT,True); txt(s,'How to frame it responsibly',7.2,1.95,4.9,.35,20,NAVY,True); bullet(s,['This is an observational retrospective study, not a head-to-head comparison with another tonsillectomy technique.','The paper notes that published haemorrhage findings differ across studies.','Recent systematic reviews exist for coblation outcomes, but the conclusions here should be presented as findings from this cohort.'],7.2,2.55,4.85,2.8,17) #10 s=prs.slides.add_slide(blank); header(s,'Limitations and Practice Implications'); footer(s,10) rect(s,.7,1.55,5.7,4.95,WHITE,True,line=MID); txt(s,'Limitations stated by the authors',1.05,1.9,4.9,.36,19,NAVY,True); bullet(s,['Retrospective design','Small sample size (n = 45), limiting power and generalisability','No control/comparator group','Equipment cost and availability','Learning curve for the technique'],1.05,2.55,4.65,2.8,17) rect(s,6.85,1.55,5.8,4.95,LIGHT,True); txt(s,'Implication',7.2,1.9,4.9,.36,19,NAVY,True); txt(s,'Coblation may be considered a safe and effective option in appropriately selected patients, with recovery and patient-reported outcomes worthy of further evaluation.',7.2,2.52,4.65,1.2,19,TEAL,True); txt(s,'Next research step',7.2,4.25,3,.3,16,NAVY,True); txt(s,'Larger prospective comparative studies with standardized outcome reporting.',7.2,4.65,4.75,.55,16,DARK) #11 s=prs.slides.add_slide(blank); rect(s,0,0,13.333,7.5,NAVY); rect(s,0,0,13.333,.28,ORANGE); txt(s,'Take-Home Messages',.72,.85,8,.5,30,WHITE,True); rect(s,.72,1.55,1.1,.06,ORANGE) for i,(num,body) in enumerate([('01','Mean operative time: 15.8 ± 4.5 minutes'),('02','Pain decreased from 5.58 ± 1.2 at 24 h to 2.73 ± 0.8 at 1 week'),('03','Normal diet and daily routine resumed at 5.44 and 6.1 days, respectively'),('04','No primary, reactionary or secondary haemorrhage was reported in 45 patients'),('05','TOI-14 symptom scores improved significantly through 3-6 months')]): y=1.9+i*.82; txt(s,num,.78,y,.55,.3,16,ORANGE,True); txt(s,body,1.55,y-.02,9.8,.35,18,WHITE) txt(s,'Thank you',.72,6.45,2.4,.5,25,WHITE,True); txt(s,'Questions and discussion',.72,6.92,3,.23,12,RGBColor(204,232,234)); txt(s,'Primary source: Amarnath SB, Gouthami Sushma S, Koneru P. Int J Med Pub Health. 2026;16(1):1532-1537.',5.1,6.93,7.4,.22,9,RGBColor(204,232,234),False,PP_ALIGN.RIGHT) # add core properties prs.core_properties.title='Coblation Tonsillectomy - AP State Conference, Kurnool'; prs.core_properties.author='Prepared from article by Amarnath SB et al.' prs.save(OUT) print(OUT) PY
python - <<'PY' from pptx import Presentation from pptx.util import Inches,Pt from pptx.dml.color import RGBColor from pptx.enum.shapes import MSO_SHAPE from pptx.enum.text import PP_ALIGN,MSO_ANCHOR from pptx.chart.data import CategoryChartData from pptx.enum.chart import XL_CHART_TYPE,XL_LEGEND_POSITION from pathlib import Path O=Path('/tmp/workspace/ap-conference-presentation/output/Coblation_Tonsillectomy_AP_State_Conference_Kurnool.pptx'); O.parent.mkdir(parents=True,exist_ok=True) p=Presentation();p.slide_width=Inches(13.333);p.slide_height=Inches(7.5);B=p.slide_layouts[6] N=RGBColor(9,41,68);T=RGBColor(0,133,143);A=RGBColor(232,130,45);L=RGBColor(244,248,250);M=RGBColor(218,230,234);W=RGBColor(255,255,255);D=RGBColor(45,57,66);S=RGBColor(88,104,115) def box(s,x,y,w,h,c,round=0): q=s.shapes.add_shape(MSO_SHAPE.ROUNDED_RECTANGLE if round else MSO_SHAPE.RECTANGLE,Inches(x),Inches(y),Inches(w),Inches(h));q.fill.solid();q.fill.fore_color.rgb=c;q.line.color.rgb=c;return q def text(s,z,x,y,w,h,sz=18,c=D,b=0,al=PP_ALIGN.LEFT): q=s.shapes.add_textbox(Inches(x),Inches(y),Inches(w),Inches(h));f=q.text_frame;f.clear();f.word_wrap=True;f.margin_left=f.margin_right=Inches(.06);f.margin_top=f.margin_bottom=Inches(.03);f.vertical_anchor=MSO_ANCHOR.MIDDLE;r=f.paragraphs[0].add_run();r.text=z;r.font.name='Aptos';r.font.size=Pt(sz);r.font.bold=b;r.font.color.rgb=c;f.paragraphs[0].alignment=al;return q def bullets(s,a,x,y,w,h,sz=16): q=s.shapes.add_textbox(Inches(x),Inches(y),Inches(w),Inches(h));f=q.text_frame;f.clear();f.word_wrap=True;f.margin_left=Inches(.04);f.margin_right=Inches(.04) for i,z in enumerate(a): g=f.paragraphs[0] if i==0 else f.add_paragraph();g.text='• '+z;g.font.name='Aptos';g.font.size=Pt(sz);g.font.color.rgb=D;g.space_after=Pt(10) return q def head(s,title,n): box(s,0,0,13.333,.28,N);text(s,'AP STATE CONFERENCE | KURNOOL',.55,.33,6,.22,9,T,1);text(s,title,.55,.62,12,.52,27,N,1);box(s,.55,1.22,1.15,.05,A);box(s,0,7.2,13.333,.3,N);text(s,'Source: Amarnath SB et al. Int J Med Pub Health. 2026;16(1):1532-1537.',.55,7.22,10.5,.16,8,W);text(s,str(n),12.2,7.22,.5,.16,9,W,1,PP_ALIGN.RIGHT) def stat(s,n,l,x,y,w=2.6,c=T): box(s,x,y,w,1.2,W,1);text(s,n,x+.1,y+.1,w-.2,.45,26,c,1,PP_ALIGN.CENTER);text(s,l,x+.1,y+.64,w-.2,.34,11,S,0,PP_ALIGN.CENTER) def chart(s,cats,ser,x,y,w,h,cols,typ=XL_CHART_TYPE.COLUMN_CLUSTERED,leg=False): d=CategoryChartData();d.categories=cats for k,v in ser:d.add_series(k,v) ch=s.shapes.add_chart(typ,Inches(x),Inches(y),Inches(w),Inches(h),d).chart;ch.has_legend=leg if leg:ch.legend.position=XL_LEGEND_POSITION.BOTTOM ch.value_axis.has_major_gridlines=True;ch.value_axis.major_gridlines.format.line.color.rgb=M for i,q in enumerate(ch.series):q.format.fill.solid();q.format.fill.fore_color.rgb=cols[i];q.format.line.color.rgb=cols[i] return ch # title s=p.slides.add_slide(B);box(s,0,0,13.333,7.5,N);box(s,8.8,0,4.533,7.5,T);box(s,0,0,13.333,.28,A) for sz,col in [(4.6,RGBColor(40,187,190)),(3.25,W),(1.9,A)]: q=s.shapes.add_shape(MSO_SHAPE.OVAL,Inches(11.05-sz/2),Inches(3.6-sz/2),Inches(sz),Inches(sz));q.fill.background();q.line.color.rgb=col;q.line.width=Pt(2) text(s,'COLD DISSECTION,\nWARM OUTCOMES',.7,.95,7.7,1.32,30,W,1);text(s,'Coblation tonsillectomy review from a tertiary care hospital',.72,2.5,7.5,.48,18,RGBColor(205,232,234));box(s,.72,3.32,1.2,.06,A);text(s,'AP State Conference Presentation | Kurnool',.72,3.72,6,.3,15,W,1);text(s,'Amarnath S B | Gouthami Sushma S | Prathyusha Koneru',.72,4.2,7,.28,14,W);text(s,'Department of ENT, SVIMS-Sri Padmavathi Medical College for Women, Tirupati, Andhra Pradesh',.72,4.58,7.5,.55,12,RGBColor(205,232,234));text(s,'Int J Med Pub Health 2026;16(1):1532-1537',.72,6.65,6,.2,10,RGBColor(205,232,234)) # background s=p.slides.add_slide(B);head(s,'Why Coblation Tonsillectomy?',2);box(s,.6,1.55,5.85,4.95,L,1);text(s,'Clinical context',.9,1.85,3,.3,20,N,1);bullets(s,['Tonsillectomy is used for recurrent tonsillitis, sleep-disordered breathing and obstructive sleep apnoea.','Coblation uses bipolar radiofrequency energy in saline to create a plasma field for tissue dissolution and haemostasis.','The paper describes a lower operating temperature (about 60°C) than electrocautery (up to 400°C).'],.9,2.35,5.05,3.4,16) box(s,6.8,1.55,5.9,4.95,W,1);text(s,'Study rationale',7.15,1.85,3,.3,20,N,1);text(s,'Potential pathway to lower thermal tissue injury and postoperative morbidity',7.15,2.38,4.75,.6,19,T,1) for y,z in [(3.5,'Low-temperature plasma field'),(4.25,'Capsular-plane dissection'),(5.0,'Recovery and QoL follow-up')]:box(s,7.15,y,.3,.3,A,1);text(s,z,7.7,y-.02,4,.3,16,D) # design s=p.slides.add_slide(B);head(s,'Study Aim and Design',3) for x,n,l,w,c in [(.7,'45','patients',2.5,T),(3.45,'5-35 y','age range',2.5,T),(6.2,'Jan 2018 - Mar 2022','study period',2.8,T),(9.25,'6 months','follow-up',2.8,T)]:stat(s,n,l,x,1.55,w,c) box(s,.7,3.15,12,2.8,L,1);text(s,'Objective',1,3.45,2,.3,19,N,1);text(s,'To evaluate postoperative outcomes following coblation-assisted tonsillectomy at the authors’ institution.',1,3.88,10.8,.4,19,T,1);text(s,'Design and setting',1,4.62,3,.3,18,N,1);bullets(s,['Retrospective, single-centre review at SVIMS-Sri Padmavathi Medical College for Women, Tirupati.','Included recurrent tonsillitis/chronic adenotonsillitis, sleep-disordered breathing and obstructive sleep apnoea cases.','Ethical and scientific committee clearance: IEC no. 1278.'],1,5.0,10.9,.75,14) # methods s=p.slides.add_slide(B);head(s,'Methods: Procedure and Outcome Measures',4) for i,(a,b) in enumerate([('Pre-operative','History, examination, investigations and fitness'),('Intra-operative','General anaesthesia; Rose position; ARS 700 system'),('Technique','Ablation 7, coagulation 3; capsular plane'),('Follow-up','Weekly in month 1, then monthly for 5 months')]): x=.65+i*3.15;box(s,x,1.65,2.65,1.65,W,1);text(s,a,x+.12,1.92,2.4,.27,16,N,1,PP_ALIGN.CENTER);text(s,b,x+.16,2.32,2.33,.55,12,S,0,PP_ALIGN.CENTER) box(s,.65,4.1,12.05,1.9,L,1);text(s,'Measured outcomes',.95,4.4,2.6,.3,19,N,1);bullets(s,['Operative duration, Wong-Baker FACES pain score, haemorrhage, healing, return to diet and activity.','TOI-14: disease-specific patient-reported quality-of-life questionnaire.','Analysis: SPSS v20; mean ± SD, chi-square/Student t-test; p < 0.05 significant.'],.95,4.83,11,.85,14) # cohort s=p.slides.add_slide(B);head(s,'Cohort Profile',5);chart(s,['Male','Female'],[('Patients',[26,19])],.7,1.6,4.3,3.9,[T]);text(s,'Sex distribution',.85,1.33,3,.25,17,N,1);chart(s,['5-10','11-15','16-20','25-30','31-35'],[('Patients',[16,19,5,2,3])],5.3,1.6,5.9,3.9,[RGBColor(41,111,181)]);text(s,'Age distribution (years)',5.45,1.33,3.5,.25,17,N,1);stat(s,'13.4 ± 7.2 y','mean age',.8,5.65);stat(s,'77.8%','paediatric',3.85,5.65,2.5,A);stat(s,'57.7%','male',6.9,5.65,2.5,RGBColor(41,111,181));text(s,'n = 45',10.25,5.9,1.6,.3,18,N,1,PP_ALIGN.CENTER) # recovery s=p.slides.add_slide(B);head(s,'Operative and Recovery Outcomes',6);stat(s,'15.8 ± 4.5 min','mean operative time',.7,1.55,3);stat(s,'5.44 ± 1.5 d','return to normal diet',4.05,1.55,3,A);stat(s,'6.1 ± 1.7 d','return to routine activity',7.4,1.55,3,RGBColor(41,111,181));stat(s,'0 / 45','reported haemorrhage',10.45,1.55,2.15,RGBColor(190,67,68));box(s,.7,3.35,12,2.4,L,1);text(s,'Haemorrhage outcome',1,3.7,3,.3,20,N,1);text(s,'No primary, reactionary or secondary haemorrhage was reported in this cohort.',1,4.2,10.5,.45,21,T,1);text(s,'Interpret cautiously: retrospective study, small sample and no comparator arm.',1,5.05,9.5,.28,15,S) # pain s=p.slides.add_slide(B);head(s,'Pain Improves Across the First 3 Weeks',7);chart(s,['6 h','24 h','48 h','1 wk','2 wk','3 wk'],[('Average pain score',[6.58,5.58,4.78,2.73,1.29,.53])],.7,1.55,7.1,4.8,[A],XL_CHART_TYPE.LINE_MARKERS);box(s,8.25,1.55,4.3,4.8,W,1);text(s,'Key result',8.65,1.95,2.8,.3,19,N,1);text(s,'5.58',8.65,2.58,2.8,.55,38,A,1);text(s,'± 1.2 at 24 hours',8.65,3.22,2.9,.25,15,S);text(s,'2.73',8.65,4.05,2.8,.55,38,T,1);text(s,'± 0.8 at 1 week',8.65,4.68,2.9,.25,15,S);text(s,'Wong-Baker FACES scale.',8.65,5.52,3,.3,11,S) # TOI s=p.slides.add_slide(B);head(s,'Patient-Reported Outcomes: TOI-14',8);chart(s,['Snoring','Apnoea','Throat infection','Doctor visits','Missing school'],[('Pre-op',[2.9,2.8,2.9,2.9,2.5]),('1 month',[1.4,1.5,.4,.5,.8]),('3-6 months',[.5,.5,.4,.3,.3])],.65,1.58,8,4.85,[N,A,T],XL_CHART_TYPE.COLUMN_CLUSTERED,True);box(s,9,1.58,3.65,4.85,L,1);text(s,'Quality-of-life signal',9.35,1.92,2.8,.55,19,N,1);text(s,'28.7',9.35,2.85,2.5,.55,34,T,1);text(s,'mean difference between pre-operative and 3-6 month TOI-14 scores',9.35,3.5,2.7,.8,14,S);text(s,'Table 3 reports p = 0.000 for all listed symptom comparisons.',9.35,4.85,2.7,.6,15,D,1);text(s,'Values shown are article-reported symptom scores.',9.35,5.72,2.7,.3,11,S) # limitations s=p.slides.add_slide(B);head(s,'Interpretation, Limitations and Implication',9);box(s,.7,1.55,5.8,4.95,W,1);text(s,'What this series suggests',1.05,1.92,4.7,.3,20,N,1);bullets(s,['Pain fell steadily over 3 weeks.','Diet and daily activity resumed in about 5.4 and 6.1 days.','No haemorrhage was reported in 45 patients.','TOI-14 symptoms improved over follow-up.'],1.05,2.52,4.8,2.7,17);box(s,6.85,1.55,5.8,4.95,L,1);text(s,'Limitations and next step',7.2,1.92,4.7,.3,20,N,1);bullets(s,['Retrospective design, small sample and no comparator group.','Equipment cost, availability and learning curve may affect implementation.','The authors recommend larger prospective comparative studies.'],7.2,2.52,4.8,2.7,17) # conclusion s=p.slides.add_slide(B);box(s,0,0,13.333,7.5,N);box(s,0,0,13.333,.28,A);text(s,'Take-Home Messages',.72,.85,8,.5,30,W,1);box(s,.72,1.55,1.1,.06,A) for i,(n,z) in enumerate([('01','Mean operative time: 15.8 ± 4.5 minutes'),('02','Pain decreased from 5.58 ± 1.2 at 24 h to 2.73 ± 0.8 at 1 week'),('03','Normal diet and routine activity resumed at 5.44 and 6.1 days'),('04','No primary, reactionary or secondary haemorrhage was reported'),('05','TOI-14 symptom scores improved significantly through follow-up')]): y=1.9+i*.82;text(s,n,.78,y,.55,.3,16,A,1);text(s,z,1.55,y-.02,9.8,.35,18,W) text(s,'Thank you',.72,6.45,2.4,.45,25,W,1);text(s,'Questions and discussion',.72,6.92,3,.2,12,RGBColor(205,232,234));text(s,'Primary source: Amarnath SB, Gouthami Sushma S, Koneru P. Int J Med Pub Health. 2026;16(1):1532-1537.',5.1,6.92,7.4,.2,9,RGBColor(205,232,234),0,PP_ALIGN.RIGHT) p.core_properties.title='Coblation Tonsillectomy - AP State Conference, Kurnool';p.save(O);print(O) PY python - <<'PY' from pptx import Presentation p=Presentation('/tmp/workspace/ap-conference-presentation/output/Coblation_Tonsillectomy_AP_State_Conference_Kurnool.pptx');print('slides',len(p.slides)) PY
python - <<'PY' from pptx import Presentation from pathlib import Path f=Path('/tmp/workspace/ap-conference-presentation/output/Coblation_Tonsillectomy_AP_State_Conference_Kurnool.pptx') p=Presentation(f) print('exists',f.exists(),'bytes',f.stat().st_size,'slides',len(p.slides)) for i,s in enumerate(p.slides,1): texts=[sh.text.replace('\n',' | ') for sh in s.shapes if getattr(sh,'has_text_frame',False) and sh.text.strip()] print(i, ' :: '.join(texts[:3])) PY
/tmp/workspace/attachments/fdb54059-dcdf-4d65-952c-51d75b19ca2f/267. 4162. IJMEDPH_Amar Nath_1532-1537.pdf/skills/readonly/medical-library/SKILL.md/tmp/workspace/attachments/fdb54059-dcdf-4d65-952c-51d75b19ca2f/267. 4162. IJMEDPH_Amar Nath_1532-1537.pdf.pptx presentation file, optimized for a state conference audience in Kurnool./tmp/workspace/attachments/fdb54059-dcdf-4d65-952c-51d75b19ca2f/267. 4162. IJMEDPH_Amar Nath_1532-1537.pdfpypdf or pdfplumber to read/extract PDF text/tables.python-pptx for creating a new presentation; read /tmp/skills/pptx/python-pptx.md before implementation if creating from scratch."IJMEDPH" "Amar Nath" 1532 1537 was performed, but its results were ambiguous/mismatched and should not be treated as the source of truth. The attached PDF must be directly extracted and used./tmp/workspace/attachments/fdb54059-dcdf-4d65-952c-51d75b19ca2f/267. 4162. IJMEDPH_Amar Nath_1532-1537.pdf/tmp/skills/pdf/SKILL.md/tmp/skills/pptx/SKILL.md/skills/readonly/medical-library/SKILL.md.pptx output file has been created or modified yet.pypdf/pdfplumber..pptx using python-pptx, with professional clinical/public-health visual design and readable presentation-scale typography.An error occurred (ValidationException) when calling the InvokeCodeInterpreter operation: Code interpreter session 01M10S4E32WR42E1V371DRS8KR is not active
We encountered an error while processing your request. Please try again or reach out to us for help.
Error code: 400 - {'error': {'message': "Invalid value: 'file'. Supported values are: 'text', 'refusal', 'image_url', and 'input_audio'.", 'type': 'invalid_request_error', 'param': 'messages[9].content[0]', 'code': 'invalid_value'}}
We encountered an error while processing your request. Please try again or reach out to us for help.
Error code: 400 - {'error': {'message': "Invalid value: 'file'. Supported values are: 'text', 'refusal', 'image_url', and 'input_audio'.", 'type': 'invalid_request_error', 'param': 'messages[3].content[0]', 'code': 'invalid_value'}}
We encountered an error while processing your request. Please try again or reach out to us for help.
An error occurred (ValidationException) when calling the InvokeCodeInterpreter operation: Code interpreter session 01M10S4E32WR42E1V371DRS8KR is not active
We encountered an error while processing your request. Please try again or reach out to us for help.
Need Abstracts must be in MS Word, limited to 250 words, Times New Roman font. WITH BETTER ENGLISH
~/
~/attachments/fdb54059-dcdf-4d65-952c-51d75b19ca2f
coblation tonsillectomy systematic review 2024
coblation tonsillectomy
Quick answer
PREPARE POWERPOINT PRESENTATION TO PRESENT IN CONFERENCE FOR ENT CONSULTANT .FROM THE ABOVE ARTICLE IN LESS THAN 20 SLIDES WITH DIAGRAMS AND TABLES TO BE INCLUDED WHERE EVER REQUIRED
~/
coblation tonsillectomy postoperative outcomes systematic review 2024
coblation tonsillectomy
Which section should be developed in detail first for the conference deck?
/tmp/workspace/attachments/fdb54059-dcdf-4d65-952c-51d75b19ca2f/267. 4162. IJMEDPH_Amar Nath_1532-1537.pdf/skills/readonly/medical-library/SKILL.md/tmp/workspace/attachments/fdb54059-dcdf-4d65-952c-51d75b19ca2f/267. 4162. IJMEDPH_Amar Nath_1532-1537.pdf.pptx presentation file, optimized for a state conference audience in Kurnool./tmp/workspace/attachments/fdb54059-dcdf-4d65-952c-51d75b19ca2f/267. 4162. IJMEDPH_Amar Nath_1532-1537.pdfpypdf or pdfplumber to read/extract PDF text/tables.python-pptx for creating a new presentation; read /tmp/skills/pptx/python-pptx.md before implementation if creating from scratch."IJMEDPH" "Amar Nath" 1532 1537 was performed, but its results were ambiguous/mismatched and should not be treated as the source of truth. The attached PDF must be directly extracted and used./tmp/workspace/attachments/fdb54059-dcdf-4d65-952c-51d75b19ca2f/267. 4162. IJMEDPH_Amar Nath_1532-1537.pdf/tmp/skills/pdf/SKILL.md/tmp/skills/pptx/SKILL.md/skills/readonly/medical-library/SKILL.md.pptx output file has been created or modified yet.pypdf/pdfplumber..pptx using python-pptx, with professional clinical/public-health visual design and readable presentation-scale typography./tmp/workspace
~/attachments/fdb54059-dcdf-4d65-952c-51d75b19ca2f
~/ap-conference-presentation
tonsillectomy coblation
Cold Dissection Warm Outcomes Coblation Tonsillectomy Review Tertiary Care Hospital 2026
mkdir -p "/tmp/workspace/coblation-conference/src" "/tmp/workspace/coblation-conference/output" && python -c "from pypdf import PdfReader; p=PdfReader('/tmp/workspace/attachments/fdb54059-dcdf-4d65-952c-51d75b19ca2f/267. 4162. IJMEDPH_Amar Nath_1532-1537.pdf'); open('/tmp/workspace/coblation-conference/article_text.txt','w',encoding='utf-8').write('\\n\\n'.join(x.extract_text() or '' for x in p.pages)); print('pages',len(p.pages))"
~/coblation-conference/src/build_deck.py
from pptx import Presentation
from pptx.util import Inches, Pt
from pptx.dml.color import RGBColor
from pptx.enum.shapes import MSO_SHAPE, MSO_CONNECTOR
from pptx.enum.text import PP_ALIGN, MSO_ANCHOR
from pptx.chart.data import CategoryChartData
from pptx.enum.chart import XL_CHART_TYPE, XL_LEGEND_POSITION
from pptx.enum.dml import MSO_THEME_COLOR
from pptx.oxml.xmlchemy import OxmlElement
from pptx.oxml.ns import qn
from pathlib import Path
OUT = Path('/tmp/workspace/coblation-conference/output/Coblation_Tonsillectomy_Conference_Deck.pptx')
prs = Presentation(); prs.slide_width=Inches(13.333); prs.slide_height=Inches(7.5)
blank=prs.slide_layouts[6]
# palette
NAVY='102A43'; TEAL='007C83'; CYAN='17BEBB'; ORANGE='F39C4A'; SKY='E7F4F4'; INK='243B53'; MUTED='627D98'; PALE='F6F9FC'; WHITE='FFFFFF'; RED='C0392B'; GREEN='218C74'
def rgb(h): return RGBColor.from_string(h)
def rect(slide,x,y,w,h,fill, line=None, radius=False):
sh=slide.shapes.add_shape(MSO_SHAPE.ROUNDED_RECTANGLE if radius else MSO_SHAPE.RECTANGLE, Inches(x),Inches(y),Inches(w),Inches(h))
sh.fill.solid(); sh.fill.fore_color.rgb=rgb(fill); sh.line.color.rgb=rgb(line or fill)
if radius: sh.adjustments[0]=0.12
return sh
def text(slide,s,x,y,w,h,size=18,color=INK,bold=False,align=PP_ALIGN.LEFT,font='Aptos',valign=MSO_ANCHOR.TOP):
box=slide.shapes.add_textbox(Inches(x),Inches(y),Inches(w),Inches(h)); tf=box.text_frame; tf.clear(); tf.word_wrap=True
tf.margin_left=tf.margin_right=Inches(.03); tf.margin_top=tf.margin_bottom=Inches(.02); tf.vertical_anchor=valign
p=tf.paragraphs[0]; p.alignment=align; r=p.add_run(); r.text=s; r.font.name=font; r.font.size=Pt(size); r.font.bold=bold; r.font.color.rgb=rgb(color)
return box
def add_runs(tf, items, size=16):
tf.clear();
for i,(s,c,b) in enumerate(items):
p=tf.paragraphs[0] if i==0 else tf.add_paragraph(); p.space_after=Pt(7); p.level=0
r=p.add_run(); r.text=s; r.font.name='Aptos'; r.font.size=Pt(size); r.font.bold=b; r.font.color.rgb=rgb(c)
def footer(slide,n):
rect(slide,0,7.23,13.333,.27,NAVY)
text(slide,'Amarnath SB et al. Int J Med Public Health. 2026;16(1):1532-1537.',.43,7.27,10,.14,8,WHITE)
text(slide,str(n),12.45,7.27,.42,.14,8,WHITE,True,PP_ALIGN.RIGHT)
def header(slide,title,kicker,n):
text(slide,kicker.upper(),.52,.28,4,.25,10,TEAL,True)
text(slide,title,.52,.58,12.1,.52,28,NAVY,True)
rect(slide,.52,1.22,1.25,.055,ORANGE)
footer(slide,n)
def card(slide,x,y,w,h,title_,value,detail,accent=TEAL):
rect(slide,x,y,w,h,WHITE,'D9E2EC',True); rect(slide,x,y,.08,h,accent)
text(slide,title_,x+.25,y+.22,w-.42,.35,12,MUTED,True)
text(slide,value,x+.25,y+.67,w-.42,.58,26,NAVY,True)
text(slide,detail,x+.25,y+1.36,w-.42,.42,11,INK)
def add_table(slide, headers, rows, x,y,w,h, widths=None, font=12):
t=slide.shapes.add_table(len(rows)+1,len(headers),Inches(x), Inches(y), Inches(w), Inches(h)).table
if widths:
for i,wi in enumerate(widths): t.columns[i].width=Inches(wi)
for j,hdr in enumerate(headers):
cell=t.cell(0,j); cell.text=hdr; cell.fill.solid(); cell.fill.fore_color.rgb=rgb(NAVY)
for i,row in enumerate(rows,1):
for j,v in enumerate(row):
cell=t.cell(i,j); cell.text=str(v); cell.fill.solid(); cell.fill.fore_color.rgb=rgb(WHITE if i%2 else SKY)
for row in t.rows:
for cell in row.cells:
cell.margin_left=cell.margin_right=Inches(.07); cell.margin_top=cell.margin_bottom=Inches(.04)
for p in cell.text_frame.paragraphs:
p.alignment=PP_ALIGN.CENTER
for r in p.runs: r.font.name='Aptos'; r.font.size=Pt(font); r.font.color.rgb=rgb(WHITE if cell.fill.fore_color.rgb==rgb(NAVY) else INK); r.font.bold=(cell.fill.fore_color.rgb==rgb(NAVY))
return t
# 1
s=prs.slides.add_slide(blank); rect(s,0,0,13.333,7.5,NAVY); rect(s,8.75,0,4.583,7.5,TEAL); rect(s,8.75,0,4.583,.2,ORANGE)
# stylised tonsil anatomy graphic
for cx,cy in [(10.55,3.45),(11.75,3.45)]:
sh=s.shapes.add_shape(MSO_SHAPE.OVAL, Inches(cx),Inches(cy),Inches(.85),Inches(1.15)); sh.fill.solid(); sh.fill.fore_color.rgb=rgb('CFEDEE'); sh.line.color.rgb=rgb(WHITE)
rect(s,10.9,2.55,.45,2.8,'EAF6F6',WHITE,True); text(s,'ENT CONFERENCE PRESENTATION',.65,.68,6,.3,12,CYAN,True)
text(s,'Cold Dissection,\nWarm Outcomes',.65,1.3,7.75,1.45,34,WHITE,True)
text(s,'Coblation tonsillectomy review from a tertiary care hospital',.68,2.95,7.5,.52,19,'D9E2EC')
rect(s,.68,4.0,3.25,.06,ORANGE); text(s,'Article-based review | Retrospective series | 45 patients',.68,4.3,7,.35,14,WHITE)
text(s,'Amarnath S B, Gouthami Sushma S, Prathyusha Koneru\nDepartment of ENT, SVIMS-Sri Padmavathi Medical College for Women, Tirupati',.68,5.85,7.6,.6,12,'D9E2EC')
text(s,'International Journal of Medicine and Public Health\n2026;16(1):1532-1537',.68,6.55,5,.36,11,'D9E2EC')
# 2
s=prs.slides.add_slide(blank); header(s,'Why this study matters','Clinical rationale',2)
text(s,'Tonsillectomy is performed for infectious and obstructive indications, but postoperative pain and recovery remain central concerns.',.55,1.48,11.9,.56,18,INK)
for i,(ttl,body,ico) in enumerate([('Clinical burden','Recurrent tonsillitis, sleep-disordered breathing, and obstructive sleep apnoea drive surgery.','1'),('Coblation concept','Controlled radiofrequency plasma at relatively low temperatures may limit thermal tissue injury.','2'),('Question addressed','How did patients recover after coblation tonsillectomy in this tertiary-care series?','3')]):
x=.6+i*4.15; rect(s,x,2.4,3.75,3.3,WHITE,'D9E2EC',True); sh=s.shapes.add_shape(MSO_SHAPE.OVAL,Inches(x+.3),Inches(2.72),Inches(.6),Inches(.6)); sh.fill.solid(); sh.fill.fore_color.rgb=rgb(TEAL); sh.line.color.rgb=rgb(TEAL); text(s,ico,x+.3,2.84,.6,.2,15,WHITE,True,PP_ALIGN.CENTER); text(s,ttl,x+.32,3.62,3.05,.32,18,NAVY,True); text(s,body,x+.32,4.18,3.02,.9,14,INK)
text(s,'Mechanistic rationale does not by itself establish clinical superiority over other techniques.',.65,6.25,12,.35,13,ORANGE,True)
#3
s=prs.slides.add_slide(blank); header(s,'Study design at a glance','Aim and setting',3)
text(s,'Objective: evaluate postoperative outcomes following coblation-assisted tonsillectomy.',.6,1.45,12,.4,18,INK,True)
steps=[('Design','Retrospective\nsingle-centre review'),('Setting','ENT Department,\nSVIMS, Tirupati'),('Period','Jan 2018 to\nMar 2022'),('Sample','45 patients\naged 5-35 years'),('Follow-up','6 months')]
for i,(a,b) in enumerate(steps):
x=.58+i*2.52; rect(s,x,2.55,2.08,1.55,SKY,'B9E3E2',True); text(s,a,x+.18,2.78,1.7,.25,13,TEAL,True,PP_ALIGN.CENTER); text(s,b,x+.18,3.18,1.7,.55,15,NAVY,True,PP_ALIGN.CENTER)
if i<4:
ln=s.shapes.add_connector(MSO_CONNECTOR.STRAIGHT, Inches(x+2.08), Inches(3.32), Inches(x+2.49), Inches(3.32)); ln.line.color.rgb=rgb(ORANGE); ln.line.width=Pt(2)
add_table(s,['Primary measures','Additional measures'],[['Wong-Baker FACES pain scale','Operative time'],['TOI-14 quality-of-life inventory','Haemorrhage, healing'],['Serial postoperative assessment','Return to diet and activity']],.82,4.75,11.7,1.55,[5.85,5.85],14)
#4
s=prs.slides.add_slide(blank); header(s,'Operative protocol','Coblation technique',4)
flow=[('General anaesthesia','Rose position'),('Exposure','Boyle-Davis mouth gag'),('Device','Bonns Plasma Surgical System ARS 700\nTonsil blator plasma wand'),('Settings','Ablation 7\nCoagulation 3'),('Dissection','Capsular plane\nsuperior to inferior pole')]
for i,(a,b) in enumerate(flow):
y=1.48+i*1.05; rect(s,.75,y,3.35,.75,WHITE,'D9E2EC',True); text(s,str(i+1),.95,y+.2,.32,.22,14,WHITE,True,PP_ALIGN.CENTER); sh=s.shapes.add_shape(MSO_SHAPE.OVAL,Inches(.92),Inches(y+.17),Inches(.35),Inches(.35)); sh.fill.solid(); sh.fill.fore_color.rgb=rgb(TEAL); sh.line.color.rgb=rgb(TEAL); text(s,a,1.42,y+.14,1.3,.23,14,NAVY,True); text(s,b,2.6,y+.13,1.28,.36,11,INK)
if i<4: rect(s,1.07,y+.75,.05,.3,TEAL)
rect(s,5.0,1.7,6.9,3.75,SKY,'B9E3E2',True); text(s,'Technique note',5.4,2.1,2,.28,18,NAVY,True); text(s,'The study describes capsular-plane dissection using coblation, with ablation and coagulation settings specified in the operative protocol.',5.4,2.72,5.8,.75,17,INK); text(s,'Interpretation boundary',5.4,4.0,2.6,.25,15,ORANGE,True); text(s,'This report documents a single technique in a retrospective cohort. It does not compare coblation with cold steel or another energy device.',5.4,4.42,5.8,.62,15,INK)
#5
s=prs.slides.add_slide(blank); header(s,'Who was studied?','Cohort profile',5)
card(s,.65,1.55,2.75,2.1,'TOTAL COHORT','45 patients','Age range: 5-35 years',TEAL); card(s,3.7,1.55,2.75,2.1,'MEAN AGE','13.4 ± 7.2 y','Paediatric predominance',ORANGE); card(s,6.75,1.55,2.75,2.1,'SEX','57.7% male','26 male | 19 female',TEAL); card(s,9.8,1.55,2.75,2.1,'AGE CLASS','77.8% paediatric','35 paediatric | 10 adult',ORANGE)
add_table(s,['Age group (years)','n','Percent'],[['5-10','16','35.6%'],['11-15','19','42.2%'],['16-20','5','11.1%'],['25-30','2','4.4%'],['31-35','3','6.7%']],.85,4.25,6.1,1.95,[2.65,1.4,2.05],12)
text(s,'Age distribution peaked at 11-15 years (n=19).',7.55,4.55,4.6,.3,17,NAVY,True); text(s,'The study included coblation tonsillectomy or adenotonsillectomy for recurrent/chronic tonsillitis and obstructive indications.',7.55,5.05,4.35,.78,15,INK)
#6
s=prs.slides.add_slide(blank); header(s,'Perioperative recovery','Core outcomes',6)
card(s,.8,1.55,3.65,2.4,'OPERATIVE TIME','15.8 ± 4.5 min','Overall mean reported in the study',TEAL); card(s,4.85,1.55,3.65,2.4,'NORMAL DIET','5.44 ± 1.5 d','Mean time to resume normal diet',ORANGE); card(s,8.9,1.55,3.65,2.4,'ROUTINE ACTIVITY','6.1 ± 1.7 d','Mean time to return to daily activity',TEAL)
text(s,'Reported side-specific operative times',.83,4.55,4,.3,17,NAVY,True)
add_table(s,['Right side','Left side'],[['14.8 ± 4.7 min','16.8 ± 4.3 min']],.83,5.05,5.2,.8,[2.6,2.6],15)
rect(s,6.75,4.55,5.25,1.35,SKY,'B9E3E2',True); text(s,'Clinical reading',7.05,4.83,4.5,.25,15,TEAL,True); text(s,'Recovery measures are descriptive cohort outcomes, not comparative effectiveness estimates.',7.05,5.22,4.5,.35,13,INK)
#7
s=prs.slides.add_slide(blank); header(s,'Pain declined through week 3','Postoperative pain trajectory',7)
chart_data=CategoryChartData(); chart_data.categories=['6 h','24 h','48 h','1 week','2 weeks','3 weeks']; chart_data.add_series('Mean Wong-Baker FACES score',[6.58,5.58,4.78,2.73,1.29,.53])
chart=s.shapes.add_chart(XL_CHART_TYPE.LINE_MARKERS,Inches(.6),Inches(1.55),Inches(8.0),Inches(4.85),chart_data).chart; chart.has_legend=False; chart.value_axis.minimum_scale=0; chart.value_axis.maximum_scale=8; chart.value_axis.major_unit=2; chart.value_axis.has_major_gridlines=True; chart.category_axis.tick_labels.font.size=Pt(11); chart.value_axis.tick_labels.font.size=Pt(11); chart.series[0].format.line.color.rgb=rgb(TEAL); chart.series[0].format.line.width=Pt(3); chart.series[0].marker.style=2; chart.series[0].marker.size=8
rect(s,9.12,1.7,3.45,1.25,SKY,'B9E3E2',True); text(s,'6 h → 3 weeks',9.4,1.96,2.8,.25,13,TEAL,True); text(s,'6.58 → 0.53',9.4,2.3,2.8,.32,23,NAVY,True)
rect(s,9.12,3.25,3.45,2.05,WHITE,'D9E2EC',True); text(s,'What the chart shows',9.4,3.53,2.7,.25,15,NAVY,True); text(s,'Mean pain fell at each reported assessment. The series has no comparator group, so relative pain benefit cannot be inferred.',9.4,4.0,2.72,.8,13,INK)
text(s,'Values are means; reported standard deviations: 1.5, 1.2, 1.2, 0.8, 0.6, and 0.5 respectively.',.65,6.62,11.8,.25,10,MUTED)
#8
s=prs.slides.add_slide(blank); header(s,'Quality of life improved after surgery','TOI-14 patient-reported outcomes',8)
text(s,'Selected TOI-14 item means declined from preoperative assessment to 3-6 months.',.6,1.42,12,.32,16,INK)
chart_data=CategoryChartData(); chart_data.categories=['Loud\nsnoring','Irregular\nbreathing','Daytime\nsleepiness','Mouth\nbreathing','Repeated\ninfections','Doctor\nvisits']; chart_data.add_series('Preoperative',[2.9,2.8,2.6,2.5,2.9,2.9]); chart_data.add_series('3-6 months',[.5,.5,.4,.5,.4,.3])
chart=s.shapes.add_chart(XL_CHART_TYPE.COLUMN_CLUSTERED,Inches(.6),Inches(1.95),Inches(8.35),Inches(4.7),chart_data).chart; chart.has_legend=True; chart.legend.position=XL_LEGEND_POSITION.BOTTOM; chart.value_axis.minimum_scale=0; chart.value_axis.maximum_scale=3.5; chart.value_axis.major_unit=.5; chart.value_axis.has_major_gridlines=True; chart.series[0].format.fill.solid(); chart.series[0].format.fill.fore_color.rgb=rgb(ORANGE); chart.series[1].format.fill.solid(); chart.series[1].format.fill.fore_color.rgb=rgb(TEAL)
rect(s,9.35,2.0,3.0,3.8,SKY,'B9E3E2',True); text(s,'Study-level finding',9.65,2.35,2.35,.25,15,TEAL,True); text(s,'TOI-14 scores improved significantly at 1, 3 and 6 months.',9.65,2.85,2.28,.65,17,NAVY,True); text(s,'Table 3 reports p = 0.000; the abstract reports p < 0.0001.',9.65,3.85,2.25,.56,13,INK); text(s,'Mean preoperative to 3-6-month difference reported: 28.7.',9.65,4.75,2.25,.4,13,INK)
#9
s=prs.slides.add_slide(blank); header(s,'No haemorrhage recorded in this cohort','Safety finding',9)
rect(s,.75,1.65,5.0,3.8,NAVY,NAVY,True); text(s,'0 / 45',1.08,2.12,4.25,.72,48,WHITE,True,PP_ALIGN.CENTER); text(s,'Primary, reactionary, or secondary haemorrhage events reported',1.12,3.15,4.2,.65,17,'D9E2EC',False,PP_ALIGN.CENTER); rect(s,2.1,4.25,2.32,.05,ORANGE)
rect(s,6.35,1.65,5.9,3.8,WHITE,'D9E2EC',True); text(s,'Appropriate interpretation',6.75,2.07,4.75,.32,19,NAVY,True); text(s,'The absence of haemorrhage is reassuring within this 45-patient series. It cannot establish a lower haemorrhage rate than other tonsillectomy techniques.',6.75,2.72,4.75,.82,16,INK); text(s,'The article itself acknowledges conflicting findings in previous literature.',6.75,4.22,4.75,.42,14,ORANGE,True)
text(s,'Safety assessment included haemorrhage and healing during a six-month follow-up schedule.',.75,6.05,11.5,.35,15,MUTED)
#10
s=prs.slides.add_slide(blank); header(s,'What can and cannot be concluded','Interpretation',10)
for x,ttl,body,col in [(.75,'Supported by this series','• Falling pain scores\n• Return to diet/activity in about 1 week\n• Improved TOI-14 measures\n• No recorded haemorrhage',TEAL),(6.9,'Not established by this study','• Superiority over conventional tonsillectomy\n• A lower universal haemorrhage risk\n• Causal effect of the technique\n• Generalisability to all settings',ORANGE)]:
rect(s,x,1.65,5.6,4.45,WHITE,'D9E2EC',True); rect(s,x,1.65,5.6,.16,col); text(s,ttl,x+.38,2.1,4.8,.35,22,NAVY,True); text(s,body,x+.42,2.85,4.7,2.45,17,INK)
text(s,'Recommended wording: “In this retrospective cohort, coblation tonsillectomy was associated with favourable recovery and improved patient-reported outcomes.”',.78,6.48,11.9,.3,13,TEAL,True)
#11
s=prs.slides.add_slide(blank); header(s,'Methodological context','Strengths and limitations',11)
add_table(s,['Strengths','Limitations'],[['Real-world tertiary-care series','Retrospective design'],['Six-month follow-up','Small sample (n=45)'],['Patient-reported pain and TOI-14','No comparator arm'],['Multiple recovery outcomes captured','Limited generalisability and statistical power'],['Specified operative protocol','Cost, availability, and learning curve considerations']],.75,1.55,11.85,3.85,[5.925,5.925],15)
rect(s,.8,5.85,11.6,.6,SKY,'B9E3E2',True); text(s,'Research need: larger prospective comparative studies with standardised outcomes, including cost and safety endpoints.',1.05,6.03,11.05,.22,14,NAVY,True,PP_ALIGN.CENTER)
#12
s=prs.slides.add_slide(blank); header(s,'Take-home messages','Conclusion',12)
for i,(n,ttl,body) in enumerate([('1','Favourable recovery','Pain scores decreased over the reported postoperative assessments; normal diet and routine activity resumed at means of 5.44 and 6.1 days.'),('2','Quality of life improved','TOI-14 improved significantly at postoperative follow-up points in the study.'),('3','Use qualified conclusions','The study supports safety and effectiveness in this series, not superiority against other techniques.')]):
x=.65+i*4.12; rect(s,x,1.65,3.72,3.65,WHITE,'D9E2EC',True); sh=s.shapes.add_shape(MSO_SHAPE.OVAL,Inches(x+.28),Inches(1.98),Inches(.62),Inches(.62)); sh.fill.solid(); sh.fill.fore_color.rgb=rgb(TEAL if i!=2 else ORANGE); sh.line.color.rgb=rgb(TEAL if i!=2 else ORANGE); text(s,n,x+.28,2.15,.62,.18,15,WHITE,True,PP_ALIGN.CENTER); text(s,ttl,x+.32,2.92,3.05,.3,18,NAVY,True); text(s,body,x+.32,3.52,3.05,1.18,14,INK)
text(s,'Coblation tonsillectomy was reported safe and effective in this retrospective cohort, with less postoperative pain, faster recovery, and improved quality of life.',.8,5.9,11.7,.45,18,TEAL,True,PP_ALIGN.CENTER)
text(s,'Source: Amarnath SB, Gouthami Sushma S, Koneru P. Cold Dissection, Warm Outcomes: Coblation Tonsillectomy Review from a Tertiary Care Hospital. Int J Med Public Health. 2026;16(1):1532-1537.',.65,6.6,12,.25,9,MUTED,False,PP_ALIGN.CENTER)
prs.save(OUT)
print(OUT)
python "/tmp/workspace/coblation-conference/src/build_deck.py" && python -c "from pptx import Presentation; p=Presentation('/tmp/workspace/coblation-conference/output/Coblation_Tonsillectomy_Conference_Deck.pptx'); print('slides',len(p.slides)); print('size',__import__('os').path.getsize('/tmp/workspace/coblation-conference/output/Coblation_Tonsillectomy_Conference_Deck.pptx')); [print(i+1, ' | '.join(sh.text.replace('\\n',' / ')[:100] for sh in s.shapes if hasattr(sh,'text') and sh.text.strip())[:220]) for i,s in enumerate(p.slides)]"
Coblation Tonsillectomy Conference Deck
Presentation · PPTX
Error code: 400 - {'error': {'message': "Invalid value: 'file'. Supported values are: 'text', 'refusal', 'image_url', and 'input_audio'.", 'type': 'invalid_request_error', 'param': 'messages[9].content[0]', 'code': 'invalid_value'}}
We encountered an error while processing your request. Please try again or reach out to us for help.
Error code: 400 - {'error': {'message': "Invalid value: 'file'. Supported values are: 'text', 'refusal', 'image_url', and 'input_audio'.", 'type': 'invalid_request_error', 'param': 'messages[3].content[0]', 'code': 'invalid_value'}}
We encountered an error while processing your request. Please try again or reach out to us for help.
An error occurred (ValidationException) when calling the InvokeCodeInterpreter operation: Code interpreter session 01M10S4E32WR42E1V371DRS8KR is not active
We encountered an error while processing your request. Please try again or reach out to us for help.