routine_triage#

class routine_triage(product=None, prob=None, eligibility=None, **kwargs)[source]#

Bases: BaseTriage, RoutineDelivery

Routine triage - an instance of base triage combined with routine delivery. See base classes for a description of input arguments.

Example:

# Example: Triage positive screens into confirmatory testing screened_pos = lambda sim: sim.interventions.screening.outcomes[‘positive’] triage = ss.routine_triage(product=my_triage, eligibility=screen_pos, prob=0.9, start_year=2030)

Attributes

now

Return the current time, i.e. the time vector at the current timestep.

states

Return a flat list of all states

statesdict

Return a flat dictionary (objdict) of all states

Methods