C - Describe the pharmaco-therapeutics of various diseases and complications. C - Describe and discuss the health issues related to environmental and ecological factors. C - Describe and discuss the methods and mechanisms of rehabilitation following diseases. C - Describe and discuss the issues related to palliative and terminal care. C - Incorporate the national and international guidelines related to various diseases in day to day practice and teaching. C - Describe and discuss the social and economic aspects of illnesses, outbreaks and epidemics C - Analyse the observations of disease patterns in patients and community and make suggestions for improvement in management and prevention. C - Describe and discuss the National Health Programs. C - Analyse and critique the publications related to various aspects of illnesses and evidence based medicine C - Describe and discuss the various levels of prevention in communicable and non - communicable diseases. C - Describe and discuss various legislations related to organ transplant, brain death, informed consent, human rights etc. C - Be updated on recent advances in internal medicine. A - Should be able to function as a part of a team, develop an attitude of cooperation with colleagues, and interact with the patient, relatives, paramedical and medical colleagues to provide the best possible comprehensive care. A - Always adopt ethical principles and maintain professional etiquette in dealing with patients, relatives and other health personnel and to respect the rights of the patient including the right to information and second opinion A - Develop communication skills to interact with patients, relatives, peers and paramedical staff, with special emphasis on breaking bad news empathetically. A - Should demonstrate equity and equality when dealing with individuals of special groups (differently abled and LGBTQIA+). Above are the topics for elog book make a short discussion of 1-2 pages in word format

Reading File
Running Command

mkdir -p /tmp/workspace/elog-book && ls /tmp/workspace/elog-book/

Writing File

~/elog-book/create_elog.py

from docx import Document
from docx.shared import Pt, Inches, RGBColor
from docx.enum.text import WD_ALIGN_PARAGRAPH
from docx.oxml.ns import qn
from docx.oxml import OxmlElement

doc = Document()

# Page margins
from docx.shared import Inches
section = doc.sections[0]
section.top_margin = Inches(1)
section.bottom_margin = Inches(1)
section.left_margin = Inches(1.2)
section.right_margin = Inches(1.2)

# Normal style
style = doc.styles["Normal"]
style.font.name = "Times New Roman"
style.font.size = Pt(12)

# Title
title = doc.add_heading("E-Log Book: Short Discussions on Core Competencies in Internal Medicine", level=1)
title.alignment = WD_ALIGN_PARAGRAPH.CENTER
for run in title.runs:
    run.font.color.rgb = RGBColor(0x1F, 0x39, 0x7D)
    run.font.size = Pt(14)

subtitle = doc.add_paragraph("Department of Internal Medicine | Postgraduate Training Programme")
subtitle.alignment = WD_ALIGN_PARAGRAPH.CENTER
subtitle.runs[0].font.size = Pt(11)
subtitle.runs[0].font.italic = True

doc.add_paragraph()

# Helper to add section heading
def add_topic_heading(doc, text):
    h = doc.add_heading(text, level=2)
    for run in h.runs:
        run.font.color.rgb = RGBColor(0x1F, 0x39, 0x7D)
        run.font.size = Pt(12)
    return h

def add_body(doc, text):
    p = doc.add_paragraph(text)
    p.paragraph_format.space_after = Pt(6)
    p.paragraph_format.first_line_indent = Pt(18)
    for run in p.runs:
        run.font.name = "Times New Roman"
        run.font.size = Pt(12)
    return p

# ─────────────────────────────────────────────────────────────
# COGNITIVE (C) COMPETENCIES
# ─────────────────────────────────────────────────────────────
doc.add_heading("COGNITIVE COMPETENCIES", level=1).runs[0].font.size = Pt(13)

# 1
add_topic_heading(doc, "1. Pharmaco-therapeutics of Various Diseases and Complications")
add_body(doc,
    "Pharmacotherapeutics is the cornerstone of clinical medicine, encompassing the rational use of drugs to prevent, treat, and manage disease. "
    "In internal medicine, clinicians must understand not only the mechanism of action and pharmacokinetics of drugs but also their therapeutic indices, "
    "drug interactions, and adverse effect profiles. For instance, in hypertension management, ACE inhibitors are preferred in diabetic nephropathy owing "
    "to their renoprotective effects, while beta-blockers remain first-line post-myocardial infarction. In chronic conditions like heart failure, a "
    "combination of evidence-based therapies - RAAS inhibitors, beta-blockers, mineralocorticoid antagonists, and SGLT2 inhibitors - has dramatically "
    "improved mortality outcomes. Complications such as drug-induced nephrotoxicity, hepatotoxicity, or QT prolongation demand vigilant monitoring. "
    "Polypharmacy, especially in elderly patients, increases the risk of adverse events, necessitating periodic medication reconciliation. Prescribing "
    "must always balance efficacy with safety, guided by patient-specific factors including renal and hepatic function, comorbidities, and co-medications."
)

# 2
add_topic_heading(doc, "2. Health Issues Related to Environmental and Ecological Factors")
add_body(doc,
    "The environment exerts a profound influence on human health. Air pollution - including particulate matter (PM2.5), nitrogen oxides, and ground-level "
    "ozone - contributes to respiratory diseases such as asthma, COPD, and lung cancer, as well as cardiovascular morbidity. Water contamination with "
    "heavy metals (arsenic, lead) and microbial pathogens causes gastrointestinal illnesses, neurological damage, and chronic kidney disease. Climate "
    "change is recognised as a major public health threat: rising temperatures increase heat-related illness, vector-borne diseases (malaria, dengue) "
    "expand geographically, and extreme weather events displace populations. Occupational exposures - asbestos, silica, benzene - are linked to "
    "mesothelioma, silicosis, and haematological malignancies. Physicians must take detailed environmental and occupational histories, advocate for "
    "pollution control, and educate patients about reducing personal exposures. A healthy ecosystem is a prerequisite for community health."
)

# 3
add_topic_heading(doc, "3. Methods and Mechanisms of Rehabilitation Following Diseases")
add_body(doc,
    "Rehabilitation aims to restore functional capacity, improve quality of life, and facilitate reintegration into society following acute illness or "
    "chronic disability. It operates on the biopsychosocial model, addressing physical, psychological, and social domains. Cardiac rehabilitation "
    "post-myocardial infarction includes structured exercise, risk factor modification, and psychosocial support, reducing re-hospitalisation by up to "
    "30%. Pulmonary rehabilitation in COPD improves exercise tolerance and reduces exacerbation frequency. Neurological rehabilitation after stroke "
    "employs physiotherapy, occupational therapy, and speech-language pathology to optimise recovery through neuroplasticity. Multidisciplinary teams - "
    "comprising physicians, physiotherapists, occupational therapists, psychologists, social workers, and nurses - are essential. Early mobilisation, "
    "goal-setting, patient education, and family involvement are key principles. Rehabilitation is not merely restoration of function; it also "
    "encompasses vocational training and community reintegration to support long-term independence."
)

# 4
add_topic_heading(doc, "4. Palliative and Terminal Care")
add_body(doc,
    "Palliative care focuses on relieving suffering and improving quality of life for patients with serious, life-limiting illness and their families. "
    "It is not restricted to the terminal phase but should be integrated early alongside curative or disease-modifying treatments. Core components "
    "include effective pain management (using the WHO analgesic ladder), control of distressing symptoms such as dyspnoea, nausea and delirium, "
    "psychological and spiritual support, and honest, compassionate communication about prognosis and goals of care. Terminal care specifically "
    "addresses the final days of life, prioritising comfort, dignity, and family support. Advance care planning - including do-not-resuscitate orders "
    "and advance directives - ensures that patient wishes are honoured. The physician's role includes recognising the dying process, withdrawing futile "
    "interventions appropriately, and facilitating bereavement support. Palliative care requires cultural sensitivity and awareness, as attitudes to "
    "death and dying vary significantly across communities."
)

# 5
add_topic_heading(doc, "5. National and International Guidelines in Day-to-Day Practice and Teaching")
add_body(doc,
    "Clinical practice guidelines synthesise best available evidence to support clinical decision-making and standardise care. In India, national bodies "
    "such as ICMR, RSSDI, and API publish guidelines tailored to local epidemiology, resource availability, and population characteristics. "
    "Internationally, guidelines from the WHO, ACC/AHA, ESC, GOLD, and GINA are widely referenced. For example, the GOLD guidelines for COPD "
    "stratify patients by symptom burden and exacerbation risk to guide pharmacotherapy, while JNC/ISH hypertension guidelines provide blood pressure "
    "targets. In teaching, guidelines form the framework for evidence-based discussions, clinical case conferences, and audit. However, guidelines must "
    "be applied judiciously: they are derived from population-level evidence and may not suit every individual patient. Critical appraisal of guidelines "
    "- including the strength of underlying evidence and potential conflicts of interest - is a core academic skill for the practising physician."
)

# 6
add_topic_heading(doc, "6. Social and Economic Aspects of Illnesses, Outbreaks, and Epidemics")
add_body(doc,
    "Disease does not occur in isolation from its social context. Social determinants - poverty, education, housing, nutrition, and access to "
    "healthcare - are powerful drivers of morbidity and mortality. Non-communicable diseases disproportionately affect lower socioeconomic groups due "
    "to limited health literacy, dietary insecurity, and reduced access to preventive care. Outbreaks and epidemics carry significant economic "
    "consequences: the COVID-19 pandemic caused a global GDP contraction, catastrophic health expenditure for millions, and widened pre-existing "
    "inequalities. Infectious disease outbreaks disrupt trade, agriculture, and schooling, perpetuating cycles of poverty. Physicians must advocate "
    "for universal health coverage, engage with social welfare systems, and recognise catastrophic out-of-pocket expenditure as a barrier to care "
    "compliance. Community engagement, intersectoral collaboration, and addressing structural inequities are as important as biomedical interventions "
    "in epidemic response."
)

# 7
add_topic_heading(doc, "7. Analysis of Disease Patterns and Suggestions for Improvement in Management and Prevention")
add_body(doc,
    "Systematic observation of disease patterns - through clinical audits, surveillance data, and epidemiological studies - is fundamental to "
    "improving health outcomes. In clinical practice, recognising clusters of unusual presentations, treatment failures, or drug-resistant infections "
    "prompts investigation and reporting. Population-level analysis identifies risk factor trends, geographic disparities, and vulnerable sub-groups. "
    "For example, rising incidence of type 2 diabetes in urban youth points to lifestyle transitions requiring targeted preventive programmes. "
    "Audit cycles - comparing outcomes against benchmarks, implementing changes, and re-auditing - drive quality improvement. At the community level, "
    "sentinel surveillance and integrated disease surveillance (IDSP in India) enable early outbreak detection. Physicians should participate "
    "actively in disease notification systems, engage with public health teams, and contribute to evidence generation through case series, "
    "observational studies, and clinical trials to inform policy."
)

# 8
add_topic_heading(doc, "8. National Health Programs")
add_body(doc,
    "India's national health programmes address priority diseases and health challenges through structured, government-led initiatives. The National "
    "Tuberculosis Elimination Programme (NTEP) aims to end TB by 2025 through universal drug susceptibility testing and Nikshay Poshan Yojana "
    "nutritional support. The National Vector Borne Disease Control Programme (NVBDCP) targets malaria, dengue, filariasis, and kala-azar. The "
    "National Programme for Prevention and Control of Cancer, Diabetes, Cardiovascular Diseases and Stroke (NPCDCS) provides screening and treatment "
    "infrastructure. Ayushman Bharat - Pradhan Mantri Jan Arogya Yojana (PMJAY) provides health insurance coverage to economically vulnerable "
    "families. The Universal Immunisation Programme (UIP) prevents vaccine-preventable diseases in children. Physicians have a responsibility to be "
    "familiar with these programmes, to align their clinical practice with programme objectives, to counsel patients on available benefits, and to "
    "contribute to programme monitoring and evaluation."
)

# 9
add_topic_heading(doc, "9. Critique of Publications and Evidence-Based Medicine")
add_body(doc,
    "Evidence-based medicine (EBM) integrates the best available research evidence with clinical expertise and patient values. Critical appraisal "
    "skills allow clinicians to evaluate the validity, results, and applicability of published literature. Key questions include: Was the study design "
    "appropriate for the research question? Was randomisation and blinding adequate? What is the risk of bias? Are the results clinically, not just "
    "statistically, significant? For randomised controlled trials, the CONSORT checklist guides appraisal; for observational studies, STROBE; for "
    "systematic reviews, PRISMA. Understanding concepts such as number needed to treat (NNT), confidence intervals, p-values, and hazard ratios is "
    "essential. Publication bias - the tendency to publish positive trials - can distort the evidence base. Physicians should regularly engage with "
    "journal clubs, critically appraise guidelines, and apply findings in a patient-centred manner, recognising when evidence from trials may not "
    "generalise to their patients."
)

# 10
add_topic_heading(doc, "10. Levels of Prevention in Communicable and Non-Communicable Diseases")
add_body(doc,
    "Prevention is conceptualised across three levels. Primary prevention aims to prevent disease before it occurs: examples include vaccination "
    "against hepatitis B, vector control for malaria, tobacco cessation counselling, and dietary modification to prevent type 2 diabetes. "
    "Secondary prevention involves early detection and prompt treatment to halt disease progression: cervical cancer screening (Pap smear), blood "
    "pressure monitoring to detect hypertension, and TB contact tracing are key examples. Tertiary prevention focuses on minimising disability and "
    "complications once disease is established: diabetic foot care programmes, cardiac rehabilitation, and antiretroviral therapy to prevent "
    "immunological deterioration in HIV represent this level. In communicable diseases, isolation, quarantine, and contact tracing are additional "
    "tools. Primordial prevention - preventing the emergence of risk factors themselves through social and environmental policy - is increasingly "
    "recognised as the most upstream and impactful level of prevention."
)

# 11
add_topic_heading(doc, "11. Legislations Related to Organ Transplant, Brain Death, Informed Consent, and Human Rights")
add_body(doc,
    "The legal framework governing medical practice protects patient rights and ensures ethical conduct. The Transplantation of Human Organs and "
    "Tissues Act (THOTA), 1994 (amended 2011) in India regulates organ donation, including deceased (brain-dead) donor programmes and living "
    "donor transplantation, with safeguards against commercialisation. Brain death is legally defined and certified by a panel of four doctors, "
    "enabling organ retrieval. Informed consent is a cornerstone of medical ethics and law: a valid consent must be voluntary, given by a competent "
    "individual, and based on adequate information about diagnosis, proposed treatment, alternatives, and risks. The Indian Medical Council "
    "(Professional Conduct, Etiquette and Ethics) Regulations, 2002 codify physician duties. The Protection of Human Rights Act, 1993 and "
    "international instruments such as the UN Convention on the Rights of Persons with Disabilities affirm patient rights to dignity, "
    "non-discrimination, confidentiality, and autonomous decision-making. Knowledge of these frameworks guides ethical clinical practice."
)

