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
has_product
Check if the intervention has a product
now
Shortcut to self.t.now()
states
Return a flat list of all states
statesdict
Return a flat dictionary (objdict) of all states
ti
Get the current module timestep
timevec
Shortcut to self.t.timevec
Methods