A 32 YEAR OLD PRIMIGRAVIDA AT 37 WEEKS OF GESTATION PRESENTED WITH ACTIVE BLEEDING PER VAGINA

I'll read the medical library skill first, then research this clinical scenario.
Reading File
Now let me search the library for antepartum hemorrhage and placenta previa in parallel.
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Now let me read the most comprehensive sources in parallel:
Reading File
Reading File
Reading File
Now let me get more details on abruption vs. previa comparison and management from the anesthesia/obstetric texts:
Reading File
Reading File
Finding Sources
Reading File
Loading Image
I now have comprehensive information to provide a detailed clinical answer. Let me synthesize everything.

Active Bleeding Per Vagina at 37 Weeks - Clinical Assessment

A 32-year-old primigravida at 37 weeks with active vaginal bleeding is a high-stakes obstetric emergency. The differential diagnosis must be worked through systematically, with immediate stabilization running in parallel.

Differential Diagnosis: The "Big Three" + Other Causes

1. Placenta Previa (Most likely in this scenario)

Definition: Abnormal implantation of the placenta over or near the internal cervical os.
Classic Hallmarks:
  • Painless, bright-red vaginal bleeding (the hallmark)
  • No uterine tenderness
  • Soft, non-tender uterus
  • Fetal parts may be palpable (no engagement of presenting part - fetus may lie transversely or in breech because the placenta occupies the lower segment)
  • Bleeding often self-limited initially but can recur and worsen
Risk Factors: Prior cesarean section, uterine surgery, advanced maternal age, multiparity, smoking, cocaine use, multiple gestation, ART
Types:
  • Complete/Central (placenta completely covers os) - most dangerous
  • Partial (partially covers os)
  • Marginal (reaches but does not cover os)
At 37 weeks, the risk is highest because the lower uterine segment is actively elongating and dilating, tearing marginal placental vessels.

2. Abruptio Placentae (Placental Abruption)

Definition: Premature separation of a normally implanted placenta from the uterine wall.
Classic Hallmarks:
  • Painful vaginal bleeding (key differentiator from previa)
  • Blood is characteristically dark (old blood)
  • Uterine tenderness and hypertonicity
  • Board-like rigid abdomen in severe cases
  • Tetanic contractions ("woody uterus")
  • Bleeding may be concealed (only internal - hematoma between placenta and uterine wall) - visible bleeding does NOT correlate with actual blood loss
  • Fetal distress / bradycardia on CTG
Risk Factors: Hypertension/preeclampsia (most strongly associated), trauma, cocaine use, smoking, multiparity, prior abruption, thrombophilia, PPROM
Severity spectrum:
  • Grade I (Mild): Slight bleeding, minimal uterine irritability, no fetal distress, normal coagulation
  • Grade II (Moderate): More bleeding, uterine irritability, possible fetal distress
  • Grade III (Severe - 15%): Tetanic uterus, very painful, maternal hypotension, fibrinogen <150 mg/dL, fetal death possible
Key complication: DIC - triggered by release of tissue thromboplastins. Fibrinogen <150 mg/dL indicates severe consumption; normal pregnancy fibrinogen is 400-450 mg/dL.

3. Vasa Previa

Definition: Umbilical vessels course in the amniotic membranes at the level of the cervical os (unprotected by the umbilical cord or placental tissue).
Key features:
  • Fetal blood - not maternal blood - exits per vagina
  • Fetal exsanguination is rapid (fetal blood volume is only ~250 mL)
  • Occurs when membranes rupture - Apt test or Kleihauer-Betke test distinguishes fetal vs. maternal blood
  • Risk factors: placenta previa, IVF, velamentous cord insertion, bilobed placenta
  • Treatment: Immediate cesarean delivery - prognosis depends on speed of delivery

4. Other Causes (Less likely at 37 weeks but must exclude)

  • Cervical/vaginal lesions (polyp, cervicitis, carcinoma)
  • "Bloody show" - normal mucus plug passage with early labor (blood-tinged, not active hemorrhage)
  • Uterine rupture (rare in primigravida without uterine surgery - presents with sudden sharp abdominal pain, cessation of contractions, fetal bradycardia, maternal shock)

Key Differentiating Features: Previa vs. Abruption

FeaturePlacenta PreviaAbruptio Placentae
PainPainlessPainful (uterine tenderness)
Bleeding colorBright redDark, clotted
UterusSoft, non-tenderTender, hypertonic, "woody"
Fetal positionAbnormal (transverse/breech)Usually normal
Fetal heart rateUsually normal initiallyOften abnormal
ShockProportional to visible lossMay be disproportionate (concealed)
Coagulopathy (DIC)RareCommon in severe cases
UltrasoundDiagnostic (shows low placenta)Often normal US (doesn't exclude)

Immediate Management Protocol

Step 1 - Simultaneous Resuscitation

  • Call obstetrics immediately - this is a maternal-fetal emergency
  • Two large-bore IV lines (14-16G)
  • Aggressive IV fluid resuscitation - crystalloid
  • O2 via face mask
  • Left lateral decubitus position (prevent aortocaval compression)
  • Continuous CTG (cardiotocography) monitoring

Step 2 - Investigations (urgent, in parallel)

InvestigationPurpose
CBC (hemoglobin, hematocrit, platelets)Assess blood loss, thrombocytopenia
Type and crossmatch (4+ units pRBC)Prepare for transfusion
Coagulation studies: PT, aPTT, fibrinogenRule out DIC
Fibrin degradation products / D-dimerDIC screen
Renal function, LFTsAssess end-organ compromise
Kleihauer-Betke testIf Rh-negative, quantify fetomaternal hemorrhage
Urine output monitoringShock assessment
Normal pregnancy fibrinogen = 400-450 mg/dL. Values <300 mg/dL indicate significant coagulation factor consumption. Values <150 mg/dL = severe abruption / DIC.

Step 3 - Critical Rule: NO DIGITAL VAGINAL EXAMINATION

Absolutely contraindicated until placenta previa is excluded by ultrasound - a digital or speculum exam can precipitate catastrophic hemorrhage if placental tissue is disrupted.

Step 4 - Ultrasound

  • Transvaginal ultrasound (TVS) is the gold standard for placental localization - it is safe and more accurate than transabdominal US
  • Empty the bladder first (overfull bladder can falsely suggest low-lying placenta)
  • Assess:
    • Placental location relative to internal os
    • Presence of retroplacental hematoma (abruption)
    • Fetal heart rate and wellbeing
    • Amniotic fluid index
Note: A normal ultrasound does NOT exclude placental abruption - fresh blood is isoechoic to placenta.

Step 5 - Definitive Management

At 37 weeks (term gestation), the decision is:
If Placenta Previa confirmed:
  • Cesarean section - vaginal delivery is absolutely contraindicated
  • If hemodynamically stable: neuraxial anesthesia preferred (less blood loss than GA)
  • If active hemorrhage / hemodynamic instability: emergency cesarean under general anesthesia
  • Two large-bore IVs, blood products available
  • Warn of risk of placenta accreta spectrum (accreta/increta/percreta)
If Placental Abruption confirmed:
  • Depends on severity and fetal status:
    • Mild abruption, normal fetal status: can consider augmentation/artificial rupture of membranes + oxytocin (at term)
    • Moderate-severe abruption or fetal distress: Emergency cesarean section
    • Severe abruption with fetal demise and stable mother: Vaginal delivery may be attempted
  • Monitor fibrinogen closely - prepare for massive transfusion (pRBC, FFP, platelets, cryoprecipitate)
  • If Rh-negative and not yet received Rh immunoglobulin at 28 weeks: administer 300 mcg Rh immune globulin within 72 hours
If Vasa Previa suspected:
  • Immediate emergency cesarean section - minutes matter (fetal exsanguination is rapid)

Blood Transfusion and Coagulopathy Management

  • Fresh Frozen Plasma (FFP) for coagulopathy/DIC
  • Cryoprecipitate for fibrinogen replacement (<100 mg/dL target >150 mg/dL)
  • Platelet transfusion if <50,000
  • Consider tranexamic acid (antifibrinolytic) for hemorrhage
  • Massive transfusion protocol: pRBC:FFP:platelets in 1:1:1 ratio

Summary: This Clinical Scenario

Given this patient is:
  • Primigravida (no prior cesarean - lower previa risk but not zero)
  • 37 weeks (term - delivery is appropriate regardless of cause)
  • Active bleeding
The most critical immediate action is:
  1. IV access + fluid resuscitation
  2. Urgent TVS to localize placenta
  3. Obstetric emergency team activation
  4. Prepare for emergency cesarean
The absence of pain description in the stem raises placenta previa as the leading concern, but abruption must be actively excluded clinically.

Sources: Rosen's Emergency Medicine, 10e; Tintinalli's Emergency Medicine, 9e; Barash's Clinical Anesthesia, 9e; Morgan & Mikhail's Clinical Anesthesiology, 7e
attachment
attachment

GIVE ANSWER OF THESE QUESTIONS FOR MBBS UNIVERSITY EXAM WRITING PATTERN

I can see all 5 questions clearly. Let me research all of them in parallel from the medical library for comprehensive MBBS exam answers.
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Reading File
Reading File
Finding Sources
Reading File
Finding Sources
I have enough information from the library and my medical knowledge to write comprehensive MBBS exam answers. Let me now compile all 5 questions.---

OBSTETRICS - Paper I | Model Answers (MBBS University Exam Pattern)


QUESTION 1

A 32-year-old primigravida at 37 weeks of gestation presented with active bleeding per vagina. (1+3+4+7)

i) What is the diagnosis? (1 mark)

Antepartum Hemorrhage (APH)
APH is defined as bleeding from the genital tract after 28 weeks of gestation and before delivery of the baby. The most likely cause in this patient at 37 weeks with active vaginal bleeding is Placenta Previa (painless, bright red bleeding - the classic presentation).

ii) How can you differentiate the causes for this clinical condition? (3 marks)

The three major causes of APH are Placenta Previa, Abruptio Placentae, and Vasa Previa.
FeaturePlacenta PreviaAbruptio PlacentaeVasa Previa
PainPainlessPainful (uterine tenderness)No abdominal pain
Bleeding colorBright redDark, clottedBright red (fetal blood)
UterusSoft, non-tenderHard, tender, "woody"Soft
Uterine toneNormalHypertonic/tetanicNormal
Fetal presentationAbnormal (transverse/breech)Usually normalMay be abnormal
Fetal heart rateUsually normalBradycardia/distressSevere fetal bradycardia (fetal exsanguination)
ShockProportional to visible lossDisproportionate (concealed blood)Fetal shock primarily
DICRareCommon in severe casesRare
UltrasoundDiagnostic (low-lying placenta)Often normal (does NOT exclude)Doppler shows vessels at os
Who bleeds?MotherMotherFetus (fetal blood)
Apt testNegativeNegativePositive (fetal Hb)
Key clinical rule: NEVER perform digital vaginal examination until placenta previa is excluded by ultrasound - it can precipitate catastrophic hemorrhage.

