Module: secondDose

Second Dose timing module

Since:
  • v0.2.0
Source:

Members

(inner, constant) freqs :Array.<Frequency>

Array of standard dosing frequencies and their scheduled times.

Source:

Methods

(inner) createTimeArray(id) → {Object|Array|Number}

Generate an array of standard times for the selected frequency

Parameters:
Name Type Description
id String

identifier of the selected frequency

Source:

Type Definitions

Frequency :Object

Interval and times of a given dosing frequency

Properties:
Name Type Description
id String

unique identifier of this frequency

interval Number

dosing interval in hours

startHour Number | Array

first dosing time of the day, or array of times if multiple options

Source: