Archive the rendered monthly health report as the record, but extract its embedded images through a bounded worker before accepting the archive job. The deciding constraint is template ownership: if your team owns the report template, preserve stable asset identifiers at render time; if it does not, treat PDF object discovery as untrusted parsing and retain page and object provenance with every stored image.
Short answer: a Node.js service should enqueue the PDF, pass an immutable input to a constrained extractor, validate each decoded image, store it under a content-derived key, and commit a manifest only after the complete set succeeds. Do not scrape screenshots from rendered pages. Keep the original PDF as the authority, because extracted images are derived preview assets rather than a replacement medical record.
This split matters for a monthly report.…