Global

Methods

changedAmgMethod()

Check CF box status and show/hide DOM elements based on dosing method

Source:

displayChange(el, d, f) → {HTMLElement}

From a proposed dose and frequency, calculate and display the percent change from the patient's current total daily dose.

Parameters:
Name Type Default Description
el String | HTMLElement

jQuery selector for element that will display result

d Number | String 0

the dose in mg

f Number | String 0

the frequency (every __ hours)

Source:
Requires:

module:formValidation(config) → {String}

Set up event listeners for form validation

Parameters:
Name Type Description
config Array.<FormValidationConfig>

configuration for setup

Source:

resetDates()

Resets date input fields to today's date.

Source:

vancoColorScale(x) → {String}

Provides a color to highlight the percent change of total daily vancomycin dose. Color stops are fixed at : red at 35%, yellow at 30%, and green at 20% Values in between color stops are scaled using R, G, and B values

Parameters:
Name Type Description
x Number

percent change (from -100 to 100)

Source:

Type Definitions

AlligationCheck :Object

Input validity check

Properties:
Name Type Attributes Default Description
errMessage String

Error message to display if check fails

check Boolean

Expression to evaluate that returns true if valid

ignoreSingle Boolean <optional>
false

Ignore this check for single alligation

ignoreDouble Boolean <optional>
false

Ignore this check for double alligation

markInvalid String <optional>

jQuery selector of element to mark as invalid if check fails

Source:

AlligationResult :Object

Alligation Result

Properties:
Name Type Description
err String

Error text if calculation is not possible

components Array.<AlligationResultRow>

Components that make the final solution

final AlligationResultRow

Details of final solution

Source:

AlligationResultRow :Object

Alligation Result Row

Properties:
Name Type Description
amount String

Amount and units of the solution

description String

Description of the solution

Source:

AmgExtendedResult :Object

Aminoglycoside Extended Interval Calculation Results

Properties:
Name Type Attributes Default Description
ke Number

Elinimation rate constant in (1/hr), or 0 if insufficient inputs

truePeak Number

True peak level in mcg/mL, or 0 if insufficient inputs

troughDT Date

Date and time of goal trough/target MIC, or 0 if insufficient inputs

redoseDT Date

Date and time of redose point, or 0 if insufficient inputs

redoseLevel Number

Estimated level at redose point, or undefined if insufficient inputs

newDoseToRedoseTime Date

Time from start of new dose to redose point, or 0 if insufficient inputs

vd Number

Volume of distribution, or 0 if insufficient inputs

recDose Number

Recommended new dose in mg, or 0 if insufficient inputs

recFreq Number

Recommended new frequency to the nearest 12 hours, or 0 if insufficient inputs

levelAtCustom Number

Estimated level at custom date and time, or undefined if insufficient inputs

warn Boolean

Show warning that distribution may not be complete

valid Boolean <optional>
true

Set to false if inputs already known to be invalid

Source:

AmgParams :Object

Aminoglycoside Calculation Parameters

Properties:
Name Type Description
drug String

The selected drug, as a single uppercase letter: [G]entamicin, [T]obramycin, or [A]mikacin

goalPeak Number

Goal peak level in mcg/mL

dose Number

Current dose in mg

doseTime Date

Date and time of dose

postAbxEffect Number

Post antibiotic effect, in hours

level1 Number

First level in mcg/mL

level1Time Date

Date and time of first level

level2 Number

Second level in mcg/mL

level12ime Date

Date and time of second level

customTime Date

Date and time for custom estimation

Source:

AucCalcParams :Object

Vancomycin AUC Calculation Parameters

Properties:
Name Type Description
dose Number

Current dose in mg

interval Number

Current interval in hours

trough Number

Current measured trough

peak Number

Current measured peak

troughTime Number

Time from dose to trough in hours

peakTime Number

Time from dose to peak in hours

Source:

AucCurrent :Object

Calculated AUC results

Properties:
Name Type Description
vd Number

Volume of distribution

ke Number

Elimination rate constant

halflife Number

Halflife

auc24 Number

AUC 24

aucInf Number

AUC_infusion

aucElim Number

AUC_elimination

truePeak Number

True peak level

trueTrough Number

True trough level

tInf Number

Infusion time

therapeutic String

[subtherapeutic|supratherapeutic|therapeutic]

oldDose Number

Current dose in mg

oldInterval Number

Current interval in hours

goalTroughLow Number

Bottom of personalized goal trough range

goalTroughHigh Number

Top of personalized goal trough range

Source:

AucNew :Object

Calculated AUC results for various possible doses with the selected interval, for output to a table

Properties:
Name Type Description
dose Array.<Number>

New dose in mg

auc Array.<Number>

Predicted AUC from new dose

infTime Array.<Number>

Infusion time in hours

trough Array.<Number>