# 12
add_topic_heading(doc, "12. Recent Advances in Internal Medicine")
add_body(doc,
    "Internal medicine continues to evolve rapidly, driven by advances in diagnostics, therapeutics, and technology. SGLT2 inhibitors have "
    "transformed the management of type 2 diabetes, heart failure, and chronic kidney disease through cardiorenal protective mechanisms beyond "
    "glycaemic control. GLP-1 receptor agonists offer significant cardiovascular and weight-loss benefits. In oncology, immune checkpoint inhibitors "
    "have revolutionised the treatment of lung cancer, melanoma, and haematological malignancies. Advances in genomics - including next-generation "
    "sequencing and pharmacogenomics - enable precision medicine by tailoring therapy to individual genetic profiles. Artificial intelligence "
    "applications in radiology, pathology, and risk prediction are gaining clinical traction. Point-of-care ultrasound (POCUS) has become an "
    "extension of the clinical examination. The COVID-19 pandemic accelerated mRNA vaccine technology and highlighted the role of telemedicine. "
    "Continuous professional development and engagement with journals, conferences, and CME activities are essential to staying current."
)

doc.add_page_break()

# ─────────────────────────────────────────────────────────────
# AFFECTIVE (A) COMPETENCIES
# ─────────────────────────────────────────────────────────────
doc.add_heading("AFFECTIVE COMPETENCIES", level=1).runs[0].font.size = Pt(13)

# 13
add_topic_heading(doc, "13. Teamwork, Cooperation, and Comprehensive Patient Care")
add_body(doc,
    "Modern medicine is inherently collaborative. No single clinician possesses the full breadth of expertise required to manage complex patients "
    "optimally; effective teamwork is therefore not optional but essential. In the hospital setting, the multidisciplinary team (MDT) - comprising "
    "physicians, surgeons, nurses, pharmacists, physiotherapists, dietitians, and social workers - coordinates care around the patient. Effective "
    "team function requires clear communication, mutual respect, defined roles, shared goals, and a willingness to learn from colleagues. Handover "
    "of care, a high-risk activity, must be structured and thorough to prevent errors. The postgraduate trainee must develop professional humility, "
    "recognise the limits of personal knowledge, seek consultation appropriately, and contribute constructively to ward rounds and case discussions. "
    "Interaction with patients and relatives must be compassionate, informative, and supportive. Ultimately, team-based care results in improved "
    "patient safety, better outcomes, and a more sustainable working environment for all healthcare professionals."
)

# 14
add_topic_heading(doc, "14. Ethical Principles, Professional Etiquette, and Patient Rights")
add_body(doc,
    "Medical ethics rests on four principles: autonomy (respecting patient self-determination), beneficence (acting in the patient's best interest), "
    "non-maleficence (avoiding harm), and justice (fair distribution of healthcare resources). Professional etiquette encompasses punctuality, "
    "appropriate dress, respectful language, maintenance of boundaries, and confidentiality. Patients have the right to be fully informed about their "
    "condition and treatment options, to refuse treatment, to seek a second opinion, and to have their privacy and dignity maintained. Disclosure of "
    "errors (the duty of candour) is both an ethical obligation and, increasingly, a legal one. Physicians must avoid conflicts of interest, declare "
    "them transparently when unavoidable, and never allow financial incentives to compromise clinical judgment. In all interactions, the physician "
    "must model integrity - demonstrating that the interests of the patient take precedence over personal, institutional, or commercial interests."
)

# 15
add_topic_heading(doc, "15. Communication Skills: Breaking Bad News and Patient Interaction")
add_body(doc,
    "Effective communication is a clinical skill of equal importance to technical medical competence. The SPIKES protocol is a widely taught framework "
    "for breaking bad news: Setting (private, comfortable environment), Perception (assess what the patient already knows), Invitation (ask how much "
    "detail the patient wishes), Knowledge (give information clearly and in simple language), Emotions (respond with empathy), Summarise and "
    "Strategise (outline next steps). Bad news must never be delivered abruptly, and the patient's emotional response must be acknowledged before "
    "further medical information is given. With relatives, the physician must balance confidentiality with the family's need for information, guided "
    "by patient consent. Communication with paramedical staff should be respectful, precise, and collaborative. Written communication - discharge "
    "summaries, referral letters - must be accurate and timely. Active listening, non-verbal cues, and the avoidance of medical jargon are fundamental "
    "skills that significantly improve patient satisfaction, adherence, and trust."
)

# 16
add_topic_heading(doc, "16. Equity, Equality, and Inclusive Care for Special Groups (Differently Abled and LGBTQIA+)")
add_body(doc,
    "Every patient, regardless of disability, sexual orientation, gender identity, religion, caste, or socioeconomic status, is entitled to equitable, "
    "non-judgmental, and dignified healthcare. Differently abled individuals face physical, communicative, and attitudinal barriers in healthcare "
    "settings. Physicians must ensure accessible consultations, use appropriate communication aids, and advocate for disability-friendly facilities. "
    "LGBTQIA+ individuals experience significant health disparities - higher rates of mental health conditions, substance use, HIV, and delayed "
    "presentations - partly due to discrimination, stigma, and past negative healthcare experiences. A non-judgmental approach, use of preferred "
    "pronouns, and an inclusive clinical environment are essential. Physicians must be aware of specific health needs: hormone therapy monitoring in "
    "transgender patients, sexual health screening in MSM, and mental health support across the spectrum. Cultural humility - recognising and "
    "continuously reflecting on one's own biases - is the foundation of equitable care, and must be cultivated throughout postgraduate training and "
    "beyond."
)

# Footer note
doc.add_paragraph()
footer_para = doc.add_paragraph(
    "Note: These discussions are intended as concise academic reflections for the postgraduate e-log book. "
    "Each topic may be expanded further with case-based examples from clinical postings."
)
footer_para.runs[0].font.size = Pt(10)
footer_para.runs[0].font.italic = True
footer_para.alignment = WD_ALIGN_PARAGRAPH.CENTER

# Save
output_path = "/tmp/workspace/elog-book/Elog_Book_Internal_Medicine_Competencies.docx"
doc.save(output_path)
print(f"Saved to: {output_path}")
Running Command

python3 /tmp/workspace/elog-book/create_elog.py

The document has been created. Here is your download link:

Elog Book Internal Medicine Competencies

Word Document · DOCX


The Word document contains 16 short academic discussions covering all your elog book competencies, organised into two sections:

COGNITIVE COMPETENCIES (12 topics)

#Topic
1Pharmaco-therapeutics of diseases and complications
2Health issues related to environmental and ecological factors
3Methods and mechanisms of rehabilitation
4Palliative and terminal care
5National and international guidelines in practice and teaching
6Social and economic aspects of illnesses, outbreaks, and epidemics
7Disease pattern analysis and suggestions for improvement
8National Health Programs (NTEP, NVBDCP, NPCDCS, PMJAY, UIP)
9Critical appraisal of publications and EBM
10Levels of prevention in communicable and non-communicable diseases
11Legislation - organ transplant, brain death, informed consent, human rights
12Recent advances in internal medicine (SGLT2i, GLP-1, immunotherapy, AI, POCUS)

AFFECTIVE COMPETENCIES (4 topics)

#Topic
13Teamwork, cooperation, and comprehensive patient care
14Ethical principles, professional etiquette, and patient rights
15Communication skills and breaking bad news (SPIKES protocol)
16Equity, equality, and inclusive care for differently abled and LGBTQIA+ individuals
Each discussion is approximately 150-180 words, professionally written, and formatted with Times New Roman 12pt in a clean academic style suitable for a postgraduate elog book.

Make seperate files for each topic

Writing File

~/elog-book/create_separate.py

from docx import Document
from docx.shared import Pt, Inches, RGBColor
from docx.enum.text import WD_ALIGN_PARAGRAPH
import os

OUTPUT_DIR = "/tmp/workspace/elog-book/topics"
os.makedirs(OUTPUT_DIR, exist_ok=True)

def make_doc(filename, heading, category, body_text):
    doc = Document()
    section = doc.sections[0]
    section.top_margin = Inches(1)
    section.bottom_margin = Inches(1)
    section.left_margin = Inches(1.2)
    section.right_margin = Inches(1.2)

    style = doc.styles["Normal"]
    style.font.name = "Times New Roman"
    style.font.size = Pt(12)

    # Category label
    cat = doc.add_paragraph(category)
    cat.alignment = WD_ALIGN_PARAGRAPH.CENTER
    cat.runs[0].font.size = Pt(10)
    cat.runs[0].font.italic = True
    cat.runs[0].font.color.rgb = RGBColor(0x88, 0x88, 0x88)

    # Main heading
    h = doc.add_heading(heading, level=1)
    h.alignment = WD_ALIGN_PARAGRAPH.CENTER
    for run in h.runs:
        run.font.name = "Times New Roman"
        run.font.size = Pt(13)
        run.font.color.rgb = RGBColor(0x1F, 0x39, 0x7D)

    doc.add_paragraph()

    # Body
    p = doc.add_paragraph(body_text)
    p.paragraph_format.space_after = Pt(8)
    p.paragraph_format.first_line_indent = Pt(18)
    p.paragraph_format.line_spacing = Pt(22)
    for run in p.runs:
        run.font.name = "Times New Roman"
        run.font.size = Pt(12)

    doc.add_paragraph()
    footer = doc.add_paragraph("E-Log Book | Department of Internal Medicine | Postgraduate Training Programme")
    footer.alignment = WD_ALIGN_PARAGRAPH.CENTER
    footer.runs[0].font.size = Pt(9)
    footer.runs[0].font.italic = True
    footer.runs[0].font.color.rgb = RGBColor(0x88, 0x88, 0x88)

    path = os.path.join(OUTPUT_DIR, filename)
    doc.save(path)
    print(f"Saved: {path}")

# ── COGNITIVE ──────────────────────────────────────────────────────────────

make_doc(
    "01_Pharmaco_Therapeutics.docx",
    "Pharmaco-therapeutics of Various Diseases and Complications",
    "Cognitive Competency | E-Log Book Topic 1",
    "Pharmacotherapeutics is the cornerstone of clinical medicine, encompassing the rational use of drugs to prevent, treat, and manage disease. "
    "In internal medicine, clinicians must understand not only the mechanism of action and pharmacokinetics of drugs but also their therapeutic indices, "
    "drug interactions, and adverse effect profiles. For instance, in hypertension management, ACE inhibitors are preferred in diabetic nephropathy owing "
    "to their renoprotective effects, while beta-blockers remain first-line post-myocardial infarction. In chronic conditions like heart failure, a "
    "combination of evidence-based therapies - RAAS inhibitors, beta-blockers, mineralocorticoid antagonists, and SGLT2 inhibitors - has dramatically "
    "improved mortality outcomes. Complications such as drug-induced nephrotoxicity, hepatotoxicity, or QT prolongation demand vigilant monitoring. "
    "Polypharmacy, especially in elderly patients, increases the risk of adverse events, necessitating periodic medication reconciliation. Drug dosing "
    "adjustments are required in renal and hepatic impairment, and therapeutic drug monitoring is essential for narrow-therapeutic-index agents such as "
    "digoxin, vancomycin, and aminoglycosides. Prescribing must always balance efficacy with safety, guided by patient-specific factors including "
    "comorbidities, co-medications, age, and organ function. A thorough understanding of pharmacotherapy enables the clinician to optimise treatment "
    "outcomes while minimising preventable harm."
)

make_doc(
    "02_Environmental_Ecological_Health.docx",
    "Health Issues Related to Environmental and Ecological Factors",
    "Cognitive Competency | E-Log Book Topic 2",
    "The environment exerts a profound influence on human health. Air pollution - including particulate matter (PM2.5), nitrogen oxides, and ground-level "
    "ozone - contributes to respiratory diseases such as asthma, COPD, and lung cancer, as well as cardiovascular morbidity and premature mortality. "
    "Water contamination with heavy metals (arsenic, lead) and microbial pathogens causes gastrointestinal illnesses, neurological damage, and chronic "
    "kidney disease. Climate change is recognised as a major public health threat: rising temperatures increase heat-related illness, vector-borne "
    "diseases (malaria, dengue, chikungunya) expand geographically, and extreme weather events displace populations and disrupt health services. "
    "Occupational exposures - asbestos, silica, benzene, organophosphates - are linked to mesothelioma, silicosis, leukaemia, and acute toxic syndromes. "
    "Indoor air pollution from biomass fuel combustion remains a leading cause of COPD and pneumonia in rural India. Noise pollution contributes to "
    "cardiovascular disease and hearing loss. Physicians must take detailed environmental and occupational histories, maintain a high index of "
    "suspicion for exposure-related illness, advocate for pollution control policy, and educate patients on reducing personal exposures. A healthy "
    "ecosystem and sustainable environment are prerequisites for community health and wellbeing."
)

make_doc(
    "03_Rehabilitation.docx",
    "Methods and Mechanisms of Rehabilitation Following Diseases",
    "Cognitive Competency | E-Log Book Topic 3",
    "Rehabilitation aims to restore functional capacity, improve quality of life, and facilitate reintegration into society following acute illness or "
    "chronic disability. It operates on the biopsychosocial model, addressing physical, psychological, and social domains simultaneously. Cardiac "
    "rehabilitation post-myocardial infarction includes structured exercise training, risk factor modification, psychosocial support, and patient "
    "education, and has been shown to reduce re-hospitalisation by up to 30% and improve survival. Pulmonary rehabilitation in COPD improves exercise "
    "tolerance, reduces exacerbation frequency, and enhances health-related quality of life. Neurological rehabilitation after stroke employs "
    "physiotherapy, occupational therapy, and speech-language pathology to optimise recovery through neuroplasticity - the brain's capacity to "
    "reorganise functional pathways. Diabetic rehabilitation encompasses podiatry, nutritional counselling, and structured self-management education. "
    "Multidisciplinary teams - comprising physicians, physiotherapists, occupational therapists, psychologists, social workers, and nurses - are "
    "essential for coordinated rehabilitation. Key principles include early mobilisation, individualised goal-setting, patient and family education, "
    "and community reintegration. Rehabilitation is not merely restoration of physical function; it also encompasses vocational training and "
    "psychological recovery, supporting long-term independence and social participation."
)

make_doc(
    "04_Palliative_Terminal_Care.docx",
    "Palliative and Terminal Care",
    "Cognitive Competency | E-Log Book Topic 4",
    "Palliative care focuses on relieving suffering and improving quality of life for patients with serious, life-limiting illness and their families. "
    "It is not restricted to the terminal phase but should be integrated early alongside curative or disease-modifying treatments - a model supported "
    "by evidence showing that early palliative care improves both quality of life and, in some cancers, survival. Core components include effective "
    "pain management using the WHO analgesic ladder (progressing from non-opioids to weak opioids to strong opioids with adjuvants as needed), "
    "control of distressing symptoms such as dyspnoea, nausea, delirium, and constipation, and provision of psychological, social, and spiritual "
    "support. Terminal care specifically addresses the final hours to days of life, prioritising comfort, dignity, and the presence of family. "
    "Advance care planning - including do-not-resuscitate orders and advance directives - ensures that patient wishes regarding resuscitation and "
    "life-sustaining treatment are documented and honoured. The physician's role includes recognising the dying process, communicating prognosis "
    "honestly and compassionately, withdrawing futile interventions appropriately, and facilitating bereavement support. Cultural sensitivity "
    "regarding death and dying practices is essential to providing truly patient-centred end-of-life care."
)