iii) Write down the immediate management. (4 marks)

A - Assess & Airway

  • Call for obstetric emergency team immediately
  • Place patient in left lateral decubitus position (prevent aortocaval compression)
  • Maintain airway; administer O2 by face mask (8-10 L/min)

B - Bleeding Control / IV Access

  • Establish two large-bore IV cannulas (14-16G)
  • Start rapid IV crystalloid (Normal saline / Ringer's lactate)
  • Do NOT perform digital vaginal examination until US done

C - Investigations (urgent, simultaneous)

TestPurpose
CBC with plateletsAssess blood loss, thrombocytopenia
Type and crossmatch (4 units pRBC)Prepare for transfusion
PT, aPTT, Fibrinogen levelScreen for DIC (normal pregnancy fibrinogen = 400-450 mg/dL; <300 mg/dL = significant consumption)
Serum urea, electrolytes, creatinineRenal function / shock
Kleihauer-Betke testIf Rh-negative patient (quantify fetomaternal hemorrhage)

D - Monitoring

  • Continuous CTG (cardiotocography) - fetal heart rate monitoring
  • Urine output monitoring via catheter (target >30 mL/hour)
  • Maternal pulse, BP, SpO2 monitoring

E - Ultrasound

  • Transvaginal ultrasound (TVS) - gold standard for placental localization
  • Empty bladder before scan (full bladder falsely suggests low placenta)
  • Assess placental position relative to internal os

F - Rh Status

  • If patient is Rh-negative: administer 300 mcg Rh immune globulin within 72 hours

G - Blood Products (if actively bleeding)

  • Fresh Frozen Plasma (FFP) if coagulopathy present
  • Cryoprecipitate if fibrinogen <100 mg/dL
  • Platelets if count <50,000
  • Massive transfusion protocol: pRBC : FFP : Platelets = 1:1:1

iv) What is the definitive management of this patient? (7 marks)

At 37 weeks (term gestation), delivery is appropriate. Management depends on the confirmed diagnosis:

A. If Placenta Previa (most likely)

Cesarean Section is the definitive management - vaginal delivery is absolutely contraindicated in placenta previa.
Preparation for surgery:
  • 2 large-bore IVs in situ
  • 4 units cross-matched blood available
  • Anesthetic assessment: Neuraxial (spinal/epidural) anesthesia preferred if hemodynamically stable (less blood loss than GA); General anesthesia if actively hemorrhaging/unstable
  • Warn of risk of Placenta Accreta Spectrum (accreta/increta/percreta) - incidence increases with prior cesarean + previa
Intraoperatively:
  • Lower segment cesarean section (LSCS)
  • Senior obstetrician should perform (risk of excessive blood loss from lower segment)
  • Have uterotonics ready: Oxytocin 10 IU IV/IM after delivery
  • Prepare for possible hysterectomy if accreta spectrum found
Postoperatively:
  • Monitor for postpartum hemorrhage - lower uterine segment contracts poorly
  • Continue IV oxytocin infusion
  • Monitor Hb, coagulation, urine output

B. If Abruptio Placentae (confirmed)

Decision based on severity + fetal status:
SeverityFetal StatusManagement
MildReassuring FHRTerm: ARM + oxytocin augmentation → vaginal delivery
Moderate-SevereFetal distressEmergency LSCS
Severe with fetal demiseDead fetusVaginal delivery if mother stable (uterus will contract)
Coagulopathy management:
  • Monitor fibrinogen every 4-6 hours
  • FFP: 15 mL/kg to restore coagulation factors
  • Cryoprecipitate: if fibrinogen <100 mg/dL (target >150 mg/dL)
  • Tranexamic acid: 1 g IV over 10 minutes (antifibrinolytic)
  • Watch for DIC: platelet transfusion if <50,000

C. If Vasa Previa

  • Immediate emergency cesarean section - minutes determine fetal survival
  • Neonatal resuscitation team on standby
  • Fetal blood transfusion may be required neonatally

Neonatal Management

  • Neonatologist/NICU team present at delivery
  • At 37 weeks: risk of respiratory distress syndrome (mild)
  • Cord blood for Hb, blood group, Coombs test
  • Vitamin K 1 mg IM to neonate

Source: Rosen's Emergency Medicine 10e; Morgan & Mikhail's Clinical Anesthesiology 7e; Barash's Clinical Anesthesia 9e


QUESTION 2

A 30-year-old primigravida with twin pregnancy at 34 weeks presented with mild abdominal pain. (2+3+4+6)

i) What are the predisposing factors for twin pregnancy? (2 marks)

Dizygotic (Fraternal) Twins - Most Common (2/3 of twins):

  • Family history of twins (maternal side - hereditary hypergonadotropism)
  • Advanced maternal age (>35 years) - higher FSH levels
  • Multiparity - increased parity
  • Assisted Reproductive Technology (ART) - ovulation induction (clomiphene, gonadotropins), IVF with multiple embryo transfer
  • African race - highest rate of spontaneous twinning
  • Nutritional factors - tall stature, high dietary intake (IGF-1)
  • Previous twin pregnancy

Monozygotic (Identical) Twins:

  • Random/spontaneous - rate is constant worldwide (~3-4/1000 births)
  • ART can also increase MZ twinning (zona pellucida manipulation)

ii) How can you determine chorionicity? (3 marks)

Chorionicity determination is critical because monochorionic twins have higher risk of complications (TTTS, TAPS, sIUGR).

Timing - FIRST TRIMESTER is BEST (11-14 weeks)

Ultrasound Signs:

SignMonochorionic (MC)Dichorionic (DC)
Number of placentasOne (single/fused)Two (or clearly separate)
Lambda/Twin peak signAbsentPresent (wedge of placental tissue projecting into base of inter-twin membrane)
T-signPresent (thin membrane meets placenta at right angle - T-shaped)Absent
Inter-twin membrane thicknessThin (<2mm) - 2 layers amnionThick (>2mm) - 4 layers (2 chorion + 2 amnion)
Fetal sexSame sexMay be different sex (DC/DZ)
Membrane layers2 (amnioamniotic)4 (dichorionic-diamniotic)

Additional Methods:

  • Amniocentesis with karyotyping (DNA analysis for zygosity)
  • Placental examination after delivery
Mnemonic: "DC has a T-peak (Twin Peak/Lambda), MC has a T-sign"

iii) What are the complications of multiple pregnancy? (4 marks)

Maternal Complications:

SystemComplication
CardiovascularIncreased risk of preeclampsia (3x), gestational hypertension
AnemiaIron and folate deficiency anemia (increased demand)
Preterm labor50% of twins deliver before 37 weeks
Gestational diabetesIncreased risk
PolyhydramniosMore common in MC twins
MalpresentationAbnormal lie of second twin
PPHUterine atony (overdistension)
Placenta previa/abruptionIncreased incidence
Cesarean deliveryHigher rate

Fetal Complications:

ComplicationDetails
Preterm birthLeading cause of morbidity; mean delivery at 35-36 weeks
IUGR / FGRFetal growth restriction (especially MC twins)
Twin-Twin Transfusion Syndrome (TTTS)Only in MC/DA twins; donor (anemia, oligohydramnios) + recipient (polycythemia, polyhydramnios); Quintero staging I-V
Twin Anemia Polycythemia Sequence (TAPS)Chronic inter-twin blood transfusion without fluid shifts
Selective IUGR (sIUGR)One twin grows poorly due to unequal placental sharing
Conjoined twinsMC/MA twins fail to separate
Acardiac twin (TRAP sequence)Reverse arterial perfusion in MC twins
Cord entanglementIn monoamniotic twins (MA)
Discordant growthBirth weight difference >25%
Higher perinatal mortality3-7x higher than singletons
Congenital anomaliesHigher in MZ twins

iv) Outline the management of the case till delivery. (6 marks)

At Presentation (34 weeks, mild abdominal pain):

  • Admit to hospital
  • Rule out threatened preterm labor: cervical assessment, CTG, fetal fibronectin
  • Assess chorionicity (already known ideally from first trimester scan)
  • Rule out PPROM: speculum exam, fluid analysis (ferning, PAMG-1)

Antenatal Management:

Corticosteroids:
  • Betamethasone 12 mg IM x 2 doses 24 hours apart (for fetal lung maturity at 34 weeks - consider if preterm delivery imminent)
Tocolysis (if in preterm labor):
  • Nifedipine 10-20 mg orally (first-line) OR
  • Atosiban (oxytocin antagonist) IV
  • Contraindicated: beta-sympathomimetics (may worsen cardiac effects with twins)
Neuroprotection:
  • Magnesium sulphate IV if delivery anticipated <34 weeks (neuroprotection for cerebral palsy prevention)
  • Note: at 34 weeks, benefit is marginal

Ongoing Antenatal Surveillance:

IntervalInvestigation
Every 2 weeksGrowth scan + Doppler (umbilical artery, MCA)
Every 2 weeks (MC twins)Additional TTTS surveillance - amniotic fluid in both sacs, bladder filling
Weekly from 32 weeksNon-stress test (NST) / Biophysical Profile (BPP)
RegularBP, urine protein (preeclampsia screening)

Timing of Delivery:

TypeRecommended Delivery
DCDA (Dichorionic-Diamniotic)38 weeks
MCDA (Monochorionic-Diamniotic)36-37 weeks
MCMA (Monochorionic-Monoamniotic)32-34 weeks (elective CS)

Mode of Delivery:

  • Cephalic-cephalic presentation: Trial of vaginal delivery possible
  • First twin non-cephalic (breech/transverse): Cesarean section
  • Second twin malpresentation after first delivery: Internal podalic version + breech extraction
  • All MCMA twins: Cesarean section
  • Preterm (<34 weeks), IUGR, TTTS: Cesarean section preferred

During Labor:

  • Two neonatologists/NICU team at delivery
  • Continuous fetal monitoring of BOTH twins (twin CTG)
  • IV access, blood crossmatch
  • Anesthesia team on standby
  • Interval between twins: ideally <30 minutes
  • Active management of third stage (oxytocin 10 IU IM after delivery of 2nd twin)

Source: Creasy & Resnik's Maternal-Fetal Medicine; Tintinalli's Emergency Medicine


QUESTION 3

Compare the WHO Labor Care Guide with Modified WHO Partograph. Describe the components of Active Management of Third Stage of Labor (AMTSL). (3+7)

i) WHO Labor Care Guide vs. Modified WHO Partograph (3 marks)

