OPLITEAL FOSSA AND LEG Popliteal Abscess and Tumor Because the deep popliteal ascia is strong and lim- its expansion, pain rom an abscess or tumor in the popliteal ossa is usually severe. Popliteal abscesses tend to spread superiorly and ineriorly because o the tough- ness o the popliteal ascia. Popliteal Pulse Because the popliteal artery is deep, it may be di- cult to eel the popliteal pulse. Palpation o this pulse is commonly perormed with the person in Popliteal Fossa and Leg 763 to the our lateral digits. The tendon o the FT may be pal- pable lateral to the tendons o the EDL, especially when the oot is dorsifexed and everted. The shat o the bula is subcutaneous only in its distal part, proximal to the lateral malleolus; this is the common site o ractures. The medial and lateral malleoli are subcu- taneous and prominent. Palpate them, noting that the tip o the lateral malleolus extends arther distally and posteriorly than the medial malleolus. The bularis longus (FL) is subcutaneous throughout its course (Fig. 7.67C). The tendons o this muscle and the bularis brevis (FB) are palpable when the oot is everted as they pass around the posterior aspect o the lateral malleolus. These tendons may be ollowed anteriorly along the lateral side o the oot. The tendon o the FL runs as ar anteriorly as the cuboid and then disappears by turning into the sole o the oot. The tendon o the FB may be traced to its attachment to the base o the 5th metatarsal. The calcaneal tendon can be easily ollowed to its attach- ment to the calcaneal tuberosity, the posterior part o the calcaneus. The ankle joint is airly supercial in the depres- sion on each side o the calcaneal tendon. The heads o the gastrocnemius are easily recognizable in the superior part o the cal o the leg (Fig. 7.67B, C). The soleus can be palpated deep to and at the sides o the superior part o the calcaneal tendon. The triceps surae (soleus and gastrocnemius) is easy to palpate when the individual is standing on the toes. The soleus can be distinguished rom the gastrocnemius during squatting (fexing the knees while standing on toes) because fexion o the knee to approximately 90° makes the gastrocne- mius faccid; plantarfexion in this position is maintained by the soleus. The deep muscles o the posterior compartment are not easily palpated, but their tendons can be observed just posterior to the medial malleolus, especially when the oot is inverted and the toes are fexed. the prone position with the knee fexed to relax the popliteal ascia and hamstrings. The pulsations are best elt in the ine- rior part o the ossa where the popliteal artery is related to the tibia. Weakening or loss o the popliteal pulse is a sign o a emoral artery obstruction. Popliteal Aneurysm and Hemorrhage A popliteal aneurysm (abnormal dilation o all or part o the popliteal artery) usually causes edema and pain in the popliteal ossa. A popli- teal aneurysm may be distinguished rom other masses by palpable pulsations (thrills) and abnormal arterial sounds (bruits) detectable with a stethoscope. Because the artery 7 764 764 Chapter 7 Lower Limb Chapter 7 Lower Limb lies deep to the tibial nerve, an aneurysm may stretch the nerve or compress its blood supply (vasa vasorum). Pain rom such nerve compression is usually reerred, in this case to the skin overlying the medial aspect o the cal, ankle, or oot. Because the popliteal artery is closely applied to the popliteal surace o the emur and the joint capsule (see Fig. 7.60), ractures o the distal emur or dislocations o the knee may rupture the artery, resulting in hemorrhage. Furthermore, because o their proximity and connement within the popliteal ossa, an injury o the artery and vein may result in an arteriovenous stula (communication between an artery and a vein). Failure to recognize these occurrences and to act promptly may result in the loss o the leg and oot. I the emoral artery must be ligated, blood can bypass the occlusion through the genicular anastomosis and reach the popliteal artery distal to the ligation (see Fig. 7.53). Injury to Tibial Nerve Injury to the tibial nerve is uncommon because o its deep and protected position in the popliteal ossa; however, the nerve may be injured by deep lacerations in the ossa. Posterior dislocation o the knee joint may also damage the tibial nerve. Severance o the tibial nerve produces paralysis o the fexor muscles in the leg and the intrinsic muscles in the sole o the oot. People with a tibial nerve injury are unable to plantarfex their ankle or fex their toes. Loss o sensation also occurs on the sole o the oot. Containment and Spread o Compartmental Inections in Leg The ascial compartments o the lower limbs are generally closed spaces, ending proximally and dis- tally at the joints. Because the septa and deep ascia o the leg orming the boundaries o the leg compartments are strong, the increased volume consequent to inection with suppuration (ormation o pus) increases intracom- partmental pressure. Infammations within the anterior and posterior compartments o the leg spread chiefy in a dis- tal direction; however, a purulent (pus-orming) inection in the lateral compartment o the leg can ascend proximally into the popliteal ossa, presumably along the course o the bular nerve. Fasciotomy (incision o ascia) may be neces- sary to relieve pressure and debride (scrape away) pockets o inection. Tibialis Anterior Strain (Shin Splints) Shin splints—edema and pain in the area o the distal two thirds o the tibia—result rom repeti- tive microtrauma o the tibialis anterior (TA; Fig. 7.57A), which causes small tears in the periosteum cov- ering the shat o the tibia and/or o feshy attachments to the overlying deep ascia o the leg. Shin splints are a mild orm o the anterior compartment syndrome. Shin splints com- monly occur during traumatic injury or athletic overexertion o muscles in the anterior compartment, especially TA, by untrained persons. Oten, persons who lead sedentary lives develop shin splints when they participate in long-distance walks. Shin splints also occur in trained runners who do not warm up and cool down suciently. Muscles in the anterior compartment swell rom sudden overuse, and the edema and muscle–tendon infammation reduce the blood fow to the muscles. The swollen muscles are painul and tender to pressure. Fibularis Muscles and Evolution o Human Foot Whereas the eet o anthropoids (higher pri- mates) are inverted so that they walk on the outer border o the oot, the eet o humans are rela- tively everted (pronated) so that the soles lie more ully on the ground. This pronation is the result, at least in part, o the medial migration o the distal attachment o the bu- laris longus across the sole o the oot (Fig. 7.62K) and the development o a bularis tertius that is attached to the base o the 5th metatarsal. These eatures are unique to the human oot. Injury to Common Fibular Nerve and Footdrop Because o its supercial position, the common bular nerve is the nerve most oten injured in the lower limb, mainly because it winds subcu- taneously around the bular neck, leaving it vulnerable to direct trauma (see Fig. 7.58A). This nerve may also be severed during racture o the bular neck or severely stretched when the knee joint is injured or dislocated. Severance o the common bular nerve results in faccid paralysis o all muscles in the anterior and lateral compart- ments o the leg (dorsifexors o ankle and evertors o oot). The loss o dorsifexion o the ankle causes ootdrop, which is urther exacerbated by unopposed inversion o the oot. This has the eect o making the limb “too long”: the toes do not clear the ground during the swing phase o walking (Fig. B7.21A, E). There are several other conditions that may result in a lower limb that is “too long” unctionally, or example, pelvic tilt (see Fig. B7.19C) and spastic paralysis or contraction o the soleus. There are at least three means o compensating or this problem: 1. A waddling gait, in which the individual leans to the side opposite the long limb, “hiking” the hip (Fig. B7.21B). 2. A swing-out gait, in which the long limb is swung out laterally (abducted) to allow the toes to clear the ground (Fig. B7.21C). Popliteal Fossa and Leg 765 Popliteal Fossa and Leg 765 (A) (B) (C) (D) (E) FIGURE B7.21. 3. A high-stepping steppage gait, in which extra fexion is employed at the hip and knee to raise the oot as high as necessary to keep the toes rom hitting the ground (Fig. B7.21D, E). Because the dropped oot makes it dicult to make the heel strike the ground rst as in a normal gait, a steppage gait is commonly employed in the case o faccid paralysis. Sometimes, an extra “kick” is added as the ree limb swings orward in an attempt to fip the oreoot upward just beore setting the oot down. The braking action normally produced by eccentric con- traction o the dorsifexors is also lost in faccid paralysis oot- drop. Thereore, the oot is not lowered to the ground in a controlled manner ater heel strike; instead, the oot slaps the ground suddenly, producing a distinctive “clop” and greatly increasing the shock both received by the oreoot and transmitted up the tibia to the knee. Individuals with a common bular nerve injury may also experience a variable loss o sensation on the anterolateral aspect o the leg and the dorsum o the oot. Deep Fibular Nerve Entrapment Excessive use o muscles supplied by the deep bu- lar nerve (e.g., during skiing, running, and danc- ing) may result in muscle injury and edema in the anterior compartment. This entrapment may cause com- pression o the deep bular nerve and pain in the anterior compartment. Compression o the deep bular nerve by tight-tting ski boots, or example, may occur where the nerve passes deep to the inerior extensor retinaculum and the extensor hallucis brevis (see Fig. 7.55A). Pain occurs in the dorsum o the oot and usually radiates to the web space between the 1st and 2nd toes. Because ski boots are a common cause o this type o nerve entrapment, this condition has been called the “ski boot syndrome”; however, the syndrome also occurs in soc- cer players and runners and can also result rom tight shoes. Superfcial Fibular Nerve Entrapment Chronic ankle sprains may produce recurrent stretching o the supercial bular nerve, which may cause pain along the lateral side o the leg and the dorsum o the ankle and oot. Numbness and paresthesia (tickling or tingling) may be present and increase with activity. Fabella in Gastrocnemius Close to its proximal attachment, the lateral head o the gastrocnemius may contain a sesamoid bone, the abella (L., bean), which articulates with the lateral emoral condyle. The abella is visible in lateral radio- graphs o the knee in 3–5% o people (Fig. B7.22). Calcaneal Tendinitis Infammation o the calcaneal tendon constitutes 9–18% o running injuries. Microscopic tears o col- lagen bers in the tendon, particularly just superior 7 7 Femur Patella Fabella Fibula Tibia Lateral view FIGURE B7.22. 766 766 Chapter 7 Lower Limb Chapter 7 Lower Limb to its attachment to the calcaneus, result in tendinitis, which causes pain during walking, especially when wearing rigid- soled shoes. Calcaneal tendinitis oten occurs during repeti- tive activities, especially in individuals who take up running ater prolonged inactivity, or suddenly increase the intensity o their training, but it may also result rom poor ootwear or training suraces. Ruptured Calcaneal Tendon Rupture o the calcaneal tendon is oten sustained by poorly conditioned people with a history o cal- caneal tendinitis. The injury is typically experienced as an audible snap during a orceul push o (plantarfexion with the knee extended) ollowed immediately by sudden cal pain and sudden dorsifexion o the plantarfexed
Ruptured Calcaneal Tendon Rupture o the calcaneal tendon is oten sustained by poorly conditioned people with a history o cal- caneal tendinitis. The injury is typically experienced as an audible snap during a orceul push o (plantarfexion with the knee extended) ollowed immediately by sudden cal pain and sudden dorsifexion o the plantarfexed oot. In a completely ruptured tendon, a gap is palpable, usually 1–5 cm proximal to the calcaneal attachment. The muscles aected are the gastrocnemius, soleus, and plantaris. Calcaneal tendon rupture is probably the most severe acute muscular problem o the leg. Individuals with this injury cannot plantarfex against resistance (cannot raise the heel rom the ground or balance on the aected side), and passive dorsifexion (usually limited to 20° rom neutral) is excessive. Ambulation (walking) is possible only when the limb is laterally (externally) rotated, rolling over the transversely placed oot during the stance phase without push o. Bruising appears in the malleolar region, and a lump usu- ally appears in the cal owing to shortening o the triceps surae. In older or nonathletic people, nonsurgical repairs are oten adequate, but surgical intervention is usually advised or those with active liestyles, such as tennis players. Calcaneal Tendon Reex The ankle jerk refex, or triceps surae refex, is acalca- neal tendon refex. It is a myotatic refex elicited while the person’s legs are dangling over the side o the examining table. The calcaneal tendon is struck briskly with a refex hammer just proximal to the calcaneus (Fig. B7.23). The normal result is plantarfexion o the ankle joint. The calcaneal tendon refex tests the S1 and S2 nerve roots. I the S1 nerve root is injured or compressed, the ankle refex is virtually absent. Calcaneal tendon FIGURE B7.23. Absence o Plantarexion I the muscles o the cal are paralyzed, the cal- caneal tendon is ruptured, or normal push o is painul, a much less eective and ecient push o (rom the midoot) can still be accomplished by the actions o the gluteus maximus and hamstrings in extending the thigh at the hip joint and the quadriceps in extending the knee. Because push o rom the oreoot is not possible (in act, the ankle will be passively dorsifexed as the body’s weight moves anterior to the oot), those attempting to walk in the absence o plantarfexion oten rotate the oot as ar later- ally (externally) as possible during the stance phase to dis- able passive dorsifexion and allow a more eective push o through hip and knee extension exerted at the midoot. Gastrocnemius Strain Gastrocnemius strain (tennis leg) is a painul acute injury resulting rom partial tearing o the medial belly o the gastrocnemius at or near its musculo- tendinous junction, oten seen in individuals older than 40 years o age. It is caused by overstretching the muscle by concomitant ull extension o the knee and dorsifexion o the ankle joint. Usually, an abrupt onset o stabbing pain is ollowed by edema and spasm o the gastrocnemius. Calcaneal Bursitis Calcaneal bursitis (retro-Achilles bursitis) results rom infammation o the deep bursa o the calca- neal tendon, located between the calcaneal tendon and the superior part o the posterior surace o the calcaneus (Fig. B7.24). Calcaneal bursitis causes pain posterior to the heel and occurs commonly during long-distance running, basketball, and tennis. It is caused by excessive riction on the bursa as the tendon continuously slides over it. Venous Return From Leg A venous plexus deep to the triceps surae is involved in the return o blood rom the leg. When a person is standing, the venous return rom the leg depends largely on the muscular activity o the triceps surae Calcaneal tendon Deep calcaneal bursa FIGURE B7.24. (see “Venous Drainage o Lower Limb” in this chapter). Contraction o the cal muscles pumps blood superiorly in the deep veins. The musculovenous pump is improved by the deep ascia that invests the muscles like an elastic stocking. Accessory Soleus An accessory soleus is present in approximately 3% o people (Fig. B7.25). The accessory muscle usu- ally appears as a distal belly medial to the calcaneal tendon. Clinically, an accessory soleus may be associated with pain and edema (swelling) during prolonged exercise. Gastrocnemius Soleus Accessory soleus Posterior view FIGURE B7.25. The Bottom Line POPLITEAL FOSSA AND LEG Popliteal ossa: The popliteal ossa is a at-flled and relatively confned compartment posterior to the knee that is traversed by all neurovascular structures passing between the thigh and the leg. ● The sciatic nerve biurcates at the apex o the ossa, with the common fbular nerve passing laterally along the biceps tendon. ● The tibial nerve, popliteal vein, and popliteal artery bisect the ossa—in that order, rom superfcial (posterior) to deep (anterior). ● Genicular branches o the popliteal artery orm a peri-articular genicular anastomosis around the knee, providing collateral circulation to maintain blood ow in all positions o the knee. Popliteal Fossa and Leg 767 Popliteal Fossa and Leg 767 Posterior Tibial Pulse The posterior tibial pulse can usually be palpated between the posterior surace o the medial malleo- lus and the medial border o the calcaneal tendon (Fig. B7.26). Because the posterior tibial artery passes deep to the fexor retinaculum, it is important when palpating this pulse to have the person invert the oot to relax the retinacu- lum. Failure to do so may lead to the erroneous conclusion that a pulse is absent. Both arteries are examined simultaneously or equal- ity o orce. Palpation o the posterior tibial pulses is essential or examining patients with occlusive periph- eral arterial disease. Although posterior tibial pulses are absent in approximately 15% o normal young people, absence o posterior tibial pulses is a sign o occlusive peripheral arterial disease in people older than 60 years. For example, intermittent claudication, characterized by leg pain and cramps, develops during walking and disap- pears ater rest. These conditions result rom ischemia o the leg muscles caused by narrowing or occlusion o the leg arteries.
Can you give me a summary of these clinicals and important points only for exam purpose
| Compartment | Direction of Spread |
|---|---|
| Anterior | Distally |
| Posterior | Distally |
| Lateral | Proximally into popliteal fossa (along fibular nerve) |
| Fact | Answer |
|---|---|
| Most commonly injured nerve in lower limb | Common fibular nerve |
| Gait in flaccid footdrop | Steppage gait |
| Calcaneal tendon reflex tests | S1, S2 |
| Popliteal aneurysm distinguished by | Thrills + bruits |
| Lateral compartment infection spreads | Proximally into popliteal fossa |
| Posterior tibial pulse - invert foot because | Relaxes flexor retinaculum |
| Ski boot syndrome nerve | Deep fibular nerve (1st-2nd toe web space) |
Create a quick reference PDF cheat sheet of these clinical points
ls -la /tmp/workspace/ 2>/dev/null || mkdir -p /tmp/workspace && echo "created"
mkdir -p /tmp/workspace/popliteal-cheatsheet && cat > /tmp/workspace/popliteal-cheatsheet/generate_pdf.py << 'PYEOF' from reportlab.lib.pagesizes import A4 from reportlab.lib import colors from reportlab.lib.units import mm from reportlab.platypus import (SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle, HRFlowable, KeepTogether) from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle from reportlab.lib.enums import TA_LEFT, TA_CENTER from reportlab.platypus import PageBreak OUTPUT = "/tmp/workspace/popliteal-cheatsheet/Popliteal_Fossa_Leg_Cheatsheet.pdf" doc = SimpleDocTemplate( OUTPUT, pagesize=A4, leftMargin=12*mm, rightMargin=12*mm, topMargin=14*mm, bottomMargin=12*mm, ) # ── Colours ────────────────────────────────────────────────────────────────── DARK_BLUE = colors.HexColor("#1a3a5c") MED_BLUE = colors.HexColor("#2563a8") LIGHT_BLUE = colors.HexColor("#dbeafe") ACCENT_RED = colors.HexColor("#c0392b") ACCENT_GOLD = colors.HexColor("#f0a500") LIGHT_GOLD = colors.HexColor("#fff8e1") LIGHT_RED = colors.HexColor("#fdecea") LIGHT_GREEN = colors.HexColor("#e8f5e9") MED_GREEN = colors.HexColor("#2e7d32") WHITE = colors.white DARK_GRAY = colors.HexColor("#2d2d2d") MID_GRAY = colors.HexColor("#555555") LIGHT_GRAY = colors.HexColor("#f4f4f4") BORDER_GRAY = colors.HexColor("#cccccc") # ── Styles ──────────────────────────────────────────────────────────────────── styles = getSampleStyleSheet() def S(name, **kw): return ParagraphStyle(name, **kw) title_style = S("Title", fontSize=18, leading=22, textColor=WHITE, fontName="Helvetica-Bold", alignment=TA_CENTER, spaceAfter=0) subtitle_style = S("Subtitle", fontSize=9, leading=12, textColor=colors.HexColor("#b0c8e8"), fontName="Helvetica", alignment=TA_CENTER) section_style = S("Section", fontSize=9.5, leading=13, textColor=WHITE, fontName="Helvetica-Bold", spaceBefore=0, spaceAfter=0) bullet_style = S("Bullet", fontSize=8, leading=11.5, textColor=DARK_GRAY, fontName="Helvetica", leftIndent=10, spaceBefore=1) bullet_bold = S("BulletBold", fontSize=8, leading=11.5, textColor=DARK_GRAY, fontName="Helvetica-Bold", leftIndent=10, spaceBefore=1) warn_style = S("Warn", fontSize=8, leading=11, textColor=ACCENT_RED, fontName="Helvetica-Bold", leftIndent=10) key_style = S("Key", fontSize=7.5, leading=10.5, textColor=DARK_GRAY, fontName="Helvetica", leftIndent=4) table_hdr = S("TableHdr", fontSize=8, leading=10, textColor=WHITE, fontName="Helvetica-Bold", alignment=TA_CENTER) table_cell = S("TableCell", fontSize=7.5, leading=10, textColor=DARK_GRAY, fontName="Helvetica", alignment=TA_LEFT) story = [] # ══════════════════════════════════════════════════════════════════════════════ # HEADER BANNER # ══════════════════════════════════════════════════════════════════════════════ header_data = [[ Paragraph("POPLITEAL FOSSA & LEG", title_style), Paragraph("Clinical Quick-Reference Cheat Sheet | Exam Edition", subtitle_style) ]] header_tbl = Table(header_data, colWidths=[186*mm]) header_tbl.setStyle(TableStyle([ ("BACKGROUND", (0,0), (-1,-1), DARK_BLUE), ("BOTTOMPADDING", (0,0), (-1,-1), 8), ("TOPPADDING", (0,0), (-1,-1), 10), ("LEFTPADDING", (0,0), (-1,-1), 8), ("RIGHTPADDING", (0,0), (-1,-1), 8), ("ROWBACKGROUNDS", (0,0), (-1,-1), [DARK_BLUE]), ("SPAN", (0,0), (-1,-1)), ])) story.append(header_tbl) story.append(Spacer(1, 4*mm)) # ── helper: section header ──────────────────────────────────────────────────── def sec_header(text, color=MED_BLUE): t = Table([[Paragraph(text, section_style)]], colWidths=[186*mm]) t.setStyle(TableStyle([ ("BACKGROUND", (0,0), (-1,-1), color), ("TOPPADDING", (0,0), (-1,-1), 4), ("BOTTOMPADDING", (0,0), (-1,-1), 4), ("LEFTPADDING", (0,0), (-1,-1), 8), ("ROUNDEDCORNERS", [3, 3, 3, 3]), ])) return t def b(text): return Paragraph(f"• {text}", bullet_style) def bb(text): return Paragraph(f"• {text}", bullet_bold) def warn(text): return Paragraph(f"⚠ {text}", warn_style) def sp(h=2): return Spacer(1, h*mm) # ══════════════════════════════════════════════════════════════════════════════ # ROW 1: TWO COLUMNS (Popliteal Artery topics | Nerve Injuries) # ══════════════════════════════════════════════════════════════════════════════ col_w = [91*mm, 91*mm] # ── Left: Popliteal Pulse / Aneurysm / Tibial Nerve ────────────────────────── left_items = [ sec_header("1. POPLITEAL PULSE"), b("Artery is deep → difficult to feel"), b("Patient: <b>prone, knee flexed</b> (relaxes fascia + hamstrings)"), b("Best palpated at inferior fossa (artery contacts tibia)"), warn("Weak/absent = femoral artery obstruction"), sp(2), sec_header("2. POPLITEAL ANEURYSM"), b("Causes <b>edema + pain</b> in popliteal fossa"), b("Distinguished by <b>palpable thrills + bruits</b> on auscultation"), b("Artery lies <b>deep to tibial nerve</b> → nerve compression → pain referred to <b>medial calf / ankle / foot</b>"), b("Distal femur fracture or knee dislocation → can <b>rupture</b> popliteal artery"), b("Artery + vein injury → <b>arteriovenous fistula</b>"), b("Femoral ligation bypassed via <b>genicular anastomosis</b>"), sp(2), sec_header("3. POPLITEAL ABSCESS / TUMOR"), b("Strong deep fascia limits expansion → <b>severe pain</b>"), b("Abscess spreads <b>superiorly & inferiorly</b> (fascia too tough laterally)"), ] # ── Right: Nerve Injuries ───────────────────────────────────────────────────── right_items = [ sec_header("4. TIBIAL NERVE INJURY"), b("Protected position → <b>uncommon</b>"), b("Caused by: deep lacerations, <b>posterior knee dislocation</b>"), b("Paralysis: flexor muscles of leg + intrinsic muscles of <b>sole</b>"), b("Cannot <b>plantarflex</b> ankle or <b>flex toes</b>"), warn("Loss of sensation on SOLE of foot"), sp(2), sec_header("5. COMMON FIBULAR NERVE INJURY ★", color=ACCENT_RED), bb("MOST COMMONLY injured nerve in lower limb"), b("Vulnerable at <b>fibular neck</b> (winds subcutaneously)"), b("Causes: direct trauma, fibular neck fracture, knee dislocation"), b("Results in: paralysis of <b>anterior + lateral compartments</b>"), b("→ Footdrop + unopposed inversion"), warn("Sensation lost: anterolateral leg + dorsum of foot"), b("<b>3 Compensatory Gaits:</b>"), b(" 1. Waddling gait – leans to opposite side"), b(" 2. Swing-out (circumduction) – limb abducted"), bb(" 3. Steppage gait – extra hip + knee flexion (most common)"), b("'Foot slap' = braking action of dorsiflexors lost"), ] # equal row count while len(left_items) < len(right_items): left_items.append(sp(2)) while len(right_items) < len(left_items): right_items.append(sp(2)) two_col = Table([[left_items, right_items]], colWidths=col_w) two_col.setStyle(TableStyle([ ("VALIGN", (0,0), (-1,-1), "TOP"), ("LEFTPADDING", (0,0), (-1,-1), 3), ("RIGHTPADDING", (0,0), (-1,-1), 3), ("TOPPADDING", (0,0), (-1,-1), 0), ("BOTTOMPADDING", (0,0), (-1,-1), 0), ])) story.append(two_col) story.append(sp(3)) # ══════════════════════════════════════════════════════════════════════════════ # ROW 2: Entrapment syndromes + Compartment infections + Shin Splints # ══════════════════════════════════════════════════════════════════════════════ left2 = [ sec_header("6. DEEP FIBULAR NERVE ENTRAPMENT\n(Ski Boot Syndrome)", color=MED_GREEN), b("Tight ski boots / overuse (skiing, running, dancing)"), b("Compressed under <b>inferior extensor retinaculum + EHB</b>"), warn("Pain: dorsum of foot + 1st–2nd toe WEB SPACE"), sp(2), sec_header("7. SUPERFICIAL FIBULAR NERVE ENTRAPMENT", color=MED_GREEN), b("Caused by: <b>chronic ankle sprains</b>"), b("Pain: lateral leg + dorsum of ankle/foot"), b("Numbness + paresthesia (worsens with activity)"), ] right2 = [ sec_header("8. COMPARTMENTAL INFECTION SPREAD"), b("<b>Anterior compartment</b> → spreads <b>distally</b>"), b("<b>Posterior compartment</b> → spreads <b>distally</b>"), warn("Lateral compartment → spreads PROXIMALLY into popliteal fossa (along fibular nerve)"), b("Treatment: <b>Fasciotomy</b> to relieve pressure"), sp(2), sec_header("9. SHIN SPLINTS (Tibialis Anterior Strain)"), b("Pain over <b>distal 2/3 of tibia</b>"), b("Mild form of <b>anterior compartment syndrome</b>"), b("Cause: repetitive microtrauma → periosteal tears"), b("Common in sedentary people, runners without warm-up"), ] while len(left2) < len(right2): left2.append(sp(1)) while len(right2) < len(left2): right2.append(sp(1)) row2 = Table([[left2, right2]], colWidths=col_w) row2.setStyle(TableStyle([ ("VALIGN", (0,0), (-1,-1), "TOP"), ("LEFTPADDING", (0,0), (-1,-1), 3), ("RIGHTPADDING", (0,0), (-1,-1), 3), ("TOPPADDING", (0,0), (-1,-1), 0), ("BOTTOMPADDING", (0,0), (-1,-1), 0), ])) story.append(row2) story.append(sp(3)) # ══════════════════════════════════════════════════════════════════════════════ # ROW 3: Calcaneal Tendon conditions (full width split 3 cols) # ══════════════════════════════════════════════════════════════════════════════ c3w = [62*mm, 62*mm, 62*mm] col_a = [ sec_header("10. CALCANEAL TENDINITIS"), b("9–18% of running injuries"), b("Collagen tears <b>just superior to</b> calcaneal attachment"), b("Pain during walking with <b>rigid-soled shoes</b>"), b("Risk: sudden increase in training, poor footwear"), sp(2), sec_header("11. CALCANEAL BURSITIS\n(Retro-Achilles Bursitis)"), b("Inflammation of <b>deep bursa</b> between calcaneal tendon & posterior calcaneus"), b("Pain <b>posterior to heel</b>"), b("Common: long-distance running, basketball, tennis"), b("Cause: excessive tendon friction over bursa"), ] col_b = [ sec_header("12. RUPTURED CALCANEAL TENDON ★", color=ACCENT_RED), b("Poorly conditioned people + history of tendinitis"), b("Mechanism: forceful <b>plantarflexion with knee extended</b>"), bb("Signs:"), b(" • Audible SNAP"), b(" • Palpable gap <b>1–5 cm proximal</b> to attachment"), b(" • Cannot plantarflex against resistance"), b(" • Excessive passive dorsiflexion (>20°)"), b(" • Bruising in malleolar region"), b(" • Calf lump (triceps surae shortening)"), warn("Management: nonsurgical (older/inactive); SURGICAL (active)"), ] col_c = [ sec_header("13. CALCANEAL TENDON REFLEX"), b("Tests <b>S1 and S2</b> nerve roots"), b("Strike tendon proximal to calcaneus → plantarflexion"), warn("Absent reflex = S1 nerve root injury"), sp(2), sec_header("14. GASTROCNEMIUS STRAIN\n(Tennis Leg)"), b("Partial tear of <b>medial belly</b> at musculotendinous junction"), b("Age: typically <b>>40 years</b>"), b("Mechanism: simultaneous <b>full knee extension +\nankle dorsiflexion</b>"), b("Sudden stabbing pain + edema + spasm"), sp(2), sec_header("15. FABELLA"), b("Sesamoid in lateral head of gastrocnemius"), warn("Visible in only 3–5% of people on lateral X-ray"), ] while len(col_a) < len(col_b): col_a.append(sp(1)) while len(col_b) < len(col_a): col_b.append(sp(1)) while len(col_c) < len(col_a): col_c.append(sp(1)) while len(col_a) < len(col_c): col_a.append(sp(1)) while len(col_b) < len(col_c): col_b.append(sp(1)) row3 = Table([[col_a, col_b, col_c]], colWidths=c3w) row3.setStyle(TableStyle([ ("VALIGN", (0,0), (-1,-1), "TOP"), ("LEFTPADDING", (0,0), (-1,-1), 3), ("RIGHTPADDING", (0,0), (-1,-1), 3), ("TOPPADDING", (0,0), (-1,-1), 0), ("BOTTOMPADDING", (0,0), (-1,-1), 0), ])) story.append(row3) story.append(sp(3)) # ══════════════════════════════════════════════════════════════════════════════ # POSTERIOR TIBIAL PULSE (full width) # ══════════════════════════════════════════════════════════════════════════════ story.append(sec_header("16. POSTERIOR TIBIAL PULSE & PERIPHERAL ARTERIAL DISEASE")) story.append(sp(1)) pt_items = [ [b("Palpated between <b>posterior medial malleolus + medial border of calcaneal tendon</b>"), b("<b>Invert foot</b> first to relax flexor retinaculum (prevents false-negative)"), b("Absent in ~15% of <b>normal young people</b> (not pathological)")], [warn("Absent in >60 yrs = OCCLUSIVE PERIPHERAL ARTERIAL DISEASE"), b("<b>Intermittent claudication</b> = leg pain during walking, relieved by rest"), b("Cause: ischemia from arterial narrowing/occlusion")], ] pt_tbl = Table(pt_items, colWidths=[62*mm, 62*mm, 62*mm]) pt_tbl.setStyle(TableStyle([ ("VALIGN", (0,0), (-1,-1), "TOP"), ("LEFTPADDING", (0,0), (-1,-1), 4), ("TOPPADDING", (0,0), (-1,-1), 2), ("BOTTOMPADDING", (0,0), (-1,-1), 2), ])) story.append(pt_tbl) story.append(sp(3)) # ══════════════════════════════════════════════════════════════════════════════ # QUICK-REFERENCE TABLE # ══════════════════════════════════════════════════════════════════════════════ story.append(HRFlowable(width="100%", thickness=1.5, color=DARK_BLUE, spaceAfter=4)) story.append(sec_header("★ HIGH-YIELD QUICK-REFERENCE TABLE", color=DARK_BLUE)) story.append(sp(1)) qr_data = [ [Paragraph("Fact / Question", table_hdr), Paragraph("Key Answer", table_hdr)], [Paragraph("Most commonly injured nerve in lower limb", key_style), Paragraph("<b>Common fibular nerve</b> (at fibular neck)", key_style)], [Paragraph("Gait in flaccid footdrop", key_style), Paragraph("<b>Steppage gait</b> (high-stepping)", key_style)], [Paragraph("Calcaneal tendon reflex tests nerve roots", key_style), Paragraph("<b>S1 and S2</b>", key_style)], [Paragraph("How to distinguish popliteal aneurysm", key_style), Paragraph("<b>Palpable thrills + bruits</b> on auscultation", key_style)], [Paragraph("Direction infection spreads from lateral leg compartment", key_style), Paragraph("<b>Proximally → into popliteal fossa</b> (along fibular nerve)", key_style)], [Paragraph("Why invert foot before palpating posterior tibial pulse", key_style), Paragraph("Relaxes <b>flexor retinaculum</b> (prevents false-negative)", key_style)], [Paragraph("Ski boot syndrome nerve + symptom location", key_style), Paragraph("<b>Deep fibular nerve;</b> pain radiates to <b>1st–2nd toe web space</b>", key_style)], [Paragraph("Tibial nerve injury → sensation lost where", key_style), Paragraph("<b>Sole of foot</b>", key_style)], [Paragraph("Ruptured calcaneal tendon: palpable gap location", key_style), Paragraph("<b>1–5 cm proximal</b> to calcaneal attachment", key_style)], [Paragraph("Absent ankle jerk reflex (>60 yrs) significance", key_style), Paragraph("<b>Occlusive peripheral arterial disease</b>", key_style)], [Paragraph("Tennis leg: which part of gastrocnemius tears", key_style), Paragraph("<b>Medial belly</b> at musculotendinous junction", key_style)], [Paragraph("Fabella visibility on X-ray", key_style), Paragraph("<b>3–5%</b> of people (lateral view)", key_style)], [Paragraph("Calcaneal tendinitis: % of running injuries", key_style), Paragraph("<b>9–18%</b>", key_style)], ] qr_table = Table(qr_data, colWidths=[95*mm, 91*mm]) qr_table.setStyle(TableStyle([ ("BACKGROUND", (0,0), (-1,0), DARK_BLUE), ("ROWBACKGROUNDS", (0,1), (-1,-1), [WHITE, LIGHT_GRAY]), ("GRID", (0,0), (-1,-1), 0.4, BORDER_GRAY), ("TOPPADDING", (0,0), (-1,-1), 4), ("BOTTOMPADDING", (0,0), (-1,-1), 4), ("LEFTPADDING", (0,0), (-1,-1), 6), ("RIGHTPADDING", (0,0), (-1,-1), 6), ("VALIGN", (0,0), (-1,-1), "MIDDLE"), ])) story.append(qr_table) story.append(sp(3)) # ══════════════════════════════════════════════════════════════════════════════ # FOOTER # ══════════════════════════════════════════════════════════════════════════════ footer_style = S("Footer", fontSize=7, leading=9, textColor=colors.HexColor("#888888"), fontName="Helvetica", alignment=TA_CENTER) story.append(HRFlowable(width="100%", thickness=0.5, color=BORDER_GRAY)) story.append(sp(1)) story.append(Paragraph( "Popliteal Fossa & Leg Clinical Cheatsheet | Based on Moore's Clinically Oriented Anatomy | For Exam Use Only", footer_style)) # ── Build ───────────────────────────────────────────────────────────────────── doc.build(story) print("PDF generated:", OUTPUT) PYEOF echo "Script written"
cd /tmp/workspace/popliteal-cheatsheet && python generate_pdf.py
ls -lh /tmp/workspace/popliteal-cheatsheet/
Popliteal Fossa Leg Cheatsheet
PDF Document · PDF