attachment
attachment

Create a pdf of the given image by providing answers according to marks distribution in the form of flowcharts and ,tubular form by referring dc dutta obg textbook or any other standard mbbs textbooks

analyse_media
Reading File
Finding Sources
Reading File
Finding Sources
general-purpose

You are tasked with creating a comprehensive, well-formatted PDF answer guide for an MBBS OBG (Obstetrics and Gynecology) exam paper. The exam is from Rajiv Gandhi University of Health Sciences, Karnataka - MBBS Phase III Part II, dated 27-Apr-2026. ## YOUR TASK Create a PDF file at `/tmp/workspace/OBG_Answer_Guide.pdf` containing detailed answers for ALL questions below, formatted with: - Flowcharts (using ASCII/text box diagrams) for management protocols - Tables for classifications, comparisons, and lists - Clear headings and marks allocation ## EXAM QUESTIONS ### LONG ESSAYS (2 x 10 = 20 Marks) **Q1 (10 marks):** a) Classify hypertensive disorders in pregnancy b) Define preeclampsia c) Management of primigravida at 34 weeks with eclampsia **Q2 (10 marks):** a) Define preterm labour b) Enlist causes of preterm labour c) Management protocol of 30 weeks primigravida with threatened preterm labour ### SHORT ESSAYS (8 x 5 = 40 Marks) **Q3 (5 marks):** Define third stage of labour. Active management of third stage (AMTSL) **Q4 (5 marks):** Define deep transverse arrest. Management of primigravida with deep transverse arrest **Q5 (5 marks):** Screening of diabetes in antenatal patients **Q6 (5 marks):** Causes and management of rupture uterus **Q7 (5 marks):** Define caesarean section, indications and complications **Q8 (5 marks):** Hormonal contraceptive methods and contraindications **Q9 (5 marks):** Define normal Puerperium. Four complications of puerperium. Management of any one. **Q10 (5 marks):** Causes of haemorrhage in early pregnancy. Management of ruptured tubal ectopic pregnancy ### SHORT ANSWERS (10 x 3 = 30 Marks) **Q11 (3 marks):** Three tests for fetal well being **Q12 (3 marks):** Pelvic assessment **Q13 (3 marks):** Late decelerations **Q14 (3 marks):** Safe motherhood and significance **Q15 (3 marks):** Components of Biophysical profile **Q16 (3 marks):** Antihypertensive drugs used in pregnancy **Q17 (3 marks):** Baby friendly hospital **Q18 (3 marks):** Causes of unengaged head in Primigravida **Q19 (3 marks):** Tetanus immunization in pregnancy **Q20 (3 marks):** Uses of magnesium sulphate in obstetrics ### MCQ (10 x 1 = 10 Marks) **Q21i:** Most common cause of PPH in multipara - Answer: C. Uterine atonicity ## MEDICAL LIBRARY RESOURCES Use the medical library database to find accurate content. The available OBG textbooks are: - "Berek & Novak's Gynecology" (isbn: 9781496380357) - "Creasy & Resnik's MATERNAL-FETAL MEDICINE" (isbn: 9780323828499) Query for content using these SQL commands: ```sql -- Search by heading SELECT title, book_title, '/textbooks/' || block_file_path AS file_path, line_number, para_line_ranges, para_count FROM headings_fts WHERE headings_fts MATCH 'preeclampsia' ORDER BY rank LIMIT 5 -- Search by paragraph content SELECT book_title, section_heading, '/textbooks/' || block_file_path AS file_path, line_start, line_end, snippet(paragraphs_fts, 0, '>>>', '<<<', '...', 30) as snippet FROM paragraphs_fts WHERE paragraphs_fts MATCH 'eclampsia management' ORDER BY rank LIMIT 5 ``` ## PDF CREATION INSTRUCTIONS Use Python with `reportlab` to create the PDF. Here is the structure to follow: 1. **Title Page** with exam details 2. **One section per question** with: - Question number and marks in a box - Clear answer with subparts labeled - Tables where appropriate (classifications, drug lists, etc.) - ASCII flowcharts for management protocols ### FLOWCHART FORMAT (use this ASCII style): ``` [START: Patient Presentation] | v [Assessment/Diagnosis] | +----+----+ | | v v [Option A] [Option B] | | v v [Management A] [Management B] | v [Follow-up] ``` ### TABLE FORMAT: Use proper reportlab Table objects with styled headers ## PYTHON CODE APPROACH Use reportlab to create the PDF: ```python from reportlab.lib.pagesizes import A4 from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle from reportlab.lib.units import inch, cm from reportlab.lib import colors from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle, HRFlowable, PageBreak from reportlab.lib.enums import TA_CENTER, TA_LEFT, TA_JUSTIFY ``` ## CONTENT TO INCLUDE For each answer, use the following evidence-based content from DC Dutta / standard OBG textbooks: ### Q1: Hypertensive Disorders (10 marks) **Classification (ISSHP/ACOG):** | Type | Definition | |------|-----------| | Gestational Hypertension | BP ≥140/90 after 20 weeks, no proteinuria, normalizes by 12 weeks postpartum | | Preeclampsia | Gestational HT + proteinuria (≥300mg/24h) OR end-organ damage | | Eclampsia | Preeclampsia + seizures | | Chronic Hypertension | HT diagnosed before 20 weeks | | Superimposed Preeclampsia | Chronic HT + new onset proteinuria/end-organ damage | **Preeclampsia:** New onset HT (≥140/90 mmHg) after 20 weeks gestation with proteinuria (≥300mg/24h or protein:creatinine ≥0.3) OR in absence of proteinuria: thrombocytopenia, renal insufficiency, impaired liver function, pulmonary edema, new-onset headache **Management of Eclampsia at 34 weeks - FLOWCHART:** ``` Patient: Primigravida 34 weeks with Eclampsia | IMMEDIATE ACTION - Lateral position - Airway, O2 (6-8 L/min) - IV access x2 - Call for help | ANTICONVULSANT THERAPY Magnesium Sulphate (Pritchard regimen): Loading: 4g IV over 15 min + 10g IM (5g each buttock) Maintenance: 5g IM every 4 hours | MONITOR (every 30 min): - Patellar reflex (if absent - STOP MgSO4) - Respiratory rate (must be >16/min) - Urine output (must be >25ml/hr) - Serum Magnesium levels | ANTIHYPERTENSIVE if BP >160/110: - Hydralazine 5mg IV bolus OR - Labetalol 20mg IV OR - Nifedipine 10mg oral | DELIVERY PLAN: - Stabilize for minimum 4-6 hours - Corticosteroids (Betamethasone 12mg IM x2 doses 24h apart) - Mode: CS preferred OR vaginal if favorable cervix - Deliver within 12-24 hours of stabilization | POSTPARTUM: - Continue MgSO4 for 24 hours after last seizure - Monitor BP, fluid balance - Watch for complications (HELLP, APH, ARF) ``` ### Q2: Preterm Labour (10 marks) **Definition:** Regular uterine contractions causing cervical changes between 20-37 weeks gestation **Causes:** | Category | Causes | |----------|--------| | Maternal | UTI, Pyelonephritis, Systemic infections, Cervical incompetence, Uterine anomalies, Trauma | | Fetal | IUGR, Multiple pregnancy, Fetal anomalies | | Placental | Placenta previa, APH, Placental abruption | | Idiopathic | 40-50% of cases | **Management Flowchart - 30 weeks threatened PTL:** ``` 30 Weeks Primigravida - Threatened Preterm Labour | ASSESS: - Confirm gestational age (USG) - Cervical assessment (length by TVS) - Fetal monitoring (CTG) - R/O PPROM (speculum exam, amniotest) - Urine culture, HVS | ADMIT & BEDREST | TOCOLYSIS (if no contraindication): First-line: Nifedipine 20mg oral then 10-20mg 6 hourly OR Atosiban (Oxytocin antagonist) IV Duration: 48 hours to allow steroids | CORTICOSTEROIDS (Fetal lung maturity): Betamethasone 12mg IM × 2 doses 24h apart OR Dexamethasone 6mg IM × 4 doses 12h apart | ANTIBIOTICS (if GBS+ve or PPROM): Erythromycin OR Ampicillin | MAGNESIUM SULPHATE: Neuroprotection if delivery <32 weeks 4g IV loading, 1g/hr maintenance | MONITOR: - Fetal wellbeing (CTG, BPP) - Cervical length - Signs of infection | IF LABOUR PROGRESSES → DELIVERY Consider: NICU availability, transfer if needed ``` ### Q3: Third Stage of Labour & AMTSL (5 marks) Third stage = from delivery of baby to delivery of placenta (normally 5-30 min) **AMTSL Components (WHO 2012):** | Component | Details | |-----------|---------| | Uterotonic | Oxytocin 10 IU IM within 1 min of baby delivery | | Controlled Cord Traction | Brandt-Andrews method after uterine contraction | | Uterine Massage | After placenta delivery | ### Q4: Deep Transverse Arrest (5 marks) **Definition:** Arrest of head in transverse diameter at level of ischial spines (0 station), sagittal suture in transverse diameter of pelvis, due to inadequate rotation from occiput transverse to OA/OP position. **Management Flowchart:** ``` Deep Transverse Arrest | ASSESS: - Confirm position (VE) - Assess pelvis - Fetal wellbeing | +----+----+ | | Vaginal CS Delivery (if failed/contraindicated) | +--+--+ | | Forceps Ventouse (Kielland's (rotation rotational then traction) forceps) | Rotate to OA → Deliver ``` ### Q5: GDM Screening (5 marks) **ANC Diabetes Screening:** | Test | When | Threshold | |------|------|-----------| | Random blood sugar | First ANC visit | >140 mg/dL → GTT | | 50g GCT (non-fasting) | 24-28 weeks | ≥140 mg/dL → proceed to 75g OGTT | | 75g OGTT (WHO 2013) | 24-28 weeks | Fasting ≥92, 1hr ≥180, 2hr ≥153 mg/dL | | HbA1c | Any time | ≥6.5% | **Risk factors requiring early screening:** Obesity (BMI>30), family h/o DM, previous GDM, macrosomic baby, PCOS, glycosuria ### Q6: Rupture Uterus (5 marks) **Causes:** | Type | Causes | |------|--------| | Obstructed labour | Contracted pelvis, malpresentation, macrosomia | | Injudicious use of oxytocin | Hyperstimulation | | Previous uterine scar | Previous CS, myomectomy | | Trauma | External violence, instrumental delivery | | Congenital | Uterine anomaly | **Management Flowchart:** ``` Suspected Rupture Uterus | RESUSCITATE: 2 large bore IV, O2, Blood x-match Foley catheter | EMERGENCY LAPAROTOMY | +------+------+ | | Simple Repair Hysterectomy (fresh, clean (extensive tear, tear, young uncontrolled woman) bleeding, multiple tears) | Postop: Antibiotics, Blood transfusion ICU monitoring ``` ### Q7: Caesarean Section (5 marks) **Definition:** Delivery of fetus through incisions in anterior abdominal wall (laparotomy) and uterine wall (hysterotomy) **Indications Table:** | Category | Indications | |----------|-------------| | Absolute Maternal | Central placenta previa, Previous 2+ CS, Contracted pelvis, Obstructed labour | | Fetal | Fetal distress, Cord prolapse, Malpresentations (transverse lie, brow) | | Relative | Previous one CS, IUGR, Precious baby, Failed IOL | **Complications:** | Intraoperative | Postoperative | |---------------|---------------| | Hemorrhage | Wound infection | | Bladder/bowel injury | DVT/PE | | Anesthetic complications | Endometritis | | Extension of incision | Adhesions | ### Q8: Hormonal Contraceptives (5 marks) **Methods Table:** | Type | Examples | Duration | |------|---------|----------| | Combined OCP | Mala-N, Mala-D | Daily | | Progestin-only pill | Centchroman, Minipill | Daily | | Emergency contraception | Levonorgestrel 1.5mg | Within 72h | | Injectable | DMPA (Depo-Provera) 150mg IM | Every 3 months | | Implants | Implanon, Norplant | 3-5 years | | Hormonal IUD | LNG-IUS (Mirena) | 5 years | **Contraindications:** | Combined OCP | Progestin-only | |-------------|----------------| | Thromboembolism | Active liver disease | | Cardiovascular disease | Unexplained vaginal bleeding | | Breast/cervical cancer | Breast cancer | | Migraine with aura | — | | Hypertension | — | | Liver disease | — | | Breastfeeding <6 weeks | — | ### Q9: Puerperium (5 marks) **Normal Puerperium:** Period following delivery lasting 6 weeks during which reproductive organs return to non-pregnant state. **4 Complications:** 1. Puerperal pyrexia/sepsis 2. PPH (secondary) 3. DVT/Pulmonary embolism 4. Puerperal psychosis **Management of Puerperal Sepsis (most common):** ``` Puerperal Sepsis | DIAGNOSIS: Temp >38°C on 2 occasions after 24h postpartum HVS, blood culture, urine culture | BROAD-SPECTRUM ANTIBIOTICS: IV Ampicillin + Gentamicin + Metronidazole | +------+------+ | | Responds No response | | Continue Consider retained PO antibiotics POC → evacuation Pelvic abscess → drain Consider hysterectomy ``` ### Q10: Haemorrhage in Early Pregnancy (5 marks) **Causes:** | Gestational Age | Cause | |----------------|-------| | Any | Cervical/vaginal lesion, Cervicitis | | <12 weeks | Abortion (threatened/inevitable/incomplete/missed/septic) | | 8-16 weeks | Hydatidiform mole | | Any (Ectopic at 4-8 wks usually) | Ectopic pregnancy | **Ruptured Tubal Ectopic - Management Flowchart:** ``` Ruptured Tubal Ectopic Pregnancy | RESUSCITATE: 2 IV lines, blood x-match Transfuse packed RBC O2, Foley catheter | EMERGENCY LAPAROTOMY (Laparoscopy if hemodynamically stable) | +--------+--------+ | | Salpingectomy Salpingostomy (tube severely (contralateral damaged/ tube damaged, preferred) fertility preservation) | Postoperative: - Monitor βhCG weekly till <5 IU/L - Anti-D if Rh negative - Counsel re: future pregnancy risk ``` ### Q11: Tests for Fetal Wellbeing (3 marks) 1. Cardiotocography (CTG) / Non-Stress Test (NST) 2. Biophysical Profile (BPP) - Manning's score 3. Doppler velocimetry (umbilical artery S/D ratio) ### Q12: Pelvic Assessment (3 marks) | Parameter | Normal Values | |-----------|--------------| | Diagonal conjugate | >12.5 cm (True conjugate = DC - 1.5cm) | | Transverse diameter of inlet | >13 cm | | Interspinous diameter | >10 cm (narrowest) | | Intertuberous diameter | >8 cm | | Subpubic angle | >90° | | Sacrococcygeal joint | Mobile | ### Q13: Late Decelerations (3 marks) - Definition: FHR deceleration beginning ≥30 seconds after start of uterine contraction, nadir after peak of contraction - Cause: Uteroplacental insufficiency (hypoxia) - Significance: Ominous pattern - indicates fetal hypoxia - Management: Left lateral position, O2, stop oxytocin, IV fluids, expedite delivery ### Q14: Safe Motherhood (3 marks) **Definition:** Initiative to reduce maternal morbidity and mortality through ensuring all women receive care needed during pregnancy, childbirth, and postpartum period. **4 Pillars:** Family planning, Antenatal care, Clean/safe delivery, Essential obstetric care **Significance:** MMR in India ~97/100,000 live births (SRS 2018-20); SDG target <70/100,000 ### Q15: Biophysical Profile Components (3 marks) | Parameter | Normal (Score 2) | Abnormal (Score 0) | |-----------|-----------------|-------------------| | NST | ≥2 accelerations in 30 min | <2 accelerations | | Fetal breathing movements | ≥1 episode ≥30 sec in 30 min | Absent | | Gross body movements | ≥3 discrete movements in 30 min | <3 movements | | Fetal tone | ≥1 extension/flexion in 30 min | Absent | | Amniotic fluid | AFI ≥5 cm OR deepest pocket ≥2 cm | AFI <5 OR pocket <2 cm | Maximum score = 10; Score ≥8 = normal; 6 = equivocal; ≤4 = abnormal ### Q16: Antihypertensive Drugs in Pregnancy (3 marks) | Drug | Dose | Route | Notes | |------|------|-------|-------| | Labetalol | 20-80mg IV bolus; 200mg BD oral | IV/PO | First-line IV | | Hydralazine | 5-10mg IV every 20 min | IV | Max 20mg | | Nifedipine | 10-20mg oral; 30-90mg SR | PO | First-line oral | | Methyldopa | 250-500mg BD-TID | PO | Safe, chronic use | | Amlodipine | 5-10mg OD | PO | Chronic HT | **Contraindicated:** ACE inhibitors, ARBs (fetotoxic) ### Q17: Baby Friendly Hospital (3 marks) **BFHI (Baby Friendly Hospital Initiative - WHO/UNICEF 1991)** Ten Steps to Successful Breastfeeding: 1. Written breastfeeding policy 2. Train all staff 3. Inform all pregnant women about breastfeeding 4. Help initiate breastfeeding within 30 minutes of birth 5. Show mothers how to breastfeed 6. Give newborns no food/drink other than breast milk 7. Practice rooming-in 8. Encourage breastfeeding on demand 9. Give no artificial teats/pacifiers 10. Foster breastfeeding support groups ### Q18: Causes of Unengaged Head in Primigravida (3 marks) In primigravida, head normally engages by 36-38 weeks. Failure to engage suggests: | Cause | Type | |-------|------| | Contracted pelvis (CPD) | Mechanical obstruction | | Placenta previa | Mechanical | | Malpresentation (face, brow) | Positional | | Fetal anomaly (hydrocephalus) | Fetal | | Full bladder/rectum | Positional | | Cervical fibroid | Obstruction | | Pendulous abdomen | Positional | ### Q19: Tetanus Immunization in Pregnancy (3 marks) | Dose | When | Interval | Protection | |------|------|----------|------------| | TT1 | As early as possible | — | None | | TT2 | 4 weeks after TT1 | 4 weeks | 3 years | | TT3 | 6 months after TT2 | 6 months | 5 years | | TT4 | During next pregnancy | — | 10 years | | TT5 | During following pregnancy | — | Lifetime | **Note:** If previously immunized with 2+ doses within 3 years: single booster dose ### Q20: Uses of Magnesium Sulphate (3 marks) | Use | Regimen | |-----|---------| | Eclampsia seizure prevention & treatment | Pritchard: 4g IV + 10g IM loading; 5g IM every 4h | | Neuroprotection (preterm <32 wks) | 4g IV loading, 1g/hr maintenance | | Tocolysis (less common now) | 4-6g IV loading | **Toxicity monitoring:** Reflexes, RR >16/min, UO >25mL/hr **Antidote:** Calcium gluconate 10ml of 10% IV slowly ### Q21 MCQ Answer: **21i) C. Uterine atonicity** - Most common cause of PPH in ALL patients (75-80%), in multipara the uterine muscle is more likely to be atonic. --- ## PDF GENERATION CODE Now write a Python script to create this PDF using reportlab. Save to `/tmp/workspace/OBG_Answer_Guide.pdf`. Key requirements: 1. First create directory: `import os; os.makedirs('/tmp/workspace', exist_ok=True)` 2. Use A4 page size 3. Title page with exam details 4. Each question on proper sections with clear formatting 5. Tables using reportlab Table with colored headers 6. Flowcharts as formatted text blocks (monospace font in colored boxes) 7. Marks shown prominently for each question 8. Page numbers 9. Footer with "Reference: DC Dutta's Textbook of Obstetrics, Berek & Novak's Gynecology" Create and execute the complete Python script to generate the PDF. The output file MUST be at `/tmp/workspace/OBG_Answer_Guide.pdf`. Return: The exact file path of the created PDF, and confirmation it was successfully created (file size).

Reading File
Finding Sources
Reading File
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Running Command

mkdir -p /tmp/workspace && python3 -c "from reportlab.lib.pagesizes import A4; print('reportlab OK')"

This is a shared conversation. Sign in to Orris to start your own chat.