FeatureModified WHO PartographWHO Labor Care Guide (LCG) (2020)
Year of introduction1994 (modified from original 1972)2020
Alert/Action linesAlert line (1 cm/hour) + Action line (4 hours to right)No action line
Latent phase recordedOriginal: Yes; Modified: NoNo
Cervical dilation plotActive phase begins at 4 cmActive phase begins at 5 cm (aligns with new WHO guidelines)
Time basisStarts at admission in active laborStarts at active phase (≥5 cm dilation)
Cervical progress threshold1 cm/hour requiredMore individualized; slower progress acceptable
Fetal wellbeingFHR, liquor, moulding, presenting partFHR, liquor, oxytocin, medications
Maternal vitalsPulse, BP, temperaturePulse, BP, temperature, urine output
ContractionsFrequency, durationFrequency, duration, oxytocin dose
Key philosophyDiagnosis of abnormal laborHolistic labor care; avoid unnecessary interventions
Over-diagnosis concernOver-diagnoses dystocia (many normal labors cross action line)Reduces unnecessary cesarean sections
WHO recommendationNo longer recommended by WHO (2018 ANC guidelines)Current WHO recommendation
The WHO LCG replaces the partograph and emphasizes positive birth experience, focusing on preventing unnecessary interventions while identifying truly abnormal labor.

ii) Active Management of Third Stage of Labor (AMTSL) (7 marks)

Definition:

AMTSL is a set of interventions given routinely after delivery of the baby to reduce the risk of Postpartum Hemorrhage (PPH) - the leading cause of maternal mortality worldwide.

Components of AMTSL (WHO 2012 - 3 key components):


Component 1: Uterotonic Drug Administration (Most Important)

Drug of choice: Oxytocin 10 IU IM (within 1 minute of delivery of baby)
DrugDoseRouteNotes
Oxytocin (1st line)10 IUIMImmediately after baby delivery; if IV in situ: 5 IU slow IV
Carbetocin100 mcgIM or IVLong-acting oxytocin analogue; preferred in C-section
Misoprostol600 mcgOral/sublingualUsed where oxytocin unavailable (room temperature stable)
Ergometrine0.2 mgIMAvoid in hypertension; causes vasoconstriction
SyntometrineOxytocin + ergometrineIMMore effective than oxytocin alone; more side effects
Mechanism of oxytocin: Stimulates uterine smooth muscle contraction → myometrial retraction → compression of uterine blood vessels → reduced blood loss.

Component 2: Controlled Cord Traction (CCT)

Technique (Brandt-Andrews method):
  1. Clamp and cut cord at 1-3 minutes after delivery (delayed cord clamping)
  2. Wait for signs of placental separation:
    • Gush of blood per vagina
    • Cord lengthening
    • Uterus becomes globular and rises in abdomen
  3. Apply suprapubic counter-pressure (guard the uterus with one hand above pubic symphysis)
  4. Apply steady, gentle downward traction on the cord in direction of birth canal
  5. As placenta descends, change traction direction upward (follows vaginal curve)
  6. Ask patient to push/bear down with contractions
  7. Never apply cord traction without uterine counter-pressure (risk of uterine inversion)

Component 3: Uterine Massage (After delivery of placenta)

  • After placenta is delivered, immediately massage the uterine fundus through the abdomen
  • Confirm uterus is well-contracted (hard, globular)
  • Sustained uterine massage is NO LONGER recommended (2012 WHO guidelines) - only fundal massage to assess tone
  • Empty bladder (full bladder displaces uterus → atony)

Additional Steps (Post-placenta):

  1. Inspect the placenta and membranes for completeness (retained placenta → PPH)
  2. Inspect the perineum/cervix for lacerations (repair if present)
  3. Monitor uterine tone every 15 minutes for the first 2 hours
  4. Monitor maternal pulse, BP, blood loss

Benefits of AMTSL:

  • Reduces incidence of PPH by 60-70%
  • Reduces need for blood transfusion
  • Reduces maternal mortality from PPH
  • Reduces duration of third stage of labor

Normal Third Stage Duration:

  • Usually completed within 15-30 minutes
  • If placenta not delivered within 30 minutes after uterotonic → retained placenta (manual removal under anesthesia)

Source: Williams Obstetrics; WHO guidelines on prevention of PPH (2012)


QUESTION 4

What are the causes of hyperglycemia in pregnancy? How will you screen the patient? What are the fetal complications? (3+3+4)

i) Causes of Hyperglycemia in Pregnancy (3 marks)

A. Gestational Diabetes Mellitus (GDM) - Most common

Definition: Glucose intolerance first recognized during pregnancy, regardless of whether the condition persists after delivery.
Pathophysiology:
  • Placental hormones (human placental lactogen/hPL, progesterone, cortisol, estrogen) → peripheral insulin resistance
  • Normally compensated by increased maternal insulin secretion
  • GDM occurs when pancreatic beta-cells cannot overcome this resistance
  • hPL peaks at 24-28 weeks → hence GDM screening at 24-28 weeks

B. Pre-existing (Overt) Diabetes in Pregnancy

TypeFeature
Type 1 DMAbsolute insulin deficiency; autoimmune; may worsen in pregnancy
Type 2 DMInsulin resistance; may be undiagnosed before pregnancy
MODY (Maturity-Onset Diabetes of the Young)Rare genetic form

C. Other Causes (Secondary)

  • Cushing syndrome (excess cortisol)
  • Acromegaly (excess growth hormone)
  • Steroid therapy (betamethasone given for fetal lung maturity → transient maternal hyperglycemia)
  • Pancreatitis / pancreatic disease
  • Pheochromocytoma

ii) How will you screen the patient? (3 marks)

Universal Screening Recommended at 24-28 weeks

One-Step Approach (WHO/IADPSG Recommended):

75g Oral Glucose Tolerance Test (OGTT) - after overnight fast (8-14 hours)
MeasurementNormalGDM Diagnosis (any ONE value)
Fasting<92 mg/dL≥92 mg/dL
1-hour post 75g<180 mg/dL≥180 mg/dL
2-hour post 75g<153 mg/dL≥153 mg/dL

Two-Step Approach (ACOG / North American):

  • Step 1: 50g Glucose Challenge Test (GCT) - no fasting required
    • 1-hour plasma glucose >140 mg/dL = positive (proceed to Step 2)
    • Sensitivity: ~80%; not diagnostic
  • Step 2: 100g OGTT (fasting) - Carpenter-Coustan criteria (2 or more values must be met):
    • Fasting ≥95 mg/dL
    • 1-hour ≥180 mg/dL
    • 2-hour ≥155 mg/dL
    • 3-hour ≥140 mg/dL

Early Screening (First Visit / <13 weeks) - For HIGH RISK patients:

Risk factors for early screening:
  • BMI >30 kg/m²
  • Previous GDM
  • Previous macrosomic baby (>4 kg)
  • Family history of DM (first-degree relative)
  • Polycystic ovarian syndrome (PCOS)
  • Glycosuria on 2+ occasions
  • Previous unexplained stillbirth
If early screen negative → repeat at 24-28 weeks.
Test used for early screening: Fasting plasma glucose or HbA1c
  • FPG ≥126 mg/dL = Overt DM
  • HbA1c ≥6.5% = Overt DM
  • FPG 92-125 mg/dL = GDM

iii) Fetal Complications of Hyperglycemia in Pregnancy (4 marks)

ComplicationMechanism/Details
MacrosomiaFetal hyperinsulinemia → excess fat deposition; birth weight >4000g; risk of shoulder dystocia, birth trauma
Congenital AnomaliesPre-existing (overt) DM in first trimester → NTDs, cardiac defects (VSD, transposition), sacral agenesis (pathognomonic), renal anomalies, holoprosencephaly
Intrauterine Fetal Demise (IUFD)Fetal hypoxia from polycythemia, acidosis; unexplained stillbirth
Neonatal HypoglycemiaFetal hyperinsulinism persists after birth + maternal glucose supply cut → blood glucose <40 mg/dL
Neonatal Hyperbilirubinemia (Jaundice)Polycythemia → RBC breakdown → excess bilirubin
Respiratory Distress Syndrome (RDS)Hyperinsulinemia inhibits surfactant synthesis (cortisol-opposing effect) → delayed lung maturity
PolycythemiaFetal hypoxia → increased erythropoietin → excess RBCs
Neonatal Hypocalcemia / HypomagnesemiaAltered mineral metabolism
OrganomegalyHepatomegaly, cardiomegaly (hypertrophic cardiomyopathy)
Intrauterine Growth Restriction (IUGR)Severe maternal vascular disease (DM type 1 with nephropathy/retinopathy) → placental insufficiency
Preterm birthPolyhydramnios → uterine distension → preterm labor
Long-term obesity and DMOffspring have increased risk of obesity and T2DM in later life (Barker hypothesis/fetal programming)
Mnemonic for neonatal complications of GDM: MACROSOMIA
  • Macrosomia
  • Anomalies (congenital)
  • Cardiomegaly
  • RDS
  • Organomegaly
  • Stillbirth
  • Obesity (long-term)
  • Metabolic (hypoglycemia, hypocalcemia)
  • IUGR (in vascular DM)
  • Anemia/polycythemia

Source: Creasy & Resnik's Maternal-Fetal Medicine; Tietz Textbook of Laboratory Medicine 7e


QUESTION 5

Outline the guidelines for antenatal anti-D prophylaxis in Rh-negative pregnancy. What are the neonatal complications in Rh-negative pregnancy? (6+4)

i) Guidelines for Antenatal Anti-D Prophylaxis in Rh-Negative Pregnancy (6 marks)

Background:

  • Rh(D) negative women (approx. 15% of population) are at risk of sensitization when exposed to Rh(D) positive fetal red cells
  • Sensitization → maternal anti-D IgG antibodies → cross placenta → destroy fetal RBCs → Hemolytic Disease of the Fetus and Newborn (HDFN)
  • Anti-D immunoglobulin (RhIG) prevents sensitization by clearing fetal RBCs before maternal immune response

A. ROUTINE ANTENATAL ANTI-D PROPHYLAXIS (RAADP)

Regimen Options:

RegimenDoseSchedule
Two-dose (RCOG preferred)500 IU (100 mcg) Anti-DAt 28 weeks AND 34 weeks gestation
Single-dose (NICE 2008)1500 IU (300 mcg) Anti-DAt 28 weeks gestation (single dose equally effective)
Key points:
  • Given IM (deltoid muscle)
  • Kleihauer-Betke (KB) test or flow cytometry done at 28 weeks to exclude already sensitized women (if antibodies found → RAADP not needed; fetal surveillance begins instead)
  • Routine prophylaxis is given regardless of father's Rh status (paternity uncertain)

B. ANTI-D FOR SENSITIZING EVENTS (Prophylaxis after each event)

