Hi

Hi! How can I help you today?

Medical code ethics

Asking for Preferences
Reading File
Finding Sources
Searching the Web

medical ethics core principles exam prep summary 2025

Reading File
Reading File
Reading File
Finding Sources
Reading File
Reading File
Reading File
Finding Sources
Reading File
Reading File
I now have excellent content from multiple authoritative textbooks. Let me compile a comprehensive exam prep guide.

Medical Code of Ethics - Complete Exam Prep Guide


1. Definitions

Medical Ethics is the subject concerned with moral principles governing members of the medical profession in their dealings with each other, their patients, and the State. It is a self-imposed code designed to uphold the noble traditions of the medical profession. Violations, while not always legally punishable, are considered unprofessional and unethical.
  • Parikh's Textbook of Medical Jurisprudence, Forensic Medicine & Toxicology
Medical Etiquette (different from ethics) refers to conventional laws and customs of courtesy among members of the same profession - e.g., not charging a colleague's family, treating colleagues like brothers.
Bioethics (term coined by Fritz Jahr, 1927) is broader - it covers ethical considerations in both biological research (on non-human organisms) and medical research (on humans). It includes animal ethics, environmental ethics, and medical ethics.
  • The Essentials of Forensic Medicine & Toxicology, 36th ed. (2026)

2. The Four Core Principles (Beauchamp & Childress Model)

First described in Beauchamp and Childress' Principles of Biomedical Ethics, these four principles are the foundation of all modern medical ethics:
PrincipleMeaningKey Point
AutonomyPatient's own right / own willThe ability to make a rational, uninfluenced decision. Lost in dementia. Basis for informed consent, truth-telling, and confidentiality.
Beneficence"Do good" / fruitful resultHealthcare professionals must take positive steps to benefit the patient - not just avoid harm, but actively do good.
Nonmaleficence"Do no harm" (Primum non nocere)Many consider this the primary duty - more important not to harm than to do good. Prevents over-enthusiastic treatment without adequate evaluation.
JusticeFairness / equitable distributionTreat all patients equally. In research, risks and benefits must be distributed fairly among all subjects. No individual/group should bear an unfair share of research burdens.
The Essentials of Forensic Medicine & Toxicology, 36th ed. (2026) / Schwartz's Principles of Surgery, 11th ed.
Nonmaleficence vs. Beneficence (key exam distinction):
  • Nonmaleficence = passive duty NOT to cause harm
  • Beneficence = active duty TO promote good

3. Historical Timeline of Medical Ethics

YearEvent
1750 BCECode of Hammurabi (Babylonia) - earliest documented medical standards
1500 BCESushruta's Oath (Father of Indian Surgery, rhinoplasty)
~200 BCECharaka's Oath - Charaka Samhita (Father of Indian Medicine)
5th c. BCEHippocratic Oath - attributed to Hippocrates ("Father of Medicine & Medical Ethics")
1500 CEUniversity of Wittenberg - first oath-taking for graduating medical students
1803Thomas Percival coins terms "medical ethics" & "medical jurisprudence" - first modern code
1847AMA adopts first code of ethics (based on Percival's work)
1948Declaration of Geneva - WMA's modern Hippocratic Oath
1949International Code of Medical Ethics - WMA, London
2020NMC replaces MCI in India
2022NMC introduces Charaka Oath for white coat ceremony in India
The Essentials of Forensic Medicine & Toxicology, 36th ed. (2026)

4. The Hippocratic Oath - Key Points

The oldest code of medical ethics. Key pledges include:
  • "I will prescribe regimen for the good of my patients... and never do harm to anyone"
  • Will not prescribe a deadly drug or procure abortion
  • Will not perform surgery (leaves it to specialists)
  • Preserve patient confidentiality - "All that may come to my knowledge... I will keep secret and will never reveal"
  • Will maintain purity of life and art
  • Will not exploit patients sexually
P.C. Dikshit Textbook of Forensic Medicine & Toxicology

5. Declaration of Geneva (1948, amended 1968, 1984, 1994, 2006, 2017)

The WMA's modern version of the Hippocratic Oath. Pledges include:
  • Consecrate my life to the service of humanity
  • The health of my patient will be my first consideration
  • Respect secrets confided in me, even after the patient has died
  • Will not permit considerations of religion, nationality, race, party politics or social standing to intervene between my duty and my patient
  • Maintain the utmost respect for human life from the time of conception
Administered in India on the first day of MBBS admission.

6. Key WMA Declarations (High-Yield for Exams)

DeclarationYearSubject
Declaration of Helsinki1964Ethical principles for human experimentation
Declaration of Sydney1968Declaration of death + organ harvesting for transplantation
Declaration of Oslo1970Therapeutic abortion
Declaration of Tokyo1975Torture (physicians must refuse to participate)
Declaration of Lisbon1981Rights of patients
Declaration of Venice1983Terminal illness
Declaration of Madrid1983Euthanasia is unethical
Declaration of Malta1991Doctor's role with hunger strikers
Declaration of Hamburg1997Supports physicians who refuse to participate in torture
Declaration of Taipei2002Biobanks
Declaration of Chicago2017Quality assurance in medicine
The Essentials of Forensic Medicine & Toxicology, 36th ed. (2026)

7. Professional Misconduct (MCI/NMC Code)

Also called "infamous conduct" or "disgraceful act." Conduct is judged by professional peers of good repute. The NMC can take action even for acts NOT explicitly listed. Examples:
  • Adultery with a patient
  • Advertisement - cannot publicly display fees except in waiting room/chamber; no unusually large signboards; cannot advertise through pharmaceutical firms
  • Association - cannot accept rebates/commissions for prescribing; cannot own or partner with pharmaceutical firms
  • Abortion - only legal under MTP Act; must not assist unqualified persons
  • Alcohol - must not practice under the influence
  • Practicing under the influence of drugs
Penalties range from a warning notice to erasure of name from the medical register.
P.C. Dikshit Textbook of Forensic Medicine & Toxicology

8. National Medical Commission (NMC) - India

  • Established under NMC Act 2019; came into existence 25th September 2020
  • Replaced the 63-year-old Medical Council of India (MCI)
  • 33 members including one chairman
  • India's apex regulator of medical education and profession
  • Issues the Code of Ethics Regulations that all registered doctors must follow

9. Quick Exam Mnemonics

ABCJ for the 4 core principles: Autonomy, Beneficence, (non-)maleficence (think "C" = care = do no harm), Justice
"Hippocrates → Percival → AMA → WMA" for the chain of ethical codes:
  • Hippocratic Oath (5th c. BCE) → Percival's code (1803) → AMA code (1847) → Declaration of Geneva (1948)
"Primum non nocere" = "First, do no harm" = Nonmaleficence is primary

10. Key Differences - Quick Reference

TermDefinition
Medical EthicsMoral principles governing doctors - duties to patients, colleagues, and state
Medical EtiquetteCourtesy among doctors (professional behaviour toward each other)
BioethicsBroader; covers ethics in all biological/medical research
Medical JurisprudenceApplication of medical knowledge to legal questions

Sources used:
  • The Essentials of Forensic Medicine & Toxicology, 36th ed. (2026)
  • Parikh's Textbook of Medical Jurisprudence, Forensic Medicine & Toxicology
  • P.C. Dikshit Textbook of Forensic Medicine & Toxicology
  • Schwartz's Principles of Surgery, 11th ed.
  • Miller's Anesthesia, 10th ed.
  • AMA Principles of Medical Ethics - for current AMA code reference
  • PMC - Clinical Ethics Principles - peer-reviewed overview

Make it a ppt please

Reading File
Reading File
Reading File
Running Command

ls /home/daytona/workspace/ 2>/dev/null || echo "workspace empty or missing"

Writing File

~/medical-ethics-ppt/create_ppt.js

const pptxgen = require("pptxgenjs");

let pres = new pptxgen();
pres.layout = "LAYOUT_WIDE";
pres.title = "Medical Code of Ethics";
pres.author = "Orris";

// ─── COLOR PALETTE ─────────────────────────────────────────────────────────
const C = {
  navy:    "0D2B55",   // dominant dark
  teal:    "0E7C7B",   // supporting
  gold:    "E8A838",   // accent
  white:   "FFFFFF",
  offWhite:"F4F6FA",
  lightBg: "EBF2F7",
  text:    "1A2B3C",
  subtext: "4A5B6C",
  red:     "C0392B",
  green:   "1A7A4A",
};

// ─── HELPERS ────────────────────────────────────────────────────────────────
function addDarkSlide(slide, title, subtitle) {
  // Full dark background
  slide.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 13.3, h: 7.5, fill: { color: C.navy }, line: { color: C.navy } });
  // Gold accent bar
  slide.addShape(pres.shapes.RECTANGLE, { x: 0, y: 6.6, w: 13.3, h: 0.9, fill: { color: C.teal }, line: { color: C.teal } });
  // Title
  slide.addText(title, { x: 0.7, y: 2.2, w: 11.9, h: 1.4, fontSize: 44, bold: true, color: C.white, fontFace: "Calibri", align: "center" });
  if (subtitle) {
    slide.addText(subtitle, { x: 0.7, y: 3.8, w: 11.9, h: 0.8, fontSize: 22, color: C.gold, fontFace: "Calibri", align: "center", italic: true });
  }
}

