Sort this pdf into a much easier and simple one.. just write the topic and subtopics with their questions.. and against the. Write their value like. Sa q or laq or MCQ .. mk or dk or nk

Reading File
Running Command

python3 << 'EOF' import pdfplumber pdf_path = "/tmp/workspace/attachments/737f7b8f-b0b0-4536-96cc-1c5b4900765f/Community Medine-CBDC-4BHMS-7.05.2026.pdf" with pdfplumber.open(pdf_path) as pdf: print(f"Total pages: {len(pdf.pages)}") for i, page in enumerate(pdf.pages): print(f"\n{'='*60}") print(f"PAGE {i+1}") print('='*60) text = page.extract_text() if text: print(text) else: print("[No text extracted]") EOF

Running Command

mkdir -p /tmp/workspace/community-medicine-sorted

Writing File

~/community-medicine-sorted/generate_pdf.py

from reportlab.lib.pagesizes import A4
from reportlab.lib import colors
from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle
from reportlab.lib.units import cm
from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle, HRFlowable
from reportlab.lib.enums import TA_LEFT, TA_CENTER

doc = SimpleDocTemplate(
    "/tmp/workspace/community-medicine-sorted/Community_Medicine_Sorted.pdf",
    pagesize=A4,
    rightMargin=1.5*cm, leftMargin=1.5*cm,
    topMargin=1.5*cm, bottomMargin=1.5*cm
)

styles = getSampleStyleSheet()

title_style = ParagraphStyle('Title', parent=styles['Normal'],
    fontSize=16, fontName='Helvetica-Bold', textColor=colors.HexColor('#1a237e'),
    spaceAfter=6, alignment=TA_CENTER)

subtitle_style = ParagraphStyle('Subtitle', parent=styles['Normal'],
    fontSize=11, fontName='Helvetica', textColor=colors.HexColor('#37474f'),
    spaceAfter=12, alignment=TA_CENTER)

topic_style = ParagraphStyle('Topic', parent=styles['Normal'],
    fontSize=13, fontName='Helvetica-Bold', textColor=colors.white,
    spaceAfter=2, spaceBefore=8, leftIndent=4)

subtopic_style = ParagraphStyle('Subtopic', parent=styles['Normal'],
    fontSize=10, fontName='Helvetica-Bold', textColor=colors.HexColor('#1a237e'),
    spaceAfter=2, spaceBefore=4, leftIndent=4)

q_style = ParagraphStyle('Q', parent=styles['Normal'],
    fontSize=8.5, fontName='Helvetica',
    spaceAfter=1, spaceBefore=0, leftIndent=8)

note_style = ParagraphStyle('Note', parent=styles['Normal'],
    fontSize=8, fontName='Helvetica-Oblique', textColor=colors.HexColor('#546e7a'),
    spaceAfter=4, alignment=TA_CENTER)

story = []

# TITLE
story.append(Paragraph("Community Medicine - CBDC 4 BHMS", title_style))
story.append(Paragraph("Subject Code: Hom UG-CM-RM-Stat-II", subtitle_style))
story.append(Paragraph("Sorted Topic-wise Question Guide with Assessment Values", note_style))

# Legend
legend_data = [
    ['MCQ = Multiple Choice Question', 'SAQ = Short Answer Question', 'LAQ = Long Answer Question'],
    ['MK = Must Know', 'DK = Desirable to Know', 'NK = Nice to Know'],
]
legend_table = Table(legend_data, colWidths=[6*cm, 6*cm, 6*cm])
legend_table.setStyle(TableStyle([
    ('FONTNAME', (0,0), (-1,-1), 'Helvetica'),
    ('FONTSIZE', (0,0), (-1,-1), 8),
    ('TEXTCOLOR', (0,0), (-1,-1), colors.HexColor('#37474f')),
    ('BACKGROUND', (0,0), (-1,-1), colors.HexColor('#eceff1')),
    ('BOX', (0,0), (-1,-1), 0.5, colors.grey),
    ('INNERGRID', (0,0), (-1,-1), 0.25, colors.grey),
    ('TOPPADDING', (0,0), (-1,-1), 3),
    ('BOTTOMPADDING', (0,0), (-1,-1), 3),
    ('LEFTPADDING', (0,0), (-1,-1), 5),
]))
story.append(legend_table)
story.append(Spacer(1, 0.3*cm))

def topic_header(num, title, term):
    bg = colors.HexColor('#1a237e') if term == 'I' else colors.HexColor('#1b5e20')
    term_label = f"  [TERM {term}]"
    data = [[f"  {num}. {title}{term_label}"]]
    t = Table(data, colWidths=[18*cm])
    t.setStyle(TableStyle([
        ('BACKGROUND', (0,0), (-1,-1), bg),
        ('TEXTCOLOR', (0,0), (-1,-1), colors.white),
        ('FONTNAME', (0,0), (-1,-1), 'Helvetica-Bold'),
        ('FONTSIZE', (0,0), (-1,-1), 11),
        ('TOPPADDING', (0,0), (-1,-1), 5),
        ('BOTTOMPADDING', (0,0), (-1,-1), 5),
        ('LEFTPADDING', (0,0), (-1,-1), 4),
    ]))
    return t

def subtopic_header(title):
    data = [[f"  {title}"]]
    t = Table(data, colWidths=[18*cm])
    t.setStyle(TableStyle([
        ('BACKGROUND', (0,0), (-1,-1), colors.HexColor('#e3f2fd')),
        ('TEXTCOLOR', (0,0), (-1,-1), colors.HexColor('#1a237e')),
        ('FONTNAME', (0,0), (-1,-1), 'Helvetica-Bold'),
        ('FONTSIZE', (0,0), (-1,-1), 9.5),
        ('TOPPADDING', (0,0), (-1,-1), 3),
        ('BOTTOMPADDING', (0,0), (-1,-1), 3),
        ('LEFTPADDING', (0,0), (-1,-1), 6),
    ]))
    return t

def q_row(q_text, q_types, priority):
    # q_types: list of strings like ['MCQ','SAQ'] etc
    types_str = " / ".join(q_types)
    badge_color = colors.HexColor('#e53935') if priority=='MK' else (colors.HexColor('#fb8c00') if priority=='DK' else colors.HexColor('#43a047'))
    data = [[f"• {q_text}", types_str, priority]]
    t = Table(data, colWidths=[12.5*cm, 3*cm, 2.5*cm])
    t.setStyle(TableStyle([
        ('FONTNAME', (0,0), (0,0), 'Helvetica'),
        ('FONTSIZE', (0,0), (-1,-1), 8.5),
        ('FONTNAME', (1,0), (1,0), 'Helvetica-Bold'),
        ('FONTNAME', (2,0), (2,0), 'Helvetica-Bold'),
        ('TEXTCOLOR', (1,0), (1,0), colors.HexColor('#1565c0')),
        ('TEXTCOLOR', (2,0), (2,0), badge_color),
        ('TOPPADDING', (0,0), (-1,-1), 2),
        ('BOTTOMPADDING', (0,0), (-1,-1), 2),
        ('LEFTPADDING', (0,0), (0,0), 10),
        ('LEFTPADDING', (1,0), (1,0), 4),
        ('VALIGN', (0,0), (-1,-1), 'MIDDLE'),
        ('LINEBELOW', (0,0), (-1,0), 0.2, colors.HexColor('#e0e0e0')),
    ]))
    return t

# ============================================================
# TERM I TOPICS
# ============================================================

# ---- TOPIC 1: EPIDEMIOLOGY ----
story.append(topic_header("1", "EPIDEMIOLOGY", "I"))
story.append(Spacer(1,0.1*cm))