Any event that may cause fetomaternal hemorrhage (FMH) in an Rh-negative woman:
Sensitizing EventDose of Anti-DTiming
Threatened miscarriage (<12 weeks)250 IUWithin 72 hours
Miscarriage / TOP (<12 weeks)250 IUWithin 72 hours
Ectopic pregnancy250 IUWithin 72 hours
Threatened miscarriage (>12 weeks)500 IUWithin 72 hours
Amniocentesis / CVS / cordocentesis500 IUWithin 72 hours; test for FMH
Antepartum hemorrhage (any gestation)500 IUWithin 72 hours; KB test
External cephalic version (ECV)500 IUWithin 72 hours
Abdominal trauma500 IUWithin 72 hours
Delivery (if baby Rh+)500 IU minimumWithin 72 hours postnatal (ideally within 2 hours); KB test to check if more needed
Critical rule: Anti-D must be given within 72 hours of sensitizing event (can be given up to 10 days in exceptional circumstances).

C. DOSE ADJUSTMENT FOR LARGE FETOMATERNAL HEMORRHAGE

  • Kleihauer-Betke (KB) test / flow cytometry performed after sensitizing events >20 weeks
  • Estimates volume of fetal RBCs in maternal circulation
  • Standard dose (500 IU) covers up to 4 mL fetal RBCs
  • If FMH >4 mL: additional Anti-D required (125 IU per additional mL of fetal blood)

D. WHEN NOT TO GIVE ANTI-D

  • Already sensitized (anti-D antibodies present on booking screen)
  • Fetus/baby confirmed Rh(D) negative
  • Patient is Rh(D) positive

E. POST-NATAL PROPHYLAXIS

  • Cord blood taken at delivery: ABO and Rh grouping + Direct Coombs Test (DCT)
  • If baby is Rh(D) positive → give 500 IU Anti-D IM to mother within 72 hours
  • If baby is Rh(D) negative → no Anti-D needed
  • KB test on maternal blood to check for large FMH → increase dose if needed

ii) Neonatal Complications in Rh-Negative Pregnancy (4 marks)

These complications arise in the Rh-positive baby of a sensitized Rh-negative mother (i.e., mother has developed anti-D antibodies from a previous pregnancy or sensitizing event). The antibodies are IgG → cross placenta → coat fetal Rh+ RBCs → destruction.

Hemolytic Disease of the Fetus and Newborn (HDFN) / Erythroblastosis Fetalis

ComplicationDetails
Fetal AnemiaProgressive hemolysis → severe anemia → high-output cardiac failure
Hydrops FetalisSevere anemia → cardiac failure → generalized edema (skin, ascites, pleural/pericardial effusion, placental edema) → most severe form; fetal death
Intrauterine Fetal Death (IUFD)From hydrops + severe anemia
Neonatal Jaundice (Hemolytic)Unconjugated hyperbilirubinemia within 24 hours of birth (pathological - always investigate)
KernicterusUnconjugated bilirubin crosses blood-brain barrier (neonatal BBB immature) → bilirubin deposits in basal ganglia and brainstem → choreoathetosis, hearing loss, intellectual disability, upward gaze palsy (Parinaud phenomenon), death
HepatosplenomegalyExtramedullary hematopoiesis (liver, spleen compensate for marrow); splenomegaly from RBC destruction
ThrombocytopeniaMarrow overwhelmed; platelet production reduced
HypoglycemiaIslet cell hyperplasia (hydropic fetuses) → hyperinsulinism
Neonatal Heart FailureFrom severe anemia
StillbirthSevere untreated cases

Severity Classification:

  • Mild HDFN: Mild anemia only; cord Hb >12 g/dL; bilirubin manageable with phototherapy
  • Moderate HDFN: Cord Hb 8-12 g/dL; significant jaundice → phototherapy + may need exchange transfusion
  • Severe HDFN: Cord Hb <8 g/dL; hydrops; intrauterine transfusion may be needed antenatally; exchange transfusion postnatally

Neonatal Treatment:

  • Phototherapy - converts unconjugated bilirubin to water-soluble forms for excretion
  • Exchange transfusion - removes sensitized RBCs + antibodies + bilirubin; replaces with Rh-negative blood
  • IV immunoglobulin (IVIG) - reduces hemolysis rate
  • Intrauterine transfusion - if hydrops detected antenatally (cordocentesis + intravascular transfusion)

Sources: RCOG Green-top Guideline No. 65 (Anti-D); Rosen's Emergency Medicine; Tintinalli's Emergency Medicine; Williams Obstetrics

Exam tip: In MBBS university exams, marks are awarded for organized presentation with headings, clear tables where appropriate, and covering all sub-parts in proportion to the marks allocated. Use the mark distribution (e.g., 1+3+4+7) to gauge how much to write for each sub-part.

Create a study guide PDF with all 5 questions for exam revision

Reading File
Running Command

ls /home/daytona/workspace/ 2>/dev/null && echo "---" && python3 -c "import reportlab; print('reportlab ok')" 2>/dev/null && python3 -c "from reportlab.platypus import SimpleDocTemplate; print('platypus ok')"

Running Command

mkdir -p /home/daytona/workspace/obstetrics-study-guide

Writing File

~/obstetrics-study-guide/build_pdf.py

#!/usr/bin/env python3
"""
MBBS Obstetrics Paper-I Study Guide PDF Builder
Uses ReportLab Platypus for professional multi-page layout
"""

from reportlab.lib.pagesizes import A4
from reportlab.lib import colors
from reportlab.lib.units import mm, cm
from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle
from reportlab.lib.enums import TA_CENTER, TA_LEFT, TA_JUSTIFY
from reportlab.platypus import (
    SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle,
    HRFlowable, PageBreak, KeepTogether
)
from reportlab.platypus.flowables import KeepTogether
from reportlab.lib.colors import HexColor
import os

OUTPUT = "/home/daytona/workspace/obstetrics-study-guide/Obstetrics_Paper1_StudyGuide.pdf"

# ── Color palette ────────────────────────────────────────────────────────────
C_NAVY      = HexColor("#1a3a5c")
C_TEAL      = HexColor("#0d7377")
C_GOLD      = HexColor("#c8a951")
C_LIGHT_BG  = HexColor("#eef4f8")
C_ROW_ALT   = HexColor("#f5f9fc")
C_RED       = HexColor("#c0392b")
C_GREEN     = HexColor("#1a6b3a")
C_ORANGE    = HexColor("#d35400")
C_WHITE     = colors.white
C_BLACK     = colors.black

# ── Document ─────────────────────────────────────────────────────────────────
doc = SimpleDocTemplate(
    OUTPUT,
    pagesize=A4,
    topMargin=18*mm, bottomMargin=18*mm,
    leftMargin=18*mm, rightMargin=18*mm,
    title="Obstetrics Paper-I Study Guide",
    author="Orris Medical AI",
    subject="MBBS University Exam Revision",
)

W = A4[0] - 36*mm   # usable width

# ── Styles ───────────────────────────────────────────────────────────────────
base = getSampleStyleSheet()

def S(name, parent="Normal", **kw):
    return ParagraphStyle(name, parent=base[parent], **kw)

sTitle      = S("sTitle",      "Title",   fontSize=22, textColor=C_NAVY,
                 fontName="Helvetica-Bold", alignment=TA_CENTER, spaceAfter=4)
sSubtitle   = S("sSubtitle",   "Normal",  fontSize=12, textColor=C_TEAL,
                 fontName="Helvetica-BoldOblique", alignment=TA_CENTER, spaceAfter=2)
sMeta       = S("sMeta",       "Normal",  fontSize=9,  textColor=colors.grey,
                 alignment=TA_CENTER, spaceAfter=16)
sQHead      = S("sQHead",      "Normal",  fontSize=13, textColor=C_WHITE,
                 fontName="Helvetica-Bold", spaceAfter=0, spaceBefore=14,
                 leftIndent=6, leading=17)
sSection    = S("sSection",    "Normal",  fontSize=11, textColor=C_NAVY,
                 fontName="Helvetica-Bold", spaceBefore=10, spaceAfter=3,
                 borderPad=2)
sSubsec     = S("sSubsec",     "Normal",  fontSize=10, textColor=C_TEAL,
                 fontName="Helvetica-Bold", spaceBefore=7, spaceAfter=2)
sBody       = S("sBody",       "Normal",  fontSize=9.5, leading=14,
                 spaceAfter=4, alignment=TA_JUSTIFY)
sBullet     = S("sBullet",     "Normal",  fontSize=9.5, leading=13,
                 leftIndent=14, firstLineIndent=-10, spaceAfter=2)
sNote       = S("sNote",       "Normal",  fontSize=8.5, textColor=C_ORANGE,
                 fontName="Helvetica-Oblique", leftIndent=8, spaceAfter=4)
sTH         = S("sTH",         "Normal",  fontSize=8.5, textColor=C_WHITE,
                 fontName="Helvetica-Bold", alignment=TA_CENTER, leading=11)
sTD         = S("sTD",         "Normal",  fontSize=8.5, leading=11,
                 alignment=TA_LEFT)
sTDc        = S("sTDc",        "Normal",  fontSize=8.5, leading=11,
                 alignment=TA_CENTER)
sMnemo      = S("sMnemo",      "Normal",  fontSize=9, textColor=C_GREEN,
                 fontName="Helvetica-Bold", leftIndent=10, spaceAfter=3)

# ── Helpers ───────────────────────────────────────────────────────────────────
def hr(color=C_TEAL, thickness=0.8):
    return HRFlowable(width="100%", thickness=thickness, color=color, spaceAfter=4)

def question_header(num, text, marks):
    """Colored banner for each question."""
    tbl = Table(
        [[Paragraph(f"Q{num}   {text}   [{marks}]", sQHead)]],
        colWidths=[W], rowHeights=[22]
    )
    tbl.setStyle(TableStyle([
        ("BACKGROUND", (0,0), (-1,-1), C_NAVY),
        ("ROUNDEDCORNERS", [4,4,4,4]),
        ("BOTTOMPADDING", (0,0), (-1,-1), 4),
        ("TOPPADDING",    (0,0), (-1,-1), 4),
    ]))
    return tbl

def section_box(text):
    tbl = Table([[Paragraph(text, sSection)]], colWidths=[W])
    tbl.setStyle(TableStyle([
        ("BACKGROUND", (0,0), (-1,-1), C_LIGHT_BG),
        ("LEFTPADDING",  (0,0), (-1,-1), 8),
        ("RIGHTPADDING", (0,0), (-1,-1), 8),
        ("TOPPADDING",   (0,0), (-1,-1), 4),
        ("BOTTOMPADDING",(0,0), (-1,-1), 4),
        ("LINEBELOW",    (0,0), (-1,-1), 1.5, C_TEAL),
    ]))
    return tbl

