2nd unit of community health nursing notes

Asking for Preferences
Reading File
Finding Sources
Finding Sources
Searching the Web

BSc Nursing Community Health Nursing Unit 2 Epidemiology Disease Prevention notes syllabus

Finding Sources
Finding Sources
Reading Web Page

https://www.omicsonline.org/open-access-pdfs/integrating-epi…

Finding Sources
Finding Sources
Reading File
Finding Sources
Reading File
Reading File
Reading File
Reading File
Reading File
Reading File
Reading File
Reading File
Reading File
Reading File
I now have all the key content from Park's. Let me compile the comprehensive Unit 2 notes.

Unit 2: Epidemiology and Disease Prevention

Community Health Nursing - B.Sc Nursing

Source: Park's Textbook of Preventive and Social Medicine

1. DEFINITION AND CONCEPTS OF EPIDEMIOLOGY

Epidemiology is defined as "the study of the distribution and determinants of health-related states or events in specified populations, and the application of this study to the prevention and control of health problems" (John Last, 1988).
Simply: Epidemiology is the study of disease in populations - examining who gets disease, when, and where - to guide prevention.
Key difference from clinical medicine:
Clinical MedicineEpidemiology
Unit of study = individual patientUnit of study = defined population
Concerned with sick individualsConcerned with both sick AND healthy
Patient comes to the doctorInvestigator goes to the community
Aims for diagnosis + treatmentAims for cause identification + prevention

2. AIMS OF EPIDEMIOLOGY

According to the International Epidemiological Association (IEA), epidemiology has three main aims:
  1. Describe the distribution and magnitude of health and disease problems in human populations
  2. Identify aetiological factors (risk factors) in the pathogenesis of disease
  3. Provide data essential to the planning, implementation, and evaluation of services for prevention, control, and treatment of disease
Ultimate aim: To eliminate or reduce the health problem, and promote the health and well-being of society as a whole.

3. USES OF EPIDEMIOLOGY

  1. Studying the community's health - disease burden, distribution patterns
  2. Evaluating historical trends in disease patterns over time
  3. Diagnosing the community - identifying health problems needing attention
  4. Investigating the natural history and prognosis of disease
  5. Describing the health status of populations
  6. Identifying risk factors and causes of disease
  7. Evaluating the effectiveness of health services and interventions
  8. Providing information for health planning and policy-making
  9. Estimating risks for individuals - counselling and risk communication
  10. Searching for the aetiology of disease (disease causation)

4. EPIDEMIOLOGICAL TRIAD (Triangle of Epidemiology)

The traditional triangle consists of three interacting components:
Epidemiological Triangle showing Agent, Host, and Environment

a. Agent

The cause of disease. In infectious diseases: bacteria, viruses, parasites, fungi, molds. In non-infectious diseases: chemicals, tobacco smoke, radiation, nutritional deficiencies.

b. Host

The organism (usually human) that harbours the disease. Factors: immunity level, genetic makeup, level of exposure, state of health, age, sex, nutritional status, occupation.

c. Environment

Surroundings external to the human host. Includes:
  • Physical environment: climate, geography, water, air
  • Biological environment: insects, animals, microorganisms
  • Social/cultural environment: sanitation, housing, socioeconomic status, lifestyle

d. Time

Accounts for incubation periods, duration of illness, life expectancy of host or pathogen, epidemic threshold.
Key principle: The primary mission of epidemiology is to break one of the legs of the triangle, thereby disrupting the connection among environment, host, and agent, and stopping the outbreak.

5. DISEASE CAUSATION CONCEPTS

Germ Theory (Single Cause Theory)

One agent causes one disease (e.g., Mycobacterium tuberculosis causes TB). Useful but incomplete.

Multi-factorial Causation

Most diseases result from multiple interacting factors. No single cause is sufficient alone.

Web of Causation (Brian MacMahon)

Considers all predisposing factors of any type and their complex interrelationship with each other. Visualized as a "web" of causes - for example, the causal web for myocardial infarction involves lifestyle, diet, genetics, stress, hypertension, diabetes, and more.
Key insight: Even removing one important link in the chain may be sufficient to prevent disease - not all factors need to be removed.

6. NATURAL HISTORY OF DISEASE

Definition: The way in which a disease evolves over time from the earliest stage of its prepathogenesis phase to its termination as recovery, disability, or death - in the absence of treatment or prevention.
Concept introduced by Leavell and Clark. It consists of two phases:

Phase 1: Prepathogenesis Phase

  • The disease agent has not yet entered man
  • Factors that favour interaction between agent and host already exist in the environment
  • Described as "man in the midst of disease" or "man exposed to the risk of disease"
  • We are all potentially in the prepathogenesis phase of many diseases
  • Intervention here = Primary Prevention

Phase 2: Pathogenesis Phase

The disease process has begun in man. It includes:
Sub-phaseDescription
Early pathogenesisAgent enters host; tissue/physiological changes begin; still subclinical
Presymptomatic stage (chronic diseases)Pathological changes below the "clinical horizon"; no manifest disease
Clinical stageSigns and symptoms appear; disease well advanced
OutcomeRecovery, disability, or death
Clinical horizon: The threshold below which clinical symptoms are not yet visible.
Host responses to infection vary: May be clinical or subclinical; typical or atypical; or the host may become a carrier (as in diphtheria, hepatitis B).

7. LEVELS OF PREVENTION

Related to the natural history of disease, there are four levels of prevention:

1. Primordial Prevention

  • Newest concept; especially relevant for chronic diseases
  • Prevention of the emergence or development of risk factors in populations/groups where they have not yet appeared
  • Targets children before harmful lifestyles are formed (smoking, poor diet, physical inactivity)
  • Main intervention: individual and mass education
  • Example: Programs discouraging children from smoking before they start

2. Primary Prevention

  • "Action taken prior to the onset of disease, which removes the possibility that a disease will ever occur"
  • Intervention in the prepathogenesis phase
  • Two approaches:
    • Health promotion - general well-being, positive health
    • Specific protection - immunization, chemoprophylaxis, use of specific nutrients
  • WHO strategies for chronic diseases:
    • Population (mass) strategy - directed at the whole population regardless of individual risk (e.g., reducing average blood pressure/cholesterol of a population)
    • High-risk strategy - targets individuals at special risk via clinical screening
  • Examples: Vaccination, sanitation, food safety, hand washing, safe water supply, occupational hazard protection

3. Secondary Prevention

  • "Action which halts the progress of a disease at its incipient stage and prevents complications"
  • Intervention in the early pathogenesis phase
  • Key measures: Early diagnosis and prompt treatment (EDPT)
  • Tools: Screening programs, case-finding, surveillance
  • Aims to shorten the duration of illness and prevent spread
  • Examples: Screening for cervical cancer (Pap smear), blood pressure screening, TB contact tracing

4. Tertiary Prevention

  • Action to reduce or limit impairment and disability and promote rehabilitation in those who have already developed a disease
  • Intervention in the late pathogenesis phase
  • Includes: Rehabilitation (physical, social, vocational), preventing relapse, palliative care
  • Examples: Physiotherapy after stroke, vocational rehabilitation for TB patients, support groups
Summary Table:
LevelPhase of DiseaseGoalExample
PrimordialBefore risk factors developPrevent risk factor emergenceAnti-smoking campaigns in schools
PrimaryPrepathogenesisPrevent disease onsetImmunization, safe water
SecondaryEarly pathogenesisDetect and treat earlyPap smear, blood pressure screening
TertiaryLate pathogenesis/disabilityReduce disability, rehabilitatePhysiotherapy, vocational training

8. TYPES OF EPIDEMIOLOGICAL STUDIES

A. Descriptive Epidemiology

  • First phase of epidemiological investigation
  • Describes distribution of disease by asking:
    • When is the disease occurring? → Time distribution
    • Where is it occurring? → Place distribution
    • Who is getting the disease? → Person distribution
Steps in Descriptive Studies:
  1. Define the population to be studied
  2. Define the disease under study
  3. Describe the disease by time, place, and person
  4. Measure disease frequency
  5. Compare with known indices/standards
  6. Formulate an aetiological hypothesis
Uses of descriptive epidemiology:
  • Provides baseline data on disease burden
  • Identifies at-risk groups
  • Generates hypotheses for analytical studies
  • Evaluates health services
  • Helps in health planning

B. Analytical Epidemiology

  • Tests hypotheses generated by descriptive studies
  • Studies the individual within the population
  • Two major types:
1. Case-Control Study (Retrospective Study)
  • Both exposure and outcome have already occurred
  • Proceeds backwards from effect (disease) to cause (exposure)
  • Uses a control/comparison group
  • Identifies cases (with disease) and controls (without disease), then looks back at their exposures
  • Advantages: Quick, cheap, good for rare diseases
  • Disadvantage: Recall bias, cannot establish incidence
2. Cohort Study (Prospective Study)
  • Follows a group forward in time from exposure to outcome
  • Compares those exposed to a risk factor vs. not exposed
  • Determines incidence and relative risk
  • Advantages: Establishes temporal relationship, calculates incidence
  • Disadvantage: Expensive, time-consuming, not suitable for rare diseases

C. Experimental Epidemiology

  • Study conditions are under the direct control of the investigator
  • Involves deliberate application or withdrawal of a suspected cause
  • Modern usage = Randomized Controlled Trials (RCTs)
  • Types:
    • Animal experiments - study pathogenesis, test vaccines/drugs, complete natural history
    • Human experiments/clinical trials - test interventions in people (vaccine trials, drug trials)
  • Aims:
    1. Provide scientific proof of aetiological (risk) factors
    2. Measure effectiveness of health services for prevention and treatment

9. BASIC MEASUREMENTS IN EPIDEMIOLOGY

Scope of Measurements

  • Mortality
  • Morbidity
  • Disability
  • Natality (births)
  • Presence/distribution of disease characteristics
  • Health care utilization
  • Environmental factors
  • Demographic variables

Tools of Measurement

1. Rate Measures the occurrence of an event in a defined population over a given time period. Expresses risk.
Formula: Rate = (Number of events / Population at risk) × Multiplier (1000, 10,000, or 100,000)
Example:
  • Crude Death Rate = (Deaths in 1 year / Mid-year population) × 1000
  • Infant Mortality Rate = (Deaths under 1 year / Live births in same year) × 1000
Types of rates:
  • Crude rates - actual observed rates (e.g., crude birth rate, crude death rate) - unstandardized
  • Specific rates - rates for specific causes, age groups, or time periods (e.g., age-specific mortality rate)
  • Standardized rates - adjusted for confounding variables (e.g., age-standardized rates)
2. Ratio Expresses a relation between two quantities where the numerator is NOT part of the denominator.
  • Example: Male:Female ratio = 1:1.06; Doctor:population ratio
3. Proportion A ratio where the numerator IS included in the denominator; expressed as a percentage.
  • Example: Proportion of children with scabies = (Children with scabies / Total children) × 100

Key Epidemiological Rates to Know

RateFormulaMultiplier
Crude Birth Rate(Live births / Mid-year population) ×1000
Crude Death Rate(Total deaths / Mid-year population) ×1000
Infant Mortality Rate(Deaths < 1 yr / Live births) ×1000
Maternal Mortality Rate(Maternal deaths / Live births) ×100,000
Incidence Rate(New cases / Population at risk) ×1000 or 100,000
Prevalence Rate(Existing cases / Total population) ×1000

Incidence vs. Prevalence

FeatureIncidencePrevalence
MeasuresNew cases in a periodAll existing cases at a point/period
TimeOver a time periodAt a point in time (point prevalence) or period
FormulaNew cases / Population at riskAll cases / Total population
Used forMeasuring disease risk, causation studiesPlanning health services, burden of disease
RelationshipPrevalence ≈ Incidence × Duration of disease

10. ROLE OF COMMUNITY HEALTH NURSE IN EPIDEMIOLOGY

  1. Surveillance and data collection - reporting communicable diseases, monitoring health trends in the community
  2. Case finding and contact tracing - identifying new cases, tracking contacts in outbreaks
  3. Health assessment - conducting community health surveys, home visits
  4. Risk factor identification - identifying populations at risk using epidemiological data
  5. Health education - educating communities on disease prevention and health promotion
  6. Implementing prevention programs - carrying out immunization, screening, and health promotion activities
  7. Outbreak investigation - assisting in investigating epidemics in the community
  8. Referral and follow-up - ensuring continuity of care and treatment adherence
  9. Rehabilitation support - helping patients reintegrate into community after illness
  10. Liaison with public health teams - working with epidemiologists, MOH, and other public health professionals

11. KEY TERMS TO REMEMBER

TermDefinition
EpidemicOccurrence of a disease in excess of normal expectancy in a defined area/period
EndemicConstant presence of a disease or agent in a given geographic area
PandemicWorldwide spread of a new disease affecting a large number of people
SporadicDisease occurring irregularly, without regular pattern
Incubation periodTime between entry of agent and appearance of first symptoms
Herd immunityResistance of a group to attack by a disease when a sufficiently high proportion is immune
SusceptibilityBeing at risk of acquiring an infection
CarrierA person who harbours an infectious agent without apparent clinical disease
ReservoirThe living or non-living habitat in which an agent normally lives and multiplies
FomiteAn inanimate object that can carry and transmit infectious agents
ZoonosisInfectious disease transmitted from animals to humans
Iatrogenic diseaseDisease caused by medical treatment or diagnostic procedures
ScreeningPresumptive identification of unrecognised disease using tests in apparently healthy persons