function addSectionHeader(slide, title, icon) {
  slide.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 13.3, h: 7.5, fill: { color: C.teal }, line: { color: C.teal } });
  slide.addShape(pres.shapes.RECTANGLE, { x: 0, y: 6.7, w: 13.3, h: 0.8, fill: { color: C.navy }, line: { color: C.navy } });
  if (icon) {
    slide.addText(icon, { x: 5.4, y: 1.5, w: 2.5, h: 2.0, fontSize: 80, align: "center" });
  }
  slide.addText(title, { x: 1.0, y: 3.7, w: 11.3, h: 1.2, fontSize: 38, bold: true, color: C.white, fontFace: "Calibri", align: "center" });
}

function slideHeader(slide, title) {
  // Light background
  slide.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 13.3, h: 7.5, fill: { color: C.offWhite }, line: { color: C.offWhite } });
  // Navy header band
  slide.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 13.3, h: 1.1, fill: { color: C.navy }, line: { color: C.navy } });
  // Gold left accent
  slide.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 0.18, h: 7.5, fill: { color: C.gold }, line: { color: C.gold } });
  slide.addText(title, { x: 0.35, y: 0.12, w: 12.6, h: 0.86, fontSize: 26, bold: true, color: C.white, fontFace: "Calibri", valign: "middle", margin: 0 });
}

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 1 — TITLE
// ═══════════════════════════════════════════════════════════════════════════
let s1 = pres.addSlide();
s1.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 13.3, h: 7.5, fill: { color: C.navy }, line: { color: C.navy } });
s1.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 0.5, h: 7.5, fill: { color: C.gold }, line: { color: C.gold } });
s1.addShape(pres.shapes.RECTANGLE, { x: 0.5, y: 5.8, w: 12.8, h: 1.7, fill: { color: C.teal }, line: { color: C.teal } });
s1.addText("⚕", { x: 1.0, y: 0.4, w: 2.5, h: 2.0, fontSize: 90, color: C.gold, align: "left" });
s1.addText("MEDICAL CODE OF ETHICS", { x: 1.0, y: 1.8, w: 12.0, h: 1.4, fontSize: 46, bold: true, color: C.white, fontFace: "Calibri", align: "left", charSpacing: 2 });
s1.addText("A Complete Exam Prep Guide", { x: 1.0, y: 3.2, w: 12.0, h: 0.7, fontSize: 24, color: C.gold, fontFace: "Calibri", align: "left", italic: true });
s1.addText("Forensic Medicine & Medical Jurisprudence  |  MBBS / MD Exam Series", { x: 0.6, y: 6.1, w: 12.5, h: 0.8, fontSize: 16, color: C.white, fontFace: "Calibri", align: "center" });

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 2 — AGENDA
// ═══════════════════════════════════════════════════════════════════════════
let s2 = pres.addSlide();
slideHeader(s2, "What We Cover");
const agendaItems = [
  { num: "01", topic: "Definitions — Ethics, Etiquette, Bioethics" },
  { num: "02", topic: "Four Core Principles (Beauchamp & Childress)" },
  { num: "03", topic: "Historical Timeline of Medical Ethics" },
  { num: "04", topic: "Hippocratic Oath & Declaration of Geneva" },
  { num: "05", topic: "Key WMA Declarations" },
  { num: "06", topic: "Professional Misconduct" },
  { num: "07", topic: "NMC & Regulatory Framework (India)" },
  { num: "08", topic: "Exam Mnemonics & Quick Reference" },
];

agendaItems.forEach((item, i) => {
  const col = i < 4 ? 0 : 1;
  const row = i % 4;
  const bx = 0.55 + col * 6.4;
  const by = 1.35 + row * 1.4;

  s2.addShape(pres.shapes.RECTANGLE, {
    x: bx, y: by, w: 6.0, h: 1.1,
    fill: { color: col === 0 ? "E8F4FD" : "EDF7F0" },
    line: { color: col === 0 ? "A8D4F0" : "A8D4C0", pt: 1 },
    shadow: { type: "outer", color: "000000", blur: 4, offset: 2, angle: 135, opacity: 0.08 }
  });
  s2.addText(item.num, { x: bx + 0.1, y: by + 0.1, w: 0.7, h: 0.9, fontSize: 22, bold: true, color: col === 0 ? C.teal : C.green, fontFace: "Calibri", valign: "middle", align: "center" });
  s2.addText(item.topic, { x: bx + 0.85, y: by + 0.1, w: 5.0, h: 0.9, fontSize: 15, color: C.text, fontFace: "Calibri", valign: "middle" });
});

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 3 — KEY DEFINITIONS
// ═══════════════════════════════════════════════════════════════════════════
let s3 = pres.addSlide();
slideHeader(s3, "Key Definitions");