def marks_badge(label, marks):
    """Small inline marks indicator."""
    tbl = Table(
        [[Paragraph(f"<b>{label}</b>", sTDc), Paragraph(f"<b>{marks} marks</b>", sTDc)]],
        colWidths=[W*0.7, W*0.3], rowHeights=[14]
    )
    tbl.setStyle(TableStyle([
        ("BACKGROUND",   (1,0), (1,0), C_GOLD),
        ("BACKGROUND",   (0,0), (0,0), C_LIGHT_BG),
        ("FONTSIZE",     (0,0), (-1,-1), 8),
        ("TOPPADDING",   (0,0), (-1,-1), 2),
        ("BOTTOMPADDING",(0,0), (-1,-1), 2),
    ]))
    return tbl

def make_table(headers, rows, col_widths=None):
    """Build a styled data table."""
    if col_widths is None:
        n = len(headers)
        col_widths = [W / n] * n
    data = [[Paragraph(h, sTH) for h in headers]]
    for row in rows:
        data.append([Paragraph(str(c), sTD) for c in row])
    t = Table(data, colWidths=col_widths, repeatRows=1)
    style = [
        ("BACKGROUND",   (0,0), (-1,0),  C_TEAL),
        ("ROWBACKGROUNDS",(0,1),(-1,-1),  [C_WHITE, C_ROW_ALT]),
        ("GRID",         (0,0), (-1,-1),  0.4, colors.lightgrey),
        ("TOPPADDING",   (0,0), (-1,-1),  4),
        ("BOTTOMPADDING",(0,0), (-1,-1),  4),
        ("LEFTPADDING",  (0,0), (-1,-1),  5),
        ("RIGHTPADDING", (0,0), (-1,-1),  5),
        ("VALIGN",       (0,0), (-1,-1),  "TOP"),
    ]
    t.setStyle(TableStyle(style))
    return t

def bp(text):
    return Paragraph(f"• {text}", sBullet)

def body(text):
    return Paragraph(text, sBody)

def note(text):
    return Paragraph(f"⚠ {text}", sNote)

def sub(text):
    return Paragraph(text, sSubsec)

def sp(n=4):
    return Spacer(1, n)

# ══════════════════════════════════════════════════════════════════════════════
# CONTENT
# ══════════════════════════════════════════════════════════════════════════════
story = []

# ── COVER ────────────────────────────────────────────────────────────────────
story += [
    Spacer(1, 30*mm),
    Paragraph("OBSTETRICS", sTitle),
    Paragraph("Paper – I  |  Model Answers", sSubtitle),
    Spacer(1, 6*mm),
    hr(C_GOLD, 2),
    Spacer(1, 4*mm),
    Paragraph("MBBS University Examination — Exam Revision Study Guide", sMeta),
    Paragraph("Based on 2024 Question Paper  •  Written in University Exam Pattern", sMeta),
    Spacer(1, 10*mm),
]

# Contents box
toc_rows = [
    ["Q1", "Antepartum Hemorrhage – Diagnosis, Differentiation, Management", "1+3+4+7 = 15"],
    ["Q2", "Twin Pregnancy – Predisposing Factors, Chorionicity, Complications, Management", "2+3+4+6 = 15"],
    ["Q3", "WHO Labor Care Guide vs Partograph + AMTSL", "3+7 = 10"],
    ["Q4", "Hyperglycemia in Pregnancy – Causes, Screening, Fetal Complications", "3+3+4 = 10"],
    ["Q5", "Antenatal Anti-D Prophylaxis + Neonatal Complications in Rh-negative Pregnancy", "6+4 = 10"],
]
story.append(make_table(["No.", "Topic", "Marks"], toc_rows, [W*0.07, W*0.72, W*0.21]))
story.append(Spacer(1, 6*mm))
story.append(note("All answers follow the university long-answer pattern with marks proportional to sub-parts."))
story.append(PageBreak())

# ══════════════════════════════════════════════════════════════════════════════
# Q1: ANTEPARTUM HEMORRHAGE
# ══════════════════════════════════════════════════════════════════════════════
story.append(question_header(1,
    "32-yr primigravida, 37 weeks, active bleeding PV",
    "1+3+4+7 = 15 marks"))
story.append(sp(6))

# i) Diagnosis
story.append(marks_badge("i)  What is the diagnosis?", 1))
story.append(sp(4))
story.append(section_box("Diagnosis: Antepartum Hemorrhage (APH)"))
story.append(body(
    "APH is defined as <b>bleeding from the genital tract after 28 weeks of gestation and before delivery</b>. "
    "The most likely cause in this primigravida at 37 weeks with <i>active, painless</i> bright-red bleeding is "
    "<b>Placenta Previa</b>."
))
story.append(sp(6))

# ii) Differentiation
story.append(marks_badge("ii)  How can you differentiate the causes?", 3))
story.append(sp(4))
story.append(make_table(
    ["Feature", "Placenta Previa", "Abruptio Placentae", "Vasa Previa"],
    [
        ["Pain",             "Painless",                        "Painful, uterine tenderness",    "No abdominal pain"],
        ["Blood color",      "Bright red",                      "Dark, clotted",                   "Bright red (FETAL)"],
        ["Uterus",           "Soft, non-tender",                "Hard, woody, hypertonic",         "Soft"],
        ["Fetal lie",        "Abnormal (transverse/breech)",    "Usually normal",                  "May be abnormal"],
        ["Fetal HR",         "Usually normal",                  "Bradycardia / distress",          "Severe bradycardia"],
        ["Shock",            "Proportional to visible loss",    "Disproportionate (concealed)",    "Fetal shock primarily"],
        ["DIC",              "Rare",                            "Common (severe cases)",           "Rare"],
        ["US diagnosis",     "Diagnostic (low placenta)",       "Often normal — does NOT exclude", "Doppler vessels at os"],
        ["Who bleeds?",      "Mother",                          "Mother",                          "Fetus (Apt test +ve)"],
    ],
    [W*0.16, W*0.28, W*0.28, W*0.28]
))
story.append(note("NEVER perform digital vaginal examination until placenta previa is excluded by ultrasound."))
story.append(sp(6))

# iii) Immediate management
story.append(marks_badge("iii)  Write down the immediate management.", 4))
story.append(sp(4))

imm_steps = [
    ("A — Airway & O2",
     ["Call obstetric emergency team immediately",
      "Left lateral decubitus position (prevent aortocaval compression)",
      "O2 by face mask at 8-10 L/min"]),
    ("B — IV Access & Fluid Resuscitation",
     ["Two large-bore IV cannulas (14–16G)",
      "Rapid IV crystalloid (Normal saline / Ringer's lactate)",
      "Do NOT perform digital vaginal examination until US done"]),
    ("C — Urgent Investigations",
     ["CBC with platelets — assess blood loss",
      "Type and crossmatch (4 units pRBC) — prepare for transfusion",
      "PT, aPTT, Fibrinogen — screen for DIC (normal pregnancy fibrinogen = 400–450 mg/dL; <300 = significant consumption; <150 = severe)",
      "Serum urea, electrolytes, creatinine — renal function",
      "Kleihauer-Betke test — if Rh-negative (quantify fetomaternal hemorrhage)"]),
    ("D — Monitoring",
     ["Continuous CTG (cardiotocography) — fetal heart rate monitoring",
      "Urine output via catheter (target >30 mL/hour)",
      "Maternal pulse, BP, SpO2 every 15 minutes"]),
    ("E — Ultrasound",
     ["Transvaginal ultrasound (TVS) — gold standard for placental localization",
      "Empty bladder first (full bladder falsely suggests low placenta)",
      "Assess placental position relative to internal os; retroplacental hematoma"]),
    ("F — Rh Status",
     ["If Rh-negative: administer 300 mcg Rh immune globulin within 72 hours"]),
    ("G — Blood Products if actively bleeding",
     ["FFP if coagulopathy present",
      "Cryoprecipitate if fibrinogen <100 mg/dL",
      "Platelets if count <50,000",
      "Massive transfusion protocol: pRBC : FFP : Platelets = 1:1:1"]),
]
for title, bullets in imm_steps:
    story.append(sub(title))
    for b in bullets:
        story.append(bp(b))
story.append(sp(6))

# iv) Definitive management
story.append(marks_badge("iv)  What is the definitive management?", 7))
story.append(sp(4))

story.append(section_box("A. Placenta Previa — Cesarean Section (Vaginal delivery absolutely contraindicated)"))
story.append(sub("Pre-operative preparation:"))
for b in [
    "2 large-bore IVs in situ; 4 units crossmatched blood available",
    "Neuraxial (spinal/epidural) anesthesia preferred if hemodynamically stable — less blood loss than GA",
    "General anesthesia if actively hemorrhaging / hemodynamically unstable",
    "Warn of Placenta Accreta Spectrum risk (accreta/increta/percreta) — risk ↑ with prior cesarean + previa",
]:
    story.append(bp(b))

story.append(sub("Intraoperative:"))
for b in [
    "Lower Segment Cesarean Section (LSCS) by senior obstetrician",
    "Have uterotonics ready: Oxytocin 10 IU IV/IM after delivery of baby",
    "Prepare for possible hysterectomy if accreta spectrum found",
    "Blood products on standby",
]:
    story.append(bp(b))

story.append(sub("Postoperative:"))
for b in [
    "Monitor for PPH — lower uterine segment contracts poorly",
    "Continue IV oxytocin infusion",
    "Monitor Hb, coagulation, urine output",
]:
    story.append(bp(b))

story.append(sp(5))
story.append(section_box("B. Abruptio Placentae — Management by Severity"))
story.append(make_table(
    ["Severity", "Fetal Status", "Management"],
    [
        ["Mild (Grade I)",   "Reassuring FHR",   "At term: ARM + oxytocin augmentation → trial of vaginal delivery"],
        ["Moderate (Grade II)", "Fetal distress", "Emergency LSCS"],
        ["Severe (Grade III)", "Fetal demise",   "Vaginal delivery if mother stable; manage DIC aggressively"],
    ],
    [W*0.22, W*0.25, W*0.53]
))
story.append(sub("Coagulopathy management (DIC):"))
for b in [
    "Monitor fibrinogen every 4–6 hours",
    "FFP 15 mL/kg to restore coagulation factors",
    "Cryoprecipitate if fibrinogen <100 mg/dL (target >150 mg/dL)",
    "Tranexamic acid 1 g IV over 10 min (antifibrinolytic)",
    "Platelet transfusion if <50,000",
]:
    story.append(bp(b))

story.append(sp(5))
story.append(section_box("C. Vasa Previa — Immediate Emergency Cesarean Section"))
story.append(body("Minutes determine fetal survival. Neonatal resuscitation team on standby. Fetal blood transfusion may be required neonatally."))

story.append(sp(5))
story.append(section_box("Neonatal Management (All Cases)"))
for b in [
    "Neonatologist/NICU team present at delivery",
    "Cord blood for Hb, blood group, Coombs test",
    "Vitamin K 1 mg IM to neonate",
    "At 37 weeks: watch for mild respiratory distress syndrome",
]:
    story.append(bp(b))
story.append(PageBreak())