make_doc(
    "05_National_International_Guidelines.docx",
    "National and International Guidelines in Day-to-Day Practice and Teaching",
    "Cognitive Competency | E-Log Book Topic 5",
    "Clinical practice guidelines synthesise the best available evidence to support clinical decision-making and standardise the quality of care. "
    "In India, national bodies such as ICMR, RSSDI, API, and the Ministry of Health publish guidelines tailored to local epidemiology, resource "
    "availability, and population characteristics. Internationally, guidelines from the WHO, ACC/AHA, ESC, GOLD, GINA, KDIGO, and ISTH are widely "
    "referenced. For example, the GOLD guidelines for COPD stratify patients by symptom burden and exacerbation risk to guide stepwise "
    "pharmacotherapy, while JNC/ISH hypertension guidelines provide blood pressure targets and first-line drug recommendations. ADA/EASD consensus "
    "reports guide the management of type 2 diabetes, incorporating cardiovascular and renal risk. In teaching, guidelines form the framework for "
    "evidence-based ward rounds, clinical case conferences, and postgraduate examination revision. However, guidelines must be applied judiciously: "
    "they are derived from population-level evidence and may not suit every individual patient. Critical appraisal of guidelines - including the "
    "strength of underlying evidence (GRADE classification), panel composition, and potential conflicts of interest - is a core academic skill. "
    "Incorporating guidelines into daily practice reduces unwarranted clinical variation and improves patient outcomes."
)

make_doc(
    "06_Social_Economic_Aspects.docx",
    "Social and Economic Aspects of Illnesses, Outbreaks, and Epidemics",
    "Cognitive Competency | E-Log Book Topic 6",
    "Disease does not occur in isolation from its social context. Social determinants of health - poverty, education, housing, nutrition, sanitation, "
    "and access to healthcare - are powerful drivers of morbidity and mortality, often more influential than biological risk factors. Non-communicable "
    "diseases disproportionately affect lower socioeconomic groups due to limited health literacy, dietary insecurity, occupational hazards, and "
    "reduced access to preventive care. Outbreaks and epidemics carry significant economic consequences: the COVID-19 pandemic caused global GDP "
    "contraction, catastrophic out-of-pocket health expenditure for millions of households, workforce disruption, and the widening of pre-existing "
    "social inequalities. Infectious disease outbreaks disrupt trade, agriculture, tourism, and schooling, perpetuating cycles of poverty. Social "
    "stigma associated with conditions such as tuberculosis, HIV/AIDS, and mental illness leads to delayed presentation and treatment default. "
    "Physicians must advocate for universal health coverage and equitable resource allocation, engage with social welfare systems on behalf of "
    "patients, and recognise catastrophic expenditure as a barrier to care compliance. Community engagement, intersectoral collaboration across "
    "health, education, agriculture, and finance sectors, and addressing structural inequities are as important as biomedical interventions in "
    "both epidemic response and the long-term prevention of disease."
)

make_doc(
    "07_Disease_Pattern_Analysis.docx",
    "Analysis of Disease Patterns and Suggestions for Improvement in Management and Prevention",
    "Cognitive Competency | E-Log Book Topic 7",
    "Systematic observation and analysis of disease patterns - through clinical audits, hospital surveillance data, and epidemiological studies - "
    "is fundamental to improving health outcomes at both individual and population levels. In clinical practice, recognising clusters of unusual "
    "presentations, treatment failures, or drug-resistant infections prompts timely investigation, reporting to public health authorities, and "
    "protocol review. Population-level analysis identifies risk factor trends, geographic disparities, seasonal variation, and vulnerable "
    "sub-groups who require targeted interventions. For example, a rising incidence of type 2 diabetes in urban youth points to lifestyle "
    "transitions driven by sedentary behaviour and dietary change, requiring targeted school- and community-based preventive programmes. "
    "Audit cycles - comparing clinical outcomes against evidence-based benchmarks, implementing changes, and re-auditing - are a well-established "
    "quality improvement tool. The Plan-Do-Study-Act (PDSA) cycle provides a structured framework for iterative improvement. At the national level, "
    "sentinel surveillance networks and India's Integrated Disease Surveillance Programme (IDSP) enable early outbreak detection and rapid response. "
    "Physicians should actively participate in disease notification systems, engage with public health teams, and contribute to evidence generation "
    "through case series, observational studies, and clinical trials to inform management protocols and prevention policy."
)

make_doc(
    "08_National_Health_Programs.docx",
    "National Health Programs",
    "Cognitive Competency | E-Log Book Topic 8",
    "India's national health programmes address priority diseases and health challenges through structured, government-led initiatives with "
    "defined targets, protocols, and monitoring systems. The National Tuberculosis Elimination Programme (NTEP) - formerly RNTCP - aims to end "
    "TB by 2025, five years ahead of the global target, through universal drug susceptibility testing, Nikshay Poshan Yojana nutritional support, "
    "and the provision of free DOTS therapy. The National Vector Borne Disease Control Programme (NVBDCP) targets malaria, dengue, filariasis, "
    "kala-azar, Japanese encephalitis, and chikungunya. The National Programme for Prevention and Control of Cancer, Diabetes, Cardiovascular "
    "Diseases and Stroke (NPCDCS) provides population-level screening and district-level treatment infrastructure. Ayushman Bharat - Pradhan "
    "Mantri Jan Arogya Yojana (PMJAY) provides health insurance coverage of up to Rs. 5 lakhs per family per year to economically vulnerable "
    "households. The Universal Immunisation Programme (UIP) prevents vaccine-preventable diseases and has been expanded to include newer vaccines "
    "such as rotavirus, pneumococcal conjugate, and HPV vaccines. The National Mental Health Programme and the National Programme for Health Care "
    "of the Elderly address other priority areas. Physicians have a responsibility to be familiar with these programmes, align clinical practice "
    "with programme objectives, counsel patients on available benefits, and contribute to programme monitoring, data collection, and evaluation."
)

make_doc(
    "09_Evidence_Based_Medicine.docx",
    "Critique of Publications and Evidence-Based Medicine (EBM)",
    "Cognitive Competency | E-Log Book Topic 9",
    "Evidence-based medicine (EBM) integrates the best available research evidence with clinical expertise and patient values to guide clinical "
    "decision-making. Critical appraisal skills allow clinicians to evaluate the validity, results, and applicability of published literature "
    "before incorporating findings into practice. Key appraisal questions include: Was the study design appropriate for the research question? "
    "Was randomisation and allocation concealment adequate in an RCT? Was blinding maintained? What are the potential sources of bias? Are the "
    "results clinically significant, not merely statistically significant? Reporting guidelines assist appraisal: CONSORT for randomised trials, "
    "STROBE for observational studies, PRISMA for systematic reviews, and STARD for diagnostic accuracy studies. Statistical literacy is essential - "
    "understanding p-values, confidence intervals, hazard ratios, number needed to treat (NNT), and number needed to harm (NNH) allows "
    "clinicians to contextualise findings meaningfully. Publication bias - the tendency to publish positive trials while negative trials remain "
    "unpublished - can distort the evidence base; funnel plot asymmetry and trial registration records help detect this. The hierarchy of evidence "
    "places systematic reviews and meta-analyses at the apex, followed by RCTs, cohort studies, case-control studies, and expert opinion. "
    "Physicians should regularly engage with journal clubs, critically appraise clinical guidelines, and apply EBM findings in a patient-centred "
    "manner, always recognising when trial evidence may not generalise to the individual patient before them."
)

make_doc(
    "10_Levels_of_Prevention.docx",
    "Levels of Prevention in Communicable and Non-Communicable Diseases",
    "Cognitive Competency | E-Log Book Topic 10",
    "Prevention of disease is conceptualised across four levels, each targeting a different stage of the disease process. Primordial prevention "
    "is the most upstream level, aiming to prevent the emergence and establishment of risk factors themselves through social, economic, and "
    "environmental policy - for example, regulating trans-fat content in processed foods or reducing tobacco advertising to prevent cardiovascular "
    "risk factors from developing in the population. Primary prevention aims to prevent disease occurrence in susceptible individuals: vaccination "
    "against hepatitis B and HPV, vector control for malaria, tobacco cessation counselling, dietary modification to prevent type 2 diabetes, and "
    "safe sex education for HIV prevention are key examples. Secondary prevention involves early detection and prompt treatment to halt disease "
    "progression before symptoms or complications arise: cervical cancer screening with Pap smear or VIA, blood pressure monitoring to detect "
    "hypertension, HbA1c screening in at-risk populations, and tuberculosis contact tracing represent this level. Tertiary prevention focuses on "
    "minimising disability and complications once disease is established: diabetic foot care programmes, cardiac rehabilitation post-MI, "
    "antiretroviral therapy to prevent immunological deterioration in HIV, and physiotherapy after stroke are important examples. In communicable "
    "diseases, additional tools include case isolation, quarantine of contacts, ring vaccination, and chemoprophylaxis. A comprehensive preventive "
    "strategy deploys interventions at all four levels simultaneously for maximum population impact."
)

make_doc(
    "11_Legislation_Ethics.docx",
    "Legislations Related to Organ Transplant, Brain Death, Informed Consent, and Human Rights",
    "Cognitive Competency | E-Log Book Topic 11",
    "The legal framework governing medical practice is designed to protect patient rights, ensure ethical conduct, and regulate complex biomedical "
    "practices. The Transplantation of Human Organs and Tissues Act (THOTA), 1994, amended in 2011, regulates organ donation and transplantation "
    "in India, permitting both deceased (brain-dead) donor programmes and living donor transplantation, with strict safeguards against "
    "commercialisation and organ trafficking. Brain death is legally defined under THOTA as the irreversible cessation of all brain functions "
    "including the brainstem, and must be certified by a panel of four doctors (including a neurologist/neurosurgeon and the treating physician) "
    "before organ retrieval can proceed. Informed consent is a cornerstone of both medical ethics and law: a valid consent must be voluntary, given "
    "by a competent individual with decision-making capacity, and based on adequate information about the diagnosis, proposed treatment, available "
    "alternatives, expected benefits, and material risks. Documentation of consent is mandatory. The Indian Medical Council (Professional Conduct, "
    "Etiquette and Ethics) Regulations, 2002 codify physician duties and professional standards. The Protection of Human Rights Act, 1993 and "
    "international instruments including the UN Convention on the Rights of Persons with Disabilities (UNCRPD) and the Universal Declaration of "
    "Human Rights affirm patients' rights to dignity, autonomy, non-discrimination, confidentiality, and access to healthcare. Knowledge of these "
    "legislative and ethical frameworks is indispensable to ethical, lawful, and patient-centred clinical practice."
)

make_doc(
    "12_Recent_Advances.docx",
    "Recent Advances in Internal Medicine",
    "Cognitive Competency | E-Log Book Topic 12",
    "Internal medicine is a rapidly evolving specialty, driven by advances in therapeutics, diagnostics, and technology. In cardiometabolic "
    "medicine, SGLT2 inhibitors have transformed the management of type 2 diabetes, heart failure with reduced and preserved ejection fraction, "
    "and chronic kidney disease through cardiorenal protective mechanisms that extend well beyond glycaemic control. GLP-1 receptor agonists "
    "offer significant cardiovascular risk reduction and substantial weight loss, with tirzepatide (dual GLP-1/GIP agonist) representing the "
    "next generation of this class. In infectious diseases, novel direct-acting antivirals have achieved cure rates above 95% in hepatitis C, "
    "and long-acting injectable antiretrovirals have transformed HIV management. In oncology, immune checkpoint inhibitors targeting PD-1/PD-L1 "
    "and CTLA-4 pathways have improved survival in lung cancer, melanoma, and haematological malignancies. CAR-T cell therapy offers curative "
    "potential in refractory haematological cancers. Advances in genomics - including next-generation sequencing and pharmacogenomics - enable "
    "precision medicine by tailoring therapy to individual genetic and molecular profiles. Artificial intelligence applications in radiology, "
    "pathology image analysis, ECG interpretation, and clinical risk prediction are entering mainstream practice. Point-of-care ultrasound (POCUS) "
    "has become a valued extension of the clinical examination. The COVID-19 pandemic accelerated mRNA vaccine technology and demonstrated the "
    "value of platform vaccine approaches for rapid response to emerging pathogens. Continuous professional development through peer-reviewed "
    "journals, international conferences, and accredited CME programmes is essential to remaining current in this dynamic field."
)

# ── AFFECTIVE ──────────────────────────────────────────────────────────────

make_doc(
    "13_Teamwork_Comprehensive_Care.docx",
    "Teamwork, Cooperation, and Comprehensive Patient Care",
    "Affective Competency | E-Log Book Topic 13",
    "Modern medicine is inherently collaborative. No single clinician possesses the full breadth of expertise required to manage complex patients "
    "optimally; effective teamwork is therefore not optional but essential to safe and high-quality care. In the hospital setting, the "
    "multidisciplinary team (MDT) - comprising physicians, surgeons, nurses, pharmacists, physiotherapists, dietitians, and social workers - "
    "coordinates care around the patient's individual needs and goals. Effective team function requires clear and respectful communication, "
    "mutual trust, well-defined roles and responsibilities, shared goals, psychological safety, and a genuine willingness to learn from "
    "colleagues of all disciplines. Structured handover of care at shift transitions, a high-risk activity, must be thorough and standardised "
    "(using tools such as SBAR - Situation, Background, Assessment, Recommendation) to prevent errors of omission. The postgraduate trainee "
    "must cultivate professional humility, recognise the limits of personal knowledge, seek consultation appropriately and in a timely manner, "
    "and contribute constructively to ward rounds, MDT meetings, and case conferences. Interaction with patients and relatives must be "
    "compassionate, informative, and supportive at all times. A positive team culture, characterised by open communication and mutual respect, "
    "reduces medical errors, improves patient outcomes, enhances staff wellbeing, and creates a more sustainable working environment for all "
    "healthcare professionals. The postgraduate physician must aspire to be both a capable team member and, in time, an effective team leader."
)

make_doc(
    "14_Ethics_Professionalism.docx",
    "Ethical Principles, Professional Etiquette, and Patient Rights",
    "Affective Competency | E-Log Book Topic 14",
    "Medical ethics rests on four foundational principles as articulated by Beauchamp and Childress: autonomy (respecting the patient's right "
    "to self-determination and informed decision-making), beneficence (acting in the patient's best interest), non-maleficence (avoiding "
    "unnecessary harm), and justice (fair and equitable distribution of healthcare resources). These principles frequently come into tension - "
    "for example, when a patient's autonomous choice conflicts with clinical best interest - and navigating these tensions requires careful, "
    "contextualised ethical reasoning. Professional etiquette encompasses punctuality, appropriate dress and demeanour, respectful and courteous "
    "language, maintenance of professional boundaries, and strict preservation of patient confidentiality. Patients have the legal and ethical "
    "right to be fully informed about their condition and all treatment options in language they can understand, to provide or withhold consent, "
    "to refuse treatment even if life-saving, to seek a second opinion, and to have their privacy, dignity, and religious and cultural beliefs "
    "respected at all times. The duty of candour - the obligation to be open and honest with patients when things go wrong - is both an ethical "
    "requirement and, increasingly, a legal one. Physicians must be vigilant about conflicts of interest, declare them transparently, and never "
    "allow financial incentives, gifts, or institutional pressures to compromise clinical judgment. In all professional interactions, the "
    "physician must model integrity, demonstrating unequivocally that the interests of the patient take precedence over personal, "
    "institutional, or commercial considerations."
)