const defs = [
  { term: "Medical Ethics", color: C.navy, def: "Moral principles governing doctors in their dealings with patients, colleagues, and the State. Self-imposed code — violations are unprofessional, not always criminal." },
  { term: "Medical Etiquette", color: C.teal, def: "Conventional laws of courtesy among members of the same profession (e.g., not charging a colleague's family, treating peers respectfully)." },
  { term: "Bioethics", color: "7B2D8B", def: "Coined by Fritz Jahr (1927). Broader field covering ethics in all biological/medical research. Includes animal ethics, environmental ethics, and medical ethics." },
  { term: "Medical Jurisprudence", color: C.red, def: "Application of medical knowledge to legal questions and court proceedings. Term coined by Thomas Percival (1803)." },
];

defs.forEach((d, i) => {
  const bx = 0.4;
  const by = 1.3 + i * 1.35;
  s3.addShape(pres.shapes.RECTANGLE, { x: bx, y: by, w: 12.5, h: 1.2, fill: { color: C.white }, line: { color: d.color, pt: 2 } });
  s3.addShape(pres.shapes.RECTANGLE, { x: bx, y: by, w: 2.8, h: 1.2, fill: { color: d.color }, line: { color: d.color } });
  s3.addText(d.term, { x: bx + 0.05, y: by + 0.05, w: 2.7, h: 1.1, fontSize: 14, bold: true, color: C.white, fontFace: "Calibri", valign: "middle", align: "center", wrap: true });
  s3.addText(d.def, { x: bx + 3.0, y: by + 0.08, w: 9.3, h: 1.05, fontSize: 13.5, color: C.text, fontFace: "Calibri", valign: "middle" });
});

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 4 — SECTION: FOUR CORE PRINCIPLES
// ═══════════════════════════════════════════════════════════════════════════
let s4 = pres.addSlide();
addSectionHeader(s4, "The Four Core Ethical Principles", "⚖");

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 5 — FOUR PRINCIPLES DETAIL
// ═══════════════════════════════════════════════════════════════════════════
let s5 = pres.addSlide();
slideHeader(s5, "Four Core Principles — Beauchamp & Childress");

const principles = [
  { name: "AUTONOMY", icon: "🧠", color: "1A6FAA", bg: "E8F4FD", meaning: '"Person\'s own right / own will"', bullets: ["Right to make rational, uninfluenced decisions", "Lost in dementia or severe mental illness", "Basis for: informed consent, truth-telling, confidentiality"] },
  { name: "BENEFICENCE", icon: "💊", color: C.green, bg: "EDF7F0", meaning: '"Do good / fruitful result"', bullets: ["Take positive steps to benefit the patient", "Not just avoid harm — actively promote wellbeing", "Doctors must inform patients of correct treatments"] },
  { name: "NON-MALEFICENCE", icon: "🛡", color: C.red, bg: "FDF0EF", meaning: '"Primum non nocere — First, do no harm"', bullets: ["Many consider this the PRIMARY principle", "More important not to harm than to do good", "Prevents over-enthusiastic untested treatments"] },
  { name: "JUSTICE", icon: "⚖", color: "7B5EA7", bg: "F3EEF9", meaning: '"Fairness / equitable distribution"', bullets: ["Treat all patients equally (Aristotle)", "In research: equal risks and benefits for all subjects", "No group should bear unfair burden of research"] },
];

principles.forEach((p, i) => {
  const col = i % 2;
  const row = Math.floor(i / 2);
  const bx = 0.35 + col * 6.4;
  const by = 1.3 + row * 2.9;

  s5.addShape(pres.shapes.RECTANGLE, { x: bx, y: by, w: 6.0, h: 2.65, fill: { color: p.bg }, line: { color: p.color, pt: 2 } });
  s5.addShape(pres.shapes.RECTANGLE, { x: bx, y: by, w: 6.0, h: 0.65, fill: { color: p.color }, line: { color: p.color } });
  s5.addText(p.icon + "  " + p.name, { x: bx + 0.1, y: by + 0.05, w: 5.8, h: 0.55, fontSize: 16, bold: true, color: C.white, fontFace: "Calibri", valign: "middle" });
  s5.addText(p.meaning, { x: bx + 0.15, y: by + 0.72, w: 5.7, h: 0.4, fontSize: 12, italic: true, color: p.color, fontFace: "Calibri", bold: true });
  const bulletItems = p.bullets.map((b, bi) => ({ text: b, options: { bullet: true, breakLine: bi < p.bullets.length - 1 } }));
  s5.addText(bulletItems, { x: bx + 0.15, y: by + 1.1, w: 5.65, h: 1.4, fontSize: 12, color: C.text, fontFace: "Calibri" });
});

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 6 — HISTORICAL TIMELINE
// ═══════════════════════════════════════════════════════════════════════════
let s6 = pres.addSlide();
slideHeader(s6, "Historical Timeline of Medical Ethics");

