import json

data = {
 "topic": "Periorbital Cellulitis",
 "slug": "periorbital-cellulitis",
 "category_id": 15381,
 "summary": "Periorbital (preseptal) cellulitis is a superficial infection of the eyelid and periorbital soft tissue anterior to the orbital septum, milder than orbital (postseptal) cellulitis, and the two must be carefully distinguished because orbital cellulitis is vision- and life-threatening.",
 "written_by": "claude-sonnet",
 "references": [
  {"title": "Caring for the Hospitalized Child", "author": "Section on Hospital Medicine, American Academy of Pediatrics;Jeffrey C. Gershel;Daniel A. Rauch;", "pages": [186]},
  {"title": "Netters Pediatrics (Florin Т., Ludwig St.)", "author": None, "pages": [217, 566, 568]},
  {"title": "Cover", "author": "Vitalsource Download", "pages": [5030]},
  {"title": "Kliegman R. Nelson Textbook of Pediatrics 2-Volume Set 22ed 2024", "author": None, "pages": [4014]},
  {"title": "Zitelli and Davis' Atlas of Pediatric Physical Diagnosis: Expert Consult - Online", "author": None, "pages": [965, 966]},
  {"title": "2021_Fleisher_&_Ludwig's_Textbook_of_Pediatric_Emergency_Medicine.epub", "author": None, "pages": []}
 ],
 "short": [
  {"title": "In short", "content": (
   "- Periorbital (preseptal) cellulitis is infection/inflammation of the eyelid and periorbital soft tissue ANTERIOR to the orbital septum - a superficial infection; orbital (postseptal) cellulitis involves the fat and muscle POSTERIOR to the septum and is far more serious\n"
   "- Orbital cellulitis is an ocular emergency with significant morbidity/mortality, including intracranial extension in up to 5% of cases, and can cause cavernous sinus thrombosis; sinusitis (especially ethmoid/maxillary) is the underlying cause in up to 98% of orbital cellulitis cases\n"
   "- Key distinguishing exam findings: periorbital cellulitis causes well-demarcated erythema/edema WITHOUT proptosis or limited ocular movement; orbital cellulitis causes pain or limitation of eye movement, proptosis, and/or optic nerve involvement - imaging is often needed since clinical distinction alone can be difficult\n"
   "- More than 50% of children with periorbital cellulitis have neither sinusitis nor bacteremia - most cases result from local skin trauma/infection (impetigo, pustule, chalazion, infected dermatitis, insect bite) or other contiguous spread (conjunctivitis including neonatal gonococcal conjunctivitis, dacryocystitis, dental abscess, animal bites, abrasions)\n"
   "- Common organisms: Staphylococcus aureus and group A beta-hemolytic Streptococcus for skin-trauma-associated cases; Streptococcus pneumoniae and anaerobes when sinusitis is the source; for orbital cellulitis specifically, nontypeable H. influenzae and Moraxella catarrhalis are also important\n"
   "- Clinical pattern varies by mechanism: sinusitis-related cases occur mainly in children under 4-5 years with a preceding URI, progress slowly and mildly; facial-infection-spread cases occur in older children (usually over 5) following local skin trauma/infection; hematogenous-spread cases (S. pneumoniae or H. influenzae type B bacteremia) occur mainly in infants under 1 year, with explosive onset, high fever, and systemic toxicity - Hib vaccination has dramatically reduced this cause\n"
   "- Periorbital necrotizing fasciitis is a rare, severe, rapidly spreading variant (streptococci and S. aureus) that starts like ordinary cellulitis but rapidly progresses to tissue necrosis, blistering, and systemic toxicity - requires broad-spectrum antibiotics, surgical debridement, and hyperbaric oxygen if available\n"
   "- Mild periorbital cellulitis can be managed outpatient with oral antibiotics (amoxicillin-clavulanate or clindamycin); hospitalization/IV antibiotics should be considered for infants under 1 year, toxic-appearing children, those unable to tolerate oral antibiotics, or those failing outpatient treatment, or if no clinical response within 24 hours (which should also prompt CT of sinuses/orbits to rule out orbital involvement)\n"
   "- All suspected orbital cellulitis requires hospitalization for IV antibiotics with close ophthalmology observation; if CT shows sinus disease as the likely source, consult otolaryngology since surgical drainage may be needed; repeat imaging for abscess if no improvement after 24-48 hours of IV antibiotics or any clinical worsening"
  )}
 ],
 "long": [
  {"title": "Definition", "content": (
   "Periorbital cellulitis, also called preseptal cellulitis, is infection or inflammation of the eyelid and periorbital subcutaneous soft tissue located anterior to the orbital septum - a fibrous membrane that acts as a barrier limiting spread into the deeper orbit. Orbital cellulitis, also called postseptal cellulitis, is infection of the fat and muscle within the bony orbit, posterior to the septum. Periorbital cellulitis is a superficial infection and occurs more frequently, while orbital cellulitis, though less common, can result in much more serious sequelae - making it critically important to distinguish between the two."
  )},
  {"title": "Epidemiology", "content": (
   "More than 50% of children with periorbital cellulitis have neither underlying sinusitis nor bacteremia; instead, they have extension of a nearby facial infection into the periorbital tissues, and this group tends to be older, generally over 5 years of age. When sinusitis underlies periorbital cellulitis, affected children are typically younger, under 4-5 years of age, with an antecedent upper respiratory infection with or without conjunctivitis or otitis. When hematogenous seeding is the mechanism, patients are typically under 1 year of age or only slightly older; widespread Haemophilus influenzae type B vaccination has dramatically reduced this cause. Orbital cellulitis is caused by extension from adjacent sinusitis in up to 98% of cases, with other causes including orbital trauma or surgery, and infections of the teeth, ear, or face."
  )},
  {"title": "Etiology", "content": (
   "Periorbital cellulitis often results from disruption of the skin or mucosal barrier - trauma, dental abscess, insect or animal bites, or abrasions to the periorbital region - or from contiguous spread of a primary skin infection (impetigo, a pustule, a chalazion, infected dermatitis) or from conjunctivitis (including neonatal gonococcal conjunctivitis) or dacryocystitis. Common causative organisms mirror those of ordinary skin infections: Staphylococcus aureus and group A beta-hemolytic Streptococcus (Streptococcus pyogenes) predominate when the source is local skin trauma. Less often, sinusitis extends to the periorbital space, in which case nasopharyngeal organisms such as Streptococcus pneumoniae and anaerobes become relevant. Rare causes associated with specific exposures include fungi and mycobacteria. For orbital cellulitis, the same organisms are often involved, but nontypeable H. influenzae and other gram-negative bacilli such as Moraxella catarrhalis remain important causes when acute bacterial sinusitis is the source, and anaerobes must be considered when sinusitis, an odontogenic source, or intracranial extension is suspected."
  )},
  {"title": "Clinical features", "content": (
   "Periorbital cellulitis presents with erythema and edema of the eyelids that tends to be fairly well demarcated, usually unilateral, indurated, and tender; conjunctival injection and discharge may also be present. A secondary temperature spike often accompanies the onset of swelling, and although patients typically appear uncomfortable, frank systemic toxicity is unusual. Critically, periorbital cellulitis does NOT cause decreased ocular movement or proptosis - the presence of either should raise immediate concern for orbital cellulitis instead. Clinical course varies by underlying mechanism: sinusitis-related periorbital cellulitis is the mildest form, with slower progression; facial-infection-spread cases show a history of antecedent trauma or a primary skin lesion followed by a temperature spike and evolving periorbital/eyelid edema; hematogenous-spread cases present far more dramatically, with sudden high fever (often after a mild upper respiratory infection), rapidly progressive erythematous, indurated, tender periorbital swelling, and systemic toxicity. Periorbital necrotizing fasciitis is a rare, severe variant that may follow trauma or arise without a preceding event; it initially resembles ordinary periorbital/facial cellulitis but rapidly progresses to tissue necrosis, blistering, and significant systemic toxicity, caused most often by streptococci and S. aureus. Orbital cellulitis, by contrast, presents with pain or limitation of eye movement, optic nerve involvement, and/or proptosis - features that distinguish it from the preseptal infection."
  )},
  {"title": "Diagnostics", "content": (
   "Distinguishing periorbital from orbital cellulitis is often difficult based on clinical observation alone, so imaging plays a critical role. If there is no clinical response within 24 hours of starting antibiotics, or any suspicion of orbital involvement, a CT scan of the sinuses and orbits should be obtained. If CT demonstrates decreased ocular movement, proptosis, or evidence of orbital or subperiosteal abscess, this confirms orbital rather than simple periorbital disease and changes management substantially."
  )},
  {"title": "Treatment", "content": (
   "Periorbital cellulitis requires antibiotics targeting gram-positive organisms, since staphylococcal and streptococcal species are the most likely causes (S. aureus and S. pyogenes predominate with local skin trauma, while S. pneumoniae is more associated with sinusitis-related cases). Most cases can be safely managed on an outpatient basis with oral antibiotics such as amoxicillin-clavulanate or clindamycin, with close follow-up. Hospitalization and IV antibiotics should be considered for patients younger than 1 year old, those who are toxic-appearing, those who cannot tolerate oral antibiotics, or those who have failed outpatient management. All patients with suspected orbital cellulitis require hospitalization for IV antibiotics and close observation for symptom progression by ophthalmology. If CT scan demonstrates sinus disease as the likely etiology, an otolaryngologist should be consulted, since surgical drainage may be necessary. If there is no improvement after 24-48 hours of IV antibiotics, or any worsening of clinical status at any time, repeat imaging should be obtained to assess for abscess formation and determine whether surgery is required. Periorbital necrotizing fasciitis requires broad-spectrum antibiotics, surgical debridement, and, when available, hyperbaric oxygen therapy."
  )}
 ],
 "clinical": [
  {"title": "Approach at the bedside", "content": (
   "In a child with unilateral eyelid erythema and swelling, the first and most important task is screening for orbital involvement: check for proptosis, pain with eye movement, and limitation of extraocular movement. If any of these are present, treat as orbital cellulitis - hospitalize immediately for IV antibiotics, obtain a CT of the orbits and sinuses, and involve ophthalmology (and otolaryngology if sinus disease is found) - do not attempt outpatient management. If these are absent and the exam is consistent with well-demarcated preseptal swelling without proptosis or movement restriction, periorbital cellulitis is more likely.\n\nFor confirmed periorbital cellulitis, most children can be treated as outpatients with oral amoxicillin-clavulanate or clindamycin and close follow-up. Reserve hospitalization/IV antibiotics for infants under 1 year old, toxic-appearing children, those who cannot tolerate oral medication, or those who fail an outpatient trial. Reassess at 24 hours: if there has been no clinical response, or if orbital involvement is newly suspected, obtain CT imaging of the sinuses and orbits and escalate to IV antibiotics. Ask specifically about antecedent trauma, insect bites, primary skin lesions, and recent upper respiratory or sinus symptoms to help identify the likely source and organism, and have a low threshold to reconsider necrotizing fasciitis if swelling and systemic illness progress unusually rapidly with skin necrosis or blistering - this requires emergent surgical debridement in addition to antibiotics."
  )}
 ]
}

with open("/tmp/periorbital-cellulitis.article.json", "w") as f:
    json.dump(data, f, indent=1)
print("written")