Calculated trough level

peak Array.<Number>

Calculated peak level

therapeutic Array.<Boolean>

If resulting AUC is therapeutic

Source:

DosingWeightParams :Object

Parameters for calculating AMG dosing weight

Properties:
Name Type Description
alt Boolean

Use alternate dosing weight

age Number

Patient age in years

wt Number

Patient weight in kg

ibw Number

Ideal body weight in kg

adjBW Number

Adjusted body weight in kg

overUnder Number

Percent over or under ideal body weight

Source:

DosingWtResults :Object

Results from AMG dosing weight calculations

Properties:
Name Type Description
dosingWeight Number

Dosing weight in kg

dosingWeightType String

Weight type

dosingWeightReason String

Reason for using specified weight

dosingWeightString String

Full HTML string for display

Source:

GlucommanderParams :Object

Properties:
Name Type Description
ident String

identifier to use for DOM updates

tdd Number

total daily dose

percentBasal Number

percent of daily dose that's basal

percentReduction Number

percent reduction from PTA TDD

basal Number

total daily basal dose

bolus Number

total daily bolus dose

breakfast Number

breakfast bolus dose

lunch Number

lunch bolus dose

dinner Number

dinner bolus dose

dir String

direction of calculation (for custom dose)

oppDir String

opposite direction of calculation (for custom dose)

Source:

LoadConfig :Object

Loading dose configuration

Properties:
Name Type Description
low Number

low end of loading dose range in mg/kg

high Number

high end of loading dose range in mg/kg

max Number

max loading dose in mg

Source:

PcaLimit :Object

Hard and soft limits. null if not applicable, 0 if not set.

Properties:
Name Type Description
soft Number

Soft limit

hard Number

Hard limit

Source:

PcaLimitMinMax :Object

All values for one type of PCA limit

Properties:
Name Type Description
min PcaLimit

Minimum limits

max PcaLimit

Maximum limits

Source:

PcaLimitSet :Object

Alaris Guardrails PCA Limits for one drug and therapy

Properties:
Name Type Description
pca PcaLimitMinMax

Limits for patient-delivered PCA dose

continuous PcaLimitMinMax

Limits for continuous infusion rate per hour

bolus PcaLimitMinMax

Limits for clinician-delivered bolus

load PcaLimitMinMax

Limits for clinician-delivered loading dose

lockout PcaLimitMinMax

Limits for lockout interval in minutes

accumulated PcaLimitMinMax

Limits for max accumulated dose in one hour

Source:

PcaOptions :Object

PCA Options for one drug and therapy

Properties:
Name Type Description
drugName String

Drug name

dosingUnit String

Unit (mg or mcg)

concentration Number

Concentration in per mL

volume Number

Total volume of PCA in mL

maxIncludesBolus Boolean

Whether clinician-delivered bolus is included in accumulated dose calculation

limits PcaLimitSet

Alaris Guardrails PCA settings

Source:

PcaParams :Object

PCA Order Parameters

Properties:
Name Type Description
pca Number

patient-delivered PCA dose

rate Number

continuous infusion rate per hour

lockout Number

lockout interval in minutes

max Number

max accumulated dose in one hour

Source:

QTCalcParams :Object

QT Calculation Parameters

Properties:
Name Type Description
hr Number

heart rate

qrs Number

QRS interval

qt Number

QT interval or shortest QT interval for Afib

Source:

QtcResult :Object

QTc calculation result

Properties:
Name Type Description
method String

Method used for calculation

value Number | String

Corrected QT interval, or empty string if invalid/insufficient inputs

Source:

VancoClCrassParams :Object

Vancomycin Clearance Calculation Parameters for Crass method

Properties:
Name Type Description
age Number

Age in years

scr Number

Serum creatinine in mg/dL

sex String | Number

Sex (expects "M", "F", or 0)

wt Number

Weight in kg

Source:

VancoConfig :Object

Vancomycin Configuration

Properties:
Name Type Description
doses Array.<Number>

Standard maintenance doses to use for dose tables

load VancoLoadConfigParams

Loading dose parameters

check VancoInputLimits

Acceptable input values for input validation

maxHDDose Number

Maximum initial maintenance dose for HD patients

maxPDDose Number

Maximum initial maintenance dose for PD patients

maxDaily Number

Maximum initial total daily dose

aucLowNormal Number

Low normal AUC value

aucHighNormal Number

High normal AUC value

Source:

VancoHdRevParams :Object

Vanco HD Revision Result

Properties:
Name Type Description
wt Number

Patient's weight in kg

trough Number

Measured trough level

timing Number

When was level drawn? 0 = pre-HD, 1 = post-HD

goal Number

Goal trough: 0 = 10-20, 1 = 10-15, 2 = 10-20

hd Number

HD type (as selectedIndex)