const timeline = [
  { year: "1750 BCE", event: "Code of Hammurabi", detail: "Earliest documented medical standards (Babylonia)" },
  { year: "1500 BCE", event: "Sushruta's Oath", detail: "Father of Indian Surgery — Sushruta Samhita" },
  { year: "~200 BCE", event: "Charaka's Oath", detail: "Father of Indian Medicine — Charaka Samhita" },
  { year: "5th c. BCE", event: "Hippocratic Oath", detail: "Hippocrates — Father of Medicine & Medical Ethics" },
  { year: "1803 CE", event: "Percival's Code", detail: "First modern code; coined 'medical ethics' & 'medical jurisprudence'" },
  { year: "1847", event: "AMA Code", detail: "American Medical Association — 1st national ethics code (based on Percival)" },
  { year: "1948", event: "Declaration of Geneva", detail: "WMA — modern Hippocratic Oath (amended 1968, 1984, 1994, 2006, 2017)" },
  { year: "2020", event: "NMC (India)", detail: "National Medical Commission replaces MCI; NMC Act 2019" },
];

timeline.forEach((t, i) => {
  const col = i < 4 ? 0 : 1;
  const row = i % 4;
  const bx = 0.35 + col * 6.45;
  const by = 1.35 + row * 1.42;
  const lineColor = i % 2 === 0 ? C.teal : C.navy;

  s6.addShape(pres.shapes.RECTANGLE, { x: bx, y: by, w: 0.95, h: 1.2, fill: { color: lineColor }, line: { color: lineColor } });
  s6.addText(t.year, { x: bx + 0.02, y: by + 0.05, w: 0.92, h: 1.1, fontSize: 11, bold: true, color: C.white, fontFace: "Calibri", align: "center", valign: "middle", wrap: true });
  s6.addShape(pres.shapes.RECTANGLE, { x: bx + 0.95, y: by, w: 5.3, h: 1.2, fill: { color: C.white }, line: { color: lineColor, pt: 1 } });
  s6.addText(t.event, { x: bx + 1.05, y: by + 0.08, w: 5.1, h: 0.45, fontSize: 14, bold: true, color: lineColor, fontFace: "Calibri", valign: "middle" });
  s6.addText(t.detail, { x: bx + 1.05, y: by + 0.55, w: 5.1, h: 0.55, fontSize: 11.5, color: C.subtext, fontFace: "Calibri", valign: "top" });
});

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 7 — HIPPOCRATIC OATH
// ═══════════════════════════════════════════════════════════════════════════
let s7 = pres.addSlide();
slideHeader(s7, "The Hippocratic Oath — Key Points");
s7.addShape(pres.shapes.RECTANGLE, { x: 0.35, y: 1.25, w: 5.6, h: 5.7, fill: { color: "FFF8E8" }, line: { color: C.gold, pt: 2 } });
s7.addText("📜  OATH PLEDGES", { x: 0.45, y: 1.35, w: 5.4, h: 0.55, fontSize: 15, bold: true, color: C.navy, fontFace: "Calibri" });
const oathItems = [
  "Prescribe for the good of patients — never do harm",
  "Never prescribe a deadly drug or procure abortion",
  "Leave surgery to specialists",
  "Maintain patient confidentiality — even outside profession",
  "Will not exploit patients sexually",
  "Preserve purity of life and medical art",
];
s7.addText(oathItems.map((o, i) => ({ text: o, options: { bullet: true, breakLine: i < oathItems.length - 1 } })),
  { x: 0.45, y: 1.95, w: 5.3, h: 4.7, fontSize: 13, color: C.text, fontFace: "Calibri" });

s7.addShape(pres.shapes.RECTANGLE, { x: 6.25, y: 1.25, w: 6.7, h: 5.7, fill: { color: "E8F4FF" }, line: { color: C.teal, pt: 2 } });
s7.addText("🌍  DECLARATION OF GENEVA (1948)", { x: 6.35, y: 1.35, w: 6.5, h: 0.55, fontSize: 14, bold: true, color: C.navy, fontFace: "Calibri" });
s7.addText("WMA's modern Hippocratic Oath. Amended: 1968, 1984, 1994, 2006, 2017.\nAdministered to new MBBS students on Day 1 of admission (India).", { x: 6.35, y: 1.95, w: 6.4, h: 0.9, fontSize: 12, italic: true, color: C.teal, fontFace: "Calibri" });
const genevaItems = [
  "Consecrate my life to the service of humanity",
  "Health of my patient will be my FIRST consideration",
  "Respect secrets confided in me, even after patient dies",
  "No discrimination: religion, race, nationality, politics",
  "Maintain utmost respect for human life from conception",
  "My colleagues will be my brothers",
];
s7.addText(genevaItems.map((g, i) => ({ text: g, options: { bullet: true, breakLine: i < genevaItems.length - 1 } })),
  { x: 6.35, y: 2.9, w: 6.4, h: 3.8, fontSize: 13, color: C.text, fontFace: "Calibri" });

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 8 — WMA DECLARATIONS
// ═══════════════════════════════════════════════════════════════════════════
let s8 = pres.addSlide();
slideHeader(s8, "Key WMA Declarations — High Yield for Exams");