make_doc(
    "15_Communication_Skills.docx",
    "Communication Skills: Breaking Bad News and Patient Interaction",
    "Affective Competency | E-Log Book Topic 15",
    "Effective communication is a clinical skill of equal importance to technical medical competence, yet it is often underemphasised in "
    "traditional medical training. Poor communication is a leading cause of patient dissatisfaction, treatment non-adherence, medico-legal "
    "complaints, and avoidable harm. The SPIKES protocol provides a structured, evidence-informed framework for breaking bad news: Setting "
    "(ensure a private, quiet, comfortable environment with the patient's chosen support person present), Perception (explore what the patient "
    "already understands about their condition), Invitation (ask the patient how much information they wish to receive), Knowledge (deliver "
    "information clearly, in plain language, pausing frequently to check understanding and avoiding medical jargon), Emotions (acknowledge and "
    "respond to the patient's emotional reaction with empathy before proceeding with further clinical information), and Summarise and Strategise "
    "(outline the management plan and immediate next steps clearly). Bad news must never be delivered abruptly or by telephone without prior "
    "preparation, and adequate time must be allocated. Communication with family members must respect patient confidentiality while providing "
    "appropriate support. With paramedical and nursing colleagues, communication must be respectful, precise, and collaborative. Written "
    "communication - discharge summaries, referral letters, death certificates - must be accurate, legible, and completed in a timely manner, "
    "as these documents directly affect continuity of care. Active listening, appropriate use of silence, open-ended questioning, and attention "
    "to non-verbal cues are skills that require deliberate practice and significantly improve patient trust, satisfaction, and clinical outcomes."
)

make_doc(
    "16_Equity_Inclusion_LGBTQIA.docx",
    "Equity, Equality, and Inclusive Care for Differently Abled and LGBTQIA+ Individuals",
    "Affective Competency | E-Log Book Topic 16",
    "Every patient, regardless of disability, sexual orientation, gender identity, religion, caste, ethnicity, or socioeconomic status, is "
    "entitled to equitable, non-judgmental, and dignified healthcare. Equity recognises that different individuals require different levels "
    "of support to achieve equal health outcomes, and is distinct from equality, which provides the same resource to all. Differently abled "
    "individuals face physical, communicative, and attitudinal barriers in healthcare settings: inaccessible buildings, lack of sign language "
    "interpreters, and unconscious bias among clinicians. Physicians must ensure accessible consultations, use appropriate communication aids, "
    "involve caregivers with patient consent, and advocate for disability-friendly health infrastructure. LGBTQIA+ individuals experience "
    "significant health disparities - higher rates of depression, anxiety, suicidality, substance use, HIV, and cervical and anal cancers - "
    "partly as a consequence of minority stress, discrimination, stigma, and prior negative healthcare experiences that create barriers to "
    "seeking care. A non-judgmental, affirming clinical approach is essential: using patients' preferred names and pronouns, asking about "
    "sexual and gender identity sensitively and only when clinically relevant, and maintaining a visibly inclusive clinical environment. "
    "Clinicians must be aware of specific health needs of this population: hormone therapy monitoring and bone health in transgender patients, "
    "sexual health screening and PrEP provision in men who have sex with men (MSM), and mental health support across the LGBTQIA+ spectrum. "
    "Cultural humility - the ongoing practice of recognising and reflecting on one's own biases and assumptions - rather than mere cultural "
    "competence, is the foundation of equitable care and must be cultivated actively throughout postgraduate training and lifelong practice."
)

print("\nAll 16 files created successfully in:", OUTPUT_DIR)
Running Command

python3 /tmp/workspace/elog-book/create_separate.py

All 16 files are ready. Here are the individual download links:

Cognitive Competencies

#TopicDownload
1Pharmaco-therapeutics

01 Pharmaco Therapeutics

Word Document · DOCX

2Environmental & Ecological Health

02 Environmental Ecological Health

Word Document · DOCX

3Rehabilitation

03 Rehabilitation

Word Document · DOCX

4Palliative & Terminal Care

04 Palliative Terminal Care

Word Document · DOCX

5National & International Guidelines

05 National International Guidelines

Word Document · DOCX

6Social & Economic Aspects

06 Social Economic Aspects

Word Document · DOCX

7Disease Pattern Analysis

07 Disease Pattern Analysis

Word Document · DOCX

8National Health Programs

08 National Health Programs

Word Document · DOCX

9Evidence-Based Medicine

09 Evidence Based Medicine

Word Document · DOCX

10Levels of Prevention

10 Levels of Prevention

Word Document · DOCX

11Legislation & Ethics

11 Legislation Ethics

Word Document · DOCX

12Recent Advances in Internal Medicine

12 Recent Advances

Word Document · DOCX

Affective Competencies

#TopicDownload
13Teamwork & Comprehensive Care

13 Teamwork Comprehensive Care

Word Document · DOCX

14Ethics & Professionalism

14 Ethics Professionalism

Word Document · DOCX

15Communication Skills & Breaking Bad News

15 Communication Skills

Word Document · DOCX

16Equity, Inclusion & LGBTQIA+ Care

16 Equity Inclusion LGBTQIA

Word Document · DOCX

Each file has the topic heading, category label (Cognitive/Affective + topic number), a full 200-250 word discussion, and a department footer - ready to paste into your elog book.

Make each of 1-2 pages

Writing File

~/elog-book/create_full.py

from docx import Document
from docx.shared import Pt, Inches, RGBColor
from docx.enum.text import WD_ALIGN_PARAGRAPH
import os

OUTPUT_DIR = "/tmp/workspace/elog-book/topics_full"
os.makedirs(OUTPUT_DIR, exist_ok=True)

def make_doc(filename, topic_num, category, heading, sections):
    """
    sections: list of (subheading, body_text) tuples
    """
    doc = Document()
    sec = doc.sections[0]
    sec.top_margin = Inches(1)
    sec.bottom_margin = Inches(1)
    sec.left_margin = Inches(1.2)
    sec.right_margin = Inches(1.2)

    normal = doc.styles["Normal"]
    normal.font.name = "Times New Roman"
    normal.font.size = Pt(12)

    # ── Header bar ────────────────────────────────────────────
    cat_para = doc.add_paragraph(f"{category}  |  Topic {topic_num}")
    cat_para.alignment = WD_ALIGN_PARAGRAPH.CENTER
    r = cat_para.runs[0]
    r.font.size = Pt(10)
    r.font.italic = True
    r.font.color.rgb = RGBColor(0x55, 0x55, 0x55)

    # ── Main title ────────────────────────────────────────────
    title = doc.add_heading(heading, level=1)
    title.alignment = WD_ALIGN_PARAGRAPH.CENTER
    for run in title.runs:
        run.font.name = "Times New Roman"
        run.font.size = Pt(14)
        run.font.bold = True
        run.font.color.rgb = RGBColor(0x1A, 0x35, 0x6E)

    # divider
    div = doc.add_paragraph("─" * 80)
    div.alignment = WD_ALIGN_PARAGRAPH.CENTER
    div.runs[0].font.size = Pt(8)
    div.runs[0].font.color.rgb = RGBColor(0xAA, 0xAA, 0xAA)
    div.paragraph_format.space_after = Pt(4)

    # ── Sections ──────────────────────────────────────────────
    for (subheading, body) in sections:
        sh = doc.add_heading(subheading, level=2)
        sh.paragraph_format.space_before = Pt(10)
        sh.paragraph_format.space_after = Pt(4)
        for run in sh.runs:
            run.font.name = "Times New Roman"
            run.font.size = Pt(12)
            run.font.bold = True
            run.font.color.rgb = RGBColor(0x1A, 0x35, 0x6E)

        p = doc.add_paragraph(body)
        p.paragraph_format.space_after = Pt(8)
        p.paragraph_format.first_line_indent = Pt(18)
        p.paragraph_format.line_spacing = Pt(22)
        for run in p.runs:
            run.font.name = "Times New Roman"
            run.font.size = Pt(12)

    # ── Footer ────────────────────────────────────────────────
    doc.add_paragraph()
    foot = doc.add_paragraph(
        "E-Log Book  |  Department of Internal Medicine  |  Postgraduate Training Programme"
    )
    foot.alignment = WD_ALIGN_PARAGRAPH.CENTER
    foot.runs[0].font.size = Pt(9)
    foot.runs[0].font.italic = True
    foot.runs[0].font.color.rgb = RGBColor(0x88, 0x88, 0x88)

    path = os.path.join(OUTPUT_DIR, filename)
    doc.save(path)
    print(f"Saved: {path}")


# ══════════════════════════════════════════════════════════════════
# TOPIC 1
# ══════════════════════════════════════════════════════════════════
make_doc("01_Pharmaco_Therapeutics.docx", "1", "Cognitive Competency",
"Pharmaco-therapeutics of Various Diseases and Complications",
[
("Introduction",
 "Pharmacotherapeutics is the study of the rational use of drugs in the prevention, treatment, and management of disease. It bridges pharmacology "
 "and clinical medicine, requiring the clinician to understand not only how a drug works but also how it behaves in the body and how best to deploy "
 "it for maximum benefit and minimum harm. In internal medicine, virtually every patient encounter involves a therapeutic decision, making this "
 "domain central to daily practice."),

("Principles of Rational Drug Use",
 "Rational prescribing demands that the right drug be given to the right patient, at the right dose, by the right route, for the right duration. "
 "The clinician must weigh efficacy against safety, considering the therapeutic index (the ratio of toxic to effective dose), pharmacokinetics "
 "(absorption, distribution, metabolism, excretion), and pharmacodynamics (mechanism and site of action). Drug interactions - pharmacokinetic "
 "(e.g. rifampicin inducing CYP450 enzymes, reducing drug levels) and pharmacodynamic (e.g. additive QT prolongation) - must be actively sought. "
 "Dose adjustments are mandatory in renal impairment (e.g. reducing metformin, LMWH) and hepatic dysfunction (e.g. avoiding NSAIDs, high-dose "
 "paracetamol). Therapeutic drug monitoring (TDM) is essential for narrow-therapeutic-index drugs such as digoxin, vancomycin, phenytoin, and "
 "aminoglycosides."),

("Disease-Specific Pharmacotherapy",
 "In hypertension, ACE inhibitors are preferred in diabetic nephropathy for renoprotection, while calcium channel blockers are first-line in "
 "isolated systolic hypertension in the elderly. In heart failure with reduced ejection fraction, the evidence-based quadruple therapy - RAAS "
 "inhibitor (ACEi/ARB/ARNI), beta-blocker, mineralocorticoid antagonist, and SGLT2 inhibitor - has transformed mortality outcomes. In type 2 "
 "diabetes, SGLT2 inhibitors and GLP-1 receptor agonists are now preferred beyond HbA1c control due to cardiovascular and renal benefits. "
 "In COPD, inhaled bronchodilators (LABA, LAMA) and ICS are stratified by symptom burden and exacerbation risk. Antimicrobial stewardship "
 "principles - culture-guided therapy, shortest effective duration, de-escalation - must govern antibiotic prescribing to limit resistance."),

("Complications and Adverse Drug Reactions",
 "Adverse drug reactions (ADRs) are a major cause of morbidity and hospital admission. Type A reactions (dose-related, predictable) include "
 "ACE inhibitor-induced cough, metformin-associated lactic acidosis in renal failure, and corticosteroid-induced hyperglycaemia. Type B "
 "reactions (idiosyncratic, unpredictable) include penicillin anaphylaxis and sulphonamide-induced Stevens-Johnson syndrome. Drug-induced "
 "nephrotoxicity (NSAIDs, contrast agents, aminoglycosides), hepatotoxicity (antitubercular drugs, statins, paracetamol), and QT prolongation "
 "(fluoroquinolones, macrolides, antipsychotics) require vigilant monitoring. Polypharmacy in elderly patients dramatically increases ADR "
 "risk; the Beers Criteria identifies potentially inappropriate medications in this group. Medication reconciliation at every care transition "
 "is a safety-critical practice."),

("Pharmacotherapy in Special Populations",
 "Prescribing in pregnancy requires avoidance of teratogenic agents (ACE inhibitors, warfarin, tetracyclines, valproate in the first trimester) "
 "and preference for drugs with established safety profiles. Paediatric dosing must be weight-based; many adult drugs lack paediatric licensing. "
 "In the elderly, reduced renal clearance, altered volume of distribution, increased sensitivity to CNS drugs, and polypharmacy demand a "
 "'start low, go slow' approach. Genetic polymorphisms in CYP enzymes (e.g. CYP2D6 poor metabolisers and codeine toxicity) underpin the "
 "emerging field of pharmacogenomics, enabling precision prescribing tailored to individual metabolic profiles. The pharmacist is an essential "
 "partner in optimising drug therapy and identifying medication errors.")
])

# ══════════════════════════════════════════════════════════════════
# TOPIC 2
# ══════════════════════════════════════════════════════════════════
make_doc("02_Environmental_Ecological_Health.docx", "2", "Cognitive Competency",
"Health Issues Related to Environmental and Ecological Factors",
[
("Introduction",
 "The environment in which people live, work, and play is one of the most powerful determinants of health. The World Health Organization estimates "
 "that 23% of all global deaths are attributable to modifiable environmental factors. Environmental medicine examines the relationship between "
 "physical, chemical, biological, and social environmental exposures and human health outcomes, informing both clinical practice and public health "
 "policy."),

("Air Pollution",
 "Outdoor air pollution - particulate matter (PM2.5 and PM10), nitrogen oxides, sulphur dioxide, carbon monoxide, and ground-level ozone - is "
 "the leading environmental cause of disease globally, causing respiratory illnesses (asthma, COPD, lung cancer), cardiovascular disease "
 "(ischaemic heart disease, stroke), and adverse pregnancy outcomes. India bears a disproportionate burden, with several cities consistently "
 "recording PM2.5 levels many times above WHO safe limits. Indoor air pollution from biomass fuel combustion (chulha cooking) is a major cause "
 "of COPD, pneumonia, and low birth weight in rural populations, particularly affecting women and children. Physicians should inquire about "
 "cooking fuel type, ventilation, and occupational exposures in all respiratory and cardiovascular cases."),

("Water, Soil, and Food Contamination",
 "Waterborne pathogens (Vibrio cholerae, Salmonella typhi, hepatitis A and E viruses) cause diarrhoeal diseases and hepatitis, contributing "
 "significantly to child mortality in developing nations. Chronic arsenic contamination of groundwater (West Bengal, Bangladesh) causes "
 "arsenicosis, peripheral neuropathy, skin cancers, and visceral malignancies. Lead exposure from paints, petrol, and industrial processes "
 "causes irreversible neurodevelopmental damage in children and cardiovascular disease in adults. Pesticide residues in food and "
 "organophosphate exposure in agricultural workers cause acute cholinergic toxicity and chronic neurological impairment."),

("Climate Change and Health",
 "Climate change is now recognised as the greatest health threat of the 21st century. Rising ambient temperatures increase heat stroke and "
 "heat exhaustion, particularly in urban heat islands and among outdoor workers and the elderly. Altered rainfall patterns and warming "
 "temperatures expand the geographic range of vector-borne diseases: malaria is spreading to previously unaffected highland areas, dengue "
 "has become hyperendemic across South Asia, and Lyme disease is extending northward. Extreme weather events - floods, cyclones, droughts - "
 "displace populations, destroy health infrastructure, and precipitate waterborne disease outbreaks. Climate-related food insecurity worsens "
 "malnutrition. Mental health consequences of climate disasters (post-traumatic stress disorder, anxiety, depression) are increasingly recognised."),

("Occupational and Ecological Factors",
 "Occupational exposures represent a significant but often under-recognised category of environmental disease. Asbestos causes mesothelioma "
 "and asbestosis with a latency of decades; silica causes silicosis and increases TB risk; benzene is leukaemogenic; coal dust causes "
 "pneumoconiosis. A thorough occupational history - covering all jobs held, materials handled, and protective equipment used - is an "
 "essential component of the clinical assessment. Deforestation and biodiversity loss increase zoonotic disease spillover events (Nipah, "
 "Ebola, COVID-19). Physicians have a professional duty to advocate for environmental protection, counsel patients on exposure reduction, "
 "and report occupational diseases to regulatory authorities.")
])

