attachment
attachment

Federal State Budgetary Educational Institution of Higher Education “Kursk State Medical University” of the Ministry of Health of the Russian Federation DIARY OF INDUSTRIAL PRACTICE for acquiring professional skills and experience in professional activity “Provision of emergency and urgent medical care (physician assistant)” Student of the ___ course, Faculty of ___, Group ___, Full name of the student Practice title: Industrial practice “Provision of emergency and urgent medical care (physician assistant)” Practice base (medical institution / healthcare facility, department, department, academic chair, institution) Full name and position of the responsible staff member of the practice base. Full name and position of the supervisor of practical training. Period of practice: from ______ to ______ (year). Student work schedule. Date Working hours 29/06/2026 30/06/2026 01/07/2026 02/07/2026 03/07/2026 04/07/2026 DAY OFF 06/07/2026 07/07/2026 08/07/2026 09/07/2026 10/07/2026 11/07/2026 Signature of the responsible staff member of the practice base Seal of the practice base Sample format of a daily log for a work shift as image is uploaded Student’s signature Signature of the clinical base supervisor NOTE:- every day must have two patients total 24 individuals patients

analyse_media
Reading File
Running Command

ls /home/daytona/workspace/ && ls /home/daytona/skills/docx/scripts/office/ 2>/d…

Running Command

mkdir -p /home/daytona/workspace/practice-diary && node -e "require('docx'); con…

Writing File

~/practice-diary/generate.js

const {
  Document, Packer, Paragraph, TextRun, Table, TableRow, TableCell,
  AlignmentType, BorderStyle, WidthType, VerticalAlign, HeadingLevel,
  PageOrientation, ShadingType
} = require('docx');
const fs = require('fs');

// Helper: bold paragraph
function bp(text, size = 22, align = AlignmentType.LEFT) {
  return new Paragraph({
    alignment: align,
    spacing: { before: 40, after: 40 },
    children: [new TextRun({ text, bold: true, size, font: 'Times New Roman' })]
  });
}
// Helper: normal paragraph
function np(text, size = 22, align = AlignmentType.LEFT) {
  return new Paragraph({
    alignment: align,
    spacing: { before: 40, after: 40 },
    children: [new TextRun({ text, size, font: 'Times New Roman' })]
  });
}
// Helper: empty paragraph
function ep() {
  return new Paragraph({ children: [new TextRun({ text: '', size: 22, font: 'Times New Roman' })] });
}

// Cell helper
function cell(text, bold = false, width = null, shading = null) {
  const opts = {
    children: [new Paragraph({
      alignment: AlignmentType.LEFT,
      spacing: { before: 40, after: 40 },
      children: [new TextRun({ text, bold, size: 20, font: 'Times New Roman' })]
    })],
    borders: {
      top: { style: BorderStyle.SINGLE, size: 1 },
      bottom: { style: BorderStyle.SINGLE, size: 1 },
      left: { style: BorderStyle.SINGLE, size: 1 },
      right: { style: BorderStyle.SINGLE, size: 1 },
    },
    margins: { top: 50, bottom: 50, left: 100, right: 100 },
    verticalAlign: VerticalAlign.TOP,
  };
  if (width) opts.width = { size: width, type: WidthType.DXA };
  if (shading) opts.shading = shading;
  return new TableCell(opts);
}

function centerCell(text, bold = false, width = null) {
  const opts = {
    children: [new Paragraph({
      alignment: AlignmentType.CENTER,
      spacing: { before: 40, after: 40 },
      children: [new TextRun({ text, bold, size: 20, font: 'Times New Roman' })]
    })],
    borders: {
      top: { style: BorderStyle.SINGLE, size: 1 },
      bottom: { style: BorderStyle.SINGLE, size: 1 },
      left: { style: BorderStyle.SINGLE, size: 1 },
      right: { style: BorderStyle.SINGLE, size: 1 },
    },
    margins: { top: 50, bottom: 50, left: 100, right: 100 },
    verticalAlign: VerticalAlign.CENTER,
  };
  if (width) opts.width = { size: width, type: WidthType.DXA };
  return new TableCell(opts);
}

// Multi-row cell (for the date cell spanning multiple rows)
function dateCell(text, rowSpan) {
  return new TableCell({
    rowSpan,
    children: [new Paragraph({
      alignment: AlignmentType.CENTER,
      spacing: { before: 40, after: 40 },
      children: [new TextRun({ text, bold: true, size: 20, font: 'Times New Roman' })]
    })],
    borders: {
      top: { style: BorderStyle.SINGLE, size: 1 },
      bottom: { style: BorderStyle.SINGLE, size: 1 },
      left: { style: BorderStyle.SINGLE, size: 1 },
      right: { style: BorderStyle.SINGLE, size: 1 },
    },
    margins: { top: 50, bottom: 50, left: 100, right: 100 },
    verticalAlign: VerticalAlign.TOP,
    width: { size: 1100, type: WidthType.DXA }
  });
}

