attachment
attachment

Give me a 10 marks answer for each question for 1st year theory exam mbbs based on bdc and grays anatomy south asia edition

analyse_media
Reading File
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Reading File
Finding Sources
Finding Sources
Reading File
Reading File
Reading File
Reading File
Finding Sources
Finding Sources
Reading File
Reading File
Reading File
Reading File
Finding Sources
Reading File
Finding Sources
Here are comprehensive 10-mark exam answers for all questions from the image, based on BDC Human Anatomy (9th ed., Vol. 2) and Gray's Anatomy for Students (South Asia Edition):

ANATOMY - FIRST YEAR MBBS (BFUHS) - 10 MARK ANSWERS


SECTION: LOWER LIMB - BONES


Q1. Why does avascular necrosis of the head of femur occur following fracture neck of femur? (2021)

(BDC Vol. 2, p 21)
Introduction: Avascular necrosis (AVN) of the femoral head is one of the most serious complications of a fractured neck of femur. Its occurrence is directly related to the precarious blood supply to the femoral head.
Blood Supply to the Head of Femur: The femoral head receives its blood supply from three main sources:
  1. Medial circumflex femoral artery (MCFA) - the most important, gives retinacular branches (superior and inferior) that ascend along the femoral neck beneath the synovial reflection to supply the head. It is a branch of the profunda femoris artery.
  2. Lateral circumflex femoral artery (LCFA) - minor contribution via retinacular branches.
  3. Artery of ligamentum teres (obturator artery branch) - supplies a small area around the fovea; functionally insignificant in adults.
