On this pagecore.statsfnHome > @medplum/core > StatsFn StatsFn type Signature: export type StatsFn = (data: number[]) => number | Quantity;