Hi

Hey! How can I help you today?

Can you teach me while cns for pharmacology mbbs 2nd year for my proff exams...I don't have any book and other resources...plzcover all important topics from kdt and also give a easy to learn and build concept explanation

Reading File
Finding Sources
Asking for Preferences
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Reading File
Reading File
Reading File
Reading File
Reading File
Here are your complete CNS Pharmacology notes for MBBS 2nd Year Prof - structured topic by topic, concept-first, KDT-aligned.

CNS PHARMACOLOGY - MBBS 2nd Year Prof

Complete Notes (KDT-aligned, Concept-based)


HOW THE CNS WORKS - The Foundation Concept

Before any drug, understand these two key neurotransmitters:
NTEffectReceptorDrugs that enhance it
GABAInhibitory - calms the brainGABA-A (Cl- channel)Benzodiazepines, Barbiturates
GlutamateExcitatory - fires the brainNMDA, AMPAMemantine blocks it
DopamineMood, movement, rewardD1, D2Antipsychotics block D2
Serotonin (5-HT)Mood, sleep, appetite5-HT1A, 5-HT2Antidepressants increase it
NoradrenalineArousal, attentionAlpha, BetaAntidepressants increase it
AcetylcholineMemory, movementM, NAnticholinergics in Parkinson's
Core Concept: Most CNS depressant drugs (sedatives, hypnotics, anesthetics) enhance GABA or inhibit glutamate. Most stimulant/mood drugs (antidepressants) increase monoamines.

TOPIC 1: SEDATIVES AND HYPNOTICS

Concept First

  • Sedative = reduces anxiety (lower dose)
  • Hypnotic = induces sleep (higher dose)
  • Same drugs, just different doses. The dose-response goes: Anxiolytic → Sedation → Hypnosis → Anesthesia → Coma → Death

THE BENZODIAZEPINES (BZDs)

Most important class - KDT devotes maximum attention here

Mechanism (must memorize)

  • Bind to BZD site on GABA-A receptor (separate from GABA binding site)
  • They enhance the frequency of Cl- channel opening (GABA must be present - they are modulators, NOT direct activators)
  • Result: Hyperpolarization → neuronal inhibition → CNS depression
Memory trick: BZDs increase FREQUENCY of Cl- channel opening. Barbiturates increase DURATION. (Freq vs Duration - B comes before D alphabetically, BZD = Frequency)

Pharmacological Actions

  1. Anxiolytic (anti-anxiety) - at low doses
  2. Sedation and hypnosis
  3. Anticonvulsant
  4. Muscle relaxation (spinal cord)
  5. Anterograde amnesia (useful in procedures)

Pharmacokinetics - Important!

All BZDs are highly lipid soluble and well absorbed orally.
DrugHalf-lifeUse
Diazepam20-100 hrs (very long - active metabolites)Anxiety, status epilepticus, muscle spasm
Lorazepam10-20 hrsStatus epilepticus (preferred IV), premedication
Midazolam1-4 hrs (very short)Anesthesia premedication, endoscopy
Clonazepam20-50 hrsEpilepsy (absence, myoclonic)
Alprazolam12-15 hrsPanic disorder
Triazolam2-4 hrs (very short)Insomnia (but causes rebound anxiety!)
Nitrazepam24-36 hrsInsomnia
Oxazepam/Lorazepam/TemazepamShort-intermediateSafe in liver disease (no active metabolites)
Memory for liver disease: "LOT" - Lorazepam, Oxazepam, Temazepam are safe in liver disease (they undergo direct glucuronidation, no phase I metabolism)

Adverse Effects (EXAM FAVORITE)

  • Drowsiness, sedation, ataxia
  • Anterograde amnesia
  • Paradoxical excitement (especially in elderly)
  • Respiratory depression (less than barbiturates)
  • Tolerance and dependence (schedule IV)
  • Withdrawal syndrome: anxiety, insomnia, tremors, convulsions

Uses (High-yield)

  1. Anxiety disorders - Diazepam, Alprazolam
  2. Insomnia - Nitrazepam, Triazolam
  3. Status epilepticus - IV Lorazepam (1st choice), IV Diazepam
  4. Premedication before anesthesia - Diazepam, Midazolam
  5. Muscle spasm - Diazepam
  6. Alcohol withdrawal - Chlordiazepoxide (longest acting → smooth withdrawal)
  7. Panic disorder - Alprazolam, Clonazepam

FLUMAZENIL - The Antidote

  • Competitive antagonist at the BZD binding site
  • Reverses BZD overdose and BZD anesthesia
  • Given IV, short half-life (about 1 hour) - so repeat doses may be needed
  • Does NOT reverse barbiturates, alcohol, opioids
  • Warning: Can precipitate withdrawal seizures in BZD-dependent patients

BARBITURATES

Mechanism

  • Bind to GABA-A receptor at a different site from BZDs
  • Increase DURATION of Cl- channel opening
  • At high doses: can open Cl- channels even WITHOUT GABA (direct activation)
  • This is why barbiturates are more dangerous - steeper dose-response curve

Comparison with BZDs (Exam Favorite Table)

FeatureBenzodiazepinesBarbiturates
MechanismIncrease frequency of Cl- channel openingIncrease duration of Cl- channel opening
GABA needed?Yes (modulators)At high dose: No (direct activators)
Safety marginWide (safer)Narrow (dangerous)
Respiratory depressionLessMore (dose-dependent)
DependenceYesYes (more severe)
Enzyme inductionNoYes (induces CYP450)
AntidoteFlumazenilNone
Urine alkalization helps?NoYes (for phenobarbital overdose)

Classification of Barbiturates

TypeDrugUse
Long acting (t½ > 12h)PhenobarbitalEpilepsy
Short actingPentobarb, SecobarbInsomnia (rarely now)
Ultra-short actingThiopental (Thiopentone)IV anesthesia induction
IntermediateAmobarbital-

Key Drug: THIOPENTONE (Thiopental)

  • Ultra-short acting because it redistributes rapidly from brain to muscle to fat
  • Used for induction of anesthesia (IV)
  • NOT an analgesic
  • Causes myocardial depression, hypotension
  • Contraindicated in: porphyria (increases ALA synthetase → triggers attack)

Key Drug: PHENOBARBITAL

  • Long half-life (80-120 hours!)
  • Used as anticonvulsant (see antiepileptics section)
  • Strong CYP450 inducer → decreases effect of many drugs (warfarin, OCP, phenytoin)
  • Renal excretion enhanced by alkalinizing urine (useful in overdose)

Z-DRUGS (Newer Hypnotics)

Zolpidem, Zaleplon, Eszopiclone
  • Act like BZDs but bind selectively to BZD1 receptor subtype (omega-1)
  • Primarily hypnotic (less anxiolytic, less muscle relaxant, less anticonvulsant)
  • Shorter half-life, less hangover
  • Still cause dependence
  • Antidote: Flumazenil (works against these too!)
  • Used for: sleep-onset insomnia

TOPIC 2: ANTIEPILEPTIC DRUGS (AEDs)

Concept First - Why Do Seizures Occur?

A seizure = abnormal, excessive, synchronous electrical discharge of neurons. It happens due to:
  1. Too much excitation (excess glutamate/sodium influx)
  2. Too little inhibition (GABA deficiency)
So all AEDs work by either:
  • Blocking Na+ channels (stabilize neuronal membrane)
  • Enhancing GABA
  • Blocking Ca2+ channels (especially T-type in absence seizures)
  • Blocking glutamate

Classification of Seizures (ILAE - Important!)

FOCAL (one hemisphere):
  • Focal aware (simple partial) - no loss of consciousness
  • Focal impaired awareness (complex partial) - altered consciousness
  • Focal to bilateral tonic-clonic (secondary generalization)
GENERALIZED (both hemispheres):
  • Tonic-clonic (grand mal) - most common
  • Absence (petit mal) - blank stare, 3/sec spike-wave on EEG, 3-5 seconds
  • Myoclonic - brief muscle jerks
  • Tonic - sustained extension
  • Atonic (drop attacks) - sudden loss of tone
  • Clonic - rhythmic jerking
Absence vs Complex Partial: Both have altered consciousness but absence has 3/sec spike-wave EEG and NO post-ictal confusion. Complex partial has temporal lobe EEG focus and may have post-ictal confusion.

DRUG-SEIZURE TYPE MATCHING (Most Exam-Favorite Table!)

Seizure TypeDrug of ChoiceAlternatives
Tonic-clonic (grand mal)Valproate, Phenytoin, CarbamazepinePhenobarbital, Lamotrigine
Absence (petit mal)Ethosuximide (1st choice if ONLY absence), Valproate (if mixed)Clonazepam
MyoclonicValproateClonazepam, Levetiracetam
Focal/partialCarbamazepine, PhenytoinValproate, Lamotrigine
Status epilepticusIV Lorazepam (1st) → IV Phenytoin → IV Phenobarbital
Febrile seizuresDiazepam (acute, rectal/IV)Phenobarbital (prophylaxis)
Infantile spasms (West synd.)ACTH, Vigabatrin
Trigeminal neuralgiaCarbamazepine (1st choice!)

INDIVIDUAL DRUGS - High Yield

1. PHENYTOIN (Diphenylhydantoin)

Mechanism: Blocks voltage-gated Na+ channels in their inactivated state → prevents repetitive firing
Pharmacokinetics (EXAM GOLD):
  • Zero-order (saturation) kinetics at therapeutic doses - small dose increase → large plasma level increase → toxicity
  • Highly protein bound (90%)
  • Strong CYP450 INDUCER
  • Can be given IV (not IM - precipitates)
Adverse Effects (Most Important in Exams!):
  • Nystagmus (first sign of toxicity)
  • Ataxia, diplopia, sedation
  • Gingival hyperplasia (gum overgrowth) - distinctive!
  • Hirsutism (facial hair in women)
  • Coarsening of facial features
  • Folate deficiency → megaloblastic anemia
  • Vitamin D deficiency → osteomalacia
  • Hypersensitivity: Stevens-Johnson syndrome
  • Teratogenic: Fetal hydantoin syndrome (cleft palate, cardiac defects, hypoplastic nails)
  • Cardiac arrhythmia if given IV too fast
Uses: Tonic-clonic, focal seizures, status epilepticus (IV), trigeminal neuralgia (2nd line), digitalis-induced arrhythmias
Contraindications: Pregnancy, porphyria, absence seizures (can worsen)

2. CARBAMAZEPINE (CBZ)

Mechanism: Blocks Na+ channels (same as phenytoin)
Key Pharmacology:
  • Enzyme INDUCER (induces its OWN metabolism = auto-induction)
  • Reduces effect of OCP, warfarin, phenytoin
Adverse Effects:
  • Diplopia, ataxia, drowsiness (dose-related)
  • SIADH (hyponatremia) - important and unique!
  • Aplastic anemia, agranulocytosis (rare, check CBC)
  • Stevens-Johnson syndrome (especially in HLA-B*1502 carriers - Asian patients)
  • Teratogenic: Neural tube defects (give folate!)
Uses: Focal seizures (drug of choice!), tonic-clonic, trigeminal neuralgia (DRUG OF CHOICE), bipolar disorder (mood stabilizer), diabetic neuropathy