const declarations = [
  { name: "Helsinki", year: "1964", topic: "Ethical principles for HUMAN EXPERIMENTATION", color: C.navy },
  { name: "Sydney", year: "1968", topic: "Declaration of DEATH + organ harvesting", color: C.teal },
  { name: "Oslo", year: "1970", topic: "THERAPEUTIC ABORTION", color: "7B5EA7" },
  { name: "Tokyo", year: "1975", topic: "TORTURE — physicians must refuse to participate", color: C.red },
  { name: "Lisbon", year: "1981", topic: "RIGHTS OF PATIENTS", color: "1A7A4A" },
  { name: "Madrid", year: "1983", topic: "EUTHANASIA is unethical", color: "8B6A00" },
  { name: "Malta", year: "1991", topic: "Doctor's role with HUNGER STRIKERS", color: "1A5F7A" },
  { name: "Hamburg", year: "1997", topic: "Supports physicians who REFUSE TORTURE", color: C.red },
  { name: "Taipei", year: "2002", topic: "BIOBANKS ethical considerations", color: "7B2D8B" },
  { name: "Chicago", year: "2017", topic: "QUALITY ASSURANCE in medical profession", color: C.teal },
];

declarations.forEach((d, i) => {
  const col = i % 2;
  const row = Math.floor(i / 2);
  const bx = 0.35 + col * 6.45;
  const by = 1.3 + row * 1.22;
  s8.addShape(pres.shapes.RECTANGLE, { x: bx, y: by, w: 6.1, h: 1.1, fill: { color: C.white }, line: { color: d.color, pt: 1.5 } });
  s8.addShape(pres.shapes.RECTANGLE, { x: bx, y: by, w: 1.8, h: 1.1, fill: { color: d.color }, line: { color: d.color } });
  s8.addText("Decl. of\n" + d.name, { x: bx + 0.04, y: by + 0.05, w: 1.72, h: 1.0, fontSize: 12, bold: true, color: C.white, fontFace: "Calibri", align: "center", valign: "middle" });
  s8.addText(d.year, { x: bx + 1.85, y: by + 0.05, w: 0.75, h: 0.45, fontSize: 16, bold: true, color: d.color, fontFace: "Calibri", align: "center", valign: "middle" });
  s8.addText(d.topic, { x: bx + 1.85, y: by + 0.55, w: 4.1, h: 0.5, fontSize: 12, color: C.text, fontFace: "Calibri", valign: "middle" });
});

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 9 — PROFESSIONAL MISCONDUCT
// ═══════════════════════════════════════════════════════════════════════════
let s9 = pres.addSlide();
slideHeader(s9, "Professional Misconduct — NMC Code");

s9.addText("Also known as: Infamous Conduct / Disgraceful Act. Judged by professional peers. NMC can penalise even for acts NOT in the list.", { x: 0.4, y: 1.2, w: 12.5, h: 0.55, fontSize: 13, italic: true, color: C.subtext, fontFace: "Calibri" });

const misconduct = [
  { letter: "A", label: "Adultery", detail: "Voluntary sexual intercourse with patient or patient's relative" },
  { letter: "A", label: "Advertisement", detail: "Cannot advertise fees publicly; no large signboards outside chamber; cannot use pharma firm promotions" },
  { letter: "A", label: "Association", detail: "Cannot own pharma firms, accept rebates/commissions for prescribing medicines" },
  { letter: "A", label: "Abortion", detail: "Only legal under MTP Act; must not assist unqualified persons in criminal abortion" },
  { letter: "A", label: "Alcohol / Drugs", detail: "Must not practice under the influence of alcohol or drugs that impair judgment" },
];

