48yr old female Patient came with mild fever and yellowish eyes and severe left iliac region pain and later pt admitted near by private hospi where lab are done and dx as a case urinarybladder cystitis secondary to sepsis and they managed yellowish eyes and still persist of abdominal pain so patient watcher decided to transfer to another hospital I attached lab results and what is the correct diagnosis and treatment and management and do we need further ingestion and explain me pathophysiology
sepsis induced cholestasis pathophysiology
pelvic inflammatory disease tubo-ovarian abscess sepsis management
CDC pelvic inflammatory disease treatment guidelines 2024 sepsis
| Test | Value | Reference | Interpretation |
|---|---|---|---|
| WBC | 21,000 /cumm | 4,000–11,000 | Marked leukocytosis - active infection |
| PT/INR | 13.7 / INR 1.01 | Normal | Coagulation preserved (no synthetic liver failure) |
| Total bilirubin | 10.8 mg/dl | 0.1–1.2 | Severe jaundice |
| Direct bilirubin | 6.88 mg/dl (64% of total) | 0–0.2 | Predominantly conjugated |
| Indirect bilirubin | 3.92 mg/dl | 0–0.8 | Mildly elevated too |
| AST/ALT | 12 / 30.2 U/L | 0–41 | Normal |
| ALP | 97.3 IU/L | 60–321 | Normal |
| Albumin/Globulin | 3.99 / 2.21, A/G 1.81 | Near-normal | No chronic liver disease pattern |
Create a clinical summary/management plan document to share with the obstetrics and gynecology team
mkdir -p /tmp/workspace/clinical-summary && ls -la /tmp/workspace/
~/clinical-summary/build_doc.py
# -*- coding: utf-8 -*-
from docx import Document
from docx.shared import Pt, Inches, RGBColor
from docx.enum.text import WD_ALIGN_PARAGRAPH
from docx.enum.table import WD_TABLE_ALIGNMENT
from docx.oxml.ns import qn
from docx.oxml import OxmlElement
doc = Document()
style = doc.styles["Normal"]
style.font.name = "Arial"
style.font.size = Pt(11)
NAVY = RGBColor(0x1F, 0x3A, 0x5F)
RED = RGBColor(0xB0, 0x00, 0x00)
GREY = RGBColor(0x55, 0x55, 0x55)
def set_cell_shading(cell, color_hex):
tcPr = cell._tc.get_or_add_tcPr()
shd = OxmlElement('w:shd')
shd.set(qn('w:val'), 'clear')
shd.set(qn('w:color'), 'auto')
shd.set(qn('w:fill'), color_hex)
tcPr.append(shd)
def add_heading(text, level=1, color=NAVY):
h = doc.add_heading(level=level)
run = h.add_run(text)
run.font.color.rgb = color
run.font.name = "Arial"
if level == 1:
run.font.size = Pt(16)
elif level == 2:
run.font.size = Pt(13)
else:
run.font.size = Pt(11.5)
return h
def add_para(text, bold=False, italic=False, size=11, color=None, space_after=6):
p = doc.add_paragraph()
r = p.add_run(text)
r.bold = bold
r.italic = italic
r.font.size = Pt(size)
r.font.name = "Arial"
if color:
r.font.color.rgb = color
p.paragraph_format.space_after = Pt(space_after)
return p
def add_bullet(text, bold_lead=None):
p = doc.add_paragraph(style="List Bullet")
if bold_lead:
r = p.add_run(bold_lead)
r.bold = True
r.font.name = "Arial"
p.add_run(text)
else:
r = p.add_run(text)
r.font.name = "Arial"
p.paragraph_format.space_after = Pt(3)
return p
def add_table(headers, rows, col_widths=None, header_color="1F3A5F"):
table = doc.add_table(rows=1, cols=len(headers))
table.style = "Light Grid Accent 1"
table.alignment = WD_TABLE_ALIGNMENT.CENTER
hdr_cells = table.rows[0].cells
for i, htext in enumerate(headers):
hdr_cells[i].text = ""
p = hdr_cells[i].paragraphs[0]
r = p.add_run(htext)
r.bold = True
r.font.size = Pt(10)
r.font.color.rgb = RGBColor(0xFF, 0xFF, 0xFF)
r.font.name = "Arial"
set_cell_shading(hdr_cells[i], header_color)
for row in rows:
cells = table.add_row().cells
for i, val in enumerate(row):
cells[i].text = ""
p = cells[i].paragraphs[0]
r = p.add_run(str(val))
r.font.size = Pt(10)
r.font.name = "Arial"
if col_widths:
for i, w in enumerate(col_widths):
for row in table.rows:
row.cells[i].width = Inches(w)
doc.add_paragraph().paragraph_format.space_after = Pt(2)
return table
def hr():
p = doc.add_paragraph()
p.paragraph_format.space_after = Pt(2)
pPr = p._p.get_or_add_pPr()
pBdr = OxmlElement('w:pBdr')
bottom = OxmlElement('w:bottom')
bottom.set(qn('w:val'), 'single')
bottom.set(qn('w:sz'), '6')
bottom.set(qn('w:space'), '1')
bottom.set(qn('w:color'), 'CCCCCC')
pBdr.append(bottom)
pPr.append(pBdr)
# ============ HEADER ============
title = doc.add_paragraph()
title.alignment = WD_ALIGN_PARAGRAPH.CENTER
r = title.add_run("INTERDEPARTMENTAL CLINICAL REFERRAL SUMMARY")
r.bold = True
r.font.size = Pt(18)
r.font.color.rgb = NAVY
r.font.name = "Arial"
sub = doc.add_paragraph()
sub.alignment = WD_ALIGN_PARAGRAPH.CENTER
r = sub.add_run("Referral to: Obstetrics & Gynecology Team | From: General Medicine / Emergency Medicine")
r.italic = True
r.font.size = Pt(11)
r.font.color.rgb = GREY
r.font.name = "Arial"
hr()
add_para("Purpose of referral: Urgent OB-GYN evaluation for suspected pelvic inflammatory disease / left "
"tubo-ovarian pathology in a patient with septic shock, conjugated jaundice, and persistent left "
"iliac fossa pain not explained by the working diagnosis of cystitis.", italic=True, color=RED, size=11)
# ============ PATIENT DEMOGRAPHICS ============
add_heading("1. Patient Identification", level=2)
demo_rows = [
["Name", "Farzanabegum Moulabax Mulla", "Age / Sex", "48 Years / Female"],
["DOB", "22-07-1978", "Patient/Transaction ID", "SRD23951"],
["Admission type", "IP (transferred from private hospital)", "Referring unit", "Dept. of General Medicine"],
["Date of this report", "16-08-2026", "Referral mode", "Ambulance transfer"],
]
t = doc.add_table(rows=0, cols=4)
t.style = "Light Grid Accent 1"
for row in demo_rows:
cells = t.add_row().cells
for i, val in enumerate(row):
p = cells[i].paragraphs[0]
r = p.add_run(val)
r.font.size = Pt(10)
r.font.name = "Arial"
if i % 2 == 0:
r.bold = True
doc.add_paragraph().paragraph_format.space_after = Pt(2)
# ============ CLINICAL HISTORY ============
add_heading("2. Presenting History", level=2)
add_bullet("Mild fever, yellowish discoloration of eyes (jaundice), and severe left iliac fossa (LIF) pain.",
bold_lead="Chief complaints: ")
add_bullet("Initially admitted at a nearby private hospital; diagnosed there as urinary bladder cystitis "
"secondary to sepsis. Jaundice was managed supportively.",
bold_lead="Course at referring hospital: ")
add_bullet("Left iliac fossa pain persisted despite treatment for cystitis, prompting transfer to this "
"facility for further evaluation.",
bold_lead="Reason for transfer: ")
add_bullet("Documented on bedside chart: septic shock, conjugated jaundice, anemia.",
bold_lead="Clinical impression at admission: ")
# ============ INVESTIGATIONS ============
add_heading("3. Investigations Reviewed", level=2)
add_para("3.1 Hematology / Coagulation", bold=True, size=11.5, color=NAVY, space_after=4)
add_table(
["Parameter", "Result", "Reference Range", "Interpretation"],
[
["Total WBC count", "21,000 /cumm", "4,000 - 11,000 /cumm", "Marked leukocytosis"],
["PT (test)", "13.7 sec", "10 - 16 sec", "Normal"],
["PT (control)", "13.5 sec", "-", "-"],
["INR", "1.01", "-", "Normal - no coagulopathy"],
["Anemia", "Noted clinically on chart", "Hb value not in reports provided", "Needs quantification"],
],
col_widths=[1.6, 1.6, 1.8, 2.3]
)
add_para("3.2 Liver Function Test (Biochemistry)", bold=True, size=11.5, color=NAVY, space_after=4)
add_table(
["Parameter", "Result", "Reference Range", "Interpretation"],
[
["Total bilirubin", "10.8 mg/dl", "0.1 - 1.2", "Markedly elevated"],
["Direct (conjugated) bilirubin", "6.88 mg/dl (~64% of total)", "0 - 0.2", "Predominantly conjugated"],
["Indirect bilirubin", "3.92 mg/dl", "0 - 0.8", "Mildly elevated"],
["SGOT (AST)", "12.0 U/L", "0 - 41", "Normal"],
["SGPT (ALT)", "30.2 U/L", "0 - 41", "Normal"],
["Alkaline phosphatase", "97.3 IU/L", "60 - 321", "Normal"],
["Total protein", "6.20 g/dl", "6 - 8.5", "Normal"],
["Serum albumin", "3.99 g/dl", "3.4 - 5.4", "Normal"],
["Serum globulin", "2.21 g/dl", "1.1 - 2.2", "Upper-normal"],
["A/G ratio", "1.81", "2.3 - 3.5 (lab range as printed)", "See note below"],
],
col_widths=[2.0, 2.2, 1.8, 1.6]
)
add_para("Key pattern: markedly elevated, predominantly conjugated bilirubin with essentially normal "
"transaminases and ALP, and no biliary ductal dilation on imaging. This dissociation is characteristic "
"of \"cholestasis of sepsis\" rather than hepatocellular or obstructive biliary disease.",
italic=True, size=10, color=GREY, space_after=10)
add_para("3.3 Bedside USG Abdomen & Pelvis (MICU)", bold=True, size=11.5, color=NAVY, space_after=4)
add_bullet("Liver 19 cm, enlarged with diffuse increased echogenicity - Grade I fatty liver change. No focal lesion, no IHBR/EHBR dilation, CBD not dilated.")
add_bullet("Gallbladder well distended, wall edema (max thickness 4.5 mm). No calculi.")
add_bullet("Spleen enlarged, 13 cm; normal echotexture.")
add_bullet("Both kidneys normal in size and echotexture; no PCS dilation, no calculi.")
add_bullet("Urinary bladder minimally distended, catheter bulb in situ; pelvic organs not assessed on this study.")
add_bullet("No ascites. Diffuse increased echogenicity and inflammatory changes of mesenteric fat in the LEFT abdominal region; no definitive collection.")
add_bullet("Impression: Hepatomegaly with Grade I fatty liver, gallbladder wall edema, splenomegaly, inflammatory changes of left mesenteric fat. CT abdomen/pelvis advised for further evaluation.")
add_para("3.4 Contrast CT Abdomen & Pelvis", bold=True, size=11.5, color=NAVY, space_after=4)
add_bullet("Liver moderately enlarged (18 cm), normal enhancement, no IHBR dilation. IVC and portal veins normal.")
add_bullet("Gallbladder well distended, appears normal on CT.")
add_bullet("Spleen and pancreas normal. Bowel loops and appendix normal.")
add_bullet("Both kidneys normal size with prompt nephrogram and good excretion of contrast; ureters normal in course and caliber.")
add_bullet("Urinary bladder well distended with irregular wall thickening measuring 5 mm; no calculus or mass lesion.")
add_bullet("Heterogeneous contents noted in the endometrial cavity and cervical canal.", bold_lead="")
add_bullet("Moderate fat stranding noted around the urinary bladder, parametrium, pelvis, and LEFT para-colic gutter.", bold_lead="")
add_bullet("Minimal ascites noted.")
add_bullet("Uterus normal in size; both adnexa normal; no enlarged nodes. Main abdominal vessels normal. Visualized chest and bones - no significant abnormality.")
p = add_para("Radiology impression (verbatim): ", bold=True, size=10.5, space_after=2)
add_para("Moderate hepatomegaly. Urinary bladder cystitis. Heterogeneous contents in endometrial cavity and "
"cervical canal. Moderate fat stranding around urinary bladder, parametrium, pelvis, and left "
"para-colic gutter. Minimal ascites. \u201cThese findings are concerning for pelvic inflammatory disease.\u201d",
italic=True, size=10.5, color=RED, space_after=10)
# ============ ASSESSMENT ============
add_heading("4. Clinical Assessment / Working Diagnosis", level=2)
add_para("The referring hospital's diagnosis of isolated \u201curinary bladder cystitis secondary to sepsis\u201d "
"does not fully account for the persistent severe left iliac fossa pain, the degree of pelvic/left "
"para-colic fat stranding, or the endometrial-cervical canal findings. The overall pattern is more "
"consistent with a primary gynecological source of sepsis.", space_after=8)
add_para("Working diagnosis:", bold=True, size=11.5, color=NAVY, space_after=3)
add_bullet("Pelvic Inflammatory Disease (endometritis \u00b1 left-sided salpingitis / tubo-ovarian involvement) "
"presenting as sepsis / septic shock - PRIMARY.")
add_bullet("Reactive bladder wall thickening (\u201ccystitis\u201d) secondary to adjacent pelvic inflammation - "
"SECONDARY, contributory but unlikely to be the primary driver of sepsis.")
add_bullet("Sepsis-induced (cholestasis of sepsis) conjugated hyperbilirubinemia - non-obstructive, "
"non-hepatocellular; expected to improve with source control of the pelvic infection.")
add_bullet("Reactive hepatosplenomegaly and acalculous gallbladder wall edema, secondary to the systemic septic state.")
add_bullet("Anemia - etiology to be characterized (Hb value pending in records reviewed).")
add_para("Differential diagnoses to exclude:", bold=True, size=11.5, color=NAVY, space_after=3)
add_bullet("Left tubo-ovarian abscess (TOA).")
add_bullet("Pyometra / hematometra / endometritis with retained debris (correlate with menstrual and obstetric history).")
add_bullet("Concurrent urinary tract infection (independent of PID) - urine culture pending.")
add_bullet("Endometrial pathology (malignancy) once acute sepsis is controlled - to be evaluated electively, low index of suspicion currently.")
# ============ REQUEST TO OBGYN ============
add_heading("5. Specific Requests to Obstetrics & Gynecology Team", level=2)
add_bullet("Urgent bedside pelvic examination: assess for cervical motion tenderness, uterine tenderness, adnexal tenderness/mass (minimum CDC clinical criteria for PID).")
add_bullet("Transvaginal ultrasound (TVS) to characterize the endometrial cavity/cervical canal contents and specifically evaluate for a left tubo-ovarian abscess (CT is suggestive but less sensitive than TVS/MRI for adnexal pathology).")
add_bullet("Endocervical/high vaginal swab for Gram stain, culture, and NAAT for N. gonorrhoeae and C. trachomatis.")
add_bullet("Detailed menstrual, contraceptive (IUCD use), obstetric, and sexual history.")
add_bullet("Joint decision on antibiotic regimen and need for source control (drainage) if a tubo-ovarian abscess is confirmed or the patient fails to improve within 72 hours.")
add_bullet("Consider MRI pelvis if TVS is inconclusive and clinical suspicion for TOA remains high.")
# ============ MANAGEMENT PLAN ============
add_heading("6. Management Plan", level=2)
add_para("6.1 Immediate / Sepsis Bundle (ongoing)", bold=True, size=11.5, color=NAVY, space_after=4)
add_bullet("Blood cultures x2 and urine culture (prior to/independent of antibiotic changes).")
add_bullet("IV fluid resuscitation and vasopressor support as needed to maintain MAP goals (patient labeled septic shock).")
add_bullet("Continuous monitoring: vitals, urine output, lactate clearance, SpO2.")
add_bullet("ICU/HDU level of care recommended - do not step down at this stage.")
add_para("6.2 Empiric Antibiotic Therapy (pending culture-directed de-escalation)", bold=True, size=11.5, color=NAVY, space_after=4)
add_para("Regimen options for PID with sepsis / suspected tubo-ovarian involvement (CDC / Goldman-Cecil Medicine):", size=10.5, space_after=4)
add_table(
["Regimen", "Components"],
[
["Option A", "Ceftriaxone 1 g IV q24h + Doxycycline 100 mg IV/PO q12h + Metronidazole 500 mg IV/PO q12h"],
["Option B", "Clindamycin 900 mg IV q8h + Gentamicin (loading 2 mg/kg, then 1.5 mg/kg IV q8h)"],
["Option C", "Cefoxitin 2 g IV q6h (or Cefotetan 2 g IV q12h) + Doxycycline 100 mg IV/PO q12h"],
["Escalation trigger", "If no clinical improvement by 72 hours or TOA confirmed: broaden coverage (e.g., piperacillin-tazobactam) and pursue source control (image-guided or surgical drainage)"],
],
col_widths=[1.6, 5.4]
)
add_para("6.3 Hepatic / Jaundice Management", bold=True, size=11.5, color=NAVY, space_after=4)
add_bullet("No specific hepatic therapy indicated - manage as sepsis-induced cholestasis; treat the underlying infective source.")
add_bullet("Serial LFTs to confirm downward trend with sepsis control.")
add_bullet("Avoid hepatotoxic drugs where possible.")
add_bullet("Re-image the biliary tree only if bilirubin continues to rise or ALP/AST begin climbing (would suggest a separate obstructive or hepatocellular process).")
add_para("6.4 Supportive / Other", bold=True, size=11.5, color=NAVY, space_after=4)
add_bullet("CBC with Hb/hematocrit and peripheral smear to characterize the noted anemia; transfuse per institutional threshold if indicated.")
add_bullet("Renal function, electrolytes, CRP/procalcitonin, and lactate if not already available.")
add_bullet("VTE and stress-ulcer prophylaxis per ICU protocol.")
add_bullet("Nutritional support; remove/reassess urinary catheter once bladder study normalizes.")
add_bullet("If an IUCD is present, remove if no clinical improvement occurs.")
# ============ MONITORING / ESCALATION ============
add_heading("7. Monitoring Parameters & Escalation Criteria", level=2)
add_bullet("Clinical: fever curve, LIF pain, vitals/hemodynamics, urine output.")
add_bullet("Laboratory: repeat CBC, LFTs, CRP/procalcitonin, lactate at 24-48h intervals.")
add_bullet("Imaging: repeat TVS/CT if clinical deterioration or no improvement by 72 hours.")
add_bullet("Escalate to surgical/interventional radiology drainage if abscess confirmed or enlarging, or if patient remains septic despite 72 hours of appropriate antibiotics.")
# ============ DISCLAIMER ============
hr()
add_para("Note: This summary was compiled from the laboratory and imaging reports provided (hematology, LFT, "
"bedside USG, and contrast CT abdomen/pelvis) and does not replace direct clinical examination, "
"menstrual/sexual history, or culture results. Please correlate clinically and finalize the diagnosis "
"and treatment plan jointly with the treating general medicine/critical care and OB-GYN teams.",
italic=True, size=9.5, color=GREY, space_after=4)
add_para("Prepared as a clinical decision-support summary for interdepartmental communication.",
italic=True, size=9.5, color=GREY)
doc.save("/tmp/workspace/clinical-summary/OBGYN_Referral_Clinical_Summary_Mulla_Farzanabegum.docx")
print("Saved.")
cd /tmp/workspace/clinical-summary && python3 build_doc.py
cd /tmp/workspace/clinical-summary && python3 -c " from docx import Document doc = Document('OBGYN_Referral_Clinical_Summary_Mulla_Farzanabegum.docx') print('Paragraphs:', len(doc.paragraphs)) print('Tables:', len(doc.tables)) " && ls -la /tmp/workspace/clinical-summary/
OBGYN Referral Clinical Summary Mulla Farzanabegum
Word Document · DOCX
Why it is sudden appearance of the disease without symptoms before
why does pelvic inflammatory disease present suddenly with sepsis no prior symptoms
Reason of the infection and what r home remedies and is it spread to other members in home?
is pelvic inflammatory disease contagious to family members household transmission