// --- Patient case data (2 per day, 12 days = 24 patients) ---
// Each entry: { date, patient1: {complaint, diagnosis, work}, patient2: {complaint, diagnosis, work} }
const days = [
  {
    date: '29.06.2026',
    p1: {
      chief: 'crushing chest pain, shortness of breath, diaphoresis',
      diagnosis: 'Acute ST-elevation myocardial infarction (STEMI), anterior wall',
      work: [
        'Safety instructions reviewed. Familiarization with the structure of the ambulance station (admission unit of the inpatient emergency department).',
        'Clinical examination of a newly admitted patient (male, 58 y.o., complaint: crushing chest pain radiating to left arm, shortness of breath, diaphoresis). Medical history completed. Diagnosis: Acute STEMI, anterior wall. Coordination of diagnosis, examination plan (ECG, troponin I, CBC, coagulogram, echocardiography), and treatment plan (antiplatelet therapy, anticoagulants, nitrates, oxygen therapy) with the attending physician.',
        'Interpretation of additional examination data: ECG – ST-elevation in leads V1-V4, reciprocal ST-depression in II, III, aVF. Troponin I elevated (3.2 ng/mL).',
        'Participation in providing medical assistance during emergency ambulance call (chest pain, suspected ACS).',
        'Ward rounds with the head of department for supervised patients.',
        'Participation in clinical case review with the head of department for critically ill patient with STEMI.',
      ]
    },
    p2: {
      chief: 'sudden-onset severe headache, nausea, photophobia',
      diagnosis: 'Subarachnoid hemorrhage (SAH)',
      work: [
        'Clinical examination of a newly admitted patient (female, 47 y.o., complaint: sudden-onset severe headache ("thunderclap"), nausea, vomiting, photophobia). Medical history completed. Diagnosis: Subarachnoid hemorrhage (SAH). Coordination of diagnosis, examination plan (non-contrast CT brain, lumbar puncture, CBC, coagulogram), and treatment plan (bed rest, analgesia, nimodipine, neurosurgery consultation) with the attending physician.',
        'Interpretation of additional examination data: CT brain – hyperdense blood in basal cisterns confirming SAH. Lumbar puncture – xanthochromic CSF.',
        'Participation in providing medical assistance during emergency ambulance call (altered consciousness, headache).',
        'Participation in clinical case review with the head of department for critically ill patient with SAH.',
      ]
    }
  },
  {
    date: '30.06.2026',
    p1: {
      chief: 'acute dyspnea, productive cough, fever 39.2°C',
      diagnosis: 'Community-acquired pneumonia, right lower lobe, severe course',
      work: [
        'Safety instructions reviewed. Familiarization with triage protocols of the emergency department.',
        'Clinical examination of a newly admitted patient (male, 34 y.o., complaint: acute dyspnea, productive cough with rusty sputum, fever 39.2°C, right-sided pleuritic chest pain). Medical history completed. Diagnosis: Community-acquired pneumonia, right lower lobe, severe course. Coordination of examination plan (chest X-ray, CBC, CRP, procalcitonin, blood cultures x2, ABG analysis, SpO2) and treatment plan (empiric antibiotics: amoxicillin/clavulanate + azithromycin IV, oxygen therapy, IV fluids, antipyretics) with the attending physician.',
        'Interpretation of additional examination data: Chest X-ray – consolidation in the right lower lobe. SpO2 89% on room air, improved to 97% on 4L O2 via nasal cannula. CBC: leukocytosis 18.4 x10^9/L, left shift.',
        'Participation in providing medical assistance during emergency ambulance call (dyspnea, hypoxia).',
        'Ward rounds with the head of department for supervised patients.',
        'Participation in clinical case review with head of department for severe community-acquired pneumonia.',
      ]
    },
    p2: {
      chief: 'profuse vomiting, watery diarrhea, severe dehydration',
      diagnosis: 'Acute gastroenteritis with moderate-to-severe dehydration',
      work: [
        'Clinical examination of a newly admitted patient (female, 29 y.o., complaint: profuse vomiting x8 episodes, watery non-bloody diarrhea x10, crampy abdominal pain, weakness, dizziness for 12 hours). Medical history completed. Diagnosis: Acute gastroenteritis with moderate-to-severe dehydration. Coordination of examination plan (CBC, metabolic panel, stool culture, urinalysis) and treatment plan (IV rehydration with NaCl 0.9% + KCl, antiemetics – metoclopramide, oral rehydration salts once tolerating) with the attending physician.',
        'Interpretation of additional examination data: metabolic panel – hypokalemia (K 3.1 mEq/L), hypernatremia (Na 149 mEq/L), elevated BUN/Cr indicating pre-renal azotemia. Urine specific gravity 1.028.',
        'Participation in providing medical assistance during emergency ambulance call (acute abdominal pain, vomiting).',
        'Participation in clinical case review with head of department for patient with acute dehydration and electrolyte imbalance.',
      ]
    }
  },
  {
    date: '01.07.2026',
    p1: {
      chief: 'loss of consciousness, generalized tonic-clonic seizures',
      diagnosis: 'Status epilepticus',
      work: [
        'Safety instructions reviewed. Familiarization with resuscitation equipment and emergency drug cart of the department.',
        'Clinical examination of a newly admitted patient (male, 22 y.o., brought in by ambulance in postictal state after witnessed generalized tonic-clonic seizures lasting >10 minutes). Medical history obtained from accompanying person. Diagnosis: Status epilepticus. Coordination of examination plan (blood glucose, electrolytes, CBC, AED drug levels, toxicology screen, EEG, CT brain) and treatment plan (diazepam IV 10 mg, lorazepam as second-line, phenytoin loading dose, airway management, oxygen) with the attending physician.',
        'Interpretation of additional examination data: Blood glucose normal. Sodium 128 mEq/L (hyponatremia – potential trigger). EEG: generalized epileptiform discharges. CT brain: no structural lesion.',
        'Participation in providing medical assistance during emergency ambulance call (seizure, unconsciousness).',
        'Ward rounds with the head of department for supervised patients.',
        'Participation in clinical case review with the supervisor for critically ill patient with status epilepticus.',
      ]
    },
    p2: {
      chief: 'severe epigastric pain, vomiting, fever',
      diagnosis: 'Acute pancreatitis, moderate severity (Ranson score 3)',
      work: [
        'Clinical examination of a newly admitted patient (female, 51 y.o., complaint: severe epigastric pain radiating to the back ("belt-like"), vomiting x5, fever 38.1°C, 12 hours after heavy meal and alcohol consumption). Medical history completed. Diagnosis: Acute pancreatitis, moderate severity. Coordination of examination plan (serum amylase and lipase, CBC, LFTs, RFTs, Ca2+, CT abdomen with contrast, abdominal ultrasound) and treatment plan (nil by mouth, aggressive IV fluid resuscitation – Ringer lactate, analgesia – ketorolac, proton pump inhibitor, surgical consultation) with the attending physician.',
        'Interpretation of additional examination data: Serum lipase 1240 U/L (>3x normal). Amylase 890 U/L. CT abdomen: peripancreatic fat stranding, no necrosis. Ultrasound: gallstones present. Ranson score at admission: 3.',
        'Participation in providing medical assistance during emergency ambulance call (severe abdominal pain).',
        'Participation in clinical case review with head of department for acute pancreatitis with biliary etiology.',
      ]
    }
  },
  {
    date: '02.07.2026',
    p1: {
      chief: 'sudden weakness of right arm and leg, slurred speech',
      diagnosis: 'Acute ischemic stroke, left MCA territory',
      work: [
        'Safety instructions reviewed. Familiarization with stroke protocol and thrombolysis checklist of the emergency department.',
        'Clinical examination of a newly admitted patient (male, 67 y.o., complaint: sudden onset right-sided weakness of arm and leg, facial droop, slurred speech – NIHSS 14). Medical history completed. Diagnosis: Acute ischemic stroke, left MCA territory. Last known well: 90 minutes prior. Coordination of examination plan (non-contrast CT brain, CT angiography, CBC, coagulogram, glucose, ECG) and treatment plan (IV alteplase 0.9 mg/kg within thrombolysis window, aspirin, blood pressure management, admission to stroke unit) with the attending physician.',
        'Interpretation of additional examination data: CT brain – no hemorrhage, early ischemic changes in left MCA territory. CT angiography – left MCA M1 occlusion. INR 1.1 (eligible for thrombolysis). Blood glucose 6.8 mmol/L.',
        'Participation in providing medical assistance during emergency ambulance call (acute neurological deficit, FAST positive).',
        'Ward rounds with the head of department for supervised patients.',
        'Participation in clinical case review with head of department for acute ischemic stroke with thrombolysis.',
      ]
    },
    p2: {
      chief: 'acute urinary retention, lower abdominal pain, inability to void',
      diagnosis: 'Acute urinary retention secondary to BPH',
      work: [
        'Clinical examination of a newly admitted patient (male, 72 y.o., complaint: inability to void for 14 hours, suprapubic pain and distension, nausea). Medical history completed. Diagnosis: Acute urinary retention secondary to benign prostatic hyperplasia (BPH). Coordination of examination plan (urinalysis with culture, serum creatinine, PSA, bladder ultrasound for post-void residual, renal ultrasound) and treatment plan (urethral catheterization with Foley catheter 16Fr, controlled drainage, alpha-blocker – tamsulosin, urology consultation) with the attending physician.',
        'Interpretation of additional examination data: Bladder ultrasound: 680 mL residual urine. Post-catheterization drained 680 mL clear yellow urine. Serum creatinine mildly elevated (128 umol/L). Renal ultrasound: bilateral mild hydronephrosis. PSA pending.',
        'Participation in providing medical assistance during emergency ambulance call (acute lower abdominal pain).',
        'Participation in clinical case review with head of department for acute urinary retention with obstructive uropathy.',
      ]
    }
  },
  {
    date: '03.07.2026',
    p1: {
      chief: 'high fever, stiff neck, photophobia, petechial rash',
      diagnosis: 'Bacterial meningitis (suspected meningococcal)',
      work: [
        'Safety instructions reviewed. Familiarization with infection control protocols and isolation procedures.',
        'Clinical examination of a newly admitted patient (female, 19 y.o., complaint: high fever 40.1°C, severe headache, neck stiffness, photophobia, petechial rash on trunk and limbs). Medical history completed. Diagnosis: Bacterial meningitis, suspected meningococcal. Kernig and Brudzinski signs positive. Coordination of examination plan (lumbar puncture after CT brain if no contraindications, blood cultures x2, CBC, CRP, procalcitonin, coagulogram) and treatment plan (immediate empiric antibiotics – ceftriaxone 2g IV before LP if delay, dexamethasone 10 mg IV, isolation precautions, neurology consultation) with the attending physician.',
        'Interpretation of additional examination data: CSF – turbid, opening pressure elevated, leukocytosis (WBC 2800 cells/uL, predominantly neutrophils), low glucose (1.8 mmol/L), elevated protein (3.2 g/L). Gram stain: gram-negative diplococci. CBC: WBC 22 x10^9/L.',
        'Participation in providing medical assistance during emergency ambulance call (high fever, altered consciousness).',
        'Ward rounds with the head of department for supervised patients.',
        'Participation in clinical case review with head of department for bacterial meningitis with meningococcemia.',
      ]
    },
    p2: {
      chief: 'acute lower back pain after lifting, inability to walk normally',
      diagnosis: 'Lumbar disc herniation L4-L5 with acute sciatica',
      work: [
        'Clinical examination of a newly admitted patient (male, 41 y.o., complaint: acute onset severe lower back pain radiating down the right leg to the foot after heavy lifting, paresthesia in right L5 dermatome, difficulty walking). Medical history completed. Diagnosis: Lumbar disc herniation L4-L5 with acute sciatica (right). Coordination of examination plan (MRI lumbar spine, neurological assessment including SLR test, deep tendon reflexes, muscle power grading) and treatment plan (NSAIDs – ibuprofen 400 mg TID, muscle relaxant – cyclobenzaprine, physiotherapy referral, neurosurgery consultation if neurological deficit progresses) with the attending physician.',
        'Interpretation of additional examination data: SLR positive on right at 30°. Right EHL power 3/5. MRI lumbar spine: posterior-lateral disc herniation L4-L5 compressing right L5 nerve root.',
        'Participation in providing medical assistance during emergency ambulance call (acute back pain, inability to ambulate).',
        'Participation in clinical case review with head of department for acute disc herniation with neurological deficit.',
      ]
    }
  },
  {
    date: '04.07.2026',
    p1: {
      chief: 'palpitations, lightheadedness, syncope',
      diagnosis: 'Ventricular tachycardia (VT), hemodynamically unstable',
      work: [
        'Safety instructions reviewed. Familiarization with cardiac monitoring equipment and defibrillator operation.',
        'Clinical examination of a newly admitted patient (female, 63 y.o., complaint: sudden palpitations, lightheadedness, one episode of syncope, HR 180 bpm on arrival, BP 85/50 mmHg). Medical history completed. Diagnosis: Ventricular tachycardia (VT), hemodynamically unstable. Coordination of examination plan (12-lead ECG, echocardiography, troponin, electrolytes, ABG, thyroid function) and treatment plan (synchronized cardioversion 100J – successful cardioversion to sinus rhythm, post-cardioversion monitoring, amiodarone IV infusion, cardiology consultation, ICU admission) with the attending physician.',
        'Interpretation of additional examination data: 12-lead ECG: wide complex tachycardia 180 bpm, monomorphic VT. Post-cardioversion ECG: sinus rhythm 72 bpm, prolonged QTc 490ms. Troponin I mildly elevated 0.8 ng/mL. K+ 3.0 mEq/L (hypokalemia, corrected).',
        'Participation in providing medical assistance during emergency ambulance call (syncope, palpitations).',
        'Ward rounds with the head of department for supervised patients.',
        'Participation in clinical case review with head of department for hemodynamically unstable VT requiring cardioversion.',
      ]
    },
    p2: {
      chief: 'severe allergic reaction, urticaria, throat tightness',
      diagnosis: 'Anaphylaxis (Grade III) following bee sting',
      work: [
        'Clinical examination of a newly admitted patient (male, 28 y.o., complaint: generalized urticaria, angioedema, throat tightness, stridor, hypotension BP 80/50 mmHg, tachycardia HR 120 bpm, 15 minutes after bee sting). Medical history completed. Diagnosis: Anaphylaxis (Grade III). Coordination of examination plan (clinical diagnosis, SpO2, peak flow, tryptase level, CBC, blood glucose) and treatment plan (epinephrine 0.3 mg IM mid-outer thigh – STAT, IV fluid resuscitation, cetirizine IV, dexamethasone IV, oxygen 8L/min via non-rebreather, observation for biphasic reaction x8 hours, EpiPen prescription on discharge) with the attending physician.',
        'Interpretation of additional examination data: SpO2 91% on room air – improved to 99% on high-flow O2. HR normalized to 90 bpm and BP 110/70 mmHg within 15 minutes of epinephrine. Tryptase: 28 ng/mL (elevated, confirming mast cell activation).',
        'Participation in providing medical assistance during emergency ambulance call (allergic reaction, angioedema).',
        'Participation in clinical case review with head of department for anaphylaxis management and biphasic reaction risk.',
      ]
    }
  },
  {
    date: '06.07.2026',
    p1: {
      chief: 'polyuria, polydipsia, confusion, fruity breath odor',
      diagnosis: 'Diabetic ketoacidosis (DKA)',
      work: [
        'Safety instructions reviewed. Familiarization with protocols for endocrine emergencies.',
        'Clinical examination of a newly admitted patient (female, 24 y.o., complaint: polyuria, polydipsia, nausea, vomiting, confusion, fruity breath odor; known Type 1 DM on insulin – missed doses for 3 days). Medical history completed. Diagnosis: Diabetic ketoacidosis (DKA). Coordination of examination plan (blood glucose, ABG, serum ketones, electrolytes – Na, K, HCO3, CBC, urinalysis for ketones, ECG) and treatment plan (IV insulin infusion 0.1 U/kg/hr, IV fluid resuscitation – NaCl 0.9%, potassium replacement IV, hourly glucose monitoring, bicarbonate if pH <6.9) with the attending physician.',
        'Interpretation of additional examination data: Blood glucose 32.4 mmol/L. ABG: pH 7.18, HCO3 10 mEq/L, pCO2 22 mmHg – metabolic acidosis with respiratory compensation. Serum ketones 4.8 mmol/L. K+ 3.4 mEq/L (low-normal – requires replacement before insulin). Urine: glucose 4+, ketones 4+.',
        'Participation in providing medical assistance during emergency ambulance call (altered consciousness, metabolic emergency).',
        'Ward rounds with the head of department for supervised patients.',
        'Participation in clinical case review with head of department for DKA with severe acidosis.',
      ]
    },
    p2: {
      chief: 'fall from height, pain in right leg, deformity, crepitus',
      diagnosis: 'Closed femoral shaft fracture, right (AO/OTA 32-B3)',
      work: [
        'Clinical examination of a newly admitted patient (male, 35 y.o., brought by ambulance after fall from 3-meter ladder, complaint: severe right thigh pain, visible deformity, crepitus on palpation, inability to bear weight). Medical history completed. Diagnosis: Closed femoral shaft fracture, right. Neurovascular status intact distally. Coordination of examination plan (X-ray right femur AP and lateral, hip and knee X-ray to exclude associated injuries, CBC, coagulogram, blood group and cross-match, metabolic panel) and treatment plan (IV analgesia – morphine 0.1 mg/kg titrated, traction splint applied, IV access and fluid resuscitation for expected blood loss, orthopedic consultation for surgical fixation – intramedullary nailing) with the attending physician.',
        'Interpretation of additional examination data: X-ray right femur: comminuted mid-shaft femoral fracture, no open injury confirmed. CBC: Hb 10.8 g/dL (acute blood loss, ~1500 mL estimated). Coagulogram: normal. Type and cross-match ordered.',
        'Participation in providing medical assistance during emergency ambulance call (trauma, extremity injury).',
        'Participation in clinical case review with head of department for femoral shaft fracture with hemorrhagic concern.',
      ]
    }
  },
  {
    date: '07.07.2026',
    p1: {
      chief: 'hematemesis, melena, dizziness, pallor',
      diagnosis: 'Upper gastrointestinal bleeding secondary to peptic ulcer (Forrest Ia)',
      work: [
        'Safety instructions reviewed. Familiarization with endoscopy suite preparation protocols.',
        'Clinical examination of a newly admitted patient (male, 55 y.o., complaint: hematemesis x2 (200 mL "coffee-ground" and frank blood), melena, dizziness, pallor, HR 112 bpm, BP 94/60 mmHg). History of NSAID use. Medical history completed. Diagnosis: Upper GI bleeding secondary to peptic ulcer (Forrest Ia – active spurting). Coordination of examination plan (urgent upper GI endoscopy, CBC, coagulogram, LFTs, blood group and cross-match, H. pylori stool antigen test) and treatment plan (IV omeprazole 80 mg bolus then 8 mg/hr infusion, IV fluid resuscitation, blood transfusion if Hb <70 g/L, urgent GI endoscopy with hemostasis – injection + clips, H. pylori eradication on discharge) with the attending physician.',
        'Interpretation of additional examination data: Hb 68 g/dL – transfusion initiated. INR 1.3. Endoscopy: 1.2 cm posterior duodenal ulcer with active spurting vessel – hemostasis achieved with epinephrine injection and 2 hemostatic clips. H. pylori stool antigen: positive.',
        'Participation in providing medical assistance during emergency ambulance call (acute GI bleeding).',
        'Ward rounds with the head of department for supervised patients.',
        'Participation in clinical case review with head of department for upper GI bleed requiring endoscopic hemostasis.',
      ]
    },
    p2: {
      chief: 'moderate head injury, nausea, transient loss of consciousness',
      diagnosis: 'Moderate traumatic brain injury with epidural hematoma',
      work: [
        'Clinical examination of a newly admitted patient (female, 38 y.o., brought in by ambulance after motor vehicle accident, GCS 13 on arrival, transient LOC for 3 minutes at scene, nausea, vomiting, confusion). Medical history completed. Diagnosis: Moderate traumatic brain injury with epidural hematoma. Coordination of examination plan (non-contrast CT brain STAT, CBC, coagulogram, metabolic panel, cervical spine CT to exclude C-spine injury) and treatment plan (continuous GCS monitoring, mannitol 20% IV 1 g/kg for elevated ICP, head elevation 30°, neurosurgical consultation – urgent craniotomy for EDH evacuation, intubation for airway protection) with the attending physician.',
        'Interpretation of additional examination data: CT brain: biconvex hyperdense collection in right temporal region (35 mL) with 8 mm midline shift – epidural hematoma. GCS dropped to 10 during assessment. Neurosurgery activated for urgent evacuation. C-spine: no fracture.',
        'Participation in providing medical assistance during emergency ambulance call (head trauma, unconsciousness).',
        'Participation in clinical case review with head of department for traumatic epidural hematoma requiring emergency craniotomy.',
      ]
    }
  },
  {
    date: '08.07.2026',
    p1: {
      chief: 'sudden-onset pleuritic chest pain, dyspnea, tachycardia',
      diagnosis: 'Pulmonary embolism (PE), intermediate-high risk (Wells score 6)',
      work: [
        'Safety instructions reviewed. Familiarization with PE diagnostic algorithm and anticoagulation protocols.',
        'Clinical examination of a newly admitted patient (male, 48 y.o., complaint: sudden-onset right-sided pleuritic chest pain, dyspnea, hemoptysis, tachycardia HR 108 bpm; recent right knee arthroscopy 2 weeks prior). Medical history completed. Diagnosis: Pulmonary embolism, intermediate-high risk. Coordination of examination plan (CT pulmonary angiography, D-dimer, troponin, BNP, ABG, lower limb venous Doppler, ECG, echocardiography) and treatment plan (anticoagulation – enoxaparin 1 mg/kg SC BID or UFH IV, O2 therapy, pain management, cardiology consultation, consider thrombolysis if hemodynamics deteriorate) with the attending physician.',
        'Interpretation of additional examination data: D-dimer 6.8 ug/mL (elevated). CT pulmonary angiography: bilateral segmental pulmonary emboli with saddle embolus. Echo: RV dilatation and hypokinesis. Troponin I 0.9 ng/mL. ABG: PaO2 62 mmHg, SpO2 90% on room air. ECG: S1Q3T3 pattern, sinus tachycardia.',
        'Participation in providing medical assistance during emergency ambulance call (dyspnea, chest pain, hemoptysis).',
        'Ward rounds with the head of department for supervised patients.',
        'Participation in clinical case review with head of department for intermediate-high risk PE with RV dysfunction.',
      ]
    },
    p2: {
      chief: 'burn injury, charred skin, pain and swelling of hands',
      diagnosis: 'Thermal burns, bilateral hands and forearms, Grade II-III (TBSA 12%)',
      work: [
        'Clinical examination of a newly admitted patient (male, 33 y.o., sustained burns to bilateral hands and forearms from industrial accident with hot liquid). Medical history completed. Diagnosis: Thermal burns, bilateral hands and forearms, Grade II-III. TBSA approximately 12%. Coordination of examination plan (wound assessment under analgesia, CBC, metabolic panel, urinalysis for myoglobin, CK, ECG) and treatment plan (IV analgesia – morphine, IV fluid resuscitation using Parkland formula: 4 mL/kg/% TBSA over 24h, wound care – debridement under sedation, silver sulfadiazine dressing, tetanus prophylaxis, plastic surgery and burns unit consultation) with the attending physician.',
        'Interpretation of additional examination data: CBC: Hb 14.2 g/dL, WBC 13.8 x10^9/L. CK normal (no circumferential burns, no rhabdomyolysis). Urinalysis: clear. Urine output targeted at 0.5-1 mL/kg/hr with Parkland formula resuscitation initiated.',
        'Participation in providing medical assistance during emergency ambulance call (burn injury, chemical/thermal).',
        'Participation in clinical case review with head of department for thermal burns management with Parkland formula resuscitation.',
      ]
    }
  },
  {
    date: '09.07.2026',
    p1: {
      chief: 'fever, productive cough, hemoptysis in known HIV-positive patient',
      diagnosis: 'Pneumocystis jirovecii pneumonia (PCP) in HIV/AIDS (CD4 count 45 cells/uL)',
      work: [
        'Safety instructions reviewed. Familiarization with infection control for immunocompromised patients and respiratory isolation.',
        'Clinical examination of a newly admitted patient (male, 37 y.o., HIV-positive, not on ART, complaint: progressive dyspnea, non-productive cough, fever 38.5°C for 3 weeks, SpO2 83% on room air). Medical history completed. Diagnosis: Pneumocystis jirovecii pneumonia (PCP) in HIV/AIDS. Coordination of examination plan (chest X-ray, HRCT thorax, bronchoalveolar lavage for PCR and staining, CD4 count, HIV viral load, CBC, ABG, LDH) and treatment plan (co-trimoxazole high dose TMP-SMX 15 mg/kg/day IV x21 days, adjuvant corticosteroids if PaO2 <70 mmHg, O2 support, HAART initiation timing discussed with ID consultant) with the attending physician.',
        'Interpretation of additional examination data: Chest X-ray: bilateral interstitial infiltrates. HRCT: ground-glass opacities bilaterally. BAL PCR: positive for P. jirovecii. LDH 620 U/L (elevated, correlates with severity). ABG: PaO2 58 mmHg, pH 7.48. CD4 count: 45 cells/uL.',
        'Participation in providing medical assistance during emergency ambulance call (severe hypoxia, immunocompromised patient).',
        'Ward rounds with the head of department for supervised patients.',
        'Participation in clinical case review with head of department for PCP pneumonia in AIDS with severe hypoxia.',
      ]
    },
    p2: {
      chief: 'altered mental status, tachycardia, hyperthermia, diaphoresis',
      diagnosis: 'Serotonin syndrome following intentional overdose of sertraline and tramadol',
      work: [
        'Clinical examination of a newly admitted patient (female, 31 y.o., found at home unresponsive by family, bottles of sertraline 200 mg/tab and tramadol 100 mg found empty; HR 135 bpm, BP 150/95 mmHg, T 39.7°C, diaphoresis, myoclonus, hyperreflexia, agitation). Medical history completed. Diagnosis: Serotonin syndrome following combined serotonergic drug overdose. Hunter Criteria: positive. Coordination of examination plan (toxicology screen, CBC, metabolic panel, CK, coagulogram, ECG, urinalysis for myoglobinuria) and treatment plan (IV benzodiazepines – lorazepam 2 mg IV titrated, cyproheptadine 4 mg PO if oral route possible, active cooling measures, IV fluids, GI decontamination if within 1-2hr, ICU admission, psychiatric consultation) with the attending physician.',
        'Interpretation of additional examination data: Toxicology screen: sertraline and tramadol positive. CK 3400 U/L (early rhabdomyolysis). ECG: sinus tachycardia, no QTc prolongation (480 ms). Urine: myoglobinuria trace positive. Temperature reduced to 38.1°C with cooling blanket and benzodiazepines.',
        'Participation in providing medical assistance during emergency ambulance call (overdose, altered consciousness).',
        'Participation in clinical case review with head of department for serotonin syndrome with rhabdomyolysis risk.',
      ]
    }
  },
  {
    date: '10.07.2026',
    p1: {
      chief: 'acute abdominal pain, guarding, absent bowel sounds',
      diagnosis: 'Perforated peptic ulcer with peritonitis',
      work: [
        'Safety instructions reviewed. Familiarization with surgical emergency protocols and pre-operative preparation.',
        'Clinical examination of a newly admitted patient (male, 62 y.o., complaint: sudden-onset severe epigastric pain "like a knife", radiating throughout abdomen, board-like rigidity, absent bowel sounds, HR 122 bpm, BP 88/55 mmHg, T 38.3°C). History of chronic NSAID use without PPI cover. Medical history completed. Diagnosis: Perforated peptic ulcer with diffuse peritonitis and septic shock. Coordination of examination plan (erect chest X-ray and/or CT abdomen, CBC, metabolic panel, coagulogram, serum lactate, blood cultures x2, urinalysis) and treatment plan (nil by mouth, IV fluid resuscitation, broad-spectrum antibiotics – piperacillin/tazobactam IV, IV PPI – omeprazole, nasogastric tube, Foley catheter, urgent surgical consultation for emergency laparotomy and repair) with the attending physician.',
        'Interpretation of additional examination data: Erect chest X-ray: pneumoperitoneum (free air under right diaphragm) – confirmatory of perforation. CT abdomen: free air + free fluid in peritoneum. CBC: WBC 21 x10^9/L. Serum lactate 4.8 mmol/L (elevated, tissue hypoperfusion). Blood cultures taken.',
        'Participation in providing medical assistance during emergency ambulance call (acute abdomen, shock).',
        'Ward rounds with the head of department for supervised patients.',
        'Participation in clinical case review with head of department for perforated peptic ulcer with septic shock requiring emergency surgery.',
      ]
    },
    p2: {
      chief: 'painful red eye, decreased vision, halos around lights',
      diagnosis: 'Acute angle-closure glaucoma (AACG)',
      work: [
        'Clinical examination of a newly admitted patient (female, 66 y.o., complaint: sudden severe right eye pain, blurred vision, halos around lights, nausea, vomiting; IOP on palpation – stony hard globe; corneal haze, mid-dilated fixed pupil). Medical history completed. Diagnosis: Acute angle-closure glaucoma (AACG). Coordination of examination plan (urgent ophthalmology consultation and tonometry, slit-lamp examination, gonioscopy, visual field testing, IOP measurement) and treatment plan (timolol 0.5% eye drops, brimonidine 0.2% eye drops, acetazolamide 500 mg IV then 250 mg PO, pilocarpine 2% eye drops q15min x2, IV mannitol 20% 1–2 g/kg, urgent Nd:YAG laser peripheral iridotomy) with the attending physician.',
        'Interpretation of additional examination data: IOP right eye: 54 mmHg (severely elevated; normal <21 mmHg). Slit-lamp: corneal edema, shallow anterior chamber, mid-dilated non-reactive pupil. Post-treatment IOP after acetazolamide + timolol + mannitol: 26 mmHg at 1 hour. Emergency peripheral iridotomy performed successfully. Visual acuity improved to 6/24 from counting fingers.',
        'Participation in providing medical assistance during emergency ambulance call (acute eye pain, vision loss).',
        'Participation in clinical case review with head of department for acute angle-closure glaucoma – ophthalmic emergency.',
      ]
    }
  },
  {
    date: '11.07.2026',
    p1: {
      chief: 'sudden bilateral lower limb weakness, urinary retention, saddle anesthesia',
      diagnosis: 'Cauda equina syndrome secondary to massive L4-L5 disc prolapse',
      work: [
        'Safety instructions reviewed. Familiarization with spinal emergency protocols and neurosurgical referral pathways.',
        'Clinical examination of a newly admitted patient (female, 45 y.o., complaint: acute onset bilateral leg weakness, inability to void, saddle anesthesia [perineum, inner thighs], reduced anal sphincter tone, back pain; onset 6 hours prior). Medical history completed. Diagnosis: Cauda equina syndrome – neurosurgical emergency. Coordination of examination plan (urgent MRI lumbar spine, neurological examination: motor power both legs, reflexes, perianal sensation, rectal examination, urinalysis and bladder ultrasound for retention) and treatment plan (Foley catheterization for urinary retention, analgesia, IV dexamethasone for cord edema, urgent neurosurgical consultation for emergency decompressive surgery within 6-12 hours of onset) with the attending physician.',
        'Interpretation of additional examination data: MRI lumbar spine: massive central disc prolapse L4-L5 with near-complete canal occlusion compressing cauda equina. Bladder ultrasound: 550 mL residual. Bilateral ankle jerks absent. Perianal sensation: reduced bilaterally. Emergency surgery booked as Case 1 on urgent list.',
        'Participation in providing medical assistance during emergency ambulance call (acute neurological emergency, bilateral weakness).',
        'Ward rounds with the head of department for supervised patients.',
        'Participation in clinical case review with head of department for cauda equina syndrome – timing of decompression discussed.',
      ]
    },
    p2: {
      chief: 'severe hypoglycemia, unconsciousness, diaphoresis in diabetic patient',
      diagnosis: 'Severe hypoglycemia (blood glucose 1.6 mmol/L) in Type 2 DM on sulphonylurea',
      work: [
        'Clinical examination of a newly admitted patient (male, 71 y.o., brought by family after found unconscious at home; diaphoretic, responsive to pain only, GCS 8; known Type 2 DM on glibenclamide 10 mg/day). Medical history completed. Diagnosis: Severe hypoglycemia (BGL 1.6 mmol/L) secondary to sulphonylurea overdose with insufficient food intake. Coordination of examination plan (blood glucose STAT, ABG, CBC, metabolic panel including renal function, ECG, CT brain to exclude stroke) and treatment plan (50% dextrose 50 mL IV bolus STAT, followed by 10% dextrose infusion, hourly glucose monitoring, glucagon 1 mg IM if IV access unavailable, withhold glibenclamide, endocrinology review, nutrition consult) with the attending physician.',
        'Interpretation of additional examination data: Blood glucose STAT: 1.6 mmol/L. Post-50% dextrose bolus (5 minutes): BGL 7.4 mmol/L; GCS improved to 14. ECG: sinus bradycardia 54 bpm, no ischemic changes. Renal function: creatinine 165 umol/L (reduced renal clearance of glibenclamide – predisposing factor). CT brain: no infarct or hemorrhage. Continued glucose monitoring q30 min for 6 hours (risk of recurrent hypoglycemia with long-acting sulphonylurea).',
        'Participation in providing medical assistance during emergency ambulance call (hypoglycemia, altered consciousness).',
        'Participation in clinical case review with head of department for severe sulphonylurea-induced hypoglycemia with recurrence risk.',
      ]
    }
  }
];

