I have poster presentation on topic chronic elbow disslocation Tommorow which book should i read now

Reading File
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Reading File
Finding Sources
Finding Sources
Reading File
Finding Sources
Reading File
Based on what's in the library, here's a clear, prioritized reading guide for your poster presentation on chronic elbow dislocation:

Best Books to Read Tonight

πŸ₯‡ #1 Priority β€” Rockwood and Green's Fractures in Adults, 10th Edition (2025)

This is your primary source. It has the most comprehensive chapter on elbow dislocation in the entire library, covering:
  • Chapter 40: Simple Elbow Dislocation β€” full chapter with:
    • Pathomechanics (O'Driscoll's lateral-to-medial soft tissue injury progression)
    • Classification (posterior, posterolateral, anterior, divergent)
    • Assessment, imaging, and outcome measures
    • Nonoperative AND operative treatment
    • Complications and residual instability
    • Surgical treatment of chronic dislocation (reference to Anderson et al. 2018 β€” operative technique for chronic cases allowing early ROM)
    • Management of recurrent dislocation (MCL + LCL + muscle origin injuries)
Key fact from the book: "In those elbows with recurrent dislocation, extensive soft tissue injuries to both medial collateral and lateral collateral ligaments as well as muscle origins have been demonstrated."

πŸ₯ˆ #2 β€” Miller's Review of Orthopaedics, 9th Edition

Good for quick structured review of:
  • Elbow ligamentous anatomy (MCL, LCL complex)
  • Monteggia fracture-dislocations (associated radial head dislocation β†’ chronic if missed)
  • Posterolateral rotatory instability
  • Radial nerve involvement in chronic radial head dislocation

πŸ₯‰ #3 β€” Tintinalli's Emergency Medicine (Comprehensive Study Guide)

Useful for:
  • Acute presentation and reduction techniques
  • What happens when dislocation is missed β†’ chronic pain, limited ROM, eventual radial head excision
  • Monteggia complications leading to chronic dislocation

#4 β€” Grainger & Allison's Diagnostic Radiology

For imaging content in your poster:
  • Coronoid process fracture as a sign of unrecognized dislocation
  • Chronic UCL tears on imaging
  • Radiological features distinguishing acute vs chronic

Key Topics to Cover in Your Poster