# ══════════════════════════════════════════════════════════════════
# TOPIC 3
# ══════════════════════════════════════════════════════════════════
make_doc("03_Rehabilitation.docx", "3", "Cognitive Competency",
"Methods and Mechanisms of Rehabilitation Following Diseases",
[
("Introduction",
 "Rehabilitation is the process of helping individuals who have experienced illness, injury, or disability to achieve and maintain optimal "
 "physical, sensory, intellectual, psychological, and social functional levels. The WHO defines rehabilitation as a set of interventions "
 "designed to optimise functioning and reduce disability in individuals with health conditions in interaction with their environment. It "
 "is guided by the biopsychosocial model, addressing not just the biological impairment but also the person's activity limitations and "
 "participation restrictions within their social context. Early and structured rehabilitation consistently improves outcomes across a wide "
 "range of conditions."),

("Cardiac Rehabilitation",
 "Cardiac rehabilitation (CR) is a medically supervised programme delivered following myocardial infarction, coronary artery bypass grafting, "
 "percutaneous coronary intervention, or heart failure. It comprises three phases: inpatient mobilisation (Phase 1), supervised outpatient "
 "exercise and education (Phase 2), and long-term maintenance (Phase 3). Core components include structured aerobic exercise training, "
 "cardiovascular risk factor modification (smoking cessation, lipid management, blood pressure control, dietary counselling), psychosocial "
 "support for depression and anxiety (which are highly prevalent post-MI), and patient education on medications and lifestyle. Meta-analyses "
 "demonstrate that CR reduces cardiovascular mortality by 26% and re-hospitalisation by 18-25%. Despite strong evidence, CR remains "
 "underutilised, particularly among women and lower-income patients."),

("Pulmonary Rehabilitation",
 "Pulmonary rehabilitation (PR) is a comprehensive intervention for patients with chronic respiratory disease, most extensively studied in "
 "COPD. It combines supervised exercise training (aerobic and resistance), breathing techniques, education on inhaler technique and "
 "exacerbation self-management, and nutritional support. PR improves exercise capacity (six-minute walk distance), reduces dyspnoea, "
 "decreases exacerbation-related hospitalisations, and improves health-related quality of life. The mechanisms include peripheral muscle "
 "reconditioning, reduced dynamic hyperinflation, improved breathing efficiency, and reduced anxiety. PR is equally beneficial in "
 "interstitial lung diseases, bronchiectasis, and post-COVID respiratory sequelae."),

("Neurological Rehabilitation",
 "Stroke rehabilitation exploits neuroplasticity - the brain's capacity to reorganise neural pathways in response to learning and "
 "experience - to restore lost function. It must begin within 24-48 hours of stabilisation. Physiotherapy addresses motor deficits, "
 "spasticity, and gait. Occupational therapy focuses on activities of daily living and fine motor skills. Speech-language therapy manages "
 "dysphasia and dysphagia. Neuropsychological support addresses cognitive impairment, depression (present in 30-40% post-stroke), and "
 "behavioural changes. Constraint-induced movement therapy, mirror therapy, and robotic-assisted rehabilitation are emerging modalities. "
 "Rehabilitation after Guillain-Barre syndrome, traumatic brain injury, and spinal cord injury follows similar multidisciplinary principles."),

("Principles and Multidisciplinary Team",
 "Effective rehabilitation is delivered by a coordinated multidisciplinary team (MDT) comprising the physician, physiotherapist, "
 "occupational therapist, speech-language therapist, neuropsychologist, dietitian, social worker, and nursing staff. Key principles "
 "include: early commencement, individualised goal-setting using tools such as the SMART framework, active patient and family "
 "participation, and regular re-assessment to adjust the programme. Outcome measures - Barthel Index, FIM score, six-minute walk test, "
 "modified Rankin Scale - quantify progress objectively. Community reintegration, vocational rehabilitation, and peer support groups "
 "are integral to long-term recovery. Telemedicine-based rehabilitation is expanding access for patients in remote areas.")
])

# ══════════════════════════════════════════════════════════════════
# TOPIC 4
# ══════════════════════════════════════════════════════════════════
make_doc("04_Palliative_Terminal_Care.docx", "4", "Cognitive Competency",
"Palliative and Terminal Care",
[
("Introduction and Philosophy",
 "Palliative care is an approach that improves the quality of life of patients and their families facing problems associated with life-threatening "
 "illness through the prevention and relief of suffering by means of early identification, impeccable assessment, and treatment of pain and other "
 "physical, psychosocial, and spiritual problems. Crucially, it is not limited to the terminal phase; the WHO and NICE guidelines recommend "
 "integrating palliative care early alongside disease-modifying treatment. The landmark NEJM study by Temel et al. (2010) demonstrated that early "
 "palliative care in metastatic lung cancer improved quality of life and median survival by nearly three months compared to standard oncology care alone."),

("Symptom Management",
 "Pain is the most feared symptom in serious illness. The WHO analgesic ladder provides a stepwise framework: Step 1 (non-opioids: paracetamol, "
 "NSAIDs), Step 2 (weak opioids: codeine, tramadol), Step 3 (strong opioids: morphine, oxycodone, fentanyl). Adjuvant analgesics - "
 "gabapentinoids (neuropathic pain), corticosteroids (nerve compression, bone pain), tricyclic antidepressants - are added at any step. "
 "Morphine is the opioid of choice for severe cancer pain; fears of addiction and respiratory depression must not prevent adequate dosing. "
 "Dyspnoea is managed with low-dose opioids, anxiolytics, and a fan directed at the face. Nausea and vomiting require antiemetics tailored "
 "to the likely mechanism (metoclopramide, cyclizine, haloperidol, ondansetron). Terminal restlessness and delirium are managed with "
 "midazolam and haloperidol via subcutaneous infusion (syringe driver)."),

("Psychosocial and Spiritual Support",
 "Psychological distress - anxiety, depression, fear of death, unfinished business - is nearly universal in life-limiting illness and "
 "requires active assessment and management. Validated tools such as the PHQ-9 and GAD-7 can identify depression and anxiety requiring "
 "pharmacological or psychological intervention. Social workers address financial concerns, housing, caregiver burden, and benefits "
 "entitlement. Chaplains and spiritual care professionals support patients and families of all faith traditions and none. Family meetings, "
 "involving the patient (unless they decline), clarify prognosis, align expectations, and plan care. Bereavement support for families "
 "begins before death and continues after, recognising that grief can be prolonged and complicated."),

("Advance Care Planning and Terminal Care",
 "Advance care planning (ACP) is the process by which patients, in dialogue with their healthcare team and family, express their values, "
 "goals, and wishes regarding future medical care. Advance directives (living wills) and DNAR (do not attempt resuscitation) orders must "
 "be documented clearly, respected, and reviewed regularly. The recognition of dying - typically characterised by reduced consciousness, "
 "Cheyne-Stokes breathing, mottling, and absent radial pulse - should trigger a shift to comfort-focused care, discontinuation of futile "
 "interventions (routine blood tests, monitoring, non-essential medications), and attention to mouth care, positioning, and family "
 "presence. Adequate symptom control must never be withheld out of misplaced concern about hastening death."),

("Palliative Care in India",
 "Palliative care services in India remain severely underdeveloped relative to need. Kerala has pioneered a community-based palliative care "
 "model that has achieved nationwide and international recognition. The National Programme for Palliative Care (NPPC) aims to integrate "
 "palliative services into the public health system. Access to oral morphine - the cornerstone of cancer pain management - has historically "
 "been restricted by regulatory barriers, though the Narcotic Drugs and Psychotropic Substances (NDPS) Act amendments have partially "
 "addressed this. Medical curricula must embed palliative care training to equip all doctors with fundamental skills in communication, "
 "symptom management, and end-of-life care.")
])

# ══════════════════════════════════════════════════════════════════
# TOPIC 5
# ══════════════════════════════════════════════════════════════════
make_doc("05_National_International_Guidelines.docx", "5", "Cognitive Competency",
"National and International Guidelines in Day-to-Day Practice and Teaching",
[
("Introduction",
 "Clinical practice guidelines (CPGs) are systematically developed statements designed to assist practitioners and patients in making "
 "appropriate healthcare decisions for specific clinical circumstances. They represent the distillation of large bodies of evidence into "
 "actionable recommendations, graded by the strength and quality of supporting data. Incorporating guidelines into clinical practice "
 "reduces unwarranted variation in care, improves patient outcomes, and forms the foundation of evidence-based medicine in daily clinical work."),

("National Guidelines",
 "In India, several bodies produce guidelines relevant to internal medicine practice. The Indian Council of Medical Research (ICMR) "
 "publishes evidence-based guidelines on infectious diseases, diabetes, and cancer. The Research Society for the Study of Diabetes in "
 "India (RSSDI) provides consensus guidelines on type 2 diabetes management adapted to Indian metabolic and dietary patterns. The "
 "Association of Physicians of India (API) publishes clinical practice guidelines on hypertension, heart failure, and antimicrobial use. "
 "The Central TB Division's NTEP guidelines govern TB diagnosis and treatment. The National AIDS Control Organisation (NACO) provides "
 "ART protocols for HIV. These national guidelines account for local epidemiology, drug availability, resource constraints, and "
 "affordability - factors that global guidelines may not adequately address."),

("International Guidelines",
 "International guidelines from organisations such as the WHO, American College of Cardiology / American Heart Association (ACC/AHA), "
 "European Society of Cardiology (ESC), Global Initiative for Obstructive Lung Disease (GOLD), Global Initiative for Asthma (GINA), "
 "Kidney Disease Improving Global Outcomes (KDIGO), and the International Society on Thrombosis and Haemostasis (ISTH) are widely "
 "consulted. The GOLD guidelines categorise COPD patients by spirometry grade and symptom/exacerbation risk (ABCD groups, updated to "
 "ABE groups in 2023) to guide pharmacotherapy. ACC/AHA and ESC guidelines provide detailed algorithms for the management of acute "
 "coronary syndromes, heart failure, atrial fibrillation, and dyslipidaemia. ADA/EASD consensus reports guide individualised "
 "glycaemic targets and drug selection in diabetes."),

("Application in Teaching",
 "Guidelines are invaluable teaching tools in postgraduate medical education. Ward rounds structured around guideline-based care create "
 "teachable moments: why is this patient on an ARNI rather than an ACE inhibitor? Why has triple antiplatelet therapy not been used? "
 "Journal clubs and case conferences can use guideline recommendations as reference standards against which actual care is audited. "
 "Trainees should be taught not just the recommendations but the underlying evidence and the GRADE rating system (Grading of "
 "Recommendations Assessment, Development and Evaluation) that underpins recommendation strength (Strong vs. Conditional) and "
 "evidence quality (High, Moderate, Low, Very Low)."),

("Critical Appraisal of Guidelines",
 "Guidelines must be applied with critical intelligence, not followed blindly. Several important caveats apply. Guidelines are derived "
 "from trial populations that may not reflect the patient before you - trials systematically under-represent elderly patients, women, "
 "those with multiple comorbidities, and populations from low-income countries. Conflicts of interest among guideline panel members "
 "can influence recommendations, and disclosure of these must be scrutinised. Guidelines may lag behind emerging evidence by several "
 "years. Resource constraints may make adherence impossible in certain settings. The clinician's duty is to be aware of guidelines, "
 "understand their basis, and apply them intelligently with reference to the individual patient's values, comorbidities, and context.")
])

# ══════════════════════════════════════════════════════════════════
# TOPIC 6
# ══════════════════════════════════════════════════════════════════
make_doc("06_Social_Economic_Aspects.docx", "6", "Cognitive Competency",
"Social and Economic Aspects of Illnesses, Outbreaks, and Epidemics",
[
("Social Determinants of Health",
 "Health is shaped far more by social, economic, and environmental conditions than by healthcare alone. The WHO Commission on Social "
 "Determinants of Health identified the 'causes of causes' - the structural conditions that generate health inequity: income and wealth "
 "distribution, education, employment, housing quality, food security, access to clean water and sanitation, and social support networks. "
 "These upstream factors explain why tuberculosis disproportionately affects the urban poor, why malnutrition co-exists with obesity in "
 "the same community, and why cardiovascular mortality is higher in lower socioeconomic groups despite effective treatments being available."),

("Impact of Illness on Individuals and Families",
 "Serious illness imposes profound social and economic burdens on patients and their families. In India, over 60% of healthcare expenditure "
 "is out-of-pocket, and a single hospitalisation for a major illness (stroke, cancer, myocardial infarction) can push a family into "
 "catastrophic expenditure and poverty. Chronic illness reduces workforce participation, impairs educational attainment in children of "
 "affected parents, and disrupts family functioning. Stigmatised conditions - tuberculosis, HIV/AIDS, epilepsy, mental illness, leprosy - "
 "cause social isolation, marital breakdown, and occupational discrimination, compounding the clinical disease burden. Physicians must "
 "screen for financial toxicity as part of holistic patient care and connect patients with available welfare schemes."),

("Economic Impact of Outbreaks and Epidemics",
 "Infectious disease outbreaks cause economic disruption far beyond the healthcare system. The 2003 SARS outbreak caused an estimated "
 "USD 54 billion in economic losses despite relatively limited mortality. The COVID-19 pandemic caused the largest global economic "
 "contraction since World War II, with global GDP declining by 3.5% in 2020. Mechanisms include workforce absenteeism, disruption of "
 "supply chains and trade, collapse of tourism and hospitality, school closures with long-term educational consequences, and the "
 "diversion of health budgets away from non-communicable disease care. In India, the economic burden fell most heavily on informal "
 "sector workers, migrant labourers, and small businesses with no social protection safety net."),

("Social Consequences of Epidemics",
 "Epidemics reshape societies. Social distancing measures during COVID-19 increased domestic violence, mental health disorders, and "
 "loneliness-related morbidity. School closures during the pandemic caused estimated learning losses equivalent to months of schooling, "
 "with disproportionate impact on girls and children from low-income households. Vaccine hesitancy - driven by misinformation, mistrust "
 "of institutions, and historical injustices in medical research - poses a growing social threat to epidemic control. Stigma and "
 "discrimination during outbreaks (as seen with HIV in the 1980s and COVID-19 against certain communities) impede public health "
 "responses by driving affected individuals away from testing and treatment services."),

("Role of the Physician in Addressing Social Determinants",
 "The clinician's role extends beyond the consultation room. Social prescribing - connecting patients with non-medical community "
 "resources such as housing assistance, food banks, employment support, and social groups - is an emerging model. Advocacy for "
 "universal health coverage (UHC), equitable distribution of healthcare infrastructure, and social protection policies is a "
 "professional responsibility. Participation in intersectoral taskforces that address housing, sanitation, nutrition, and education "
 "alongside health represents the most effective approach to improving population health. Physicians must document social risk factors "
 "systematically and integrate social workers into their teams to address them comprehensively.")
])