// ------- BUILDER -------
function buildDayTable(dayData) {
  const rows = [];
  const allItems1 = dayData.p1.work;
  const allItems2 = dayData.p2.work;
  const allItems = [...allItems1, ...allItems2];
  const totalRows = allItems.length;

  allItems.forEach((item, i) => {
    const rowCells = [];
    if (i === 0) {
      rowCells.push(dateCell(dayData.date, totalRows));
    }
    rowCells.push(cell(item, false, 6200));
    // frequency for first item in p1
    const freqMap = {0: '1', 1: '2', 2: '', 3: '1', 4: '', 5: '6'};
    // We'll put freq col
    let freqVal = '';
    if (i === 0) freqVal = '1';
    else if (i === 1) freqVal = '2';
    else if (i === 3) freqVal = '1';
    else if (i === 5) freqVal = '6';
    // for p2 items (starting at allItems1.length)
    const p2Start = allItems1.length;
    if (i === p2Start) freqVal = '2';
    else if (i === p2Start + 1) freqVal = '2';
    else if (i === p2Start + 3) freqVal = '2';
    else if (i === p2Start + (allItems2.length - 1)) freqVal = '1';

    rowCells.push(centerCell(freqVal, false, 700));
    rows.push(new TableRow({ children: rowCells }));
  });

  // Signature row
  rows.push(new TableRow({
    children: [
      cell('', false, 1100),
      cell("Student's signature ___________                    Signature of the clinical base supervisor ___________", true, 6200),
      centerCell('', false, 700)
    ]
  }));

  return new Table({
    width: { size: 100, type: WidthType.PERCENTAGE },
    rows,
    margins: { top: 50, bottom: 50, left: 50, right: 50 }
  });
}

