Sub mandibular gland Its complete anatomy , including imp landmarks and blood and nerve supply Submandibular sailadenitis , its mc cause , complications , etiology , clinical features and management Explain sub mandibular gland excision steps , post op And intera complications
1 anatomy
anatomy diagram submandibular gland relations Wharton duct lingual nerve hypoglossal nerve facial artery
"submandibular gland" AND anatomy
submandibular gland anatomy relations duct nerve blood supply anatomy
https://www.ncbi.nlm.nih.gov/books/NBK542272

| Boundary | Structure |
|---|---|
| Superior / base | Inferior border of body of mandible |
| Anteroinferior | Anterior belly of digastric |
| Posteroinferior | Posterior belly of digastric |
| Floor | Mylohyoid anteriorly; hyoglossus and middle constrictor more posteriorly |
| Roof | Skin, superficial fascia with platysma, investing deep cervical fascia |
| Surface / relation | Structures |
|---|---|
| Superficial or lateral | Skin, platysma, investing fascia, facial vein, submandibular lymph nodes; marginal mandibular branch of facial nerve lies superficial to the gland |
| Superior | Submandibular fossa on medial surface of mandible |
| Inferior | Posterior belly of digastric, stylohyoid |
| Medial / deep | Mylohyoid anteriorly; hyoglossus posteriorly; posteriorly related to styloglossus |
| Posterolateral | Facial artery may groove, traverse, or lie closely applied to the posterior part of gland |
| Direction | Important relation |
|---|---|
| Lateral | Mylohyoid |
| Medial | Hyoglossus and posteriorly styloglossus |
| Superior | Lingual nerve and submandibular ganglion |
| Inferior | Hypoglossal nerve and accompanying lingual veins |
| Anterior | Sublingual gland and submandibular duct |
| Landmark | Why it matters |
|---|---|
| Inferior border of mandible | Reference for skin incision and marginal mandibular nerve protection |
| Facial artery pulse at mandibular border | Identifies facial artery; it is closely related to posterior gland |
| Posterior belly of digastric | Forms posterior boundary of triangle and helps locate facial artery |
| Mylohyoid posterior border | Point where gland turns from superficial to deep lobe |
| Wharton duct | Identify before division during excision |
| Lingual nerve | Lies superior to duct distally and loops under it |
| Hypoglossal nerve | Inferior to duct, superficial to hyoglossus |
| Hyoglossus | Lingual artery lies deep to it; hypoglossal nerve lies superficial to it |
| Facial vein | Usually superficial to gland and often encountered early |
2 sailadenitis
"sialadenitis" AND management
submandibular sialadenitis diagnosis treatment complications guideline
ultrasound submandibular sialadenitis sialolithiasis stone Wharton duct
https://pmc.ncbi.nlm.nih.gov/articles/PMC10426371
| Question | Best answer |
|---|---|
| Commonest cause of submandibular sialadenitis | Obstruction by a submandibular sialolith |
| Commonest pathogen in acute suppurative sialadenitis | Staphylococcus aureus |
| Situation | Usual management |
|---|---|
| Small distal duct stone | Hydration, massage, sialogogues; sometimes transoral duct incision and stone removal |
| Mobile intraductal stone / stenosis | Sialendoscopy with basket retrieval, duct dilatation, or irrigation |
| Larger proximal or hilar stone | Sialendoscopy-assisted transoral stone removal, sometimes lithotripsy depending on expertise |
| Recurrent infection, intraglandular stones, fibrosed non-functioning gland, failed minimally invasive management | Submandibular gland excision |
3 excusion Its steps, most common complications
"submandibular gland excision" AND complications
submandibular gland excision operative steps complications marginal mandibular lingual hypoglossal nerve
https://www.ncbi.nlm.nih.gov/books/NBK568740
This is an exam-oriented outline for trained surgical practice, not a substitute for operative supervision.
| Complication | Cause / consequence | Prevention |
|---|---|---|
| Marginal mandibular nerve injury | Lower lip weakness/asymmetry | Low incision, subplatysmal flap, elevate fascia with nerve, avoid traction and blind cautery |
| Lingual nerve injury | Numb anterior two-thirds of tongue, loss of taste, reduced salivary parasympathetic input | Identify nerve before dividing ganglion/duct, careful deep dissection |
| Hypoglossal nerve injury | Ipsilateral tongue weakness and tongue deviation toward affected side | Identify nerve below duct before duct ligation/division |
| Facial artery or vein bleeding | Haemorrhage, postoperative haematoma | Deliberate identification, ligation of branches, meticulous haemostasis |
| Lingual vessel bleeding | Haemorrhage in deep floor-of-mouth plane | Avoid blind clamping near hyoglossus and hypoglossal nerve |
| Duct injury or retained distal stone | Continued pain/swelling, recurrent infection | Ligate duct appropriately and assess for distal duct calculi |
Create a one-page PDF of submandibular gland anatomy
~/
mkdir -p "/tmp/workspace/submandibular-gland-anatomy/src" "/tmp/workspace/submandibular-gland-anatomy/output" && python - <<'PY' from reportlab.lib.pagesizes import A4 from reportlab.lib import colors from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle from reportlab.lib.units import mm from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle, KeepTogether from reportlab.pdfbase.ttfonts import TTFont from reportlab.pdfbase import pdfmetrics from reportlab.lib.enums import TA_CENTER from reportlab.pdfbase.pdfmetrics import stringWidth out='/tmp/workspace/submandibular-gland-anatomy/output/Submandibular_Gland_Anatomy_One_Page.pdf' page_w,page_h=A4 margin=10*mm styles=getSampleStyleSheet() styles.add(ParagraphStyle(name='TitleX', parent=styles['Title'], fontName='Helvetica-Bold', fontSize=16, leading=18, alignment=TA_CENTER, textColor=colors.HexColor('#123B57'), spaceAfter=3)) styles.add(ParagraphStyle(name='SubX', parent=styles['Normal'], fontName='Helvetica', fontSize=7.8, leading=9, alignment=TA_CENTER, textColor=colors.HexColor('#4A5D68'), spaceAfter=5)) styles.add(ParagraphStyle(name='HeadX', parent=styles['Heading2'], fontName='Helvetica-Bold', fontSize=9, leading=10, textColor=colors.white, backColor=colors.HexColor('#176B87'), borderPadding=(2.3,4,2.3,4), spaceBefore=3, spaceAfter=3)) styles.add(ParagraphStyle(name='BodyX', parent=styles['Normal'], fontName='Helvetica', fontSize=7.25, leading=8.45, spaceAfter=1.5)) styles.add(ParagraphStyle(name='SmallX', parent=styles['Normal'], fontName='Helvetica', fontSize=6.65, leading=7.7, spaceAfter=0.8)) styles.add(ParagraphStyle(name='BoxX', parent=styles['Normal'], fontName='Helvetica-Bold', fontSize=7.15, leading=8.4, textColor=colors.HexColor('#542B0A'))) P=lambda text, style='BodyX': Paragraph(text, styles[style]) doc=SimpleDocTemplate(out,pagesize=A4,rightMargin=margin,leftMargin=margin,topMargin=8*mm,bottomMargin=8*mm) story=[] story += [P('SUBMANDIBULAR GLAND: SURGICAL ANATOMY','TitleX'),P('One-page revision sheet | relations, duct, blood supply, innervation and operative landmarks','SubX')] left=[] left += [P('1. POSITION, PARTS & CAPSULE','HeadX'), P('<b>Paired mixed major salivary gland</b>, second largest after parotid. It lies chiefly in the <b>submandibular (digastric) triangle</b> and produces much of resting saliva.'), P('<b>Capsule:</b> investing layer of deep cervical fascia splits to enclose it.'), P('<b>Parts:</b> a large <b>superficial lobe</b> and smaller <b>deep lobe</b>, continuous around the posterior free border of <b>mylohyoid</b>.')] left += [P('2. SUBMANDIBULAR TRIANGLE','HeadX'), P('<b>Boundaries:</b> superior - lower border of mandible; anteroinferior - anterior belly of digastric; posteroinferior - posterior belly of digastric. <b>Floor:</b> mylohyoid anteriorly, hyoglossus posteriorly.'), P('<b>Superficial relations:</b> skin, platysma, fascia, facial vein, submandibular nodes and marginal mandibular branch of facial nerve.'), P('<b>Deep/medial relations:</b> mylohyoid; posteriorly hyoglossus and styloglossus. The facial artery closely grooves, traverses, or runs alongside the posterior gland.')] left += [P('3. WHARTON DUCT','HeadX'), P('<b>Origin:</b> from deep lobe/hilum. <b>Course:</b> turns around posterior border of mylohyoid and runs forward in floor of mouth between mylohyoid laterally and hyoglossus/genioglossus medially. <b>Opening:</b> sublingual caruncle, beside frenulum linguae.'), P('<b>Key relationship:</b> lingual nerve starts lateral to duct, loops <b>under</b> it, then lies medial to it. The duct is above the hypoglossal nerve.')] right=[] right += [P('4. “TOP TO BOTTOM” ON HYOGLOSSUS','HeadX'), P('<b>Lingual nerve → Wharton duct → hypoglossal nerve → lingual veins.</b><br/>The <b>lingual artery</b> lies deep to hyoglossus.'), P('<b>Clinical importance:</b> identify lingual and hypoglossal nerves before dividing submandibular ganglion or duct during excision.')] right += [P('5. VASCULAR & LYMPHATIC SUPPLY','HeadX'), P('<b>Arteries:</b> glandular branches of facial artery, submental branch of facial artery, and sublingual branch of lingual artery.'), P('<b>Veins:</b> facial vein is superficial/lateral to gland; drainage also to lingual/sublingual veins, then internal jugular system.'), P('<b>Lymphatics:</b> chiefly submandibular (periglandular) nodes → upper deep cervical nodes.')] right += [P('6. AUTONOMIC INNERVATION','HeadX'), P('<b>Parasympathetic secretomotor:</b> superior salivatory nucleus → facial nerve (VII) → chorda tympani → joins lingual nerve (V3) → synapse in <b>submandibular ganglion</b> → gland.'), P('<b>Sympathetic:</b> postganglionic fibers from superior cervical ganglion travel on periarterial plexuses of external carotid branches.'), P('<b>Sensory relation:</b> lingual nerve carries general sensation from anterior 2/3 of tongue and taste fibers from chorda tympani.')] right += [P('7. SURGICAL DANGER POINTS','HeadX'), P('<b>Marginal mandibular nerve:</b> superficial, near mandibular border/facial vessels. Injury → lower-lip asymmetry.<br/><b>Lingual nerve:</b> injury → numbness and taste loss in anterior 2/3 tongue.<br/><b>Hypoglossal nerve:</b> injury → ipsilateral tongue weakness; tongue deviates toward injured side.'), P('<b>External excision landmark:</b> make incision in a neck crease about 2 cm (two fingerbreadths) below mandible; elevate subplatysmal flap and protect nerve with fascia.')] colw=(page_w-2*margin-5*mm)/2 T=Table([[left,right]], colWidths=[colw,colw], hAlign='CENTER') T.setStyle(TableStyle([('VALIGN',(0,0),(-1,-1),'TOP'),('LEFTPADDING',(0,0),(-1,-1),2*mm),('RIGHTPADDING',(0,0),(-1,-1),2*mm),('LINEBEFORE',(1,0),(1,0),0.3,colors.HexColor('#A7C7D5'))])) story.append(T) story.append(Spacer(1,3*mm)) box=Table([[P('<b>Viva answer:</b> The submandibular gland has superficial and deep lobes that wrap around the posterior border of mylohyoid. Wharton duct crosses the floor of mouth and is crossed inferiorly by the lingual nerve. The three nerves at risk in gland surgery are marginal mandibular, lingual and hypoglossal.','BoxX')]],colWidths=[page_w-2*margin]) box.setStyle(TableStyle([('BACKGROUND',(0,0),(-1,-1),colors.HexColor('#FFF3D8')),('BOX',(0,0),(-1,-1),0.5,colors.HexColor('#D99A2B')),('LEFTPADDING',(0,0),(-1,-1),3*mm),('RIGHTPADDING',(0,0),(-1,-1),3*mm),('TOPPADDING',(0,0),(-1,-1),2.2*mm),('BOTTOMPADDING',(0,0),(-1,-1),2.2*mm)])) story.append(box) story.append(Spacer(1,2*mm)) story.append(P('Source basis: K J Lee’s Essential Otolaryngology, p. 643; Bailey & Love’s Short Practice of Surgery, 28th ed., p. 857; Cummings Otolaryngology Head and Neck Surgery, submandibular region anatomy.','SmallX')) doc.build(story) print(out) PY python - <<'PY' from pypdf import PdfReader p='/tmp/workspace/submandibular-gland-anatomy/output/Submandibular_Gland_Anatomy_One_Page.pdf' r=PdfReader(p) print('pages=',len(r.pages),'bytes=',__import__('os').path.getsize(p)) print(r.pages[0].extract_text()[:500]) PY
Submandibular Gland Anatomy One Page
PDF Document · PDF
Create odf of all the 3 responses
Yes
~/
mkdir -p "/tmp/workspace/submandibular-gland-complete-notes/output" "/tmp/workspace/submandibular-gland-complete-notes/src" && python - <<'PY' from reportlab.lib.pagesizes import A4 from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle from reportlab.lib import colors from reportlab.lib.units import mm from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle, PageBreak, KeepTogether from reportlab.lib.enums import TA_CENTER from reportlab.pdfbase.pdfmetrics import stringWidth from odf.opendocument import OpenDocumentText from odf.text import P as OdfP, H as OdfH, List, ListItem from odf.style import Style, TextProperties, ParagraphProperties from odf.table import Table as OdfTable, TableRow, TableCell from odf import teletype import os base='/tmp/workspace/submandibular-gland-complete-notes/output' pdf_path=base+'/Submandibular_Gland_Complete_Notes.pdf' odt_path=base+'/Submandibular_Gland_Complete_Notes.odt' # Structured content derived from the three prior responses sections = [ ('1. Submandibular gland anatomy', [ ('Overview', ['Paired mixed major salivary gland, second largest after parotid. It produces a major proportion of unstimulated saliva.', 'Located in the submandibular (digastric) triangle and floor of mouth. It is enclosed in a capsule formed by the investing layer of deep cervical fascia.', 'It has a large superficial lobe and smaller deep lobe, continuous around the posterior free border of mylohyoid.']), ('Submandibular triangle', ['Boundaries: superior - lower border of mandible; anteroinferior - anterior belly of digastric; posteroinferior - posterior belly of digastric.', 'Floor: mylohyoid anteriorly, hyoglossus posteriorly. Roof: skin, superficial fascia, platysma and investing deep cervical fascia.']), ('Relations', ['Superficial/lateral: skin, platysma, facial vein, submandibular lymph nodes and marginal mandibular branch of facial nerve.', 'Superior: submandibular fossa on medial surface of mandible. Inferior/posterior: posterior belly of digastric and stylohyoid.', 'Deep/medial: mylohyoid anteriorly; hyoglossus and styloglossus posteriorly. The deep lobe lies on hyoglossus.']), ('Wharton duct', ['About 5 cm long. It arises from the deep lobe/hilum, hooks around the posterior border of mylohyoid, then runs forward in the floor of mouth.', 'It lies between mylohyoid laterally and hyoglossus/genioglossus medially, and opens at the sublingual caruncle on either side of the lingual frenulum.', 'Key relation: lingual nerve passes from lateral to medial by looping inferior to the duct.']), ('Vessels, lymphatics and nerves', ['Arterial supply: glandular branches of facial artery, submental branch of facial artery, and sublingual branch of lingual artery.', 'Venous drainage: facial vein is superficial/lateral to gland; drainage also reaches lingual/sublingual veins and then internal jugular system.', 'Lymphatic drainage: submandibular (mainly periglandular) nodes, then upper deep cervical nodes.', 'Parasympathetic secretomotor pathway: superior salivatory nucleus → facial nerve → chorda tympani → lingual nerve → submandibular ganglion → gland.', 'Sympathetic fibers: postganglionic fibers from superior cervical ganglion travel on periarterial plexuses.', 'On hyoglossus, from superior to inferior: lingual nerve, Wharton duct, hypoglossal nerve, lingual veins. Lingual artery is deep to hyoglossus.']), ('Surgical landmarks', ['Marginal mandibular nerve: superficial near mandibular border and facial vessels. Injury causes lower-lip weakness/asymmetry.', 'Lingual nerve: superior/closely related to duct and ganglion. Injury causes numbness and taste loss in anterior two-thirds of tongue.', 'Hypoglossal nerve: inferior to duct. Injury causes ipsilateral tongue weakness, with deviation toward the injured side.'])]), ('2. Submandibular sialadenitis', [ ('Definition and most common cause', ['Inflammation, with or without infection, of the submandibular gland.', 'Most common underlying cause: obstruction by a sialolith in Wharton duct. This causes stasis and permits retrograde infection from oral flora.', 'Most common bacterial pathogen in acute suppurative disease: Staphylococcus aureus.']), ('Etiology and risk factors', ['Obstructive: sialolith, ductal stricture/stenosis, mucus plug, trauma or foreign body.', 'Infective: Staphylococcus aureus, streptococci and anaerobic oral flora; viral causes include mumps, influenza, CMV and coxsackievirus.', 'Salivary stasis: dehydration, poor oral intake, postoperative state, xerostomic drugs, diabetes and prior radiotherapy.', 'Autoimmune/inflammatory: Sjögren disease, IgG4-related disease/Küttner tumour, and sarcoidosis.']), ('Clinical features', ['Acute bacterial disease: sudden painful, tender, warm, firm submandibular swelling; fever, malaise, foul taste and reduced salivary flow.', 'Purulent discharge may be expressed from Wharton duct after bimanual massage.', 'Obstruction: recurrent painful swelling, classically worse during meals (salivary colic); a duct stone may be palpable bimanually.', 'Severe disease may produce trismus, dysphagia, floor-of-mouth swelling or neck swelling.']), ('Investigations', ['Examine gland and floor of mouth; palpate bimanually; massage gland and culture any expressed pus.', 'Ultrasound is first-line for stones, duct dilatation and abscess. Non-contrast CT helps detect calculi; contrast CT assesses abscess/deep-neck spread.', 'Sialendoscopy is diagnostic and therapeutic for stone and stenosis. Avoid sialography during acute infection.']), ('Management', ['Acute uncomplicated disease: MASHH - Massage posterior to anterior, Antibiotics for suspected bacterial infection, Sialogogues, Heat, Hydration. Also give analgesia and improve oral hygiene.', 'If systemically unwell, immunocompromised, dehydrated, failing oral treatment, or if there is deep-neck/airway concern: urgent hospital assessment, airway evaluation, IV fluids, IV antimicrobial therapy per local policy and CT imaging.', 'Treat obstruction after infection settles: sialendoscopy with basket retrieval/dilatation, transoral stone removal, or selected lithotripsy. Excision is reserved for recurrent, refractory, intraglandular stone disease or a fibrosed non-functioning gland.']), ('Complications and red flags', ['Abscess, recurrent/chronic sialadenitis, duct stenosis, sialectasis, gland fibrosis and reduced secretion.', 'Deep neck-space spread, Ludwig angina, sepsis and airway obstruction.', 'Urgent red flags: rapidly increasing swelling, tongue/floor-of-mouth elevation, trismus, dysphagia, breathing difficulty, toxicity or failure to improve.'])]), ('3. Submandibular gland excision', [ ('Indications', ['Recurrent or chronic sialadenitis, recurrent stones not amenable to gland-preserving treatment, a fibrosed non-functioning gland, tumour, and selected ranula cases.', 'For malignancy, gland excision may include Level Ib nodal tissue and a neck dissection as indicated.']), ('External transcervical excision: operative steps', ['1. General anaesthesia; supine position, neck extended and head turned to opposite side. Prepare neck and oral cavity.', '2. Make a transverse skin-crease incision about 2 cm (two fingerbreadths) below the lower border of mandible.', '3. Incise platysma and raise a superior subplatysmal flap. Identify/protect marginal mandibular nerve, usually by elevating fascia with the flap.', '4. Expose superficial gland. Identify and control facial vein; identify facial artery and ligate glandular branches or divide vessel if required.', '5. Mobilise gland from digastric and mylohyoid. Retract mylohyoid anteriorly to expose deep lobe.', '6. Identify lingual nerve and submandibular ganglion superiorly. Identify hypoglossal nerve inferior to Wharton duct and preserve both nerves.', '7. Divide ganglionic branches, ligate and divide Wharton duct as far anteriorly as safely possible, then release remaining attachments and remove gland.', '8. Secure haemostasis, place a closed suction drain when required, and close in layers. Send specimen for histopathology.']), ('Postoperative care', ['Observe airway, wound swelling, drain output, pain, bleeding and fever.', 'Check lower-lip movement for marginal mandibular nerve function, tongue protrusion for hypoglossal function, and tongue sensation/taste symptoms for lingual nerve function.', 'Provide analgesia, hydration and soft diet as tolerated. Remove drain when output is low, commonly within 24 to 48 hours depending on practice.', 'Review wound and histopathology. Urgent review is needed for rapidly enlarging swelling, breathing difficulty, fever, pus, worsening pain or persistent salivary leak.']), ('Complications', ['Most common significant complication after external excision: temporary neuropraxia of marginal mandibular branch of facial nerve, causing lower-lip asymmetry. One published series reported 15.6% temporary and 2.2% permanent weakness; incidence varies by pathology and extent of surgery.', 'Bleeding, haematoma or seroma; facial vessel injury; wound infection; painful/hypertrophic scar or numbness.', 'Lingual nerve injury: numbness and taste loss in anterior two-thirds of tongue. Hypoglossal injury: ipsilateral tongue weakness/deviation. These are less common than marginal mandibular injury.', 'Salivary fistula/sialocele, retained distal duct stone, persistent symptoms and tumour recurrence when relevant.'])]) ] # PDF styles=getSampleStyleSheet() styles.add(ParagraphStyle(name='DocTitle',parent=styles['Title'],fontName='Helvetica-Bold',fontSize=19,leading=23,alignment=TA_CENTER,textColor=colors.HexColor('#123B57'),spaceAfter=5)) styles.add(ParagraphStyle(name='Intro',parent=styles['Normal'],fontSize=9,leading=12,alignment=TA_CENTER,textColor=colors.HexColor('#415A6B'),spaceAfter=10)) styles.add(ParagraphStyle(name='H1x',parent=styles['Heading1'],fontName='Helvetica-Bold',fontSize=14,leading=17,textColor=colors.white,backColor=colors.HexColor('#176B87'),borderPadding=5,spaceBefore=8,spaceAfter=6)) styles.add(ParagraphStyle(name='H2x',parent=styles['Heading2'],fontName='Helvetica-Bold',fontSize=10.5,leading=13,textColor=colors.HexColor('#123B57'),spaceBefore=5,spaceAfter=3)) styles.add(ParagraphStyle(name='Bx',parent=styles['Normal'],fontSize=9,leading=11.3,leftIndent=8,firstLineIndent=-7,spaceAfter=2)) styles.add(ParagraphStyle(name='Footx',parent=styles['Normal'],fontSize=7.3,leading=9,textColor=colors.HexColor('#52636D'))) def footer(canvas, doc): canvas.saveState(); canvas.setStrokeColor(colors.HexColor('#A9C6D2')); canvas.line(14*mm,12*mm,196*mm,12*mm) canvas.setFont('Helvetica',7.3); canvas.setFillColor(colors.HexColor('#52636D')) canvas.drawString(14*mm,7.5*mm,'Submandibular Gland: Anatomy, Sialadenitis & Excision') canvas.drawRightString(196*mm,7.5*mm,f'Page {doc.page}') canvas.restoreState() doc=SimpleDocTemplate(pdf_path,pagesize=A4,leftMargin=15*mm,rightMargin=15*mm,topMargin=13*mm,bottomMargin=17*mm,title='Submandibular Gland Complete Notes') story=[Paragraph('Submandibular Gland',styles['DocTitle']),Paragraph('Complete notes: anatomy, sialadenitis and surgical excision',styles['Intro'])] for sec_title, subs in sections: story.append(Paragraph(sec_title,styles['H1x'])) for subtitle, bullets in subs: story.append(Paragraph(subtitle,styles['H2x'])) for b in bullets: story.append(Paragraph('• '+b,styles['Bx'])) story.append(Spacer(1,6)) story.append(Paragraph('Educational revision notes. Treatment choices, antibiotics and operative decisions must follow local protocols and specialist supervision. Source basis: K J Lee’s Essential Otolaryngology; Bailey & Love’s Short Practice of Surgery; Cummings Otolaryngology Head and Neck Surgery; cited clinical summaries in the original responses.',styles['Footx'])) doc.build(story,onFirstPage=footer,onLaterPages=footer) # ODT odt=OpenDocumentText() title=Style(name='Title',family='paragraph'); title.addElement(TextProperties(fontsize='18pt',fontweight='bold',color='#123B57')); title.addElement(ParagraphProperties(textalign='center',spaceafter='0.15in')); odt.styles.addElement(title) subtitle=Style(name='Subtitle',family='paragraph'); subtitle.addElement(TextProperties(fontsize='10pt',color='#415A6B')); subtitle.addElement(ParagraphProperties(textalign='center',spaceafter='0.2in')); odt.styles.addElement(subtitle) h1=Style(name='H1Custom',family='paragraph'); h1.addElement(TextProperties(fontsize='14pt',fontweight='bold',color='#123B57')); h1.addElement(ParagraphProperties(spacebefore='0.18in',spaceafter='0.08in')); odt.styles.addElement(h1) h2=Style(name='H2Custom',family='paragraph'); h2.addElement(TextProperties(fontsize='11pt',fontweight='bold',color='#176B87')); h2.addElement(ParagraphProperties(spacebefore='0.1in',spaceafter='0.04in')); odt.styles.addElement(h2) body=Style(name='BodyCustom',family='paragraph'); body.addElement(TextProperties(fontsize='9.5pt')); body.addElement(ParagraphProperties(spaceafter='0.035in')); odt.styles.addElement(body) small=Style(name='SmallCustom',family='paragraph'); small.addElement(TextProperties(fontsize='8pt',color='#52636D')); odt.styles.addElement(small) odt.text.addElement(OdfP(stylename=title,text='Submandibular Gland')) odt.text.addElement(OdfP(stylename=subtitle,text='Complete notes: anatomy, sialadenitis and surgical excision')) for sec_title,subs in sections: odt.text.addElement(OdfH(outlinelevel=1,stylename=h1,text=sec_title)) for subtitle,bullets in subs: odt.text.addElement(OdfH(outlinelevel=2,stylename=h2,text=subtitle)) lst=List() for b in bullets: it=ListItem(); it.addElement(OdfP(stylename=body,text=b)); lst.addElement(it) odt.text.addElement(lst) odt.text.addElement(OdfP(stylename=small,text='Educational revision notes. Treatment choices, antibiotics and operative decisions must follow local protocols and specialist supervision. Source basis: K J Lee’s Essential Otolaryngology; Bailey & Love’s Short Practice of Surgery; Cummings Otolaryngology Head and Neck Surgery; cited clinical summaries in the original responses.')) odt.save(odt_path) print(pdf_path);print(odt_path) PY python - <<'PY' from pypdf import PdfReader import os, zipfile p='/tmp/workspace/submandibular-gland-complete-notes/output/Submandibular_Gland_Complete_Notes.pdf' o='/tmp/workspace/submandibular-gland-complete-notes/output/Submandibular_Gland_Complete_Notes.odt' r=PdfReader(p) print('PDF pages:',len(r.pages),'size:',os.path.getsize(p),'text:',len(''.join(x.extract_text() or '' for x in r.pages))) print('ODT valid:',zipfile.is_zipfile(o),'size:',os.path.getsize(o)) PY
python - <<'PY' from odf.opendocument import OpenDocumentText from odf.text import P as OdfP, H as OdfH, List, ListItem from odf.style import Style, TextProperties, ParagraphProperties import os, zipfile path='/tmp/workspace/submandibular-gland-complete-notes/output/Submandibular_Gland_Complete_Notes.odt' sections = [ ('1. Submandibular gland anatomy', [('Overview',['Paired mixed major salivary gland, second largest after parotid. It produces a major proportion of unstimulated saliva.','Located in the submandibular (digastric) triangle and floor of mouth. It is enclosed in a capsule formed by the investing layer of deep cervical fascia.','It has a large superficial lobe and smaller deep lobe, continuous around the posterior free border of mylohyoid.']),('Submandibular triangle',['Boundaries: superior - lower border of mandible; anteroinferior - anterior belly of digastric; posteroinferior - posterior belly of digastric.','Floor: mylohyoid anteriorly, hyoglossus posteriorly. Roof: skin, superficial fascia, platysma and investing deep cervical fascia.']),('Relations',['Superficial/lateral: skin, platysma, facial vein, submandibular lymph nodes and marginal mandibular branch of facial nerve.','Superior: submandibular fossa on medial surface of mandible. Inferior/posterior: posterior belly of digastric and stylohyoid.','Deep/medial: mylohyoid anteriorly; hyoglossus and styloglossus posteriorly. The deep lobe lies on hyoglossus.']),('Wharton duct',['About 5 cm long. It arises from the deep lobe/hilum, hooks around the posterior border of mylohyoid, then runs forward in the floor of mouth.','It lies between mylohyoid laterally and hyoglossus/genioglossus medially, and opens at the sublingual caruncle on either side of the lingual frenulum.','Key relation: lingual nerve passes from lateral to medial by looping inferior to the duct.']),('Vessels, lymphatics and nerves',['Arterial supply: glandular branches of facial artery, submental branch of facial artery, and sublingual branch of lingual artery.','Venous drainage: facial vein is superficial/lateral to gland; drainage also reaches lingual/sublingual veins and then internal jugular system.','Lymphatic drainage: submandibular (mainly periglandular) nodes, then upper deep cervical nodes.','Parasympathetic secretomotor pathway: superior salivatory nucleus → facial nerve → chorda tympani → lingual nerve → submandibular ganglion → gland.','Sympathetic fibers: postganglionic fibers from superior cervical ganglion travel on periarterial plexuses.','On hyoglossus, from superior to inferior: lingual nerve, Wharton duct, hypoglossal nerve, lingual veins. Lingual artery is deep to hyoglossus.']),('Surgical landmarks',['Marginal mandibular nerve: superficial near mandibular border and facial vessels. Injury causes lower-lip weakness/asymmetry.','Lingual nerve: superior/closely related to duct and ganglion. Injury causes numbness and taste loss in anterior two-thirds of tongue.','Hypoglossal nerve: inferior to duct. Injury causes ipsilateral tongue weakness, with deviation toward the injured side.'])]), ('2. Submandibular sialadenitis',[('Definition and most common cause',['Inflammation, with or without infection, of the submandibular gland.','Most common underlying cause: obstruction by a sialolith in Wharton duct. This causes stasis and permits retrograde infection from oral flora.','Most common bacterial pathogen in acute suppurative disease: Staphylococcus aureus.']),('Etiology and risk factors',['Obstructive: sialolith, ductal stricture/stenosis, mucus plug, trauma or foreign body.','Infective: Staphylococcus aureus, streptococci and anaerobic oral flora; viral causes include mumps, influenza, CMV and coxsackievirus.','Salivary stasis: dehydration, poor oral intake, postoperative state, xerostomic drugs, diabetes and prior radiotherapy.','Autoimmune/inflammatory: Sjögren disease, IgG4-related disease/Küttner tumour, and sarcoidosis.']),('Clinical features',['Acute bacterial disease: sudden painful, tender, warm, firm submandibular swelling; fever, malaise, foul taste and reduced salivary flow.','Purulent discharge may be expressed from Wharton duct after bimanual massage.','Obstruction: recurrent painful swelling, classically worse during meals (salivary colic); a duct stone may be palpable bimanually.','Severe disease may produce trismus, dysphagia, floor-of-mouth swelling or neck swelling.']),('Investigations',['Examine gland and floor of mouth; palpate bimanually; massage gland and culture any expressed pus.','Ultrasound is first-line for stones, duct dilatation and abscess. Non-contrast CT helps detect calculi; contrast CT assesses abscess/deep-neck spread.','Sialendoscopy is diagnostic and therapeutic for stone and stenosis. Avoid sialography during acute infection.']),('Management',['Acute uncomplicated disease: MASHH - Massage posterior to anterior, Antibiotics for suspected bacterial infection, Sialogogues, Heat, Hydration. Also give analgesia and improve oral hygiene.','If systemically unwell, immunocompromised, dehydrated, failing oral treatment, or if there is deep-neck/airway concern: urgent hospital assessment, airway evaluation, IV fluids, IV antimicrobial therapy per local policy and CT imaging.','Treat obstruction after infection settles: sialendoscopy with basket retrieval/dilatation, transoral stone removal, or selected lithotripsy. Excision is reserved for recurrent, refractory, intraglandular stone disease or a fibrosed non-functioning gland.']),('Complications and red flags',['Abscess, recurrent/chronic sialadenitis, duct stenosis, sialectasis, gland fibrosis and reduced secretion.','Deep neck-space spread, Ludwig angina, sepsis and airway obstruction.','Urgent red flags: rapidly increasing swelling, tongue/floor-of-mouth elevation, trismus, dysphagia, breathing difficulty, toxicity or failure to improve.'])]), ('3. Submandibular gland excision',[('Indications',['Recurrent or chronic sialadenitis, recurrent stones not amenable to gland-preserving treatment, a fibrosed non-functioning gland, tumour, and selected ranula cases.','For malignancy, gland excision may include Level Ib nodal tissue and a neck dissection as indicated.']),('External transcervical excision: operative steps',['1. General anaesthesia; supine position, neck extended and head turned to opposite side. Prepare neck and oral cavity.','2. Make a transverse skin-crease incision about 2 cm (two fingerbreadths) below the lower border of mandible.','3. Incise platysma and raise a superior subplatysmal flap. Identify/protect marginal mandibular nerve, usually by elevating fascia with the flap.','4. Expose superficial gland. Identify and control facial vein; identify facial artery and ligate glandular branches or divide vessel if required.','5. Mobilise gland from digastric and mylohyoid. Retract mylohyoid anteriorly to expose deep lobe.','6. Identify lingual nerve and submandibular ganglion superiorly. Identify hypoglossal nerve inferior to Wharton duct and preserve both nerves.','7. Divide ganglionic branches, ligate and divide Wharton duct as far anteriorly as safely possible, then release remaining attachments and remove gland.','8. Secure haemostasis, place a closed suction drain when required, and close in layers. Send specimen for histopathology.']),('Postoperative care',['Observe airway, wound swelling, drain output, pain, bleeding and fever.','Check lower-lip movement for marginal mandibular nerve function, tongue protrusion for hypoglossal function, and tongue sensation/taste symptoms for lingual nerve function.','Provide analgesia, hydration and soft diet as tolerated. Remove drain when output is low, commonly within 24 to 48 hours depending on practice.','Review wound and histopathology. Urgent review is needed for rapidly enlarging swelling, breathing difficulty, fever, pus, worsening pain or persistent salivary leak.']),('Complications',['Most common significant complication after external excision: temporary neuropraxia of marginal mandibular branch of facial nerve, causing lower-lip asymmetry. One published series reported 15.6% temporary and 2.2% permanent weakness; incidence varies by pathology and extent of surgery.','Bleeding, haematoma or seroma; facial vessel injury; wound infection; painful/hypertrophic scar or numbness.','Lingual nerve injury: numbness and taste loss in anterior two-thirds of tongue. Hypoglossal injury: ipsilateral tongue weakness/deviation. These are less common than marginal mandibular injury.','Salivary fistula/sialocele, retained distal duct stone, persistent symptoms and tumour recurrence when relevant.'])])] odt=OpenDocumentText() def addstyle(name,size,bold=False,color=None,align=None): s=Style(name=name,family='paragraph'); s.addElement(TextProperties(fontsize=size,fontweight='bold' if bold else 'normal',color=color if color else '#000000')) if align: s.addElement(ParagraphProperties(textalign=align)) odt.styles.addElement(s); return s title=addstyle('TitleCustom','18pt',True,'#123B57','center'); sub=addstyle('SubtitleCustom','10pt',False,'#415A6B','center'); h1=addstyle('H1Custom','14pt',True,'#123B57'); h2=addstyle('H2Custom','11pt',True,'#176B87'); body=addstyle('BodyCustom','9.5pt'); small=addstyle('SmallCustom','8pt',False,'#52636D') odt.text.addElement(OdfP(stylename=title,text='Submandibular Gland')) odt.text.addElement(OdfP(stylename=sub,text='Complete notes: anatomy, sialadenitis and surgical excision')) for st, subs in sections: odt.text.addElement(OdfH(outlinelevel=1,stylename=h1,text=st)) for title2, bullets in subs: odt.text.addElement(OdfH(outlinelevel=2,stylename=h2,text=title2)) lst=List() for b in bullets: it=ListItem();it.addElement(OdfP(stylename=body,text=b));lst.addElement(it) odt.text.addElement(lst) odt.text.addElement(OdfP(stylename=small,text='Educational revision notes. Treatment choices, antibiotics and operative decisions must follow local protocols and specialist supervision. Source basis: K J Lee’s Essential Otolaryngology; Bailey & Love’s Short Practice of Surgery; Cummings Otolaryngology Head and Neck Surgery; cited clinical summaries in the original responses.')) odt.save(path) print('exists:',os.path.exists(path),'valid zip:',zipfile.is_zipfile(path),'size:',os.path.getsize(path)) PY python - <<'PY' from pypdf import PdfReader import os, zipfile p='/tmp/workspace/submandibular-gland-complete-notes/output/Submandibular_Gland_Complete_Notes.pdf' o='/tmp/workspace/submandibular-gland-complete-notes/output/Submandibular_Gland_Complete_Notes.odt' r=PdfReader(p) print('PDF pages=',len(r.pages),'size=',os.path.getsize(p)) print('ODT valid=',zipfile.is_zipfile(o),'size=',os.path.getsize(o)) PY
Submandibular Gland Complete Notes
PDF Document · PDF
Submandibular Gland Complete Notes
ODT File · ODT
Pdf?
Submandibular Gland Complete Notes
PDF Document · PDF