3. VALPROATE (Sodium Valproate / Valproic Acid)

Mechanism: Multiple - Na+ channel block + enhances GABA + blocks T-type Ca2+ channels
The "Broad Spectrum" AED - works for almost ALL seizure types
Adverse Effects (EXAM GOLD):
  • GI upset (take with food)
  • Weight gain, hair loss (alopecia - reversible)
  • Tremor
  • Hepatotoxicity (fatal in children < 2 yrs especially with mitochondrial disorders)
  • Pancreatitis
  • Teratogenic - most teratogenic AED: neural tube defects (spina bifida), fetal valproate syndrome
  • Hyperammonemia
Drug Interactions:
  • Inhibits metabolism of Lamotrigine (increase lamotrigine toxicity)
  • Displaces phenytoin from protein binding
Contraindications: Pregnancy, liver disease, children < 2 years

4. ETHOSUXIMIDE

Mechanism: Blocks T-type (transient/thalamic) Ca2+ channels → suppresses thalamo-cortical oscillations responsible for absence seizures
The "Absence ONLY" drug - has NO effect on tonic-clonic seizures
Adverse Effects:
  • GI: Nausea, anorexia (most common)
  • Drowsiness, headache
  • Rare: Stevens-Johnson syndrome, agranulocytosis, SLE-like syndrome

5. PHENOBARBITAL

Mechanism: Enhances GABA-A (increases Cl- channel duration)
  • Oldest AED still in use
  • Strong enzyme inducer (like phenytoin)
  • Main issue: Sedation, cognitive impairment (especially in children → avoid)
  • Uses: Tonic-clonic, febrile seizure prophylaxis, neonatal seizures

6. NEWER AEDs (Short Notes)

DrugMechanismKey PointUse
LamotrigineNa+ channel block + glutamate blockRash (Stevens-Johnson), go slow; good in pregnancyBroad spectrum
LevetiracetamBinds SV2A (synaptic vesicle protein)Least drug interactions, safeFocal, generalized
GabapentinBlocks Ca2+ channels (alpha2-delta subunit)Also used for neuropathic painFocal seizures, neuropathy
TopiramateNa+ block + GABA enhance + AMPA blockWeight LOSS (unique!), cognitive slowing, kidney stonesBroad spectrum
VigabatrinIrreversible GABA transaminase inhibitorVisual field defects (permanent!)Infantile spasms
ClonazepamBZDLong-acting, for absence/myoclonicAbsence, myoclonic
PregabalinBlocks Ca2+ channels (alpha2-delta)Neuropathic pain, anxiety, fibromyalgia

TOPIC 3: ANTIPSYCHOTICS (Neuroleptics)

Concept First - What is Psychosis?

Psychosis = loss of touch with reality (hallucinations, delusions, disorganized thinking). Main disease = Schizophrenia.
Dopamine Hypothesis: Schizophrenia is due to excess dopamine activity in the mesolimbic pathway. All effective antipsychotics block D2 receptors.

Brain Dopamine Pathways - Must Know!

PathwayFunctionEffect of D2 blockade
MesolimbicReward, emotionAntipsychotic effect (positive symptoms)
MesocorticalCognition, motivationWorsens negative symptoms, cognitive blunting
NigrostriatalMovement coordinationExtrapyramidal side effects (EPS)
TuberoinfundibularInhibits prolactin releaseHyperprolactinemia (galactorrhea, amenorrhea)

Classification

Typical (1st Generation) Antipsychotics - "Typical = Traditional"
  • High D2 blockade → Good for positive symptoms, causes EPS
  • Examples:
    • High potency: Haloperidol, Fluphenazine, Trifluoperazine
    • Low potency: Chlorpromazine, Thioridazine
Atypical (2nd Generation) Antipsychotics
  • Block both D2 AND 5-HT2A receptors
  • Better for negative symptoms, LESS EPS, BUT more metabolic side effects
  • Examples: Clozapine, Risperidone, Olanzapine, Quetiapine, Aripiprazole, Ziprasidone

KEY DRUGS

CHLORPROMAZINE (CPZ)

The prototype - KDT gives it maximum importance.
Mechanism: Blocks D2, also blocks H1, M1, alpha-1 (explains many side effects)
Pharmacological Actions:
  1. Antipsychotic (D2 block in mesolimbic)
  2. Anti-emetic (D2 block in CTZ/chemoreceptor trigger zone)
  3. Sedation (H1 + alpha block)
  4. Hypothermia (hypothalamus)
  5. Potentiates analgesics, anesthetics
  6. Alpha-adrenergic block → Postural hypotension
Adverse Effects (EXAM GOLD):
  • EPS (Extrapyramidal effects):
    • Acute dystonia (hours-days) - Rx: Benztropine, Diphenhydramine
    • Akathisia (restlessness) - Rx: Propranolol, BZDs
    • Drug-induced Parkinsonism (weeks-months) - Rx: Anticholinergics
    • Tardive dyskinesia (months-years, IRREVERSIBLE) - orofacial movements; Rx: Clozapine, Tetrabenazine
  • Neuroleptic Malignant Syndrome (NMS) - life-threatening!: Fever + Rigidity + Autonomic instability + Elevated CPK; Rx: Stop drug, Dantrolene + Bromocriptine
  • Sedation
  • Hyperprolactinemia → amenorrhea, galactorrhea, gynecomastia
  • Postural hypotension
  • Anticholinergic effects: dry mouth, urinary retention, constipation, blurred vision
  • Cholestatic jaundice
  • Photosensitivity (wear sunscreen!)
  • Pigmentary retinopathy (Thioridazine - unique!)
  • Prolonged QT (Thioridazine, Haloperidol)

HALOPERIDOL

  • High potency typical antipsychotic
  • Less sedation, less hypotension, less antimuscarinic effects than CPZ
  • BUT MORE EPS than CPZ
  • Available as depot injection (haloperidol decanoate, given monthly) - good for non-compliant patients
  • Used for: Schizophrenia, acute agitation (IM), Tourette syndrome (tics)

CLOZAPINE

  • The "gold standard" atypical antipsychotic
  • Works in treatment-resistant schizophrenia (fails 2 typical agents)
  • NO EPS, NO tardive dyskinesia (because it has loose D2 binding + dissociates fast)
  • Agranulocytosis (1-2%) - WEEKLY WBC monitoring for first 6 months, then monthly - this is mandatory!
  • Other AEs: Weight gain, sedation, hypersalivation, seizures (dose-related), myocarditis
  • Also blocks: D4, 5-HT2, H1, M, alpha-1 receptors

OLANZAPINE

  • Similar to clozapine but NO agranulocytosis
  • Major concern: Metabolic syndrome - weight gain, hyperglycemia, dyslipidemia
  • Used for: Schizophrenia, bipolar disorder (acute mania)