QUICK REVISION: Important Points for Exams

  • Definition of epidemiology (John Last) - distribution, determinants, application
  • Epidemiological triad = Agent + Host + Environment (+Time)
  • Natural history has 2 phases: Prepathogenesis and Pathogenesis (Leavell & Clark)
  • 4 levels of prevention: Primordial → Primary → Secondary → Tertiary
  • Secondary prevention = EDPT (Early Diagnosis and Prompt Treatment)
  • Incidence = new cases; Prevalence = all existing cases
  • Case-control study = retrospective (looks backward)
  • Cohort study = prospective (follows forward)
  • Herd immunity threshold for most vaccines: >90-95% of population immune
  • IMR (Infant Mortality Rate) = most sensitive indicator of community health

These notes are compiled from Park's Textbook of Preventive and Social Medicine, the standard reference for Community Health Nursing in Indian B.Sc Nursing programs.

Provid all topic notes

Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Searching the Web

BSc Nursing Community Health Nursing Unit 2 complete topics list epidemiology disease prevention India syllabus INC

Reading Web Page

https://nc.smbt.edu.in/pdf/syllabus/syllabus-semesters/5-sem…

Finding Sources
Finding Sources
Searching the Web

community health nursing Unit 2 epidemiology chain of infection modes of transmission screening investigation epidemic notes PDF

Reading File
Reading File
Reading File
Reading File
Reading File
Reading File
Reading File
Reading File
Reading File
Here are your complete Unit 2 notes for Community Health Nursing - B.Sc Nursing, compiled from Park's Textbook of Preventive and Social Medicine (the standard Indian nursing/medical reference):

UNIT 2: EPIDEMIOLOGY AND DISEASE PREVENTION

Community Health Nursing - I | B.Sc Nursing (5th Semester)


SECTION A: INTRODUCTION TO EPIDEMIOLOGY

1. Definition of Epidemiology

John Last (1988): "The study of the distribution and determinants of health-related states or events in specified populations, and the application of this study to the prevention and control of health problems."
Simple definition: Epidemiology is the science that studies who gets disease, when they get it, and where - to guide prevention and control.
Origin of the word: Greek - Epi (upon) + Demos (people) + Logos (study) = Study of what falls upon people.

2. Epidemiology vs. Clinical Medicine

FeatureClinical MedicineEpidemiology
Unit of studyIndividual patientDefined population
ConcernSick individuals onlyBoth sick AND healthy
ApproachPatient comes to doctorInvestigator goes to community
GoalDiagnose + treat one personIdentify cause + prevent in population
FocusSingle caseRates and patterns
"Clinicians are interested in cases with disease, the statistician with the population from which the cases are derived, and the epidemiologist is interested in the relationship between cases and the population in the form of a rate."

3. Aims of Epidemiology

According to the International Epidemiological Association (IEA), epidemiology has three main aims:
  1. Describe - the distribution and magnitude of health and disease problems in human populations
  2. Identify - aetiological factors (risk factors) in the pathogenesis of disease
  3. Provide data - for planning, implementation, and evaluation of health services for prevention, control, and treatment of disease
Ultimate aims:
  • Eliminate or reduce the health problem and its consequences
  • Promote the health and well-being of society as a whole

4. Uses of Epidemiology (Morris - 7 Uses)

  1. Historical trends - Study rise and fall of disease in population over time; make future projections
  2. Community diagnosis - Identify and quantify health problems; identify groups at risk
  3. Planning and evaluation - Provide data for rational allocation of health resources
  4. Individual risk estimation - Determine probability that an individual will develop a condition
  5. Health service evaluation - Measure utilization, effectiveness, and efficiency of health services
  6. Identification of syndromes - Define clinical syndromes and complete the clinical picture
  7. Search for causes - Identify aetiological factors to guide control and prevention

SECTION B: DISEASE CAUSATION

5. Concepts of Disease Causation