# ══════════════════════════════════════════════════════════════════════════════
# Q2: TWIN PREGNANCY
# ══════════════════════════════════════════════════════════════════════════════
story.append(question_header(2,
    "30-yr primigravida, twin pregnancy, 34 weeks, mild abdominal pain",
    "2+3+4+6 = 15 marks"))
story.append(sp(6))

story.append(marks_badge("i)  Predisposing factors for twin pregnancy", 2))
story.append(sp(4))
story.append(sub("Dizygotic (Fraternal) Twins — 2/3 of all twins:"))
for b in [
    "Family history of twins (maternal side — hereditary hypergonadotropism)",
    "Advanced maternal age (>35 yrs) — higher FSH levels → multiple follicle recruitment",
    "Multiparity",
    "Assisted Reproductive Technology (ART): ovulation induction (clomiphene, gonadotropins), IVF with multiple embryo transfer",
    "African race — highest spontaneous twinning rate worldwide",
    "Tall stature and high nutritional status (elevated IGF-1)",
    "Previous twin pregnancy",
]:
    story.append(bp(b))

story.append(sub("Monozygotic (Identical) Twins — 1/3:"))
for b in [
    "Largely random / spontaneous (constant rate ~3–4/1000 births worldwide)",
    "ART can also increase MZ twinning (zona pellucida manipulation)",
]:
    story.append(bp(b))
story.append(sp(6))

story.append(marks_badge("ii)  How can you determine chorionicity?", 3))
story.append(sp(4))
story.append(note("Chorionicity determination is critical — monochorionic twins have far higher risk of complications (TTTS, TAPS, sIUGR)."))
story.append(body("<b>Best timing: First trimester (11–14 weeks)</b> — accuracy ~99% vs ~90% in second trimester."))
story.append(make_table(
    ["Sign", "Monochorionic (MC)", "Dichorionic (DC)"],
    [
        ["Placenta",           "Single (one)",                    "Two (or clearly separate)"],
        ["Twin peak/Lambda sign", "Absent",                       "Present — wedge of placental tissue into membrane base"],
        ["T-sign",             "Present — membrane meets placenta at 90° (T-shape)", "Absent"],
        ["Membrane thickness", "Thin (<2 mm) — 2 layers amnion", "Thick (>2 mm) — 4 layers (2 chorion + 2 amnion)"],
        ["Fetal sex",          "Same sex",                        "May differ"],
    ],
    [W*0.25, W*0.37, W*0.38]
))
story.append(Paragraph("Mnemonic: <b>DC has Lambda/Twin-Peak sign; MC has T-sign</b>", sMnemo))
story.append(sp(6))

story.append(marks_badge("iii)  Complications of multiple pregnancy", 4))
story.append(sp(4))
story.append(sub("Maternal Complications:"))
story.append(make_table(
    ["System", "Complication"],
    [
        ["Hypertensive", "Pre-eclampsia (3× risk), gestational hypertension"],
        ["Haematological", "Iron and folate deficiency anaemia (increased demand)"],
        ["Obstetric", "Preterm labour (50% twins deliver <37 weeks), Malpresentation, PPH (uterine atony from overdistension)"],
        ["Placental", "Placenta praevia, abruption, polyhydramnios"],
        ["Metabolic", "Gestational diabetes mellitus"],
        ["Delivery", "Higher cesarean section rate"],
    ],
    [W*0.22, W*0.78]
))
story.append(sp(4))
story.append(sub("Fetal / Neonatal Complications:"))
story.append(make_table(
    ["Complication", "Details"],
    [
        ["Preterm birth", "Leading cause of morbidity; mean delivery 35–36 weeks"],
        ["IUGR / FGR", "Fetal growth restriction, especially in MC twins"],
        ["Twin-Twin Transfusion Syndrome (TTTS)", "Only MC/DA twins. Donor: anaemia, oligohydramnios. Recipient: polycythaemia, polyhydramnios. Quintero staging I–V"],
        ["Twin Anaemia Polycythaemia Sequence (TAPS)", "Chronic inter-twin blood transfusion without fluid shifts (MC twins)"],
        ["Selective IUGR (sIUGR)", "Unequal placental sharing → one twin grows poorly"],
        ["Conjoined twins", "MC/MA twins — incomplete separation"],
        ["TRAP sequence", "Acardiac twin — reverse arterial perfusion (MC twins)"],
        ["Cord entanglement", "Monoamniotic (MA) twins"],
        ["Discordant growth", "Birthweight difference >25% between twins"],
        ["Congenital anomalies", "Higher rate in MZ twins"],
        ["Perinatal mortality", "3–7× higher than singletons"],
    ],
    [W*0.35, W*0.65]
))
story.append(sp(6))

story.append(marks_badge("iv)  Outline management till delivery", 6))
story.append(sp(4))

story.append(section_box("At Presentation (34 weeks, mild abdominal pain):"))
for b in [
    "Admit to hospital",
    "Rule out threatened preterm labour: cervical assessment, CTG, fetal fibronectin",
    "Rule out PPROM: speculum exam, PAMG-1 test (AmniSure) or ferning",
    "Confirm chorionicity (ideally from first trimester scan records)",
]:
    story.append(bp(b))

story.append(section_box("Pharmacological Management:"))
story.append(sub("Corticosteroids (if delivery anticipated <34–35 weeks):"))
story.append(bp("Betamethasone 12 mg IM × 2 doses, 24 hours apart (fetal lung maturity)"))
story.append(sub("Tocolysis (if in preterm labour):"))
for b in [
    "Nifedipine 10–20 mg oral (first-line calcium channel blocker)",
    "Atosiban (oxytocin antagonist) IV — preferred in Europe",
    "Beta-sympathomimetics avoided in twins (cardiac risk from overdistension)",
]:
    story.append(bp(b))
story.append(sub("Neuroprotection (<32 weeks):"))
story.append(bp("Magnesium sulphate IV — cerebral palsy prevention (neuroprotection)"))

story.append(section_box("Ongoing Antenatal Surveillance:"))
story.append(make_table(
    ["Frequency", "Investigation"],
    [
        ["Every 2 weeks", "Growth scan + Doppler (umbilical artery, MCA PI)"],
        ["Every 2 weeks (MC twins)", "TTTS surveillance: amniotic fluid in both sacs, bladder filling"],
        ["Weekly from 32 weeks", "Non-stress test (NST) / Biophysical Profile (BPP)"],
        ["Each visit", "BP, urine protein (pre-eclampsia screen), Hb"],
    ],
    [W*0.25, W*0.75]
))

story.append(section_box("Timing & Mode of Delivery:"))
story.append(make_table(
    ["Twin Type", "Recommended Delivery Time", "Mode"],
    [
        ["DCDA (Dichorionic-Diamniotic)", "38 weeks", "Vaginal if cephalic-cephalic; CS if non-cephalic"],
        ["MCDA (Monochorionic-Diamniotic)", "36–37 weeks", "Vaginal possible; CS if complicated"],
        ["MCMA (Monochorionic-Monoamniotic)", "32–34 weeks", "Elective Cesarean Section"],
    ],
    [W*0.35, W*0.28, W*0.37]
))

story.append(section_box("During Labour:"))
for b in [
    "Two neonatologists / NICU team at delivery",
    "Continuous fetal monitoring of BOTH twins (twin CTG)",
    "IV access, blood group and crossmatch",
    "Anaesthesia team on standby",
    "Interval between Twin 1 and Twin 2: ideally <30 minutes",
    "Internal podalic version + breech extraction if Twin 2 malpresents after Twin 1 delivery",
    "Active management of third stage: oxytocin 10 IU IM after delivery of 2nd twin",
]:
    story.append(bp(b))
story.append(PageBreak())

# ══════════════════════════════════════════════════════════════════════════════
# Q3: WHO LABOR CARE GUIDE + AMTSL
# ══════════════════════════════════════════════════════════════════════════════
story.append(question_header(3,
    "WHO Labor Care Guide vs Modified Partograph + AMTSL Components",
    "3+7 = 10 marks"))
story.append(sp(6))

story.append(marks_badge("i)  Compare WHO Labor Care Guide with Modified WHO Partograph", 3))
story.append(sp(4))
story.append(make_table(
    ["Feature", "Modified WHO Partograph (1994)", "WHO Labor Care Guide (LCG 2020)"],
    [
        ["Year", "1994 (modified from 1972 original)", "2020"],
        ["Alert / Action lines", "Alert line (1 cm/hr) + Action line (4 hrs to right)", "No action/alert line"],
        ["Active phase start", "4 cm dilation", "5 cm dilation (aligns with new WHO guidelines)"],
        ["Latent phase", "Not recorded (modified version)", "Not recorded"],
        ["Cervical progress requirement", "1 cm/hour expected", "More individualized; slower progress acceptable"],
        ["Fetal monitoring", "FHR, liquor, moulding, presenting part", "FHR, liquor, oxytocin, medications"],
        ["Maternal monitoring", "Pulse, BP, temperature", "Pulse, BP, temperature, urine output"],
        ["Over-intervention risk", "High — many normal labours cross action line", "Reduced — fewer unnecessary CS"],
        ["Philosophy", "Diagnose abnormal labour, trigger intervention", "Positive birth experience; avoid unnecessary interventions"],
        ["WHO current status", "No longer recommended (WHO 2018)", "Current WHO recommendation"],
    ],
    [W*0.26, W*0.37, W*0.37]
))
story.append(note("The LCG replaces the partograph and emphasises a positive birth experience while identifying truly abnormal labour."))
story.append(sp(6))

story.append(marks_badge("ii)  Active Management of Third Stage of Labor (AMTSL)", 7))
story.append(sp(4))
story.append(body(
    "<b>Definition:</b> AMTSL is a set of routine interventions given after delivery of the baby to reduce the risk of "
    "<b>Postpartum Haemorrhage (PPH)</b> — the <b>leading cause of maternal mortality</b> worldwide. "
    "AMTSL reduces PPH incidence by <b>60–70%</b>."
))
story.append(sp(4))

story.append(section_box("Component 1 — Uterotonic Drug Administration (Most Important)"))
story.append(body("<b>Given within 1 minute of delivery of the baby</b>"))
story.append(make_table(
    ["Drug", "Dose", "Route", "Notes"],
    [
        ["Oxytocin (1st line)", "10 IU", "IM (or 5 IU slow IV if IV in situ)", "Immediate after baby delivery; short-acting"],
        ["Carbetocin", "100 mcg", "IM or IV", "Long-acting oxytocin analogue; preferred at cesarean"],
        ["Misoprostol", "600 mcg", "Oral / sublingual", "Where oxytocin unavailable; room-temperature stable"],
        ["Ergometrine", "0.2 mg", "IM", "Avoid in hypertension; causes vasoconstriction"],
        ["Syntometrine", "Oxytocin + Ergometrine", "IM", "More effective; more side effects"],
    ],
    [W*0.22, W*0.13, W*0.20, W*0.45]
))
story.append(body("<b>Mechanism:</b> Oxytocin stimulates uterine smooth muscle contraction → myometrial retraction → compression of uterine blood vessels → reduced blood loss."))
story.append(sp(5))

story.append(section_box("Component 2 — Controlled Cord Traction (CCT) — Brandt-Andrews Method"))
for b in [
    "Clamp and cut cord at 1–3 minutes after delivery (delayed cord clamping)",
    "Wait for signs of placental separation: gush of blood PV, cord lengthening, uterus becomes globular and rises in abdomen",
    "Apply suprapubic counter-pressure (guard uterus with one hand above pubic symphysis)",
    "Apply steady, gentle downward traction on cord in direction of birth canal",
    "As placenta descends, change direction of traction upward (follows vaginal curve)",
    "Ask patient to bear down with contractions",
    "NEVER apply cord traction without uterine counter-pressure — risk of uterine inversion",
]:
    story.append(bp(b))
story.append(sp(5))

story.append(section_box("Component 3 — Uterine Massage (After placenta delivery)"))
for b in [
    "Immediately after placenta is delivered, massage the uterine fundus through the abdomen",
    "Confirm uterus is well-contracted (hard, globular — 'contracted to size of orange')",
    "Sustained uterine massage is NO LONGER recommended (WHO 2012) — only fundal assessment",
    "Empty bladder (full bladder displaces uterus → atony)",
]:
    story.append(bp(b))
story.append(sp(5))

story.append(section_box("Additional Post-Placenta Steps:"))
for b in [
    "Inspect placenta and membranes for completeness (retained placenta → PPH)",
    "Inspect perineum and cervix for lacerations — repair if present",
    "Monitor uterine tone every 15 minutes for first 2 hours (fourth stage of labour)",
    "If placenta not delivered within 30 minutes after uterotonic → Retained Placenta → manual removal under anaesthesia",
]:
    story.append(bp(b))
story.append(sp(4))
story.append(make_table(
    ["Normal third stage", "Alert threshold"],
    [
        ["Delivered within 15–30 minutes", "Not delivered by 30 minutes = Retained Placenta"],
        ["Blood loss <500 mL (vaginal)", "PPH if ≥500 mL (vaginal) or ≥1000 mL (CS)"],
    ],
    [W*0.5, W*0.5]
))
story.append(PageBreak())

# ══════════════════════════════════════════════════════════════════════════════
# Q4: HYPERGLYCEMIA IN PREGNANCY
# ══════════════════════════════════════════════════════════════════════════════
story.append(question_header(4,
    "Hyperglycemia in Pregnancy — Causes, Screening, Fetal Complications",
    "3+3+4 = 10 marks"))
story.append(sp(6))

story.append(marks_badge("i)  Causes of hyperglycemia in pregnancy", 3))
story.append(sp(4))
story.append(section_box("A. Gestational Diabetes Mellitus (GDM) — Most Common"))
story.append(body(
    "<b>Definition:</b> Glucose intolerance first recognised during pregnancy, regardless of whether it persists after delivery."
))
story.append(body(
    "<b>Pathophysiology:</b> Placental hormones (hPL, progesterone, cortisol, oestrogen) cause progressive peripheral "
    "insulin resistance. GDM occurs when pancreatic beta-cells cannot overcome this resistance. "
    "hPL peaks at 24–28 weeks → hence GDM screening at 24–28 weeks."
))
story.append(sp(4))
story.append(section_box("B. Pre-existing (Overt) Diabetes in Pregnancy"))
story.append(make_table(
    ["Type", "Features"],
    [
        ["Type 1 DM", "Absolute insulin deficiency; autoimmune; may worsen in pregnancy"],
        ["Type 2 DM", "Insulin resistance; may be undiagnosed before pregnancy"],
        ["MODY", "Maturity-Onset Diabetes of the Young — rare genetic form"],
    ],
    [W*0.25, W*0.75]
))
story.append(sp(4))
story.append(section_box("C. Secondary Causes"))
story.append(make_table(
    ["Cause", "Mechanism"],
    [
        ["Corticosteroid therapy", "Betamethasone (for fetal lung maturity) → transient maternal hyperglycaemia"],
        ["Cushing syndrome", "Excess cortisol → insulin resistance"],
        ["Acromegaly", "Excess GH → insulin resistance"],
        ["Pancreatitis / pancreatic disease", "Reduced insulin secretory capacity"],
        ["Phaeochromocytoma", "Catecholamine-induced insulin resistance"],
    ],
    [W*0.35, W*0.65]
))
story.append(sp(6))

story.append(marks_badge("ii)  Screening for hyperglycemia in pregnancy", 3))
story.append(sp(4))
story.append(body("<b>Universal screening recommended at 24–28 weeks for all pregnant women.</b>"))
story.append(sub("One-Step Approach (WHO/IADPSG Recommended):"))
story.append(body("75g Oral Glucose Tolerance Test (OGTT) after overnight fast (8–14 hours)"))
story.append(make_table(
    ["Measurement", "Normal", "GDM (any ONE value meets/exceeds)"],
    [
        ["Fasting", "<92 mg/dL", "≥92 mg/dL"],
        ["1-hour post-75g", "<180 mg/dL", "≥180 mg/dL"],
        ["2-hour post-75g", "<153 mg/dL", "≥153 mg/dL"],
    ],
    [W*0.33, W*0.25, W*0.42]
))
story.append(sp(4))
story.append(sub("Two-Step Approach (ACOG / North American):"))
story.append(make_table(
    ["Step", "Test", "Threshold"],
    [
        ["Step 1 (Screening)", "50g GCT — no fasting required; 1-hour plasma glucose", ">140 mg/dL → proceed to Step 2"],
        ["Step 2 (Diagnostic)", "100g OGTT (fasting) — Carpenter-Coustan criteria (≥2 values must be met)",
         "Fasting ≥95 | 1-hr ≥180 | 2-hr ≥155 | 3-hr ≥140 mg/dL"],
    ],
    [W*0.14, W*0.53, W*0.33]
))
story.append(sp(4))
story.append(sub("Early Screening (<13 weeks) — High-Risk Patients:"))
story.append(body("<b>Risk factors:</b> BMI >30 | previous GDM | macrosomic baby (>4 kg) | family history DM | PCOS | glycosuria | previous unexplained stillbirth"))
story.append(make_table(
    ["Test", "Result", "Interpretation"],
    [
        ["Fasting plasma glucose", "≥126 mg/dL", "Overt DM"],
        ["HbA1c", "≥6.5%", "Overt DM"],
        ["Fasting plasma glucose", "92–125 mg/dL", "GDM"],
    ],
    [W*0.33, W*0.25, W*0.42]
))
story.append(note("If early screen is negative, repeat screening at 24–28 weeks."))
story.append(sp(6))

story.append(marks_badge("iii)  Fetal complications of hyperglycemia in pregnancy", 4))
story.append(sp(4))
story.append(make_table(
    ["Complication", "Mechanism / Details"],
    [
        ["Macrosomia", "Fetal hyperinsulinaemia → excess fat deposition; BW >4000 g; risk of shoulder dystocia, birth trauma, operative delivery"],
        ["Congenital Anomalies (pre-existing DM)", "First-trimester hyperglycaemia → NTDs, VSD, TGA, sacral agenesis (pathognomonic), renal anomalies, holoprosencephaly"],
        ["Intrauterine Fetal Death (IUFD)", "Fetal hypoxia from polycythaemia and acidosis; unexplained stillbirth"],
        ["Neonatal Hypoglycaemia", "Fetal hyperinsulinism persists after birth + maternal glucose supply cut off → BG <40 mg/dL"],
        ["Neonatal Hyperbilirubinemia (Jaundice)", "Polycythaemia → RBC breakdown → excess unconjugated bilirubin"],
        ["Respiratory Distress Syndrome (RDS)", "Hyperinsulinaemia inhibits surfactant synthesis (antagonises cortisol) → delayed lung maturity"],
        ["Polycythaemia", "Fetal hypoxia → ↑ erythropoietin → excess RBCs"],
        ["Neonatal Hypocalcaemia / Hypomagnesaemia", "Altered mineral metabolism; risk of neonatal seizures"],
        ["Organomegaly / Cardiomyopathy", "Hepatomegaly, hypertrophic cardiomyopathy from hyperinsulinism"],
        ["IUGR", "Severe maternal vascular disease (DM1 with nephropathy/retinopathy) → placental insufficiency"],
        ["Preterm birth", "Polyhydramnios → uterine overdistension → preterm labour"],
        ["Long-term obesity and T2DM", "Fetal programming (Barker hypothesis) — offspring at increased lifetime risk"],
    ],
    [W*0.32, W*0.68]
))
story.append(Paragraph("Mnemonic (Neonatal complications of GDM): <b>MACROSOMIA</b> — Macrosomia | Anomalies | Cardiomegaly | RDS | Organomegaly | Stillbirth | Obesity (long-term) | Metabolic (hypoglycaemia, hypocalcaemia) | IUGR | Anaemia/polycythaemia", sMnemo))
story.append(PageBreak())

# ══════════════════════════════════════════════════════════════════════════════
# Q5: ANTI-D PROPHYLAXIS
# ══════════════════════════════════════════════════════════════════════════════
story.append(question_header(5,
    "Antenatal Anti-D Prophylaxis in Rh-negative Pregnancy + Neonatal Complications",
    "6+4 = 10 marks"))
story.append(sp(6))

story.append(marks_badge("i)  Guidelines for antenatal anti-D prophylaxis in Rh-negative pregnancy", 6))
story.append(sp(4))
story.append(body(
    "<b>Background:</b> Rh(D)-negative women (~15% of population) are at risk of sensitisation when exposed to "
    "Rh(D)-positive fetal red cells. Sensitisation → maternal anti-D IgG → crosses placenta → destroys fetal RBCs → "
    "<b>Haemolytic Disease of the Fetus and Newborn (HDFN)</b>. "
    "<b>Anti-D immunoglobulin (RhIG)</b> prevents sensitisation by clearing fetal RBCs before the maternal immune response is mounted."
))
story.append(sp(4))

story.append(section_box("A. Routine Antenatal Anti-D Prophylaxis (RAADP)"))
story.append(make_table(
    ["Regimen", "Dose", "Schedule"],
    [
        ["Two-dose (RCOG preferred)", "500 IU (100 mcg) anti-D", "At 28 weeks AND 34 weeks gestation"],
        ["Single-dose (NICE 2008)", "1500 IU (300 mcg) anti-D", "Single dose at 28 weeks — equally effective"],
    ],
    [W*0.28, W*0.25, W*0.47]
))
story.append(body("Route: <b>IM injection (deltoid muscle)</b>. Check for pre-existing sensitisation (anti-D antibodies) at booking — if already sensitised, RAADP is not indicated; fetal surveillance begins instead."))
story.append(sp(5))

story.append(section_box("B. Anti-D for Sensitising Events — Given after EACH event"))
story.append(make_table(
    ["Sensitising Event", "Dose", "Timing"],
    [
        ["Threatened miscarriage (<12 weeks)", "250 IU", "Within 72 hours"],
        ["Miscarriage / TOP (<12 weeks)", "250 IU", "Within 72 hours"],
        ["Ectopic pregnancy", "250 IU", "Within 72 hours"],
        ["Threatened miscarriage (>12 weeks)", "500 IU", "Within 72 hours"],
        ["Amniocentesis / CVS / cordocentesis", "500 IU", "Within 72 hours; test for FMH"],
        ["Antepartum haemorrhage (any gestation)", "500 IU", "Within 72 hours; KB test"],
        ["External cephalic version (ECV)", "500 IU", "Within 72 hours"],
        ["Abdominal trauma", "500 IU", "Within 72 hours"],
        ["Delivery (if baby Rh+)", "500 IU minimum", "Within 72 hrs (ideally 2 hrs); KB test to check if more needed"],
    ],
    [W*0.42, W*0.18, W*0.40]
))
story.append(note("CRITICAL: Anti-D must be given within 72 hours of sensitising event (can be extended to 10 days exceptionally)."))
story.append(sp(5))

story.append(section_box("C. Dose Adjustment for Large Fetomaternal Haemorrhage (FMH)"))
for b in [
    "Kleihauer-Betke (KB) test or flow cytometry performed after sensitising events >20 weeks",
    "Standard dose (500 IU) covers up to 4 mL fetal RBCs",
    "If FMH >4 mL: additional anti-D required — 125 IU per additional mL of fetal blood",
]:
    story.append(bp(b))
story.append(sp(5))

story.append(section_box("D. Post-natal Prophylaxis"))
for b in [
    "Cord blood at delivery: ABO and Rh grouping + Direct Coombs Test (DCT)",
    "If baby is Rh(D) positive → give 500 IU anti-D IM to mother within 72 hours",
    "If baby is Rh(D) negative → no anti-D needed",
    "KB test on maternal blood → increase dose if large FMH detected",
]:
    story.append(bp(b))
story.append(sp(5))

story.append(section_box("E. When NOT to Give Anti-D"))
for b in [
    "Already sensitised (anti-D antibodies present on booking screen)",
    "Fetus/baby confirmed Rh(D) negative",
    "Patient is Rh(D) positive",
]:
    story.append(bp(b))
story.append(sp(6))

story.append(marks_badge("ii)  Neonatal complications in Rh-negative pregnancy", 4))
story.append(sp(4))
story.append(body(
    "These complications arise in an <b>Rh-positive baby</b> of a <b>sensitised Rh-negative mother</b>. "
    "Maternal anti-D antibodies (IgG) cross the placenta, coat fetal Rh+ RBCs, and trigger immune destruction. "
    "The clinical syndrome is called <b>Haemolytic Disease of the Fetus and Newborn (HDFN) / Erythroblastosis Fetalis</b>."
))
story.append(sp(4))
story.append(make_table(
    ["Complication", "Mechanism / Details"],
    [
        ["Fetal Anaemia", "Progressive haemolysis → severe anaemia → high-output cardiac failure"],
        ["Hydrops Fetalis", "Severe anaemia → cardiac failure → generalised oedema (skin, ascites, pleural/pericardial effusion, placental oedema) → fetal death"],
        ["Intrauterine Fetal Death (IUFD)", "From severe hydrops and anaemia"],
        ["Neonatal Jaundice (Haemolytic)", "Unconjugated hyperbilirubinaemia within 24 hours of birth (pathological — always investigate)"],
        ["Kernicterus", "Unconjugated bilirubin crosses immature BBB → deposits in basal ganglia → choreoathetosis, hearing loss, intellectual disability, upward gaze palsy (Parinaud sign), death"],
        ["Hepatosplenomegaly", "Extramedullary haematopoiesis (liver, spleen compensate for marrow failure)"],
        ["Thrombocytopenia", "Marrow overwhelmed; reduced platelet production"],
        ["Hypoglycaemia", "Islet cell hyperplasia in hydropic fetuses → hyperinsulinism"],
        ["Neonatal Heart Failure", "From severe anaemia"],
        ["Stillbirth", "Severe untreated cases"],
    ],
    [W*0.30, W*0.70]
))
story.append(sp(4))

story.append(section_box("Severity Classification and Treatment:"))
story.append(make_table(
    ["Severity", "Cord Hb", "Treatment"],
    [
        ["Mild HDFN", ">12 g/dL", "Phototherapy"],
        ["Moderate HDFN", "8–12 g/dL", "Phototherapy + possible exchange transfusion; IVIG"],
        ["Severe HDFN / Hydrops", "<8 g/dL", "Intrauterine transfusion (antenatally) + exchange transfusion (postnatally)"],
    ],
    [W*0.22, W*0.20, W*0.58]
))
story.append(sp(4))
story.append(sub("Neonatal Treatment Options:"))
for b in [
    "Phototherapy — converts unconjugated bilirubin to water-soluble isomers for excretion",
    "Exchange transfusion — removes sensitised RBCs + antibodies + bilirubin; replaces with Rh-negative blood",
    "IVIG (IV immunoglobulin) — reduces haemolysis rate",
    "Intrauterine transfusion — cordocentesis + intravascular transfusion if severe hydrops detected antenatally",
]:
    story.append(bp(b))

story.append(sp(10))
story.append(hr(C_GOLD, 1.5))
story.append(Paragraph(
    "Sources: Rosen's Emergency Medicine 10e  •  Tintinalli's Emergency Medicine 9e  •  "
    "Barash's Clinical Anesthesia 9e  •  Morgan & Mikhail's Clinical Anesthesiology 7e  •  "
    "Creasy & Resnik's Maternal-Fetal Medicine  •  RCOG Green-top Guideline No. 65",
    S("sfooter", "Normal", fontSize=7.5, textColor=colors.grey, alignment=TA_CENTER)
))

# ── Build ─────────────────────────────────────────────────────────────────────
doc.build(story)
print(f"PDF created: {OUTPUT}")
Running Command

cd /home/daytona/workspace/obstetrics-study-guide && python3 build_pdf.py 2>&1

Running Command

python3 -c " from pypdf import PdfReader r = PdfReader('/home/daytona/workspace/obstetrics-study-guide/Obstetrics_Paper1_StudyGuide.pdf') print(f'Pages: {len(r.pages)}') import os size = os.path.getsize('/home/daytona/workspace/obstetrics-study-guide/Obstetrics_Paper1_StudyGuide.pdf') print(f'File size: {size/1024:.1f} KB') "

Your study guide PDF is ready — 12 pages, professionally formatted.

Obstetrics Paper1 StudyGuide

PDF Document · PDF


Here's what's inside:
SectionContent
Cover pageTitle, question index with marks breakdown
Q1 (15 marks)APH diagnosis, previa vs abruption vs vasa previa comparison table, immediate management checklist (A-G), definitive management by cause
Q2 (15 marks)Twin predisposing factors, chorionicity (DC Lambda vs MC T-sign table), maternal + fetal complications table, management till delivery with drug doses
Q3 (10 marks)WHO LCG vs Modified Partograph comparison table, all 3 AMTSL components with technique steps, uterotonic drug table
Q4 (10 marks)GDM pathophysiology, WHO/IADPSG OGTT criteria, two-step ACOG approach, fetal complications table with MACROSOMIA mnemonic
Q5 (10 marks)RAADP regimens, sensitising events table with doses and timing, dose adjustment for large FMH, HDFN neonatal complications table, severity + treatment guide
Formatting features: Navy/teal color-coded question banners, gold mark badges, all important values in structured tables, clinical alerts highlighted, and source citations at the footer.

I CANT DOWNLOAD THE PDF PLEASE RESHARE IT

Let me verify the file still exists and rebuild it fresh.
Running Command

ls -lh /home/daytona/workspace/obstetrics-study-guide/ 2>&1

The file is there (37 KB, 12 pages). Let me try rebuilding it fresh so you get a clean copy:
Running Command

cd /home/daytona/workspace/obstetrics-study-guide && python3 build_pdf.py 2>&1 && ls -lh Obstetrics_Paper1_StudyGuide.pdf

Fresh copy is ready. Here is the download link:

Obstetrics Paper1 StudyGuide

PDF Document · PDF


If the link still doesn't work for you, here are a few things to try:
  1. Click the link text directly (not a right-click) - it should trigger a browser download
  2. Try a different browser (Chrome or Firefox work best)
  3. On mobile - tap and hold the link, then select "Open in new tab" or "Download"
If none of those work, let me know and I can convert it to a different format (such as a Word .docx file) which may download more reliably on your device.

Give the pdf in image format so I can download every page

Let me convert each PDF page to a PNG image.
Running Command

python3 -c "import fitz; print('pymupdf ok, version:', fitz.version)"

Running Command

which pdftoppm && pdftoppm -v 2>&1 | head -2

Running Command

mkdir -p /home/daytona/workspace/obstetrics-study-guide/pages && pdftoppm -r 180 -png /home/daytona/workspace/obstetrics-study-guide/Obstetrics_Paper1_StudyGuide.pdf /home/daytona/workspace/obstetrics-study-guide/pages/page && ls -lh /home/daytona/workspace/obstetrics-study-guide/pages/

All 12 pages are ready. Here they are one by one - tap/click each to save:

Page 1 — Cover & Contents

page 01

Image · PNG

Page 2 — Q1: APH Diagnosis & Differentiation

page 02

Image · PNG

Page 3 — Q1: Immediate Management

page 03

Image · PNG

Page 4 — Q1: Definitive Management

page 04

Image · PNG

Page 5 — Q2: Twin Pregnancy (Predisposing Factors + Chorionicity)

page 05

Image · PNG

Page 6 — Q2: Twin Complications

page 06

Image · PNG

Page 7 — Q2: Twin Management till Delivery

page 07

Image · PNG

Page 8 — Q3: WHO Labor Care Guide vs Partograph + AMTSL

page 08

Image · PNG

Page 9 — Q3: AMTSL Components (continued)

page 09

Image · PNG

Page 10 — Q4: Hyperglycemia — Causes & Screening

page 10

Image · PNG

Page 11 — Q4: Fetal Complications + Q5: Anti-D Prophylaxis

page 11

Image · PNG

Page 12 — Q5: Neonatal Complications in Rh-negative Pregnancy

page 12

Image · PNG


On mobile: long-press each link → Save image. On desktop: right-click → Save link as. All 12 pages are high-resolution (180 DPI) and clearly readable.
This is a shared conversation. Sign in to Orris to start your own chat.