RISPERIDONE

  • D2 + 5-HT2A blocker
  • Highest hyperprolactinemia among atypicals (because it doesn't cross BBB well)
  • Available as long-acting injectable (monthly)
  • At high doses: EPS can occur

ARIPIPRAZOLE

  • Unique mechanism: Partial D2 agonist (not just a blocker)
  • Stabilizes dopamine system - activates where dopamine is low, blocks where it is high
  • Least metabolic side effects
  • No QT prolongation
  • Minimal sedation, weight neutral

TOPIC 4: ANTIDEPRESSANTS

Concept First - Why Depression?

Monoamine hypothesis: Depression = reduced activity of noradrenaline (NA) and/or serotonin (5-HT) at CNS synapses. All antidepressants work by increasing synaptic monoamines.

Classification (KDT Framework)

1. Tricyclic Antidepressants (TCAs)

Examples: Imipramine, Amitriptyline, Clomipramine, Nortriptyline, Desipramine
Mechanism: Block reuptake of both 5-HT AND NA (dual reuptake inhibitor). Also block H1, M1, alpha-1 (causes side effects)
Onset: 2-4 weeks (must warn patients!)
Uses:
  • Major depression (2nd line now)
  • Nocturnal enuresis (bedwetting) - Imipramine (best!)
  • Panic disorder - Imipramine
  • OCD - Clomipramine (best for OCD!)
  • Neuropathic pain - Amitriptyline
  • Migraine prophylaxis - Amitriptyline
  • Fibromyalgia - Amitriptyline
Adverse Effects:
  • Anticholinergic: dry mouth, constipation, urinary retention, blurred vision, tachycardia
  • Antihistamine: sedation, weight gain
  • Alpha-1 block: postural hypotension
  • Cardiac arrhythmias (TCA overdose → wide QRS, arrhythmia - treat with sodium bicarbonate!)
  • Seizures in overdose
  • Contraindicated in: Glaucoma, BPH, elderly, recent MI, arrhythmias
TCA Overdose Triad: Cardiac arrhythmia + Seizures + Anticholinergic syndrome

2. SSRIs (Selective Serotonin Reuptake Inhibitors)

Examples: Fluoxetine, Sertraline, Paroxetine, Citalopram, Escitalopram, Fluvoxamine
Mechanism: Selectively block 5-HT reuptake transporter (SERT)
The drugs of FIRST CHOICE for depression today
Advantages over TCAs:
  • Much safer in overdose
  • No anticholinergic, no antihistamine, no alpha-block side effects
  • Better tolerated
Adverse Effects:
  • GI: Nausea, diarrhea (most common, especially early)
  • Sexual dysfunction (delayed orgasm, reduced libido) - most common cause of discontinuation
  • Insomnia, anxiety (especially Fluoxetine - most activating)
  • Serotonin Syndrome (if combined with MAOIs, Tramadol, Linezolid): Hyperthermia + Clonus + Agitation + Autonomic instability - Rx: Cyproheptadine
  • SIADH (hyponatremia - especially in elderly)
  • Weight changes
  • Fluoxetine: longest half-life (2-6 days, active metabolite norfluoxetine 4-16 days) - least withdrawal
Drug of choice in specific conditions:
  • OCD: Fluvoxamine, Fluoxetine
  • Panic disorder: Sertraline, Paroxetine
  • PTSD: Sertraline
  • Social anxiety: Sertraline, Paroxetine
  • Premenstrual dysphoria: Fluoxetine
  • Bulimia: Fluoxetine (only SSRI FDA-approved for bulimia)
  • Premature ejaculation: Dapoxetine (short-acting SSRI)

3. SNRIs (Serotonin-Noradrenaline Reuptake Inhibitors)

  • Venlafaxine, Duloxetine, Desvenlafaxine
  • Block both SERT and NET
  • Used: Depression, generalized anxiety disorder, neuropathic pain (Duloxetine)
  • Duloxetine also approved for fibromyalgia, stress urinary incontinence

4. MAO Inhibitors (MAOIs)

Examples: Phenelzine, Tranylcypromine (irreversible); Moclobemide (reversible = RIMA)
Mechanism: Inhibit MAO enzyme → prevent breakdown of 5-HT, NA, DA → increases all three monoamines
Rarely used now due to severe interactions:
  • Tyramine interaction (Cheese reaction): Eating tyramine-rich foods (cheese, wine, beer, fermented foods) → Hypertensive crisis (severe headache, BP surge)
  • Why: MAO normally breaks down tyramine in gut; if blocked, tyramine enters circulation, releases massive NA
  • Serotonin syndrome: With SSRIs, TCAs, meperidine (pethidine)
  • Wait 14 days when switching from irreversible MAOI to other antidepressants (5 weeks for Fluoxetine because of its long half-life)
Uses: Atypical depression (increased sleep, appetite), SSRI-resistant depression, social phobia (Phenelzine)

5. Others (Quick Notes)

DrugMechanismKey Point
MirtazapineBlocks alpha-2 (increases NA+5HT release) + 5-HT2, H1 blockWeight gain, sedation, good for insomnia + depression
BupropionBlocks DA + NA reuptakeNo sexual dysfunction; used for smoking cessation; lowers seizure threshold
Trazodone5-HT2 block + weak SERT inhibitorSedating; priapism (painful erection - rare)
VortioxetineMulti-modal serotonin agentImproves cognition

TOPIC 5: DRUGS USED IN PARKINSON'S DISEASE

Concept First

Parkinson's disease = Loss of dopaminergic neurons in substantia nigra → loss of dopamine in striatum → imbalance between DA (low) and ACh (relatively high).
The Core Imbalance: Less Dopamine, More ACh
Treatment strategy:
  1. Increase dopamine (or mimic it)
  2. Decrease acetylcholine
Cardinal Features (TRAP):
  • Tremor (resting, pill-rolling, 4-6 Hz)
  • Rigidity (cogwheel)
  • Akinesia/Bradykinesia
  • Postural instability

DRUG TREATMENT

1. LEVODOPA (L-DOPA) - The Cornerstone Drug

Why not give Dopamine directly? Dopamine does NOT cross the blood-brain barrier (BBB). L-DOPA does - it is the precursor.
Mechanism: L-DOPA crosses BBB → converted to Dopamine in brain by DOPA decarboxylase
Always given with a DOPA DECARBOXYLASE INHIBITOR (DDI):
  • Carbidopa or Benserazide
  • These do NOT cross BBB, so they block peripheral conversion of L-DOPA to DA (reducing peripheral side effects like nausea, vomiting, hypotension)
  • Allow more L-DOPA to reach brain → can reduce L-DOPA dose by 75%
Standard formulation: Levodopa + Carbidopa (Syndopa, Sinemet)
Adverse Effects:
  • Early: Nausea, vomiting, postural hypotension
  • Motor complications (after 3-5 years):
    • Wearing off (end-of-dose failure): drug effect wears off before next dose
    • On-Off fluctuations: sudden, unpredictable transitions between mobile (ON) and immobile/rigid (OFF)
    • Dyskinesias: involuntary movements when drug level is high
  • Psychiatric: Confusion, hallucinations, psychosis (dopamine excess in mesolimbic = psychosis)
  • Peripheral: Tachycardia, flushing, postural hypotension
Contraindications:
  • Psychosis (worsens it)
  • Narrow-angle glaucoma
  • NOT with non-selective MAOIs (hypertensive crisis)
  • NOT with antipsychotics (block dopamine receptors, worsen Parkinsonism)
Pyridoxine (Vitamin B6) interaction: B6 increases peripheral DOPA decarboxylase → more peripheral conversion → LESS L-DOPA reaches brain. This interaction is ABOLISHED when combined with carbidopa.

2. DOPAMINE AGONISTS

Act directly on dopamine receptors in brain. Used as:
  • Monotherapy in early Parkinson's (young patients, delay L-DOPA complications)
  • Adjunct to L-DOPA
DrugNotes
BromocriptineErgot derivative, D2 agonist; also used for hyperprolactinemia, acromegaly
Pramipexole, RopiniroleNon-ergot, preferred; side effect: compulsive behaviors (gambling, hypersexuality)
RotigotineTransdermal patch
CabergolineLong-acting, twice weekly; for hyperprolactinemia

3. MAO-B INHIBITORS

  • Selegiline (Deprenyl), Rasagiline
  • Block MAO-B (the enzyme that breaks down dopamine in brain)
  • Selective for MAO-B → less cheese reaction risk
  • Used: Early PD (neuroprotective? - evidence uncertain), adjunct to L-DOPA
  • Selegiline metabolized to amphetamine → insomnia, don't give at night

4. COMT INHIBITORS (Catechol-O-Methyl Transferase)

  • Entacapone (peripheral only), Tolcapone (central + peripheral)
  • Block COMT → prevent breakdown of L-DOPA → more L-DOPA reaches brain → reduces "wearing off"
  • Tolcapone: risk of hepatotoxicity → monitor LFTs
  • Used: Adjunct to L-DOPA to smooth out wearing off

5. ANTICHOLINERGICS (for Tremor)

  • Trihexyphenidyl (Benzhexol), Benztropine, Biperiden
  • Block ACh to restore DA:ACh balance
  • BEST for tremor and rigidity, NOT for bradykinesia
  • Useful in drug-induced Parkinsonism (from antipsychotics)
  • Side effects: Classic anticholinergic - dry mouth, blurred vision, constipation, urinary retention, confusion (especially in elderly - AVOID in elderly Parkinson's)

6. AMANTADINE

  • Mechanism: Blocks NMDA glutamate receptors + releases dopamine from nerve terminals
  • Used: Early PD, drug-induced Parkinsonism, dyskinesias (reduce L-DOPA dyskinesias)
  • Also antiviral (Influenza A)
  • Side effects: Livedo reticularis (mottled skin - distinctive!), ankle edema, confusion

Summary Table for Parkinson's Drugs

Drug ClassDrugsBest For
L-DOPA + DDILevodopa + CarbidopaBest overall efficacy, bradykinesia
DA agonistsPramipexole, RopiniroleYoung patients, early PD, monotherapy
MAO-B inhibitorsSelegiline, RasagilineEarly PD, adjunct, neuroprotection
COMT inhibitorsEntacapone, TolcaponeWearing off, adjunct to L-DOPA
AnticholinergicsTrihexyphenidylTremor, drug-induced Parkinsonism
NMDA antagonistAmantadineDyskinesias, early PD

TOPIC 6: OPIOID ANALGESICS

Concept First

Opioids = drugs that act on opioid receptors (mu, kappa, delta) to produce analgesia + other effects.
Endogenous opioids: Beta-endorphin (mu), Enkephalins (delta), Dynorphins (kappa)
Receptor Effects:
ReceptorEffects
Mu (mu1)Supraspinal analgesia, euphoria, dependence
Mu (mu2)Respiratory depression, constipation, bradycardia
KappaSpinal analgesia, sedation, dysphoria
DeltaModulates mu, analgesia

Classification

Full Agonists (activate mu): Morphine, Codeine, Pethidine (Meperidine), Methadone, Fentanyl, Heroin
Partial Agonist: Buprenorphine (partial mu agonist, kappa antagonist)
Mixed Agonist-Antagonist: Pentazocine (kappa agonist, mu antagonist)
Pure Antagonists: Naloxone (IV), Naltrexone (oral)

MORPHINE - The Prototype

Mechanism: Full mu (+ kappa, delta) agonist
Pharmacological Effects (know all!):
CNS:
  • Analgesia (supraspinal + spinal)
  • Euphoria → sedation → sleep
  • Nausea and vomiting (stimulates CTZ)
  • Miosis (pin-point pupils) - kappa + mu receptor mediated - does NOT develop tolerance
  • Respiratory depression (reduces sensitivity of respiratory center to CO2) - main cause of death in overdose
  • Cough suppression (antitussive)
  • Hormonal: increases ADH, prolactin; decreases LH/FSH
Peripheral:
  • Constipation (reduces GI motility) - does NOT develop tolerance - useful in diarrhea
  • Biliary colic worsening (contracts sphincter of Oddi)
  • Urinary retention (increases sphincter tone)
  • Bradycardia, hypotension (histamine release + vagal stimulation)
  • Bronchospasm (histamine release)
Pharmacokinetics:
  • Poor oral bioavailability (high first pass - only 25%)
  • Conjugated to morphine-6-glucuronide (M6G) - active, more potent
  • M6G accumulates in renal failure → prolonged action
  • Crosses placenta → neonatal respiratory depression
Uses:
  • Severe pain (cancer pain, post-op, MI - "drug of choice for pain of MI")
  • Acute pulmonary edema (reduces cardiac preload, reduces anxiety, reduces respiratory rate - "morphine triad")
  • Cough (codeine preferred)
  • Diarrhea (Loperamide for OTC)
Adverse Effects:
  • Respiratory depression (dangerous)
  • Nausea, vomiting (early, develops tolerance)
  • Constipation (no tolerance)
  • Miosis (no tolerance)
  • Urinary retention, biliary spasm
  • Dependence and tolerance to most effects EXCEPT miosis and constipation
MORPHINE OVERDOSE TRIAD (classic exam):
  • Coma + Miosis + Respiratory Depression
  • Treatment: IV Naloxone (0.4 mg, repeat every 2-3 min)

OTHER OPIOIDS

DrugKey Points
CodeineProdrug → converted to morphine by CYP2D6; antitussive (cough suppressant); antidiarrheal; weak analgesic; used in combination cough syrups
Pethidine (Meperidine)Atropine-like effects (no miosis, no bradycardia - instead tachycardia); metabolite norpethidine → seizures; avoid in renal failure; avoid with MAOIs → serotonin syndrome; used in obstetric analgesia, renal colic, biliary colic (less sphincter of Oddi spasm than morphine)
Fentanyl100x more potent than morphine; transdermal patch for chronic cancer pain; IV for anesthesia; rapid onset, short duration
MethadoneLong acting; used for opioid substitution therapy (heroin addiction treatment), chronic cancer pain; NMDA antagonist action
TramadolWeak mu agonist + SNRI; used for moderate pain, neuropathic pain; causes serotonin syndrome with SSRIs/MAOIs; lowers seizure threshold
BuprenorphinePartial mu agonist; ceiling effect for respiratory depression (safer); used for opioid dependence (sublingual); combined with Naloxone as Suboxone
PentazocineKappa agonist + mu antagonist; causes dysphoria, hallucinations; can precipitate withdrawal in opioid-dependent patients; less analgesic than morphine

OPIOID ANTAGONISTS

NALOXONE

  • Pure competitive antagonist at all opioid receptors (mu = kappa = delta)
  • IV only (very short half-life: 30-60 min!)
  • Used: Opioid overdose reversal (may need repeated doses because opioid half-life > naloxone half-life)
  • Also: Diagnose opioid dependence (precipitates withdrawal)

NALTREXONE

  • Oral, long-acting antagonist
  • Used: Maintenance treatment of opioid dependence, alcohol dependence (blocks euphoria from alcohol)

TOPIC 7: GENERAL ANESTHESIA (Overview)

Concept: What is General Anesthesia?

A reversible state of unconsciousness with: analgesia + muscle relaxation + amnesia = TRIAD of anesthesia

Stages of Anesthesia (Guedel's stages - for ether/old agents, conceptually):

  1. Stage 1 - Analgesia: Patient awake, feels no pain
  2. Stage 2 - Excitement: Irregular breathing, vomiting possible, dangerous - cross quickly!
  3. Stage 3 - Surgical anesthesia: Unconscious, regular breathing, subdivided into planes
  4. Stage 4 - Medullary depression: Respiratory + CVS failure → DEATH

INHALATIONAL AGENTS

Mechanism: Not fully known; enhance GABA + inhibit NMDA receptors; act on lipid membranes
Important concept - MAC (Minimum Alveolar Concentration):
  • The concentration needed to prevent movement in 50% of patients to a skin incision
  • Lower MAC = more potent
AgentMACKey Notes
Halothane0.75%Hepatotoxicity ("halothane hepatitis"), sensitizes heart to catecholamines → arrhythmias, Malignant hyperthermia trigger, bronchodilator
Isoflurane1.15%Coronary steal (theoretical), most widely used, pungent smell
Sevoflurane2%Sweet smell, smooth induction, preferred for pediatric induction
Desflurane6-7%Most rapid onset/recovery, very pungent (can't use for induction), operating room pollution
Nitrous Oxide (N2O)>100% (weakest!)Analgesic ("laughing gas"), must be mixed with O2; can expand air-filled cavities (avoid in pneumothorax, bowel obstruction, middle ear surgery); megaloblastic anemia with prolonged use (B12 inactivation)
Malignant Hyperthermia (MH): Life-threatening emergency triggered by halothane/succinylcholine; genetic defect in ryanodine receptor → uncontrolled Ca2+ release → hyperthermia, rigidity, rhabdomyolysis; Rx: Dantrolene (blocks ryanodine receptor)

IV ANESTHETIC AGENTS

DrugKey Notes
Thiopentone (Thiopental)Barbiturate; ultra-short (redistribution); used for induction; contraindicated in porphyria; no analgesia
PropofolMost commonly used IV induction agent today; "milk of anesthesia" (white emulsion); rapid recovery, antiemetic; "propofol infusion syndrome" with prolonged high dose use; pain on injection
KetamineDissociative anesthetic; NMDA antagonist; produces "dissociative anesthesia" (eyes open, purposeful movements, no recall); INCREASES BP, HR (sympathomimetic) - useful in shock/trauma; causes emergence reactions (hallucinations) - co-give BZD; only IV anesthetic with ANALGESIC action; contraindicated in hypertension, IHD, raised ICP, psychiatric illness; SAFE in asthma (bronchodilator)
EtomidateLeast cardiovascular depression; good for cardiac patients; inhibits cortisol synthesis (adrenocortical suppression) - avoid prolonged infusion
MidazolamBZD; used for premedication/sedation; anterograde amnesia

NEUROMUSCULAR BLOCKERS

Depolarizing - SUCCINYLCHOLINE (Suxamethonium)

  • Mimics ACh at NMJ → causes persistent depolarization → fasciculations then flaccid paralysis
  • Fastest onset (60-90 sec), shortest duration (5-10 min)
  • Metabolized by plasma cholinesterase
  • Adverse effects: Hyperkalemia (dangerous in burns, crush injury, denervation), malignant hyperthermia, bradycardia, increased IOP, increased ICP, increased intragastric pressure
  • Pseudocholinesterase deficiency → prolonged apnea (genetic)
  • Antidote: Fresh frozen plasma (provides cholinesterase)

Non-Depolarizing

  • Competitive block of ACh at NMJ
  • Reversed by neostigmine (anticholinesterase - increases ACh to compete with the blocker); give with atropine to prevent muscarinic side effects of neostigmine
DrugDurationNotes
PancuroniumLongTachycardia (vagolytic)
VecuroniumIntermediateMinimal CV effects, liver/kidney issues
AtracuriumIntermediateSpontaneous degradation (Hofmann elimination) - safest in renal/liver failure
RocuroniumIntermediateFastest acting non-depolarizing; reversed by sugammadex
SuccinylcholineUltra-shortDepolarizing (already covered above)

QUICK REVISION: HIGH-YIELD ONE-LINERS FOR PROFFS

  1. BZDs increase frequency of Cl- channel opening; Barbiturates increase duration
  2. Antidote for BZD overdose = Flumazenil
  3. Antidote for opioid overdose = Naloxone
  4. Drug of choice for status epilepticus = IV Lorazepam
  5. Drug of choice for absence seizures = Ethosuximide (if only absence), Valproate (if mixed)
  6. Drug of choice for focal seizures = Carbamazepine
  7. Drug of choice for trigeminal neuralgia = Carbamazepine
  8. Phenytoin causes: Gingival hyperplasia + Hirsutism + Nystagmus (first toxicity sign)
  9. Valproate is the most teratogenic AED (neural tube defects)
  10. Clozapine = only antipsychotic for treatment-resistant schizophrenia; weekly CBC for agranulocytosis
  11. Tardive dyskinesia from antipsychotics is IRREVERSIBLE; treat with Clozapine or Tetrabenazine
  12. NMS = Fever + Rigidity + Autonomic instability + High CPK → Dantrolene + Bromocriptine
  13. L-DOPA always given with Carbidopa; never with MAOIs; avoid in psychosis
  14. Selegiline = MAO-B inhibitor; metabolizes to amphetamine → give in morning
  15. Amantadine causes livedo reticularis; reduces L-DOPA dyskinesias
  16. Anticholinergics best for tremor in PD; AVOID in elderly
  17. Morphine overdose = Coma + Miosis + Respiratory depression → Naloxone
  18. Pethidine + MAOI = Serotonin syndrome (DANGEROUS!)
  19. Codeine is a prodrug → morphine (by CYP2D6)
  20. Ketamine = Dissociative anesthetic, NMDA blocker, increases BP (safe in shock); hallucinogenic
  21. Malignant hyperthermia triggered by Halothane/Succinylcholine → Dantrolene
  22. Succinylcholine causes hyperkalemia → DANGEROUS in burns/crush injury
  23. Propofol = most popular IV induction today; white emulsion
  24. SSRIs are first-line antidepressants; Fluoxetine has longest half-life
  25. Cheese reaction = MAOI + tyramine-rich foods = hypertensive crisis
  26. Serotonin syndrome = SSRIs + MAOIs (or Tramadol/Linezolid) → Cyproheptadine
  27. Bupropion = DA + NA reuptake block; used for smoking cessation; no sexual dysfunction
  28. Imipramine = TCA; best for nocturnal enuresis (bedwetting in children)
  29. Clomipramine = best TCA for OCD
  30. Fluoxetine = only SSRI approved for bulimia nervosa

Sources: Katzung's Basic & Clinical Pharmacology 16e, Lippincott Illustrated Reviews Pharmacology, Goodman & Gilman's

This covers ALL major CNS pharmacology topics tested in MBBS 2nd Year Proff exams. Here is how to use these notes:
  • Day 1: Topic 1 (Sedatives) + Topic 2 (Antiepileptics) - read concept, then tables
  • Day 2: Topic 3 (Antipsychotics) + Topic 4 (Antidepressants)
  • Day 3: Topic 5 (Parkinson's) + Topic 6 (Opioids)
  • Day 4: Topic 7 (Anesthesia) + Revise ALL quick one-liners
  • Day 5: Write answers to: Status epilepticus treatment, Morphine pharmacology, L-DOPA pharmacology, Chlorpromazine adverse effects, Comparison tables
Ask me to go deep on any single topic, explain a mechanism in simpler terms, or quiz you on any area!

Create a study guide PDF with quick-reference tables I can print

Reading File
Running Command

ls /home/daytona/workspace/ 2>/dev/null || echo "workspace empty or does not exi…

Running Command

mkdir -p /home/daytona/workspace/cns-pharmacology && python3 -c "import reportla…

Writing File

~/cns-pharmacology/generate_pdf.py


from reportlab.lib.pagesizes import A4
from reportlab.lib import colors
from reportlab.lib.units import cm, mm
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,
    PageBreak, HRFlowable, KeepTogether
)
from reportlab.platypus.flowables import HRFlowable
from reportlab.lib.colors import HexColor

# ── Colour palette ──────────────────────────────────────────────────
C_NAVY    = HexColor("#1a237e")
C_BLUE    = HexColor("#1565c0")
C_LBLUE   = HexColor("#bbdefb")
C_TEAL    = HexColor("#00695c")
C_LTEAL   = HexColor("#b2dfdb")
C_RED     = HexColor("#b71c1c")
C_LRED    = HexColor("#ffcdd2")
C_AMBER   = HexColor("#e65100")
C_LAMBER  = HexColor("#ffe0b2")
C_PURPLE  = HexColor("#4a148c")
C_LPURP   = HexColor("#e1bee7")
C_GREY    = HexColor("#37474f")
C_LGREY   = HexColor("#eceff1")
C_YELLOW  = HexColor("#fff9c4")
C_WHITE   = colors.white
C_BLACK   = colors.black

PAGE_W, PAGE_H = A4
MARGIN = 1.5 * cm

# ── Document ────────────────────────────────────────────────────────
OUTPUT = "/home/daytona/workspace/cns-pharmacology/CNS_Pharmacology_Study_Guide.pdf"
doc = SimpleDocTemplate(
    OUTPUT, pagesize=A4,
    leftMargin=MARGIN, rightMargin=MARGIN,
    topMargin=MARGIN, bottomMargin=MARGIN,
    title="CNS Pharmacology - MBBS 2nd Year Quick Reference",
    author="Orris Medical"
)

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

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

S_COVER_TITLE = style("CoverTitle", fontSize=26, textColor=C_WHITE,
                      alignment=TA_CENTER, spaceAfter=8, leading=32,
                      fontName="Helvetica-Bold")
S_COVER_SUB   = style("CoverSub",   fontSize=13, textColor=HexColor("#e3f2fd"),
                      alignment=TA_CENTER, spaceAfter=4, leading=16)
S_COVER_NOTE  = style("CoverNote",  fontSize=10, textColor=HexColor("#bbdefb"),
                      alignment=TA_CENTER, spaceAfter=4)

S_SECTION     = style("Section", fontSize=13, textColor=C_WHITE,
                      fontName="Helvetica-Bold", leading=18,
                      leftIndent=0, spaceAfter=2)
S_TOPIC       = style("Topic", fontSize=11, textColor=C_NAVY,
                      fontName="Helvetica-Bold", leading=15,
                      spaceBefore=8, spaceAfter=3)
S_BODY        = style("Body", fontSize=8.5, textColor=C_GREY,
                      leading=12, spaceAfter=2)
S_NOTE        = style("Note", fontSize=8, textColor=C_AMBER,
                      fontName="Helvetica-Bold", leading=11)
S_MNEMONIC    = style("Mnemonic", fontSize=8.5, textColor=C_TEAL,
                      fontName="Helvetica-Bold", leading=11,
                      backColor=C_LTEAL, leftIndent=4, rightIndent=4,
                      borderPad=4)
S_EXAM        = style("Exam", fontSize=8, textColor=C_RED,
                      fontName="Helvetica-Bold")
S_TH          = style("TH", fontSize=8, textColor=C_WHITE,
                      fontName="Helvetica-Bold", alignment=TA_CENTER, leading=10)
S_TD          = style("TD", fontSize=7.8, textColor=C_GREY,
                      leading=10, alignment=TA_LEFT)
S_TD_C        = style("TDC", fontSize=7.8, textColor=C_GREY,
                      leading=10, alignment=TA_CENTER)
S_ONELINER    = style("Oneliner", fontSize=8, textColor=C_GREY,
                      leading=11, leftIndent=6)
S_FOOTER      = style("Footer", fontSize=7, textColor=HexColor("#90a4ae"),
                      alignment=TA_CENTER)

# ── Helper builders ──────────────────────────────────────────────────
def section_banner(text, bg=C_NAVY):
    tbl = Table([[Paragraph(text, S_SECTION)]], colWidths=[PAGE_W - 2*MARGIN])
    tbl.setStyle(TableStyle([
        ("BACKGROUND", (0,0), (-1,-1), bg),
        ("TOPPADDING",    (0,0), (-1,-1), 5),
        ("BOTTOMPADDING", (0,0), (-1,-1), 5),
        ("LEFTPADDING",   (0,0), (-1,-1), 8),
        ("ROUNDEDCORNERS", [4]),
    ]))
    return tbl

def make_table(headers, rows, col_widths, header_bg=C_BLUE,
               alt_bg=C_LGREY, note_rows=None):
    """note_rows: set of row indices (0-indexed data rows) to highlight."""
    note_rows = note_rows or set()
    header_cells = [Paragraph(h, S_TH) for h in headers]
    data = [header_cells]
    for r in rows:
        data.append([Paragraph(str(c), S_TD) for c in r])

    tbl = Table(data, colWidths=col_widths, repeatRows=1)
    style_cmds = [
        ("BACKGROUND",    (0, 0), (-1,  0), header_bg),
        ("ROWBACKGROUNDS",(0, 1), (-1, -1), [C_WHITE, alt_bg]),
        ("GRID",          (0, 0), (-1, -1), 0.4, HexColor("#cfd8dc")),
        ("TOPPADDING",    (0, 0), (-1, -1), 3),
        ("BOTTOMPADDING", (0, 0), (-1, -1), 3),
        ("LEFTPADDING",   (0, 0), (-1, -1), 4),
        ("RIGHTPADDING",  (0, 0), (-1, -1), 4),
        ("VALIGN",        (0, 0), (-1, -1), "TOP"),
    ]
    for ri in note_rows:
        style_cmds.append(("BACKGROUND", (0, ri+1), (-1, ri+1), C_YELLOW))
    tbl.setStyle(TableStyle(style_cmds))
    return tbl

def spacer(h=0.25): return Spacer(1, h*cm)
def hr(): return HRFlowable(width="100%", thickness=0.5,
                             color=HexColor("#cfd8dc"), spaceAfter=4)

def exam_box(text):
    tbl = Table([[Paragraph("★ EXAM FAVOURITE: " + text, S_EXAM)]],
                colWidths=[PAGE_W - 2*MARGIN])
    tbl.setStyle(TableStyle([
        ("BACKGROUND",    (0,0), (-1,-1), C_LRED),
        ("LEFTPADDING",   (0,0), (-1,-1), 6),
        ("TOPPADDING",    (0,0), (-1,-1), 4),
        ("BOTTOMPADDING", (0,0), (-1,-1), 4),
        ("BOX",           (0,0), (-1,-1), 0.8, C_RED),
    ]))
    return tbl

def mnemonic_box(text):
    tbl = Table([[Paragraph("💡 " + text, S_MNEMONIC)]],
                colWidths=[PAGE_W - 2*MARGIN])
    tbl.setStyle(TableStyle([
        ("BACKGROUND",    (0,0), (-1,-1), C_LTEAL),
        ("LEFTPADDING",   (0,0), (-1,-1), 6),
        ("TOPPADDING",    (0,0), (-1,-1), 4),
        ("BOTTOMPADDING", (0,0), (-1,-1), 4),
        ("BOX",           (0,0), (-1,-1), 0.8, C_TEAL),
    ]))
    return tbl

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

# ── COVER PAGE ───────────────────────────────────────────────────────
cover_bg = Table(
    [[Paragraph("CNS PHARMACOLOGY", S_COVER_TITLE)],
     [Paragraph("MBBS 2nd Year — Quick Reference Study Guide", S_COVER_SUB)],
     [Paragraph("All KDT-aligned topics • Prof Exam Ready • Print-Friendly", S_COVER_NOTE)],
     [Spacer(1, 0.6*cm)],
     [Paragraph("Sedatives • Antiepileptics • Antipsychotics • Antidepressants", S_COVER_NOTE)],
     [Paragraph("Parkinson's Drugs • Opioids • General Anaesthesia", S_COVER_NOTE)],
     [Spacer(1, 1*cm)],
     [Paragraph("Orris Medical Education", S_COVER_NOTE)],
    ],
    colWidths=[PAGE_W - 2*MARGIN]
)
cover_bg.setStyle(TableStyle([
    ("BACKGROUND", (0,0), (-1,-1), C_NAVY),
    ("TOPPADDING",    (0,0), (-1,-1), 12),
    ("BOTTOMPADDING", (0,0), (-1,-1), 6),
    ("LEFTPADDING",   (0,0), (-1,-1), 20),
    ("RIGHTPADDING",  (0,0), (-1,-1), 20),
    ("ROUNDEDCORNERS", [8]),
]))
story.append(spacer(1))
story.append(cover_bg)
story.append(PageBreak())

# ════════════════════════════════════════════════════════════════════
# SECTION 1: SEDATIVES & HYPNOTICS
# ════════════════════════════════════════════════════════════════════
story.append(section_banner("1. SEDATIVES & HYPNOTICS", C_NAVY))
story.append(spacer(0.2))

story.append(Paragraph("BZD vs BARBITURATE — Core Mechanism Comparison", S_TOPIC))
story.append(make_table(
    ["Feature", "Benzodiazepines", "Barbiturates"],
    [
        ["Cl⁻ channel effect", "↑ FREQUENCY of opening", "↑ DURATION of opening"],
        ["Needs GABA?", "Yes (modulators only)", "No at high dose (direct)"],
        ["Safety margin", "Wide — safer", "Narrow — dangerous"],
        ["Respiratory depression", "Less", "More (dose-dependent)"],
        ["Enzyme induction", "No", "Yes — induces CYP450"],
        ["Dependence liability", "Yes (moderate)", "Yes (severe)"],
        ["Antidote", "Flumazenil (IV)", "None"],
        ["Overdose urine trick", "—", "Alkalinize urine (phenobarb)"],
    ],
    [5.5*cm, 6.5*cm, 6.5*cm], header_bg=C_BLUE, note_rows={0}
))
story.append(mnemonic_box("BZDs = Frequency   |   Barbiturates = Duration  (B before D alphabetically)"))
story.append(spacer(0.3))

story.append(Paragraph("Benzodiazepine Drug Reference", S_TOPIC))
story.append(make_table(
    ["Drug", "Half-life", "Key Use / Note"],
    [
        ["Diazepam",     "20–100 h (very long)", "Anxiety, status epilepticus, muscle spasm, alcohol withdrawal"],
        ["Lorazepam",    "10–20 h", "Status epilepticus IV (FIRST CHOICE), premedication"],
        ["Midazolam",    "1–4 h (very short)", "Anaesthesia premedication, endoscopy, anterograde amnesia"],
        ["Clonazepam",   "20–50 h", "Absence & myoclonic epilepsy"],
        ["Alprazolam",   "12–15 h", "Panic disorder"],
        ["Nitrazepam",   "24–36 h", "Insomnia"],
        ["Triazolam",    "2–4 h", "Insomnia — causes rebound anxiety; very short"],
        ["Chlordiazepoxide","5–30 h", "Alcohol withdrawal (longest acting → smooth detox)"],
        ["Oxazepam / Lorazepam / Temazepam", "Short-intermediate", "SAFE in liver disease — direct glucuronidation (no phase-I)"],
    ],
    [3.8*cm, 3.8*cm, 11*cm], header_bg=C_BLUE, note_rows={8}
))
story.append(mnemonic_box("'LOT' safe in liver disease: Lorazepam, Oxazepam, Temazepam"))
story.append(spacer(0.2))
story.append(exam_box("Flumazenil = BZD antidote. Competitive antagonist. IV. Short t½ ~1h. Repeat doses may be needed. Precipitates withdrawal seizures in BZD-dependent patients."))
story.append(spacer(0.3))

story.append(Paragraph("Barbiturates Quick Reference", S_TOPIC))
story.append(make_table(
    ["Drug", "Duration", "Key Use"],
    [
        ["Phenobarbital", "Long (t½ 80–120 h)", "Epilepsy, febrile seizure prophylaxis, neonatal seizures"],
        ["Thiopentone (Thiopental)", "Ultra-short (redistribution)", "IV anaesthesia induction — NO analgesia — contraindicated in porphyria"],
        ["Secobarbital", "Short", "Insomnia (rarely used now)"],
        ["Amobarbital", "Intermediate", "Rarely used clinically"],
    ],
    [4.5*cm, 4.5*cm, 9.5*cm], header_bg=C_GREY
))
story.append(spacer(0.2))

story.append(Paragraph("Z-Drugs (Newer Hypnotics)", S_TOPIC))
story.append(make_table(
    ["Drug", "Feature"],
    [
        ["Zolpidem, Zaleplon, Eszopiclone", "Selective BZD-1 (omega-1) receptor agonists — primarily hypnotic, less anxiolytic/anticonvulsant"],
        ["Action", "Shorter t½, less hangover — BUT still cause dependence"],
        ["Antidote", "Flumazenil works for Z-drugs too!"],
        ["Use", "Sleep-onset insomnia"],
    ],
    [4.5*cm, 14*cm], header_bg=C_TEAL
))
story.append(PageBreak())

# ════════════════════════════════════════════════════════════════════
# SECTION 2: ANTIEPILEPTICS
# ════════════════════════════════════════════════════════════════════
story.append(section_banner("2. ANTIEPILEPTIC DRUGS (AEDs)", C_TEAL))
story.append(spacer(0.2))

story.append(Paragraph("Drug of Choice by Seizure Type", S_TOPIC))
story.append(exam_box("Most-asked table in pharmacology Prof exams — memorize every row!"))
story.append(spacer(0.15))
story.append(make_table(
    ["Seizure Type", "Drug of Choice", "Alternatives"],
    [
        ["Tonic-clonic (Grand mal)", "Valproate / Phenytoin / Carbamazepine", "Phenobarbital, Lamotrigine"],
        ["Absence (Petit mal) — ONLY absence", "Ethosuximide", "Clonazepam"],
        ["Absence + Tonic-clonic (mixed)", "Valproate", "Clonazepam + Ethosuximide"],
        ["Focal / Partial seizures", "Carbamazepine", "Phenytoin, Valproate, Lamotrigine"],
        ["Myoclonic", "Valproate", "Clonazepam, Levetiracetam"],
        ["Status Epilepticus (acute)", "IV Lorazepam (1st) → IV Phenytoin → IV Phenobarbital", "Midazolam"],
        ["Febrile seizures (acute)", "Rectal / IV Diazepam", "Phenobarbital (prophylaxis)"],
        ["Infantile spasms (West syndrome)", "ACTH, Vigabatrin", "—"],
        ["Trigeminal Neuralgia", "Carbamazepine (DRUG OF CHOICE!)", "Phenytoin"],
        ["Bipolar disorder (mood stabilizer)", "Valproate, Carbamazepine, Lamotrigine", "—"],
    ],
    [5*cm, 7*cm, 6.5*cm], header_bg=C_TEAL, note_rows={5}
))
story.append(spacer(0.3))

story.append(Paragraph("Individual AED Profiles — Adverse Effects & Key Points", S_TOPIC))
story.append(make_table(
    ["Drug", "Mechanism", "Distinctive Adverse Effects", "Important Facts"],
    [
        ["Phenytoin",
         "Blocks Na⁺ channels\n(inactivated state)",
         "Nystagmus (1st toxicity sign)\nAtaxia, diplopia\nGingival hyperplasia ★\nHirsutism\nFolate deficiency → megaloblastic anaemia\nVit D def → osteomalacia\nFetal hydantoin syndrome (teratogenic)",
         "Zero-order kinetics!\nCYP450 inducer\nGive IV only (not IM)\nContraindicated: Absence, pregnancy, porphyria"],
        ["Carbamazepine",
         "Blocks Na⁺ channels\nAuto-induction",
         "Diplopia, ataxia, drowsiness\nSIADH (hyponatremia) ★\nAplastic anaemia (rare — check CBC)\nStevens-Johnson (HLA-B*1502)\nNeural tube defects (teratogenic)",
         "DOC: Focal seizures & Trigeminal neuralgia\nMood stabilizer in bipolar\nReduces OCP/warfarin efficacy"],
        ["Valproate",
         "Na⁺ block + GABA ↑\n+ T-type Ca²⁺ block\n(broad spectrum)",
         "GI upset\nWeight gain, alopecia (reversible)\nTremor\nHepatotoxicity (fatal <2 yrs) ★\nPancreatitis\nNeural tube defects (MOST teratogenic AED)\nHyperammonaemia",
         "Works for ALL seizure types\nContraindicated: Pregnancy, liver disease, children <2 yrs\nInhibits lamotrigine metabolism"],
        ["Ethosuximide",
         "Blocks T-type\n(thalamic) Ca²⁺ channels",
         "GI: Nausea, anorexia (most common)\nDrowsiness, headache\nRare: SJS, agranulocytosis, SLE-like",
         "ONLY for Absence seizures\nNO effect on tonic-clonic\nNo enzyme induction"],
        ["Phenobarbital",
         "Enhances GABA-A\n(↑ Cl⁻ duration)",
         "Sedation (major issue)\nCognitive impairment (avoid in children)\nDependence",
         "Oldest AED\nStrong CYP450 inducer\nFebrile seizure prophylaxis\nNeonatal seizures"],
    ],
    [2.8*cm, 3.2*cm, 5.5*cm, 7*cm], header_bg=C_TEAL
))
story.append(spacer(0.2))

story.append(Paragraph("Newer AEDs — Quick Summary", S_TOPIC))
story.append(make_table(
    ["Drug", "Mechanism", "Key Point / Use"],
    [
        ["Lamotrigine", "Na⁺ block + ↓ glutamate", "Rash (go slow titration); broad spectrum; relatively safe in pregnancy"],
        ["Levetiracetam", "Binds SV2A (synaptic vesicle protein)", "Fewest drug interactions; IV available; broad spectrum"],
        ["Gabapentin", "Blocks Ca²⁺ (α2δ subunit)", "Neuropathic pain, focal seizures; no drug interactions"],
        ["Topiramate", "Na⁺ block + GABA ↑ + AMPA block", "Weight LOSS (unique!); cognitive slowing; kidney stones; migraine prophylaxis"],
        ["Vigabatrin", "Irreversible GABA transaminase inhibitor", "PERMANENT visual field defects; infantile spasms"],
        ["Pregabalin", "Blocks Ca²⁺ (α2δ subunit)", "Neuropathic pain, fibromyalgia, GAD"],
        ["Clonazepam", "BZD (GABA-A modulator)", "Absence, myoclonic seizures; long-acting"],
    ],
    [3*cm, 5*cm, 10.5*cm], header_bg=C_GREY
))
story.append(PageBreak())

# ════════════════════════════════════════════════════════════════════
# SECTION 3: ANTIPSYCHOTICS
# ════════════════════════════════════════════════════════════════════
story.append(section_banner("3. ANTIPSYCHOTICS (Neuroleptics)", C_PURPLE))
story.append(spacer(0.2))

story.append(Paragraph("Dopamine Pathways — Must Know!", S_TOPIC))
story.append(make_table(
    ["Pathway", "Function", "Effect of D2 Blockade"],
    [
        ["Mesolimbic", "Reward, emotion, motivation", "✔ ANTIPSYCHOTIC effect — reduces positive symptoms"],
        ["Mesocortical", "Cognition, planning", "✘ Worsens negative symptoms; cognitive blunting"],
        ["Nigrostriatal", "Movement coordination", "✘ Extrapyramidal Side Effects (EPS)"],
        ["Tuberoinfundibular", "Inhibits prolactin secretion", "✘ Hyperprolactinaemia → galactorrhoea, amenorrhoea, gynaecomastia"],
    ],
    [4*cm, 5*cm, 9.5*cm], header_bg=C_PURPLE, note_rows={0}
))
story.append(spacer(0.25))

story.append(Paragraph("Extrapyramidal Side Effects (EPS) — Onset & Treatment", S_TOPIC))
story.append(exam_box("EPS types, timing and treatment — classic exam question"))
story.append(spacer(0.15))
story.append(make_table(
    ["EPS Type", "Onset", "Features", "Treatment"],
    [
        ["Acute Dystonia", "Hours to days", "Painful muscle spasms, torticollis, oculogyric crisis", "Benztropine / Diphenhydramine IM/IV"],
        ["Akathisia", "Days to weeks", "Inner restlessness, can't sit still", "Propranolol / BZDs"],
        ["Drug-induced Parkinsonism", "Weeks to months", "Tremor, rigidity, bradykinesia", "Anticholinergics (Trihexyphenidyl)"],
        ["Tardive Dyskinesia", "Months to years", "Repetitive orofacial movements (lip-smacking) — IRREVERSIBLE!", "Stop drug; Switch to Clozapine / Tetrabenazine"],
    ],
    [3.5*cm, 3*cm, 5.5*cm, 6.5*cm], header_bg=C_PURPLE, note_rows={3}
))
story.append(spacer(0.2))
story.append(exam_box("NMS (Neuroleptic Malignant Syndrome): Fever + Rigidity + Autonomic instability + ↑CPK → STOP drug → Dantrolene + Bromocriptine"))
story.append(spacer(0.25))

story.append(Paragraph("Antipsychotic Drug Comparison", S_TOPIC))
story.append(make_table(
    ["Drug", "Class", "Key Features", "Important ADRs"],
    [
        ["Chlorpromazine (CPZ)", "Typical (low potency)", "Prototype; blocks D2, H1, M1, α1; sedating; anti-emetic (CTZ)", "Sedation, postural hypotension, anticholinergic effects, photosensitivity, cholestatic jaundice, EPS"],
        ["Haloperidol", "Typical (high potency)", "Less sedation, less hypotension — BUT MORE EPS than CPZ; depot form available (monthly)", "High EPS risk; ↑ prolactin; QT prolongation"],
        ["Thioridazine", "Typical (low potency)", "Low EPS; unique ADR: pigmentary retinopathy", "Pigmentary retinopathy ★; QT prolongation — avoid cardiac patients"],
        ["Clozapine", "Atypical", "Treatment-RESISTANT schizophrenia; NO EPS; NO tardive dyskinesia; blocks D4/5-HT2/H1/M/α1", "AGRANULOCYTOSIS (1-2%) — WEEKLY WBC!\nSeizures (dose-related); weight gain; hypersalivation"],
        ["Olanzapine", "Atypical", "Similar to clozapine but NO agranulocytosis; good for bipolar mania", "METABOLIC SYNDROME — weight gain, hyperglycaemia, dyslipidaemia ★"],
        ["Risperidone", "Atypical", "D2 + 5-HT2A block; highest hyperprolactinaemia among atypicals; long-acting injectable", "Hyperprolactinaemia; EPS at high doses"],
        ["Aripiprazole", "Atypical (partial D2 agonist)", "Stabilizes DA system; least metabolic effects; no QT prolongation; weight neutral", "Insomnia, nausea, akathisia; generally well tolerated"],
        ["Quetiapine", "Atypical", "Very sedating; also used for bipolar depression", "Sedation, weight gain, hyperglycaemia"],
    ],
    [3*cm, 3*cm, 5.5*cm, 7*cm], header_bg=C_PURPLE, note_rows={3}
))
story.append(PageBreak())

# ════════════════════════════════════════════════════════════════════
# SECTION 4: ANTIDEPRESSANTS
# ════════════════════════════════════════════════════════════════════
story.append(section_banner("4. ANTIDEPRESSANTS", HexColor("#004d40")))
story.append(spacer(0.2))
story.append(Paragraph("Core Concept: Monoamine Hypothesis — Depression = ↓ NA and/or ↓ 5-HT at CNS synapses. All antidepressants increase synaptic monoamines. Onset of action: 2–4 weeks (warn patients!)", S_BODY))
story.append(spacer(0.2))

story.append(Paragraph("Antidepressant Classification & Drug-Specific Uses", S_TOPIC))
story.append(make_table(
    ["Class / Drug", "Mechanism", "Special Uses", "Key ADRs"],
    [
        ["TCAs\n(Imipramine, Amitriptyline, Clomipramine, Nortriptyline)", "Block 5-HT + NA reuptake\n+ H1/M1/α1 block", "Imipramine → Nocturnal enuresis (bedwetting) ★\nClomipramine → OCD (best TCA!) ★\nAmitriptyline → Neuropathic pain, Migraine prophylaxis, Fibromyalgia", "Anticholinergic: dry mouth, urinary retention, constipation\nCardiac arrhythmias (wide QRS in overdose — treat with NaHCO₃)\nSeizures in overdose\nContraindicated: glaucoma, BPH, recent MI, elderly"],
        ["SSRIs\n(Fluoxetine, Sertraline, Paroxetine, Citalopram, Escitalopram, Fluvoxamine)", "Selective 5-HT reuptake block (SERT)", "1st line for depression\nOCD: Fluvoxamine, Fluoxetine\nPanic/PTSD/Social anxiety: Sertraline\nBulimia nervosa: Fluoxetine (only FDA-approved) ★\nPremature ejaculation: Dapoxetine (short-acting SSRI)", "GI nausea/diarrhoea (early)\nSexual dysfunction (most common discontinuation reason)\nSIADH (hyponatraemia — elderly)\nSerotonin syndrome (with MAOIs/Tramadol)\nFluoxetine = longest t½ (2–6 days); least withdrawal"],
        ["SNRIs\n(Venlafaxine, Duloxetine)", "Block SERT + NET", "Depression, GAD\nDuloxetine: neuropathic pain, fibromyalgia, stress urinary incontinence", "Nausea, hypertension (Venlafaxine at high doses)\nSweating, insomnia"],
        ["MAOIs\n(Phenelzine, Tranylcypromine — irreversible;\nMoclobemide — reversible RIMA)", "Inhibit MAO → ↑ 5-HT/NA/DA", "Atypical depression (↑sleep, ↑appetite)\nSSRI-resistant cases\nPhenelzine: Social phobia", "TYRAMINE REACTION (Cheese reaction) ★: hypertensive crisis with aged cheese, wine, fermented foods\nSerotonin syndrome with SSRIs, TCAs, Pethidine\nWait 14 days when switching (5 weeks after Fluoxetine)"],
        ["Mirtazapine", "α2 block (↑ NA+5HT release)\n+ 5-HT2 + H1 block", "Depression + insomnia\nDepression + poor appetite", "Sedation, weight gain (H1 block) — useful features in some patients"],
        ["Bupropion", "DA + NA reuptake inhibitor", "Depression\nSmoking cessation (Zyban) ★", "No sexual dysfunction ★; Lowers seizure threshold; Insomnia"],
        ["Trazodone", "5-HT2 block + weak SERT inhibitor", "Depression + insomnia (very sedating)", "Priapism (painful sustained erection — rare but dangerous) ★"],
    ],
    [3.5*cm, 3.5*cm, 5*cm, 6.5*cm], header_bg=HexColor("#004d40"), note_rows={3}
))
story.append(spacer(0.2))
story.append(exam_box("Serotonin Syndrome = SSRIs + MAOIs (or Tramadol, Linezolid): Hyperthermia + Clonus + Agitation + Autonomic instability → Treatment: Cyproheptadine (5-HT2 antagonist)"))
story.append(PageBreak())

# ════════════════════════════════════════════════════════════════════
# SECTION 5: PARKINSON'S DISEASE DRUGS
# ════════════════════════════════════════════════════════════════════
story.append(section_banner("5. ANTI-PARKINSON'S DRUGS", HexColor("#4e342e")))
story.append(spacer(0.2))
story.append(Paragraph("Core Concept: Loss of DA neurons in substantia nigra → ↓ Dopamine + relatively ↑ ACh in striatum → TRAP (Tremor-Rigidity-Akinesia-Postural instability). Treatment = Restore DA or Reduce ACh.", S_BODY))
story.append(spacer(0.2))

story.append(Paragraph("Anti-Parkinson Drug Summary Table", S_TOPIC))
story.append(make_table(
    ["Drug / Class", "Mechanism", "Best For", "Key ADRs & Notes"],
    [
        ["Levodopa + Carbidopa\n(Syndopa, Sinemet) ★",
         "L-DOPA crosses BBB → converted to DA\nCarbidopa = peripheral DDI (stays outside BBB)",
         "Best overall efficacy\nEspecially bradykinesia/akinesia",
         "Early: Nausea, postural hypotension\nLate (3–5 yrs): Wearing off, On-Off fluctuations, Dyskinesias\nPsychosis (DA excess in mesolimbic)\nContraindicated: psychosis, narrow-angle glaucoma, non-selective MAOIs, antipsychotics\nVit B6 reduces effect (abolished by carbidopa)"],
        ["DA Agonists\nBromocriptine (ergot, D2)\nPramipexole, Ropinirole (non-ergot) ★",
         "Act directly on DA receptors in brain",
         "Young patients — delay L-DOPA complications\nEarly PD monotherapy\nAdjunct to L-DOPA",
         "Nausea, postural hypotension\nCompulsive behaviors (gambling, hypersexuality) — Pramipexole/Ropinirole ★\nBromocriptine also for: hyperprolactinaemia, acromegaly"],
        ["MAO-B Inhibitors\nSelegiline, Rasagiline",
         "Block MAO-B (DA-degrading enzyme in brain)\nSelective → less cheese reaction",
         "Early PD (possible neuroprotection)\nAdjunct to L-DOPA (reduces wearing off)",
         "Selegiline → amphetamine metabolite → insomnia (give in morning!)\nAvoid with SSRIs (serotonin syndrome risk)"],
        ["COMT Inhibitors\nEntacapone (peripheral)\nTolcapone (central + peripheral)",
         "Block COMT → ↓ L-DOPA breakdown → more reaches brain",
         "Wearing off phenomenon (adjunct to L-DOPA)",
         "Tolcapone → HEPATOTOXICITY — monitor LFTs ★\nDyskinesias (L-DOPA effect enhanced → reduce L-DOPA dose)"],
        ["Anticholinergics\nTrihexyphenidyl (Benzhexol)\nBenztropine, Biperiden",
         "Block muscarinic ACh receptors → restore DA:ACh balance",
         "Tremor & rigidity ★\nDrug-induced Parkinsonism (from antipsychotics)",
         "Anticholinergic effects: dry mouth, blurred vision, urinary retention, constipation\nConfusion, memory impairment — AVOID IN ELDERLY ★"],
        ["Amantadine",
         "NMDA glutamate receptor block\n+ releases DA from terminals",
         "Early PD\nReduces L-DOPA-induced dyskinesias ★\nDrug-induced Parkinsonism",
         "Livedo reticularis (mottled skin) ★\nAnkle oedema, confusion\nAlso: antiviral (Influenza A)"],
    ],
    [3.5*cm, 3.5*cm, 3.5*cm, 8*cm], header_bg=HexColor("#4e342e"), note_rows={0}
))
story.append(PageBreak())

# ════════════════════════════════════════════════════════════════════
# SECTION 6: OPIOID ANALGESICS
# ════════════════════════════════════════════════════════════════════
story.append(section_banner("6. OPIOID ANALGESICS", C_RED))
story.append(spacer(0.2))

story.append(Paragraph("Opioid Receptor Types", S_TOPIC))
story.append(make_table(
    ["Receptor", "Key Effects"],
    [
        ["Mu (μ1)", "Supraspinal analgesia, euphoria, dependence"],
        ["Mu (μ2)", "Respiratory depression, constipation, bradycardia"],
        ["Kappa (κ)", "Spinal analgesia, sedation, DYSPHORIA, miosis"],
        ["Delta (δ)", "Modulates mu receptor, analgesia"],
    ],
    [4*cm, 14.5*cm], header_bg=C_RED
))
story.append(spacer(0.2))

story.append(Paragraph("Morphine — The Prototype (All effects must be memorized)", S_TOPIC))
story.append(make_table(
    ["System", "Effect", "Tolerance develops?"],
    [
        ["CNS", "Analgesia, euphoria → sedation → sleep", "Yes"],
        ["CNS", "Nausea & vomiting (CTZ stimulation)", "Yes (early)"],
        ["CNS", "MIOSIS (pin-point pupils) — kappa + mu", "NO ★"],
        ["CNS", "Respiratory depression (↓ CO2 sensitivity)", "Yes"],
        ["CNS", "Cough suppression (antitussive)", "Yes"],
        ["GIT", "CONSTIPATION (↓ GI motility)", "NO ★"],
        ["GIT", "Biliary spasm (sphincter of Oddi contraction)", "Partial"],
        ["Urinary", "Urinary retention (↑ sphincter tone)", "Partial"],
        ["CVS", "Bradycardia, hypotension (histamine release)", "Yes"],
        ["Respiratory", "Bronchospasm (histamine)", "—"],
    ],
    [3*cm, 11*cm, 4.5*cm], header_bg=C_RED, note_rows={2, 5}
))
story.append(mnemonic_box("Morphine Overdose TRIAD: Coma + Miosis + Respiratory Depression → IV Naloxone"))
story.append(spacer(0.2))

story.append(Paragraph("Opioid Drug Comparison", S_TOPIC))
story.append(make_table(
    ["Drug", "Type", "Key Points"],
    [
        ["Morphine", "Full μ agonist", "Prototype; poor oral bioavailability (25%); M6G active metabolite accumulates in renal failure; DOC for pain in MI + Acute pulmonary oedema"],
        ["Codeine", "Full μ agonist (prodrug)", "Prodrug → Morphine by CYP2D6; antitussive (cough); antidiarrhoeal; weak analgesic; in compound cough syrups"],
        ["Pethidine (Meperidine)", "Full μ agonist", "Atropine-like: NO miosis, NO bradycardia, causes TACHYCARDIA; Norpethidine metabolite → SEIZURES in renal failure; AVOID with MAOIs (serotonin syndrome); Used: obstetric analgesia, biliary/renal colic (less sphincter of Oddi spasm)"],
        ["Fentanyl", "Full μ agonist", "100× more potent than morphine; transdermal patch (chronic cancer pain); IV for anaesthesia; rapid onset, short duration"],
        ["Methadone", "Full μ agonist", "Long-acting; oral; opioid substitution therapy (heroin addiction); also NMDA antagonist action"],
        ["Tramadol", "Weak μ + SNRI", "Moderate pain, neuropathic pain; SEROTONIN SYNDROME with SSRIs/MAOIs ★; lowers seizure threshold"],
        ["Buprenorphine", "Partial μ agonist + κ antagonist", "Ceiling effect for respiratory depression (safer); sublingual; opioid dependence treatment; combined with Naloxone = Suboxone"],
        ["Pentazocine", "κ agonist + μ antagonist", "Causes DYSPHORIA, hallucinations; precipitates withdrawal in opioid-dependent patients; less analgesic than morphine"],
        ["Naloxone", "Pure antagonist (all receptors)", "IV only; t½ ~30–60 min (shorter than most opioids — may need repeat doses!); reverses opioid overdose"],
        ["Naltrexone", "Pure antagonist (oral)", "Maintenance treatment of opioid dependence; alcohol dependence (blocks euphoria from alcohol)"],
    ],
    [3*cm, 3.5*cm, 12*cm], header_bg=C_RED, note_rows={2}
))
story.append(PageBreak())

# ════════════════════════════════════════════════════════════════════
# SECTION 7: GENERAL ANAESTHESIA
# ════════════════════════════════════════════════════════════════════
story.append(section_banner("7. GENERAL ANAESTHESIA", C_GREY))
story.append(spacer(0.2))
story.append(Paragraph("Guedel's Stages (conceptual — for ether/old agents): Stage 1 = Analgesia | Stage 2 = Excitement (cross quickly!) | Stage 3 = Surgical anaesthesia | Stage 4 = Medullary depression (DEATH)", S_BODY))
story.append(spacer(0.2))

story.append(Paragraph("Inhalational Agents", S_TOPIC))
story.append(Paragraph("MAC (Minimum Alveolar Concentration) = alveolar conc preventing movement in 50% of patients. LOWER MAC = MORE potent.", S_BODY))
story.append(spacer(0.1))
story.append(make_table(
    ["Agent", "MAC", "Key Features / Adverse Effects"],
    [
        ["Halothane", "0.75%", "HEPATOTOXICITY ('halothane hepatitis') ★; Sensitizes heart to catecholamines → arrhythmias; Triggers MALIGNANT HYPERTHERMIA; Bronchodilator"],
        ["Isoflurane", "1.15%", "Most widely used agent; pungent smell; coronary steal (theoretical); minimal hepatotoxicity"],
        ["Sevoflurane", "2%", "Sweet smell; smooth induction — preferred for PAEDIATRIC induction ★; minimal airway irritation"],
        ["Desflurane", "6–7%", "Most rapid onset/recovery; VERY pungent (cannot use for mask induction); OR pollution concern; used for maintenance only"],
        ["Nitrous Oxide (N₂O)", ">100% (weakest!)", "Analgesic ('laughing gas'); must be mixed with O₂; EXPANDS air-filled cavities ★ — avoid in pneumothorax, bowel obstruction, middle ear surgery; prolonged use → megaloblastic anaemia (B₁₂ inactivation)"],
    ],
    [3*cm, 2*cm, 13.5*cm], header_bg=C_GREY, note_rows={0, 4}
))
story.append(exam_box("Malignant Hyperthermia: Triggered by halothane/succinylcholine. Genetic defect in ryanodine receptor → uncontrolled Ca²⁺ release → hyperthermia + rigidity + rhabdomyolysis. Treatment: DANTROLENE"))
story.append(spacer(0.2))

story.append(Paragraph("IV Anaesthetic Agents", S_TOPIC))
story.append(make_table(
    ["Drug", "Mechanism", "Key Features"],
    [
        ["Thiopentone (Thiopental)", "Barbiturate — GABA-A", "Ultra-short (redistribution); IV induction only; NO analgesia; Contraindicated: PORPHYRIA; Myocardial depression"],
        ["Propofol", "GABA-A enhancement", "Most used IV agent today; 'milk of anaesthesia' (white emulsion); rapid recovery; antiemetic; Propofol infusion syndrome with prolonged high dose ★; pain on injection"],
        ["Ketamine ★", "NMDA receptor antagonist\n(dissociative anaesthesia)", "INCREASES BP & HR (sympathomimetic) — use in shock/trauma ★; ONLY IV anaesthetic with ANALGESIC action ★; eyes remain open; emergence hallucinations (co-give BZD); BRONCHODILATOR — safe in asthma ★; Contraindicated: hypertension, raised ICP, psychiatric illness"],
        ["Etomidate", "GABA-A", "Least CVS depression — preferred in cardiac patients; adrenocortical suppression (avoid prolonged infusion) ★"],
        ["Midazolam", "BZD — GABA-A", "Premedication/sedation; anterograde amnesia; anxiolysis"],
    ],
    [3.5*cm, 3.5*cm, 11.5*cm], header_bg=C_GREY, note_rows={2}
))
story.append(spacer(0.2))

story.append(Paragraph("Neuromuscular Blockers (NMBs)", S_TOPIC))
story.append(make_table(
    ["Drug", "Type", "Onset / Duration", "Key Notes"],
    [
        ["Succinylcholine (Suxamethonium)", "DEPOLARIZING", "Fastest (60–90 sec) / Ultra-short (5–10 min)", "Mimics ACh → persistent depolarization → fasciculations then paralysis; metabolized by plasma cholinesterase; Hyperkalemia ★ (burns, crush injury — DANGEROUS); Triggers malignant hyperthermia; ↑ IOP, ↑ ICP, ↑ intragastric pressure; Pseudocholinesterase deficiency → prolonged apnea; Antidote: FFP"],
        ["Rocuronium", "Non-depolarizing", "Fastest non-depolarizing / Intermediate", "Reversed by SUGAMMADEX (specific); alternative to succinylcholine for rapid intubation"],
        ["Atracurium", "Non-depolarizing", "Intermediate", "Hofmann elimination (spontaneous — does NOT need liver or kidney); SAFEST in renal/liver failure ★"],
        ["Vecuronium", "Non-depolarizing", "Intermediate", "Minimal CVS effects; caution in liver/kidney disease"],
        ["Pancuronium", "Non-depolarizing", "Long", "Tachycardia (vagolytic); avoid in cardiac patients"],
        ["Reversal of non-depol. block", "—", "—", "Neostigmine (anticholinesterase) + Atropine (to block muscarinic SE of neostigmine). OR Sugammadex for rocuronium/vecuronium."],
    ],
    [3.5*cm, 2.8*cm, 3.5*cm, 8.7*cm], header_bg=C_GREY, note_rows={0, 2}
))
story.append(PageBreak())

# ════════════════════════════════════════════════════════════════════
# SECTION 8: 30 HIGH-YIELD ONE-LINERS
# ════════════════════════════════════════════════════════════════════
story.append(section_banner("8. TOP 30 ONE-LINERS FOR PROF EXAMS", C_AMBER))
story.append(spacer(0.2))

oneliners = [
    ("1",  "BZDs → ↑ FREQUENCY of Cl⁻ channel opening. Barbiturates → ↑ DURATION."),
    ("2",  "BZD overdose antidote = Flumazenil (IV, short t½ ~1h, may need repeat doses)."),
    ("3",  "Opioid overdose antidote = Naloxone (IV). Classic triad: Coma + Miosis + Respiratory depression."),
    ("4",  "Status epilepticus Rx: IV Lorazepam (1st) → IV Phenytoin → IV Phenobarbital."),
    ("5",  "DOC absence ONLY = Ethosuximide. DOC absence + tonic-clonic = Valproate."),
    ("6",  "DOC focal/partial seizures = Carbamazepine. DOC trigeminal neuralgia = Carbamazepine."),
    ("7",  "Phenytoin: Zero-order kinetics! Nystagmus (1st toxicity sign), gingival hyperplasia, hirsutism, fetal hydantoin syndrome."),
    ("8",  "Valproate = most teratogenic AED. Neural tube defects (spina bifida). Give folate!"),
    ("9",  "Carbamazepine unique ADR = SIADH (hyponatraemia). Also causes Stevens-Johnson."),
    ("10", "Vigabatrin: irreversible GABA-T inhibitor → permanent visual field defects."),
    ("11", "Topiramate: only AED that causes WEIGHT LOSS. Also causes cognitive slowing, kidney stones."),
    ("12", "Levetiracetam: binds SV2A. Fewest drug interactions. Safe and effective broad-spectrum AED."),
    ("13", "Dopamine hypothesis: excess DA in mesolimbic pathway → schizophrenia. All antipsychotics block D2."),
    ("14", "EPS timeline: Acute dystonia (hrs) → Akathisia (days-wks) → Drug Parkinsonism (wks-months) → Tardive dyskinesia (months-yrs, IRREVERSIBLE)."),
    ("15", "NMS: Fever + Rigidity + Autonomic instability + ↑CPK → Stop drug → Dantrolene + Bromocriptine."),
    ("16", "Clozapine = treatment-resistant schizophrenia. WEEKLY CBC for agranulocytosis. No EPS/tardive dyskinesia."),
    ("17", "Thioridazine = low EPS BUT pigmentary retinopathy + QT prolongation. Avoid in cardiac patients."),
    ("18", "Aripiprazole = partial D2 agonist. Least metabolic effects. No QT prolongation. Weight neutral."),
    ("19", "TCAs overdose: wide QRS arrhythmias + seizures + anticholinergic syndrome → treat arrhythmia with IV NaHCO₃."),
    ("20", "Imipramine (TCA) = DOC nocturnal enuresis. Clomipramine (TCA) = best TCA for OCD."),
    ("21", "Fluoxetine (SSRI) = only SSRI FDA-approved for bulimia nervosa. Also longest half-life (avoid cheese reaction after stopping)."),
    ("22", "Cheese reaction = MAOI + tyramine → hypertensive crisis. Wait 14 days when switching FROM MAOIs (5 weeks after Fluoxetine)."),
    ("23", "Serotonin syndrome = SSRIs + MAOIs/Tramadol/Linezolid → Hyperthermia + Clonus → Cyproheptadine."),
    ("24", "Bupropion: DA+NA reuptake blocker. Used for depression AND smoking cessation. NO sexual dysfunction."),
    ("25", "L-DOPA always given WITH Carbidopa (peripheral DDI). Pyridoxine (B6) reduces L-DOPA effect (abolished by carbidopa)."),
    ("26", "Selegiline = MAO-B inhibitor → amphetamine metabolite → give in MORNING (insomnia if evening)."),
    ("27", "Amantadine: NMDA blocker → reduces L-DOPA dyskinesias. Unique ADR: livedo reticularis."),
    ("28", "Pethidine: atropine-like (tachycardia, no miosis). Norpethidine → seizures in renal failure. NEVER with MAOIs."),
    ("29", "Ketamine: Dissociative (NMDA block). Only IV agent with analgesia. INCREASES BP. Safe in asthma. Causes emergence hallucinations."),
    ("30", "Malignant hyperthermia: Halothane/Succinylcholine → ryanodine receptor defect → ↑↑Ca²⁺ → hyperthermia + rigidity. Rx: Dantrolene."),
]

ol_rows = [[Paragraph(f"<b>{n}.</b>", S_ONELINER), Paragraph(text, S_ONELINER)] for n, text in oneliners]
ol_tbl = Table(ol_rows, colWidths=[1*cm, 17.5*cm])
ol_tbl.setStyle(TableStyle([
    ("ROWBACKGROUNDS", (0,0), (-1,-1), [C_WHITE, C_YELLOW]),
    ("TOPPADDING",    (0,0), (-1,-1), 3),
    ("BOTTOMPADDING", (0,0), (-1,-1), 3),
    ("LEFTPADDING",   (0,0), (-1,-1), 4),
    ("VALIGN",        (0,0), (-1,-1), "TOP"),
    ("GRID",          (0,0), (-1,-1), 0.3, HexColor("#e0e0e0")),
]))
story.append(ol_tbl)
story.append(spacer(0.4))

# ── FOOTER ─────────────────────────────────────────────────────────
story.append(hr())
story.append(Paragraph("CNS Pharmacology Quick Reference | MBBS 2nd Year Prof Exams | Based on KDT, Katzung, Lippincott & Goodman-Gilman | Orris Medical Education", S_FOOTER))

# ── BUILD ───────────────────────────────────────────────────────────
doc.build(story)
print(f"PDF saved to: {OUTPUT}")
Running Command

cd /home/daytona/workspace/cns-pharmacology && python3 generate_pdf.py 2>&1

Running Command

ls -lh /home/daytona/workspace/cns-pharmacology/CNS_Pharmacology_Study_Guide.pdf

Your print-ready study guide is ready! Download it here:

CNS Pharmacology Study Guide

PDF Document · PDF


Here's what's inside the PDF (8 sections, A4, print-optimized):
SectionContents
1. Sedatives & HypnoticsBZD vs Barbiturate comparison table, full BZD drug reference, Z-drugs, Flumazenil
2. AntiepilepticsDrug-of-choice by seizure type table, individual AED profiles (adverse effects + key facts), newer AEDs
3. AntipsychoticsDopamine pathways, EPS types with onset & treatment, full drug comparison (CPZ to Aripiprazole)
4. AntidepressantsTCA/SSRI/SNRI/MAOI/others - mechanisms, special uses, key ADRs in one table
5. Parkinson's DrugsAll 6 drug classes in one summary table with mechanisms and clinical notes
6. OpioidsReceptor types, Morphine effects (with tolerance column), all opioid drug comparison
7. General AnaesthesiaInhalational agents (MAC table), IV agents, neuromuscular blockers
8. Top 30 One-linersAlternating color rows - quick last-minute revision
Print tip: Print double-sided, A4, fit to page - gives you a compact ~8-page booklet you can carry to exams!
This is a shared conversation. Sign in to Orris to start your own chat.