// Header row for each table
function headerTable() {
  return new Table({
    width: { size: 100, type: WidthType.PERCENTAGE },
    rows: [
      new TableRow({
        children: [
          centerCell('Date', true, 1100),
          centerCell('Content of completed work', true, 6200),
          centerCell('Frequency', true, 700)
        ]
      })
    ]
  });
}

// ---- COVER PAGE ----
const coverChildren = [
  ep(),
  bp('Federal State Budgetary Educational Institution of Higher Education', 22, AlignmentType.CENTER),
  bp('"Kursk State Medical University"', 22, AlignmentType.CENTER),
  bp('of the Ministry of Health of the Russian Federation', 22, AlignmentType.CENTER),
  ep(),
  bp('DIARY OF INDUSTRIAL PRACTICE', 26, AlignmentType.CENTER),
  np('for acquiring professional skills and experience in professional activity', 22, AlignmentType.CENTER),
  bp('"Provision of emergency and urgent medical care (physician assistant)"', 22, AlignmentType.CENTER),
  ep(),
  ep(),
  np('Practice title: Industrial practice "Provision of emergency and urgent medical care (physician assistant)"', 22),
  ep(),
  np('Practice base (medical institution / healthcare facility, department, academic chair, institution): ____________________________________________________', 22),
  ep(),
  np('Full name and position of the responsible staff member of the practice base: ________________________________________________', 22),
  ep(),
  np('Full name and position of the supervisor of practical training: ________________________________________________', 22),
  ep(),
  np('Period of practice: from 29.06.2026 to 11.07.2026', 22),
  ep(),
  ep(),
  bp('Student Work Schedule', 22, AlignmentType.CENTER),
  ep(),
];

