Give me a flashcard. Showing USG images of cogwheel sign, beats on spring appearance, and waist sign. In Pelvic Inflammatory Disease.
cogwheel sign ultrasound pelvic inflammatory disease fallopian tube

A transvaginal grey-scale ultrasound image demonstrating a complex adnexal mass, approximately 6 cm in diameter, located in the juxta-uterine region. The mass is primarily cystic with irregular, thickened walls and heterogeneous internal echogenicity, suggesting the presence of debris, pus, or complex fluid. A characteristic 'cogwheel sign' is visible, represented by thickened endosalpingeal folds that project into the lumen of the dilated fallopian tube, which is a classic sonographic indicator of pyosalpinx. The morphology is tubular and tortuous rather than purely spherical, typical of pelvic inflammatory disease progression. Caliper markers are placed to measure the dimensions of the collection. The surrounding stroma shows increased echogenicity, consistent with inflammatory changes in the adnexa. This diagnostic image illustrates the sonographic features used to differentiate pyosalpinx from other adnexal masses like ovarian cysts or ectopic pregnancies.

This diagnostic ultrasound image demonstrates classic sonographic features of acute salpingitis in two planes. The left panel shows a longitudinal view of a distended fallopian tube appearing as a pear-shaped unilocular mass with low-level internal echogenicity and thickened walls exceeding 5 mm. The right panel displays a transverse section illustrating the 'cogwheel sign,' characterized by multiple small, round, hypoechoic to anechoic structures arranged in a circular or serrated pattern. These protrusions represent cross-sections of thickened, edematous endosalpingeal folds projecting into the tubal lumen. The structures are bounded by incomplete septae and are adjacent to the ovary, which is marked with calipers (Ov-H and Ov-L). These findings are pathognomonic for inflammatory processes of the fallopian tube, such as pelvic inflammatory disease (PID), and help distinguish tubal pathology from primary ovarian masses.

**Modality:** Transvaginal Ultrasound (TVUS), B-mode. **Anatomic Region:** Adnexa / Fallopian tube. **Description:** The image displays a cross-sectional view of a hydrosalpinx, appearing as an elongated, fusiform, and well-circumscribed cystic structure with anechoic internal fluid. A prominent, hyperechoic thin linear band is visible extending into the lumen, representing an incomplete septum or "cogwheel" sign. This feature is a classic sonographic hallmark of a dilated, folded fallopian tube, distinguishing it from an ovarian cyst or para-ovarian mass. **Visual Features:** - **Fluid Collection:** Anechoic, simple fluid without internal debris or vascularity. - **Wall Structure:** Smooth, thin walls with no solid papillary projections or thickened mural nodules. - **Septation:** A pathognomonic incomplete septum (cogwheel sign/waist sign) characteristic of chronic tubal dilatation. - **Measurements:** Orthogonal electronic calipers (marked 1 and 2) are positioned to quantify the maximum diameter of the distended lumen. **Diagnostic Significance:** These features are highly suggestive of hydrosalpinx, typically secondary to pelvic inflammatory disease (PID) or previous tubal pathology, aiding in the differentiation of adnexal masses.

Two-panel transvaginal sonography (TVS) image demonstrating the features of acute salpingitis. Panel A displays a color Doppler ultrasound of a dilated fallopian tube, appearing as a pear-shaped, unilocular adnexal mass. The mass contains low-level echogenic fluid and is characterized by thickened walls (exceeding 5 mm) and multiple incomplete septae extending into the lumen. Panel B shows a power Doppler ultrasound of the same structure, highlighting significant hypervascularity concentrated within the incomplete septae and the thickened tubal wall. These internal projections and the increased vascular signal are classic sonographic indicators of an active inflammatory process, such as acute pelvic inflammatory disease (PID). The morphology of the tube with internal protrusions may also suggest a 'cogwheel sign' when viewed in transverse section, distinguishing acute salpingitis from simple hydrosalpinx.
beads on string appearance ultrasound PID tubo-ovarian

This diagnostic image is a transvaginal ultrasound (TVUS) in the transverse plane, illustrating a complex adnexal mass consistent with a tubo-ovarian abscess (TOA) secondary to pelvic inflammatory disease (PID). The mass is located in the right adnexa and is characterized by heterogeneous echogenicity, featuring mixed solid (hyperechoic) and cystic/fluid-filled (hypoechoic) components. The internal architecture appears disorganized with thick, irregular walls and ill-defined borders, indicating an inflammatory process. Electronic calipers are seen measuring the lesion, and a black star identifies the adjacent uterus, which appears mildly displaced. The surrounding tissue demonstrates typical sonographic signs of pelvic inflammation, including obscured anatomical planes and potential fluid in the Pouch of Douglas. This image serves as an educational example of advanced pelvic infection, emphasizing the transformation of normal ovarian and tubal anatomy into a unified inflammatory complex. It is intended for medical students and radiology residents to recognize the classic 'ground-glass' or multi-loculated appearance of a pelvic abscess.