A. Germ Theory (Koch's Postulates - Single Cause)

One specific microorganism causes one specific disease. Useful but incomplete.
Koch's Postulates:
  1. The microorganism is present in every case of the disease
  2. It can be isolated from the diseased host
  3. When inoculated into a susceptible host it produces the disease
  4. It can then be re-isolated from the experimentally diseased host

B. Multi-factorial Causation

Most diseases result from the interaction of multiple factors, not a single cause. Pettenkofer of Munich (1819-1901) was an early proponent.

C. Web of Causation (Brian MacMahon)

A complex interrelationship of all predisposing factors visualized as a "web." The causal web of myocardial infarction, for example, involves diet, stress, hypertension, diabetes, genetics, and lifestyle.
Key principle: Sometimes removing even one important link in the chain is sufficient to prevent disease - not all factors need to be removed.

6. Epidemiological Triad (Triangle of Epidemiology)

The three interacting components of disease causation:
Epidemiological Triangle

A. AGENT

The cause of disease.
Types of agents:
  • Biological agents: Bacteria, viruses, fungi, parasites, helminths
  • Chemical agents: Dietary factors, drugs, tobacco, solvents, poisons
  • Physical agents: Radiation, heat, mechanical forces
  • Nutritional agents: Deficiencies or excesses of nutrients
Properties of an agent (the 6 "infectivity" measures):
PropertyDefinition
InfectivityAbility to enter, survive, and multiply in a host
PathogenicityAbility to produce disease in an infected host
VirulenceSeverity of the disease produced
AntigenicityAbility to induce immunity in the host
CommunicabilityEase with which an agent is transmitted from one person to another
InvasivenessAbility of an organism to invade tissues

B. HOST

The living organism harbouring the agent.
Host factors:
  • Age, sex, genetics
  • Immunity (natural/acquired)
  • Nutritional status
  • Occupation
  • Lifestyle/habits (smoking, alcohol)
  • Pre-existing disease/comorbidities

C. ENVIRONMENT

External conditions that influence disease occurrence.
  • Physical: Climate, temperature, humidity, geography, water
  • Biological: Insects, animals, microorganisms, vegetation
  • Social/Cultural: Socioeconomic status, education, housing, occupation, sanitation

D. TIME

Incubation period, duration of illness, epidemic patterns, seasonal trends.
Mission of epidemiology: Break one leg of the triangle to stop disease transmission.

SECTION C: NATURAL HISTORY OF DISEASE

7. Natural History of Disease (Leavell and Clark)

Definition: The way a disease evolves over time from the earliest stage of its prepathogenesis phase to its termination as recovery, disability, or death - in the absence of treatment or prevention.
Each disease has its own unique natural history. Understanding it helps apply appropriate preventive measures.

Phase 1: PREPATHOGENESIS PHASE

  • The disease agent has NOT yet entered man
  • The agent, host, and environmental factors are already interacting in the environment
  • Man is described as "man in the midst of disease" or "man exposed to the risk of disease"
  • We are all potentially in the prepathogenesis phase of many diseases
  • Intervention here = Primordial and Primary Prevention
Example: A person living in a malaria-endemic area is in the prepathogenesis phase before a mosquito bites.

Phase 2: PATHOGENESIS PHASE

The disease process begins in man. It has sub-phases:
Sub-phaseDescription
Early pathogenesisAgent enters host; tissue changes begin; still below clinical horizon
Presymptomatic stagePathological changes present but no symptoms yet (especially chronic diseases)
Clinical stageSigns and symptoms appear; disease becomes manifest
OutcomeRecovery, disability, or death
Clinical horizon: The imaginary threshold below which signs and symptoms are not yet detectable.
Types of infection outcomes (Spectrum of disease / Gradient of infection):
  1. Clinical illness - mild, moderate, severe, or fatal
  2. Subclinical/inapparent infection - agent multiplies, no symptoms, but person can spread disease (very important epidemiologically!)
  3. Latent infection - agent dormant in host, no shedding (e.g., herpes simplex, slow viruses)
  4. Carrier state - person harbours agent without disease but can transmit
Epidemiological importance of subclinical cases: They are ambulatory (moving about freely), do not appear in statistics, and contribute MORE to the chain of transmission than clinical cases.

SECTION D: CHAIN OF INFECTION

8. Chain of Infection

The chain of infection describes how disease spreads from one host to another. It has 6 links:
Infectious Agent → Reservoir → Portal of Exit → Mode of Transmission → Portal of Entry → Susceptible Host

Link 1: Infectious Agent

The organism causing disease (bacteria, virus, fungus, parasite).

Link 2: Reservoir

The habitat in which the agent normally lives and multiplies.
Types of reservoirs:
  • Human reservoir - Cases (clinical, subclinical) and Carriers
  • Animal reservoir - Zoonotic diseases (rabies, plague, anthrax)
  • Non-living reservoir - Soil (tetanus, anthrax), water (cholera, typhoid), food

Types of Carriers:

TypeDescriptionExample
Incubatory carrierSpreads infection during the incubation periodMeasles, cholera
Convalescent carrierCarries and sheds after recoveryTyphoid
Chronic carrierCarries for months to yearsTyphoid (Typhoid Mary), Hepatitis B
Healthy carrierNever had disease but carries agentDiphtheria, meningococcus
Contact carrierAcquires infection from a caseVarious
Paradoxical carrierImmune individual who carries virulent organisms-
Epidemiological note: Mild cases and subclinical cases are MORE important than severe cases in spreading infection because they are ambulant.

Link 3: Portal of Exit

How the agent leaves the reservoir.
  • Respiratory tract - coughing, sneezing (TB, influenza, measles)
  • Gastrointestinal tract - feces, vomit (cholera, typhoid, hepatitis A)
  • Genitourinary tract - urine, sexual secretions (gonorrhea, HIV)
  • Skin/wounds - discharge from lesions (staphylococcal infections, syphilis)
  • Blood - via needles, blood transfusion (HIV, Hepatitis B, malaria)
  • Transplacental - from mother to fetus (congenital rubella, syphilis, HIV)

Link 4: Mode of Transmission

How the agent travels from reservoir to new host.

A. DIRECT TRANSMISSION

No intermediate between source and host.
  • Direct contact: Touching, kissing, sexual intercourse, biting (rabies)
  • Droplet infection: Large droplets of respiratory secretions (< 1 meter) - measles, influenza
  • Transplacental/congenital: Mother to fetus across placenta - rubella, syphilis, HIV

B. INDIRECT TRANSMISSION

An intermediate is involved.
TypeDescriptionExamples
AirborneDroplet nuclei (< 5 microns) suspended in air, travel long distancesTuberculosis, varicella, measles
FomitesInanimate objects contaminated with agentBedding, clothing, toys, instruments
Vehicle-borneContaminated food, water, milk, blood, biological productsCholera (water), salmonellosis (food), Hep B (blood)
Vector-borneLiving organisms transmit agentMalaria (mosquito), plague (flea), dengue (Aedes)
Vector transmission types:
  • Mechanical transmission: Agent passively transported on vector's body/feet; no development in vector (e.g., housefly and dysentery)
  • Biological transmission: Agent undergoes development/multiplication in vector before transmission (e.g., malaria in anopheles mosquito)

Link 5: Portal of Entry

How the agent enters the new host.
  • Respiratory tract (inhalation)
  • Gastrointestinal tract (ingestion)
  • Skin/mucous membranes (direct contact, inoculation)
  • Genitourinary tract (sexual contact)
  • Transplacental (congenital)

Link 6: Susceptible Host

A host without sufficient immunity to resist infection.
Factors affecting host susceptibility:
  • Age (infants and elderly most vulnerable)
  • Nutritional status (malnutrition increases susceptibility)
  • Immune status (natural/acquired/passive immunity)
  • Comorbidities
  • Genetic factors

9. Important Epidemiological Terms

TermDefinition
EpidemicOccurrence of a disease in a community/region clearly in excess of normal expectancy
EndemicConstant presence and usual prevalence of a disease/agent in a given geographic area
PandemicWorldwide spread of a new disease affecting large numbers across international boundaries
SporadicDisease occurring irregularly, occasionally, without specific pattern, no apparent connection between cases
EpizooticEpidemic of disease in animal population
EnzooticEndemic in animal population
HyperendemicDisease constantly present at a high incidence/prevalence rate
HoloendemicHigh level of infection beginning early in life affecting most of the population (e.g., malaria in some areas)
OutbreakMore restricted than epidemic; sudden increase in incidence of a disease in a limited area
Incubation periodTime between entry of an infectious agent and appearance of first signs/symptoms
Communicable periodTime during which an infectious agent may be transferred from infected to susceptible person
Generation timeInterval between receipt of infection by a host and maximal infectivity of that host
Herd immunityResistance of a group as a whole to disease because a high proportion of individuals are immune
Primary caseFirst case of a communicable disease introduced into a population unit
Index caseFirst case to come to attention of the investigator (may not be the primary case)
Secondary caseCases developing from contact with primary case
Nosocomial infectionHospital-acquired infection (not present or incubating at time of admission)
Opportunistic infectionInfection by normally harmless organisms in immunocompromised hosts
Iatrogenic diseaseDisease caused by medical treatment or diagnostic procedures

10. Secondary Attack Rate (SAR)

Definition: Number of exposed persons developing disease within the incubation period, following exposure to a primary case.
Formula: $$SAR = \frac{\text{Number of exposed persons who develop disease within incubation period}}{\text{Total number of susceptible contacts}} \times 100$$
Example: Family of 6 (2 immune parents + 4 susceptible children). Primary case in 1 child, then 2 more children develop disease.
  • SAR = 2/3 × 100 = 66.6%
  • (Primary case excluded from both numerator and denominator)
Uses: Measures communicability of a disease; helps evaluate control measures.

SECTION E: IMMUNITY AND VACCINATION

11. Types of Immunity

A. Natural Immunity (Innate/Non-specific)

  • Present from birth; not acquired through previous contact with antigen
  • Racial immunity (e.g., certain races are resistant to certain diseases)
  • Species immunity (e.g., humans do not get distemper)

B. Acquired Immunity (Specific)

TypeHow AcquiredExamples
Active naturalFrom actual infection/diseaseMeasles, chickenpox confers lifelong immunity
Active artificialFrom vaccinationDPT, OPV, MMR vaccines
Passive naturalMaternal antibodies via placenta or breast milkNewborn protection from IgG (placental), IgA (colostrum)
Passive artificialFrom injection of ready-made antibodies (immunoglobulin/antiserum)Tetanus antitoxin, rabies immunoglobulin
Key points:
  • Active immunity = longer lasting; takes time to develop
  • Passive immunity = immediate; short-lasting

C. Types of Immunity at Cellular Level

  1. Humoral immunity - Mediated by B-cells → produce antibodies (IgG, IgM, IgA, IgD, IgE)
    • Effective against bacteria, viruses, toxins
    • IgG: Crosses placenta; major serum immunoglobulin (80%)
    • IgM: First to appear in infection; indicates recent infection
    • IgA: Present in secretions (saliva, milk, bronchial); protects mucous membranes
    • IgE: Involved in allergic reactions
  2. Cellular immunity - Mediated by T-cells
    • Effective against intracellular pathogens (M. tuberculosis, M. leprae, viruses)
    • Responsible for delayed hypersensitivity, rejection of grafts
    • Important in immunity to tuberculosis, brucellosis

12. Herd Immunity

Definition: The resistance of a group as a whole to attack by a disease, due to the immunity of a high proportion of members.
Principle: When enough people in a community are immune, chains of transmission are broken, and even unimmunized individuals are protected.
Herd immunity threshold: The percentage of a population that must be immune to prevent epidemic spread.
DiseaseHerd Immunity Threshold
Measles92-95%
Polio80-85%
Diphtheria83-85%
Smallpox80-85%
Rubella83-85%
Importance: Basis for immunization programs; protects immunocompromised individuals who cannot be vaccinated.

13. Types of Vaccines

TypeDescriptionExamples
Live attenuatedWeakened live organismsOPV, BCG, MMR, Varicella
Killed/InactivatedDead organismsIPV, whole-cell pertussis, typhoid
ToxoidInactivated toxinDT, Tetanus toxoid
SubunitSpecific antigen portionHepatitis B, acellular pertussis
ConjugateAntigen + carrier proteinHib, PCV, MenC
Live vs. Killed vaccines comparison:
FeatureLive VaccineKilled Vaccine
Doses neededSingleMultiple
Duration of immunityLongerShorter
Protection levelGreaterLower
Adjuvant neededNoYes
Risk of reversion to virulencePossibleNo
Mucosal immunityYesPoor

SECTION F: EPIDEMIOLOGICAL STUDIES

14. Types of Epidemiological Studies

A. DESCRIPTIVE EPIDEMIOLOGY

Definition: Studies that describe the distribution of disease in a population by time, place, and person - without testing hypotheses.
Three key questions:
  • WHEN? - Time distribution (secular trends, seasonal trends, epidemic curves)
  • WHERE? - Place distribution (geographic patterns, rural vs. urban, spot maps)
  • WHO? - Person distribution (age, sex, occupation, socioeconomic status, race, religion)
Steps in descriptive studies:
  1. Define the population to be studied
  2. Define the disease under study
  3. Describe by time, place, person
  4. Measure disease frequency
  5. Compare with known indices/standards
  6. Formulate an aetiological hypothesis
Uses of descriptive epidemiology:
  • Provides data on disease burden
  • Identifies groups at risk
  • Generates hypotheses for analytical studies
  • Helps in health planning
  • Evaluates health services

B. ANALYTICAL EPIDEMIOLOGY

Definition: Studies that test hypotheses about causes of disease by examining individual subjects within a population.

1. Case-Control Study (Retrospective Study)

Design: Start with cases (people WITH the disease) and controls (people WITHOUT disease). Look backward in time to identify past exposures.
Features:
  • Both exposure and outcome have already occurred before the study starts
  • Proceeds backward from effect to cause
  • Uses a comparison/control group
  • Determines Odds Ratio (OR) as measure of association
Advantages:
  • Quick and inexpensive
  • Good for rare diseases
  • Can study multiple exposures
  • Suitable for diseases with long latency
Disadvantages:
  • Recall bias (patients may remember exposures differently)
  • Cannot establish incidence rates
  • Cannot establish temporal relationship definitively
  • Selection of appropriate controls is difficult
Example: To study if smoking causes lung cancer - identify lung cancer cases and cancer-free controls, then look back at their smoking history.

2. Cohort Study (Prospective Study / Follow-up Study)

Design: Start with people without disease. Identify those exposed vs. not exposed to a risk factor. Follow them forward in time to see who develops disease.
Features:
  • Proceeds forward from cause to effect
  • Exposure precedes the outcome
  • Can calculate incidence rates and Relative Risk (RR)
Types:
  • Prospective cohort - Exposure assessed now; outcome measured in the future (most rigorous)
  • Retrospective cohort - Uses historical data on past exposure; outcome has already occurred
  • Ambispective cohort - Combination of both
Advantages:
  • Establishes temporal relationship (cause precedes effect)
  • Can calculate incidence and relative risk
  • Less prone to recall bias
  • Can study multiple outcomes of a single exposure
Disadvantages:
  • Expensive and time-consuming
  • Not suitable for rare diseases
  • Subject to losses to follow-up
  • Changes in exposure/disease criteria over time
Example: Follow a cohort of smokers and non-smokers for 20 years to see who develops lung cancer.

3. Cross-Sectional Study (Prevalence Study)

Design: Examine a population at a single point in time. Measures both exposure and disease simultaneously.
Key feature: Determines prevalence not incidence.
Uses:
  • Planning health services
  • Disease burden studies
  • Vaccine coverage surveys
Limitation: Cannot establish temporal relationship (cannot tell if exposure came before or after disease).

C. EXPERIMENTAL EPIDEMIOLOGY (Intervention Studies)

Definition: Studies where the investigator controls the conditions. Involves deliberate application or withdrawal of an intervention.
Types:
  1. Randomized Controlled Trial (RCT) - Gold standard; subjects randomly allocated to intervention or control group
  2. Field trials - Conducted on healthy populations to test preventive measures (e.g., vaccine trials)
  3. Community trials - Entire communities randomized (e.g., water fluoridation trials)
  4. Animal experiments - Test hypotheses in animals first
Aims:
  • Provide scientific proof of aetiological factors
  • Measure effectiveness of health interventions
Advantages over observational studies:
  • Controls for confounding
  • Randomization ensures comparability
  • Establishes causation
Ethical considerations: Must follow Helsinki Declaration; informed consent mandatory; study must be stopped if one group is clearly harmed or benefited.

Comparison of Study Designs

FeatureCase-ControlCohortCross-SectionalRCT
DirectionBackwardForwardSimultaneousForward
Rare diseaseYesNoNoNo
IncidenceNoYesNoYes
Relative RiskNo (OR only)YesNoYes
CostLowHighModerateVery High
TimeShortLongShortVariable
BiasRecall biasLoss to follow-up-Minimal

SECTION G: MEASUREMENTS IN EPIDEMIOLOGY

15. Tools of Measurement

A. RATE

Measures occurrence of an event in a defined population over a given time.
Formula: Rate = (Number of events / Population at risk) × Multiplier (1000 or 100,000)
Types of rates:
  • Crude rate - Unstandardized; actual observed rate for entire population
  • Specific rate - For specific cause, age group, or time period
  • Standardized rate - Adjusted for confounders like age (allows valid comparisons)

B. RATIO

Relationship between two quantities where numerator is NOT included in denominator.
  • Example: Sex ratio = males : females

C. PROPORTION

Ratio where numerator IS included in denominator; expressed as percentage.
  • Example: Proportion of hypertensive = (Hypertensive patients / Total population) × 100

16. Key Epidemiological Rates

Mortality Rates

RateFormulaMultiplierNotes
Crude Death Rate (CDR)Total deaths / Mid-year population× 1000Overall mortality
Infant Mortality Rate (IMR)Deaths < 1 year / Live births× 1000Most sensitive indicator of community health
Neonatal Mortality RateDeaths < 28 days / Live births× 1000Reflects antenatal + delivery care
Post-neonatal MRDeaths 28 days to 1 yr / Live births× 1000Reflects environmental conditions
Perinatal MRStillbirths + Deaths < 7 days / Births× 1000Reflects obstetric care quality
Maternal Mortality Rate (MMR)Maternal deaths / Live births× 100,000Deaths from pregnancy-related causes
Cause-specific MRDeaths from specific cause / Mid-year pop× 100,000Eg: TB mortality rate
Case Fatality Rate (CFR)Deaths from disease / Cases of disease× 100Measures severity of disease
Proportional Mortality RateDeaths from specific cause / All deaths× 100Relative importance of a cause
IMR is considered the most sensitive indicator of the health status of a community - it reflects nutritional status, maternal health, environmental sanitation, and quality of healthcare.

Morbidity Rates

RateFormulaNotes
Incidence RateNew cases in period / Population at risk × 1000Measures risk; used in causation studies
Prevalence RateAll existing cases at a point / Total population × 1000Measures burden; used in planning
Attack RateCases during epidemic / Population exposed × 100Used during outbreaks
Secondary Attack RateSecondary cases / Susceptible contacts × 100Measures communicability

Natality Rates

RateFormulaMultiplier
Crude Birth RateLive births / Mid-year population× 1000
General Fertility RateLive births / Women 15-44 yrs× 1000
Total Fertility RateSum of age-specific fertility rates × 5-
Sex Ratio at BirthMale births / Female births× 1000

17. Incidence vs. Prevalence

FeatureIncidencePrevalence
What it measuresNew cases appearing in a periodAll existing cases at a point/period
TimeOver a defined periodAt a point in time or over a period
PopulationPopulation at risk (excludes pre-existing cases)Total population
FormulaNew cases / Population at riskTotal cases / Total population
UseStudying risk and causationPlanning services, burden assessment
Affected byRate of new disease occurrenceIncidence × Duration of disease
Relationship: Prevalence ≈ Incidence × Mean duration of disease
Example: If TB incidence = 200/100,000/year and average duration = 2 years: Prevalence ≈ 200 × 2 = 400/100,000

SECTION H: LEVELS OF PREVENTION

18. Four Levels of Prevention

(In relation to natural history of disease)

Level 1: PRIMORDIAL PREVENTION

  • Newest concept; especially for chronic diseases
  • Prevents the emergence of risk factors themselves
  • Targets populations or groups where risk factors have not yet appeared
  • Focus is on children (before harmful lifestyles form)
  • Intervention: Individual and mass education
  • Example: School programs discouraging children from starting to smoke; promoting physical activity and healthy eating from childhood

Level 2: PRIMARY PREVENTION

  • "Action taken prior to the onset of disease, which removes the possibility that disease will ever occur"
  • Intervention in the prepathogenesis phase
  • Two approaches:
a. Health Promotion (Non-specific):
  • Health education, nutrition education
  • Adequate housing, sanitation
  • Regular exercise
  • Maternal and child health care
  • Genetic counselling
  • Marriage counselling
b. Specific Protection:
  • Immunization
  • Use of specific nutrients (iodized salt, vitamin A supplementation)
  • Chemoprophylaxis (malaria prophylaxis)
  • Protection from carcinogens/occupational hazards
  • Fluoridation of water (dental caries prevention)
  • Seat belts, helmets (accident prevention)
WHO strategies for primary prevention of chronic diseases:
  • Population (mass) strategy: Directed at the whole population, regardless of individual risk. Even small reductions in average blood pressure or cholesterol across a population produce large reductions in cardiovascular disease incidence.
  • High-risk strategy: Targets individuals identified as being at special risk through clinical screening.

Level 3: SECONDARY PREVENTION

  • "Action which halts the progress of disease at its incipient stage and prevents complications"
  • Intervention in early pathogenesis phase
  • Key measure: EDPT - Early Diagnosis and Prompt Treatment
  • Additional measures: Disability limitation
Tools:
  • Mass screening programs (e.g., Pap smear for cervical cancer, mammography for breast cancer)
  • Periodic health examinations
  • Case-finding (active search for cases in community)
  • Disease surveillance and reporting
  • Contact tracing
  • Chemotherapy (e.g., TB treatment before complications develop)
Aims:
  • Shorten duration of illness
  • Reduce severity
  • Prevent complications
  • Reduce transmission to others
Screening (key secondary prevention tool):
"The presumptive identification of unrecognized disease or defect by the application of tests, examinations, or other procedures which can be applied rapidly."
Criteria for a good screening test (Wilson and Jungner):
  • Disease should be an important health problem
  • Effective treatment should be available
  • Natural history of disease should be understood
  • Detectable at early/latent stage
  • Test should be acceptable, simple, safe, valid, reliable
  • Cost should be reasonable and justified

Level 4: TERTIARY PREVENTION

  • "All measures available to reduce or limit impairment and disability, minimize suffering caused by existing departures from good health, and promote the patient's adjustment to irremediable conditions"
  • Intervention in late pathogenesis phase
Includes:
  • Rehabilitation - Physical, mental, social, vocational rehabilitation
  • Preventing relapse and complications
  • Palliation and supportive care
  • Long-term medication adherence
  • Support groups and community reintegration
Types of rehabilitation:
  • Medical rehabilitation - Restoration of physical function
  • Psychological rehabilitation - Mental health support, counselling
  • Social rehabilitation - Restoring social relationships, community living
  • Vocational rehabilitation - Return to productive employment
Examples: Physiotherapy after stroke, vocational training for leprosy patients, prosthetics for amputees, TB DOTS to prevent relapse

Summary: Levels of Prevention

LevelPhase of DiseaseGoalInterventionExamples
PrimordialBefore risk factors developPrevent risk factor emergenceEducation, policyAnti-smoking campaigns in schools
PrimaryPrepathogenesisPrevent disease onsetImmunization, health promotionBCG, OPV, sanitation
SecondaryEarly pathogenesisEarly detection and prompt treatmentScreening, surveillancePap smear, TB sputum testing
TertiaryLate pathogenesis/disabilityReduce disability, rehabilitateRehabilitation, palliationPhysiotherapy, DOTS, prosthetics

SECTION I: EPIDEMIC INVESTIGATION

19. Investigation of an Epidemic

Steps in investigating an epidemic (mnemonic: C-D-H-I-C-C-R):
Step 1: Confirm the diagnosis
  • Verify that cases are real; obtain laboratory confirmation
  • Establish case definition: What constitutes a "case"?
Step 2: Confirm the existence of an epidemic
  • Compare current incidence to expected (baseline) incidence
  • Is it truly above normal expectancy?
Step 3: Describe the epidemic
  • Time - Epidemic curve (plot cases over time); identifies point source vs. propagated epidemic
  • Place - Spot map; identifies geographic clustering
  • Person - Age, sex, occupation, habits of affected persons
Step 4: Formulate a hypothesis
  • Based on descriptive data: What is the likely source? Mode of transmission?
Step 5: Test the hypothesis
  • Analytical study (case-control or cohort) to test the hypothesis
  • Laboratory analysis of specimens, food, water, etc.
Step 6: Control measures
  • Implement control even while investigation continues
  • Eliminate source (contaminated food/water)
  • Break chain of transmission
  • Protect susceptible persons (immunization, chemoprophylaxis)
Step 7: Report
  • Write and communicate findings to health authorities
  • Recommendations for future prevention

20. Types of Epidemics

TypeDescriptionEpidemic Curve
Point sourceAll exposed at same time and placeSharp rise, rapid fall; all cases within one incubation period
Propagated/ProgressivePerson-to-person spread; successive generationsMultiple waves; gradual increase
Continuous sourceOngoing exposure to common source over prolonged timeProlonged plateau
MixedInitially point source, then person-to-personInitial sharp peak, then prolonged tail

SECTION J: DISEASE SURVEILLANCE

21. Surveillance

Definition (Alexander Langmuir, 1963): "The continued watchfulness over the distribution and trends of incidence through the systematic collection, consolidation and evaluation of morbidity and mortality reports and other relevant data."
Purpose: Early detection of disease trends; identify outbreaks; evaluate control programs.

Types of Surveillance:

  1. Passive surveillance - Routine collection of data by health facilities; health workers report cases upward; requires little effort but incomplete
  2. Active surveillance - Active search for cases by health workers (home visits, contact tracing); more complete but resource-intensive
  3. Sentinel surveillance - Data collected from selected sentinel sites (representative) rather than all facilities
  4. Syndromic surveillance - Monitors symptoms/syndromes (not confirmed diagnoses) for early outbreak detection
  5. Serological surveillance - Studies antibody levels in population to estimate immunity

Components of a Surveillance System:

  1. Data collection - Case reporting, vital statistics, laboratory reports, surveys
  2. Data compilation/analysis - Processing and interpretation of data
  3. Dissemination - Sharing findings with relevant stakeholders

SECTION K: ROLE OF COMMUNITY HEALTH NURSE IN EPIDEMIOLOGY

22. Roles and Responsibilities

  1. Surveillance and reporting - Report notifiable diseases to health authorities; maintain disease registers
  2. Case finding - Active search for cases in community through home visits and outreach
  3. Contact tracing - Identify and follow-up contacts of communicable disease cases
  4. Health assessment - Conduct community health surveys and needs assessment
  5. Outbreak investigation - Assist in epidemiological investigation of outbreaks
  6. Immunization - Conduct and oversee vaccination programs
  7. Screening programs - Participate in and run screening for early detection
  8. Health education - Educate community on disease prevention, sanitation, nutrition
  9. Risk factor identification - Identify high-risk individuals and groups using epidemiological data
  10. Data collection - Gather morbidity/mortality data for health planning
  11. Referral - Refer cases requiring higher-level care
  12. Rehabilitation support - Support patients and families during rehabilitation
  13. Intersectoral coordination - Liaise with public health officials, doctors, community leaders
  14. Advocacy - Advocate for resources and policies to prevent disease

QUICK REVISION TABLES

Must-Know Definitions

TermOne-line Definition
EpidemiologyStudy of distribution and determinants of disease in populations
IncidenceNew cases per population at risk per unit time
PrevalenceAll existing cases per total population at a point in time
CarrierPerson who harbours agent without disease but can transmit
Herd immunityGroup protection from disease when enough members are immune
Secondary attack rate% of susceptible contacts developing disease after exposure to primary case
ScreeningPresumptive identification of unrecognised disease using rapid tests
EpidemicDisease occurrence clearly in excess of normal expectancy
Nosocomial infectionHospital-acquired infection
SurveillanceContinued watchfulness over disease distribution and trends
IMRDeaths under 1 year per 1000 live births - most sensitive health indicator
CFRDeaths from a disease / total cases of that disease × 100
Cohort studyProspective study following exposed vs. unexposed groups forward in time
Case-control studyRetrospective study comparing cases and controls for past exposures
RCTRandomized controlled trial - gold standard experimental study

High-Yield Points for Exams

  • Epidemiological triad = Agent + Host + Environment (+ Time)
  • Leavell and Clark described the natural history of disease
  • 2 phases of natural history: Prepathogenesis + Pathogenesis
  • 4 levels of prevention: Primordial → Primary → Secondary → Tertiary
  • Secondary prevention = EDPT (Early Diagnosis and Prompt Treatment)
  • Incidence = new cases; Prevalence = all cases
  • IMR = most sensitive indicator of community health status
  • Case-control study = retrospective (looks back)
  • Cohort study = prospective (follows forward)
  • RCT = experimental study; gold standard
  • Carrier types: Incubatory, Convalescent, Chronic, Healthy
  • Herd immunity threshold for measles = 92-95%
  • IgG = crosses placenta; IgA = found in secretions; IgM = indicates recent infection
  • Subclinical cases are MORE important epidemiologically than clinical cases (ambulatory, undetected)
  • Web of causation = MacMahon; removing even ONE important link can break the chain
  • Nosocomial infection = hospital-acquired; e.g., surgical wound infection, Hep B, UTI

All content compiled from Park's Textbook of Preventive and Social Medicine (the standard reference for Community Health Nursing in Indian B.Sc Nursing programs) and INC syllabus guidelines.

Create a study guide PDF with Unit 2 topics for quick revision

Reading File
Running Command

mkdir -p /home/daytona/workspace/chn-unit2 && ls /home/daytona/workspace/chn-uni…

Writing File

~/chn-unit2/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, mm
from reportlab.platypus import (
    SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle,
    HRFlowable, PageBreak, KeepTogether
)
from reportlab.lib.enums import TA_CENTER, TA_LEFT, TA_JUSTIFY
from reportlab.platypus import ListFlowable, ListItem

OUTPUT = "/home/daytona/workspace/chn-unit2/CHN_Unit2_Study_Guide.pdf"

# ─── Colour Palette ──────────────────────────────────────────────────────────
NAVY      = colors.HexColor("#1B2A4A")
TEAL      = colors.HexColor("#0D7377")
LTBLUE    = colors.HexColor("#E8F4F8")
ACCENT    = colors.HexColor("#F4A261")
GREEN     = colors.HexColor("#2D6A4F")
LTGREEN   = colors.HexColor("#D8F3DC")
RED       = colors.HexColor("#C1121F")
LTRED     = colors.HexColor("#FFE5E5")
YELLOW    = colors.HexColor("#FFF3CD")
PURPLE    = colors.HexColor("#5A189A")
LTPURPLE  = colors.HexColor("#EDE7F6")
GREY      = colors.HexColor("#F0F4F8")
DARKGREY  = colors.HexColor("#555555")
WHITE     = colors.white

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

def S(name, **kw):
    return ParagraphStyle(name, **kw)

COVER_TITLE = S("CoverTitle",
    fontName="Helvetica-Bold", fontSize=28, textColor=WHITE,
    alignment=TA_CENTER, spaceAfter=8, leading=34)
COVER_SUB   = S("CoverSub",
    fontName="Helvetica", fontSize=14, textColor=colors.HexColor("#BDD5EA"),
    alignment=TA_CENTER, spaceAfter=6, leading=18)
COVER_TAG   = S("CoverTag",
    fontName="Helvetica-Bold", fontSize=11, textColor=ACCENT,
    alignment=TA_CENTER, spaceAfter=4)

H1 = S("H1",
    fontName="Helvetica-Bold", fontSize=14, textColor=WHITE,
    backColor=NAVY, borderPad=6, spaceAfter=6, spaceBefore=14,
    leftIndent=-6, rightIndent=-6, leading=18)
H2 = S("H2",
    fontName="Helvetica-Bold", fontSize=12, textColor=NAVY,
    spaceAfter=4, spaceBefore=10, leading=15,
    borderPad=2, borderColor=TEAL, borderWidth=0)
H3 = S("H3",
    fontName="Helvetica-Bold", fontSize=10, textColor=TEAL,
    spaceAfter=3, spaceBefore=6, leading=13)

BODY = S("Body",
    fontName="Helvetica", fontSize=9.5, textColor=colors.black,
    spaceAfter=4, leading=14, alignment=TA_JUSTIFY)
BOLD_BODY = S("BoldBody",
    fontName="Helvetica-Bold", fontSize=9.5, textColor=NAVY,
    spaceAfter=3, leading=13)
SMALL = S("Small",
    fontName="Helvetica", fontSize=8.5, textColor=DARKGREY,
    spaceAfter=2, leading=12)

BOX_TITLE = S("BoxTitle",
    fontName="Helvetica-Bold", fontSize=10, textColor=NAVY,
    spaceAfter=2, leading=13)
BOX_BODY  = S("BoxBody",
    fontName="Helvetica", fontSize=9, textColor=colors.black,
    spaceAfter=3, leading=13)

BULLET = S("Bullet",
    fontName="Helvetica", fontSize=9.5, textColor=colors.black,
    spaceAfter=2, leading=13, leftIndent=14, bulletIndent=4)
SUBBULLET = S("SubBullet",
    fontName="Helvetica", fontSize=9, textColor=DARKGREY,
    spaceAfter=1, leading=12, leftIndent=26, bulletIndent=14)

FOOTER_ST = S("Footer",
    fontName="Helvetica", fontSize=7.5, textColor=DARKGREY,
    alignment=TA_CENTER)

# ─── Helpers ─────────────────────────────────────────────────────────────────

def header_bar(text, style=H1):
    return Paragraph(f"&nbsp; {text}", style)

def h2(text):    return Paragraph(text, H2)
def h3(text):    return Paragraph(text, H3)
def body(text):  return Paragraph(text, BODY)
def bold(text):  return Paragraph(text, BOLD_BODY)
def small(text): return Paragraph(text, SMALL)
def sp(h=4):     return Spacer(1, h)
def hr():        return HRFlowable(width="100%", thickness=0.5, color=TEAL, spaceAfter=4)

def bullet_list(items, sub=False):
    st = SUBBULLET if sub else BULLET
    return [Paragraph(f"• {i}", st) for i in items]

def note_box(title, items, bg=LTBLUE, border=TEAL):
    rows = [[Paragraph(f"<b>{title}</b>", BOX_TITLE)]]
    for i in items:
        rows.append([Paragraph(f"• {i}", BOX_BODY)])
    t = Table(rows, colWidths=[16.5*cm])
    t.setStyle(TableStyle([
        ("BACKGROUND", (0,0), (-1,0), bg),
        ("BACKGROUND", (0,1), (-1,-1), WHITE),
        ("BOX",        (0,0), (-1,-1), 1, border),
        ("LINEBELOW",  (0,0), (0,0),  0.5, border),
        ("TOPPADDING",    (0,0), (-1,-1), 5),
        ("BOTTOMPADDING", (0,0), (-1,-1), 5),
        ("LEFTPADDING",   (0,0), (-1,-1), 8),
    ]))
    return t

def two_col_table(headers, rows, col_widths=None, header_bg=NAVY):
    if col_widths is None:
        col_widths = [4*cm, 12.5*cm]
    data = [[Paragraph(f"<b>{h}</b>", S("th", fontName="Helvetica-Bold",
              fontSize=9, textColor=WHITE)) for h in headers]]
    for r in rows:
        data.append([Paragraph(str(c), S("td", fontName="Helvetica",
                     fontSize=9, textColor=colors.black, leading=12)) for c in r])
    t = Table(data, colWidths=col_widths)
    t.setStyle(TableStyle([
        ("BACKGROUND",   (0,0), (-1,0),  header_bg),
        ("ROWBACKGROUNDS",(0,1),(-1,-1), [WHITE, GREY]),
        ("BOX",          (0,0), (-1,-1), 0.8, NAVY),
        ("INNERGRID",    (0,0), (-1,-1), 0.4, colors.HexColor("#CCCCCC")),
        ("TOPPADDING",    (0,0),(-1,-1), 4),
        ("BOTTOMPADDING", (0,0),(-1,-1), 4),
        ("LEFTPADDING",   (0,0),(-1,-1), 6),
        ("VALIGN",        (0,0),(-1,-1), "TOP"),
    ]))
    return t

def wide_table(headers, rows, col_widths=None, header_bg=NAVY):
    if col_widths is None:
        n = len(headers)
        w = 16.5*cm / n
        col_widths = [w]*n
    data = [[Paragraph(f"<b>{h}</b>", S("th2", fontName="Helvetica-Bold",
              fontSize=8.5, textColor=WHITE, leading=11)) for h in headers]]
    for r in rows:
        data.append([Paragraph(str(c), S("td2", fontName="Helvetica",
                     fontSize=8.5, textColor=colors.black, leading=11)) for c in r])
    t = Table(data, colWidths=col_widths)
    t.setStyle(TableStyle([
        ("BACKGROUND",    (0,0), (-1,0),  header_bg),
        ("ROWBACKGROUNDS",(0,1), (-1,-1), [WHITE, GREY]),
        ("BOX",           (0,0), (-1,-1), 0.8, NAVY),
        ("INNERGRID",     (0,0), (-1,-1), 0.4, colors.HexColor("#CCCCCC")),
        ("TOPPADDING",    (0,0), (-1,-1), 4),
        ("BOTTOMPADDING", (0,0), (-1,-1), 4),
        ("LEFTPADDING",   (0,0), (-1,-1), 5),
        ("VALIGN",        (0,0), (-1,-1), "TOP"),
    ]))
    return t

def highlight_box(text, bg=YELLOW, border=ACCENT):
    t = Table([[Paragraph(text, BOX_BODY)]], colWidths=[16.5*cm])
    t.setStyle(TableStyle([
        ("BACKGROUND", (0,0),(-1,-1), bg),
        ("BOX",        (0,0),(-1,-1), 1.2, border),
        ("TOPPADDING",    (0,0),(-1,-1), 7),
        ("BOTTOMPADDING", (0,0),(-1,-1), 7),
        ("LEFTPADDING",   (0,0),(-1,-1), 10),
    ]))
    return t

# ─── Page callbacks ──────────────────────────────────────────────────────────
def on_page(canvas, doc):
    w, h = A4
    # header stripe
    canvas.setFillColor(NAVY)
    canvas.rect(0, h-1.1*cm, w, 1.1*cm, stroke=0, fill=1)
    canvas.setFont("Helvetica-Bold", 8)
    canvas.setFillColor(WHITE)
    canvas.drawString(1.5*cm, h-0.7*cm, "CHN Unit 2 - Epidemiology & Disease Prevention")
    canvas.setFont("Helvetica", 8)
    canvas.drawRightString(w-1.5*cm, h-0.7*cm, "B.Sc Nursing | Quick Revision Guide")
    # footer
    canvas.setFillColor(NAVY)
    canvas.rect(0, 0, w, 0.8*cm, stroke=0, fill=1)
    canvas.setFont("Helvetica", 7.5)
    canvas.setFillColor(WHITE)
    canvas.drawCentredString(w/2, 0.3*cm, f"Page {doc.page}  |  Source: Park's Textbook of Preventive & Social Medicine")

def on_first_page(canvas, doc):
    # no header/footer on cover page - handled inline
    pass

# ─── Content builder ─────────────────────────────────────────────────────────

def build_story():
    story = []

    # ══════════════════════════════════════════════════════════════
    # COVER PAGE
    # ══════════════════════════════════════════════════════════════
    cover_data = [[
        Paragraph("COMMUNITY HEALTH NURSING", COVER_TITLE),
    ]]
    cover = Table(cover_data, colWidths=[16.5*cm])
    cover.setStyle(TableStyle([
        ("BACKGROUND",    (0,0),(-1,-1), NAVY),
        ("TOPPADDING",    (0,0),(-1,-1), 30),
        ("BOTTOMPADDING", (0,0),(-1,-1), 10),
        ("LEFTPADDING",   (0,0),(-1,-1), 20),
        ("RIGHTPADDING",  (0,0),(-1,-1), 20),
    ]))
    story.append(sp(60))
    story.append(cover)

    sub_data = [[
        Paragraph("UNIT 2", S("u2", fontName="Helvetica-Bold", fontSize=36,
                               textColor=ACCENT, alignment=TA_CENTER)),
    ]]
    sub = Table(sub_data, colWidths=[16.5*cm])
    sub.setStyle(TableStyle([
        ("BACKGROUND", (0,0),(-1,-1), TEAL),
        ("TOPPADDING",    (0,0),(-1,-1), 14),
        ("BOTTOMPADDING", (0,0),(-1,-1), 14),
    ]))
    story.append(sub)

    detail_data = [[
        Paragraph("EPIDEMIOLOGY &amp; DISEASE PREVENTION", COVER_TITLE),
        Paragraph("Quick Revision Study Guide", COVER_SUB),
        Paragraph("B.Sc Nursing · 5th Semester · Community Health Nursing - I", COVER_TAG),
        Paragraph("Source: Park's Textbook of Preventive &amp; Social Medicine", COVER_TAG),
    ]]
    detail = Table([[Paragraph("EPIDEMIOLOGY &amp; DISEASE PREVENTION", COVER_TITLE)],
                    [Paragraph("Quick Revision Study Guide", COVER_SUB)],
                    [Paragraph("B.Sc Nursing  ·  5th Semester  ·  CHN - I", COVER_TAG)],
                    [Paragraph("Based on Park's Preventive &amp; Social Medicine", COVER_TAG)],
                    ], colWidths=[16.5*cm])
    detail.setStyle(TableStyle([
        ("BACKGROUND",    (0,0),(-1,-1), NAVY),
        ("TOPPADDING",    (0,0),(-1,-1), 6),
        ("BOTTOMPADDING", (0,0),(-1,-1), 6),
        ("LEFTPADDING",   (0,0),(-1,-1), 20),
        ("RIGHTPADDING",  (0,0),(-1,-1), 20),
    ]))
    story.append(detail)
    story.append(sp(20))

    # Topics covered box
    topics = Table([
        [Paragraph("<b>TOPICS COVERED IN THIS GUIDE</b>", S("tc", fontName="Helvetica-Bold",
                   fontSize=10, textColor=NAVY, alignment=TA_CENTER))],
        [wide_table(
            ["A. Intro to Epidemiology", "B. Disease Causation", "C. Natural History", "D. Chain of Infection"],
            [["Definition, Aims, Uses", "Triad, Web of Causation", "2 Phases, Spectrum", "6 Links, Carriers, Modes"]],
            col_widths=[4.1*cm]*4, header_bg=TEAL
        )],
        [wide_table(
            ["E. Immunity & Vaccination", "F. Epidemiological Studies", "G. Measurements", "H. Levels of Prevention"],
            [["Types, Herd Immunity", "Descriptive, Analytical, Experimental", "Rates, IMR, Incidence", "Primordial to Tertiary"]],
            col_widths=[4.1*cm]*4, header_bg=TEAL
        )],
        [wide_table(
            ["I. Epidemic Investigation", "J. Surveillance", "K. Role of CHN", "L. Quick Revision"],
            [["Steps, Types of Epidemic", "Types, Components", "14 Roles", "Key Definitions & Tables"]],
            col_widths=[4.1*cm]*4, header_bg=TEAL
        )],
    ], colWidths=[16.5*cm])
    topics.setStyle(TableStyle([
        ("BACKGROUND",    (0,0),(0,0), LTBLUE),
        ("BOX",           (0,0),(-1,-1), 1, TEAL),
        ("TOPPADDING",    (0,0),(-1,-1), 6),
        ("BOTTOMPADDING", (0,0),(-1,-1), 6),
        ("LEFTPADDING",   (0,0),(-1,-1), 8),
    ]))
    story.append(topics)
    story.append(PageBreak())

    # ══════════════════════════════════════════════════════════════
    # SECTION A: INTRODUCTION TO EPIDEMIOLOGY
    # ══════════════════════════════════════════════════════════════
    story.append(header_bar("SECTION A: INTRODUCTION TO EPIDEMIOLOGY"))
    story.append(sp(4))

    story.append(h2("1. Definition"))
    story.append(highlight_box(
        '<b>John Last (1988):</b> "The study of the distribution and <b>determinants</b> of '
        'health-related states or events in <b>specified populations</b>, and the application '
        'of this study to the <b>prevention and control</b> of health problems."',
        bg=LTBLUE, border=TEAL))
    story.append(sp(6))
    story.append(body("<b>Word origin:</b> Greek — Epi (upon) + Demos (people) + Logos (study) = "
                      "<i>Study of what falls upon people</i>"))
    story.append(sp(6))

    story.append(h2("2. Epidemiology vs. Clinical Medicine"))
    story.append(wide_table(
        ["Feature", "Clinical Medicine", "Epidemiology"],
        [
            ["Unit of study",  "Individual patient",          "Defined population"],
            ["Concern",        "Sick individuals only",       "Both sick AND healthy"],
            ["Approach",       "Patient comes to doctor",     "Investigator goes to community"],
            ["Goal",           "Diagnose + treat one person", "Identify cause + prevent in population"],
            ["Measure",        "Clinical signs",              "Rates and patterns"],
        ],
        col_widths=[4*cm, 6.2*cm, 6.2*cm]
    ))
    story.append(sp(8))

    story.append(h2("3. Three Aims of Epidemiology (IEA)"))
    for i, item in enumerate([
        "<b>Describe</b> — the distribution and magnitude of health and disease in human populations",
        "<b>Identify</b> — aetiological factors (risk factors) in the pathogenesis of disease",
        "<b>Provide data</b> — for planning, implementation, and evaluation of prevention and treatment services",
    ], 1):
        story.append(body(f"&nbsp;&nbsp;<b>{i}.</b> {item}"))
    story.append(highlight_box(
        "<b>Ultimate aims:</b> (a) Eliminate or reduce the health problem and its consequences; "
        "(b) Promote health and well-being of society as a whole.", bg=LTGREEN, border=GREEN))
    story.append(sp(8))

    story.append(h2("4. Seven Uses of Epidemiology (J.N. Morris)"))
    story.append(wide_table(
        ["#", "Use", "Example"],
        [
            ["1", "Study historical rise and fall of disease", "Tracking decline of smallpox"],
            ["2", "Community diagnosis", "Identifying TB burden in a district"],
            ["3", "Planning and evaluation of health services", "Planning beds, manpower, screening"],
            ["4", "Individual risk estimation", "Counselling smokers about lung cancer risk"],
            ["5", "Health service evaluation", "Measuring effectiveness of a vaccine program"],
            ["6", "Identification of syndromes", "Defining AIDS as a clinical syndrome"],
            ["7", "Search for causes (aetiology)", "Linking H. pylori to peptic ulcer disease"],
        ],
        col_widths=[0.8*cm, 7.5*cm, 8.2*cm]
    ))
    story.append(sp(6))

    # ══════════════════════════════════════════════════════════════
    # SECTION B: DISEASE CAUSATION
    # ══════════════════════════════════════════════════════════════
    story.append(header_bar("SECTION B: DISEASE CAUSATION & EPIDEMIOLOGICAL TRIAD"))
    story.append(sp(4))

    story.append(h2("5. Concepts of Disease Causation"))
    story.append(wide_table(
        ["Theory", "Key Concept", "Limitation"],
        [
            ["Germ Theory (Koch)", "One agent → one disease; Koch's postulates", "Incomplete; most diseases are multifactorial"],
            ["Multi-factorial Causation", "Disease results from multiple interacting factors", "Complex; harder to isolate single cause"],
            ["Web of Causation (MacMahon)", "All predisposing factors form a complex interrelated web", "Removing ONE key link can break the chain"],
        ],
        col_widths=[4.5*cm, 6.5*cm, 5.5*cm]
    ))
    story.append(sp(8))

    story.append(h2("6. Epidemiological Triad — Agent, Host, Environment (+Time)"))
    story.append(highlight_box(
        "<b>Key principle:</b> The primary mission of epidemiology is to <b>break one leg of the triangle</b>, "
        "thereby disrupting the connection among environment, host, and agent, and stopping the outbreak.",
        bg=YELLOW, border=ACCENT))
    story.append(sp(6))

    story.append(wide_table(
        ["Component", "Definition", "Examples / Sub-factors"],
        [
            ["AGENT", "The cause of disease", "Biological: bacteria, viruses, fungi, parasites\nChemical: drugs, pesticides, toxins\nPhysical: radiation, heat\nNutritional: deficiencies/excesses"],
            ["HOST", "Living organism harbouring the agent", "Age, sex, genetics, immunity, nutrition, occupation, lifestyle, comorbidities"],
            ["ENVIRONMENT", "External conditions influencing disease", "Physical: climate, water, air\nBiological: insects, animals\nSocial: housing, SES, sanitation, education"],
            ["TIME", "Temporal relationships", "Incubation period, epidemic duration, seasonal trends, secular trends"],
        ],
        col_widths=[3*cm, 5*cm, 8.5*cm]
    ))
    story.append(sp(6))

    story.append(h3("Agent Properties (Memorise these 6)"))
    story.append(wide_table(
        ["Property", "Definition", "Example"],
        [
            ["Infectivity",      "Ability to enter, survive, and multiply in a host", "Measles — very high infectivity"],
            ["Pathogenicity",    "Ability to produce disease in an infected host", "Rabies — very high pathogenicity"],
            ["Virulence",        "Severity of disease produced (CFR)",              "Ebola — high virulence"],
            ["Antigenicity",     "Ability to induce immunity in host",               "Measles virus — high antigenicity"],
            ["Communicability",  "Ease of transmission to another person",           "Influenza — high communicability"],
            ["Invasiveness",     "Ability to invade host tissues",                   "Salmonella — invades gut wall"],
        ],
        col_widths=[3.5*cm, 7.5*cm, 5.5*cm]
    ))
    story.append(PageBreak())

    # ══════════════════════════════════════════════════════════════
    # SECTION C: NATURAL HISTORY OF DISEASE
    # ══════════════════════════════════════════════════════════════
    story.append(header_bar("SECTION C: NATURAL HISTORY OF DISEASE (Leavell & Clark)"))
    story.append(sp(4))

    story.append(highlight_box(
        "<b>Definition:</b> The way a disease evolves over time from the earliest stage of its "
        "prepathogenesis phase to its termination as recovery, disability, or death — "
        "<b>in the absence of treatment or prevention.</b>",
        bg=LTBLUE, border=TEAL))
    story.append(sp(6))

    story.append(wide_table(
        ["Phase", "What Happens", "Intervention Level"],
        [
            ["PREPATHOGENESIS\n(Phase 1)",
             "Agent NOT yet entered man. Agent, host, and environment are interacting in the environment. "
             "Man is 'in the midst of disease'. All of us are potentially in this phase for many diseases.",
             "Primordial &\nPrimary Prevention"],
            ["PATHOGENESIS\n(Phase 2) — Early",
             "Agent enters host. Tissue/physiological changes begin. Below the clinical horizon. "
             "No symptoms yet (presymptomatic stage in chronic diseases).",
             "Secondary Prevention\n(Screening)"],
            ["PATHOGENESIS\n(Phase 2) — Late",
             "Signs and symptoms appear. Clinical stage begins. Disease well advanced. "
             "Outcome: Recovery / Disability / Death.",
             "Tertiary Prevention\n(Rehabilitation)"],
        ],
        col_widths=[3.5*cm, 9*cm, 4*cm]
    ))
    story.append(sp(8))

    story.append(h3("Spectrum of Disease / Gradient of Infection"))
    story.append(wide_table(
        ["Type", "Description", "Epidemiological Importance"],
        [
            ["Clinical illness",       "Mild, moderate, severe, or fatal",                           "Reported; appear in statistics"],
            ["Subclinical/Inapparent", "Agent multiplies; no symptoms; person can spread disease",   "Most important — ambulatory; not in stats; maintain endemicity"],
            ["Latent infection",       "Agent dormant; no shedding (e.g., herpes simplex)",          "Maintains agent in population"],
            ["Carrier state",          "Harbours agent without disease but can transmit",            "Silent spreaders in community"],
        ],
        col_widths=[4*cm, 6.5*cm, 6*cm]
    ))
    story.append(highlight_box(
        "⭐ <b>Exam point:</b> Subclinical cases are MORE important epidemiologically than clinical cases "
        "because they are ambulant (moving freely), undetected, and do NOT appear in statistics — "
        "yet they maintain the chain of infection in the community.",
        bg=LTRED, border=RED))
    story.append(sp(6))

    story.append(h3("Types of Carriers"))
    story.append(wide_table(
        ["Type", "Definition", "Example Disease"],
        [
            ["Incubatory",   "Carries and spreads during incubation period",           "Measles, Cholera"],
            ["Convalescent", "Continues to carry and shed after clinical recovery",    "Typhoid fever"],
            ["Chronic",      "Carries for months to years",                           "Typhoid (Typhoid Mary), Hepatitis B"],
            ["Healthy",      "Never had disease; acquires agent without becoming ill", "Diphtheria, Meningococcus"],
            ["Contact",      "Acquires infection from a case without developing disease", "Various"],
        ],
        col_widths=[3.5*cm, 7.5*cm, 5.5*cm]
    ))
    story.append(sp(4))

    # ══════════════════════════════════════════════════════════════
    # SECTION D: CHAIN OF INFECTION
    # ══════════════════════════════════════════════════════════════
    story.append(header_bar("SECTION D: CHAIN OF INFECTION"))
    story.append(sp(4))

    chain_box = Table([
        [Paragraph("<b>6 LINKS IN THE CHAIN OF INFECTION</b>",
                   S("cl", fontName="Helvetica-Bold", fontSize=10, textColor=WHITE, alignment=TA_CENTER))],
        [wide_table(
            ["1. Infectious Agent", "2. Reservoir", "3. Portal of Exit", "4. Mode of Transmission", "5. Portal of Entry", "6. Susceptible Host"],
            [["Bacteria, Virus,\nFungi, Parasite",
              "Human, Animal,\nEnvironment",
              "Resp tract, GIT,\nBlood, Skin, Placenta",
              "Direct / Indirect\nContact, Air, Vector",
              "Inhalation,\nIngestion, Skin",
              "No immunity;\nMalnourished;\nYoung/Old"]],
            col_widths=[2.75*cm]*6, header_bg=TEAL
        )],
        [Paragraph("<i>To stop an epidemic — break ANY ONE link in this chain!</i>",
                   S("ci", fontName="Helvetica-Oblique", fontSize=9, textColor=WHITE, alignment=TA_CENTER))],
    ], colWidths=[16.5*cm])
    chain_box.setStyle(TableStyle([
        ("BACKGROUND",    (0,0),(0,0), NAVY),
        ("BACKGROUND",    (0,2),(0,2), NAVY),
        ("BOX",           (0,0),(-1,-1), 1.5, NAVY),
        ("TOPPADDING",    (0,0),(-1,-1), 8),
        ("BOTTOMPADDING", (0,0),(-1,-1), 8),
        ("LEFTPADDING",   (0,0),(-1,-1), 6),
    ]))
    story.append(chain_box)
    story.append(sp(8))

    story.append(h2("Modes of Transmission"))
    story.append(wide_table(
        ["Mode", "Type", "Description", "Examples"],
        [
            ["DIRECT",   "Direct contact",     "Physical touching, kissing, sexual contact", "STIs, Rabies"],
            ["DIRECT",   "Droplet infection",  "Large droplets &lt;1 metre",                 "Influenza, Measles"],
            ["DIRECT",   "Transplacental",     "Mother to fetus via placenta",               "Rubella, Syphilis, HIV"],
            ["INDIRECT", "Airborne",           "Droplet nuclei &lt;5 microns; travel far",   "TB, Varicella"],
            ["INDIRECT", "Fomites",            "Contaminated inanimate objects",             "Conjunctivitis, Tinea"],
            ["INDIRECT", "Vehicle-borne",      "Contaminated food, water, milk, blood",      "Cholera (water), HBV (blood)"],
            ["INDIRECT", "Vector-borne",       "Living organism transmits agent",            "Malaria (mosquito), Plague (flea)"],
        ],
        col_widths=[2.5*cm, 3.5*cm, 5.5*cm, 5*cm]
    ))
    story.append(sp(6))
    story.append(h3("Vector Transmission Types"))
    story.append(wide_table(
        ["Type", "Mechanism", "Example"],
        [
            ["Mechanical transmission", "Agent passively transported on vector's body/feet; NO development in vector", "Housefly + dysentery bacilli"],
            ["Biological transmission", "Agent undergoes development/multiplication IN the vector (needs incubation)", "Malaria parasite in Anopheles mosquito"],
        ],
        col_widths=[4*cm, 8*cm, 4.5*cm]
    ))
    story.append(PageBreak())

    # ══════════════════════════════════════════════════════════════
    # KEY DEFINITIONS BOX (compact)
    # ══════════════════════════════════════════════════════════════
    story.append(header_bar("KEY EPIDEMIOLOGICAL DEFINITIONS"))
    story.append(sp(4))
    story.append(wide_table(
        ["Term", "Definition", "Term", "Definition"],
        [
            ["Epidemic",     "Disease occurrence clearly in excess of normal expectancy in a defined area/period",
             "Incubation period", "Time between entry of agent and appearance of first symptoms"],
            ["Endemic",      "Constant presence of disease/agent in a given geographic area",
             "Communicable period", "Time during which infectious agent may be transferred to another person"],
            ["Pandemic",     "Worldwide spread of a new disease across international boundaries",
             "Generation time", "Interval from receipt of infection to maximal infectivity of host"],
            ["Sporadic",     "Disease occurring irregularly, without apparent connection between cases",
             "Herd immunity", "Resistance of a group due to high proportion of immune members"],
            ["Nosocomial",   "Hospital-acquired infection (not present at time of admission)",
             "Index case", "First case to come to attention of investigator (≠ primary case)"],
            ["Opportunistic","Infection by normally harmless organisms in immunocompromised host",
             "Secondary case", "Cases developing from contact with primary case"],
            ["Zoonosis",     "Infectious disease transmitted from animals to humans (e.g., Rabies, Plague)",
             "Fomite", "Inanimate object that carries and transmits infectious agents"],
            ["Iatrogenic",   "Disease caused by medical treatment or diagnostic procedures",
             "SAR", "Secondary attack rate = cases among susceptible contacts / total susceptible contacts × 100"],
        ],
        col_widths=[3*cm, 5.2*cm, 3*cm, 5.2*cm]
    ))
    story.append(sp(8))

    # ══════════════════════════════════════════════════════════════
    # SECTION E: IMMUNITY AND VACCINATION
    # ══════════════════════════════════════════════════════════════
    story.append(header_bar("SECTION E: IMMUNITY & VACCINATION"))
    story.append(sp(4))

    story.append(h2("Types of Immunity"))
    story.append(wide_table(
        ["Type", "How Acquired", "Onset", "Duration", "Examples"],
        [
            ["Active Natural",    "From actual disease/infection",                          "Slow (days-weeks)", "Lifelong",   "Post-measles, post-chickenpox"],
            ["Active Artificial", "Vaccination",                                            "Slow",              "Long",       "DPT, OPV, BCG, MMR vaccines"],
            ["Passive Natural",   "Maternal IgG via placenta; IgA via colostrum/breastmilk","Immediate",         "Short (3-6 months)", "Newborn protection"],
            ["Passive Artificial","Ready-made antibodies injected (antiserum/Ig)",          "Immediate",         "Short (weeks)", "Tetanus antitoxin, Rabies Ig"],
        ],
        col_widths=[3.5*cm, 5*cm, 2.5*cm, 3*cm, 4.5*cm] if False else None
    ))
    story.append(sp(6))

    story.append(h3("Immunoglobulins — Quick Reference"))
    story.append(wide_table(
        ["Ig", "% of serum", "Key Features"],
        [
            ["IgG", "80%",  "Crosses placenta (neonatal protection); anti-viral, anti-toxin; half-life 21 days"],
            ["IgM", "6%",   "First to appear after infection; indicates RECENT infection; high agglutinating ability; half-life 7 days"],
            ["IgA", "13%",  "Found in secretions (saliva, milk, colostrum, tears, mucus); protects mucous membranes"],
            ["IgD", "&lt;1%", "Found on surface of B-lymphocytes; receptor function"],
            ["IgE", "&lt;1%", "Involved in allergic reactions and parasitic infections"],
        ],
        col_widths=[1.5*cm, 2.5*cm, 12.5*cm]
    ))
    story.append(sp(6))

    story.append(h3("Herd Immunity Thresholds"))
    story.append(wide_table(
        ["Disease", "Threshold (%)", "Disease", "Threshold (%)"],
        [
            ["Measles",    "92–95%", "Polio",    "80–85%"],
            ["Diphtheria", "83–85%", "Smallpox", "80–85%"],
            ["Rubella",    "83–85%", "Pertussis","92–94%"],
        ],
        col_widths=[5*cm, 3.2*cm, 5*cm, 3.3*cm]
    ))
    story.append(sp(6))

    story.append(h3("Live Attenuated vs. Killed (Inactivated) Vaccines"))
    story.append(wide_table(
        ["Feature", "Live Attenuated", "Killed / Inactivated"],
        [
            ["Doses required",      "Single dose usually",  "Multiple doses"],
            ["Adjuvant needed",     "No",                   "Yes"],
            ["Duration of immunity","Longer",                "Shorter"],
            ["Level of protection", "Greater (mimics natural infection)", "Lower"],
            ["Immunoglobulin",      "IgA and IgG",           "IgG only"],
            ["Mucosal immunity",    "Yes",                   "Poor"],
            ["Cell-mediated immunity", "Yes",                "Poor"],
            ["Reversion to virulence", "Possible",          "No"],
            ["Stability",           "Low (needs cold chain)","High"],
            ["Examples",            "BCG, OPV, MMR, Varicella", "IPV, whole-cell pertussis, Typhoid TAB"],
        ],
        col_widths=[5.5*cm, 5.5*cm, 5.5*cm]
    ))
    story.append(PageBreak())

    # ══════════════════════════════════════════════════════════════
    # SECTION F: EPIDEMIOLOGICAL STUDIES
    # ══════════════════════════════════════════════════════════════
    story.append(header_bar("SECTION F: EPIDEMIOLOGICAL STUDY DESIGNS"))
    story.append(sp(4))

    story.append(wide_table(
        ["Study Type", "Direction", "Rare Disease?", "Calculates", "Cost/Time", "Main Bias", "Best for"],
        [
            ["Descriptive",    "—",          "Yes/No", "Prevalence",         "Low / Short",  "—",           "Hypothesis generation, disease burden"],
            ["Cross-sectional","Simultaneous","Yes/No", "Prevalence only",   "Low / Short",  "—",           "Vaccine coverage, disease burden"],
            ["Case-Control",   "Backward",   "YES",    "Odds Ratio (OR)",   "Low / Short",  "Recall bias", "Rare diseases; quick hypothesis testing"],
            ["Cohort",         "Forward",    "No",     "Incidence, RR",     "High / Long",  "Loss to follow-up","Establishing causation; multiple outcomes"],
            ["RCT",            "Forward",    "No",     "Efficacy, RR",      "Very High",    "Minimal",     "Testing interventions; gold standard"],
        ],
        col_widths=[3*cm, 2.5*cm, 2*cm, 2.5*cm, 2*cm, 2.5*cm, 2*cm]
    ))
    story.append(sp(8))

    story.append(h2("A. Descriptive Epidemiology — 3 W's"))
    story.append(wide_table(
        ["Question", "Dimension", "Variables Studied"],
        [
            ["WHEN is disease occurring?", "Time distribution",   "Secular trends, seasonal variation, epidemic curves, point-time"],
            ["WHERE is it occurring?",     "Place distribution",  "Geographic areas, rural/urban, spot maps, international comparison"],
            ["WHO is getting disease?",    "Person distribution", "Age, sex, ethnicity, occupation, SES, religion, marital status, lifestyle"],
        ],
        col_widths=[4*cm, 4*cm, 8.5*cm]
    ))
    story.append(sp(6))

    story.append(h2("B. Case-Control Study vs. Cohort Study"))
    story.append(wide_table(
        ["Feature", "Case-Control (Retrospective)", "Cohort (Prospective)"],
        [
            ["Starting point",  "Cases (with disease) + Controls (without)", "Exposed vs. Non-exposed persons — all disease-free at start"],
            ["Direction",       "Backward: effect → cause",                  "Forward: cause → effect"],
            ["Time orientation","Past exposures examined retrospectively",    "Future outcomes followed prospectively"],
            ["Measure",         "Odds Ratio (OR)",                           "Relative Risk (RR), Incidence Rate"],
            ["Rare diseases",   "YES — efficient for rare diseases",         "NO — impractical for rare diseases"],
            ["Advantages",      "Cheap, quick, multiple exposures studied",  "Establishes temporal sequence; calculates incidence; less bias"],
            ["Disadvantages",   "Recall bias; cannot calculate incidence",   "Expensive, time-consuming; loss to follow-up"],
        ],
        col_widths=[4*cm, 6.2*cm, 6.2*cm]
    ))
    story.append(sp(6))

    story.append(h2("C. Experimental Epidemiology"))
    story.append(body("Investigator <b>controls conditions</b>. Gold standard = <b>Randomized Controlled Trial (RCT)</b>."))
    story.append(wide_table(
        ["Type", "Description", "Example"],
        [
            ["RCT (Clinical Trial)",  "Subjects randomly assigned to intervention or control", "Testing efficacy of a new vaccine"],
            ["Field Trial",            "Conducted on healthy persons in community",              "OPV field trials (Sabin vaccine)"],
            ["Community Trial",        "Entire communities randomized",                         "Water fluoridation trials"],
            ["Animal experiment",      "Tests in animals before human application",             "Testing pathogenesis of leprosy in armadillos"],
        ],
        col_widths=[4*cm, 7*cm, 5.5*cm]
    ))
    story.append(PageBreak())

    # ══════════════════════════════════════════════════════════════
    # SECTION G: MEASUREMENTS IN EPIDEMIOLOGY
    # ══════════════════════════════════════════════════════════════
    story.append(header_bar("SECTION G: MEASUREMENTS IN EPIDEMIOLOGY"))
    story.append(sp(4))

    story.append(h2("Tools of Measurement"))
    story.append(wide_table(
        ["Tool", "Definition", "Numerator includes denominator?", "Example"],
        [
            ["RATE",       "Occurrence of event in defined population over a given time; expresses RISK",
             "Numerator is part of denominator", "Death rate = Deaths/Mid-year population × 1000"],
            ["RATIO",      "Relation in size between two quantities",
             "Numerator is NOT part of denominator", "Sex ratio = Males : Females"],
            ["PROPORTION", "Ratio expressed as percentage; numerator included in denominator",
             "YES", "% hypertensives = Hypertensive/Total × 100"],
        ],
        col_widths=[2.5*cm, 5.5*cm, 4*cm, 4.5*cm]
    ))
    story.append(sp(8))

    story.append(h2("Key Mortality Rates"))
    story.append(wide_table(
        ["Rate", "Formula", "Multiplier", "Significance"],
        [
            ["Crude Death Rate (CDR)",       "Total deaths / Mid-year population",          "× 1,000",   "Overall mortality"],
            ["Infant Mortality Rate (IMR)",   "Deaths &lt;1 yr / Live births",               "× 1,000",   "⭐ Most sensitive indicator of community health"],
            ["Neonatal Mortality Rate",       "Deaths &lt;28 days / Live births",            "× 1,000",   "Reflects antenatal + delivery care quality"],
            ["Perinatal Mortality Rate",      "(Stillbirths + Deaths &lt;7 days) / Births",  "× 1,000",   "Quality of obstetric care"],
            ["Maternal Mortality Rate (MMR)", "Maternal deaths / Live births",              "× 100,000", "Pregnancy-related deaths"],
            ["Case Fatality Rate (CFR)",      "Deaths from disease / Cases of disease",      "× 100",     "Severity / virulence of disease"],
            ["Proportional Mortality Rate",   "Deaths from cause / All deaths",             "× 100",     "Relative importance of a cause"],
        ],
        col_widths=[4.5*cm, 5.5*cm, 2*cm, 4.5*cm]
    ))
    story.append(sp(6))

    story.append(h2("Incidence vs. Prevalence"))
    story.append(wide_table(
        ["Feature", "INCIDENCE", "PREVALENCE"],
        [
            ["Measures",          "NEW cases appearing in a period",           "ALL existing cases at a point/period"],
            ["Time",              "Over a defined period",                     "At a point (point prevalence) or period"],
            ["Population",        "Population at RISK (no pre-existing cases)","Total population"],
            ["Formula",           "New cases / Pop. at risk × 1000",          "All cases / Total population × 1000"],
            ["Use",               "Studying risk and causation; dynamic",      "Planning services; static measure"],
            ["Relationship",      "—",                                         "Prevalence ≈ Incidence × Duration"],
        ],
        col_widths=[3.5*cm, 6.5*cm, 6.5*cm]
    ))
    story.append(highlight_box(
        "<b>Relationship:</b> Prevalence ≈ Incidence × Mean duration of disease.  "
        "If TB incidence = 200/100,000/yr and average duration = 2 years: "
        "Prevalence ≈ 200 × 2 = <b>400/100,000</b>",
        bg=LTGREEN, border=GREEN))
    story.append(PageBreak())

    # ══════════════════════════════════════════════════════════════
    # SECTION H: LEVELS OF PREVENTION
    # ══════════════════════════════════════════════════════════════
    story.append(header_bar("SECTION H: LEVELS OF PREVENTION"))
    story.append(sp(4))

    # Summary table first
    story.append(wide_table(
        ["Level", "Phase of Disease", "Goal", "Key Interventions", "Examples"],
        [
            ["PRIMORDIAL",  "Before risk factors develop",      "Prevent emergence of risk factors",        "Individual & mass education; policy changes", "Anti-smoking campaigns in schools; promoting active lifestyle in children"],
            ["PRIMARY",     "Prepathogenesis (before disease onset)", "Prevent disease from ever occurring", "Health promotion + Specific protection",  "Immunization, safe water, sanitation, chemoprophylaxis, seat belts"],
            ["SECONDARY",   "Early pathogenesis",               "Early detection & prompt treatment (EDPT)","Screening, case-finding, surveillance",   "Pap smear, blood pressure screening, TB contact tracing, sputum test"],
            ["TERTIARY",    "Late pathogenesis / disability",   "Reduce disability; rehabilitate",          "Rehabilitation: physical, social, vocational","Physiotherapy after stroke, DOTS for TB, prosthetics, vocational training"],
        ],
        col_widths=[2.5*cm, 3.5*cm, 3.5*cm, 3.5*cm, 3.5*cm]
    ))
    story.append(sp(8))

    story.append(h2("Detailed Notes on Each Level"))

    # Primordial
    story.append(h3("1. Primordial Prevention"))
    for line in [
        "Newest concept; especially relevant for <b>chronic diseases</b>",
        "Prevents the <b>emergence of risk factors themselves</b> in populations where they have not yet appeared",
        "Targets <b>children</b> before harmful lifestyles (smoking, poor diet, inactivity) are formed",
        "Main intervention: <b>Individual and mass education; policy measures</b>",
    ]:
        story.append(body(f"• {line}"))
    story.append(sp(4))

    # Primary
    story.append(h3("2. Primary Prevention"))
    story.append(body("<b>Definition:</b> 'Action taken <i>prior to the onset of disease</i> which removes "
                      "the possibility that disease will ever occur.' Intervention in the <b>prepathogenesis phase</b>."))
    story.append(sp(3))
    story.append(wide_table(
        ["Approach", "What it Involves", "Examples"],
        [
            ["Health Promotion\n(Non-specific)", "Improve overall health; positive health", "Nutrition education, safe housing, exercise, maternal/child health care, genetic counselling"],
            ["Specific Protection", "Target specific agents or risk factors", "Immunization, chemoprophylaxis, iodized salt, fluoridation of water, occupational hazard protection, helmets/seatbelts"],
        ],
        col_widths=[4*cm, 5.5*cm, 7*cm]
    ))
    story.append(sp(3))
    story.append(body("<b>WHO strategies for chronic disease primary prevention:</b>"))
    for line in [
        "<b>Population (mass) strategy</b> — Directed at the whole population regardless of individual risk level. "
        "Small reductions in average BP or cholesterol across a population produce large reductions in CVD.",
        "<b>High-risk strategy</b> — Targets individuals at special risk, identified by clinical screening.",
    ]:
        story.append(body(f"• {line}"))
    story.append(sp(4))

    # Secondary
    story.append(h3("3. Secondary Prevention — EDPT"))
    story.append(highlight_box(
        "<b>EDPT = Early Diagnosis and Prompt Treatment</b> — The cornerstone of secondary prevention.",
        bg=LTBLUE, border=TEAL))
    story.append(sp(3))
    story.append(wide_table(
        ["Tool", "Description", "Examples"],
        [
            ["Mass Screening",       "Apply tests to apparently healthy populations to detect pre-clinical disease", "Pap smear, mammography, blood sugar testing"],
            ["Case-finding",         "Active search for cases in the community (not waiting for patients to present)", "TB sputum surveys, leprosy surveys"],
            ["Contact tracing",      "Identify contacts of cases and test/treat them",    "TB contacts, STI contact tracing"],
            ["Disease surveillance", "Continued monitoring of disease occurrence",         "Weekly disease reporting by health facilities"],
        ],
        col_widths=[3.5*cm, 7*cm, 6*cm]
    ))
    story.append(sp(3))
    story.append(h3("Wilson & Jungner Criteria for a Good Screening Program"))
    for c in [
        "Disease is an important health problem",
        "Accepted treatment or intervention is available",
        "Facilities for diagnosis and treatment are available",
        "Recognized latent or early symptomatic stage exists",
        "Suitable test or examination available (valid, reliable, acceptable)",
        "Test is safe and acceptable to the population",
        "Natural history of disease should be adequately understood",
        "Cost should be economically balanced against possible expenditure on medical care",
    ]:
        story.append(body(f"• {c}"))
    story.append(sp(4))

    # Tertiary
    story.append(h3("4. Tertiary Prevention"))
    story.append(body("Reduces or limits impairment and disability; promotes rehabilitation and reintegration."))
    story.append(sp(3))
    story.append(wide_table(
        ["Type of Rehabilitation", "Focus", "Examples"],
        [
            ["Medical rehabilitation",     "Restore physical/physiological function",       "Physiotherapy, occupational therapy, prosthetics"],
            ["Psychological rehabilitation","Restore mental health and emotional wellbeing",  "Counselling, psychotherapy, support groups"],
            ["Social rehabilitation",       "Restore social relationships and community life","Social reintegration, home visits, family support"],
            ["Vocational rehabilitation",   "Return to productive employment",               "Skill training, modified work duties for TB/leprosy patients"],
        ],
        col_widths=[4.5*cm, 5.5*cm, 6.5*cm]
    ))
    story.append(PageBreak())

    # ══════════════════════════════════════════════════════════════
    # SECTION I: EPIDEMIC INVESTIGATION
    # ══════════════════════════════════════════════════════════════
    story.append(header_bar("SECTION I: EPIDEMIC INVESTIGATION"))
    story.append(sp(4))

    story.append(h2("Steps in Investigating an Epidemic"))
    story.append(wide_table(
        ["Step", "Action", "Details"],
        [
            ["1", "Confirm the diagnosis",               "Verify cases are real; establish case definition; laboratory confirmation"],
            ["2", "Confirm existence of epidemic",       "Compare current incidence to expected (baseline) — is it truly in excess?"],
            ["3", "Describe the epidemic",               "TIME (epidemic curve), PLACE (spot map), PERSON (age, sex, occupation, habits)"],
            ["4", "Formulate a hypothesis",              "Based on descriptive data: likely source? mode of transmission? vehicle?"],
            ["5", "Test the hypothesis",                 "Analytical study (case-control / cohort); laboratory analysis of samples, food, water"],
            ["6", "Implement control measures",         "Eliminate source, break transmission chain, protect susceptibles (vaccination/chemoprophylaxis)"],
            ["7", "Report and communicate findings",    "Write report to health authorities; recommendations for future prevention"],
        ],
        col_widths=[1*cm, 4.5*cm, 11*cm]
    ))
    story.append(sp(6))

    story.append(h2("Types of Epidemics"))
    story.append(wide_table(
        ["Type", "Description", "Epidemic Curve Pattern", "Example"],
        [
            ["Point source",       "All cases exposed at same place and time",                "Sharp rapid rise; all within one incubation period", "Food poisoning at a wedding feast"],
            ["Propagated",         "Person-to-person spread; successive generations of cases", "Multiple waves; each wave = one incubation period",  "Measles in a school"],
            ["Continuous source",  "Ongoing exposure to contaminated common source",          "Prolonged plateau; no clear peak",                   "Cholera from ongoing polluted water supply"],
            ["Mixed",              "Starts as point source, then propagates person-to-person", "Initial sharp peak, then prolonged tail",            "Hepatitis A: contaminated food + person-to-person"],
        ],
        col_widths=[3*cm, 4.5*cm, 4.5*cm, 4.5*cm]
    ))
    story.append(sp(8))

    # ══════════════════════════════════════════════════════════════
    # SECTION J: SURVEILLANCE
    # ══════════════════════════════════════════════════════════════
    story.append(header_bar("SECTION J: DISEASE SURVEILLANCE"))
    story.append(sp(4))
    story.append(highlight_box(
        "<b>Alexander Langmuir (1963):</b> 'The continued watchfulness over the distribution and trends of "
        "incidence through the systematic collection, consolidation and evaluation of morbidity and mortality "
        "reports and other relevant data.'",
        bg=LTBLUE, border=TEAL))
    story.append(sp(6))

    story.append(wide_table(
        ["Type", "Description", "Advantage", "Disadvantage"],
        [
            ["Passive",    "Routine reporting by health facilities upward; no special effort",      "Simple; low cost",             "Incomplete; under-reporting"],
            ["Active",     "Active search for cases by health workers (home visits, contact tracing)","Complete; accurate",          "Resource-intensive; expensive"],
            ["Sentinel",   "Data from selected representative sentinel sites",                       "Cost-effective; focused",      "May miss local variation"],
            ["Syndromic",  "Monitors symptoms/syndromes before confirmed diagnoses",                 "Early outbreak detection",     "Non-specific; many false alarms"],
            ["Serological","Studies antibody levels in population",                                  "Estimates population immunity", "Requires laboratory support"],
        ],
        col_widths=[3*cm, 5.5*cm, 3.5*cm, 4.5*cm]
    ))
    story.append(sp(6))

    story.append(h3("Components of a Surveillance System"))
    for s in ["<b>Data collection</b> — Case reporting, vital statistics, laboratory reports, field surveys",
              "<b>Data compilation and analysis</b> — Tabulation, processing, and epidemiological interpretation",
              "<b>Dissemination of information</b> — Sharing findings with health authorities and relevant stakeholders"]:
        story.append(body(f"• {s}"))
    story.append(PageBreak())

    # ══════════════════════════════════════════════════════════════
    # SECTION K: ROLE OF CHN
    # ══════════════════════════════════════════════════════════════
    story.append(header_bar("SECTION K: ROLE OF COMMUNITY HEALTH NURSE IN EPIDEMIOLOGY"))
    story.append(sp(4))
    story.append(wide_table(
        ["#", "Role", "What the CHN Does"],
        [
            ["1",  "Surveillance & Reporting",    "Report notifiable diseases to health authorities; maintain disease registers"],
            ["2",  "Case Finding",                "Actively search for cases in community through home visits and outreach"],
            ["3",  "Contact Tracing",             "Identify, test, and follow up contacts of communicable disease cases"],
            ["4",  "Health Assessment",           "Conduct community health surveys, needs assessments, and family health assessments"],
            ["5",  "Outbreak Investigation",      "Assist in epidemiological investigation of outbreaks; collect data"],
            ["6",  "Immunization",                "Conduct and oversee vaccination programs; maintain cold chain"],
            ["7",  "Screening Programs",          "Participate in and manage screening for early disease detection"],
            ["8",  "Health Education",            "Educate community on disease prevention, nutrition, sanitation, lifestyle"],
            ["9",  "Risk Factor Identification",  "Identify high-risk individuals and groups using epidemiological data"],
            ["10", "Data Collection",             "Gather morbidity/mortality data for community diagnosis and health planning"],
            ["11", "Referral",                    "Refer cases requiring higher-level diagnostic or treatment care"],
            ["12", "Rehabilitation Support",      "Support patients and families during rehabilitation; disability prevention"],
            ["13", "Intersectoral Coordination",  "Liaise with public health officials, physicians, community leaders, NGOs"],
            ["14", "Advocacy",                    "Advocate for resources, policies, and social determinants to prevent disease"],
        ],
        col_widths=[0.8*cm, 4.5*cm, 11.2*cm]
    ))
    story.append(PageBreak())

    # ══════════════════════════════════════════════════════════════
    # SECTION L: QUICK REVISION / EXAM CHEAT SHEET
    # ══════════════════════════════════════════════════════════════
    story.append(header_bar("SECTION L: QUICK REVISION — EXAM CHEAT SHEET"))
    story.append(sp(4))

    story.append(highlight_box(
        "<b>⭐ HIGH-YIELD POINTS TO REMEMBER FOR EXAMS ⭐</b>",
        bg=NAVY, border=NAVY))
    story.append(sp(4))

    exam_points = [
        "Epidemiological triad = <b>Agent + Host + Environment</b> (+Time)",
        "Natural history of disease described by <b>Leavell and Clark</b> — 2 phases: Prepathogenesis + Pathogenesis",
        "4 levels of prevention: <b>Primordial → Primary → Secondary → Tertiary</b>",
        "Secondary prevention = <b>EDPT</b> (Early Diagnosis and Prompt Treatment)",
        "<b>Incidence</b> = NEW cases; <b>Prevalence</b> = ALL existing cases",
        "<b>IMR</b> = most sensitive indicator of community health status",
        "<b>Case-control study</b> = retrospective (looks backward); calculates <b>Odds Ratio</b>",
        "<b>Cohort study</b> = prospective (follows forward); calculates <b>Relative Risk</b>",
        "<b>RCT</b> = experimental study; <b>gold standard</b> for testing interventions",
        "Carrier types: <b>Incubatory, Convalescent, Chronic, Healthy</b>",
        "Herd immunity threshold for <b>measles = 92–95%</b>",
        "<b>IgG</b> crosses placenta (neonatal protection); <b>IgA</b> found in secretions; <b>IgM</b> = recent infection",
        "Subclinical cases are <b>MORE important</b> epidemiologically — ambulatory, undetected, maintain endemicity",
        "Web of causation = <b>MacMahon</b>; removing even <b>one key link</b> can break the chain",
        "<b>Nosocomial infection</b> = hospital-acquired; not present at time of admission",
        "Index case ≠ Primary case: Index = <b>first to come to investigator's attention</b>",
        "<b>Herd immunity</b> = basis of immunization programs; protects those who cannot be vaccinated",
        "Primary case = first case in population; Secondary cases = cases from contact with primary case",
        "Point source epidemic = all cases within <b>ONE incubation period</b>; sharp rise and fall",
        "Surveillance by <b>Langmuir</b>: 'continued watchfulness over distribution and trends'",
    ]

    for pt in exam_points:
        story.append(body(f"✓ {pt}"))

    story.append(sp(10))

    story.append(h2("Master Definitions Table"))
    story.append(wide_table(
        ["Term", "One-Line Definition"],
        [
            ["Epidemiology",         "Study of distribution and determinants of disease in populations (John Last, 1988)"],
            ["Incidence",            "New cases per population at risk per unit time"],
            ["Prevalence",           "All existing cases per total population at a point in time"],
            ["Carrier",              "Person who harbours agent without disease but can transmit"],
            ["Herd immunity",        "Group protection from disease when enough members are immune"],
            ["Secondary attack rate","% of susceptible contacts developing disease after exposure to primary case"],
            ["Screening",            "Presumptive identification of unrecognised disease using rapid tests in apparently healthy persons"],
            ["Epidemic",             "Disease occurrence clearly in excess of normal expectancy in a defined area/period"],
            ["Nosocomial infection", "Hospital-acquired infection — not present or incubating at time of admission"],
            ["Surveillance",         "Continued watchfulness over disease distribution and trends (Langmuir)"],
            ["IMR",                  "Deaths under 1 year per 1,000 live births — most sensitive health indicator"],
            ["CFR",                  "Deaths from a disease / Total cases × 100 — measures disease severity"],
            ["Cohort study",         "Prospective study following exposed vs. unexposed groups forward in time"],
            ["Case-control study",   "Retrospective study comparing cases and controls for past exposures"],
            ["RCT",                  "Randomized controlled trial — gold standard experimental study design"],
        ],
        col_widths=[4.5*cm, 12*cm]
    ))

    story.append(sp(10))

    # Back cover
    story.append(HRFlowable(width="100%", thickness=1, color=TEAL))
    story.append(sp(6))
    story.append(Paragraph(
        "This study guide covers all topics of <b>Unit 2: Epidemiology and Disease Prevention</b> "
        "for B.Sc Nursing (5th Semester) — Community Health Nursing I. "
        "Content is sourced from <b>Park's Textbook of Preventive and Social Medicine</b> "
        "and aligned with the Indian Nursing Council (INC) syllabus.",
        S("Disc", fontName="Helvetica", fontSize=8.5, textColor=DARKGREY,
          alignment=TA_CENTER, leading=13)))

    return story


# ─── Build PDF ────────────────────────────────────────────────────────────────
def main():
    doc = SimpleDocTemplate(
        OUTPUT,
        pagesize=A4,
        topMargin=1.4*cm,
        bottomMargin=1.2*cm,
        leftMargin=1.5*cm,
        rightMargin=1.5*cm,
        title="CHN Unit 2 - Epidemiology & Disease Prevention Study Guide",
        author="Community Health Nursing - B.Sc Nursing",
        subject="Epidemiology, Disease Prevention, Community Health Nursing",
    )
    story = build_story()
    doc.build(story, onFirstPage=on_page, onLaterPages=on_page)
    print(f"PDF created: {OUTPUT}")

if __name__ == "__main__":
    main()
Running Command

cd /home/daytona/workspace/chn-unit2 && python generate_pdf.py 2>&1

Running Command

ls -lh /home/daytona/workspace/chn-unit2/CHN_Unit2_Study_Guide.pdf

Your study guide PDF is ready! Click the link below to download it:

CHN Unit2 Study Guide

PDF Document · PDF


What's inside the PDF (12 sections, ~10 pages):
SectionTopics
AIntroduction to Epidemiology — Definition, Aims, 7 Uses, Epi vs. Clinical Medicine
BDisease Causation — Epidemiological Triad, Web of Causation, Agent Properties
CNatural History of Disease — 2 Phases, Spectrum of Disease, Types of Carriers
DChain of Infection — 6 Links, Modes of Transmission, Vector types
EImmunity & Vaccination — Types of Immunity, Immunoglobulins, Herd Immunity, Live vs. Killed vaccines
FEpidemiological Study Designs — Descriptive, Case-control, Cohort, RCT comparison table
GMeasurements — Rate/Ratio/Proportion, Key Mortality Rates, Incidence vs. Prevalence
HLevels of Prevention — Primordial, Primary, Secondary (EDPT + Screening criteria), Tertiary
IEpidemic Investigation — 7 Steps, Types of Epidemics
JDisease Surveillance — 5 Types, Components
KRole of Community Health Nurse — 14 Roles
LExam Cheat Sheet — 20 high-yield points + Master Definitions Table
Design features: Colour-coded sections, Navy/Teal header bars, colour-highlighted exam-important boxes, all data in clean tables for easy scanning — designed for quick last-minute revision.
This is a shared conversation. Sign in to Orris to start your own chat.