Skip to content

MultiInterventionDistributor

The MultiInterventionDistributer intervention class allows you to input a list of interventions, rather than just a single intervention, to be distributed simultaneously to the same individuals.

Note

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
Parameters are case-sensitive. For Boolean parameters, set to 1 for true or 0 for false.
Minimum, maximum, or default values of "NA" indicate that those values are not applicable for
that parameter.

EMOD does not use true defaults; that is, if the dependency relationships indicate that a 
parameter is required, you must supply a value for it. However, many of the tools used to work 
with EMOD will use the default values provided below.

JSON format does not permit comments, but you can add "dummy" parameters to add contextual
information to your files. Any keys that are not EMOD parameter names will be ignored by the
model.

The table below describes all possible parameters with which this class can be configured. The JSON example that follows shows one potential configuration.

Parameter Example Description Type Min Max Default
Disqualifying_Properties link A list of IndividualProperty key:value pairs that cause an intervention to be aborted (persistent interventions will stop being distributed to individuals with these values). See parameters for more information. Generally used to control the flow of health care access. For example, to prevent the same individual from accessing health care via two different routes at the same time. array of strings nan nan []
Dont_Allow_Duplicates link If an individual's container has an intervention, set to true (1) to prevent them from receiving another copy of the intervention. Supported by all intervention classes. boolean 0 1 0
Intervention_List link The list of individual interventions that is distributed by MultiInterventionDistributor. array of JSON objects nan nan nan
Intervention_Name link The optional name used to refer to this intervention as a means to differentiate it from others that use the same class. string nan nan nan
New_Property_Value link An optional IndividualProperty key:value pair that will be assigned when the intervention is distributed. See parameters for more information. Generally used to indicate the broad category of health care cascade to which an intervention belongs to prevent individuals from accessing care through multiple pathways. For example, if an individual must already be taking a particular medication to be prescribed a new one. string nan nan nan
Number_Repetitions link The number of times an intervention is given, used with Timesteps_Between_Repetitions. integer -1 1000 1
Timesteps_Between_Repetitions link The repetition interval. integer -1 10000 -1

link