# ══════════════════════════════════════════════════════════════════
# TOPIC 7
# ══════════════════════════════════════════════════════════════════
make_doc("07_Disease_Pattern_Analysis.docx", "7", "Cognitive Competency",
"Analysis of Disease Patterns and Suggestions for Improvement in Management and Prevention",
[
("Introduction",
 "The systematic observation, documentation, and analysis of disease patterns is the bridge between individual clinical care and population "
 "health. At the bedside, the astute clinician identifies outliers - unusual presentations, treatment failures, unexpected complications - "
 "that may signal emerging resistance, a misdiagnosis, or a novel pathogen. At the population level, surveillance data reveal incidence "
 "trends, geographic clusters, seasonal patterns, and at-risk subgroups, informing targeted public health interventions. The physician's "
 "role in generating and acting upon disease pattern data is indispensable to improving both individual and community health."),

("Clinical Audit and Quality Improvement",
 "Clinical audit is a quality improvement cycle that compares actual practice against defined evidence-based standards, identifies gaps, "
 "implements changes, and re-measures outcomes. The PDSA (Plan-Do-Study-Act) cycle is the standard framework for iterative quality "
 "improvement. For example, an audit of antibiotic prescribing practices in a medicine ward might reveal high rates of broad-spectrum "
 "antibiotic use without prior culture, prompting the implementation of an antimicrobial stewardship programme with subsequent "
 "re-audit demonstrating improved culture-guided prescribing. Key performance indicators (KPIs) - door-to-needle time in STEMI, "
 "30-day readmission rates in heart failure, glycaemic control rates in admitted diabetic patients - provide measurable benchmarks "
 "for quality improvement efforts."),

("Epidemiological Surveillance",
 "Disease surveillance is the ongoing, systematic collection, analysis, and interpretation of health data, used to plan, implement, "
 "and evaluate public health interventions. India's Integrated Disease Surveillance Programme (IDSP) operates a three-tiered system "
 "(community, primary health centre, district hospital) with weekly syndromic surveillance data reported through S, P, and L forms. "
 "Mandatory notifiable diseases under the Epidemic Diseases Act must be reported by clinicians promptly. Clinicians who fail to "
 "report a notifiable disease breach both legal and professional obligations. Sentinel surveillance - using a defined subset of "
 "healthcare facilities to monitor trends in specific conditions - is used for influenza, HIV, and antimicrobial resistance."),

("Recognising and Responding to Clusters",
 "The recognition of disease clusters - an unusual aggregation of cases in time, place, or person - is a core clinical and public "
 "health skill. A cluster of febrile illness with haemorrhagic features should prompt consideration of viral haemorrhagic fever; "
 "multiple cases of unexplained acute liver failure from a locality may indicate toxic hepatitis from contaminated food or water. "
 "When a cluster is recognised, the clinician should take detailed exposure histories across cases, liaise immediately with the "
 "district or state public health authority, collect appropriate microbiological specimens, and implement infection control measures "
 "while awaiting confirmation. Early identification of clusters and rapid public health response has contained outbreaks of Nipah "
 "virus, scrub typhus, and leptospirosis in India."),

("Suggestions for Improvement",
 "Based on disease pattern analysis, several improvement strategies may be implemented. First, strengthening disease notification "
 "compliance through training and simplified reporting systems. Second, using antimicrobial resistance data from institutional "
 "antibiograms to guide empirical therapy protocols. Third, employing risk stratification tools (e.g. CHA2DS2-VASc for AF, "
 "GRACE score for ACS) systematically to guide therapy. Fourth, establishing condition-specific registries to generate real-world "
 "outcomes data for Indian populations. Fifth, developing and validating clinical decision support tools embedded in electronic "
 "health records. Engaging with community health workers (ASHA, ANM) to improve case detection and referral pathways is also "
 "essential, particularly for tuberculosis, malnutrition, and maternal and child health.")
])

# ══════════════════════════════════════════════════════════════════
# TOPIC 8
# ══════════════════════════════════════════════════════════════════
make_doc("08_National_Health_Programs.docx", "8", "Cognitive Competency",
"National Health Programs",
[
("Introduction",
 "National health programmes are structured, government-led public health initiatives designed to address priority diseases and health "
 "challenges at a population scale. They provide standardised protocols, supply chains, monitoring systems, and human resources to "
 "ensure consistent, equitable care across the country. Familiarity with these programmes enables the physician to align clinical "
 "practice with programme objectives, counsel patients on available benefits, link patients to programme services, and contribute "
 "to data collection and quality improvement."),

("Tuberculosis: National TB Elimination Programme (NTEP)",
 "Formerly the Revised National TB Control Programme (RNTCP), the NTEP aims to end TB in India by 2025, five years ahead of the "
 "global Sustainable Development Goal target. Key elements include universal access to free molecular testing (CBNAAT/TrueNat) for "
 "all presumptive TB cases, universal drug susceptibility testing, provision of free DOTS (Directly Observed Treatment, Short-course) "
 "and DR-TB regimens, Nikshay Poshan Yojana (Rs. 500/month nutritional support to all TB patients), and Ni-kshay digital platform "
 "for patient tracking. Active case finding and household contact investigation are mandated. Physicians must ensure all diagnosed TB "
 "patients are notified on Nikshay, as private sector notification is legally mandatory."),

("Vector-Borne and Communicable Disease Programmes",
 "The National Vector Borne Disease Control Programme (NVBDCP) controls malaria, dengue, chikungunya, filariasis, kala-azar, and "
 "Japanese encephalitis through integrated vector management, case detection, and treatment. The national kala-azar elimination "
 "target (< 1 case per 10,000 population at block level) has largely been achieved through indoor residual spraying and miltefosine "
 "therapy. The National AIDS Control Programme (NACP), under NACO, provides free antiretroviral therapy, prevention of parent-to-child "
 "transmission services, and targeted interventions for high-risk groups. The Universal Immunisation Programme (UIP) delivers ten "
 "antigens through the national schedule, with recent additions including rotavirus, pneumococcal conjugate, IPV, and the HPV "
 "vaccine for adolescent girls (Cervavac)."),

("Non-Communicable Disease and Other Programmes",
 "The National Programme for Prevention and Control of Cancer, Diabetes, Cardiovascular Diseases and Stroke (NPCDCS) provides "
 "population-level screening at health and wellness centres (HWC) under Ayushman Bharat - Health and Wellness Centres, and "
 "treatment support at district hospitals. The National Mental Health Programme (NMHP) aims to integrate mental health services "
 "into primary care. The Pradhan Mantri National Dialysis Programme provides free dialysis to BPL patients with CKD. The National "
 "Programme for Health Care of the Elderly (NPHCE) addresses the growing burden of geriatric disease."),

("Ayushman Bharat and Universal Health Coverage",
 "Ayushman Bharat - Pradhan Mantri Jan Arogya Yojana (PMJAY), launched in 2018, is the world's largest government-funded health "
 "insurance scheme, providing cashless hospitalisation coverage of up to Rs. 5 lakhs per family per year to approximately 500 "
 "million economically vulnerable individuals. Empanelled hospitals (public and private) provide covered services without any "
 "out-of-pocket payment. Physicians must be aware of the scheme's benefits and covered packages, counsel eligible patients proactively, "
 "and ensure that administrative processes do not delay necessary care. The National Health Mission (NHM) provides the overarching "
 "framework for strengthening rural and urban primary healthcare infrastructure, with Reproductive and Child Health (RCH) and "
 "communicable disease control as core components.")
])

# ══════════════════════════════════════════════════════════════════
# TOPIC 9
# ══════════════════════════════════════════════════════════════════
make_doc("09_Evidence_Based_Medicine.docx", "9", "Cognitive Competency",
"Critical Appraisal of Publications and Evidence-Based Medicine",
[
("Introduction and Definition",
 "Evidence-based medicine (EBM) was formally defined by Sackett et al. in 1996 as 'the conscientious, explicit, and judicious use of "
 "current best evidence in making decisions about the care of individual patients.' It integrates three elements: the best available "
 "external evidence from systematic research, the clinician's individual expertise and experience, and the patient's values, "
 "preferences, and circumstances. EBM does not replace clinical judgment; rather, it informs and disciplines it, ensuring that "
 "treatment decisions are grounded in reliable evidence rather than habit, anecdote, or authority."),

("Hierarchy of Evidence",
 "Evidence is arranged in a hierarchy according to the strength of inference it permits. At the apex are systematic reviews and "
 "meta-analyses, which pool data from multiple high-quality studies to provide the most precise and generalisable estimates. "
 "Well-conducted randomised controlled trials (RCTs) with adequate blinding and allocation concealment sit below, followed by "
 "cohort studies, case-control studies, cross-sectional studies, case series, and expert opinion. The GRADE system (Grading of "
 "Recommendations Assessment, Development and Evaluation) rates evidence quality as High, Moderate, Low, or Very Low, and "
 "recommendation strength as Strong or Conditional (Weak), providing a transparent framework for guideline development. "
 "Clinicians should always ask: what is the study design, and what level of evidence does it provide?"),

("Critical Appraisal of Randomised Controlled Trials",
 "For RCTs, the critical appraisal framework asks: Was the research question clear (PICO format: Population, Intervention, "
 "Comparator, Outcome)? Was randomisation truly random, and was allocation concealed? Were participants, clinicians, and outcome "
 "assessors blinded where feasible? Was the analysis intention-to-treat? Was the sample size adequate (sufficient power)? What "
 "were the primary and secondary outcomes, and were they clinically meaningful? Were adverse events reported comprehensively? "
 "Was there selective outcome reporting? The CONSORT checklist provides a standardised reporting framework for RCTs. Common "
 "biases include selection bias (non-random allocation), performance bias (differential care), detection bias (subjective outcome "
 "assessment without blinding), and attrition bias (differential dropout)."),

("Statistical Literacy",
 "Interpreting trial results requires statistical literacy. The p-value indicates the probability of observing the results by "
 "chance if the null hypothesis is true; a p < 0.05 is conventionally significant but does not indicate clinical importance. "
 "The confidence interval (CI) provides the range within which the true effect likely lies; a CI crossing 1.0 for relative "
 "risk or hazard ratio, or crossing 0 for absolute risk difference, indicates non-significance. The absolute risk reduction (ARR) "
 "and number needed to treat (NNT) contextualise the clinical benefit: a highly statistically significant relative risk reduction "
 "may correspond to a trivially small absolute benefit. Hazard ratios from survival analyses represent instantaneous relative risk "
 "of the event over the study period. Heterogeneity in meta-analyses (I² statistic) indicates whether studies are measuring the "
 "same effect or different populations."),

("Journal Clubs and Applying Evidence",
 "Regular journal clubs are the cornerstone of evidence-based postgraduate training. A structured journal club session should "
 "select a clinically relevant paper, systematically appraise its validity and results using a standard tool (CASP checklist), "
 "determine applicability to the local patient population, and discuss how (or whether) findings should change practice. "
 "Publication bias - the systematic under-publication of negative and null trials - inflates apparent treatment effects in "
 "meta-analyses; registered trial databases (ClinicalTrials.gov, CTRI) allow detection of unreported studies. Physicians have "
 "a professional obligation to remain current with the literature, to apply evidence critically and contextually, and to update "
 "their practice when high-quality new evidence emerges.")
])

# ══════════════════════════════════════════════════════════════════
# TOPIC 10
# ══════════════════════════════════════════════════════════════════
make_doc("10_Levels_of_Prevention.docx", "10", "Cognitive Competency",
"Levels of Prevention in Communicable and Non-Communicable Diseases",
[
("Introduction",
 "Prevention is the cornerstone of public health and a fundamental responsibility of all clinicians. It operates along a continuum "
 "from population-level policy to individual clinical intervention. The traditional model describes three levels of prevention; "
 "a fourth level - primordial prevention - is now widely recognised as the most upstream and ultimately most impactful approach. "
 "An understanding of all levels allows the physician to contribute meaningfully to health promotion, early detection, and "
 "disability limitation in both communicable and non-communicable disease."),

("Primordial Prevention",
 "Primordial prevention aims to prevent the development of risk factors themselves within populations that have not yet manifested "
 "them, by targeting social, economic, and environmental conditions. It operates at the policy level rather than the individual "
 "clinical level. Examples include: taxation and advertising restrictions on tobacco and alcohol to prevent uptake in youth; "
 "urban planning policies that mandate green spaces and cycling infrastructure to promote physical activity; food labelling "
 "regulations and trans-fat bans to reduce cardiovascular risk factors; and air quality legislation to reduce the incidence of "
 "chronic respiratory disease. The physician's role at this level is one of advocacy and community engagement rather than "
 "direct clinical intervention."),

("Primary Prevention",
 "Primary prevention aims to prevent disease occurrence in susceptible individuals. Vaccination is the paradigmatic primary "
 "prevention intervention: the Universal Immunisation Programme (UIP) prevents measles, polio, diphtheria, tetanus, pertussis, "
 "hepatitis B, and rotavirus; HPV vaccination prevents cervical cancer; typhoid conjugate vaccine reduces enteric fever. "
 "Vector control (insecticide-treated bed nets, indoor residual spraying) prevents malaria and dengue. Tobacco cessation "
 "counselling and nicotine replacement therapy prevent COPD and lung cancer. Dietary modification and structured exercise "
 "programmes prevent type 2 diabetes in high-risk individuals (DPP trial: 58% risk reduction with lifestyle intervention). "
 "Chemoprophylaxis - isoniazid preventive therapy (IPT) for latent TB, PrEP (tenofovir/emtricitabine) for HIV in high-risk "
 "individuals - represents primary prevention using pharmacological means."),

("Secondary Prevention",
 "Secondary prevention involves the early detection of disease in its asymptomatic or minimally symptomatic phase, followed by "
 "prompt treatment to prevent progression. Screening programmes are its primary instrument. Cancer screening - cervical cancer "
 "by VIA/Pap smear, breast cancer by mammography, colorectal cancer by faecal occult blood test and colonoscopy - reduces "
 "disease-specific mortality by enabling treatment at an earlier, more curable stage. Hypertension screening in adults detects "
 "the 'silent killer' before end-organ damage; diabetic screening in at-risk populations prevents long-term complications. "
 "In communicable disease, tuberculosis contact tracing and testing identifies latent infection before progression to active "
 "disease; HIV testing programmes detect infection before AIDS-defining illness. The criteria for a successful screening "
 "programme (Wilson and Jungner criteria) include: the condition should be an important health problem, with a recognisable "
 "latent stage, a suitable test, an acceptable treatment, and an agreed policy on treatment."),

("Tertiary Prevention and Disability Limitation",
 "Tertiary prevention seeks to minimise the impact of established disease by reducing disability, preventing complications, "
 "and optimising long-term function. It overlaps substantially with treatment and rehabilitation. Examples include: intensive "
 "glycaemic control, blood pressure management, and foot care in diabetes to prevent retinopathy, nephropathy, and amputation; "
 "cardiac rehabilitation after myocardial infarction to reduce recurrence; antiretroviral therapy to maintain CD4 counts and "
 "prevent AIDS-defining infections in HIV; and physiotherapy after stroke to maximise neurological recovery. Patient education "
 "on self-management (inhalation technique in asthma/COPD, sick-day rules in diabetes, anticoagulation in AF) is a cost-effective "
 "component of tertiary prevention. The physician must operate simultaneously across all levels of prevention, integrating "
 "preventive counselling into every clinical encounter.")
])

