BSA Module
Calculates the body surface area in m2 from a weight ValueUnit and a height ValueUnit with one of five formulas. Returns an array of ValueUnits, one for every pair of a weight value and a height value, or an error when the weight ValueUnit is not a weight or the height ValueUnit is not a height.
Functions and values
| Function or value |
Description
|
Full Usage:
calcBSA method
Parameters:
int option -> decimal<MeasureProduct<kg, MeasureOne>> -> decimal<MeasureProduct<cm, MeasureOne>> -> decimal<MeasureProduct<bsa, MeasureOne>>
Returns: ValueUnit -> ValueUnit -> Result<ValueUnit array, string>
|
|
|
|
|
|
|
|
|
|
|
GenPRES