Source:

VancoInitialPkParams :Object

Vancomycin Initial PK Dosing Parameters

Properties:
Name Type Attributes Default Description
method Number
crcl Number

Creatinine clearance in mL/min

age Number

Age in years

scr Number

Serum creatinine in mg/dL

sex String | Number

Sex (expects "M", "F", or 0)

wt Number

Weight in kg

bmi Number

Body mass index in kg/m^2

infTime Number <optional>
1

Infusion time in hours

goalMin Number

Bottom of goal range

goalMax Number

Top of goal range

selDose Number

Selected dose in mg

selFreq Number

Selected frequency in hours

Source:

VancoInitialPkResult :Object

Vanco Initial PK Dosing Result

Properties:
Name Type Description
vd Number

Volume of distribution in L

pkHalflife Number

Halflife in hours

ke Number

Elimination rate constant

arrDose Array.<Number>

Possible doses

arrViable Array.<Boolean>

Whether dose is viable

arrLevel Array.<Number>

Expected level for dose

pkFreq Number

Selected frequency or recommended frequency if none selected

pkLevel Number

Expected level from selected frequency

pkRecDose Number

Recommended dose in mg

pkRecFreq Number

Recommended frequency in hours

pkRecLevel Number

Expected level from recommended dose and frequency

Source:

VancoInputLimits :Object

Vancomycin Input Validation Parameters

Properties:
Name Type Description
doseMin Number

minimum acceptable dose input

doseMax Number

maximum acceptable dose input

freqMin Number

minimum acceptable frequency input

freqMax Number

maximum acceptable frequency input

levelMin Number

minimum acceptable level input

levelMax Number

maximum acceptable level input

timeMin Number

minimum acceptable dose-to-level time input for AUC calculation

timeMax Number

maximum acceptable dose-to-level time input for AUC calculation

infTimeMin Number

minimum acceptable infusion time

infTimeMax Number

maximum acceptable infusion time

Source:

VancoLinearParams :Object

Single level linear adjustment calculation parameters

Properties:
Name Type Description
curDose Number

Current dose in mg

curFreq Number

Current frequency in hours

curTrough Number

Current trough in mg/dL

testDose Number

Selected dose in mg

testFreq Number

Selected frequency in hours

goalTrough Number

Middle of goal trough range in mg/dL

Source:

VancoLinearResults :Object

Single level linear adjustment calculation results

Properties:
Name Type Description
linearDose Number

Calculated dose for linear adjustment in mg

linearFreq Number

Calculated frequency for linear adjustment in hours

linearTrough Number

Estimated trough from calculated dose/frequency

testLinearDose Number

Test dose from input parameters if all inputs are valid

testLinearFreq Number

Test frequency from input parameters if all inputs are valid

testLinearTrough Number

Est trough from test dose and test frequency

Source:

VancoLoadConfigParams :Object

Loading Dose Paramaters

Properties:
Name Type Description
def LoadConfig

LD parameters for most patients

sepsis LoadConfig

LD parameters for severe sepsis

hd LoadConfig

LD parameters for hemodialysis

pd LoadConfig

LD parameters for peritoneal dialysis

crrt LoadConfig

LD parameters for CRRT (CVVH, CVVHD, CVVHDF)

sled LoadConfig

LD parameters for SLED

Source:

VancoLoadParams :Object

Vancomycin Loading Dose Calculation Parameters

Properties:
Name Type Description
ht Number

Height in cm

wt Number

Weight in kg

age Number

Age in years

sex String | Number

Sex (expects "M", "F", or 0)

bmi Number

Body mass index in kg/m^2

hd Number

Selected index of HD combo box (0=No, 1=HD, 2=PD, 3=CRRT, 4=SLED)

vancoIndication Number

Selected index of indication combo box (0=default, 1=SSTI/UTI, 2=severe sepsis, 3=CNS, 4=CNS and severe sepsis)

Source:

VancoMaintRangeParams :Object

Vancomycin initial maintenance dose range calculation parameters

Properties:
Name Type Description
age Number

patient age in years

indication Number

selectedIndex of indication list

crcl Number

CrCl to use for dosing

hd Number

selectedIndex of HD status

aki Boolean

patient is in AKI

Source:

VancoMaintRangeResult :Object

Vancomycin initial maintenance dose range calculation result

Properties:
Name Type Description
low Number

low end of dose range

high Number

high end of dose range

lowDailyPeds Number

low end of dose range (per day - for peds)

highDailyPeds Number

high end of dose range (per day - for peds)

consider Number

consider dosing closer to this end of range

freqs Array.<Number>

two choices of frequency

freq Number

frequency (this or the below property)

freqText String

string frequency if number frequency is not applicable

maxDaily Number

max daily dose (one or the other of this or below)

maxDose Number

max single dose

