Skip to main content

build_report

Function build_report 

Source
pub fn build_report(
    records: Vec<RecordRef>,
    lens: Lens,
    convergence_threshold: usize,
    state: PhysiologicalState,
) -> AnatomyViewReport
Expand description

Build a report from already-normalized record refs and a lens, at a physiological state. The state modulator is applied to the per-system burdens so the colour-by-load reflects the person’s current life stage (e.g. a nephrotoxic med is a bigger ask on the kidneys in the third trimester).