Fmge
| Feature | Placenta Previa | Abruptio Placentae |
|---|---|---|
| Bleeding | Painless, revealed | Painful, concealed/revealed |
| Uterus | Soft, non-tender | Woody hard, tender |
| Fetal parts | Palpable | Not palpable |
| Shock | Proportionate | Disproportionate (Couvelaire uterus) |
| USG | Placenta over os | Retroplacental clot |
| Complete Mole | Partial Mole | |
|---|---|---|
| Karyotype | 46XX (most common) | 69XXY/XXX |
| Fetal parts | Absent | Present |
| Ξ²-hCG | Very high | Mildly elevated |
| Snow storm USG | Classic | Less obvious |
| Malignant potential | 15β20% | 1β5% |
| Method | Pearl Index | Key Facts |
|---|---|---|
| Combined OCP | 0.1β0.3 | Inhibits ovulation (LH surge); contraindicated in DVT, migraine with aura |
| Progesterone-only pill | 0.5β1 | Safe in breastfeeding, HTN |
| IUCD (Cu-T) | 0.6β0.8 | Copper toxic to sperm; inserted within 48h for emergency contraception |
| Condom | 2β15 | Only method protective against STIs |
| Levonorgestrel EC | β | Within 72h; delays/inhibits ovulation |
| Sterilization | 0.02β0.5 | Pomeroy (most common female), no-scalpel vasectomy |
| Mnemonic | Meaning |
|---|---|
| HELLP | Haemolysis, Elevated Liver enzymes, Low Platelets |
| 4 Ts of PPH | Tone, Trauma, Tissue, Thrombin |
| PALM-COEIN | AUB causes (structural vs non-structural) |
| Rotterdam (2/3) | Oligo-anovulation, Hyperandrogenism, PCO on USG |
| ABCDE of Mole | Amenorrhea, Bleeding, Coagulation failure, Distension (uterus large), Eclampsia (early) |
Create flashcards on OBG mnemonics and drugs
ls -la /home/daytona/workspace/ 2>/dev/null || echo "workspace empty or not founβ¦
mkdir -p /home/daytona/workspace/fmge-obg-flashcards && python3 -c "import reporβ¦
~/fmge-obg-flashcards/make_flashcards.py
from reportlab.lib.pagesizes import A4
from reportlab.lib import colors
from reportlab.lib.units import cm
from reportlab.platypus import (
SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle, PageBreak, HRFlowable
)
from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle
from reportlab.lib.enums import TA_CENTER, TA_LEFT
from reportlab.platypus import KeepTogether
OUTPUT = "/home/daytona/workspace/fmge-obg-flashcards/FMGE_OBG_Flashcards.pdf"
# ββ colour palette ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
C_HEADER = colors.HexColor("#1A3C6E") # dark navy
C_MNEMONIC = colors.HexColor("#E8F4FD") # light blue bg
C_DRUG = colors.HexColor("#FEF9E7") # light amber bg
C_FRONT_TXT = colors.HexColor("#FFFFFF")
C_BACK_TXT = colors.HexColor("#1A1A1A")
C_ACCENT = colors.HexColor("#E74C3C") # red accent
C_GREEN = colors.HexColor("#1E8449")
C_BORDER_M = colors.HexColor("#2980B9") # blue border
C_BORDER_D = colors.HexColor("#E67E22") # orange border
doc = SimpleDocTemplate(
OUTPUT,
pagesize=A4,
leftMargin=1.5*cm, rightMargin=1.5*cm,
topMargin=1.5*cm, bottomMargin=1.5*cm,
)
styles = getSampleStyleSheet()
# Custom styles
title_style = ParagraphStyle("Title", parent=styles["Title"],
fontSize=22, textColor=C_FRONT_TXT, alignment=TA_CENTER,
fontName="Helvetica-Bold", spaceAfter=4)
subtitle_style = ParagraphStyle("Subtitle", parent=styles["Normal"],
fontSize=11, textColor=C_FRONT_TXT, alignment=TA_CENTER,
fontName="Helvetica", spaceAfter=6)
section_style = ParagraphStyle("Section", parent=styles["Normal"],
fontSize=14, textColor=C_FRONT_TXT, alignment=TA_CENTER,
fontName="Helvetica-Bold", spaceAfter=2)
q_style = ParagraphStyle("Q", parent=styles["Normal"],
fontSize=13, textColor=C_HEADER, fontName="Helvetica-Bold",
leading=16, spaceAfter=4, alignment=TA_LEFT)
a_style = ParagraphStyle("A", parent=styles["Normal"],
fontSize=11, textColor=C_BACK_TXT, fontName="Helvetica",
leading=15, spaceAfter=2, alignment=TA_LEFT)
label_style = ParagraphStyle("Label", parent=styles["Normal"],
fontSize=8, textColor=colors.grey, fontName="Helvetica-Oblique",
alignment=TA_LEFT)
bullet_style = ParagraphStyle("Bullet", parent=styles["Normal"],
fontSize=10.5, textColor=C_BACK_TXT, fontName="Helvetica",
leading=14, leftIndent=10, spaceAfter=1)
# ββ helper: render one flashcard row (front | back) βββββββββββββββββββββββββ
def flashcard(num, category, front_q, back_lines, card_type="mnemonic"):
bg = C_MNEMONIC if card_type == "mnemonic" else C_DRUG
bdr = C_BORDER_M if card_type == "mnemonic" else C_BORDER_D
icon = "π§ " if card_type == "mnemonic" else "π"
cat_color = C_BORDER_M if card_type == "mnemonic" else C_BORDER_D
# Front cell
front_content = [
Paragraph(f'<font color="#888888" size="8">#{num} Β· {category}</font>', label_style),
Spacer(1, 4),
Paragraph(f'{icon} {front_q}', q_style),
]
# Back cell β bullet lines
back_content = [
Paragraph('<font color="#888888" size="8">ANSWER</font>', label_style),
Spacer(1, 4),
]
for line in back_lines:
if line.startswith("**") and line.endswith("**"):
# Bold heading
back_content.append(
Paragraph(f'<b><font color="{bdr.hexval()}">{line.strip("*")}</font></b>', bullet_style)
)
elif line.startswith("β’"):
back_content.append(Paragraph(line, bullet_style))
else:
back_content.append(Paragraph(line, a_style))
table = Table(
[[front_content, back_content]],
colWidths=[8.5*cm, 8.5*cm],
rowHeights=None,
)
table.setStyle(TableStyle([
("BACKGROUND", (0,0), (0,0), bg),
("BACKGROUND", (1,0), (1,0), colors.HexColor("#FAFAFA")),
("BOX", (0,0), (-1,-1), 1.5, bdr),
("LINEAFTER", (0,0), (0,0), 1, bdr),
("VALIGN", (0,0), (-1,-1), "TOP"),
("TOPPADDING", (0,0), (-1,-1), 8),
("BOTTOMPADDING", (0,0), (-1,-1), 8),
("LEFTPADDING", (0,0), (-1,-1), 10),
("RIGHTPADDING", (0,0), (-1,-1), 10),
("ROUNDEDCORNERS", [6]),
]))
return KeepTogether([table, Spacer(1, 0.35*cm)])
# ββ cover page βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
def cover():
cover_data = [[
Paragraph("FMGE High-Yield", title_style),
Spacer(1, 6),
Paragraph("OBG Flashcards", title_style),
Spacer(1, 10),
Paragraph("Mnemonics & Drugs", subtitle_style),
Spacer(1, 6),
Paragraph("Obstetrics Β· Gynaecology Β· Pharmacology", subtitle_style),
]]
cover_table = Table(cover_data, colWidths=[17*cm])
cover_table.setStyle(TableStyle([
("BACKGROUND", (0,0), (-1,-1), C_HEADER),
("BOX", (0,0), (-1,-1), 2, C_BORDER_D),
("TOPPADDING", (0,0), (-1,-1), 30),
("BOTTOMPADDING", (0,0), (-1,-1), 30),
("LEFTPADDING", (0,0), (-1,-1), 20),
("RIGHTPADDING", (0,0), (-1,-1), 20),
]))
return [cover_table, Spacer(1, 0.5*cm)]
def section_banner(title, subtitle=""):
content = [Paragraph(title, section_style)]
if subtitle:
content.append(Paragraph(subtitle, subtitle_style))
t = Table([[content]], colWidths=[17*cm])
t.setStyle(TableStyle([
("BACKGROUND", (0,0), (-1,-1), C_HEADER),
("TOPPADDING", (0,0), (-1,-1), 10),
("BOTTOMPADDING", (0,0), (-1,-1), 10),
("LEFTPADDING", (0,0), (-1,-1), 12),
("RIGHTPADDING", (0,0), (-1,-1), 12),
]))
return [t, Spacer(1, 0.3*cm)]
# ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# FLASHCARD DATA
# ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
mnemonic_cards = [
# (front_question, [back_lines], category)
(
"What do the 4 T's of PPH stand for?",
[
"**4 T's of PPH (Primary)**",
"β’ <b>T</b>one β Uterine atony (most common, ~80%)",
"β’ <b>T</b>rauma β Lacerations, uterine rupture",
"β’ <b>T</b>issue β Retained placenta/membranes",
"β’ <b>T</b>hrombin β Coagulopathy (DIC, ITP)",
"",
"PPH = β₯500 mL (vaginal) / β₯1000 mL (LSCS)",
],
"PPH"
),
(
"What does HELLP syndrome stand for?",
[
"**HELLP Syndrome**",
"β’ <b>H</b> β Haemolysis",
"β’ <b>EL</b> β Elevated Liver enzymes",
"β’ <b>LP</b> β Low Platelets (<100,000)",
"",
"Variant of severe pre-eclampsia",
"Rx: Stabilise β Deliver (definitive)",
],
"Pre-eclampsia"
),
(
"What is the PALM-COEIN classification for AUB?",
[
"**AUB β PALM-COEIN (FIGO 2011)**",
"<b>PALM</b> (Structural):",
"β’ Polyp Β· Adenomyosis Β· Leiomyoma Β· Malignancy",
"<b>COEIN</b> (Non-structural):",
"β’ Coagulopathy Β· Ovulatory Β· Endometrial",
"β’ Iatrogenic Β· Not yet classified",
],
"Menstrual Disorders"
),
(
"Rotterdam criteria for PCOS β recall the 3 components",
[
"**Rotterdam (2003) β diagnose 2 of 3:**",
"β’ <b>O</b>ligo/anovulation (irregular cycles)",
"β’ <b>H</b>yperandrogenism β clinical or biochemical",
"β’ <b>P</b>olycystic ovaries on USG (β₯12 follicles or volume >10 mL)",
"",
"LH:FSH ratio > 2:1 (supportive, not diagnostic)",
],
"PCOS"
),
(
"ABCDE mnemonic for Hydatidiform Mole",
[
"**Mole β ABCDE**",
"β’ <b>A</b>menorrhoea",
"β’ <b>B</b>leeding (irregular vaginal bleeding)",
"β’ <b>C</b>oagulation failure (DIC)",
"β’ <b>D</b>istension β uterus large for dates",
"β’ <b>E</b>clampsia occurring early (before 20 wks)",
"",
"Complete mole: 46XX | Partial mole: 69XXY",
],
"GTD"
),
(
"Cardinal movements of labor β in order",
[
"**DEFIRE + E (8 movements)**",
"β’ <b>D</b>escent",
"β’ <b>E</b>ngagement",
"β’ <b>F</b>lexion",
"β’ <b>I</b>nternal rotation",
"β’ <b>E</b>xtension",
"β’ <b>R</b>estitution (external rotation)",
"β’ <b>E</b>xpulsion",
"",
"Mnemonic: 'Doctors Every Friday Invite Excellent Resident Experts'",
],
"Normal Labor"
),
(
"What does PROM / PPROM stand for and how do you confirm it?",
[
"**PROM vs PPROM**",
"β’ PROM = Premature Rupture Of Membranes (at term)",
"β’ PPROM = Preterm PROM (before 37 weeks)",
"",
"<b>Confirmation triad:</b>",
"β’ Pooling of fluid in posterior fornix",
"β’ Nitrazine (pH) test β turns blue (alkaline amniotic fluid)",
"β’ Ferning on microscopy",
],
"PROM"
),
(
"Fetal heart rate decelerations β Type I, II, III",
[
"**FHR Decelerations**",
"β’ <b>Type I (Early)</b> β Head compression; benign; mirrors contraction",
"β’ <b>Type II (Late)</b> β Uteroplacental insufficiency; ominous",
"β’ <b>Variable</b> β Cord compression; V/W shaped",
"β’ <b>Sinusoidal</b> β Fetal anaemia (Rh isoimmunisation, vasa previa)",
"",
"Mnemonic: <i>HUC-A</i> = Head, Uteroplacental, Cord, Anaemia",
],
"Fetal Monitoring"
),
(
"Staging of cervical cancer (FIGO) β key landmarks",
[
"**Cervical Cancer FIGO Staging**",
"β’ Stage I β Confined to cervix",
"β’ Stage IIA β Upper 2/3 vagina involved",
"β’ Stage IIB β Parametrium involved (not pelvic wall)",
"β’ Stage IIIB β Pelvic wall / hydronephrosis",
"β’ Stage IVA β Bladder / rectum involved",
"β’ Stage IVB β Distant metastasis",
"",
"Staging is <b>CLINICAL</b> (not surgical)",
],
"Cervical Cancer"
),
(
"Differentiating Placenta Previa vs Abruptio Placentae",
[
"**PP vs PA β Key Differences**",
"β’ <b>Pain</b>: PP = Painless | PA = Painful",
"β’ <b>Bleeding</b>: PP = Revealed | PA = Concealed/Revealed",
"β’ <b>Uterus</b>: PP = Soft | PA = Woody hard (Couvelaire)",
"β’ <b>Shock</b>: PP = Proportionate | PA = Disproportionate",
"β’ <b>Fetal parts</b>: PP = Palpable | PA = Not palpable",
"β’ <b>USG</b>: PP = Placenta over os | PA = Retroplacental clot",
],
"APH"
),
(
"Causes of DIC in obstetrics β mnemonic",
[
"**DIC in Obstetrics β 'PAST DEAD'**",
"β’ <b>P</b>re-eclampsia / HELLP",
"β’ <b>A</b>bruption placentae",
"β’ <b>S</b>epsis (chorioamnionitis)",
"β’ <b>T</b>ransfusion reaction",
"β’ <b>D</b>ead fetus retained (IUFD)",
"β’ <b>E</b>mbolism (amniotic fluid)",
"β’ <b>A</b>tonic PPH",
"β’ <b>D</b>elayed delivery of second twin",
],
"DIC / Coagulopathy"
),
(
"Ovarian tumour markers β which marker for which tumour?",
[
"**Ovarian Tumour Markers**",
"β’ CA-125 β Serous cystadenocarcinoma (epithelial)",
"β’ AFP (alpha-fetoprotein) β Yolk sac tumour / Endodermal sinus",
"β’ Ξ²-hCG β Choriocarcinoma / Dysgerminoma",
"β’ LDH β Dysgerminoma",
"β’ Inhibin β Granulosa cell tumour",
"β’ CEA β Mucinous tumour",
"β’ CA 19-9 β Mucinous tumour",
],
"Ovarian Tumours"
),
(
"Krukenberg, Meigs, Pseudo-Meigs β distinguish them",
[
"**Ovarian Syndromes**",
"β’ <b>Krukenberg</b> β Metastatic to ovary from GI (stomach most common); mucin signet-ring cells",
"β’ <b>Meigs syndrome</b> β Ovarian <b>fibroma</b> + ascites + right pleural effusion",
"β’ <b>Pseudo-Meigs</b> β Same picture but with other benign tumours (teratoma, fibrothecoma)",
"",
"Meigs resolves after tumour removal",
],
"Ovarian Tumours"
),
(
"FIGO staging of endometrial cancer β surgical stages",
[
"**Endometrial Cancer β Surgical FIGO Staging**",
"β’ Stage IA β Tumour confined to uterus, <50% myometrial invasion",
"β’ Stage IB β β₯50% myometrial invasion",
"β’ Stage II β Cervical stromal invasion",
"β’ Stage IIIA β Serosa / adnexa",
"β’ Stage IIIC β Pelvic (C1) / para-aortic nodes (C2)",
"β’ Stage IVB β Distant metastasis",
"",
"Postmenopausal bleeding = endometrial Ca until proven otherwise",
],
"Endometrial Cancer"
),
(
"Contraception Pearl Index β which method is most effective?",
[
"**Pearl Index (lower = better)**",
"β’ Sterilisation β 0.02β0.5 (most effective)",
"β’ Combined OCP β 0.1β0.3",
"β’ IUCD (Cu-T) β 0.6β0.8",
"β’ POP (mini-pill) β 0.5β1",
"β’ Condom β 2β15",
"β’ Diaphragm β 6β20",
"β’ Rhythm method β 9β25 (least reliable)",
"",
"Only condom protects against STIs",
],
"Contraception"
),
(
"WHO semen analysis reference values (2021)",
[
"**Semen Analysis β WHO 2021**",
"β’ Volume β₯ 1.4 mL",
"β’ Concentration β₯ 16 million/mL",
"β’ Total motility β₯ 42%",
"β’ Progressive motility β₯ 30%",
"β’ Morphology (Kruger) β₯ 4% normal forms",
"β’ pH β₯ 7.2",
"",
"Azoospermia = complete absence of sperm",
],
"Infertility"
),
]
drug_cards = [
(
"MgSOβ in eclampsia β dose, regimen, antidote",
[
"**MgSOβ (Pritchard Regimen)**",
"β’ Loading: 4g IV (20% solution over 5 min) + 10g IM (5g each buttock)",
"β’ Maintenance: 5g IM every 4 hours",
"",
"**Toxicity monitoring:**",
"β’ Urine output β₯25 mL/hr",
"β’ Respiratory rate β₯16/min",
"β’ Patellar reflex present",
"",
"**Antidote: Calcium gluconate 1g IV slow push**",
],
"Eclampsia"
),
(
"Uterotonics in PPH β first line to last resort",
[
"**Uterotonics β Ascending Order**",
"β’ 1st: <b>Oxytocin</b> 10 IU IM/IV (safest, first-line)",
"β’ 2nd: <b>Ergometrine</b> 0.2 mg IM (avoid in HTN)",
"β’ 3rd: <b>Syntometrine</b> (Oxytocin + Ergometrine)",
"β’ 4th: <b>Carboprost</b> (PGF2Ξ±) 250 mcg IM β most potent",
" β Contraindicated in asthma",
"β’ 5th: <b>Misoprostol</b> 800β1000 mcg rectal (PGE1)",
"β’ <b>Tranexamic acid</b> 1g IV within 3h (antifibrinolytic)",
],
"PPH"
),
(
"Tocolytics β drugs used to suppress preterm labor",
[
"**Tocolytics**",
"β’ <b>Nifedipine</b> (CCB) β first-line; 10 mg oral PRN",
"β’ <b>Atosiban</b> (oxytocin antagonist) β IV; Europe",
"β’ <b>Ritodrine / Terbutaline</b> β Ξ²β agonists; side effects: tachycardia, pulmonary oedema",
"β’ <b>Indomethacin</b> (NSAID/COX inhibitor) β <32 weeks; risk of premature ductus closure",
"β’ <b>MgSOβ</b> β neuroprotection (not primary tocolysis)",
"",
"Give betamethasone 12 mg IM Γ 2 if <34 weeks (lung maturity)",
],
"Preterm Labor"
),
(
"Antihypertensives in pregnancy β which are safe?",
[
"**Safe Antihypertensives in Pregnancy**",
"β’ <b>Methyldopa</b> β gold standard oral; Ξ±β agonist",
"β’ <b>Labetalol</b> β first-line IV for severe HTN",
"β’ <b>Hydralazine</b> β IV vasodilator; alternative to labetalol",
"β’ <b>Nifedipine</b> β oral CCB; safe",
"β’ <b>Amlodipine</b> β acceptable",
"",
"<b>AVOID:</b> ACE inhibitors, ARBs, thiazides",
"ACEi/ARB β fetal renal dysgenesis, oligohydramnios",
],
"Hypertension"
),
(
"Methotrexate in ectopic pregnancy β criteria & dose",
[
"**MTX for Ectopic β Inclusion Criteria:**",
"β’ Haemodynamically stable",
"β’ Unruptured ectopic, size <4 cm",
"β’ Ξ²-hCG <5000 mIU/mL",
"β’ No fetal cardiac activity",
"β’ No contraindication to MTX (hepatic/renal disease, immunodeficiency)",
"",
"**Dose:** 50 mg/mΒ² IM single dose (or multi-dose regimen)",
"β’ Monitor Ξ²-hCG on days 4 and 7",
"β’ Success if Ξ²-hCG drops β₯15% between days 4β7",
],
"Ectopic Pregnancy"
),
(
"Anti-D (Rho-GAM) β when and how much?",
[
"**Anti-D Immunoglobulin**",
"β’ Dose: <b>300 mcg (1500 IU) IM</b>",
"β’ Within 72 hours of delivery / abortion / sensitising event",
"",
"**Antenatal prophylaxis:**",
"β’ 300 mcg at 28 weeks (and 34 weeks in some protocols)",
"",
"**Sensitising events requiring Anti-D:**",
"β’ Miscarriage, TOP, ectopic, amniocentesis, CVS, antepartum bleeding, trauma",
"",
"Kleihauer-Betke test to quantify FMH if needed",
],
"Rh Isoimmunisation"
),
(
"Drugs used in PCOS β for each indication",
[
"**PCOS Drug Management**",
"β’ <b>Ovulation induction:</b> Clomiphene citrate (first-line), Letrozole (better live birth rates)",
"β’ <b>Insulin resistance:</b> Metformin 500β2000 mg/day",
"β’ <b>Hyperandrogenism/acne:</b> Combined OCP (ethinyl estradiol + CPA or drospirenone)",
"β’ <b>Hirsutism:</b> Spironolactone, Finasteride",
"β’ <b>Resistant PCOS:</b> LOD (laparoscopic ovarian drilling) or gonadotrophins",
"",
"Weight loss 5β10% restores ovulation in many patients",
],
"PCOS"
),
(
"GnRH agonists vs antagonists β uses in gynaecology",
[
"**GnRH Agonists** (Leuprolide, Goserelin, Nafarelin)",
"β’ Initial flare β then downregulation",
"β’ Uses: Endometriosis, fibroid shrinkage pre-op, IVF downregulation, precocious puberty",
"β’ Side effect: Hypoestrogenic (menopausal symptoms, osteoporosis)",
"",
"**GnRH Antagonists** (Cetrorelix, Ganirelix)",
"β’ Immediate suppression, no flare",
"β’ Used in IVF antagonist protocols",
"",
"Add-back therapy (oestrogen) prevents bone loss with long-term agonist use",
],
"Endometriosis / IVF"
),
(
"Danazol β mechanism, uses and side effects",
[
"**Danazol**",
"β’ <b>Mechanism:</b> Synthetic androgen / antigonadotropin; inhibits LH & FSH surge",
"β’ Creates pseudomenopause",
"",
"**Uses:**",
"β’ Endometriosis (medical treatment)",
"β’ DUB / menorrhagia",
"β’ Fibrocystic breast disease",
"β’ Hereditary angioedema",
"",
"<b>Side effects (androgenic):</b>",
"β’ Acne, hirsutism, voice change, weight gain, liver toxicity",
"β’ Teratogenic β avoid in pregnancy",
],
"Endometriosis"
),
(
"Emergency contraception β options, timing, mechanism",
[
"**Emergency Contraception (EC)**",
"β’ <b>Levonorgestrel (LNG)</b> 1.5 mg β within 72 h; delays ovulation",
"β’ <b>Ulipristal acetate (UPA)</b> 30 mg β within 120 h; progesterone receptor modulator",
"β’ <b>Cu-IUCD</b> β within 5 days; most effective EC (>99%)",
"β’ <b>Yuzpe regimen</b> (high-dose OCP) β older, less used",
"",
"LNG does NOT affect implantation of fertilised egg",
"UPA more effective than LNG if BMI >26",
],
"Contraception"
),
(
"Drugs contraindicated in pregnancy β high-yield list",
[
"**Teratogenic Drugs to Avoid**",
"β’ <b>ACE inhibitors / ARBs</b> β oligohydramnios, renal dysgenesis (2nd/3rd trimester)",
"β’ <b>Warfarin</b> β warfarin embryopathy (1st trimester), ICH",
"β’ <b>Tetracyclines</b> β teeth/bone discolouration",
"β’ <b>Fluoroquinolones</b> β cartilage damage",
"β’ <b>Methotrexate</b> β folic acid antagonist, fetal death",
"β’ <b>Thalidomide</b> β phocomelia (limb reduction)",
"β’ <b>Valproate</b> β neural tube defects, cognitive impairment",
"β’ <b>Carbamazepine</b> β spina bifida",
"β’ <b>Isotretinoin</b> β craniofacial defects",
],
"Pharmacology"
),
(
"Drugs safe to use in breastfeeding",
[
"**Safe in Breastfeeding**",
"β’ <b>Antibiotics:</b> Amoxicillin, Erythromycin, Cephalosporins",
"β’ <b>Antihypertensives:</b> Methyldopa, Labetalol, Nifedipine",
"β’ <b>Analgesics:</b> Paracetamol (first choice), Ibuprofen",
"β’ <b>Antidiabetics:</b> Insulin (safe), Metformin (acceptable)",
"β’ <b>Antidepressants:</b> Sertraline (preferred SSRI)",
"",
"<b>Avoid:</b> Tetracyclines, fluoroquinolones, lithium, radioactive iodine, cytotoxics, high-dose aspirin",
],
"Pharmacology"
),
(
"Oxytocin β mechanism, uses, side effects",
[
"**Oxytocin**",
"β’ <b>Mechanism:</b> Binds oxytocin receptors on myometrium β uterine contractions",
"β’ Released from posterior pituitary",
"",
"<b>Uses:</b>",
"β’ Induction/augmentation of labor",
"β’ Active management of 3rd stage (10 IU IM)",
"β’ PPH treatment",
"",
"<b>Side effects:</b>",
"β’ Water retention (ADH-like effect) β hyponatraemia",
"β’ Hypotension (IV bolus)",
"β’ Uterine hyperstimulation β fetal distress",
"β’ Contraindicated in malpresentation/obstructed labor",
],
"Labor"
),
(
"Misoprostol β uses in obstetrics and gynaecology",
[
"**Misoprostol (PGEβ analogue)**",
"β’ <b>Cervical ripening:</b> 25β50 mcg vaginal/sublingual before induction",
"β’ <b>Medical abortion:</b> 800 mcg vaginal (with or after mifepristone)",
"β’ <b>PPH:</b> 800β1000 mcg rectal/sublingual",
"β’ <b>IUCD insertion:</b> Cervical softening",
"",
"<b>Mifepristone + Misoprostol:</b>",
"β’ 200 mg mifepristone (anti-progesterone) β 48h β 800 mcg misoprostol",
"β’ Used up to 63 days (9 weeks) gestation for medical TOP",
],
"Abortifacient / PPH"
),
(
"Chemotherapy for gestational trophoblastic neoplasia",
[
"**GTN Chemotherapy Regimens**",
"β’ <b>Low-risk GTN:</b> Single-agent <b>Methotrexate</b> (IM) or Actinomycin D",
"β’ <b>High-risk GTN:</b> <b>EMA-CO</b> regimen",
" β Etoposide, Methotrexate, Actinomycin D / Cyclophosphamide, Oncovin (vincristine)",
"",
"<b>FIGO scoring:</b> β€6 = low risk | β₯7 = high risk",
"",
"Choriocarcinoma is the most chemosensitive solid tumour",
"Even metastatic disease is curable in majority",
],
"GTD / Chemotherapy"
),
]
# ββ build document ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
elements = []
# Cover
elements += cover()
elements.append(PageBreak())
# Legend
legend = Table([
[
Paragraph('<font color="#2980B9">π§ Blue border = Mnemonic card</font>', a_style),
Paragraph('<font color="#E67E22">π Orange border = Drug card</font>', a_style),
]
], colWidths=[8.5*cm, 8.5*cm])
legend.setStyle(TableStyle([
("BACKGROUND", (0,0), (-1,-1), colors.HexColor("#F8F8F8")),
("BOX", (0,0), (-1,-1), 1, colors.grey),
("TOPPADDING", (0,0), (-1,-1), 8),
("BOTTOMPADDING", (0,0), (-1,-1), 8),
("LEFTPADDING", (0,0), (-1,-1), 10),
]))
elements.append(legend)
elements.append(Spacer(1, 0.5*cm))
# Section 1 β Mnemonics
elements += section_banner("SECTION 1: OBG Mnemonics", f"{len(mnemonic_cards)} flashcards")
elements.append(Spacer(1, 0.2*cm))
for i, (q, ans, cat) in enumerate(mnemonic_cards, 1):
elements.append(flashcard(i, cat, q, ans, card_type="mnemonic"))
elements.append(PageBreak())
# Section 2 β Drugs
elements += section_banner("SECTION 2: OBG Drugs", f"{len(drug_cards)} flashcards")
elements.append(Spacer(1, 0.2*cm))
for i, (q, ans, cat) in enumerate(drug_cards, 1):
elements.append(flashcard(i, cat, q, ans, card_type="drug"))
# Build
doc.build(elements)
print(f"PDF created: {OUTPUT}")
cd /home/daytona/workspace/fmge-obg-flashcards && python3 make_flashcards.py 2>&β¦
ls -lh /home/daytona/workspace/fmge-obg-flashcards/FMGE_OBG_Flashcards.pdf
FMGE OBG Flashcards
PDF Document Β· PDF
| # | Topic |
|---|---|
| 1 | 4 T's of PPH |
| 2 | HELLP syndrome |
| 3 | PALM-COEIN (AUB) |
| 4 | Rotterdam criteria (PCOS) |
| 5 | ABCDE mnemonic for Hydatidiform Mole |
| 6 | Cardinal movements of labor |
| 7 | PROM / PPROM confirmation |
| 8 | FHR decelerations (Type I, II, Variable, Sinusoidal) |
| 9 | Cervical cancer FIGO staging |
| 10 | Placenta Previa vs Abruptio |
| 11 | DIC in obstetrics |
| 12 | Ovarian tumour markers |
| 13 | Krukenberg / Meigs / Pseudo-Meigs |
| 14 | Endometrial cancer FIGO staging |
| 15 | Pearl Index (contraception) |
| 16 | WHO semen analysis (2021) |
| # | Topic |
|---|---|
| 1 | MgSOβ regimen + antidote |
| 2 | Uterotonics in PPH (escalation order) |
| 3 | Tocolytics in preterm labor |
| 4 | Antihypertensives safe in pregnancy |
| 5 | Methotrexate for ectopic |
| 6 | Anti-D (Rho-GAM) dose & timing |
| 7 | PCOS drug management |
| 8 | GnRH agonists vs antagonists |
| 9 | Danazol β mechanism & side effects |
| 10 | Emergency contraception options |
| 11 | Drugs contraindicated in pregnancy |
| 12 | Drugs safe in breastfeeding |
| 13 | Oxytocin β mechanism & side effects |
| 14 | Misoprostol uses |
| 15 | GTN chemotherapy (EMA-CO) |