# ══════════════════════════════════════════════════════════════════
# TOPIC 11
# ══════════════════════════════════════════════════════════════════
make_doc("11_Legislation_Ethics.docx", "11", "Cognitive Competency",
"Legislations Related to Organ Transplant, Brain Death, Informed Consent, and Human Rights",
[
("Introduction",
 "The practice of medicine is governed by a complex framework of legislation, professional regulations, and international human "
 "rights instruments designed to protect patient rights, ensure ethical conduct, and regulate complex biomedical practices. "
 "Physicians must be fluent in this framework - not as a defensive shield against litigation, but as a positive expression of "
 "professional commitment to the rights and dignity of their patients. Key domains include organ transplantation, the legal "
 "definition and certification of brain death, the doctrine of informed consent, and broader human rights principles as applied "
 "to medical practice."),

("Transplantation of Human Organs and Tissues Act (THOTA)",
 "The Transplantation of Human Organs Act was enacted in India in 1994 and significantly amended in 2011 (becoming THOTA). It "
 "legalises organ donation from both living and deceased (brain-dead) donors while establishing strict safeguards against "
 "commercialisation and organ trafficking. Living donors may be near relatives (as defined by the Act: spouse, son, daughter, "
 "father, mother, brother, sister, grandfather, grandmother, grandson, granddaughter) or, with authorisation committee approval, "
 "unrelated donors with documented altruistic motivation. Commercial transactions in organs are a criminal offence. Hospital "
 "transplant committees and authorisation committees provide institutional oversight. The 2011 amendment introduced the concept "
 "of swap donation and expanded the list of organs and tissues covered, including eyes, skin, bone, and heart valves."),

("Brain Death: Definition and Certification",
 "Brain death is defined under THOTA as the irreversible cessation of all functions of the entire brain, including the brainstem. "
 "It must be distinguished from a persistent vegetative state (in which brainstem reflexes are preserved) and from other causes "
 "of coma. Legal certification of brain death in India requires: a panel of four doctors (the treating physician, a nominated "
 "specialist from the hospital, a neurologist or neurosurgeon nominated by the in-charge of the hospital, and a physician "
 "nominated by an appropriate authority of the hospital); two sets of clinical tests performed at least six hours apart; "
 "and documentation on prescribed forms. Prerequisite conditions for brain death testing must be confirmed: normothermia, "
 "normal blood pressure, absence of drug effect, and absence of metabolic causes of coma. Apnoea testing and brainstem reflex "
 "testing (corneal, vestibulo-ocular, oculocephalic, gag, and cough reflexes) constitute the clinical examination."),

("Informed Consent",
 "Informed consent is the legal and ethical cornerstone of the doctor-patient relationship. A valid informed consent must satisfy "
 "four conditions: disclosure (the physician must provide all material information that a reasonable patient would wish to know, "
 "including the diagnosis, proposed procedure, expected benefits, material risks, available alternatives, and consequences of "
 "declining treatment), comprehension (the information must be provided in language and format the patient can understand, "
 "using interpreters if needed), voluntariness (consent must be freely given without coercion, undue influence, or manipulation), "
 "and competence (the patient must have the decision-making capacity to understand and weigh the information). In emergencies "
 "where the patient is incapacitated and no surrogate is available, treatment necessary to save life may be provided without "
 "consent under the doctrine of necessity. Consent must be documented in the medical record; for procedures carrying significant "
 "risk, written consent is standard. Consent is a process, not a single signed form."),

("Human Rights in Medical Practice",
 "Patients possess fundamental rights guaranteed by the Constitution of India, the Protection of Human Rights Act (1993), and "
 "international instruments including the Universal Declaration of Human Rights (1948) and the UN Convention on the Rights of "
 "Persons with Disabilities (UNCRPD, ratified by India in 2007). These include the right to dignity and non-discrimination, "
 "the right to privacy and confidentiality of medical information, the right to access healthcare without arbitrary refusal, "
 "the right to be informed and to participate in treatment decisions, and the right to seek a second opinion. The Mental "
 "Healthcare Act (2017) gives persons with mental illness the right to refuse treatment, make advance directives, and have "
 "a nominated representative. The Rights of Persons with Disabilities Act (2016) prohibits discrimination in healthcare "
 "settings. Physicians must be advocates for their patients' rights, particularly for marginalised and vulnerable groups "
 "who are most at risk of rights violations within healthcare systems.")
])

# ══════════════════════════════════════════════════════════════════
# TOPIC 12
# ══════════════════════════════════════════════════════════════════
make_doc("12_Recent_Advances.docx", "12", "Cognitive Competency",
"Recent Advances in Internal Medicine",
[
("Introduction",
 "Internal medicine is one of the most intellectually dynamic specialties in clinical medicine, with therapeutic and diagnostic "
 "advances transforming the prognosis of conditions that were previously associated with high morbidity and mortality. The pace "
 "of change demands continuous professional development; it is estimated that the medical knowledge base doubles approximately "
 "every seventy-three days in the current era. Staying current requires structured engagement with peer-reviewed literature, "
 "national and international conferences, and accredited continuing medical education (CME) programmes."),

("Cardiometabolic Advances",
 "The last decade has been transformative for cardiometabolic medicine. SGLT2 inhibitors (empagliflozin, dapagliflozin, "
 "canagliflozin) have demonstrated cardiovascular mortality reduction (EMPA-REG OUTCOME), hospitalisation reduction in heart "
 "failure with both reduced and preserved ejection fraction (DAPA-HF, EMPEROR-Reduced, EMPEROR-Preserved), and slowing of CKD "
 "progression (CREDENCE, DAPA-CKD) - benefits that are largely independent of glycaemic control. GLP-1 receptor agonists "
 "(semaglutide, liraglutide, dulaglutide) reduce major adverse cardiovascular events in high-risk type 2 diabetes and produce "
 "substantial weight loss (LEADER, SUSTAIN-6, REWIND). Tirzepatide (dual GLP-1/GIP agonist) achieves weight reductions of "
 "up to 22% in obesity trials (SURMOUNT). In heart failure, sacubitril-valsartan (ARNI) has superseded ACE inhibitors as the "
 "preferred RAAS agent in HFrEF. Inclisiran (siRNA targeting PCSK9) offers twice-yearly injectable lipid lowering."),

("Infectious Disease and Respiratory Advances",
 "Direct-acting antivirals (sofosbuvir/velpatasvir, glecaprevir/pibrentasvir) have achieved cure rates exceeding 95% for all "
 "hepatitis C genotypes, representing a public health transformation. Long-acting injectable antiretrovirals (cabotegravir + "
 "rilpivirine, administered monthly or two-monthly) have transformed HIV treatment adherence. Bedaquiline and pretomanid have "
 "improved outcomes in extensively drug-resistant tuberculosis. In COVID-19, nirmatrelvir/ritonavir (Paxlovid) reduces "
 "hospitalisation in high-risk individuals by 89%. The integration of POCUS (point-of-care ultrasound) into respiratory "
 "assessment - lung ultrasound for pneumonia, effusion, and pulmonary oedema - has improved diagnostic accuracy at the bedside. "
 "Treatable traits-based approaches in COPD and asthma guide precision selection of inhaler therapy."),

("Oncology and Immunotherapy",
 "Immune checkpoint inhibitors (ICIs) targeting PD-1 (pembrolizumab, nivolumab), PD-L1 (atezolizumab, durvalumab), and CTLA-4 "
 "(ipilimumab) have redefined the management of multiple malignancies including non-small cell lung cancer, melanoma, urothelial "
 "cancer, gastric cancer, and hepatocellular carcinoma. Long-term survival in metastatic melanoma and NSCLC - previously measured "
 "in months - now extends to years in responders. CAR-T cell therapy (axicabtagene ciloleucel, tisagenlecleucel) offers "
 "curative potential in relapsed/refractory B-cell lymphomas and ALL. Antibody-drug conjugates (ADCs) combine targeted delivery "
 "with cytotoxic payload. Bispecific antibodies (blinatumomab) recruit T-cells to tumour cells. Minimal residual disease (MRD) "
 "testing by next-generation sequencing guides treatment intensity in haematological malignancies."),

("Technology, AI, and Precision Medicine",
 "Next-generation sequencing (NGS) enables comprehensive tumour genomic profiling, identifying actionable driver mutations "
 "(EGFR, ALK, BRAF, ROS1 in lung cancer; BRCA1/2 in ovarian and breast cancer) that predict response to targeted therapies. "
 "Pharmacogenomic testing informs drug selection and dosing based on individual metabolic genotype (e.g. CYP2D6 for tamoxifen, "
 "TPMT for thiopurines). Artificial intelligence applications in medicine include: deep learning algorithms for ECG interpretation "
 "(detecting AF, LVH, structural disease from 12-lead ECG), chest radiograph analysis (detecting pneumonia, pneumothorax, nodules), "
 "retinal fundus analysis (detecting diabetic retinopathy), and clinical risk prediction models (e.g. sepsis early warning). "
 "Continuous glucose monitoring (CGM) and wearable cardiac monitors are expanding ambulatory diagnostics. The COVID-19 pandemic "
 "validated mRNA vaccine technology, which is now being applied to influenza, RSV, and cancer vaccines. Telemedicine has been "
 "integrated into routine outpatient practice, expanding access particularly for patients in remote and underserved areas.")
])

# ══════════════════════════════════════════════════════════════════
# TOPIC 13
# ══════════════════════════════════════════════════════════════════
make_doc("13_Teamwork_Comprehensive_Care.docx", "13", "Affective Competency",
"Teamwork, Cooperation, and Comprehensive Patient Care",
[
("Introduction",
 "The increasing complexity of modern medical care - driven by multimorbidity, polypharmacy, subspecialty knowledge, and the "
 "expanding role of allied health professionals - makes teamwork not merely desirable but essential. No single clinician possesses "
 "the breadth of expertise, availability, or energy required to manage complex patients optimally across all dimensions of their "
 "care. Research consistently demonstrates that effective multidisciplinary teamwork reduces medical errors, improves patient "
 "outcomes, shortens hospital stays, and enhances the wellbeing of healthcare workers. The postgraduate physician must develop "
 "genuine team orientation from the outset of training."),

("The Multidisciplinary Team",
 "The multidisciplinary team (MDT) in internal medicine encompasses physicians (including consultants, registrars, and interns), "
 "nursing staff, clinical pharmacists, physiotherapists, occupational therapists, speech and language therapists, dietitians, "
 "social workers, and chaplains. Each professional brings unique expertise; the value of the team derives from the integration "
 "of these perspectives rather than any hierarchy. Structured MDT meetings - weekly for complex patients in oncology, heart "
 "failure, or stroke units - ensure that all team members share information, align goals, and coordinate discharge planning. "
 "The patient and family should, wherever possible and appropriate, be considered active members of their own care team."),

("Communication Within the Team",
 "Effective intra-team communication is the most critical determinant of patient safety. The SBAR (Situation, Background, "
 "Assessment, Recommendation) tool structures handovers and clinical escalations to ensure complete, unambiguous information "
 "transfer. Structured daily ward rounds with nursing presence and pharmacist input improve medication safety and flag "
 "deteriorating patients earlier. Closed-loop communication - where the receiver explicitly confirms receipt and understanding "
 "of a message - reduces errors in high-stakes situations such as resuscitation and procedural handover. Electronic health "
 "records, when used well, provide a shared communication platform; when used poorly, they fragment care with duplicate "
 "documentation and information silos."),

("Interaction with Patients and Relatives",
 "Comprehensive care requires that the team's technical expertise be delivered within a framework of compassionate, informed "
 "communication with the patient and family. Patients and relatives should be updated daily during acute admissions, given "
 "the opportunity to ask questions, and involved in decision-making according to the patient's preferences and capacity. "
 "Family meetings, particularly in complex or deteriorating cases, should be structured: introductions, understanding of "
 "what is already known, information provision, questions, and an agreed plan. Conflicting information from different team "
 "members is a significant source of distress and mistrust; the team must agree on a consistent message before communicating "
 "with families. Cultural and linguistic barriers require interpreter services rather than reliance on family members for "
 "clinical translation."),

("Professional Attitudes in Teamwork",
 "Effective teamwork demands a set of professional attitudes that must be consciously cultivated. Psychological safety - "
 "the belief that one can speak up, ask questions, or raise concerns without fear of ridicule or retaliation - is the "
 "foundation of high-functioning teams. Hierarchies that silence nurses or junior doctors from raising patient safety "
 "concerns are a recognised threat to patient welfare. Mutual respect across professional disciplines is non-negotiable. "
 "The postgraduate trainee must develop professional humility - acknowledging the limits of their knowledge and seeking "
 "input rather than proceeding with uncertainty. Conflict in teams, which is inevitable, should be addressed constructively "
 "through open discussion focused on patient welfare. Leadership skills - facilitating meetings, delegating appropriately, "
 "and supporting junior staff - should be developed progressively throughout training.")
])

# ══════════════════════════════════════════════════════════════════
# TOPIC 14
# ══════════════════════════════════════════════════════════════════
make_doc("14_Ethics_Professionalism.docx", "14", "Affective Competency",
"Ethical Principles, Professional Etiquette, and Patient Rights",
[
("Foundations of Medical Ethics",
 "Medical ethics provides the philosophical framework within which clinical decisions are made and professional conduct is "
 "evaluated. The four-principles framework of Beauchamp and Childress - autonomy, beneficence, non-maleficence, and justice - "
 "remains the dominant paradigm in Western bioethics. Autonomy respects the patient's right to make informed, voluntary "
 "decisions about their own healthcare. Beneficence obligates the physician to act in the patient's best interest. "
 "Non-maleficence requires the avoidance of unnecessary harm - captured in the Hippocratic injunction primum non nocere "
 "(first, do no harm). Justice demands fair allocation of healthcare resources and non-discriminatory treatment. "
 "These principles frequently come into tension, and resolving these tensions requires careful, contextualised moral reasoning "
 "rather than algorithmic application of rules."),

("Professional Etiquette and Conduct",
 "Medical professionalism encompasses the behaviours, values, and attitudes expected of a physician in the exercise of their "
 "role. It includes punctuality and reliability, appropriate professional dress, courteous and respectful language towards "
 "patients, relatives, and all colleagues regardless of seniority, maintenance of appropriate professional boundaries, "
 "and meticulous record-keeping. The medical record is a legal and clinical document; entries must be accurate, dated, "
 "signed, and legible. Professional misconduct - which includes breach of confidentiality, sexual impropriety, dishonesty, "
 "financial exploitation of patients, and practising under the influence of substances - is subject to disciplinary action "
 "by the National Medical Commission (NMC) and State Medical Councils, and may result in removal from the medical register."),

("Patient Rights",
 "Patients are not passive recipients of care; they hold active rights that must be respected. The right to information "
 "obliges the physician to explain the diagnosis, prognosis, proposed treatment, alternatives, and risks in language the "
 "patient can understand. The right to consent (and to refuse treatment, even if life-saving) derives from the principle "
 "of autonomy and is protected by law. The right to confidentiality means that patient information must not be disclosed "
 "to third parties without consent, with defined exceptions for public health necessity (notifiable diseases), court orders, "
 "and immediate risk of serious harm. The right to a second opinion is protected, and physicians must not impede or "
 "discourage patients from seeking one. The right to dignity requires that patients be treated with respect regardless "
 "of their diagnosis, behaviour, or social circumstances."),

("Conflicts of Interest and the Duty of Candour",
 "Conflicts of interest arise when a physician's personal interests - financial, academic, or relational - have the potential "
 "to influence clinical decisions to the detriment of the patient. Common scenarios include receipt of gifts or hospitality "
 "from pharmaceutical companies, financial relationships with diagnostic laboratories, and self-referral to facilities in "
 "which the physician has a financial stake. The NMC Code of Ethics prohibits such conflicts and requires transparency. "
 "The duty of candour - the professional and, increasingly, legal obligation to be open and honest with patients when "
 "clinical care has caused or may cause harm - requires the physician to acknowledge the adverse event, apologise sincerely, "
 "explain what happened, and describe what will be done to prevent recurrence. Open disclosure does not increase litigation "
 "risk and demonstrably improves patient trust."),

("Ethics in Resource-Limited Settings",
 "Justice in healthcare requires equitable resource allocation, but resource scarcity in low-income settings creates "
 "complex ethical dilemmas. ICU triage during a surge - who receives the available ventilator? - requires transparent, "
 "pre-agreed criteria rather than ad hoc decisions subject to bias. Clinical trial ethics in developing countries raises "
 "questions of post-trial access, standard-of-care comparators, and community consultation. Research conducted without "
 "adequate local ethical review or community engagement exploits rather than benefits populations. The Declaration of "
 "Helsinki (revised 2013) provides the international ethical framework for medical research involving human subjects, "
 "emphasising independent ethics committee oversight, voluntary informed consent, and the primacy of participant welfare "
 "over scientific or societal interests. Every physician engaged in research must be familiar with and adhere to "
 "these principles.")
])