misconduct.forEach((m, i) => {
  const by = 1.9 + i * 1.05;
  s9.addShape(pres.shapes.RECTANGLE, { x: 0.35, y: by, w: 12.6, h: 0.93, fill: { color: i % 2 === 0 ? "FFF0F0" : C.white }, line: { color: C.red, pt: 1 } });
  s9.addShape(pres.shapes.RECTANGLE, { x: 0.35, y: by, w: 0.5, h: 0.93, fill: { color: C.red }, line: { color: C.red } });
  s9.addText(m.letter, { x: 0.35, y: by, w: 0.5, h: 0.93, fontSize: 18, bold: true, color: C.white, fontFace: "Calibri", align: "center", valign: "middle" });
  s9.addText(m.label + ":", { x: 0.92, y: by + 0.08, w: 2.1, h: 0.77, fontSize: 14, bold: true, color: C.red, fontFace: "Calibri", valign: "middle" });
  s9.addText(m.detail, { x: 3.1, y: by + 0.08, w: 9.7, h: 0.77, fontSize: 13, color: C.text, fontFace: "Calibri", valign: "middle" });
});

s9.addText("⚠  Penalties: Warning notice  OR  Erasure of name from the Medical Register", { x: 0.35, y: 7.05, w: 12.6, h: 0.38, fontSize: 13, bold: true, color: C.red, fontFace: "Calibri" });

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 10 — NMC INDIA
// ═══════════════════════════════════════════════════════════════════════════
let s10 = pres.addSlide();
slideHeader(s10, "National Medical Commission (NMC) — India");

s10.addShape(pres.shapes.RECTANGLE, { x: 0.35, y: 1.25, w: 6.0, h: 5.7, fill: { color: "E8F4FD" }, line: { color: C.teal, pt: 2 } });
s10.addText("🏛  NMC — KEY FACTS", { x: 0.5, y: 1.38, w: 5.7, h: 0.55, fontSize: 16, bold: true, color: C.navy, fontFace: "Calibri" });
const nmcFacts = [
  "Established under NMC Act 2019",
  "Came into existence: 25th September 2020",
  "Replaced 63-year-old Medical Council of India (MCI)",
  "India's apex regulator of medical education and profession",
  "33 members including one Chairman",
  "Prescribes Code of Ethics Regulations",
  "Introduced Charaka Oath for white coat ceremony (2022)",
];
s10.addText(nmcFacts.map((f, i) => ({ text: f, options: { bullet: true, breakLine: i < nmcFacts.length - 1 } })),
  { x: 0.5, y: 1.98, w: 5.6, h: 4.65, fontSize: 13, color: C.text, fontFace: "Calibri" });

s10.addShape(pres.shapes.RECTANGLE, { x: 6.65, y: 1.25, w: 6.3, h: 5.7, fill: { color: "EDF7F0" }, line: { color: C.green, pt: 2 } });
s10.addText("📋  REGULATORY FRAMEWORK", { x: 6.8, y: 1.38, w: 6.0, h: 0.55, fontSize: 16, bold: true, color: C.navy, fontFace: "Calibri" });
const regFacts = [
  { head: "Charaka Oath", detail: "Adopted 2022 for MBBS white coat ceremony — linked to Indian medicine tradition" },
  { head: "Declaration of Geneva", detail: "Administered on Day 1 of MBBS admission" },
  { head: "MCI Predecessor", detail: "MCI issued Code of Ethics 2002; NMC now issues updated regulations" },
  { head: "ICMR Guidelines", detail: "Indian Council of Medical Research issues ethical guidelines for human research" },
  { head: "Pond Report (1984)", detail: "UK — reviewed ethics teaching; GMC recommended ethics in curricula (1993)" },
];
regFacts.forEach((r, i) => {
  const ry = 1.98 + i * 1.08;
  s10.addText(r.head + ": ", { x: 6.8, y: ry, w: 2.0, h: 0.45, fontSize: 13, bold: true, color: C.green, fontFace: "Calibri" });
  s10.addText(r.detail, { x: 6.8, y: ry + 0.43, w: 6.0, h: 0.6, fontSize: 12, color: C.text, fontFace: "Calibri" });
});

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 11 — EXAM MNEMONICS
// ═══════════════════════════════════════════════════════════════════════════
let s11 = pres.addSlide();
slideHeader(s11, "Exam Mnemonics & Quick Reference");

// 4 mnemonic cards
const mnemonics = [
  { label: "4 Core Principles", mnemonic: "A-B-N-J", expand: "Autonomy · Beneficence · Non-maleficence · Justice", color: C.navy },
  { label: "Primary Duty", mnemonic: '"Primum non nocere"', expand: "First, do no harm — Nonmaleficence is considered the PRIMARY principle", color: C.red },
  { label: "Ethical Codes Chain", mnemonic: "H → P → AMA → WMA", expand: "Hippocrates (5c BCE) → Percival (1803) → AMA (1847) → Declaration of Geneva (1948)", color: C.teal },
  { label: "Misconduct 5A Rule", mnemonic: "5 A's", expand: "Adultery · Advertisement · Association · Abortion · Alcohol/drugs", color: "8B6A00" },
];