**Imaging Modality:** Transvaginal Ultrasound (TVUS) **Anatomical Region:** Left adnexa, coronal plane. **Observed Pathology:** Large, complex tubo-ovarian mass consistent with a Tubo-Ovarian Abscess (TOA). **Characteristic Visual Features:** The image demonstrates a poorly defined, multi-loculated heterogeneous mass involving the left adnexal region. Key features include: * **Echo Texture:** A mixture of hypoechoic and solid-appearing components with internal debris, characteristic of an inflammatory or purulent collection. * **Architecture:** The mass shows thick, irregular walls and internal septations. There is a lack of clear demarcation between the ovary and the fallopian tube, forming a "tubo-ovarian complex." * **Fluid Components:** Presence of low-level internal echoes within cystic areas, suggesting complex fluid or pus. **Key Diagnostic Features:** The primary diagnostic cue is the complete loss of normal adnexal architecture, replaced by a disorganized, heterogeneous mass. The "cogwheel" or "beaded" appearance often associated with salpingitis is obscured by the expansive, organized abscess formation. These sonographic findings are highly suggestive of Pelvic Inflammatory Disease (PID) progressing to a tubo-ovarian abscess.

**Imaging Modality:** Transvaginal Ultrasound (TVUS) **Anatomical Region:** Pelvis (Adnexa) **Observed Pathology:** Tubo-ovarian abscess (TOA) **Characteristic Visual Features:** The image displays a complex, multilocular cystic adnexal mass. Key sonographic features include: * **Wall Morphology:** Distinct, regular thickening of the outer capsule and internal septations (indicated by arrows). * **Internal Content:** The cystic spaces contain low-level internal echogenic debris/fluid, consistent with purulent material or complex fluid. * **Architecture:** The mass lacks solid papillary projections but exhibits a "cogwheel" or "beaded" appearance characteristic of inflammatory adnexal processes involving the fallopian tube and ovary. **Diagnostic Differentiating Features:** The presence of thick, regular walls and septa combined with internal echogenicity helps differentiate this inflammatory complex from simple ovarian cysts or hydrosalpinx. The lack of irregular solid components or high-vascularity nodules (not visible here) helps distinguish it from malignant epithelial ovarian tumors. This presentation is highly suggestive of Pelvic Inflammatory Disease (PID) progressing to a tubo-ovarian abscess.

**Imaging Modality:** Transvaginal Ultrasound (TVUS), B-mode. **Anatomical Region:** Female pelvis, right adnexa. **Observed Pathology:** Hydrosalpinx. **Characteristic Visual Features:** The image demonstrates a prominent, elongated, tubular cystic structure in the adnexa. The mass is primarily anechoic to hypoechoic, indicating fluid collection within a dilated fallopian tube. Distinctive "waist signs" or indentations along the opposite walls of the tube are visible, creating a multiloculated appearance often referred to as a "cogwheel" or "beads-on-a-string" sign in cross-section. **Diagnostic Features:** The structure is separate from the ovary (not visualized in this plane) and lacks the thick, vascularized walls characteristic of a tubo-ovarian abscess or pyosalpinx. Electronic calipers measure the maximal dimensions of the dilated segment (approximately 2.66 cm x 1.76 cm). The presence of incomplete septa (indentations) is a key differentiating feature that distinguishes a dilated fallopian tube from other pelvic cystic adnexal masses such as para-ovarian cysts. **Clinical Context:** Findings are diagnostic of tubal dilation and fluid accumulation, consistent with chronic tubal occlusion and hydrosalpinx in a reproductive-age patient.
waist sign ultrasound PID tubo-ovarian complex