maxDoseExceededText String

text to append if dose exceeds max single dose

textBeforeDose String

text to prepend

Source:

VancoMaintRecParams :Object

Vancomycin Maintenance Dose Recommendation Parameters

Properties:
Name Type Description
age Number

Age in years

wt Number

Weight in kg

ibw Number

Ideal body weight in kg

scr Number

Serum creatinine in mg/dL

crcl Number

Creatinine clearance in mL/min

hd Number

Selected index of HD combo box (0=No, 1=HD, 2=PD, 3=CRRT, 4=SLED)

indication Number

Selected index of indication combo box (0=default, 1=SSTI/UTI, 2=severe sepsis, 3=CNS, 4=CNS and severe sepsis)

aki Boolean

Patient is in AKI

Source:

VancoPeakTroughParams :Object

Vanco peak and trough calculation parameters

Properties:
Name Type Description
dose Number

Dose in mg

ke Number

Elimination rate constant

inf Number

Infusion time in hours

vd Number

Volume of distribution in L

interval Number

Interval in hours

Source:

VancoPeakTroughResult :Object

Vanco peak and trough calculation result

Properties:
Name Type Description
p Number

Calculated peak level

tr Number

Calculated trough level

Source:

VancoProtMonRecParams :Object

Vancomycin Per-Protocol Monitoring Recommendation Parameters

Properties:
Name Type Description
freq Number

Frequency in hours

hd Number

Dialysis status as selectedIndex

crcl Number

Creatinine clearance in mL/min

scr Number

Serum creatinine in mg/dL

bmi Number

Body mass index in kg/m^2

indication Number

Indication as selectedIndex

age Number

Age in years

aki Boolean

Patient is in AKI

outlier Boolean

Patient is a PK outlier

Source:

VancoProtMonRecResult :Object

Vancomycin Per-Protocol Monitoring Recommendation Result

Properties:
Name Type Description
monitoring String

Monitoring recommendation as HTML string

targetLevelText String

Target level as HTML string

method String

Dosing method as HTML string (e.g. weight-based or InsightRx)

targetMin Number

Bottom of target range

targetMax Number

Top of target range

goalTroughIndex Number

Goal trough as selectedIndex

Source:

VancoSingleAdjParams :Object

Vancomycin Single Level Adjustment Parameters

Properties:
Name Type Description
bmi Number

Body mass index in kg/m^2

wt Number

Weight in kg

curDose Number

Current dose in mg

curFreq Number

Current frequency in hours

curTrough Number

Measured trough in mg/dL

troughTime Number

Time before next dose that trough was drawn

goalTrough Number

Middle of goal trough range

goalMin Number

Minimum of goal trough range

goalMax Number

Maximum of goal trough range

goalPeak Number

Goal peak level

selFreq Number

Selected new frequency

selDose Number

Selected new dose

Source:

VancoSingleAdjResult :Object

Vancomycin Single Level Adjustment Result

Properties:
Name Type Description
newDose Array.<Number>

Possible new doses

newTrough Array.<Number>

Troughs from newDose and newFreq

newViable Array.<Boolean>

Whether newTrough is within target range

recFreq Number

Recommended new frequency

selFreq Number

Selected new frequency from input parameters if all inputs are valid

newFreq Number

selFreq if defined, otherwise recFreq

recDose Number

Recommended new dose

selDose Number

Selected new dose from input parameters if all inputs are valid

newDose Number

selDose if defined, otherwise recDose

recTrough Number

Calculated trough from recDose and recFreq

selTrough Number

Calculated trough from selDose and selFreq

newTrough Number

Calculated trough from newDose and newFreq

Source:

VancoTwolevelParams :Object

Vancomycin Two-Level PK Calculation Parameters

Properties:
Name Type Description
wt Number

Weight in kg

bmi Number

Body mass index in kg/m^2

ke Number

Elimination rate constant

selectedInterval Number

Selected interval in hours

Source:

VancoTwolevelResult :Object

Vancomycin Two-Level PK Calculation Result

Properties:
Name Type Description
vd Number

Volume of distribution

halflife Number

Halflife in hours (from obj.ke)

newDose Array.<Number>

Possible new doses

infTime Array.<Number>

Infusion time for new doses

newPeak Array.<Number>

Peaks from newDose and newFreq

newTrough Array.<Number>

Troughs from newDose and newFreq

newViable Array.<Boolean>

Whether newTrough is within target range

pkFreq Number

Recommended frequency (or selected frequency if chosen)

pkDose Number

Recommended dose given pkFreq

pkTrough Number

Estimated torugh from pkDose and pkFreq

Source:

VancoVdParams :Object

Vancomycin Volume of Distribution Calculation Parameters

Properties:
Name Type Description
bmi Number

Body mass index in kg/m^2

wt Number

Weight in kg

Source: