Group charts by document type and render one markdown summary table per
type via EMRDocumentFormatter.createSummaryTable. Returns a single string
with all tables separated by ---.
Ordering is deterministic (types alphabetical, rows sorted by id) so the
rendered string is byte-identical across calls for the same chart set —
required for OpenAI automatic prompt caching to hit across the questions
of a review run. The model does not care about order.
Group charts by document type and render one markdown summary table per type via
EMRDocumentFormatter.createSummaryTable. Returns a single string with all tables separated by---.Ordering is deterministic (types alphabetical, rows sorted by id) so the rendered string is byte-identical across calls for the same chart set — required for OpenAI automatic prompt caching to hit across the questions of a review run. The model does not care about order.