Make a dairy for day 1,2,3 for for my russian firat hear mbbs it need to in one each page each day
mkdir -p /tmp/workspace/mbbs-diary && python3 << 'EOF' from docx import Document from docx.shared import Pt, Inches, RGBColor, Cm from docx.enum.text import WD_ALIGN_PARAGRAPH from docx.oxml.ns import qn from docx.oxml import OxmlElement import copy doc = Document() # ── Page setup: A4, margins ────────────────────────────────────────── from docx.shared import Cm section = doc.sections[0] section.page_height = Cm(29.7) section.page_width = Cm(21.0) section.top_margin = Cm(2.0) section.bottom_margin = Cm(2.0) section.left_margin = Cm(2.5) section.right_margin = Cm(2.5) # ── Styles ──────────────────────────────────────────────────────────── normal_style = doc.styles['Normal'] normal_style.font.name = 'Times New Roman' normal_style.font.size = Pt(12) def add_horizontal_line(paragraph): """Add a bottom border (horizontal line) to a paragraph.""" pPr = paragraph._p.get_or_add_pPr() pBdr = OxmlElement('w:pBdr') bottom = OxmlElement('w:bottom') bottom.set(qn('w:val'), 'single') bottom.set(qn('w:sz'), '6') bottom.set(qn('w:space'), '1') bottom.set(qn('w:color'), '000000') pBdr.append(bottom) pPr.append(pBdr) def set_paragraph_spacing(para, before=0, after=6): pPr = para._p.get_or_add_pPr() pSp = OxmlElement('w:spacing') pSp.set(qn('w:before'), str(before)) pSp.set(qn('w:after'), str(after)) pPr.append(pSp) def add_page_number(para): """Add right-aligned page number field.""" para.alignment = WD_ALIGN_PARAGRAPH.RIGHT run = para.add_run() fldChar1 = OxmlElement('w:fldChar') fldChar1.set(qn('w:fldCharType'), 'begin') instrText = OxmlElement('w:instrText') instrText.text = 'PAGE' fldChar2 = OxmlElement('w:fldChar') fldChar2.set(qn('w:fldCharType'), 'end') run._r.append(fldChar1) run._r.append(instrText) run._r.append(fldChar2) def make_run_bold(run): run.bold = True def build_day(doc, date_str, content_paras, page_num, is_last=False): # ── Header line: Date + Title ───────────────────────────────────── header_para = doc.add_paragraph() set_paragraph_spacing(header_para, before=0, after=40) # "Date " label run_label = header_para.add_run("Date ") run_label.bold = False run_label.font.name = 'Times New Roman' run_label.font.size = Pt(12) # Date value (underlined) run_date = header_para.add_run(date_str) run_date.underline = True run_date.bold = True run_date.font.name = 'Times New Roman' run_date.font.size = Pt(12) # Spacer tab run_space = header_para.add_run(" ") run_space.font.name = 'Times New Roman' run_space.font.size = Pt(12) # "The content of the work performed" run_title = header_para.add_run("The content of the work performed") run_title.bold = False run_title.font.name = 'Times New Roman' run_title.font.size = Pt(12) add_horizontal_line(header_para) # ── Body paragraphs ─────────────────────────────────────────────── for text in content_paras: p = doc.add_paragraph() p.alignment = WD_ALIGN_PARAGRAPH.JUSTIFY run = p.add_run(text) run.font.name = 'Times New Roman' run.font.size = Pt(12) set_paragraph_spacing(p, before=0, after=80) # ── Bottom: horizontal rule + page number ───────────────────────── # Filler to push rule toward bottom filler = doc.add_paragraph() set_paragraph_spacing(filler, before=0, after=0) filler.add_run(' ') rule_para = doc.add_paragraph() add_horizontal_line(rule_para) set_paragraph_spacing(rule_para, before=200, after=20) num_para = doc.add_paragraph(str(page_num)) num_para.alignment = WD_ALIGN_PARAGRAPH.RIGHT run_num = num_para.runs[0] run_num.font.name = 'Times New Roman' run_num.font.size = Pt(11) set_paragraph_spacing(num_para, before=0, after=0) if not is_last: doc.add_page_break() # ═══════════════════════════════════════════════════════════════════════ # DAY 1 — 27/07/2026 # ═══════════════════════════════════════════════════════════════════════ day1_content = [ "Today was day 1 of my internship in SRM Hospital, Chennai. There was a small orientation followed by the respective incharge taking us to the department of General Medicine. We were separated into Group 1 and Group 2, where I was in Group 1 and we were posted into the Emergency Department. A senior junior resident was introduced to us followed by her explaining about the emergency department. We were introduced into different zones namely Red zone, Green zone and Black zone, where Red zone are patients who needed immediate attention, Green zone are patients who require attention but not as severe as the red zone. Then we have the Black zone who are classified as dead patients.", "Also, I had the opportunity to see a patient with hypothyroidism, who had Gastro-Intestinal problem with loose stools and was on prescribed medication for the same.", "Overall, it was a very intuitive day. It was quite difficult to understand about the hospital ecosystem at first but then onwards it was quite understandable.", ] # ═══════════════════════════════════════════════════════════════════════ # DAY 2 — 28/07/2026 # ═══════════════════════════════════════════════════════════════════════ day2_content = [ "Today, I attended clinical teaching sessions in the General Medicine department focused on essential respiratory and systemic clinical evaluations.", "We reviewed Community-Acquired Pneumonia (CAP), discussing its core clinical presentations and the practical application of the CURB-65 scoring system to risk-stratify patients for outpatient, inpatient, or ICU-level care. Following this we reviewed the Glasgow Coma Scale (GCS) to understand its objective role in assessing acute level of consciousness.", "The session then transitioned to pulmonology. We learned the Modified Medical Research Council (MMRC) Dyspnea Scale to grade shortness of breath, followed by a detailed breakdown of a systematic respiratory examination. We learnt to identify key clinical signs including clubbing, cyanosis, pallor, lymphadenopathy, and icterus and edema.", "Finally, we observed comprehensive history-taking, general physical examinations, and vital signs monitoring (pulse, respiratory rate, BP, temperature and SpO2). We concluded with a clinical discussion on Diabetes Mellitus, focusing on classification, diagnostic criteria, clinical features, and chronic complications.", "This session significantly strengthened my foundational skills in patient triage, systematic physical examination.", ] # ═══════════════════════════════════════════════════════════════════════ # DAY 3 — 29/07/2026 # ═══════════════════════════════════════════════════════════════════════ day3_content = [ "Today I was trained to accurately measure and record vital signs, including Blood Pressure (BP), pulse rate, respiratory rate, body temperature and oxygen saturation (SpO2). Through this I gained a practical understanding of correct assessment methods and realized how crucial these parameters are for detecting real-time changes in a patient's clinical condition.", "I also practised the standard six-step hand hygiene technique, and understood its vital role in minimizing hospital-acquired infections. Additionally, I observed the correct procedure for changing unoccupied bed linen.", "Furthermore, I was introduced to cold therapy management, learning the proper application of ice packs to effectively reduce localized pain, swelling, and high fever when clinically indicated.", "Overall, today's posting was highly beneficial. It bridged the gap between theory and practice, significantly improving my practical knowledge of basic patient care, infection control and routine ward management.", ] build_day(doc, "27/07/2026", day1_content, page_num=6, is_last=False) build_day(doc, "28/07/2026", day2_content, page_num=7, is_last=False) build_day(doc, "29/07/2026", day3_content, page_num=8, is_last=True) out_path = "/tmp/workspace/mbbs-diary/MBBS_Internship_Diary_Days1-3.docx" doc.save(out_path) print(f"Saved: {out_path}") EOF
MBBS Internship Diary Days1 3
Word Document · DOCX
| Page | Date | Content |
|---|---|---|
| Page 6 | 27/07/2026 | Day 1 - SRM Hospital orientation, Emergency Department zones (Red/Green/Black), hypothyroidism patient case |
| Page 7 | 28/07/2026 | Day 2 - General Medicine: CAP & CURB-65, GCS, MMRC Dyspnea Scale, respiratory examination, Diabetes Mellitus |
| Page 8 | 29/07/2026 | Day 3 - Vital signs measurement (BP, pulse, RR, temp, SpO2), hand hygiene technique, bed linen change, cold therapy |
Date [date underlined] + The content of the work performed with a bottom border line