Logo GenPRES

Emergency Module

Calculates the interventions of the emergency list that are not medication: the tube, the umbilical lines and the energy for defibrillation and cardioversion.

Types

Type Description

Calculation

An intervention with its calculated value and the formula that gave the value.

Formula

The formula an intervention is calculated with.

Intervention

An intervention with the calculated value.

Functions and values

Function or value Description

calculate age weight

Full Usage: calculate age weight

Parameters:
Returns: Calculation list

Returns the interventions for an age in days and a weight. A weight under 3 kg gives the tube and the umbilical lines from the weight. Any other weight, or no weight, gives the tubes from the age, when there is an age, and the energies from the weight, when there is a weight.

age : int<MeasureProduct<day, MeasureOne>> option
weight : decimal<MeasureProduct<kg, MeasureOne>> option
Returns: Calculation list

cardioversion weight

Full Usage: cardioversion weight

Parameters:
Returns: decimal<MeasureProduct<joule, MeasureOne>>

Returns the energy of a cardioversion for a weight.

weight : decimal<MeasureProduct<kg, MeasureOne>>
Returns: decimal<MeasureProduct<joule, MeasureOne>>

cuffedTubeSize age

Full Usage: cuffedTubeSize age

Parameters:
Returns: decimal<MeasureProduct<mm, MeasureOne>>

Returns the size of a tube with a cuff for an age in days.

age : int<MeasureProduct<day, MeasureOne>>
Returns: decimal<MeasureProduct<mm, MeasureOne>>

defibrillation weight

Full Usage: defibrillation weight

Parameters:
Returns: decimal<MeasureProduct<joule, MeasureOne>>

Returns the energy of a defibrillation for a weight.

weight : decimal<MeasureProduct<kg, MeasureOne>>
Returns: decimal<MeasureProduct<joule, MeasureOne>>

energies

Full Usage: energies

Returns: decimal<MeasureProduct<joule, MeasureOne>> list

The energies a defibrillator can be set to, from low to high.

Returns: decimal<MeasureProduct<joule, MeasureOne>> list

Returns the lowest energy a defibrillator can be set to that is at or above the energy per kg for the weight. Returns the highest energy of the defibrillator when the weight needs more.

perKg : decimal<MeasureProduct<MeasureInverse<kg>, MeasureProduct<joule, MeasureOne>>>
weight : decimal<MeasureProduct<kg, MeasureOne>>
Returns: decimal<MeasureProduct<joule, MeasureOne>>

lowUmbilicalWeight

Full Usage: lowUmbilicalWeight

Returns: decimal<MeasureProduct<kg, MeasureOne>>

The weight under which a smaller umbilical line and another artery line formula apply.

Returns: decimal<MeasureProduct<kg, MeasureOne>>

lowWeight

Full Usage: lowWeight

Returns: decimal<MeasureProduct<kg, MeasureOne>>

The weight under which the interventions are calculated from the weight alone.

Returns: decimal<MeasureProduct<kg, MeasureOne>>

maxTubeSize

Full Usage: maxTubeSize

Returns: decimal<MeasureProduct<mm, MeasureOne>>

The largest tube size.

Returns: decimal<MeasureProduct<mm, MeasureOne>>

nasalTubeLengthByAge age

Full Usage: nasalTubeLengthByAge age

Parameters:
Returns: decimal<MeasureProduct<cm, MeasureOne>>

Returns the nasal tube length for an age in days, rounded to 0.5 cm.

age : int<MeasureProduct<day, MeasureOne>>
Returns: decimal<MeasureProduct<cm, MeasureOne>>

nasalTubeLengthByWeight weight

Full Usage: nasalTubeLengthByWeight weight

Parameters:
Returns: decimal<MeasureProduct<cm, MeasureOne>>

Returns the nasal tube length for a weight under 3 kg, rounded to 3 significant digits.

weight : decimal<MeasureProduct<kg, MeasureOne>>
Returns: decimal<MeasureProduct<cm, MeasureOne>>

oralTubeLengthByAge age

Full Usage: oralTubeLengthByAge age

Parameters:
Returns: decimal<MeasureProduct<cm, MeasureOne>>

Returns the oral tube length for an age in days, rounded to 0.5 cm.

age : int<MeasureProduct<day, MeasureOne>>
Returns: decimal<MeasureProduct<cm, MeasureOne>>