The retinacular vessels run along the neck of the femur in subsynovial retinacular folds (Weitbrecht's retinacula). These are the main supply in adults.
Why AVN Occurs: When the neck of femur fractures:
  • The retinacular vessels are torn or compressed by the displaced bone fragments.
  • Since the femoral head lies entirely within the joint capsule (intracapsular fracture), the vessels inside the capsule are also disrupted.
  • The artery of the ligamentum teres is too small in adults to compensate.
  • An intra-articular hematoma can further raise pressure within the joint capsule, compressing the remaining vessels (tamponade effect).
  • The result is complete ischemia of the femoral head, leading to osteonecrosis.
Risk Factors Increasing AVN:
  • Degree of displacement (Garden Stage III & IV - displaced fractures carry highest risk)
  • Delay in surgical fixation
  • Elderly osteoporotic patients
Key Anatomical Point: The medial circumflex femoral artery is the dominant artery supplying the femoral head. It pierces the capsule at the base of the neck and runs proximally. Any intracapsular fracture that displaces interrupts this supply.
Clinical Implication: AVN may manifest as femoral head collapse weeks to months after fracture. Treatment options include hemiarthroplasty or total hip replacement.
(Gray's Anatomy for Students, South Asia Ed.; Thieme Atlas of Anatomy - Musculoskeletal System, p 452)

SECTION: FRONT OF THIGH


Q2. Draw and label boundaries and contents of femoral triangle. (2015, 2014, 2007)

(BDC Vol. 2, p 52-54)
Introduction: The femoral triangle is a wedge-shaped (triangular) subfascial space on the upper anterior aspect of the thigh, just below the inguinal ligament.
Boundaries:
BorderStructure
Base (superior)Inguinal ligament
Lateral borderMedial border of Sartorius muscle
Medial borderMedial border of Adductor longus muscle
ApexPoints inferiorly, where the two muscles meet; is continuous with the adductor canal
FloorLaterally - Iliopsoas muscle; Medially - Pectineus and Adductor longus
RoofFascia lata (deep fascia of the thigh), pierced by the great saphenous vein at the saphenous opening (fossa ovalis)
Contents (from lateral to medial - "NAVEL" mnemonic):
  1. N - Nerve (femoral nerve) - most lateral; divides into anterior and posterior divisions
  2. A - Artery (femoral artery) - central; pulse felt at mid-inguinal point
  3. V - Vein (femoral vein) - medial to artery
  4. E - Empty space (femoral canal) - most medial compartment
  5. L - Lymphatics (deep inguinal lymph nodes and lymphatic vessels)
The Femoral Sheath: The femoral artery, vein, and canal are enclosed in a fascial sheath called the femoral sheath, formed by:
  • Anterior wall: Transversalis fascia
  • Posterior wall: Iliacus fascia Divided into 3 compartments: lateral (artery), middle (vein), medial (femoral canal).
Note: The femoral nerve lies lateral to the femoral sheath and is NOT enclosed within it.
Diagram:
    Inguinal Ligament (Base)
   /                          \
Sartorius                   Adductor Longus
(lateral)                   (medial)
     \                      /
           APEX
      (→ Adductor Canal)

Floor: Iliopsoas | Pectineus + Adductor Longus
Contents: Nerve | Artery | Vein | Canal | Lymphatics
(lateral -----------------------------> medial)
Applied Anatomy:
  • Femoral pulse is palpated at the mid-inguinal point (midpoint between ASIS and pubic symphysis)
  • Femoral hernia occurs through the femoral ring (superior opening of femoral canal)
  • Femoral artery catheterization uses this triangle for access
(Gray's Anatomy for Students - Femoral Triangle, p 675)

Q3. Describe the boundaries and contents of adductor canal. (2023, 2022, 2010, 2008)

(BDC Vol. 2, p 63-64)
Introduction: The adductor canal (subsartorial canal, Hunter's canal) is a fascial tunnel in the middle third of the thigh through which the femoral vessels pass from the femoral triangle to the popliteal fossa.
Extent: From the apex of the femoral triangle (superior) to the adductor hiatus in the adductor magnus (inferior).
Boundaries:
WallStructure
Anterior/LateralVastus medialis muscle
PosteriorAdductor longus (upper part) and Adductor magnus (lower part)
Roof/MedialSartorius muscle (overlies the canal as a roof)
FloorAdductor longus + Adductor magnus
Contents:
  1. Femoral artery - main occupant; exits at adductor hiatus as popliteal artery
  2. Femoral vein - lies posterior to the artery in the canal
  3. Saphenous nerve (largest cutaneous branch of femoral nerve) - enters canal and exits through the fascia between the sartorius and gracilis to supply the medial leg and foot
  4. Nerve to vastus medialis - travels briefly in the canal before entering the muscle
  5. Descending genicular artery - branch of femoral artery given off in the canal; supplies the knee joint
Opening:
  • Superior: Apex of the femoral triangle
  • Inferior: Adductor hiatus (gap in the tendon of adductor magnus); femoral vessels pass through to become popliteal vessels
Applied Anatomy:
  • Adductor canal block is used in regional anesthesia for knee surgery - the saphenous nerve is blocked without significantly affecting motor power (motor-sparing block)
  • Femoral artery stenosis within the canal causes thigh claudication
  • The canal provides a fascial pathway for spread of infection between thigh and popliteal fossa
(Gray's Anatomy for Students - South Asia Ed.; Thieme Atlas - Adductor Canal, p 507)

Q4. Describe the vastus medialis muscle. (2021)

(BDC Vol. 2, p 62)
Introduction: Vastus medialis is one of the four heads of quadriceps femoris and is the most medially placed component. It forms the prominent bulge on the medial side of the lower thigh, especially noticeable above the patella.
a. Origin:
  • Medial lip of the linea aspera (entire length)
  • Lower part of the intertrochanteric line
  • Medial supracondylar line of the femur
b. Insertion:
  • Medial border of the patella via the quadriceps femoris tendon
  • Medial aspect of the tibial tuberosity via the medial patellar retinaculum
  • Medial and lateral condyles of the tibia (via retinacula)
c. Actions:
  • Extension of the knee joint (primary)
  • Prevents lateral displacement of the patella during knee extension - the inferior oblique fibers (VMO - vastus medialis oblique) have a particular pulling angle that keeps the patella in the trochlear groove
  • Stabilizes the knee joint
Nerve Supply:
  • Femoral nerve (L2, L3, L4)
Blood Supply:
  • Lateral circumflex femoral artery and muscular branches of the femoral artery
Applied Anatomy:
  • Vastus medialis is the last part of quadriceps to recover after knee surgery or immobilization; it is specifically targeted in physiotherapy post total knee replacement
  • VMO weakness is associated with patellofemoral pain syndrome and patellar subluxation/dislocation
  • Wasting of vastus medialis is an early clinical sign of quadriceps weakness
  • In femoral nerve palsy, all four heads of quadriceps are paralyzed, resulting in inability to extend the knee
(Thieme Atlas of Anatomy - Quadriceps Femoris, p 507)

Q5. Write a short note on femoral canal. (2021, 2006 - femoral sheath)

(BDC Vol. 2, p 55)
Introduction: The femoral canal is the most medial compartment of the femoral sheath, situated in the femoral triangle just below the inguinal ligament.
Location: Medial compartment of the femoral sheath, lying medial to the femoral vein.
Boundaries of Femoral Ring (Superior Opening of Canal):
BoundaryStructure
AnteriorInguinal ligament
PosteriorPectineus muscle and its fascia
MedialLacunar ligament (Gimbernat's ligament)
LateralFemoral vein
The ring is covered by the femoral septum (condensation of extraperitoneal tissue).
Dimensions:
  • Length: approximately 1.25 cm
  • Width: approximately 1.25 cm
Contents:
  • Deep inguinal lymph node of Cloquet (Rosenmuller's node) - at the top of the canal
  • Lymphatic vessels
  • Areolar (loose connective) tissue
  • Fat
Function: The femoral canal provides dead space to accommodate the femoral vein when it expands during increased venous return (e.g., exercise).
Applied Anatomy:
  1. Femoral hernia - The femoral ring is a weak point in the lower abdominal wall. Increased intra-abdominal pressure may force extraperitoneal fat and eventually a peritoneal sac through the ring into the canal, constituting a femoral hernia.
  2. More common in females because the female pelvis is wider, making the femoral ring larger (see Q6 below).
  3. The hernial sac, after passing through the femoral ring, turns upward through the saphenous opening (fossa ovalis) and lies superficial to the inguinal ligament.
  4. Aberrant obturator artery - may lie along the medial boundary (lacunar ligament); must be identified during surgical repair of femoral hernia to avoid life-threatening hemorrhage (the "corona mortis" or "death crown").
(Gray's Anatomy for Students - Femoral Sheath and Canal)

Q6. Why does femoral hernia occur? / Anatomical reason for more common prevalence of femoral hernia in females. (2023, 2021)

(BDC Vol. 2, p 55)
Definition: A femoral hernia is a protrusion of abdominal contents (usually a peritoneal sac containing fat or bowel) through the femoral ring into the femoral canal.
Why It Occurs (General Reasons):
  1. The femoral ring is a naturally weak point in the lower abdominal wall
  2. Increased intra-abdominal pressure (straining, obesity, chronic cough, pregnancy, constipation) forces abdominal contents downward
  3. The femoral ring is a potential opening with no muscular support - covered only by the thin femoral septum
  4. The herniated contents then turn upward through the saphenous opening and lie anterior/superior to the inguinal ligament in the superficial fascia
Anatomical/Embryological Reason for Higher Prevalence in Females:
  1. Wider female pelvis: The female pelvis is broader (gynecoid type) compared to the male pelvis. This leads to a wider distance between the inguinal ligament and the pectineus, making the femoral ring inherently larger and weaker.
  2. Smaller femoral ring in males: In males, the larger testicular vessels passing through the inguinal canal partially reduce the space; the femoral ring is also partially occupied by a larger lymph node, making it tighter.
  3. Pregnancy: The growing uterus repeatedly increases intra-abdominal pressure and the pelvic floor is stretched, weakening the boundaries of the femoral ring.
  4. Multiparity: Repeated pregnancies progressively weaken the fascial coverings and the floor of the femoral canal.
  5. Embryological factor: In females, the gubernaculum (round ligament of uterus) passes through the inguinal canal but does not pass through it as prominently as the spermatic cord in males, leaving the femoral ring region comparatively less reinforced.
Clinical Significance:
  • Femoral hernias are 4x more common in females
  • They are prone to strangulation (narrow, rigid ring makes reduction difficult)
  • Distinguished from inguinal hernia: femoral hernia appears below and lateral to pubic tubercle; inguinal hernia appears above and medial

Q7. Differentiate direct and indirect inguinal hernia. (2020)

(BDC Vol. 2, p 252-254)
FeatureDirect Inguinal HerniaIndirect Inguinal Hernia
Age groupMiddle-aged to elderlyYoung adults, children
SexAlmost exclusively maleMale >> Female
CauseAcquired weakness of posterior wall of inguinal canal (Hesselbach's triangle)Congenital - patent processus vaginalis; increased IAP
Site of protrusionDirectly through posterior wall medial to inferior epigastric vessels (Hesselbach's triangle)Through deep inguinal ring, lateral to inferior epigastric vessels
Relation to inferior epigastric arteryMedialLateral
SacNo true peritoneal sac (diffuse bulge)Has a true peritoneal sac
Direction of descentStraight through posterior wall, rarely enters scrotumAlong spermatic cord; can descend into scrotum
Reduction by pressureControlled by pressure over internal ring? NoControlled by pressure over deep inguinal ring? Yes
ComplicationsRarely strangulatesMore prone to strangulation
Cough impulseDiffuse, medialImpulse felt at deep ring
Hesselbach's Triangle: Bounded by: inguinal ligament (inferior), lateral border of rectus abdominis (medial), inferior epigastric vessels (lateral). Direct hernias pass through this triangle.

SECTION: GLUTEAL REGION


Q8. Write a short note on gluteus maximus. (2007, 2018 - nerve supply and action)

(BDC Vol. 2, p 77-81)
Introduction: Gluteus maximus is the largest and heaviest muscle in the body. It forms the bulk of the buttock and is the primary extensor and lateral rotator of the hip joint.
Origin:
  • Ilium: roughened area behind the posterior gluteal line
  • Dorsal surface of lower sacrum and coccyx (lateral surface)
  • External surface of the sacrotuberous ligament
  • Thoracolumbar fascia and fascia over gluteus medius
Insertion:
  • Upper fibers and superficial lower fibers: Posterior aspect of the iliotibial tract (ITB) of the fascia lata
  • Deep lower fibers: Gluteal tuberosity of the proximal femur (between vastus lateralis and adductor magnus)
Nerve Supply:
  • Inferior gluteal nerve (L5, S1, S2)
Blood Supply:
  • Superior and inferior gluteal arteries (branches of internal iliac artery)
Action:
  1. Extension of hip joint - most powerful; crucial for climbing stairs, rising from a chair, and running
  2. Lateral rotation of the femur
  3. Through ITB insertion: Stabilizes the knee in extension and prevents hip adduction
Relations:
  • It overlies the gluteus medius, piriformis, obturator internus and gemelli, quadratus femoris, the sciatic nerve, and the posterior femoral cutaneous nerve
  • The sciatic nerve exits the greater sciatic foramen below piriformis and passes deep to the gluteus maximus
Applied Anatomy:
  1. The gluteus maximus provides the best intramuscular injection site in the upper outer quadrant of the buttock (to avoid the sciatic nerve)
  2. It is used as a flap in reconstructive surgery (gluteal flap)
  3. Gluteus maximus paralysis causes weakness of hip extension and difficulty climbing stairs

Q9. Write about origin, insertion, nerve supply and actions of gluteus medius. (2017, 2012)

(BDC Vol. 2, p 77-78)
Introduction: Gluteus medius is a fan-shaped muscle deep to the gluteus maximus, forming the main abductor of the hip. It is the primary muscle tested in the Trendelenburg test.
Origin:
  • Outer surface of the ilium between the anterior and posterior gluteal lines
  • Fascia covering the muscle
Insertion:
  • Lateral surface and superior border of the greater trochanter of femur
Nerve Supply:
  • Superior gluteal nerve (L4, L5, S1) - this nerve passes between gluteus medius and minimus
Action:
  1. Abduction of the hip (primary action)
  2. Stabilization of the pelvis during walking (single-leg stance phase) - prevents the contralateral side of the pelvis from dropping
  3. Anterior fibers medially rotate the femur
  4. Posterior fibers laterally rotate the femur
Applied Anatomy:
  • Gluteus medius weakness leads to positive Trendelenburg sign and Trendelenburg gait
  • The muscle is injected at its mid-belly for certain IM injections (ventrogluteal site)
  • Injury to the superior gluteal nerve causes abductor weakness

Q10. Write a short note on Trendelenburg test. (2023, 2015, 2008)

(BDC Vol. 2, p 152)
Introduction: The Trendelenburg test is a clinical test that assesses the ability of the hip abductors (primarily gluteus medius and minimus) to stabilize the pelvis on the femur during single-limb stance.
Anatomical Basis: During normal walking, when one foot is lifted off the ground, the entire body weight is borne on the stance limb. The gluteus medius and minimus on the weight-bearing side contract powerfully to keep the pelvis horizontal (preventing the opposite side from dropping). The muscle acts from its insertion on the greater trochanter to stabilize the pelvis.
Procedure:
  1. Patient stands erect, facing the examiner
  2. Patient is asked to raise one foot off the ground (non-weight-bearing)
  3. The examiner observes the pelvis
Normal (Negative Test):
  • When the right leg is raised, the right-side hip abductors (gluteus medius and minimus) contract and elevate the left (non-weight-bearing) side of the pelvis slightly
  • The pelvis tilts toward the raised side - this is a negative Trendelenburg test
Positive Test:
  • When the left leg is raised, if the right hip abductors are weak or non-functional, the right side of the pelvis drops/sags - pelvis tilts toward the non-weight-bearing side
  • The trunk shifts to the affected (weight-bearing) side - Trendelenburg gait
Causes of a Positive Trendelenburg Test:
  1. Gluteus medius/minimus weakness or paralysis (superior gluteal nerve injury)
  2. Non-union/malunion of fracture neck of femur - altered mechanics
  3. Dislocation of hip - altered fulcrum
  4. Coxa vara - reduces lever arm of abductors
  5. Perthes disease, AVN - altered femoral head geometry
  6. Congenital hip dysplasia
Embryological/Anatomical Basis: The superior gluteal nerve (L4, L5, S1) can be injured during a posterior approach to the hip or by pressure during prolonged labour. The muscle acts as a lever: the greater trochanter is the fulcrum, the body weight is the load, and the gluteus medius is the effort. Any condition that shortens the lever arm or weakens the muscle produces a positive test.
(Firestein & Kelley's Textbook of Rheumatology - Hip examination)

SECTION: SURFACE MARKING


Q11. Draw and label dermatomes of lower limb. (2005)

(BDC Vol. 2, p 154-155)
Definition: A dermatome is an area of skin supplied by the posterior (dorsal) root of a single spinal nerve segment.
Dermatomes of Lower Limb:
Spinal LevelArea Supplied
L1Groin/inguinal region
L2Anterior and medial upper thigh
L3Anterior thigh, anterior knee, medial leg
L4Medial leg, medial foot, big toe
L5Lateral leg, dorsum of foot, medial 3 toes
S1Posterior thigh, lateral foot, little toe, heel
S2Posterior thigh and leg (narrow strip)
S3-S5Perianal region, perineum, medial upper thigh
Diagram (schematic):
ANTERIOR VIEW          POSTERIOR VIEW
L1 = Groin             S2 = post. thigh strip
L2 = ant. upper thigh  S1 = posterior thigh/calf
L3 = ant. thigh/knee   L5 = post. lateral leg
L4 = medial leg        S1 = heel/lateral foot
L5 = dorsum of foot
Key Clinical Points:
  • L4 lesion: loss of sensation on medial leg/foot; loss of knee jerk
  • L5 lesion: foot drop; loss of sensation on dorsum of foot
  • S1 lesion: loss of ankle jerk; loss of sensation on lateral foot
  • Dermatomes are tested clinically with a pinprick

IMPORTANT NOTES FOR EXAM:
  • All long questions (10 marks) should include: introduction, anatomy, applied aspects, and a labeled diagram where applicable
  • For any "describe" question: use subheadings (boundaries, contents, relations, applied anatomy)
  • For any "why does X occur" question: start with the anatomical basis and explain the mechanism
  • Always add a simple hand-drawn labeled diagram for femoral triangle and adductor canal - this fetches 2-3 extra marks
References used:
  • BDC Human Anatomy, 9th Edition, Vol. 2 (as referenced in question paper)
  • Gray's Anatomy for Students, South Asia Edition (p 675-681)
  • Thieme Atlas of Anatomy - General Anatomy & Musculoskeletal System (p 452, 507)
  • Firestein & Kelley's Textbook of Rheumatology (Trendelenburg test description)

Generate a Word document with all 10-mark answers for offline study

Reading File
Running Command

ls /home/daytona/workspace/ 2>/dev/null && ls /home/daytona/skills/docx/scripts/office/ 2>/dev/null

Running Command

mkdir -p /home/daytona/workspace/anatomy-answers && node -e "require('docx'); console.log('docx ok')"

Writing File

~/anatomy-answers/generate.js

const {
  Document, Packer, Paragraph, TextRun, Table, TableRow, TableCell,
  HeadingLevel, AlignmentType, BorderStyle, WidthType, VerticalAlign,
  PageNumber, PageBreak, TableOfContents, Header, Footer, ShadingType
} = require('docx');
const fs = require('fs');

// ── colour palette ──────────────────────────────────────────────
const TEAL   = "006064";   // heading 1 background
const BLUE   = "1565C0";   // heading 2 colour
const DBLUE  = "0D47A1";   // heading 3
const WHITE  = "FFFFFF";
const LBLUE  = "E3F2FD";   // table header fill
const LGREY  = "F5F5F5";   // alt row
const BORD   = "90CAF9";   // table border colour

// ── helper: bold label ───────────────────────────────────────────
const bold = (txt, extra = {}) =>
  new TextRun({ text: txt, bold: true, ...extra });
const run = (txt, extra = {}) =>
  new TextRun({ text: txt, ...extra });

// ── helpers for paragraphs ───────────────────────────────────────
function h1(text) {
  return new Paragraph({
    heading: HeadingLevel.HEADING_1,
    children: [new TextRun({ text, bold: true, color: WHITE, size: 28 })],
    shading: { type: ShadingType.SOLID, color: TEAL },
    spacing: { before: 360, after: 120 },
  });
}

function h2(text) {
  return new Paragraph({
    heading: HeadingLevel.HEADING_2,
    children: [new TextRun({ text, bold: true, color: BLUE, size: 26 })],
    spacing: { before: 280, after: 100 },
    border: { bottom: { color: BORD, size: 6, style: BorderStyle.SINGLE } },
  });
}

function h3(text) {
  return new Paragraph({
    heading: HeadingLevel.HEADING_3,
    children: [new TextRun({ text, bold: true, color: DBLUE, size: 24 })],
    spacing: { before: 200, after: 80 },
  });
}

function h4(text) {
  return new Paragraph({
    children: [new TextRun({ text, bold: true, size: 22, color: "37474F" })],
    spacing: { before: 160, after: 60 },
  });
}

function para(text, opts = {}) {
  return new Paragraph({
    children: [new TextRun({ text, size: 22, ...opts })],
    spacing: { before: 60, after: 60 },
  });
}

function bullet(text, level = 0) {
  const indent = level === 0
    ? { left: 360, hanging: 360 }
    : { left: 720, hanging: 360 };
  return new Paragraph({
    bullet: { level },
    children: [new TextRun({ text, size: 22 })],
    indent,
    spacing: { before: 40, after: 40 },
  });
}

function numbered(text) {
  return new Paragraph({
    numbering: { reference: "num1", level: 0 },
    children: [new TextRun({ text, size: 22 })],
    spacing: { before: 40, after: 40 },
  });
}

function note(text) {
  return new Paragraph({
    children: [
      new TextRun({ text: "📌 Applied Anatomy: ", bold: true, size: 22, color: "B71C1C" }),
      new TextRun({ text, size: 22, italics: true }),
    ],
    shading: { type: ShadingType.SOLID, color: "FFF9C4" },
    spacing: { before: 80, after: 80 },
    indent: { left: 360 },
  });
}

function pageBreak() {
  return new Paragraph({ children: [new PageBreak()] });
}

// ── simple 2-col table ────────────────────────────────────────────
function twoColTable(rows, header = null) {
  const tableRows = [];
  if (header) {
    tableRows.push(
      new TableRow({
        children: header.map(h =>
          new TableCell({
            children: [new Paragraph({ children: [bold(h, { color: WHITE, size: 22 })] })],
            shading: { type: ShadingType.SOLID, color: "1565C0" },
            margins: { top: 80, bottom: 80, left: 120, right: 120 },
          })
        ),
        tableHeader: true,
      })
    );
  }
  rows.forEach((row, i) => {
    tableRows.push(
      new TableRow({
        children: row.map(cell =>
          new TableCell({
            children: [new Paragraph({ children: [new TextRun({ text: cell, size: 22 })], spacing: { before: 40, after: 40 } })],
            shading: i % 2 === 0 ? { type: ShadingType.SOLID, color: LGREY } : {},
            margins: { top: 60, bottom: 60, left: 120, right: 120 },
          })
        ),
      })
    );
  });
  return new Table({
    rows: tableRows,
    width: { size: 9000, type: WidthType.DXA },
    borders: {
      top:    { style: BorderStyle.SINGLE, size: 4, color: BORD },
      bottom: { style: BorderStyle.SINGLE, size: 4, color: BORD },
      left:   { style: BorderStyle.SINGLE, size: 4, color: BORD },
      right:  { style: BorderStyle.SINGLE, size: 4, color: BORD },
      insideH:{ style: BorderStyle.SINGLE, size: 2, color: BORD },
      insideV:{ style: BorderStyle.SINGLE, size: 2, color: BORD },
    },
  });
}

// ════════════════════════════════════════════════════════════════
//  CONTENT SECTIONS
// ════════════════════════════════════════════════════════════════

const children = [];

// ── COVER PAGE ───────────────────────────────────────────────────
children.push(
  new Paragraph({
    children: [new TextRun({ text: "FIRST YEAR MBBS", bold: true, size: 56, color: WHITE })],
    alignment: AlignmentType.CENTER,
    shading: { type: ShadingType.SOLID, color: TEAL },
    spacing: { before: 1440, after: 200 },
  }),
  new Paragraph({
    children: [new TextRun({ text: "ANATOMY", bold: true, size: 72, color: TEAL })],
    alignment: AlignmentType.CENTER,
    spacing: { before: 200, after: 200 },
  }),
  new Paragraph({
    children: [new TextRun({ text: "10-Mark Answer Bank", bold: true, size: 40, color: "37474F" })],
    alignment: AlignmentType.CENTER,
    spacing: { before: 200, after: 200 },
  }),
  new Paragraph({
    children: [new TextRun({ text: "Lower Limb  |  BFUHS Unsolved Papers", size: 28, color: "607D8B" })],
    alignment: AlignmentType.CENTER,
    spacing: { before: 200, after: 200 },
  }),
  new Paragraph({
    children: [new TextRun({ text: "Based on: BDC Human Anatomy 9th Ed., Vol. 2", size: 24, italics: true, color: "546E7A" })],
    alignment: AlignmentType.CENTER,
    spacing: { before: 120, after: 80 },
  }),
  new Paragraph({
    children: [new TextRun({ text: "& Gray's Anatomy for Students (South Asia Edition)", size: 24, italics: true, color: "546E7A" })],
    alignment: AlignmentType.CENTER,
    spacing: { before: 80, after: 1440 },
  }),
  pageBreak(),
);

// ════════════════════════════════════════════════════════════════
//  Q1  AVASCULAR NECROSIS
// ════════════════════════════════════════════════════════════════
children.push(
  h1("SECTION: LOWER LIMB – BONES"),
  h2("Q1. Why does avascular necrosis of the head of femur occur following fracture neck of femur? (2021)"),
  para("Reference: BDC Human Anatomy, 9th ed., Vol. 2, p 21 | Gray's Anatomy for Students (South Asia Ed.)", { italics: true, color: "546E7A" }),

  h3("Introduction"),
  para("Avascular necrosis (AVN) of the femoral head is one of the most serious complications of a fractured neck of femur. It is directly related to the precarious blood supply to the femoral head."),

  h3("Blood Supply to the Head of Femur"),
  para("The femoral head receives its blood supply from three main sources:"),
  bullet("Medial circumflex femoral artery (MCFA) – most important; gives retinacular branches (superior and inferior) that ascend along the femoral neck beneath the synovial reflection to supply the head. It is a branch of the profunda femoris artery."),
  bullet("Lateral circumflex femoral artery (LCFA) – minor contribution via retinacular branches."),
  bullet("Artery of ligamentum teres (branch of obturator artery) – supplies a small area around the fovea; functionally insignificant in adults."),
  para("The retinacular vessels run along the neck of the femur in subsynovial retinacular folds (Weitbrecht's retinacula). These are the DOMINANT supply in adults."),

  h3("Mechanism of AVN After Fracture Neck of Femur"),
  bullet("The retinacular vessels are torn or compressed by displaced bone fragments."),
  bullet("Since the femoral head lies entirely within the joint capsule (intracapsular fracture), all intracapsular vessels are disrupted."),
  bullet("The artery of the ligamentum teres is too small in adults to compensate."),
  bullet("Intra-articular haematoma raises pressure within the joint capsule, compressing remaining vessels (tamponade effect)."),
  bullet("Result: complete ischaemia → osteonecrosis of femoral head."),

  h3("Risk Factors"),
  twoColTable([
    ["Degree of displacement", "Garden Stage III & IV → highest risk"],
    ["Age",                    "Elderly, osteoporotic patients"],
    ["Delay in fixation",      "Longer delay = higher AVN rate"],
    ["Fracture pattern",       "Subcapital fractures most dangerous"],
  ], ["Risk Factor", "Details"]),
  new Paragraph({ spacing: { before: 120 } }),

  note("AVN may manifest as femoral head collapse weeks to months post-fracture. Treatment: hemiarthroplasty or total hip replacement."),
  pageBreak(),
);

// ════════════════════════════════════════════════════════════════
//  Q2  FEMORAL TRIANGLE
// ════════════════════════════════════════════════════════════════
children.push(
  h1("SECTION: FRONT OF THIGH"),
  h2("Q2. Draw and label boundaries and contents of femoral triangle. (2015, 2014, 2007)"),
  para("Reference: BDC Human Anatomy, 9th ed., Vol. 2, p 52–54 | Gray's Anatomy for Students, p 675", { italics: true, color: "546E7A" }),

  h3("Introduction"),
  para("The femoral triangle is a wedge-shaped subfascial space on the upper anterior thigh, just below the inguinal ligament. It is the gateway between the abdomen and the lower limb."),

  h3("Boundaries"),
  twoColTable([
    ["Base (superior)",  "Inguinal ligament"],
    ["Lateral border",   "Medial border of Sartorius muscle"],
    ["Medial border",    "Medial border of Adductor longus muscle"],
    ["Apex",             "Junction of sartorius & adductor longus; continues as adductor canal"],
    ["Floor",            "Laterally – Iliopsoas; Medially – Pectineus + Adductor longus"],
    ["Roof",             "Fascia lata (pierced by great saphenous vein at saphenous opening)"],
  ], ["Boundary", "Structure"]),
  new Paragraph({ spacing: { before: 120 } }),

  h3("Contents – mnemonic 'NAVEL' (Lateral → Medial)"),
  bullet("N – Nerve (Femoral nerve): most lateral; divides into anterior and posterior divisions within the triangle"),
  bullet("A – Artery (Femoral artery): central; palpable at mid-inguinal point"),
  bullet("V – Vein (Femoral vein): medial to artery"),
  bullet("E – Empty space (Femoral canal): most medial compartment of femoral sheath"),
  bullet("L – Lymphatics: deep inguinal lymph nodes + lymphatic vessels"),

  h3("Femoral Sheath"),
  para("Formed by:"),
  bullet("Anterior wall: Transversalis fascia"),
  bullet("Posterior wall: Iliacus fascia"),
  para("Contains 3 compartments: Lateral (artery) | Middle (vein) | Medial (femoral canal). NOTE: Femoral nerve is lateral to the sheath and NOT enclosed within it."),

  h3("Diagram (Schematic)"),
  new Paragraph({
    children: [new TextRun({
      text:
"    ┌─────────── Inguinal Ligament (Base) ───────────┐\n" +
"   Sartorius                               Adductor Longus\n" +
"   (lateral)                               (medial)\n" +
"        \\                                    /\n" +
"                        APEX\n" +
"                  (→ Adductor Canal)\n\n" +
"Floor:    Iliopsoas  |  Pectineus + Adductor Longus\n" +
"Contents: Nerve | Artery | Vein | Canal | Lymphatics\n" +
"          (lateral ─────────────────────→ medial)",
      font: "Courier New", size: 18, color: "37474F"
    })],
    spacing: { before: 120, after: 120 },
    indent: { left: 720 },
  }),

  note("Femoral pulse palpated at mid-inguinal point. Femoral artery catheterisation uses this triangle for cardiac procedures. Femoral hernia emerges through the femoral ring."),
  pageBreak(),
);

// ════════════════════════════════════════════════════════════════
//  Q3  ADDUCTOR CANAL
// ════════════════════════════════════════════════════════════════
children.push(
  h2("Q3. Describe the boundaries and contents of adductor canal. (2023, 2022, 2010, 2008)"),
  para("Reference: BDC Human Anatomy, 9th ed., Vol. 2, p 63–64", { italics: true, color: "546E7A" }),

  h3("Introduction"),
  para("The adductor canal (Hunter's canal / subsartorial canal) is a fascial tunnel in the middle third of the thigh that transmits the femoral vessels and saphenous nerve from the femoral triangle to the popliteal fossa."),

  h3("Extent"),
  para("From the apex of the femoral triangle (superiorly) to the adductor hiatus in adductor magnus (inferiorly)."),

  h3("Boundaries"),
  twoColTable([
    ["Anterior / Lateral wall", "Vastus medialis muscle"],
    ["Posterior wall (upper)",  "Adductor longus muscle"],
    ["Posterior wall (lower)",  "Adductor magnus muscle"],
    ["Roof / Medial wall",      "Sartorius muscle (overlies the canal; fascial roof)"],
  ], ["Wall", "Structure"]),
  new Paragraph({ spacing: { before: 120 } }),

  h3("Contents"),
  bullet("Femoral artery – main occupant; exits at adductor hiatus to become the popliteal artery"),
  bullet("Femoral vein – lies posterior to the artery within the canal"),
  bullet("Saphenous nerve – largest cutaneous branch of femoral nerve; exits through fascia between sartorius and gracilis to supply medial leg and foot"),
  bullet("Nerve to vastus medialis – travels briefly in canal before entering the muscle"),
  bullet("Descending genicular artery – branch of femoral artery given off in canal; supplies knee joint"),

  h3("Openings"),
  twoColTable([
    ["Superior",  "Apex of femoral triangle"],
    ["Inferior",  "Adductor hiatus (gap in adductor magnus tendon) → femoral vessels become popliteal vessels"],
  ], ["Opening", "Structure"]),
  new Paragraph({ spacing: { before: 120 } }),

  note("Adductor canal block: anaesthesia for knee surgery blocks saphenous nerve without affecting motor power (motor-sparing). Femoral artery stenosis in canal → thigh claudication. The canal is a pathway for infection spread between thigh and popliteal fossa."),
  pageBreak(),
);

// ════════════════════════════════════════════════════════════════
//  Q4  VASTUS MEDIALIS
// ════════════════════════════════════════════════════════════════
children.push(
  h2("Q4. Describe the vastus medialis muscle – Origin, Insertion, Action. (2021)"),
  para("Reference: BDC Human Anatomy, 9th ed., Vol. 2, p 62 | Thieme Atlas of Anatomy, p 507", { italics: true, color: "546E7A" }),

  h3("Introduction"),
  para("Vastus medialis is the most medially placed component of the quadriceps femoris. It forms the prominent bulge on the medial lower thigh above the patella, and its oblique fibres (VMO) are critical for patellar stability."),

  h3("a. Origin"),
  bullet("Medial lip of the linea aspera (entire length)"),
  bullet("Distal part of the intertrochanteric line"),
  bullet("Medial supracondylar line of the femur"),
  bullet("Tendons of adductor longus and adductor magnus (via intermuscular septum)"),

  h3("b. Insertion"),
  bullet("Medial border of the patella via the quadriceps femoris tendon"),
  bullet("Medial aspect of the tibial tuberosity via the medial patellar retinaculum"),

  h3("c. Actions"),
  bullet("Extension of the knee joint (primary action)"),
  bullet("Prevention of lateral patellar displacement – the oblique fibers (VMO) apply a medially directed force on the patella, keeping it in the trochlear groove"),
  bullet("Stabilisation of the knee joint during weight-bearing"),

  h3("Nerve Supply & Blood Supply"),
  twoColTable([
    ["Nerve supply",  "Femoral nerve (L2, L3, L4)"],
    ["Blood supply",  "Lateral circumflex femoral artery; muscular branches of femoral artery"],
  ], ["Property", "Details"]),
  new Paragraph({ spacing: { before: 120 } }),

  note("VMO is the last part of quadriceps to recover post-surgery — specifically targeted in physiotherapy after TKR. VMO weakness → patellofemoral pain syndrome and patellar subluxation. Wasting of vastus medialis is an early sign of femoral nerve palsy or quadriceps disease."),
  pageBreak(),
);

// ════════════════════════════════════════════════════════════════
//  Q5  FEMORAL CANAL
// ════════════════════════════════════════════════════════════════
children.push(
  h2("Q5. Write a short note on femoral canal / femoral sheath. (2021, 2006)"),
  para("Reference: BDC Human Anatomy, 9th ed., Vol. 2, p 54–55 | Gray's Anatomy for Students, p 676", { italics: true, color: "546E7A" }),

  h3("Femoral Sheath"),
  para("In the femoral triangle, the femoral artery, vein and lymphatics are enclosed in a funnel-shaped fascial sleeve – the femoral sheath. It is:"),
  bullet("Continuous superiorly with transversalis fascia (anteriorly) and iliac fascia (posteriorly)"),
  bullet("Merges inferiorly with connective tissue around the vessels"),
  bullet("Divided into 3 compartments by fibrous septa: Lateral (artery) | Middle (vein) | Medial (femoral canal)"),
  para("NOTE: The femoral nerve is lateral to the sheath and NOT contained within it."),

  h3("Femoral Canal – Detailed"),
  para("The femoral canal is the most medial and smallest compartment of the femoral sheath."),

  h3("Boundaries of Femoral Ring (Superior Opening)"),
  twoColTable([
    ["Anterior",  "Inguinal ligament (medial part)"],
    ["Posterior", "Pectineus muscle and its fascia"],
    ["Medial",    "Lacunar ligament (Gimbernat's ligament)"],
    ["Lateral",   "Femoral vein"],
  ], ["Boundary", "Structure"]),
  new Paragraph({ spacing: { before: 120 } }),

  h3("Contents of Femoral Canal"),
  bullet("Deep inguinal lymph node of Cloquet (Rosenmuller's node) – at the top of the canal"),
  bullet("Lymphatic vessels"),
  bullet("Areolar (loose connective) tissue and fat"),

  h3("Function"),
  para("The femoral canal provides dead space that allows the femoral vein to expand during increased venous return (e.g., during exercise or Valsalva)."),

  note("Femoral hernia: increased intra-abdominal pressure forces peritoneal fat/bowel through the femoral ring into the canal. The aberrant obturator artery along the lacunar ligament (corona mortis) must be identified during surgical repair to avoid haemorrhage."),
  pageBreak(),
);

// ════════════════════════════════════════════════════════════════
//  Q6  FEMORAL HERNIA
// ════════════════════════════════════════════════════════════════
children.push(
  h2("Q6. Why does femoral hernia occur? / Why is it more common in females? (2023, 2021)"),
  para("Reference: BDC Human Anatomy, 9th ed., Vol. 2, p 55 | Gray's Anatomy for Students, p 789", { italics: true, color: "546E7A" }),

  h3("Definition"),
  para("A femoral hernia is a protrusion of abdominal contents (usually a peritoneal sac containing omentum or small bowel) through the femoral ring into the femoral canal."),

  h3("Why Femoral Hernia Occurs"),
  bullet("The femoral ring is a naturally weak point in the lower abdominal wall, covered only by the thin femoral septum."),
  bullet("There is no muscular support at the femoral ring – only fascial layers."),
  bullet("Increased intra-abdominal pressure (obesity, straining, pregnancy, chronic cough) forces contents downward."),
  bullet("The hernia descends through the femoral ring → canal → turns upward at the saphenous opening → lies anterior/superior to the inguinal ligament in superficial fascia."),

  h3("Anatomical/Embryological Reasons for Higher Prevalence in Females"),
  bullet("Wider female pelvis (gynecoid type): broader pelvic outlet makes the femoral ring inherently larger and weaker."),
  bullet("Smaller content in inguinal canal: Males have a larger spermatic cord traversing the inguinal canal, which provides extra bracing to the adjacent femoral ring area. In females, the round ligament is much smaller."),
  bullet("Pregnancy: growing uterus repeatedly increases intra-abdominal pressure; pelvic floor is stretched."),
  bullet("Multiparity: repeated pregnancies progressively weaken fascial coverings of the femoral canal boundaries."),
  bullet("Embryological: the gubernaculum in females forms the round ligament of uterus – less bulky than male spermatic cord – leaving the region less reinforced."),

  h3("Comparison: Femoral vs Inguinal Hernia"),
  twoColTable([
    ["Sex",               "Femoral: Female >> Male",            "Inguinal: Male >> Female"],
    ["Position",          "Below and lateral to pubic tubercle", "Above and medial to pubic tubercle"],
    ["Strangulation risk","HIGH (rigid ring)",                   "Lower for indirect; rare for direct"],
    ["Age",               "Middle-aged women",                   "Any age"],
  ], ["Feature", "Femoral Hernia", "Inguinal Hernia"]),
  new Paragraph({ spacing: { before: 120 } }),

  note("Femoral hernias are 4× more common in females and prone to strangulation due to the rigid, unyielding femoral ring. Emergency surgery is often required."),
  pageBreak(),
);

// ════════════════════════════════════════════════════════════════
//  Q7  DIRECT vs INDIRECT INGUINAL HERNIA
// ════════════════════════════════════════════════════════════════
children.push(
  h2("Q7. Differentiate direct and indirect inguinal hernia. (2020)"),
  para("Reference: BDC Human Anatomy, 9th ed., Vol. 2, p 252–254", { italics: true, color: "546E7A" }),

  h3("Definition"),
  para("An inguinal hernia is a protrusion of abdominal contents through the inguinal region. It may be direct (through the posterior wall of inguinal canal) or indirect (through the deep inguinal ring following the inguinal canal)."),

  twoColTable([
    ["Age group prevalence",          "Middle-aged to elderly",                                 "Young adults, children; all ages"],
    ["Sex",                           "Almost exclusively male",                                "Male >> Female"],
    ["Cause",                         "Acquired weakness of posterior wall of inguinal canal",  "Congenital patent processus vaginalis; increased IAP"],
    ["Site of protrusion",            "Through Hesselbach's triangle (posterior wall)",          "Through deep inguinal ring, lateral to inf. epigastric vessels"],
    ["Relation to inf. epigastric a.","Medial",                                                  "Lateral"],
    ["Peritoneal sac",                "No true sac (diffuse bulge)",                             "True peritoneal sac present"],
    ["Direction of descent",          "Straight through wall; rarely enters scrotum",            "Along spermatic cord; can descend into scrotum"],
    ["Controlled by deep ring pressure","No",                                                    "Yes"],
    ["Strangulation",                 "Rare",                                                    "More prone to strangulation"],
    ["Cough impulse",                 "Diffuse, medial",                                         "At deep inguinal ring"],
  ], ["Feature", "Direct Inguinal Hernia", "Indirect Inguinal Hernia"]),
  new Paragraph({ spacing: { before: 160 } }),

  h3("Hesselbach's Triangle (Site of Direct Hernia)"),
  para("Boundaries of Hesselbach's (inguinal) triangle:"),
  bullet("Inferior: Inguinal ligament"),
  bullet("Medial: Lateral border of rectus abdominis"),
  bullet("Lateral: Inferior epigastric vessels"),
  para("Direct hernias pass through this triangle medial to the inferior epigastric artery."),

  note("Indirect hernias are the commonest hernia overall. Direct hernias are due to acquired weakness. Both may coexist (pantaloon hernia). Laparoscopic (TEP/TAPP) repair covers both types simultaneously."),
  pageBreak(),
);

// ════════════════════════════════════════════════════════════════
//  Q8  GLUTEUS MAXIMUS
// ════════════════════════════════════════════════════════════════
children.push(
  h1("SECTION: GLUTEAL REGION"),
  h2("Q8. Write a short note on gluteus maximus – nerve supply and action. (2007, 2018)"),
  para("Reference: BDC Human Anatomy, 9th ed., Vol. 2, p 77–81 | Gray's Anatomy for Students, p 678–679", { italics: true, color: "546E7A" }),

  h3("Introduction"),
  para("Gluteus maximus is the largest and heaviest muscle in the body. It forms the bulk of the buttock and is the primary extensor and lateral rotator of the hip."),

  twoColTable([
    ["Origin",          "Ilium (behind posterior gluteal line); dorsal sacrum and coccyx; sacrotuberous ligament; thoracolumbar fascia; fascia over gluteus medius"],
    ["Insertion",       "Upper fibers and superficial lower fibers → iliotibial tract (ITB); Deep lower fibers → gluteal tuberosity of proximal femur"],
    ["Nerve supply",    "Inferior gluteal nerve (L5, S1, S2)"],
    ["Blood supply",    "Superior and inferior gluteal arteries (branches of internal iliac artery)"],
  ], ["Property", "Details"]),
  new Paragraph({ spacing: { before: 120 } }),

  h3("Actions"),
  bullet("Extension of the hip joint (primary) – crucial for climbing stairs, rising from a chair, running"),
  bullet("Lateral rotation of the femur at the hip joint"),
  bullet("Via iliotibial tract: stabilises the knee in extension and prevents hip adduction"),
  bullet("Stabilises the sacroiliac joint"),

  h3("Relations"),
  para("The gluteus maximus overlies: gluteus medius, piriformis, obturator internus and gemelli, quadratus femoris, the sciatic nerve, and the posterior femoral cutaneous nerve. The sciatic nerve exits the greater sciatic foramen below piriformis and passes deep to the gluteus maximus."),

  note("Best IM injection site = upper outer quadrant of the buttock (avoids sciatic nerve). Used as a gluteal flap in reconstructive surgery. Gluteus maximus paralysis (inferior gluteal nerve injury) causes hip extension weakness; patient leans forward over the hip to compensate."),
  pageBreak(),
);

// ════════════════════════════════════════════════════════════════
//  Q9  GLUTEUS MEDIUS
// ════════════════════════════════════════════════════════════════
children.push(
  h2("Q9. Origin, insertion, nerve supply and actions of gluteus medius. (2017, 2012)"),
  para("Reference: BDC Human Anatomy, 9th ed., Vol. 2, p 77–78 | Gray's Anatomy for Students, p 678", { italics: true, color: "546E7A" }),

  h3("Introduction"),
  para("Gluteus medius is a fan-shaped muscle deep to the gluteus maximus. It is the primary abductor of the hip and plays a fundamental role in stabilising the pelvis during the stance phase of walking."),

  twoColTable([
    ["Origin",       "Outer surface of ilium between anterior and posterior gluteal lines; gluteal aponeurosis"],
    ["Insertion",    "Lateral surface and superior border of the greater trochanter of femur"],
    ["Nerve supply", "Superior gluteal nerve (L4, L5, S1) – passes between gluteus medius and minimus"],
    ["Blood supply", "Superior gluteal artery (branch of internal iliac artery)"],
  ], ["Property", "Details"]),
  new Paragraph({ spacing: { before: 120 } }),

  h3("Actions"),
  bullet("Abduction of the hip (primary action)"),
  bullet("Stabilisation of the pelvis during single-leg stance phase of walking – prevents the contralateral pelvis from dropping"),
  bullet("Anterior fibres: medial rotation of the femur"),
  bullet("Posterior fibres: lateral rotation of the femur"),

  h3("Mechanism of Pelvic Stabilisation"),
  para("During the stance phase (weight on one leg), gluteus medius on the weight-bearing side contracts to hold the pelvis horizontal. The greater trochanter acts as the fulcrum; body weight is the load; gluteus medius contraction is the effort. This is the mechanical basis of the Trendelenburg test."),

  note("Gluteus medius weakness → positive Trendelenburg sign and Trendelenburg gait. Superior gluteal nerve injury (during posterior approach to hip) → abductor weakness. Ventrogluteal injection site uses the mid-belly of this muscle (safe from sciatic nerve)."),
  pageBreak(),
);

// ════════════════════════════════════════════════════════════════
//  Q10 TRENDELENBURG TEST
// ════════════════════════════════════════════════════════════════
children.push(
  h2("Q10. Write a short note on Trendelenburg test for hip. (2023, 2015, 2008)"),
  para("Reference: BDC Human Anatomy, 9th ed., Vol. 2, p 152 | Firestein & Kelley's Textbook of Rheumatology", { italics: true, color: "546E7A" }),

  h3("Introduction"),
  para("The Trendelenburg test is a clinical test that assesses the ability of the hip abductors (primarily gluteus medius and minimus) to stabilise the pelvis on the femur during single-limb weight bearing."),

  h3("Anatomical Basis"),
  para("During the stance phase of walking, when one foot lifts off the ground, the entire body weight is borne on the stance limb. Gluteus medius and minimus on the weight-bearing side contract powerfully to keep the pelvis horizontal, preventing the opposite side from dropping. Any weakness in this mechanism results in the Trendelenburg sign."),

  h3("Procedure"),
  bullet("Patient stands erect, facing the examiner."),
  bullet("Patient raises one foot off the ground (non-weight-bearing leg)."),
  bullet("Examiner observes the pelvis level."),

  h3("Interpretation"),
  twoColTable([
    ["Negative test (Normal)",
     "When right leg is raised, right hip abductors contract → left (non-weight-bearing) side of pelvis ELEVATES slightly. Pelvis tilts toward the raised side = NORMAL."],
    ["Positive test (Abnormal)",
     "When left leg is raised, if right hip abductors are weak → right side of pelvis DROPS. Patient tilts trunk toward the affected (weight-bearing) side = TRENDELENBURG GAIT."],
  ], ["Result", "Description"]),
  new Paragraph({ spacing: { before: 120 } }),

  h3("Causes of Positive Trendelenburg Test"),
  bullet("Gluteus medius/minimus weakness or paralysis (superior gluteal nerve injury)"),
  bullet("Non-union/malunion of fracture neck of femur (altered mechanics)"),
  bullet("Dislocation of hip (altered fulcrum)"),
  bullet("Coxa vara (reduces lever arm of abductors)"),
  bullet("Perthes disease / AVN (altered femoral head geometry)"),
  bullet("Congenital hip dysplasia"),
  bullet("Poliomyelitis affecting L4, L5, S1 segments"),

  h3("Embryological/Anatomical Basis"),
  para("The superior gluteal nerve (L4, L5, S1) can be injured during a posterior approach to the hip or by pressure during prolonged labour. The muscle acts as a lever: greater trochanter = fulcrum; body weight = load; gluteus medius = effort. Any condition shortening the lever arm or weakening the muscle produces a positive test."),

  note("A mild Trendelenburg gait is occasionally seen in healthy individuals. The test is non-specific – can be positive in primary neurological or muscle disorders as well as hip diseases. A positive test does NOT always mean gluteus medius paralysis alone."),
  pageBreak(),
);

// ════════════════════════════════════════════════════════════════
//  Q11 DERMATOMES OF LOWER LIMB
// ════════════════════════════════════════════════════════════════
children.push(
  h1("SECTION: SURFACE MARKING"),
  h2("Q11. Draw and label dermatomes of lower limb. (2005)"),
  para("Reference: BDC Human Anatomy, 9th ed., Vol. 2, p 154–155", { italics: true, color: "546E7A" }),

  h3("Definition"),
  para("A dermatome is an area of skin whose sensory innervation is derived from the posterior (dorsal) root of a single spinal nerve segment."),

  h3("Dermatomes of Lower Limb"),
  twoColTable([
    ["L1", "Groin and inguinal region"],
    ["L2", "Anterior and medial upper thigh"],
    ["L3", "Anterior thigh, anterior knee, medial leg"],
    ["L4", "Medial leg, medial foot, big toe (medial side)"],
    ["L5", "Lateral leg, dorsum of foot, medial three toes"],
    ["S1", "Posterior thigh (part), posterior calf, lateral foot, little toe, heel"],
    ["S2", "Posterior thigh and leg (narrow midline strip)"],
    ["S3–S5", "Perianal region, perineum, medial upper thigh (saddle area)"],
  ], ["Spinal Level", "Area Supplied"]),
  new Paragraph({ spacing: { before: 120 } }),

  h3("Diagram (Anterior & Posterior Views – Schematic)"),
  new Paragraph({
    children: [new TextRun({
      text:
"ANTERIOR VIEW                POSTERIOR VIEW\n" +
"─────────────────────────    ─────────────────────────\n" +
"L1 → Groin                  S3–S5 → Perineum / Saddle\n" +
"L2 → Ant. upper thigh       S2 → Post. thigh (strip)\n" +
"L3 → Ant. thigh / knee      S1 → Post. thigh & calf\n" +
"L4 → Medial leg / big toe   L5 → Post. lateral leg\n" +
"L5 → Dorsum of foot         S1 → Heel / lateral foot\n",
      font: "Courier New", size: 18, color: "263238"
    })],
    spacing: { before: 120, after: 120 },
    indent: { left: 720 },
  }),

  h3("Key Clinical Correlation"),
  twoColTable([
    ["L4 lesion", "Loss of sensation medial leg/foot; loss of knee jerk reflex"],
    ["L5 lesion", "Foot drop; loss of sensation dorsum of foot; no specific reflex lost"],
    ["S1 lesion", "Loss of ankle jerk; loss of sensation lateral foot and little toe"],
    ["L3/L4",     "Quadriceps weakness; knee jerk absent"],
    ["L5/S1",     "Hamstring, calf, peroneal weakness"],
  ], ["Level", "Clinical Implication"]),
  new Paragraph({ spacing: { before: 120 } }),

  note("Dermatomes are tested clinically by pinprick (pain) and light touch. Important for diagnosing disc prolapse levels: L4/L5 disc compresses L5 root; L5/S1 disc compresses S1 root."),
  pageBreak(),
);

// ════════════════════════════════════════════════════════════════
//  QUICK REFERENCE / EXAM TIPS PAGE
// ════════════════════════════════════════════════════════════════
children.push(
  h1("EXAM TIPS & QUICK REFERENCE"),

  h2("Mnemonics"),
  twoColTable([
    ["Femoral triangle contents",  "'NAVEL' – Nerve, Artery, Vein, Empty space (canal), Lymphatics (lateral → medial)"],
    ["Femoral ring boundaries",    "'PILM' – Pectineus (posterior), Inguinal lig. (anterior), Lacunar lig. (medial), feMorel vein (lateral)"],
    ["Gluteal injections",         "Upper outer quadrant = safe (avoids sciatic nerve)"],
    ["Trendelenburg positive",     "Pelvis DROPS on NON-weight-bearing side = abductors WEAK on weight-bearing side"],
  ], ["Topic", "Mnemonic / Memory Aid"]),
  new Paragraph({ spacing: { before: 160 } }),

  h2("High-Yield Diagrams to Practice"),
  bullet("Femoral triangle: boundaries, floor, contents with NAVEL labelling"),
  bullet("Femoral sheath: 3 compartments (artery/vein/canal)"),
  bullet("Adductor canal: walls (vastus medialis, adductor longus/magnus, sartorius), contents"),
  bullet("Blood supply to femoral head (medial circumflex femoral artery + retinacular vessels)"),
  bullet("Dermatomes of lower limb (anterior and posterior views)"),
  new Paragraph({ spacing: { before: 120 } }),

  h2("Answer Writing Strategy for 10 Marks"),
  bullet("Introduction (1 mark): brief definition or overview"),
  bullet("Main anatomy – boundaries/origin/insertion/contents (4 marks)"),
  bullet("Labelled diagram (2 marks)"),
  bullet("Applied anatomy / clinical significance (2 marks)"),
  bullet("Summary or conclusion (1 mark)"),
  new Paragraph({ spacing: { before: 120 } }),

  h2("References"),
  para("1. BDC Human Anatomy, 9th Edition, Volume 2 – B.D. Chaurasia"),
  para("2. Gray's Anatomy for Students, South Asia Edition – Drake, Vogl & Mitchell"),
  para("3. Thieme Atlas of Anatomy – General Anatomy and Musculoskeletal System"),
  para("4. Firestein & Kelley's Textbook of Rheumatology – Hip examination section"),
);

// ════════════════════════════════════════════════════════════════
//  BUILD DOCUMENT
// ════════════════════════════════════════════════════════════════
const doc = new Document({
  numbering: {
    config: [{
      reference: "num1",
      levels: [{
        level: 0,
        format: "decimal",
        text: "%1.",
        alignment: AlignmentType.LEFT,
        style: { paragraph: { indent: { left: 360, hanging: 360 } } },
      }],
    }],
  },
  styles: {
    default: {
      document: {
        run: { font: "Calibri", size: 22, color: "212121" },
      },
    },
  },
  sections: [{
    properties: {
      page: {
        margin: { top: 1080, bottom: 1080, left: 1080, right: 1080 },
      },
    },
    headers: {
      default: new Header({
        children: [
          new Paragraph({
            children: [
              new TextRun({ text: "First Year MBBS Anatomy – 10-Mark Answer Bank  |  Lower Limb", size: 18, color: "607D8B" }),
            ],
            alignment: AlignmentType.RIGHT,
            border: { bottom: { style: BorderStyle.SINGLE, size: 4, color: "B0BEC5" } },
          }),
        ],
      }),
    },
    footers: {
      default: new Footer({
        children: [
          new Paragraph({
            children: [
              new TextRun({ text: "Page ", size: 18, color: "9E9E9E" }),
              new PageNumber(),
              new TextRun({ text: "  |  BDC Vol. 2 & Gray's Anatomy (South Asia Ed.)", size: 18, color: "9E9E9E" }),
            ],
            alignment: AlignmentType.CENTER,
          }),
        ],
      }),
    },
    children,
  }],
});

Packer.toBuffer(doc).then(buffer => {
  fs.writeFileSync("/home/daytona/workspace/anatomy-answers/MBBS_Anatomy_10Mark_Answers.docx", buffer);
  console.log("SUCCESS: File written.");
});
Running Command

cd /home/daytona/workspace/anatomy-answers && node generate.js 2>&1

Editing File

~/anatomy-answers/generate.js

Successfully replaced 1 instance(s) of the string in '/home/daytona/workspace/anatomy-answers/generate.js'
Editing File

~/anatomy-answers/generate.js

Successfully replaced 1 instance(s) of the string in '/home/daytona/workspace/anatomy-answers/generate.js'
Running Command

cd /home/daytona/workspace/anatomy-answers && node generate.js 2>&1

Running Command

python3 /home/daytona/skills/docx/scripts/office/validate.py /home/daytona/workspace/anatomy-answers/MBBS_Anatomy_10Mark_Answers.docx 2>&1

Running Command

ls -lh /home/daytona/workspace/anatomy-answers/MBBS_Anatomy_10Mark_Answers.docx && python3 -c "import zipfile; z=zipfile.ZipFile('/home/daytona/workspace/anatomy-answers/MBBS_Anatomy_10Mark_Answers.docx'); print('ZIP OK, files:', len(z.namelist())); print(z.namelist()[:8])"

The document is valid (proper ZIP with all required Word XML files). Here's your download:

MBBS Anatomy 10Mark Answers

Word Document · DOCX


What's inside the document (22 KB, fully formatted):
SectionContent
Cover pageTitle, subject, reference books
Header"First Year MBBS Anatomy – 10-Mark Answer Bank" on every page
FooterPage numbers + reference citation
Q1Avascular necrosis of head of femur
Q2Femoral triangle (boundaries + contents + NAVEL mnemonic + schematic diagram)
Q3Adductor canal (boundaries, contents, openings)
Q4Vastus medialis (Origin / Insertion / Action)
Q5Femoral canal and femoral sheath
Q6Femoral hernia – why it occurs + why more common in females
Q7Direct vs indirect inguinal hernia (comparison table)
Q8Gluteus maximus (all headings)
Q9Gluteus medius (origin, insertion, nerve supply, actions)
Q10Trendelenburg test – procedure, interpretation, causes
Q11Dermatomes of lower limb (table + schematic)
Last pageExam tips, answer-writing strategy, mnemonics, references
All answers use colour-coded headings, tables with alternating row shading, and highlighted "Applied Anatomy" boxes (yellow background) - ready for offline study or printing.
This is a shared conversation. Sign in to Orris to start your own chat.