// Work schedule table
const scheduleRows = [
  new TableRow({ children: [centerCell('Date', true, 2200), centerCell('Working hours', true, 5800)] }),
  ...['29.06.2026','30.06.2026','01.07.2026','02.07.2026','03.07.2026','04.07.2026'].map(d =>
    new TableRow({ children: [centerCell(d, false, 2200), centerCell('08:00 – 14:00', false, 5800)] })
  ),
  new TableRow({ children: [centerCell('05.07.2026 – DAY OFF', false, 2200), centerCell('–', false, 5800)] }),
  ...['06.07.2026','07.07.2026','08.07.2026','09.07.2026','10.07.2026','11.07.2026'].map(d =>
    new TableRow({ children: [centerCell(d, false, 2200), centerCell('08:00 – 14:00', false, 5800)] })
  ),
];
const scheduleTable = new Table({
  width: { size: 100, type: WidthType.PERCENTAGE },
  rows: scheduleRows
});

coverChildren.push(scheduleTable);
coverChildren.push(ep());
coverChildren.push(np('Signature of the responsible staff member of the practice base: ________________', 22));
coverChildren.push(np('Seal of the practice base', 22));

// ---- BUILD DOC ----
const allChildren = [...coverChildren];

days.forEach((day, i) => {
  allChildren.push(ep());
  allChildren.push(ep());
  allChildren.push(headerTable());
  allChildren.push(buildDayTable(day));
});

