Skip to main content
Version: v0.0.7

Function: formatExpertDeterminationSupportReport()

formatExpertDeterminationSupportReport(report): string

Render an ExpertDeterminationSupportReport as a human-readable Markdown document - the same value-free facts as the structured object, led by the non-certification disclaimer. Suitable to hand to a statistician alongside the machine-readable report.

Parameters

report

ExpertDeterminationSupportReport

A report from buildExpertDeterminationSupportReport.

Returns

string

A Markdown string (value-free: categories, dispositions, loci, counts - never a value).

Example

import { buildExpertDeterminationSupportReport, formatExpertDeterminationSupportReport } from "@cosyte/deid";

const md = formatExpertDeterminationSupportReport(buildExpertDeterminationSupportReport([]));
md.startsWith("# Expert-Determination support report"); // => true