This diagnostic image is a transvaginal ultrasound (TVUS) in the transverse plane, illustrating a complex adnexal mass consistent with a tubo-ovarian abscess (TOA) secondary to pelvic inflammatory disease (PID). The mass is located in the right adnexa and is characterized by heterogeneous echogenicity, featuring mixed solid (hyperechoic) and cystic/fluid-filled (hypoechoic) components. The internal architecture appears disorganized with thick, irregular walls and ill-defined borders, indicating an inflammatory process. Electronic calipers are seen measuring the lesion, and a black star identifies the adjacent uterus, which appears mildly displaced. The surrounding tissue demonstrates typical sonographic signs of pelvic inflammation, including obscured anatomical planes and potential fluid in the Pouch of Douglas. This image serves as an educational example of advanced pelvic infection, emphasizing the transformation of normal ovarian and tubal anatomy into a unified inflammatory complex. It is intended for medical students and radiology residents to recognize the classic 'ground-glass' or multi-loculated appearance of a pelvic abscess.

This dual-panel image demonstrates a tubo-ovarian complex involving a left adnexal abscess, illustrated through two diagnostic imaging modalities. Panel (a) is an axial color Doppler transabdominal ultrasound (TSA-US) scan. It reveals a complex cystic mass in the left adnexa characterized by a predominantly anechoic central region, consistent with fluid or purulent material. The color Doppler overlay shows peripheral vascularization (arrow) indicated by red and blue signals around the margins of the mass, reflecting active blood flow in the surrounding inflammatory tissue. Panel (b) is a contrast-enhanced axial CT image of the pelvis. It shows a corresponding left adnexal abscess with a distinctively thickened and hyper-enhancing wall (arrows). The enhancement indicates increased vascularity and inflammation characteristic of an infectious process. These findings are critical for diagnosing pelvic inflammatory disease (PID) and its complications, such as tubo-ovarian abscesses (TOA). This comparison illustrates how ultrasound serves as a primary tool for evaluating vascular compromise and cystic morphology, while CT provides superior detail regarding wall thickening and regional inflammatory extent.

This diagnostic image is a transabdominal ultrasound of the right adnexa in the transverse plane, demonstrating a complex right tubo-ovarian abscess (TOA) measuring approximately 6.2 x 3 x 2.5 cm. The mass exhibits a heterogeneous echotexture with mixed cystic and solid components, characterized by internal low-level echoes and irregular thick walls. The borders of the mass are poorly defined and irregular, blending with adjacent pelvic structures, which is indicative of localized inflammation and pelvic inflammatory disease (PID). Color Doppler overlay reveals internal and peripheral vascularity, showing punctate red and blue signals that represent blood flow within the inflammatory tissue. There is no clear evidence of posterior acoustic shadowing or enhancement. This visual finding is a key diagnostic indicator for advanced pelvic infection and is used in clinical education to distinguish complex adnexal masses from simple ovarian cysts or endometriomas.

