Hi can u help me write abstract for case report
Hi
Requirement Guideline Word limit Maximum 400 words File format DOCX only Font Times New Roman Font size 12 Maximum file size 10 MB References Not mandatory in the displayed format Four mandatory sections TITLE INTRODUCTION AUTHOR & CO-AUTHOR DETAILS CASE DESCRIPTION The Case Description must collectively cover six subsections: History Examination Investigations Diagnosis Treatment Follow-up
ls -la "/tmp/workspace/attachments/64f980a1-7036-475b-b7e1-c9d27af21e7e/"; cd /tmp/workspace; python3 -c " from markitdown import MarkItDown print(MarkItDown().convert('/tmp/workspace/attachments/64f980a1-7036-475b-b7e1-c9d27af21e7e/ERWT PRESENTATION.ppt').text_content[:6000])" 2>&1 | tail -40
cd /tmp/workspace; python3 -c " from markitdown import MarkItDown t=MarkItDown().convert('/tmp/workspace/attachments/64f980a1-7036-475b-b7e1-c9d27af21e7e/ERWT PRESENTATION.ppt').text_content import re t=re.sub(r'!\[[^\]]*\]\([^)]*\)','[img]',t) print(t)" 2>&1 | head -200
mkdir -p /tmp/workspace/case-abstract/img && cd /tmp/workspace/case-abstract && python3 - <<'E' import re d=open('/tmp/workspace/attachments/64f980a1-7036-475b-b7e1-c9d27af21e7e/ERWT PRESENTATION.ppt','rb').read() n=0 for m in re.finditer(b'\xff\xd8\xff',d): s=m.start() e=d.find(b'\xff\xd9',s+2000) # find proper end: next jpeg start or EOI nxt=d.find(b'\xff\xd8\xff',s+3) end=nxt if nxt!=-1 else len(d) seg=d[s:end] k=seg.rfind(b'\xff\xd9') if k>0: seg=seg[:k+2] if len(seg)>5000: n+=1 open(f'img/i{n:02d}.jpg','wb').write(seg) print(n) E ls -la img; python3 -c " from PIL import Image import glob for f in sorted(glob.glob('/tmp/workspace/case-abstract/img/*.jpg')): try: im=Image.open(f); im.load(); print(f,im.size) except Exception as e: print(f,'ERR',e) "
cd /tmp/workspace/case-abstract && python3 - <<'E' from PIL import Image import glob fs=sorted(glob.glob('img/*.jpg')) def sheet(files,out): W=500;H=420 sh=Image.new('RGB',(W*3,H*2),'white') for i,f in enumerate(files): im=Image.open(f).convert('RGB'); im.thumbnail((W,H)) sh.paste(im,((i%3)*W,(i//3)*H)) sh.save(out) sheet(fs[:6],'sheet1.jpg'); sheet(fs[6:],'sheet2.jpg') E
"extrarenal Wilms tumor"
mkdir -p /tmp/workspace/case-abstract/output && cd /tmp/workspace/case-abstract && cat > make.py <<'E' import re from docx import Document from docx.shared import Pt from docx.enum.text import WD_ALIGN_PARAGRAPH, WD_COLOR_INDEX from docx.oxml.ns import qn doc=Document() for s in doc.sections: s.left_margin=s.right_margin=s.top_margin=s.bottom_margin=__import__('docx').shared.Inches(1) st=doc.styles['Normal']; st.font.name='Times New Roman'; st.font.size=Pt(12) st.element.rPr.rFonts.set(qn('w:eastAsia'),'Times New Roman') st.paragraph_format.space_after=Pt(6) def runs(p,text,bold=False): # [..] placeholders highlighted for part in re.split(r'(\[[^\]]*\])',text): if not part: continue r=p.add_run(part); r.bold=bold r.font.name='Times New Roman'; r.font.size=Pt(12) r._element.rPr.rFonts.set(qn('w:eastAsia'),'Times New Roman') if part.startswith('['): r.font.highlight_color=WD_COLOR_INDEX.YELLOW def para(text,bold=False,align=None): p=doc.add_paragraph(); runs(p,text,bold) if align: p.alignment=align return p def sub(label,text): p=doc.add_paragraph(); runs(p,label+': ',True); runs(p,text) p.alignment=WD_ALIGN_PARAGRAPH.JUSTIFY para('TITLE',True) para('Primary Extrarenal Wilms Tumour in a Five-Year-Old Girl: A Rare Case Report') para('INTRODUCTION',True) p=para('Wilms tumour is the commonest renal malignancy of childhood, usually arising in the kidney during the first decade of life. Primary extrarenal origin is exceptionally rare; reported sites include the retroperitoneum, uterus, thorax and skin. It poses diagnostic, therapeutic and prognostic challenges and may be mistaken for neuroblastoma.',align=WD_ALIGN_PARAGRAPH.JUSTIFY) para('AUTHOR & CO-AUTHOR DETAILS',True) para('Dr Hamid Wani, Consultant, Department of Surgery, Government Medical College, Jammu. [Co-authors: name, designation, department, institution]') para('CASE DESCRIPTION',True) sub('History','A 5-year-old girl presented with a right-sided abdominal lump for 2 months, gradually increasing in size, and abdominal pain for 1 month. There was no fever, haematuria, vomiting, jaundice, weight loss or bowel and bladder disturbance. Past, family and immunisation histories were unremarkable.') sub('Examination','Weight 18 kg; pallor present; no jaundice or lymphadenopathy. Pulse 102/min, blood pressure 90/52 mmHg, afebrile. A smooth, firm-to-hard, non-tender, immobile mass of about 12 x 11 x 12 cm occupied the right lumbar, right iliac and umbilical regions, with no respiratory movement. Hernial orifices, genitalia and rectal examination were normal.') sub('Investigations','Haemoglobin 11.4 g/dL, total leucocyte count 12,700, ALT 89, AST 93 and ALP 545 U/L; renal function, electrolytes and urine were normal. Ultrasound showed a 10 x 11.4 x 9.6 cm right abdominopelvic mass with cystic areas and calcific foci, with a preserved interface with the right kidney. CECT showed an 11 x 7.8 x 7.3 cm peripherally enhancing mass with central necrosis adjacent to the lower pole of the right kidney; both kidneys and adrenals were normal, without vascular invasion. FNAC suggested Wilms tumour. Chest X-ray was normal.') sub('Diagnosis','Primary extrarenal Wilms tumour. [Add histopathology/immunohistochemistry findings and stage]') sub('Treatment','Exploratory laparotomy with excision of the mass. [Confirm extent of resection; add chemotherapy regimen, if given]') sub('Follow-up','[Add duration of follow-up and current status]') doc.save('output/Extrarenal_Wilms_Tumour_Case_Report_Abstract.docx') E python3 make.py && python3 - <<'E' from docx import Document d=Document('/tmp/workspace/case-abstract/output/Extrarenal_Wilms_Tumour_Case_Report_Abstract.docx') t=' '.join(p.text for p in d.paragraphs) print(len(t.split())) E ls -la output
Extrarenal Wilms Tumour Case Report Abstract
Word Document · DOCX