Requires
Classes
Members
(inner, constant) guardrails :Array.<PcaOptions>
Methods
(inner) calcDose() → {Null}
Calculates all outputs based on inputs and adds/removes shading in output/limit fields.
(inner) changedCi() → {Null}
Called when continuous infusion selection is changed. Shows or hides relevant inputs and rows on form.
(inner) changedDrug(clearInputs) → {Null}
Called when drug selection is changed. Changes units, hour max interval, and pump limits displayed on form.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
clearInputs |
Boolean | true |
Default is to clear input fields when drug is changed. Set to false to keep values. |
(inner) checkPumpLimits(pcaLimits, pcaOrdered)
Checks settings against pump limits and adds classes (background colors) to limit table if settings exceed parameters.
Parameters:
Name | Type | Description |
---|---|---|
pcaLimits |
PcaLimitSet |
Limits for current PCA |
pcaOrdered |
PcaParams |
Current ordered PCA parameters |