Estimates Module
Estimates the weight and the height of a patient under 18 years from the normal-value tables by gender, age and post-menstrual age. Returns no estimate without an age.
Functions and values
| Function or value |
Description
|
Full Usage:
Estimates.estimate steps pct
Parameters:
int<'u>[]
pct : Percentiles<float<'u>>
Returns: Percentiles<int<'u>>
Type parameters: 'u |
Truncates table percentiles to whole numbers and rounds the mean to the nearest step.
|
Full Usage:
Estimates.nearestPercentiles gender age rows
Parameters:
Gender
age : float<'age>
rows : NormalValue<'age, 'u> list
Returns: Percentiles<float<'u>> option
Type parameters: 'age, 'u |
Returns the nearest percentiles at an age for a gender. For an unknown gender, returns the average of the male and the female percentiles.
|
Full Usage:
Estimates.nearestStep steps v
Parameters:
^a[]
v : ^b
Returns: ^a
Modifiers: inline Type parameters: ^a, ^b, ^c (requires (static member op_Subtraction : ^b * ^a -> ^c) and (static member op_Subtraction : ^b * ^a -> ^c) and (static member Abs : ^c -> ^c) and comparison) |
The step nearest to a value: the lower step on a tie, and the first or last step for a value beyond the steps. The steps are in ascending order.
|
Full Usage:
Estimates.neonatalWeeks pma rows
Parameters:
AgeWeeksDays option
rows : NormalValue<MeasureProduct<week, MeasureOne>, 'u> list
Returns: float<MeasureProduct<week, MeasureOne>> option
Type parameters: 'u |
Returns the post-menstrual age in weeks when the neonatal table has a row at or above it; None otherwise, so an older infant gets the age table and not the value of the last neonatal row.
|
|
Estimates without a weight and without a height.
|
Full Usage:
Estimates.ofAge tables calculationWeightsAndHeights gender age pma
Parameters:
NormalValueTables
calculationWeightsAndHeights : CalculationWeightsAndHeights
gender : Gender
age : AgeValue option
pma : AgeWeeksDays option
Returns: Estimates
|
Estimates the weight and height from the tables for a gender, an age and a post-menstrual age, with the mean rounded to the nearest calculation weight or height; none without an age or from 18 years. Uses the neonatal table when it has a row at or above the post-menstrual age, otherwise the age table. A weight from the age table has its 3rd and 97th percentiles truncated to whole kg.
|
Full Usage:
Estimates.percentilesOfGender rows age gender
Parameters:
NormalValue<'age, 'u> list
age : float<'age>
gender : Gender
Returns: Percentiles<float<'u>> option
Type parameters: 'age, 'u |
Returns the percentiles of the row nearest to the age for a gender; None when the table has no row for the gender.
|
Full Usage:
Estimates.tableYears age
Parameters:
AgeValue
Returns: float<MeasureProduct<year, MeasureOne>>
|
Returns the age in years, with the months as a fraction, to read the age tables at.
|
|
GenPRES