oralTubeLengthByWeight weight

Full Usage: oralTubeLengthByWeight weight

Parameters:
Returns: decimal<MeasureProduct<cm, MeasureOne>>

Returns the oral tube length for a weight under 3 kg, rounded to 3 significant digits. The weight has to be above 0 kg.

weight : decimal<MeasureProduct<kg, MeasureOne>>
Returns: decimal<MeasureProduct<cm, MeasureOne>>

roundLength length

Full Usage: roundLength length

Parameters:
Returns: decimal<MeasureProduct<cm, MeasureOne>>

Rounds a length to 3 significant digits: 7.8949 cm gives 7.89 cm and 11.936 cm gives 11.9 cm.

length : decimal<MeasureProduct<cm, MeasureOne>>
Returns: decimal<MeasureProduct<cm, MeasureOne>>

roundToHalf x

Full Usage: roundToHalf x

Parameters:
Returns: decimal<'u>
Type parameters: 'u

Rounds a value to the nearest multiple of 0.5. A value halfway between two multiples goes to the whole number.

x : decimal<'u>
Returns: decimal<'u>

tubeSizeByAge sizeAtBirth age

Full Usage: tubeSizeByAge sizeAtBirth age

Parameters:
Returns: decimal<MeasureProduct<mm, MeasureOne>>

Returns the tube size for an age in days: the size at birth plus 1 mm for every 4 years, rounded to 0.5 mm and at most 7 mm.

sizeAtBirth : decimal<MeasureProduct<mm, MeasureOne>>
age : int<MeasureProduct<day, MeasureOne>>
Returns: decimal<MeasureProduct<mm, MeasureOne>>

tubeSizeByWeight weight

Full Usage: tubeSizeByWeight weight

Parameters:
Returns: decimal<MeasureProduct<mm, MeasureOne>>

Returns the tube size for a weight under 3 kg.

weight : decimal<MeasureProduct<kg, MeasureOne>>
Returns: decimal<MeasureProduct<mm, MeasureOne>>

umbilicalArteryLineLengthFrom1500Gram weight

Full Usage: umbilicalArteryLineLengthFrom1500Gram weight

Parameters:
Returns: decimal<MeasureProduct<cm, MeasureOne>>

Returns the length of the umbilical artery line for a weight from 1.5 kg and under 3 kg, rounded to 3 significant digits.

weight : decimal<MeasureProduct<kg, MeasureOne>>
Returns: decimal<MeasureProduct<cm, MeasureOne>>

umbilicalArteryLineLengthUnder1500Gram weight

Full Usage: umbilicalArteryLineLengthUnder1500Gram weight

Parameters:
Returns: decimal<MeasureProduct<cm, MeasureOne>>

Returns the length of the umbilical artery line for a weight under 1.5 kg, rounded to 3 significant digits.

weight : decimal<MeasureProduct<kg, MeasureOne>>
Returns: decimal<MeasureProduct<cm, MeasureOne>>

umbilicalLineSize weight

Full Usage: umbilicalLineSize weight

Parameters:
Returns: decimal<MeasureProduct<french, MeasureOne>>

Returns the size of the umbilical line for a weight under 3 kg.

weight : decimal<MeasureProduct<kg, MeasureOne>>
Returns: decimal<MeasureProduct<french, MeasureOne>>

umbilicalVeinLineLength weight

Full Usage: umbilicalVeinLineLength weight

Parameters:
Returns: decimal<MeasureProduct<cm, MeasureOne>>

Returns the length of the umbilical vein line for a weight under 3 kg, rounded to 3 significant digits.

weight : decimal<MeasureProduct<kg, MeasureOne>>
Returns: decimal<MeasureProduct<cm, MeasureOne>>

uncuffedTubeSize age

Full Usage: uncuffedTubeSize age

Parameters:
Returns: decimal<MeasureProduct<mm, MeasureOne>>

Returns the size of a tube without a cuff for an age in days.

age : int<MeasureProduct<day, MeasureOne>>
Returns: decimal<MeasureProduct<mm, MeasureOne>>

years age

Full Usage: years age

Parameters:
Returns: decimal<MeasureProduct<year, MeasureOne>>

Returns an age in days as years, a year being 365 days.

age : int<MeasureProduct<day, MeasureOne>>
Returns: decimal<MeasureProduct<year, MeasureOne>>

Type something to start searching.