story.append(subtopic_header("1.1 Introduction to Epidemiology"))
qs = [
    ("Define the term 'Epidemiology'", ["MCQ","SAQ"], "DK"),
    ("Enumerate the principles of epidemiology", ["MCQ","SAQ"], "DK"),
    ("Describe the uses / scope of epidemiology", ["MCQ","SAQ"], "MK"),
    ("Enumerate the Aim and Objectives of epidemiology", ["MCQ"], "NK"),
    ("Differentiate between clinical approach and epidemiological approach", ["MCQ","SAQ"], "DK"),
    ("Recall the modes of transmission, measures of prevention & control of communicable diseases", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("1.2 Morbidity and Mortality, Incidence, Prevalence, Mortality Indicators"))
qs = [
    ("Discuss the importance of comparing frequencies vs absolute numbers", ["MCQ","SAQ"], "DK"),
    ("Define the terms Rate, Ratio, and Proportions", ["MCQ","SAQ"], "MK"),
    ("Describe the indicators of health and their uses", ["MCQ","SAQ"], "MK"),
    ("Discuss morbidity indicators", ["MCQ","SAQ"], "MK"),
    ("Define Incidence, Incidence rate, Cumulative Incidence, Incidence Density", ["MCQ","SAQ"], "MK"),
    ("Describe incidence and cumulative incidence rate", ["MCQ","SAQ","LAQ"], "MK"),
    ("Estimate the incidence rate of a specific condition and interpret results", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss types/measures of incidences", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the uses of incidence", ["MCQ","SAQ"], "MK"),
    ("Define Prevalence, Point Prevalence, and Period Prevalence", ["MCQ","SAQ"], "MK"),
    ("Describe prevalence", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the types of measures of prevalence", ["MCQ","SAQ","LAQ"], "MK"),
    ("Estimate the prevalence rate for a specific condition and interpret results", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the uses of prevalence", ["MCQ","SAQ"], "MK"),
    ("Differentiate between prevalence and incidence", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the relationship between incidence and prevalence", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the importance of mortality indicators", ["MCQ","SAQ"], "MK"),
    ("Enumerate the various mortality indicators", ["MCQ","SAQ"], "MK"),
    ("Discuss the uses of mortality indicators", ["MCQ","SAQ"], "MK"),
    ("Define Crude Death Rate, Specific Death Rate, and Standardised Rate", ["MCQ","SAQ"], "MK"),
    ("Discuss Crude Death Rate; estimate and interpret results", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss estimation, uses & interpretation of Age-Specific Death Rates", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss estimation, uses & interpretation of Disease-Specific Death Rates", ["MCQ","SAQ","LAQ"], "MK"),
    ("Define and discuss Infant Mortality Rate", ["MCQ","SAQ","LAQ"], "MK"),
    ("Define and discuss Maternal Mortality Rate", ["MCQ","SAQ","LAQ"], "MK"),
    ("Define and discuss Case Fatality Rate", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the types of standardization", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss proportional mortality rate", ["MCQ","SAQ","LAQ"], "DK"),
    ("Discuss the standardized mortality ratio", ["MCQ","SAQ","LAQ"], "DK"),
    ("Discuss disability measures, DALYs, QALYs, and YPLL", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("1.3 Measures of Risk and Measurement of Risk"))
qs = [
    ("Define Risk, Risk factor, Effect, Cause, and Association", ["MCQ","SAQ"], "MK"),
    ("Describe the association in terms of cause and effect", ["MCQ","SAQ"], "MK"),
    ("Describe the 2 x 2 table", ["MCQ","SAQ"], "DK"),
    ("Discuss the measurement of relative risk", ["MCQ","SAQ"], "DK"),
    ("Estimate the measure of relative risk using fractions and differences; interpret results", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the uses of relative risk", ["MCQ","SAQ"], "MK"),
    ("Discuss the measurement of Odds Ratio", ["MCQ","SAQ","LAQ"], "MK"),
    ("Estimate the measure of risk through odds ratio and interpret results", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the measurement of Attributable risk", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the measure of Population Attributable Risk", ["MCQ","SAQ","LAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("1.4 Association and Causation"))
qs = [
    ("Discuss the types of association", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the causal inference", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe the types of causal relationships", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe the steps in establishing cause-and-effect relationship", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate Hill's criteria to assess association as causal association", ["MCQ","SAQ","LAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("1.5 Errors in Epidemiology (Chance, Bias, Confounding) and Cause-Effect Relationship"))
qs = [
    ("Classify various types of errors in epidemiology", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the concept of validity of measurements", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the concept of reliability of measurements", ["MCQ","SAQ","LAQ"], "MK"),
    ("Define the term 'confounding'", ["MCQ","SAQ"], "MK"),
    ("Discuss ways to overcome confounding in epidemiological studies", ["MCQ","SAQ","LAQ"], "MK"),
    ("Define the term 'bias'", ["MCQ","SAQ"], "MK"),
    ("Discuss the types of bias", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe the methods of prevention of bias in epidemiological studies", ["MCQ","SAQ","LAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("1.6 Public Health Surveillance"))
qs = [
    ("Define the term 'Surveillance'", ["MCQ","SAQ"], "MK"),
    ("Describe the essential steps of surveillance", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the types of surveillance and their advantages and disadvantages", ["MCQ","SAQ","LAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("1.7 Outbreak Investigation"))
qs = [
    ("Define the term 'Epidemic' or 'Outbreak'", ["MCQ","SAQ"], "MK"),
    ("Discuss the steps of investigating an outbreak", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe the types of the epidemic curve", ["MCQ","SAQ","LAQ"], "MK"),
    ("Define Attack Rate and Secondary Attack Rate", ["MCQ","SAQ"], "DK"),
    ("Enumerate the principles of control of epidemics", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss Genus Epidemicus", ["MCQ","SAQ","LAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(Spacer(1, 0.2*cm))

# ---- TOPIC 2 ----
story.append(topic_header("2", "HEALTH POLICY, HEALTH PLANNING & HOSPITAL MANAGEMENT", "I"))
story.append(Spacer(1,0.1*cm))

story.append(subtopic_header("2.1 Introduction to Healthcare in India"))
qs = [
    ("Enumerate the evolution of healthcare system in post-independent India", ["MCQ"], "NK"),
    ("Enumerate the National Committees formed post-independence till date", ["MCQ"], "NK"),
    ("Enumerate important recommendations of major committees (Bhore, Mudaliar, Chadha, etc.)", ["MCQ"], "NK"),
    ("Enumerate the role of Planning Commission in healthcare of India", ["MCQ","SAQ"], "DK"),
    ("Discuss the salient features of Five-Year Plans", ["MCQ","SAQ"], "DK"),
    ("Discuss the role of NITI AAYOG in health care in India", ["MCQ","SAQ"], "MK"),
    ("Enumerate the activities of NITI Aayog", ["MCQ","SAQ"], "MK"),
    ("Discuss the important functions of NITI Aayog", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("2.2 Health Policies of India"))
qs = [
    ("Trace the salient features of National Health Policy 1983", ["MCQ"], "NK"),
    ("Trace the salient features of National Health Policy 2002", ["MCQ"], "NK"),
    ("Recognize the Goal, Key policy principles, and specific objectives of NHP 2017", ["MCQ","SAQ"], "DK"),
    ("Discuss the salient features of the National Population policy", ["MCQ","SAQ"], "DK"),
    ("Discuss the salient features of the National Nutrition Policy", ["MCQ","SAQ"], "DK"),
    ("Discuss the salient features of NRHM and National Urban Health Mission", ["MCQ","SAQ"], "DK"),
    ("Discuss the salient features and strategies of the National Health Mission", ["MCQ","SAQ"], "MK"),
    ("Discuss the concept of mainstreaming of AYUSH", ["MCQ","SAQ"], "MK"),
    ("Recall the salient features of National Health Programmes", ["MCQ"], "NK"),
    ("Describe the Millennium Development Goals and its achievement globally and by India", ["MCQ","SAQ"], "DK"),
    ("Enumerate the Sustainable Development Goals", ["MCQ","SAQ"], "MK"),
    ("Discuss India's progress in Sustainable Development Goals", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("2.3 Health Planning / Health Program Planning"))
qs = [
    ("Define the term 'Health Planning'", ["MCQ"], "NK"),
    ("Enumerate the elements of planning", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe the steps in the Planning cycle", ["MCQ","SAQ","LAQ"], "MK"),
    ("Identify public health priorities", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe principles of planning, implementation, monitoring, and evaluation of health programs", ["MCQ","SAQ","LAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("2.4 Basics of Management for Health Professionals"))
qs = [
    ("Define the term 'Management'", ["MCQ"], "NK"),
    ("Describe the basic functions of Management", ["MCQ","SAQ","LAQ"], "MK"),
    ("Define the term 'organization'", ["MCQ"], "NK"),
    ("Discuss Vision, mission, goal, objectives, strategies, inputs, output, outcome, and impacts", ["MCQ","SAQ","LAQ"], "MK"),
    ("Recognize the organizational structure of the healthcare organization or hospital", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss levels of management", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the functions of managers/leaders at each level of management", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate various management techniques", ["MCQ"], "DK"),
    ("Discuss principles and functions of human resource management", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss materials (Logistic) management in healthcare settings", ["MCQ","SAQ"], "DK"),
    ("Discuss logistic management, supply chain management, inventory, VED analysis", ["MCQ","SAQ"], "DK"),
    ("Recognize the basics of accounting and financial management for healthcare settings", ["MCQ","SAQ"], "DK"),
    ("Differentiate assets, liabilities, equity, revenue, expenses, profit, loss, etc.", ["MCQ","SAQ"], "DK"),
    ("Recognise terms in Finances: Receivables, inventory, fixed asset, Budget, etc.", ["MCQ","SAQ"], "DK"),
    ("Describe the strategic planning and process in healthcare", ["MCQ","SAQ"], "DK"),
    ("Discuss basic concepts of marketing management", ["MCQ","SAQ"], "DK"),
    ("Recognize basic principles of organizational behaviour", ["MCQ","SAQ"], "DK"),
    ("Discuss the basic principles of time management", ["MCQ","SAQ"], "DK"),
    ("Discuss the managerial and leadership skills needed for managing a healthcare organization", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("2.5 Monitoring and Evaluation"))
qs = [
    ("Define the terms 'monitoring' and 'evaluation'", ["MCQ"], "NK"),
    ("Discuss the various approaches to monitoring", ["MCQ","SAQ"], "MK"),
    ("Discuss the components of evaluation and the indicators", ["MCQ","SAQ"], "MK"),
    ("Discuss the steps in designing and conducting monitoring and evaluation", ["MCQ","SAQ"], "MK"),
    ("Illustrate the use of the logical framework for monitoring and evaluation", ["MCQ","SAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("2.6 Hospital Administration"))
qs = [
    ("Define 'Hospital administration' and 'Hospital'", ["MCQ"], "NK"),
    ("Distinguish the different types of hospitals", ["MCQ","SAQ"], "DK"),
    ("Differentiate between hospital and clinic", ["MCQ","SAQ"], "DK"),
    ("Classify hospitals based on services and ownership", ["MCQ","SAQ"], "DK"),
    ("Recognize the organization of the hospital", ["MCQ","SAQ"], "DK"),
    ("Describe the roles and responsibilities of major functionaries in a hospital", ["MCQ","SAQ"], "DK"),
    ("Describe various patient treatment area functions (ED, OPD, IPD, ICU, OT, etc.)", ["MCQ","SAQ"], "DK"),
    ("Describe the functions of medical support departments", ["MCQ","SAQ"], "DK"),
    ("Describe the functions of non-medical support departments", ["MCQ","SAQ"], "DK"),
    ("Describe the International Patient Safety goals", ["MCQ","SAQ"], "DK"),
    ("Discuss the rights and responsibilities of a patient", ["MCQ","SAQ"], "DK"),
    ("Discuss medical negligence and its prevention", ["MCQ","SAQ"], "DK"),
    ("Enumerate the medico-legal issues and describe actions to be taken by hospitals", ["MCQ","SAQ"], "DK"),
    ("Recognise various laws and Acts related to Hospitals", ["MCQ"], "NK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(Spacer(1, 0.2*cm))

# ---- TOPIC 3 ----
story.append(topic_header("3", "HEALTH COMMUNICATION, HEALTH EDUCATION & HEALTH PROMOTION", "I"))
story.append(Spacer(1,0.1*cm))

story.append(subtopic_header("3.1 Health Communication"))
qs = [
    ("Define the term 'Communication'", ["MCQ","SAQ"], "DK"),
    ("Discuss the need for communication in clinical/public health practice", ["MCQ","SAQ"], "MK"),
    ("Describe the communication process", ["MCQ","SAQ"], "MK"),
    ("Classify the types of communication", ["MCQ","SAQ"], "MK"),
    ("Describe one-way and two-way communication", ["MCQ","SAQ"], "MK"),
    ("Describe individual, group level, and community level methods of health communication", ["MCQ","SAQ"], "MK"),
    ("Describe the impact of communication at individual, social network, organization, community, and society levels", ["MCQ","SAQ"], "MK"),
    ("Enumerate the barriers to communication", ["MCQ","SAQ"], "MK"),
    ("Discuss the application of health communication", ["MCQ","SAQ"], "MK"),
    ("Enumerate the skills of good interpersonal communication", ["MCQ","SAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("3.2 Health Education"))
qs = [
    ("Define the term 'Health education'", ["MCQ","SAQ"], "MK"),
    ("Enumerate the aim and Objectives of Health Education as per the Alma Ata Declaration", ["MCQ","SAQ"], "MK"),
    ("Discuss the approaches to health education", ["MCQ","SAQ"], "MK"),
    ("Discuss the principles of health education", ["MCQ","SAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("3.3 Health Promotion"))
qs = [
    ("Define the term 'Health Promotion'", ["MCQ","SAQ"], "MK"),
    ("Discuss the strategies for health promotion", ["MCQ","SAQ"], "MK"),
    ("Enumerate the five priority action areas", ["MCQ","SAQ"], "MK"),
    ("Compare and contrast health education versus health promotion", ["MCQ","SAQ"], "MK"),
    ("Enumerate the principles of health education and health promotion", ["MCQ","SAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("3.4 Applications of Health Education"))
qs = [
    ("Discuss the common models in health education", ["MCQ","SAQ"], "MK"),
    ("Differentiate IEC and BCC", ["MCQ","SAQ"], "MK"),
    ("Describe health education at the individual, family, group, and community level", ["MCQ","SAQ"], "MK"),
    ("Describe the methods, advantages, and disadvantages of health education", ["MCQ","SAQ"], "MK"),
    ("Enumerate the steps in planning and implementing a health education program", ["MCQ","SAQ"], "MK"),
    ("Enumerate the steps in the evaluation of a health promotion and education program", ["MCQ","SAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(Spacer(1, 0.2*cm))

# ---- TOPIC 4 ----
story.append(topic_header("4", "DISASTER PREPAREDNESS AND MANAGEMENT", "I"))
story.append(Spacer(1,0.1*cm))

story.append(subtopic_header("4.1 Definition"))
qs = [
    ("Define the terms 'Disasters' and 'Hazards'", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("4.2 Types of Disasters and Problems Associated"))
qs = [
    ("Classify disasters", ["MCQ","SAQ"], "MK"),
    ("Discuss the types of disasters", ["MCQ","SAQ"], "MK"),
    ("Describe the problem/burden due to disasters", ["MCQ","SAQ"], "MK"),
    ("Discuss the effects/impact of the disaster on general health and public health", ["MCQ","SAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("4.3 Disaster Management Cycle"))
qs = [
    ("Describe the disaster management cycle", ["MCQ","SAQ"], "MK"),
    ("Discuss the principles of disaster management", ["MCQ","SAQ"], "MK"),
    ("Describe the phases/stages of disasters", ["MCQ","SAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("4.4 Health Problems"))
qs = [
    ("Discuss the health problems during disasters and post-disaster", ["MCQ","SAQ"], "MK"),
    ("Discuss the guidelines for the disaster management plan", ["MCQ","SAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("4.5 National Disaster Management Authority"))
qs = [
    ("Recognize the role/functions of the National Disaster Management Authority", ["MCQ","SAQ"], "MK"),
    ("Recognize the role of the State Disaster Management Authority", ["MCQ","SAQ"], "MK"),
    ("Discuss the disaster management at the district level", ["MCQ","SAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("4.6 Homoeopathy and Disasters"))
qs = [
    ("Discuss the role of Homoeopathy in disasters", ["MCQ","SAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(Spacer(1, 0.2*cm))

# ---- TOPIC 5 ----
story.append(topic_header("5", "NONCOMMUNICABLE DISEASES (NCDs) AND RELEVANT NATIONAL HEALTH PROGRAMS", "I"))
story.append(Spacer(1,0.1*cm))

story.append(subtopic_header("5.1 General Epidemiology of NCDs"))
qs = [
    ("Define the term 'Noncommunicable diseases'", ["MCQ"], "NK"),
    ("Enumerate major noncommunicable diseases prevalent in India", ["MCQ","SAQ"], "MK"),
    ("Define Risk and Risk factors", ["MCQ"], "MK"),
    ("Enumerate the risk factors of non-communicable diseases", ["MCQ","SAQ"], "MK"),
    ("Enumerate the modifiable and non-modifiable risk factors", ["MCQ","SAQ"], "MK"),
    ("Differentiate between non-communicable diseases and communicable diseases", ["MCQ"], "DK"),
    ("Define the term 'lifestyle diseases'", ["MCQ"], "DK"),
    ("Discuss the risk factors of lifestyle diseases", ["MCQ"], "MK"),
    ("Recognize the magnitude of communicable disease problems in India and globally", ["MCQ"], "NK"),
    ("Enumerate the leading cause of death due to non-communicable diseases in India and globally", ["MCQ"], "NK"),
    ("Recognize the top 10 leading causes of death", ["MCQ"], "NK"),
    ("Describe the general prevention and control measures of NCDs", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the approaches for prevention and control of NCDs", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the national and global efforts to tackle NCDs", ["MCQ"], "NK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("5.2 Hypertension"))
qs = [
    ("Define the term 'Hypertension'", ["MCQ"], "NK"),
    ("Describe the magnitude of hypertension globally and in India", ["MCQ"], "NK"),
    ("Classify hypertension", ["MCQ","SAQ"], "DK"),
    ("Discuss the modifiable and nonmodifiable risk factors of hypertension", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe the clinical features of hypertension", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the laboratory tests for hypertension", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the complications of hypertension", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the prevention measures for hypertension", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss homoeopathic prophylaxis and management of hypertension at the community level", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the diseases where hypertension is a risk factor", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the steps for surveillance of hypertension in the community", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the national program for hypertension (NPNCD)", ["MCQ","SAQ","LAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("5.3 Stroke"))
qs = [
    ("Define the term 'Stroke'", ["MCQ"], "NK"),
    ("Describe the magnitude of the problem of stroke globally and in India", ["MCQ","SAQ","LAQ"], "MK"),
    ("Classify stroke", ["MCQ","SAQ"], "DK"),
    ("Discuss the modifiable and nonmodifiable risk factors of stroke", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe the clinical features of stroke", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the laboratory tests for stroke", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the complications of stroke", ["MCQ","SAQ"], "DK"),
    ("Discuss the prevention measures for stroke", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the national program for stroke (NPNCD)", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss homoeopathic prophylaxis and management of stroke at the community level", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the quality of life of stroke patients", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("5.4 Cardiovascular Diseases"))
qs = [
    ("Classify the cardiovascular diseases", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("5.5 Ischemic Heart Disease"))
qs = [
    ("Define the term 'ischemic heart disease'", ["MCQ","SAQ"], "NK"),
    ("Describe the magnitude of ischemic heart disease globally and in India", ["MCQ","SAQ","LAQ"], "MK"),
    ("Classify ischemic heart diseases", ["MCQ","SAQ"], "MK"),
    ("Discuss modifiable and nonmodifiable risk factors of ischemic heart disease", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe the clinical features of ischemic heart disease", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the laboratory tests for ischemic heart disease", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the complications of ischemic heart disease", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the prevention measures for ischemic heart disease", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss homoeopathic prophylaxis and management of ischemic heart disease at community level", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the diseases where ischemic heart disease is a risk factor", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the steps for surveillance of ischemic heart disease in the community", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the national program for ischemic heart disease (NPNCD)", ["MCQ","SAQ","LAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("5.6 Rheumatic Fever"))
qs = [
    ("Define Acute Rheumatic Fever and Rheumatic Heart Disease", ["MCQ"], "MK"),
    ("Describe the magnitude of the problem of rheumatic fever globally and in India", ["MCQ"], "NK"),
    ("Discuss the agent, host, environmental factors, and risk factors of rheumatic heart disease", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe the clinical features and diagnostic criteria of rheumatic heart disease", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the laboratory tests for rheumatic heart disease", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the complications of rheumatic heart disease", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the prevention measures for rheumatic heart disease", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss homoeopathic prophylaxis and management of rheumatic heart disease at community level", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the diseases where rheumatic heart disease is a risk factor", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the steps for surveillance of rheumatic heart disease in the community", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the national program for rheumatic heart disease (NPNCD)", ["MCQ","SAQ","LAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("5.7 Diabetes Mellitus"))
qs = [
    ("Define the term 'Diabetes Mellitus'", ["MCQ"], "NK"),
    ("Describe the magnitude of diabetes mellitus globally and in India", ["MCQ"], "NK"),
    ("Discuss various types of diabetes mellitus according to WHO", ["MCQ","SAQ"], "MK"),
    ("Discuss modifiable and nonmodifiable risk factors of diabetes mellitus", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe the clinical features and diagnostic criteria of diabetes mellitus", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the laboratory tests for diabetes mellitus", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the complications of diabetes mellitus", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the prevention measures for diabetes mellitus", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss homoeopathic prophylaxis and management of diabetes mellitus at community level", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the diseases where diabetes mellitus is a risk factor", ["MCQ","SAQ"], "DK"),
    ("Enumerate the steps for surveillance of diabetes mellitus in the community", ["MCQ","SAQ"], "DK"),
    ("Discuss the national program for diabetes mellitus (NPNCD)", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the epidemiological determinants-risk factors for NIDDM/Type 2 diabetes", ["MCQ","SAQ","LAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("5.8 Obesity"))
qs = [
    ("Define the term 'Obesity'", ["MCQ"], "NK"),
    ("Describe the magnitude of the problem of obesity in India and globally", ["MCQ"], "NK"),
    ("Describe the health hazards due to obesity", ["MCQ","SAQ"], "MK"),
    ("Discuss the types of obesity", ["MCQ","SAQ"], "DK"),
    ("Illustrate the measurement of obesity: BMI, regional obesity, Broca index, skin-fold thickness, etc.", ["MCQ"], "NK"),
    ("Recall the cutoff values for Body Mass Index", ["MCQ","SAQ"], "DK"),
    ("Discuss the risk factors of obesity", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the consequences and complications of obesity", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the prevention measures for obesity", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss homoeopathic prophylaxis and management of obesity at community level", ["MCQ","SAQ","LAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("5.9 Cancers"))
qs = [
    ("Define the term 'Cancer'", ["MCQ"], "NK"),
    ("Discuss the types of cancer", ["MCQ","SAQ"], "DK"),
    ("Recognize the magnitude of the problem of Cancer in India and globally", ["MCQ"], "NK"),
    ("Discuss the modifiable and non-modifiable risk factors of cancers", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the prevention and control measures of cancer", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss homoeopathic prophylaxis and management of cancer at community level", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the salient features of National Cancer Control Programme", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the features of NPCDCS", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the cancer registry program", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the epidemiology, magnitude, prevention, and control of Oral Cancer", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the epidemiology, magnitude, prevention, and control of Breast Cancer", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the epidemiology, magnitude, prevention, and control of Cervical Cancer", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the epidemiology, magnitude, prevention, and control of Lung Cancer", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the epidemiology, magnitude, prevention, and control of Colorectal Cancer", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the epidemiology, magnitude, prevention, and control of Ovarian Cancer", ["MCQ","SAQ","LAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("5.10 Chronic Pulmonary Diseases (COPD & Asthma)"))
qs = [
    ("Enumerate the conditions included in Chronic Pulmonary Diseases", ["MCQ","SAQ","LAQ"], "MK"),
    ("Define 'Chronic Obstructive Pulmonary Disease'", ["MCQ"], "NK"),
    ("Describe the magnitude of the problem of COPD globally and in India", ["MCQ"], "NK"),
    ("Describe the effects on Quality of Life due to COPD", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss modifiable and nonmodifiable risk factors of COPD", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe the clinical features and diagnostic criteria of COPD", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the laboratory tests for COPD", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the consequences and complications of COPD", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the prevention and control measures for COPD", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss homoeopathic prophylaxis and management of COPD at community level", ["MCQ","SAQ","LAQ"], "MK"),
    ("Define 'Asthma'", ["MCQ"], "NK"),
    ("Describe the magnitude of the problem of asthma globally and in India", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss modifiable and nonmodifiable risk factors of asthma", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe the clinical features and diagnostic criteria of asthma", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the laboratory tests for asthma", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the prevention and control measures for asthma", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss homoeopathic prophylaxis and management of asthma at community level", ["MCQ","SAQ","LAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("5.11 Dental and Oral Health"))
qs = [
    ("Enumerate the major public dental health problems", ["MCQ","SAQ"], "DK"),
    ("Define 'dental caries'", ["MCQ"], "NK"),
    ("Discuss the risk factors of dental caries", ["MCQ","SAQ"], "DK"),
    ("Discuss the prevention and control of dental caries", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the homoeopathic management of dental caries", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the common periodontal diseases", ["MCQ","SAQ"], "DK"),
    ("Discuss the clinical features and diagnosis of common periodontal diseases", ["MCQ","SAQ"], "DK"),
    ("Discuss the prevention and control of periodontal diseases", ["MCQ","SAQ"], "DK"),
    ("Discuss the basic measures to maintain oral health", ["MCQ","SAQ"], "MK"),
    ("Discuss the National Oral Health Program", ["MCQ","SAQ","LAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("5.12 Visual Impairment and Blindness"))
qs = [
    ("Define blindness, visual impairment, low vision, economic blindness, social blindness, etc.", ["MCQ"], "NK"),
    ("Describe the magnitude of the problem of blindness in India and globally", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the aetiology and risk factors of blindness", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss prevention and control of blindness (primary, secondary, tertiary levels)", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe the objectives, strategy, and program implementation of National Program for Control of Blindness and Visual Impairment", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe the salient features of Vision 2020", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("5.13 Hearing Impairment and Deafness"))
qs = [
    ("Define 'hearing impairment' and 'deafness' according to the Government of India", ["MCQ"], "NK"),
    ("Discuss the magnitude of the problem of hearing impairment and deafness in India", ["MCQ"], "NK"),
    ("Enumerate the causes and risk factors of deafness", ["MCQ"], "MK"),
    ("Discuss prevention and control of deafness (primary, secondary, tertiary levels)", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe the objectives, strategy, and program implementation of NPPCD", ["MCQ","SAQ","LAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("5.14 Injuries and Accidents"))
qs = [
    ("Define injuries, intentional injuries, and unintentional injuries", ["MCQ","SAQ"], "DK"),
    ("Differentiate injuries and accidents", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe the magnitude of the problem of accidents globally and in India", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the types of injuries", ["MCQ","SAQ","LAQ"], "MK"),
    ("Classify intentional injuries", ["MCQ","SAQ"], "DK"),
    ("Discuss the prevention and control of intentional injuries", ["MCQ","SAQ","LAQ"], "MK"),
    ("Classify unintentional injuries", ["MCQ","SAQ"], "DK"),
    ("Discuss the prevention and control of unintentional injuries", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the epidemiology of road traffic accidents (agent, host, environment)", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss human, vehicular, and environmental factors of road traffic accidents", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss prevention and control of road traffic accidents (primary, secondary, tertiary levels)", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the epidemiology, prevention, and control of Fall-related accidents", ["MCQ","SAQ"], "DK"),
    ("Discuss the epidemiology, prevention, and control of Burns", ["MCQ","SAQ"], "DK"),
    ("Discuss the epidemiology, prevention, and control of Electricity-related accidents", ["MCQ","SAQ"], "DK"),
    ("Discuss the epidemiology, prevention, and control of Accidental Poisoning", ["MCQ","SAQ"], "DK"),
    ("Discuss the magnitude, factors, types, and prevention of Domestic Violence", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the epidemiology, prevention, and control of Drowning", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("5.15 National Programs for NCDs"))
qs = [
    ("Discuss the objectives, strategies, and implementation of National Program for Prevention and Management of Trauma and Burn Injuries", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the objectives, strategies, and implementation of National Program for Burn Injury Management", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the aim, objectives, strategies, and initiatives of NPNCD", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the salient features of Pradhan Mantri National Dialysis Program under NHM", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(Spacer(1, 0.2*cm))

# ---- TOPIC 6 ----
story.append(topic_header("6", "SCHOOL HEALTH SERVICES, ESSENTIAL MEDICINE IN PUBLIC HEALTH", "I"))
story.append(Spacer(1,0.1*cm))

story.append(subtopic_header("6.1 Introduction and History"))
qs = [
    ("Trace the development of School Health Services in India", ["MCQ"], "NK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("6.2 Health Problems of School Children"))
qs = [
    ("Discuss the common health problems of school-going children", ["MCQ"], "DK"),
    ("Enumerate the objectives of School Health Services", ["MCQ"], "DK"),
    ("Discuss the components of the school health program", ["MCQ"], "DK"),
    ("Discuss the school health program under Ayushman Bharat", ["MCQ"], "DK"),
    ("Discuss the various National health programs for children", ["MCQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("6.3 Essential Medicine in Public Health (Allopathic)"))
qs = [
    ("Describe the concept of the essential medicine list", ["MCQ","SAQ"], "DK"),
    ("Describe the National Essential Medicines List in India", ["MCQ"], "NK"),
    ("Describe the role of essential medicine in primary health care", ["MCQ","SAQ"], "DK"),
    ("Discuss the counterfeit medicines", ["MCQ","SAQ"], "DK"),
    ("Discuss the impact of counterfeit medicine on public health", ["MCQ"], "NK"),
    ("Discuss the key features of Pradhan Mantri Bhartiya Janaushadi Pariyojana (PMBJP)", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("6.4 Essential Medicine in Homoeopathy"))
qs = [
    ("Describe the essential medicine list in Homoeopathy", ["MCQ"], "NK"),
    ("Discuss the Homoeopathic Kit for public health care and home care", ["MCQ","SAQ"], "DK"),
    ("Discuss features of the National AYUSH Mission", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(Spacer(1, 0.2*cm))

# ========== TERM II ==========
story.append(topic_header("7", "FOUNDATIONS OF RESEARCH METHODOLOGY AND ETHICS", "II"))
story.append(Spacer(1,0.1*cm))

story.append(subtopic_header("7.1 Introduction"))
qs = [
    ("Define the term 'research'", ["MCQ"], "DK"),
    ("Discuss the research onion", ["MCQ"], "NK"),
    ("Describe the types of research", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the importance and application of research in healthcare and homoeopathic practice", ["MCQ","SAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("7.2 Formulating a Research Plan"))
qs = [
    ("Describe the steps in the research process or formulation of a research protocol", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe the criteria for good research", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("7.3 Research Problem"))
qs = [
    ("Enumerate the criteria of a research problem", ["MCQ","SAQ"], "DK"),
    ("Outline the process of selecting the research problem", ["MCQ","SAQ"], "DK"),
    ("Describe the process of defining a research question", ["MCQ","SAQ"], "DK"),
    ("Define a hypothesis", ["MCQ","SAQ"], "DK"),
    ("Discuss the characteristics of the hypothesis; frame null and alternative hypothesis", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("7.4 Literature Review"))
qs = [
    ("Discuss the importance of a literature review", ["MCQ","SAQ"], "DK"),
    ("Enumerate the steps of the literature review", ["MCQ","SAQ"], "DK"),
    ("Discuss the types of literature review", ["MCQ","SAQ"], "DK"),
    ("Enumerate the sources of the literature review", ["MCQ","SAQ"], "DK"),
    ("Describe plagiarism", ["MCQ","SAQ"], "DK"),
    ("Enumerate the different referencing styles", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("7.5 Objectives"))
qs = [
    ("Discuss the features and types of the research objectives", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("7.6 Research Design"))
qs = [
    ("Discuss research designs", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the need for research design", ["MCQ","SAQ"], "DK"),
    ("Enumerate the features of good research design", ["MCQ","SAQ"], "DK"),
    ("Classify research designs", ["MCQ","SAQ","LAQ"], "MK"),
    ("Recognise the process of selecting an appropriate research design", ["MCQ","SAQ"], "DK"),
    ("Describe the research design for exploratory studies", ["MCQ","SAQ"], "DK"),
    ("Outline of diagnostic research studies", ["MCQ","SAQ"], "DK"),
    ("Describe characteristics, uses, steps, advantages and disadvantages of descriptive studies", ["MCQ","SAQ","LAQ"], "MK"),
    ("Discuss the types of descriptive studies", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe person, place, and time distribution in descriptive studies", ["MCQ","SAQ","LAQ"], "MK"),
    ("Illustrate the plan, design, conduct, and analysis of a descriptive study", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe characteristics, uses, steps, advantages and disadvantages of descriptive cross-sectional studies", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe characteristics, uses, steps, advantages and disadvantages of analytical cross-sectional studies", ["MCQ","SAQ","LAQ"], "MK"),
    ("Illustrate the plan, design, conduct, and analysis of a cross-sectional study", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe characteristics, uses, steps, advantages and disadvantages of ecological studies", ["MCQ","SAQ","LAQ"], "MK"),
    ("Illustrate the plan, design, conduct, and analysis of an ecological study", ["MCQ","SAQ","LAQ"], "MK"),
    ("Classify types of analytical studies", ["MCQ","SAQ","LAQ"], "MK"),
    ("Differentiate between descriptive and analytical studies", ["MCQ","SAQ","LAQ"], "MK"),
    ("Define the term 'Cohort'", ["MCQ","SAQ"], "DK"),
    ("Describe the characteristics, uses, steps, advantages, disadvantages, and types of cohort studies", ["MCQ","SAQ","LAQ"], "MK"),
    ("Illustrate the steps in plan, design, conduct, and analysis of a cohort study", ["MCQ","SAQ","LAQ"], "MK"),
    ("Define the term 'Case-Control Study'", ["MCQ","SAQ","LAQ"], "MK"),
    ("Describe the characteristics, uses, steps, advantages and disadvantages of case-control studies", ["MCQ","SAQ","LAQ"], "MK"),
    ("Illustrate the steps in planning, designing, conducting, and analysing a case-control study", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the biases that could occur in case-control studies", ["MCQ","SAQ","LAQ"], "MK"),
    ("Compare and contrast the cohort study and the case-control study", ["MCQ","SAQ","LAQ"], "MK"),
    ("Define 'Experimental Studies' or 'Interventional Studies'", ["MCQ","SAQ","LAQ"], "MK"),
    ("Enumerate the principles of true experimental research design", ["MCQ","SAQ"], "MK"),
    ("Outline quasi-research design", ["MCQ","SAQ","LAQ"], "DK"),
    ("Outline the qualitative research designs", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("7.7 Report Writing"))
qs = [
    ("Discuss the importance of report writing", ["MCQ","SAQ"], "DK"),
    ("Enumerate the steps in writing a report", ["MCQ","SAQ"], "DK"),
    ("Enumerate different types of reports", ["MCQ","SAQ"], "DK"),
    ("Enumerate components of the research report", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("7.8 Dissemination of Research Report"))
qs = [
    ("Enumerate the different methods of dissemination of research reports", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("7.9 Ethics in Research"))
qs = [
    ("Discuss the importance of ethics in healthcare research", ["MCQ","SAQ"], "DK"),
    ("Enumerate the principles of ethics", ["MCQ","SAQ"], "DK"),
    ("Define the term 'informed consent'", ["MCQ","SAQ"], "DK"),
    ("Enumerate the components of informed consent", ["MCQ","SAQ"], "MK"),
    ("Enumerate the procedure of obtaining informed consent", ["MCQ","SAQ"], "DK"),
    ("Discuss the Institutional Review Board/Ethics Committee; enumerate composition of ethics committee", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(Spacer(1, 0.2*cm))

# ---- TOPIC 8 ----
story.append(topic_header("8", "BASIC BIOSTATISTICS", "II"))
story.append(Spacer(1,0.1*cm))

story.append(subtopic_header("8.1 Introduction to Biostatistics"))
qs = [
    ("Define the terms 'statistics' and 'biostatistics'", ["MCQ"], "NK"),
    ("Enumerate the principles of biostatistics", ["MCQ"], "DK"),
    ("Enumerate the application of Biostatistics in health research", ["MCQ","SAQ"], "DK"),
    ("Define the term 'data'", ["MCQ"], "MK"),
    ("Enumerate the sources of data in healthcare", ["MCQ","SAQ"], "MK"),
    ("Define the term 'variable'", ["MCQ"], "DK"),
    ("Describe quantitative, qualitative, random, discrete, continuous, dependent, and independent types of variables", ["MCQ","SAQ"], "MK"),
    ("Define the terms 'Population' and 'sample'", ["MCQ","SAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("8.2 Scales of Measurement"))
qs = [
    ("Describe the measurement scale: nominal, ordinal, interval, and ratio", ["MCQ","SAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("8.3 Types of Statistical Data"))
qs = [
    ("Recognise qualitative data and quantitative data, primary data, and secondary data", ["MCQ","SAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("8.4 Sources of Data"))
qs = [
    ("Enumerate the sources of health data", ["MCQ","SAQ"], "MK"),
    ("Enumerate the methods of data collection", ["MCQ","SAQ"], "DK"),
    ("Describe data analysis, presentation, and interpretation", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("8.5 Descriptive Statistics: Tabulation of Data"))
qs = [
    ("Describe various methods of data presentation", ["MCQ","SAQ"], "MK"),
    ("Illustrate the presentation of data using a frequency distribution table", ["MCQ","SAQ"], "MK"),
    ("Illustrate a graphical presentation of data", ["MCQ","SAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("8.6 Sampling Design"))
qs = [
    ("Define the terms 'Universe' and 'Sample'", ["MCQ","SAQ"], "DK"),
    ("Enumerate the criteria of a good sample design", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("8.7 Sample Size and Sampling Techniques"))
qs = [
    ("Enumerate the criteria for a good sample", ["MCQ","SAQ"], "DK"),
    ("Enumerate various sampling designs", ["MCQ","SAQ"], "DK"),
    ("Describe simple random sampling, stratified, systematic, and multistage sampling", ["MCQ","SAQ"], "DK"),
    ("Discuss the sample size and the methods of calculating sample size", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("8.8 Analysis and Processing"))
qs = [
    ("Enumerate the steps of data analysis and processing", ["MCQ","SAQ"], "DK"),
    ("Discuss types of analysis", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("8.9 Measures of Central Tendency"))
qs = [
    ("Define the terms Mean, Median, and Mode", ["MCQ","SAQ"], "MK"),
    ("Calculate the mean, median, and mode from the available data", ["MCQ","SAQ"], "MK"),
    ("Discuss the merits and limitations of mean, median, and mode", ["MCQ","SAQ"], "MK"),
    ("Discuss the relationship between mean, median, and mode", ["MCQ","SAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("8.10 Measures of Dispersion or Variability"))
qs = [
    ("Define the terms 'range' and 'interquartile range'", ["MCQ","SAQ"], "MK"),
    ("Calculate the range and interquartile range and interpret the results", ["MCQ","SAQ"], "MK"),
    ("Describe mean deviation", ["MCQ","SAQ"], "MK"),
    ("Illustrate the calculation of mean deviation and its application in healthcare", ["MCQ","SAQ"], "MK"),
    ("Describe Standard Deviation", ["MCQ","SAQ"], "MK"),
    ("Illustrate the calculation of standard deviation and its application in healthcare", ["MCQ","SAQ"], "MK"),
    ("Recognise the application of the coefficient of variation", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("8.11 Statistical Distribution"))
qs = [
    ("Discuss the importance of normal distribution", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("8.12 Inferential Statistics"))
qs = [
    ("Discuss the concept of inferential statistics", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("8.13 Estimation"))
qs = [
    ("Discuss Estimation", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("8.14 Hypothesis Testing"))
qs = [
    ("Discuss Null and alternative hypotheses in statistical significance testing", ["MCQ","SAQ"], "DK"),
    ("Enumerate the tests for hypothesis testing", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(Spacer(1, 0.2*cm))

# ---- TOPIC 9 ----
story.append(topic_header("9", "INTERNATIONAL HEALTH, HEALTH REGULATIONS & TRAVELLER'S HEALTH", "II"))
story.append(Spacer(1,0.1*cm))

story.append(subtopic_header("9.1 International Health"))
qs = [
    ("Define the term 'International Health'", ["MCQ"], "NK"),
    ("Discuss the scope of International Health Regulations 2005 and various amendments", ["MCQ","SAQ"], "DK"),
    ("Discuss the duties of member states", ["MCQ","SAQ"], "DK"),
    ("Discuss reporting diseases/events under IHR", ["MCQ","SAQ"], "DK"),
    ("Enumerate the diseases under international surveillance", ["MCQ","SAQ"], "DK"),
    ("Recognize the diseases that require international vaccination requirement", ["MCQ","SAQ"], "DK"),
    ("Define the term 'Quarantine'", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("9.2 International Health Agencies"))
qs = [
    ("Classify international health Agencies", ["MCQ","SAQ"], "DK"),
    ("Enumerate the Major International Health Agencies", ["MCQ","SAQ"], "DK"),
    ("Discuss the role of International Health Agencies in public health", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("9.3 World Health Organisation (WHO)"))
qs = [
    ("Trace the formation of WHO", ["MCQ","SAQ"], "DK"),
    ("Discuss the objectives of the WHO", ["MCQ","SAQ"], "DK"),
    ("Enumerate the core functions of WHO", ["MCQ","SAQ"], "DK"),
    ("Describe membership in the WHO", ["MCQ","SAQ"], "DK"),
    ("Enumerate the organization of the WHO", ["MCQ","SAQ"], "DK"),
    ("Discuss the functions of the World Health Assembly", ["MCQ","SAQ"], "DK"),
    ("Discuss the functions of the Executive Board", ["MCQ","SAQ"], "DK"),
    ("Discuss the functions of the secretariat", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("9.4 UNICEF"))
qs = [
    ("Recognize the organizational structure of UNICEF", ["MCQ","SAQ"], "DK"),
    ("Discuss the functions of UNICEF", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("9.5 UNDP | 9.6 World Bank | 9.7 FAO | 9.8 ILO | 9.9 UNFPA"))
qs = [
    ("Describe the objectives and functions of UNDP", ["MCQ","SAQ"], "DK"),
    ("Recognize the formation and organization of the World Bank; enumerate its functions", ["MCQ","SAQ"], "DK"),
    ("Recognize the formation and organization of FAO; enumerate its functions", ["MCQ","SAQ"], "DK"),
    ("Enumerate the functions of ILO", ["MCQ","SAQ"], "DK"),
    ("Enumerate the functions of UNFPA", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("9.10 Bilateral Agencies"))
qs = [
    ("Enumerate the bilateral agencies", ["MCQ","SAQ"], "DK"),
    ("Describe the functions of USAID, SIDA, and DANIDA", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("9.11 NGOs and Voluntary Health Agencies"))
qs = [
    ("Enumerate the list of International and National NGOs", ["MCQ","SAQ"], "DK"),
    ("Describe the characteristics of voluntary health agencies", ["MCQ","SAQ"], "DK"),
    ("Describe the functions of the International Committee of the Red Cross", ["MCQ","SAQ"], "DK"),
    ("Describe the functions of the Rockefeller Foundation, Ford Foundation, and CARE", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("9.12 Voluntary Agencies of India"))
qs = [
    ("Describe the functions of the Indian Red Cross Society", ["MCQ","SAQ"], "DK"),
    ("Describe the functions of the Family Planning Association of India", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("9.13 Traveller's Health"))
qs = [
    ("Discuss the epidemiology of travellers' health", ["MCQ","SAQ"], "MK"),
    ("Describe the burden of travel-related diseases", ["MCQ"], "NK"),
    ("Enumerate the determinants of health risk during travel", ["MCQ","SAQ"], "DK"),
    ("Enumerate the various conditions experienced during travel", ["MCQ","SAQ"], "DK"),
    ("Discuss the precautions and preventive measures to be taken by travellers", ["MCQ","SAQ"], "MK"),
    ("Recognise health advice in international travel", ["MCQ","SAQ"], "MK"),
    ("Discuss the pre-travel health assessment and vaccination for international travels", ["MCQ","SAQ"], "MK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(Spacer(1, 0.2*cm))

# ---- TOPIC 10 ----
story.append(topic_header("10", "RURAL HEALTH, URBAN HEALTH, TRIBAL HEALTH, SDGs AND ONE HEALTH", "II"))
story.append(Spacer(1,0.1*cm))

story.append(subtopic_header("10.1 Rural Health"))
qs = [
    ("Define the term 'rural health'", ["MCQ"], "NK"),
    ("Define rural areas according to the census of India", ["MCQ"], "DK"),
    ("Discuss the health status of rural areas", ["MCQ"], "DK"),
    ("Discuss the sociodemographic indicators of rural health in India", ["MCQ"], "NK"),
    ("Describe the health services in rural areas", ["MCQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("10.2 Tribal Health"))
qs = [
    ("Define the terms 'tribe' and 'tribal communities'", ["MCQ"], "NK"),
    ("Describe the socio-demographic, economic, and health status of the tribal population in India", ["MCQ"], "NK"),
    ("Discuss the major health problems in tribal communities in India", ["MCQ"], "DK"),
    ("Discuss the measures to improve tribal health in India", ["MCQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("10.3 Urban Health"))
qs = [
    ("Define Urban according to the Census of India", ["MCQ"], "DK"),
    ("Discuss the challenges in urban areas", ["MCQ"], "DK"),
    ("Describe the public health problems in urban areas", ["MCQ"], "DK"),
    ("Enumerate the various schemes by the Government of India for urban areas", ["MCQ"], "NK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("10.4 Sustainable Development Goals (SDGs)"))
qs = [
    ("Enumerate the sustainable development goals", ["MCQ"], "DK"),
    ("Discuss the impact of sustainable development goals on health", ["MCQ"], "DK"),
    ("Discuss the health achievement of SDG in India", ["MCQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("10.5 One Health"))
qs = [
    ("Recognize the concept of one health", ["MCQ"], "DK"),
    ("Discuss the salient features of the National One Health Mission", ["MCQ"], "DK"),
    ("Enumerate the goals and activities of one health mission", ["MCQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(Spacer(1, 0.2*cm))

# ---- TOPIC 11 ----
story.append(topic_header("11", "HEALTH INFORMATICS, HMIS & DIGITAL HEALTH", "II"))
story.append(Spacer(1,0.1*cm))

story.append(subtopic_header("11.1 Basic Terminologies"))
qs = [
    ("Define 'health informatics' and 'health information technology'", ["MCQ"], "NK"),
    ("Define the terms 'data', 'information', and 'knowledge'", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("11.2 Application of Technology in Healthcare"))
qs = [
    ("Discuss the application of computers/IT in healthcare", ["MCQ","SAQ"], "DK"),
    ("Discuss the application of computers/IT in community health care/public health", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("11.3 EMR | 11.4 E-Health and M-Health | 11.5 HIS | 11.6 CDSS | 11.7 HMIS"))
qs = [
    ("Describe Electronic Medical Records and their components", ["MCQ","SAQ"], "DK"),
    ("Enumerate the advantages and disadvantages of EMR", ["MCQ","SAQ"], "DK"),
    ("Discuss the concepts of E-Health and M-Health and its application", ["MCQ","SAQ"], "DK"),
    ("Describe the components and uses of the Hospital Information System (HIS)", ["MCQ","SAQ"], "DK"),
    ("Discuss the application of the Clinical Decision Support System (CDSS)", ["MCQ","SAQ"], "DK"),
    ("Describe the Health Management Information System (HMIS) and its applications", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("11.8 Telemedicine"))
qs = [
    ("Define the term 'Telemedicine'", ["MCQ","SAQ"], "DK"),
    ("Discuss the types of telemedicine", ["MCQ","SAQ"], "DK"),
    ("Discuss the advantages and disadvantages of telemedicine", ["MCQ","SAQ"], "DK"),
    ("Recognize the Telemedicine Practice Guidelines for Homoeopathic Practitioners", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("11.9 Public Health Information System"))
qs = [
    ("Discuss the features of the public health information system", ["MCQ","SAQ"], "DK"),
    ("Enumerate the application of IT in public health currently in India", ["MCQ","SAQ"], "DK"),
    ("Discuss the uses, advantages, and disadvantages of Geographic Information Systems (GIS)", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("11.10 National Digital Health Mission (ABDM)"))
qs = [
    ("Describe the Aim, Objectives, building blocks, and benefits of the National Digital Health Mission", ["MCQ","SAQ"], "DK"),
    ("Discuss the Ayushman Bharat Family Medical Card", ["MCQ","SAQ"], "DK"),
    ("Discuss the application ABDM", ["MCQ","SAQ"], "DK"),
    ("Discuss the concept of Ayushman Bharat Health Account (ABHA) Number", ["MCQ","SAQ"], "DK"),
    ("Recognize health facility registration in ABDM", ["MCQ","SAQ"], "DK"),
    ("Recognize Healthcare Professionals Registry in ABDM", ["MCQ","SAQ"], "DK"),
    ("Describe the Unified Health Interface", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("11.11 Data Security and Data Privacy"))
qs = [
    ("Discuss the importance of health data security and privacy", ["MCQ","SAQ"], "DK"),
    ("Discuss the salient features of Digital Personal Data Protection Act, 2023", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("11.12 Artificial Intelligence"))
qs = [
    ("Recognize the application of artificial intelligence in healthcare", ["MCQ","SAQ"], "DK"),
    ("Enumerate the advantages and disadvantages of AI in healthcare applications", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(Spacer(1, 0.2*cm))

# ---- TOPIC 12 ----
story.append(topic_header("12", "BASICS OF HEALTH ECONOMICS AND HEALTH FINANCING", "II"))
story.append(Spacer(1,0.1*cm))

story.append(subtopic_header("12.1 Introduction to Health Economics"))
qs = [
    ("Define the terms 'economics' and 'health economics'", ["MCQ"], "NK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("12.2 Macro and Microeconomics"))
qs = [
    ("Describe macroeconomics and microeconomics", ["MCQ","SAQ"], "DK"),
    ("Recognize Gross National Product and Gross Domestic Product", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("12.3 Efficiency"))
qs = [
    ("Discuss efficiency", ["MCQ","SAQ"], "DK"),
    ("Describe allocative efficiency and technical efficiency", ["MCQ","SAQ"], "DK"),
    ("Enumerate the applications of health economics", ["MCQ","SAQ"], "DK"),
    ("Discuss per capita income and purchasing power parity", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("12.4 Cost"))
qs = [
    ("Define the term 'Cost'", ["MCQ","SAQ"], "DK"),
    ("Describe the process of costing in healthcare", ["MCQ","SAQ"], "DK"),
    ("Discuss the types of costs", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("12.5 Benefits"))
qs = [
    ("Define the term 'Benefits'", ["MCQ","SAQ"], "DK"),
    ("Discuss the types of benefits as direct, indirect, and intangible", ["MCQ","SAQ"], "DK"),
    ("Discuss output and outcome in healthcare services", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("12.6 Economic Evaluation"))
qs = [
    ("Define the term 'economic evaluation'", ["MCQ","SAQ"], "DK"),
    ("Describe Cost-benefit analysis, cost-effectiveness analysis, cost-utility analysis, and cost-minimization analysis", ["MCQ","SAQ"], "DK"),
    ("Discuss the role of health economics in decision-making", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("12.7 Health Financing"))
qs = [
    ("Define the term 'health financing' as per WHO", ["MCQ","SAQ"], "DK"),
    ("Compare the percentage of GDP allocated to health in India, USA, UK, Japan, France, and Canada", ["MCQ","SAQ"], "NK"),
    ("Enumerate the sources of healthcare financing", ["MCQ","SAQ"], "DK"),
    ("Discuss Health Financing in India", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("12.8 Health Insurance"))
qs = [
    ("Define the term 'Health Insurance'", ["MCQ","SAQ"], "DK"),
    ("Categorize types of health insurance schemes in India", ["MCQ","SAQ"], "DK"),
    ("Describe the Universal Health Coverage Scheme in India", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("12.9 Government Insurance Schemes"))
qs = [
    ("Describe the features of Janani Suraksha Yojana and Janani Shishu Suraksha Karyakram", ["MCQ","SAQ"], "DK"),
    ("Describe the salient features of Rashtriya Swasthya Bima Yojana", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(subtopic_header("12.10 Employer-Based Insurance | 12.11 Private Health Insurance | 12.12 PPP Insurance | 12.13 Ayushman Bharat"))
qs = [
    ("Describe the features and benefits of the Central Government Health Scheme", ["MCQ","SAQ"], "DK"),
    ("Discuss the features of the Ex-Servicemen Contributory Health Scheme", ["MCQ","SAQ"], "DK"),
    ("Recognize private insurance and its features", ["MCQ","SAQ"], "DK"),
    ("Enumerate the insurance schemes under PPP; discuss features and beneficiaries", ["MCQ","SAQ"], "DK"),
    ("Describe the Ayushman Bharat Yojana", ["MCQ","SAQ"], "DK"),
    ("Describe the implementation of Ayushman Bharat Yojana (treatment covered, cost, empanelment, claim process)", ["MCQ","SAQ"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(Spacer(1, 0.2*cm))

# ---- TOPIC 13 ----
story.append(topic_header("13", "RECENT ADVANCES IN COMMUNITY MEDICINE / PUBLIC HEALTH", "II"))
story.append(Spacer(1,0.1*cm))
story.append(subtopic_header("13.1 Recent Advances (Self-Directed Learning)"))
qs = [
    ("Recognise new developments in the previous 5 years in community medicine/public health (Journal Presentations, Seminars, Major Outbreaks, New Laws)", ["Seminar", "Journal Presentation"], "DK"),
]
for q,t,p in qs: story.append(q_row(q,t,p))

story.append(Spacer(1, 0.4*cm))

# ---- EXAM SCHEME SUMMARY ----
story.append(topic_header("EXAM SCHEME", "Assessment Summary (Theory Paper)", ""))
story.append(Spacer(1,0.15*cm))

header_data = [['Theme', 'Topic', 'Term', 'Marks', 'MCQ', 'SAQ', 'LAQ']]
rows = [
    ['A', 'Epidemiology', 'I', '18', '3', '1', '1'],
    ['B', 'Health Policy, Health Planning & Hospital Mgmt', 'I', '15', '0', '1', '1'],
    ['C', 'Health Communication, Education & Promotion', 'I', '5', '0', '1', '0'],
    ['D', 'Disaster Preparedness and Management', 'I', '5', '0', '1', '0'],
    ['E', 'Noncommunicable Diseases & National Programs', 'I', '21', '1', '0', '2'],
    ['F', 'School Health Services & Essential Medicine', 'I', '2', '2', '0', '0'],
    ['G', 'Foundations of Research Methodology & Ethics', 'II', '10', '0', '0', '1'],
    ['H', 'Basic Biostatistics', 'II', '6', '1', '1', '0'],
    ['I', "International Health, Health Regulations & Traveller's Health", 'II', '5', '0', '1', '0'],
    ['J', 'Rural, Urban, Tribal Health, SDGs & One Health', 'II', '5', '0', '1', '0'],
    ['K', 'Health Informatics, HMIS & Digital Health', 'II', '5', '0', '1', '0'],
    ['L', 'Basics of Health Economics & Health Financing', 'II', '3', '3', '0', '0'],
    ['', 'TOTAL', '', '100', '10', '8', '5'],
]
table_data = header_data + rows
col_widths = [1.2*cm, 7.5*cm, 1.5*cm, 1.5*cm, 1.2*cm, 1.2*cm, 1.2*cm]
summary_table = Table(table_data, colWidths=col_widths)
summary_table.setStyle(TableStyle([
    ('BACKGROUND', (0,0), (-1,0), colors.HexColor('#1a237e')),
    ('TEXTCOLOR', (0,0), (-1,0), colors.white),
    ('FONTNAME', (0,0), (-1,0), 'Helvetica-Bold'),
    ('FONTSIZE', (0,0), (-1,-1), 8),
    ('FONTNAME', (0,-1), (-1,-1), 'Helvetica-Bold'),
    ('BACKGROUND', (0,-1), (-1,-1), colors.HexColor('#fff9c4')),
    ('ROWBACKGROUNDS', (0,1), (-1,-2), [colors.white, colors.HexColor('#f5f5f5')]),
    ('INNERGRID', (0,0), (-1,-1), 0.25, colors.grey),
    ('BOX', (0,0), (-1,-1), 0.5, colors.grey),
    ('ALIGN', (3,0), (-1,-1), 'CENTER'),
    ('TOPPADDING', (0,0), (-1,-1), 3),
    ('BOTTOMPADDING', (0,0), (-1,-1), 3),
    ('LEFTPADDING', (0,0), (-1,-1), 4),
]))
story.append(summary_table)
story.append(Spacer(1, 0.2*cm))

marks_info = [
    ["Paper Layout", "MCQ = 10 marks (1 mark each)  |  SAQ = 40 marks (5 marks each, 8 questions)  |  LAQ = 50 marks (10 marks each, 5 questions)"],
    ["MK (Must Know)", "All LAQs must be from MK. SAQ: 6 from MK, 2 from DK. MCQ: 7 from MK, 3 from DK."],
]
info_table = Table(marks_info, colWidths=[3.5*cm, 14.5*cm])
info_table.setStyle(TableStyle([
    ('BACKGROUND', (0,0), (0,-1), colors.HexColor('#e3f2fd')),
    ('FONTNAME', (0,0), (0,-1), 'Helvetica-Bold'),
    ('FONTSIZE', (0,0), (-1,-1), 8),
    ('INNERGRID', (0,0), (-1,-1), 0.25, colors.grey),
    ('BOX', (0,0), (-1,-1), 0.5, colors.grey),
    ('TOPPADDING', (0,0), (-1,-1), 4),
    ('BOTTOMPADDING', (0,0), (-1,-1), 4),
    ('LEFTPADDING', (0,0), (-1,-1), 5),
    ('VALIGN', (0,0), (-1,-1), 'MIDDLE'),
]))
story.append(info_table)

doc.build(story)
print("PDF generated successfully!")
Running Command

cd /tmp/workspace/community-medicine-sorted && python3 generate_pdf.py

Your sorted PDF is ready! Here's what was done:

Community Medicine Sorted

PDF Document · PDF


Here's what the sorted document contains:
Structure used:
  • Each Topic has a coloured header (Blue = Term I, Green = Term II)
  • Each Subtopic has a light blue sub-header
  • Every question/learning objective is listed clearly with:
    • Question type → MCQ / SAQ / LAQ (on the right)
    • Priority value → MK / DK / NK (colour coded: Red = MK, Orange = DK, Green = NK)
13 Topics covered:
  1. Epidemiology (Term I)
  2. Health Policy, Planning & Hospital Management (Term I)
  3. Health Communication, Education & Promotion (Term I)
  4. Disaster Preparedness & Management (Term I)
  5. Noncommunicable Diseases & National Programs (Term I)
  6. School Health Services & Essential Medicine (Term I)
  7. Foundations of Research Methodology & Ethics (Term II)
  8. Basic Biostatistics (Term II)
  9. International Health, Health Regulations & Traveller's Health (Term II)
  10. Rural / Urban / Tribal Health, SDGs & One Health (Term II)
  11. Health Informatics, HMIS & Digital Health (Term II)
  12. Basics of Health Economics & Health Financing (Term II)
  13. Recent Advances in Community Medicine (Term II)
At the end - a full Exam Scheme summary table showing how many MCQ / SAQ / LAQ come from each theme in the final university exam paper.
This is a shared conversation. Sign in to Orris to start your own chat.