const doc = new Document({
  sections: [{
    properties: {
      page: {
        margin: { top: 720, bottom: 720, left: 900, right: 900 }
      }
    },
    children: allChildren
  }]
});

Packer.toBuffer(doc).then(buffer => {
  fs.writeFileSync('/home/daytona/workspace/practice-diary/PracticeD_iary.docx', buffer);
  console.log('Done!');
}).catch(e => { console.error(e); process.exit(1); });
Running Command

cd /home/daytona/workspace/practice-diary && node generate.js 2>&1

Running Command

cd /home/daytona/workspace/practice-diary && python /home/daytona/skills/docx/sc…

Running Command

ls -lh /home/daytona/workspace/practice-diary/PracticeD_iary.docx && python3 -c …

Running Command

python3 -c " import zipfile, xml.etree.ElementTree as ET z = zipfile.ZipFile('/h…

Your complete practice diary is ready for download:

PracticeD iary

Word Document · DOCX


Here is a full summary of what was generated:
Document structure:
  • Cover page with institution name (Kursk State Medical University), practice title, all header fields, and the complete student work schedule table (29/06 - 11/07/2026, with 05/07 marked as Day Off)
  • 12 daily log tables (one per working day), each exactly matching your sample format with 3 columns: Date | Content of completed work | Frequency
  • Each day ends with signature lines: "Student's signature" and "Signature of the clinical base supervisor"
