Renders a one-page clinical report to an editable Word document using
officer (with flextable when available) — no LaTeX
toolchain required. Called by renderClinicalReport for
format = "docx"; usable directly.
Arguments
- data
A report payload list (see
renderClinicalReport):subject,figures(a named list ofggplots),change(an optionalchange_annotation) andprovenance(an optional named list).- template
One of
"gait","hrv","emg"(drives the localized title).- lang
"en"or"ja".- out
Output
.docxpath.