# ══════════════════════════════════════════════════════════════════
# TOPIC 15
# ══════════════════════════════════════════════════════════════════
make_doc("15_Communication_Skills.docx", "15", "Affective Competency",
"Communication Skills: Breaking Bad News and Patient Interaction",
[
("Introduction",
 "Communication is the most frequently performed clinical skill in medicine, yet it receives comparatively little structured "
 "training relative to technical procedural skills. Mounting evidence links poor clinician communication to patient "
 "dissatisfaction, treatment non-adherence, avoidable complaints, and medico-legal claims. Conversely, good communication "
 "improves patient understanding, adherence, psychological wellbeing, and clinical outcomes across a range of conditions "
 "from cancer to diabetes to heart failure. Communication skills are not a fixed personality trait; they are teachable and "
 "improvable through deliberate practice, reflection, and feedback."),

("The SPIKES Protocol for Breaking Bad News",
 "Breaking bad news is among the most challenging communication tasks in medicine. The SPIKES protocol (Baile et al., 2000) "
 "provides a structured, validated six-step framework. Step 1 - Setting: arrange a private, quiet space; invite the patient's "
 "nominated support person; sit at the same level; ensure sufficient uninterrupted time. Step 2 - Perception: open with "
 "open-ended questions to explore the patient's current understanding ('What do you understand about your condition so far?'). "
 "Step 3 - Invitation: ask how much detail the patient wishes to receive ('Some people want all the details; others prefer "
 "the bigger picture - what would you prefer?'). Step 4 - Knowledge: give information in manageable portions using plain "
 "language, avoiding medical jargon; pause frequently to check comprehension; deliver the 'warning shot' before the "
 "actual diagnosis ('I'm afraid the results show something serious...'). Step 5 - Emotions: acknowledge the patient's "
 "emotional response empathetically before proceeding ('I can see this is very difficult news to hear; take a moment...'). "
 "Step 6 - Summarise and Strategise: summarise the key information, outline the immediate plan, and provide written "
 "information and contact details. Schedule a follow-up appointment."),

("Active Listening and Non-Verbal Communication",
 "Active listening is a purposeful, skilled activity distinct from passive hearing. It requires making eye contact "
 "(culturally adapted), adopting open, non-defensive body posture, nodding and using verbal affirmations ('I see', "
 "'go on'), minimising interruptions, and reflecting back what has been said to confirm understanding ('So what I'm "
 "hearing is that your main concern is...?'). Non-verbal communication constitutes a significant proportion of the "
 "total message conveyed: facial expression, proximity, touch (where culturally appropriate and consented), and tone "
 "of voice all transmit empathy, authority, or disengagement. The physician who maintains eye contact with their "
 "computer screen rather than the patient communicates disinterest, regardless of the words used. Patients consistently "
 "report that feeling heard and respected is as important to them as the technical quality of their medical care."),

("Communication with Relatives and Colleagues",
 "Communication with relatives requires balancing the duty of confidentiality with the family's legitimate need for "
 "information. The starting point is always the patient's consent: what information has the patient agreed to share, "
 "and with whom? In patients who lack capacity, the family plays a consultative role in best-interests decision-making "
 "but does not hold legal proxy decision-making authority under most Indian law (unlike jurisdictions with formal lasting "
 "power of attorney). Structured family meetings require preparation, a nominated clinician to lead, and a plan for "
 "managing emotional reactions. Communication with nursing staff and paramedics must be clear, specific, and "
 "respectful: verbal orders should be avoided where possible, and all instructions should be documented. Escalation "
 "communications (e.g. to a senior colleague about a deteriorating patient) should use SBAR structure."),

("Written Communication and Documentation",
 "Written communication - discharge summaries, referral letters, clinic letters, operative notes, and death certificates "
 "- forms the legal and clinical record of care and directly affects the safety of care transitions. Discharge summaries "
 "must include: diagnosis, significant investigations, treatments initiated, outstanding results, follow-up arrangements, "
 "and a clear medication list reconciled against the admission medications. Referral letters must provide sufficient "
 "clinical context to allow the receiving clinician to prioritise and prepare. Letters to general practitioners must "
 "be comprehensible to a non-specialist. The electronic health record, when properly used, creates a longitudinal "
 "record accessible to all treating clinicians; fragmented documentation and copy-paste errors are patient safety risks. "
 "All entries must be dated, timed, and signed with the author's name and designation printed clearly.")
])

# ══════════════════════════════════════════════════════════════════
# TOPIC 16
# ══════════════════════════════════════════════════════════════════
make_doc("16_Equity_Inclusion_LGBTQIA.docx", "16", "Affective Competency",
"Equity, Equality, and Inclusive Care for Differently Abled and LGBTQIA+ Individuals",
[
("Introduction: Equity vs. Equality",
 "Equality in healthcare means providing the same resource or treatment to every patient. Equity recognises that identical "
 "treatment does not produce identical outcomes when patients start from different positions - due to disability, "
 "discrimination, poverty, or marginalisation - and that achieving equal health outcomes requires providing additional "
 "or different support to those who face greater barriers. True patient-centred medicine is inherently equity-oriented. "
 "The physician's professional and ethical obligation to all patients - regardless of their identity, background, or "
 "circumstances - is to provide the highest possible standard of care without discrimination or prejudice."),

("Care for Differently Abled Individuals",
 "Disability encompasses a wide spectrum of physical, sensory, cognitive, and mental health impairments that interact "
 "with environmental barriers to limit participation. The Rights of Persons with Disabilities Act (2016) recognises 21 "
 "categories of disability and mandates non-discrimination in all public services, including healthcare. In clinical "
 "practice, differently abled patients face multiple barriers: physically inaccessible buildings, examination couches "
 "and imaging equipment that cannot accommodate wheelchair users, lack of sign language interpreters for deaf patients, "
 "written materials and consent forms that are inaccessible to those with visual impairment or low literacy, and "
 "implicit biases among clinicians that lead to diagnostic overshadowing (attributing physical symptoms to the "
 "underlying disability rather than investigating them). Physicians must proactively identify and mitigate these "
 "barriers, use communication aids (picture boards, sign language services, audio materials), involve caregivers "
 "with the patient's consent, and advocate for accessible healthcare infrastructure."),

("Health Disparities in LGBTQIA+ Populations",
 "Lesbian, gay, bisexual, transgender, queer, intersex, and asexual (LGBTQIA+) individuals experience significant and "
 "well-documented health disparities compared with heterosexual, cisgender populations. These disparities are not "
 "biological in origin; they are the product of minority stress - the chronic psychological burden of stigma, "
 "discrimination, concealment of identity, and internalised homophobia or transphobia. Higher rates of depression, "
 "anxiety, post-traumatic stress disorder, suicidality, self-harm, and substance use are consistently documented. "
 "LGBTQIA+ individuals are more likely to delay seeking healthcare due to prior experiences of discrimination or "
 "anticipated rejection in healthcare settings. Specific disease risks include elevated HIV prevalence among men who "
 "have sex with men (MSM) and transgender women, higher rates of anal and oropharyngeal HPV-related cancers in MSM, "
 "and the health consequences of gender dysphoria and gender affirmation interventions in transgender individuals."),

("Clinical Care for Transgender and Gender-Diverse Patients",
 "Transgender and gender-diverse patients have specific, often unmet healthcare needs. Gender-affirming hormone therapy "
 "(oestrogen for transgender women, testosterone for transgender men) requires baseline assessment and ongoing monitoring "
 "of cardiovascular risk, haematological parameters, bone density, liver function, and psychological wellbeing. "
 "Transgender women on oestrogen have increased venous thromboembolism and cardiovascular risk. Transgender men on "
 "testosterone may develop polycythaemia, acne, and require counselling on fertility preservation prior to commencing "
 "hormones. Clinicians must recognise that standard organ-based screening guidelines apply based on anatomy rather than "
 "gender identity: a transgender man who retains a cervix still requires cervical cancer screening; a transgender woman "
 "with a prostate still requires PSA monitoring per age-based guidelines. Using a patient's chosen name and pronouns "
 "correctly is not merely courtesy - it is associated with measurable reductions in depression and suicidal ideation."),

("Creating an Inclusive Clinical Environment",
 "An inclusive clinical environment begins with the attitudes and behaviours of its clinicians and staff. Self-reflection "
 "on implicit biases - tested through validated tools such as the Implicit Association Test - is the first step. "
 "Using inclusive intake forms that ask for gender identity, pronouns, and sexual orientation (where clinically relevant) "
 "rather than binary sex alone signals a welcoming environment. Avoiding assumptions about relationship status, sexual "
 "behaviour, or gender identity based on appearance is fundamental. Non-judgmental, open-ended sexual history taking "
 "using inclusive language ('Do you have a partner or partners? What are the genders of your partners?') enables "
 "accurate risk assessment without alienating patients. Visible symbols of inclusion in clinical spaces - rainbow "
 "lanyards, inclusive posters - are associated with increased disclosure of sexual orientation and gender identity "
 "by patients. Cultural humility - the commitment to ongoing self-reflection and learning, rather than a fixed state "
 "of 'cultural competence' - is the appropriate professional orientation towards all aspects of diversity, and must "
 "be cultivated as a lifelong professional practice.")
])

print("\n✓ All 16 full-length files created in:", OUTPUT_DIR)
Running Command

python3 /tmp/workspace/elog-book/create_full.py

All 16 files are ready - each now runs 1-2 full pages with 5 clearly headed subsections. Download individually below:

Cognitive Competencies

#TopicDownload
1Pharmaco-therapeutics

01 Pharmaco Therapeutics

Word Document · DOCX

2Environmental & Ecological Health

02 Environmental Ecological Health

Word Document · DOCX

3Rehabilitation

03 Rehabilitation

Word Document · DOCX

4Palliative & Terminal Care

04 Palliative Terminal Care

Word Document · DOCX

5National & International Guidelines

05 National International Guidelines

Word Document · DOCX

6Social & Economic Aspects

06 Social Economic Aspects

Word Document · DOCX

7Disease Pattern Analysis

07 Disease Pattern Analysis

Word Document · DOCX

8National Health Programs

08 National Health Programs

Word Document · DOCX

9Evidence-Based Medicine & Critical Appraisal

09 Evidence Based Medicine

Word Document · DOCX

10Levels of Prevention

10 Levels of Prevention

Word Document · DOCX

11Legislation: Organ Transplant, Brain Death, Consent, Human Rights

11 Legislation Ethics

Word Document · DOCX

12Recent Advances in Internal Medicine

12 Recent Advances

Word Document · DOCX

Affective Competencies

#TopicDownload
13Teamwork & Comprehensive Care

13 Teamwork Comprehensive Care

Word Document · DOCX

14Ethics, Professionalism & Patient Rights

14 Ethics Professionalism

Word Document · DOCX

15Communication Skills & Breaking Bad News

15 Communication Skills

Word Document · DOCX

16Equity, Inclusion & LGBTQIA+ Care

16 Equity Inclusion LGBTQIA

Word Document · DOCX


Each document contains:
  • Topic heading with category label and topic number
  • 5 subsections with bold blue subheadings
  • ~500-700 words of substantive, clinically accurate content covering introduction, principles, disease-specific examples, guidelines/legislation references (Indian and international), and clinical relevance
  • Times New Roman 12pt, 1.2" margins, 22pt line spacing - clean academic format ready for submission

P - ( Respiratory management ) - Non-invasive and mechanical ventilation (PI) P - ( Critically ill person ) - Monitoring a sick person (PI) P - ( Critically ill person ) Endotracheal intubation P - ( Critically ill person ) - Cardio-pulmonary resuscitation(PI) P - ( Critically ill person ) - Central vein cannulation and CVP monitoring (PI) P - ( Critically ill person ) - Using a defibrillator (PI) P - ( Critically ill person ) - Hemodialysis (PS) P - ( Critically ill person ) - Certification of Brain death (PI) P - ( Interpretetion skills ) - Treadmill testing (PI) P - ( Interpretetion skills ) - ABG analysis (PI) P - ( Interpretetion skills ) - Ultrasonography (PI) P - ( Interpretetion skills ) - CT scan chest and abdomen (PI) P - ( Interpretetion skills ) -&#x2022; CT scan head and spine (PI) P - ( Interpretetion skills ) - MRI- Brain and spine (PI) P - ( Interpretetion skills ) - Barium studies- desirable (PI) P - ( Interpretetion skills ) - Pulmonary function tests (PI) P - ( Interpretetion skills ) - Immunological investigations (PI) P - ( Interpretetion skills ) - Nerve Conduction studies /EMG (PI P - ( Interpretetion skills ) - EEG (PI) P - ( Interpretetion skills ) - Evoked Potential interpretation (PI) P - ( Communication skills ) - Communicating health and disease, P -( Communication skills ) - Pre-test and post-test counseling for HIV P - ( Communication skills ) - Pedagogy: teaching students, other health functionaries: lectures, bedside clinics, discussions, P - ( Communication skills ) - Health education: prevention of common medical problems, promoting healthy lifestyle, immunization, periodic health screening, counseling skills in risk factors for common malignancies, cardiovascular disease, AIDS etc. P - ( Communication skills ) - Dietary counseling in health and disease, P - ( Communication skills ) - Linking patients with community resources, P - ( Communication skills ) - Providing referral P - ( Communication skills ) - Genetic counseling, P - ( Communication skills ) - Communicating bad news to the patient and relatives. P - ( others ) - professionalism P - ( others ) - ethical behavior (humane and professional care to patients) P - ( others ) - Medline search, Internet access, computer usage P - ( others ) - designing a study P - ( others ) - interpretation and presentation of scientific data P - ( others ) - identifying key information sources P - ( others ) - literature searches P - ( others ) - information management P - ( others ) - managing multiple problems simultaneously P - ( others ) -assessing risks, benefits and costs of treatment options P - ( others ) - involving patients in decision-making P - ( others ) - selecting specific drugs within classes P - ( others ) - rational use of drugs

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