24 patients total (2 per day):
DatePatient 1Patient 2
29/06Acute STEMI (anterior wall)Subarachnoid hemorrhage
30/06Community-acquired pneumonia (severe)Acute gastroenteritis with dehydration
01/07Status epilepticusAcute pancreatitis (biliary)
02/07Acute ischemic stroke (thrombolysis)Acute urinary retention (BPH)
03/07Bacterial meningitis (meningococcal)Lumbar disc herniation with sciatica
04/07Ventricular tachycardia (cardioversion)Anaphylaxis Grade III (bee sting)
06/07Diabetic ketoacidosis (DKA)Closed femoral shaft fracture
07/07Upper GI bleeding (Forrest Ia peptic ulcer)Moderate TBI with epidural hematoma
08/07Pulmonary embolism (intermediate-high risk)Thermal burns 12% TBSA (Parkland formula)
09/07PCP pneumonia in HIV/AIDSSerotonin syndrome (drug overdose)
10/07Perforated peptic ulcer with peritonitisAcute angle-closure glaucoma
11/07Cauda equina syndromeSevere hypoglycemia (sulphonylurea)
Each daily entry includes: clinical examination with full history, coordination with the attending physician, ECG/lab/imaging interpretation, participation in emergency ambulance calls, ward rounds, and case review with the head of department - matching the format and activities shown in your sample image.
This is a shared conversation. Sign in to Orris to start your own chat.