Logo GenPRES

DoseReduction Module

Converts a dose reduction to and from its sheet value: repl when the renal values replace the dose limits of the dose rule, rel when the renal values are factors that scale those dose limits, and the older value abs read as repl. An unknown value logs a warning and gives no reduction, which is written as an empty text.

Functions and values

Function or value Description

ABS

Full Usage: ABS

Returns: string

An older sheet value of the replacing reduction, read as well as repl.

Returns: string

REL

Full Usage: REL

Returns: string
Returns: string

REPL

Full Usage: REPL

Returns: string
Returns: string

fromString logger s

Full Usage: fromString logger s

Parameters:
Returns: DoseReduction
logger : Logger
s : string
Returns: DoseReduction

isReplace s

Full Usage: isReplace s

Parameters:
    s : string

Returns: bool

Whether a sheet value is the replacing reduction: "repl", or the old "abs", in any case.

s : string
Returns: bool

toString _arg1

Full Usage: toString _arg1

Parameters:
Returns: string
_arg1 : DoseReduction
Returns: string

Type something to start searching.