This dual-panel image provides a side-by-side comparison of a tubo-ovarian complex (TOC) using two imaging modalities. Panel A is a transvaginal ultrasound (TVUS) showing a large, heterogeneous, complex adnexal mass. The sonogram reveals mixed echogenicity with ill-defined borders, internal septations, and cystic components, indicating the involvement of both the fallopian tube and the ovary in an inflammatory process. Quantitative calipers measure the dimensions of the mass as approximately 35.6 mm x 66.5 mm x 45.4 mm. Panel B is a corresponding laparoscopic photograph of the same case, providing direct visualization of the pelvic cavity. It shows significant erythema and edema of the adnexal structures, with thick inflammatory adhesions and a whitish-yellow purulent-appearing exudate characteristic of a tubo-ovarian abscess. The laparoscopic view clarifies the anatomical distortion and tissue friability suggested by the ultrasound. This comparison illustrates the diagnostic pathway for pelvic inflammatory disease (PID) progressing to abscess formation, highlighting the correlation between sonographic heterogeneity and gross surgical inflammation.
ls /tmp/workspace/ 2>/dev/null || mkdir -p /tmp/workspace/pid-flashcard
mkdir -p /tmp/workspace/pid-flashcard && cd /tmp/workspace/pid-flashcard && python3 - <<'EOF' import urllib.request images = { "cogwheel.jpg": "https://cdn.orris.care/cdss_images/pmc_clinical_VQA_02e423c587589b4eded1f9dc96a2b0177fb9296c4cf12f5a01fa73457ac0ceb2.jpg", "beads.png": "https://cdn.orris.care/cdss_images/roco_radiology_ROCO_03616_1766647544617.png", "waist.png": "https://cdn.orris.care/cdss_images/roco_radiology_ROCO_78750_1766650452670.png", } headers = {'User-Agent': 'Mozilla/5.0'} for fname, url in images.items(): req = urllib.request.Request(url, headers=headers) with urllib.request.urlopen(req, timeout=20) as r: data = r.read() with open(fname, 'wb') as f: f.write(data) print(f"Downloaded {fname}: {len(data)} bytes") EOF
cd /tmp/workspace/pid-flashcard && python3 - <<'PYEOF' from PIL import Image, ImageDraw, ImageFont import textwrap, os # ── Canvas ───────────────────────────────────────────────────────────────── W, H = 1500, 980 card = Image.new("RGB", (W, H), "#0d1b2a") draw = ImageDraw.Draw(card) # ── Gradient-like top bar ─────────────────────────────────────────────────── for y in range(80): t = y / 80 r = int(30 + (10 - 30) * t) g = int(80 + (50 - 80) * t) b = int(160 + (120 - 160) * t) draw.line([(0, y), (W, y)], fill=(r, g, b)) # ── Fonts ────────────────────────────────────────────────────────────────── try: font_title = ImageFont.truetype("/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf", 38) font_sub = ImageFont.truetype("/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf", 22) font_label = ImageFont.truetype("/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf", 20) font_desc = ImageFont.truetype("/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf", 17) font_tag = ImageFont.truetype("/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf", 15) except: font_title = font_sub = font_label = font_desc = font_tag = ImageFont.load_default() # ── Title bar text ───────────────────────────────────────────────────────── title = "USG Signs in Pelvic Inflammatory Disease (PID)" bbox = draw.textbbox((0,0), title, font=font_title) tw = bbox[2] - bbox[0] draw.text(((W - tw)//2, 18), title, font=font_title, fill="#ffffff") # ── Helper: rounded rectangle ────────────────────────────────────────────── def rounded_rect(draw, xy, radius, fill, outline=None, width=2): x0,y0,x1,y1 = xy draw.rounded_rectangle([x0,y0,x1,y1], radius=radius, fill=fill, outline=outline, width=width) # ── Panel data ───────────────────────────────────────────────────────────── panels = [ { "img": "cogwheel.jpg", "sign": "Cogwheel Sign", "emoji": "⚙️", "color": "#e63946", "light": "#ffd6d8", "what": "Thickened endosalpingeal folds seen in TRANSVERSE section of the inflamed tube", "where": "Acute salpingitis / Pyosalpinx", "note": "Serrated wheel-like projections into tubal lumen", }, { "img": "beads.png", "sign": "Beads-on-a-String Sign", "emoji": "🔵", "color": "#2a9d8f", "light": "#c8f5ef", "what": "Multiple small cystic nodules strung along a dilated tube in LONGITUDINAL section", "where": "Hydrosalpinx / Chronic PID", "note": "Incomplete septa create bead-like locules", }, { "img": "waist.png", "sign": "Waist Sign", "emoji": "⏳", "color": "#f4a261", "light": "#fdebd0", "what": "Opposing indentations on walls of dilated tube producing an hourglass narrowing", "where": "Hydrosalpinx / Chronic PID", "note": "Pathognomonic for tortuous fallopian tube dilation", }, ] NCOLS = 3 PAD = 22 # outer padding GAP = 18 # gap between panels TOP_BAR = 85 # title bar height IMG_H = 320 # USG image display height col_w = (W - 2*PAD - (NCOLS-1)*GAP) // NCOLS panel_h = H - TOP_BAR - PAD - 10 py0 = TOP_BAR + 10 for i, p in enumerate(panels): px0 = PAD + i*(col_w + GAP) px1 = px0 + col_w py1 = py0 + panel_h # Panel background rounded_rect(draw, [px0, py0, px1, py1], radius=16, fill="#111e2e", outline=p["color"], width=3) # Coloured sign-name header strip rounded_rect(draw, [px0+3, py0+3, px1-3, py0+50], radius=14, fill=p["color"]) label = p["emoji"] + " " + p["sign"] lb = draw.textbbox((0,0), label, font=font_sub) lw = lb[2]-lb[0] draw.text((px0 + (col_w-lw)//2, py0+13), label, font=font_sub, fill="#ffffff") # ── Paste USG image ──────────────────────────────────────────────────── img_path = p["img"] try: usg = Image.open(img_path).convert("RGB") # crop to centre-square then resize iw, ih = usg.size side = min(iw, ih) left = (iw - side)//2 top = (ih - side)//2 usg = usg.crop((left, top, left+side, top+side)) usg = usg.resize((col_w - 20, IMG_H), Image.LANCZOS) card.paste(usg, (px0+10, py0+58)) # thin border over image draw.rectangle([px0+10, py0+58, px0+10+col_w-20, py0+58+IMG_H], outline=p["color"], width=2) except Exception as e: draw.rectangle([px0+10, py0+58, px1-10, py0+58+IMG_H], fill="#1a2a3a") draw.text((px0+20, py0+80), f"[image error: {e}]", font=font_desc, fill="#aaaaaa") # ── Info rows ────────────────────────────────────────────────────────── info_y = py0 + 58 + IMG_H + 14 def wrap_draw(text, x, y, w, fnt, color, line_h=24): for line in textwrap.wrap(text, width=int(w/10)): draw.text((x, y), line, font=fnt, fill=color) y += line_h return y # WHERE draw.text((px0+14, info_y), "📍 Structure:", font=font_label, fill=p["color"]) info_y = wrap_draw(p["where"], px0+14, info_y+24, col_w-28, font_desc, "#e0e8f0", 22) info_y += 8 # WHAT draw.text((px0+14, info_y), "🔍 Finding:", font=font_label, fill=p["color"]) info_y = wrap_draw(p["what"], px0+14, info_y+24, col_w-28, font_desc, "#e0e8f0", 22) info_y += 8 # KEY NOTE pill pill_x0, pill_y0 = px0+14, info_y+2 pill_text = "⚡ " + p["note"] pb = draw.textbbox((0,0), pill_text, font=font_tag) pw = pb[2]-pb[0]+16 ph = pb[3]-pb[1]+10 rounded_rect(draw, [pill_x0, pill_y0, pill_x0+pw, pill_y0+ph], radius=8, fill=p["light"]) draw.text((pill_x0+8, pill_y0+5), pill_text, font=font_tag, fill="#1a1a2e") # ── Footer ───────────────────────────────────────────────────────────────── footer = "All signs seen on Transvaginal Ultrasound (TVUS) • PID Spectrum: Salpingitis → Pyosalpinx → Hydrosalpinx → Tubo-Ovarian Abscess" fb = draw.textbbox((0,0), footer, font=font_tag) fw = fb[2]-fb[0] draw.text(((W-fw)//2, H-22), footer, font=font_tag, fill="#6a8fa8") # ── Save ─────────────────────────────────────────────────────────────────── out = "/tmp/workspace/pid-flashcard/PID_USG_Signs_Flashcard.png" card.save(out, "PNG", dpi=(150,150)) print(f"Saved: {out} ({os.path.getsize(out)//1024} KB)") PYEOF
PID USG Signs Flashcard
Image · PNG
Create a PDF of this flashcard for offline use
python3 - <<'PYEOF' from reportlab.lib.pagesizes import A4, landscape from reportlab.lib.utils import ImageReader from reportlab.pdfgen import canvas from reportlab.lib import colors import os src_img = "/tmp/workspace/pid-flashcard/PID_USG_Signs_Flashcard.png" out_pdf = "/tmp/workspace/pid-flashcard/PID_USG_Signs_Flashcard.pdf" # Use landscape A4 so the wide flashcard fits perfectly page_w, page_h = landscape(A4) # 841.89 x 595.28 pts c = canvas.Canvas(out_pdf, pagesize=landscape(A4)) # Metadata c.setTitle("PID USG Signs Flashcard") c.setSubject("Cogwheel Sign, Beads-on-a-String Sign, Waist Sign – Pelvic Inflammatory Disease") c.setAuthor("Orris Medical AI") c.setKeywords("PID, ultrasound, cogwheel sign, beads on string, waist sign, salpingitis") # Dark background to match the card c.setFillColorRGB(0.051, 0.106, 0.165) # #0d1b2a c.rect(0, 0, page_w, page_h, fill=1, stroke=0) # Draw the PNG stretched to fill the page with small margin margin = 8 img = ImageReader(src_img) iw, ih = img.getSize() aspect = iw / ih avail_w = page_w - 2*margin avail_h = page_h - 2*margin if avail_w / aspect <= avail_h: draw_w = avail_w draw_h = avail_w / aspect else: draw_h = avail_h draw_w = avail_h * aspect x = (page_w - draw_w) / 2 y = (page_h - draw_h) / 2 c.drawImage(img, x, y, width=draw_w, height=draw_h, preserveAspectRatio=True, mask='auto') c.save() size_kb = os.path.getsize(out_pdf) // 1024 print(f"PDF saved: {out_pdf} ({size_kb} KB)") PYEOF
PID USG Signs Flashcard
PDF Document · PDF