mnemonics.forEach((m, i) => {
  const col = i % 2;
  const row = Math.floor(i / 2);
  const bx = 0.35 + col * 6.45;
  const by = 1.25 + row * 2.95;

  s11.addShape(pres.shapes.RECTANGLE, { x: bx, y: by, w: 6.1, h: 2.75, fill: { color: C.white }, line: { color: m.color, pt: 2 } });
  s11.addShape(pres.shapes.RECTANGLE, { x: bx, y: by, w: 6.1, h: 0.65, fill: { color: m.color }, line: { color: m.color } });
  s11.addText(m.label, { x: bx + 0.15, y: by + 0.08, w: 5.8, h: 0.5, fontSize: 15, bold: true, color: C.white, fontFace: "Calibri", valign: "middle" });
  s11.addText(m.mnemonic, { x: bx + 0.15, y: by + 0.75, w: 5.8, h: 0.85, fontSize: 26, bold: true, color: m.color, fontFace: "Calibri", align: "center" });
  s11.addText(m.expand, { x: bx + 0.15, y: by + 1.65, w: 5.8, h: 0.95, fontSize: 12.5, color: C.subtext, fontFace: "Calibri", align: "center", italic: true });
});

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 12 — CLOSING
// ═══════════════════════════════════════════════════════════════════════════
let s12 = pres.addSlide();
s12.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 13.3, h: 7.5, fill: { color: C.navy }, line: { color: C.navy } });
s12.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 0.5, h: 7.5, fill: { color: C.gold }, line: { color: C.gold } });
s12.addShape(pres.shapes.RECTANGLE, { x: 0.5, y: 5.8, w: 12.8, h: 1.7, fill: { color: C.teal }, line: { color: C.teal } });
s12.addText("⚕", { x: 5.4, y: 0.5, w: 2.5, h: 2.0, fontSize: 90, color: C.gold, align: "center" });
s12.addText("Good Luck in Your Exams!", { x: 1.0, y: 2.4, w: 12.0, h: 1.0, fontSize: 38, bold: true, color: C.white, fontFace: "Calibri", align: "center" });
s12.addText('"The health of my patient will be my first consideration."', { x: 1.0, y: 3.55, w: 12.0, h: 0.8, fontSize: 20, italic: true, color: C.gold, fontFace: "Calibri", align: "center" });
s12.addText("— Declaration of Geneva, WMA", { x: 1.0, y: 4.35, w: 12.0, h: 0.5, fontSize: 15, color: "AACCDD", fontFace: "Calibri", align: "center" });
s12.addText("Sources: Essentials of FMT 36e (2026) · Parikh's FMT · PC Dikshit FMT · Schwartz's Surgery 11e · Miller's Anesthesia 10e", { x: 0.6, y: 6.0, w: 12.5, h: 0.8, fontSize: 12, color: C.white, fontFace: "Calibri", align: "center" });

// ─── WRITE FILE ──────────────────────────────────────────────────────────
pres.writeFile({ fileName: "/home/daytona/workspace/medical-ethics-ppt/Medical_Code_of_Ethics.pptx" })
  .then(() => console.log("SUCCESS: /home/daytona/workspace/medical-ethics-ppt/Medical_Code_of_Ethics.pptx"))
  .catch(e => { console.error("ERROR:", e); process.exit(1); });
Running Command

cd /home/daytona/workspace/medical-ethics-ppt && node create_ppt.js

Your presentation is ready! Here's the download link:

Medical Code of Ethics

Presentation · PPTX


What's inside (12 slides):
SlideContent
1Title slide — dark navy with gold accents
2Table of Contents (8 topics)
3Key Definitions — Ethics, Etiquette, Bioethics, Jurisprudence
4Section divider — Four Core Principles
5Beauchamp & Childress — Autonomy, Beneficence, Non-maleficence, Justice (4-card layout)
6Historical Timeline (1750 BCE → 2020)
7Hippocratic Oath + Declaration of Geneva side-by-side
810 Key WMA Declarations (color-coded by topic)
9Professional Misconduct — The 5 A's
10NMC India — Facts + Regulatory Framework
11Exam Mnemonics (4 cards)
12Closing quote from the Declaration of Geneva
Design uses a navy/teal/gold palette with colored accent bars, shadow cards, and structured layouts throughout.

It’s gooooddd…. 👌👌 thank you!!! I’ll come back soon for more help 🫣

Glad you liked it! 😄 Good luck with your exams — you've got this. Come back anytime! 👋
This is a shared conversation. Sign in to Orris to start your own chat.