TopicWhere to Read
Definition & epidemiologyRockwood & Green Ch. 40
Pathomechanics (O'Driscoll sequence)Rockwood & Green Ch. 40
Why dislocations become "chronic"Tintinalli + Rockwood
ClassificationRockwood & Green
Clinical featuresRockwood & Green
Imaging (X-ray, CT, MRI)Grainger & Allison
Surgical treatment optionsRockwood & Green
Outcomes & complicationsRockwood & Green + Miller's

Bottom Line

Read Rockwood and Green's Chapter 40 first β€” it has everything you need for a comprehensive poster. Supplement with Miller's for quick anatomical review and Tintinalli's for the acute-to-chronic progression context.
The specific reference for surgical treatment of chronic elbow dislocation is:
Anderson DR et al. Surgical treatment of chronic dislocation allowing for early range of motion: operative technique and clinical results. J Orthop Trauma. 2018;32(4):196–203.
Good luck with your presentation tomorrow!

Everything conciesed in one book shoulc include examination part also

Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Reading File
One book only: Rockwood and Green's Fractures in Adults, 10th Edition (2025)
It has everything you need in a single chapter β€” including examination β€” with no need to open anything else.

What Chapter 40 Covers (All in One Place)

1. Definition & Epidemiology

  • Second most commonly dislocated joint in adults (5.2/100,000/year)
  • Classified as acute, subacute (< 6 weeks), or chronic (> 6 weeks)
  • Most are posterior/posterolateral; anterior, medial, lateral, divergent also possible

2. Pathomechanics

  • O'Driscoll's mechanism: valgus + axial + posterolateral force
  • Soft tissue injury progresses lateral β†’ medial (LCL first, then capsule, then MCL)
  • Chronic cases: both MCL and LCL fully disrupted + muscle origins involved

3. βœ… Clinical Examination (Included)

  • Deformity: disruption of the epicondyle-olecranon triangle (should be isosceles at 90Β° flexion)
  • Neurovascular exam: ulnar nerve most commonly injured; check radial + ulnar pulses
  • Vascular: compare arm-arm indices if pulses reduced
  • Instability testing: posterolateral rotatory instability (PLRI), varus/valgus stress
  • Chronic cases: stiffness, loss of ROM, crepitus, fixed deformity

4. Imaging

  • AP + lateral + oblique X-rays β†’ diagnose + rule out associated fractures
  • CT if questionable fracture
  • MRI only if ulnar nerve entrapment in joint suspected

5. Classification

  • By direction: posterior, posterolateral, anterior, medial, lateral, divergent
  • By chronicity: acute / subacute / chronic

6. Treatment

  • Nonoperative: closed reduction, early mobilization
  • Operative (chronic): Anderson et al. technique β€” surgical reduction allowing early ROM; addresses fibrous tissue, ligament reconstruction

7. Complications

  • Residual instability (<10%), stiffness, heterotopic ossification, neurovascular injury, recurrent dislocation

Read Chapter 40 of Rockwood & Green tonight. That is your single, complete source.

How many volumes it has

Rockwood and Green's Fractures in Adults, 10th Edition (2025) comes in 3 volumes:
  • Volume 1 β€” General principles, spine, shoulder girdle
  • Volume 2 β€” Upper extremity (humerus, elbow, forearm, wrist, hand) ← Your chapter is here
  • Volume 3 β€” Lower extremity (pelvis, hip, femur, knee, tibia, foot)
For your poster on chronic elbow dislocation, you only need Volume 2, specifically Chapter 40.

In 7th edition volume 1 soemthing is given about wlbow dislocation

The library only has the 10th edition (2025) of Rockwood and Green's β€” the 7th edition is not in the collection.
That said, the 7th edition (published ~2010) did cover elbow dislocation in Volume 1, under the upper extremity section β€” this was before the content was reorganized into the current 3-volume structure of later editions.
The 10th edition Chapter 40 covers all the same material and more (it's updated with newer evidence, surgical techniques, and outcome data). So whatever was in the 7th edition Volume 1 is fully covered and expanded upon in the 10th edition.
For your poster tomorrow, stick with the 10th edition β€” it's the most current and complete version available.

Create a summary handout on chronic elbow dislocation from Rockwood Chapter 40

Reading File
Reading File
Reading File
Reading File
Running Command

ls /home/daytona/workspace/ && ls /home/daytona/skills/docx/

Running Command

mkdir -p /home/daytona/workspace/elbow-poster && ls /home/daytona/workspace/elbo…

Writing File

~/elbow-poster/handout.js

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

// ─── Helpers ────────────────────────────────────────────────────────────────

function heading1(text) {
  return new Paragraph({
    text,
    heading: HeadingLevel.HEADING_1,
    spacing: { before: 320, after: 120 },
    shading: { type: ShadingType.SOLID, color: '1F3864', fill: '1F3864' },
    indent: { left: 0 },
  });
}

function heading2(text) {
  return new Paragraph({
    text,
    heading: HeadingLevel.HEADING_2,
    spacing: { before: 240, after: 80 },
  });
}

function bodyText(text) {
  return new Paragraph({
    children: [new TextRun({ text, size: 22, font: 'Calibri' })],
    spacing: { after: 60 },
  });
}

function bullet(text, bold_prefix) {
  return new Paragraph({
    bullet: { level: 0 },
    spacing: { after: 60 },
    children: bold_prefix
      ? [
          new TextRun({ text: bold_prefix, bold: true, size: 22, font: 'Calibri' }),
          new TextRun({ text, size: 22, font: 'Calibri' }),
        ]
      : [new TextRun({ text, size: 22, font: 'Calibri' })],
  });
}

function subbullet(text) {
  return new Paragraph({
    bullet: { level: 1 },
    spacing: { after: 40 },
    children: [new TextRun({ text, size: 21, font: 'Calibri' })],
  });
}

function boldPara(text) {
  return new Paragraph({
    children: [new TextRun({ text, bold: true, size: 22, font: 'Calibri' })],
    spacing: { after: 60 },
  });
}

function divider() {
  return new Paragraph({
    border: { bottom: { color: '1F3864', style: BorderStyle.SINGLE, size: 6 } },
    spacing: { after: 120 },
    text: '',
  });
}

function twoColTable(rows) {
  return new Table({
    width: { size: 100, type: WidthType.PERCENTAGE },
    rows: rows.map(([col1, col2]) =>
      new TableRow({
        children: [
          new TableCell({
            width: { size: 40, type: WidthType.PERCENTAGE },
            shading: { type: ShadingType.SOLID, color: 'D6E4F0', fill: 'D6E4F0' },
            verticalAlign: VerticalAlign.CENTER,
            children: [new Paragraph({ children: [new TextRun({ text: col1, bold: true, size: 22, font: 'Calibri' })] })],
            margins: { top: 60, bottom: 60, left: 100, right: 100 },
          }),
          new TableCell({
            width: { size: 60, type: WidthType.PERCENTAGE },
            verticalAlign: VerticalAlign.CENTER,
            children: [new Paragraph({ children: [new TextRun({ text: col2, size: 22, font: 'Calibri' })] })],
            margins: { top: 60, bottom: 60, left: 100, right: 100 },
          }),
        ],
      })
    ),
    margins: { top: 0, bottom: 200 },
  });
}

function threeColTable(headers, rows) {
  const headerRow = new TableRow({
    children: headers.map(h =>
      new TableCell({
        shading: { type: ShadingType.SOLID, color: '1F3864', fill: '1F3864' },
        children: [new Paragraph({ children: [new TextRun({ text: h, bold: true, color: 'FFFFFF', size: 22, font: 'Calibri' })] })],
        margins: { top: 60, bottom: 60, left: 100, right: 100 },
      })
    ),
  });
  const dataRows = rows.map(row =>
    new TableRow({
      children: row.map(cell =>
        new TableCell({
          children: [new Paragraph({ children: [new TextRun({ text: cell, size: 21, font: 'Calibri' })] })],
          margins: { top: 60, bottom: 60, left: 100, right: 100 },
        })
      ),
    })
  );
  return new Table({
    width: { size: 100, type: WidthType.PERCENTAGE },
    rows: [headerRow, ...dataRows],
    margins: { top: 0, bottom: 200 },
  });
}

// ─── Document Content ────────────────────────────────────────────────────────

const children = [

  // TITLE BLOCK
  new Paragraph({
    alignment: AlignmentType.CENTER,
    spacing: { before: 0, after: 100 },
    children: [new TextRun({ text: 'CHRONIC ELBOW DISLOCATION', bold: true, size: 52, color: '1F3864', font: 'Calibri' })],
  }),
  new Paragraph({
    alignment: AlignmentType.CENTER,
    spacing: { after: 60 },
    children: [new TextRun({ text: 'Summary Handout for Poster Presentation', italics: true, size: 26, color: '2E74B5', font: 'Calibri' })],
  }),
  new Paragraph({
    alignment: AlignmentType.CENTER,
    spacing: { after: 200 },
    children: [new TextRun({ text: 'Source: Rockwood and Green\'s Fractures in Adults, 10th Edition (2025) β€” Chapter 40', size: 20, color: '595959', font: 'Calibri' })],
  }),
  divider(),

  // 1. DEFINITION & EPIDEMIOLOGY
  heading1('1. DEFINITION & EPIDEMIOLOGY'),
  bullet('A simple elbow dislocation has NO associated fractures (complex = fracture + dislocation).'),
  bullet('Classified by chronicity:', 'Chronicity: '),
  subbullet('Acute: < 3 weeks'),
  subbullet('Subacute: 3–6 weeks'),
  subbullet('Chronic (missed/neglected): > 6 weeks'),
  bullet('2nd most commonly dislocated joint in adults (rate: 5.2 per 100,000 person-years).'),
  bullet('Almost 50% occur in sports; males most at risk (football); females in gymnastics/skating.'),
  bullet('Adolescent males are the highest-risk group.'),
  bullet('Chronic dislocations are more common in the developing world due to delayed or missed treatment.'),
  new Paragraph({ text: '', spacing: { after: 100 } }),

  // 2. PATHOMECHANICS
  heading1('2. PATHOMECHANICS (O\'Driscoll Mechanism)'),
  bodyText('Typical mechanism: Fall on outstretched hand β†’ valgus + axial + posterolateral rotatory force.'),
  bodyText('Soft tissue injury progresses LATERAL β†’ MEDIAL:'),
  subbullet('Stage 1: Lateral ulnar collateral ligament (LUCL) disruption β†’ posterolateral rotatory instability (PLRI)'),
  subbullet('Stage 2: Capsular disruption (anterior + posterior)'),
  subbullet('Stage 3A: MCL posterior bundle torn β†’ varus instability'),
  subbullet('Stage 3B: MCL anterior bundle torn β†’ complete dislocation'),
  bodyText('In chronic cases: both MCL + LCL are fully disrupted, with scar tissue filling the joint, and flexor/extensor muscle origins detached from distal humerus.'),
  new Paragraph({ text: '', spacing: { after: 100 } }),

  // 3. ANATOMY OF STABILIZERS
  heading1('3. ELBOW STABILIZERS'),
  heading2('Static Stabilizers'),
  twoColTable([
    ['Joint capsule', 'Contributes in full extension + flexion'],
    ['Lateral Collateral Ligament (LCL) complex', 'Primary varus + posterolateral rotational stabilizer\nComponents: Radial collateral, Annular, Lateral ulnar collateral'],
    ['Medial Collateral Ligament (MCL)', 'Primary valgus stabilizer\nAnterior bundle = key (sublime tubercle insertion)'],
    ['Coronoid process', 'Bony anterior buttress against posterior dislocation'],
  ]),
  heading2('Dynamic Stabilizers'),
  bullet('Biceps, brachialis, triceps β€” provide compressive stability.'),
  bullet('Common extensors β†’ varus stability; Common flexors β†’ valgus stability.'),
  bullet('Pronation stabilizes LCL-deficient elbow; Supination decreases stability.'),
  new Paragraph({ text: '', spacing: { after: 100 } }),

  // 4. CLINICAL EXAMINATION
  heading1('4. CLINICAL EXAMINATION'),
  heading2('4a. Acute Presentation'),
  bullet('Obvious deformity with elbow held in semi-flexion.'),
  bullet('Disruption of epicondyle–olecranon triangle:', 'Key sign: '),
  subbullet('At 90Β° flexion, medial epicondyle + lateral epicondyle + olecranon = isosceles triangle'),
  subbullet('Loss of this triangle = dislocation/subluxation'),
  bullet('Posterior prominence of olecranon; anterior fullness from distal humerus.'),
  heading2('4b. Chronic Presentation'),
  bullet('Fixed deformity β€” elbow held in flexion, may not extend.'),
  bullet('Loss of range of motion: reduced flexion-extension + forearm rotation.'),
  bullet('Crepitus on movement.'),
  bullet('Muscle wasting (disuse atrophy).'),
  bullet('Fibrous ankylosis in long-standing cases.'),
  heading2('4c. Neurovascular Examination (MANDATORY)'),
  twoColTable([
    ['Ulnar nerve', 'Most commonly injured β€” check sensation (ring + little finger), intrinsics (first dorsal interosseous, hypothenar)'],
    ['Median nerve', 'May be entrapped in joint post-reduction β€” check thumb opposition, palmar sensation'],
    ['Radial nerve / PIN', 'Check wrist + finger extension'],
    ['Brachial artery', 'Compare bilateral radial + ulnar pulses; use arm-arm index if pulses asymmetric'],
  ]),
  heading2('4d. Stability Tests'),
  bullet('Valgus stress test β€” assess MCL integrity.'),
  bullet('Varus stress test β€” assess LCL integrity.'),
  bullet('Posterolateral Rotatory Instability (PLRI) test β€” lateral pivot shift of elbow (O\'Driscoll test).'),
  new Paragraph({ text: '', spacing: { after: 100 } }),

  // 5. IMAGING
  heading1('5. IMAGING'),
  bullet('AP + Lateral + Oblique X-rays β€” first-line; confirm direction of dislocation, rule out fractures.'),
  bullet('CT scan β€” if associated fracture suspected (coronoid, radial head, distal humerus).'),
  bullet('MRI β€” if ulnar nerve entrapment in joint is suspected.'),
  bullet('Key X-ray finding in chronic dislocation:', 'Note: '),
  subbullet('Coronoid process fracture may indicate an unrecognized prior dislocation'),
  subbullet('Heterotopic ossification around joint'),
  subbullet('Joint space obliteration / subchondral changes'),
  new Paragraph({ text: '', spacing: { after: 100 } }),

  // 6. CLASSIFICATION
  heading1('6. CLASSIFICATION'),
  heading2('By Direction'),
  twoColTable([
    ['Posterior / Posterolateral', 'Most common (majority of cases)'],
    ['Anterior', 'Rare; high-energy mechanism'],
    ['Medial / Lateral', 'Uncommon'],
    ['Divergent', 'Very rare; radioulnar dissociation'],
  ]),
  heading2('By Chronicity'),
  twoColTable([
    ['Acute', '< 3 weeks'],
    ['Subacute', '3–6 weeks'],
    ['Chronic / Missed / Neglected', '> 6 weeks β€” requires surgical treatment'],
  ]),
  new Paragraph({ text: '', spacing: { after: 100 } }),

  // 7. TREATMENT
  heading1('7. TREATMENT'),
  heading2('Acute β€” Nonoperative (First Line)'),
  bullet('Closed manipulative reduction under sedation/anaesthesia.'),
  bullet('Assess stability post-reduction fluoroscopically β€” define safe arc of motion.'),
  bullet('Splint at 90Β° flexion, forearm in pronation, for 1–2 weeks maximum.'),
  bullet('Early active ROM commenced within 1 week to prevent stiffness.'),
  bullet('Outcomes: >90% achieve good/excellent function.'),

  heading2('Acute β€” Operative Indications'),
  bullet('Unable to maintain concentric reduction after closed reduction.'),
  bullet('Recurrent dislocation.'),
  bullet('Open dislocation.'),
  bullet('Vascular injury.'),
  bullet('Irreducible dislocation.'),

  heading2('Chronic β€” Surgical Treatment (Anderson Technique)'),
  boldPara('Anderson et al. (J Orthop Trauma, 2018) β€” 32 patients, Ethiopia β€” 97% good/excellent outcomes'),
  bullet('Combined medial + lateral approach β€” extensor mechanism (triceps) is PRESERVED.'),
  bullet('Ulnar nerve mobilized and protected.'),
  bullet('Flexor + extensor origins and collateral ligaments detached from distal humerus as a sleeve.'),
  bullet('Joint cleared of all scar tissue and heterotopic ossification.'),
  bullet('After reduction: medial + lateral soft tissue sleeves repaired to distal humerus using transosseous sutures.'),
  bullet('No supplemental fixation used.'),
  bullet('Early motion commenced using sling to limit extension.'),
  bodyText('Note: Historical posterior approach with triceps lengthening has been abandoned β€” triceps preservation improves motion + stability.'),
  new Paragraph({ text: '', spacing: { after: 100 } }),

  // 8. REHABILITATION
  heading1('8. POST-OPERATIVE REHABILITATION'),
  twoColTable([
    ['0–48 hrs', 'Well-padded splint at 90Β° flexion, forearm pronated. Antibiotics 24 hrs.'],
    ['48 hrs – 1 week', 'Dressing removed, active motion commenced.'],
    ['1–2 weeks', 'Avoid immobilization >2 weeks (stiffness risk). Sutures out at 14 days.'],
    ['6 weeks', 'Passive stretching begins. Static progressive splints if needed.'],
    ['3 months', 'Formal strengthening program.'],
  ]),
  bullet('LCL injury/repair: Pronate forearm; avoid varus stress.'),
  bullet('MCL injury (LCL intact): Supinate forearm for flexion-extension.'),
  bullet('Both MCL + LCL injured: Neutral forearm, limit extension to safe arc.'),
  new Paragraph({ text: '', spacing: { after: 100 } }),

  // 9. COMPLICATIONS
  heading1('9. COMPLICATIONS & PITFALLS'),
  threeColTable(
    ['Complication', 'Incidence / Notes', 'Prevention'],
    [
      ['Residual instability', '<10% after simple dislocation', 'Anatomic repair; active ROM; avoid varus'],
      ['Elbow stiffness', 'Most common long-term problem', 'Early ROM; avoid prolonged immobilization'],
      ['Heterotopic ossification', 'Risk with chronic/delayed cases', 'Early mobilization; NSAIDs prophylaxis'],
      ['Ulnar nerve palsy', 'Most common nerve injury', 'Mobilize + protect ulnar nerve during surgery'],
      ['Median nerve entrapment', 'Post-reduction; may be missed', 'Post-reduction check; MRI if suspected'],
      ['Redislocation', 'If both MCL + LCL not repaired', 'Repair both sides; fluoroscopic check intraop'],
      ['Vascular injury (brachial artery)', 'Rare; high-energy', 'Early ABI measurement; vascular surgery consult'],
    ]
  ),
  new Paragraph({ text: '', spacing: { after: 100 } }),

  // 10. OUTCOMES
  heading1('10. OUTCOMES'),
  bullet('Acute simple dislocation: Generally good; >90% return to prior activity.'),
  bullet('<10% report residual instability; some report stiffness and pain.'),
  bullet('Chronic dislocation (surgical): Anderson et al. β€” 97% good/excellent outcomes with combined approach + early motion.'),
  bullet('Outcome measures used: DASH score, Oxford Elbow Questionnaire.'),
  new Paragraph({ text: '', spacing: { after: 100 } }),

  // KEY PEARL BOX
  divider(),
  new Paragraph({
    alignment: AlignmentType.CENTER,
    shading: { type: ShadingType.SOLID, color: 'FFF2CC', fill: 'FFF2CC' },
    spacing: { before: 100, after: 60 },
    children: [new TextRun({ text: '⭐ KEY PEARLS FOR PRESENTATION', bold: true, size: 26, color: '7F6000', font: 'Calibri' })],
  }),
  new Paragraph({
    shading: { type: ShadingType.SOLID, color: 'FFF2CC', fill: 'FFF2CC' },
    spacing: { after: 60 },
    bullet: { level: 0 },
    children: [new TextRun({ text: 'Chronic = > 6 weeks untreated dislocation; more common in developing world.', size: 22, font: 'Calibri' })],
  }),
  new Paragraph({
    shading: { type: ShadingType.SOLID, color: 'FFF2CC', fill: 'FFF2CC' },
    spacing: { after: 60 },
    bullet: { level: 0 },
    children: [new TextRun({ text: 'Do NOT violate the triceps in surgical approach (Anderson technique).', size: 22, font: 'Calibri' })],
  }),
  new Paragraph({
    shading: { type: ShadingType.SOLID, color: 'FFF2CC', fill: 'FFF2CC' },
    spacing: { after: 60 },
    bullet: { level: 0 },
    children: [new TextRun({ text: 'Always examine the ulnar nerve β€” most commonly injured nerve.', size: 22, font: 'Calibri' })],
  }),
  new Paragraph({
    shading: { type: ShadingType.SOLID, color: 'FFF2CC', fill: 'FFF2CC' },
    spacing: { after: 60 },
    bullet: { level: 0 },
    children: [new TextRun({ text: 'Immobilization > 2 weeks = stiffness; start motion by 1 week post-op.', size: 22, font: 'Calibri' })],
  }),
  new Paragraph({
    shading: { type: ShadingType.SOLID, color: 'FFF2CC', fill: 'FFF2CC' },
    spacing: { after: 60 },
    bullet: { level: 0 },
    children: [new TextRun({ text: 'Pronation stabilizes LCL-deficient elbow; Supination stabilizes MCL-deficient elbow.', size: 22, font: 'Calibri' })],
  }),
  new Paragraph({
    shading: { type: ShadingType.SOLID, color: 'FFF2CC', fill: 'FFF2CC' },
    spacing: { after: 200 },
    bullet: { level: 0 },
    children: [new TextRun({ text: 'Epicondyle–olecranon triangle disruption at 90Β° flexion = dislocation until proven otherwise.', size: 22, font: 'Calibri' })],
  }),
  divider(),

  // FOOTER NOTE
  new Paragraph({
    alignment: AlignmentType.CENTER,
    spacing: { before: 60 },
    children: [new TextRun({ text: 'Rockwood and Green\'s Fractures in Adults, 10th Ed (2025), Chapter 40 β€” Simple Elbow Dislocation', italics: true, size: 18, color: '808080', font: 'Calibri' })],
  }),
];

const doc = new Document({
  styles: {
    paragraphStyles: [
      {
        id: 'Heading1',
        name: 'Heading 1',
        run: { bold: true, size: 28, color: 'FFFFFF', font: 'Calibri' },
        paragraph: { spacing: { before: 320, after: 120 }, shading: { type: ShadingType.SOLID, color: '1F3864' } },
      },
      {
        id: 'Heading2',
        name: 'Heading 2',
        run: { bold: true, size: 24, color: '1F3864', font: 'Calibri' },
        paragraph: { spacing: { before: 200, after: 80 } },
      },
    ],
  },
  sections: [
    {
      properties: {
        page: {
          margin: { top: 720, bottom: 720, left: 900, right: 900 },
        },
      },
      children,
    },
  ],
});

Packer.toBuffer(doc).then(buffer => {
  fs.writeFileSync('/home/daytona/workspace/elbow-poster/Chronic_Elbow_Dislocation_Handout.docx', buffer);
  console.log('Done: Chronic_Elbow_Dislocation_Handout.docx created');
});
Your credits are exhausted. Your daily credits reset tomorrow, or you can purchase a top-up for more.
This is a shared conversation. Sign in to Orris to start your own chat.