MultiInterventionDistributor#
The MultiInterventionDistributor 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
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 |
Data type |
Minimum |
Maximum |
Default |
Description |
Example |
---|---|---|---|---|---|---|
Disqualifying_Properties |
array of strings |
NA |
NA |
[] |
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 NodeProperties and IndividualProperties 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. |
{
"Disqualifying_Properties": [
"InterventionStatus:LostForever"
]
}
|
Dont_Allow_Duplicates |
boolean |
0 |
1 |
0 |
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. |
{
"Dont_Allow_Duplicates": 0
}
|
Intervention_List |
array of json objects |
NA |
NA |
NA |
The list of individual interventions that is distributed by MultiInterventionDistributor. |
{
"Actual_IndividualIntervention_Config": {
"Intervention_List": [
{
"Cost_To_Consumer": 1,
"Drug_Type": "Artemether",
"class": "AntimalarialDrug"
},
{
"Cost_To_Consumer": 1,
"Drug_Type": "Lumefantrine",
"class": "AntimalarialDrug"
}
],
"class": "MultiInterventionDistributor"
}
}
|
Intervention_Name |
string |
NA |
NA |
MultiInterventionDistributor |
The optional name used to refer to this intervention as a means to differentiate it from others that use the same class. |
{
"Intervention_Config": {
"class": "MultiInterventionDistributor",
"Intervention_Name": "Complete malaria campaign"
}
}
|
New_Property_Value |
string |
NA |
NA |
“” |
An optional IndividualProperty key:value pair that will be assigned when the intervention is applied. See NodeProperties and IndividualProperties 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. |
{
"New_Property_Value": "InterventionStatus:None"
}
|
{
"Events": [{
"class": "SimpleDiagnostic",
"Treatment_Fraction": 0.7,
"Base_Sensitivity": 0.8,
"Base_Specificity": 0.9,
"Cost_To_Consumer": 0,
"Days_To_Diagnosis": 0.0,
"Event_Or_Config": "Config",
"Positive_Diagnosis_Config": {
"class": "MultiInterventionDistributor",
"Intervention_List": [{
"class": "SimpleVaccine",
"Vaccine_Type": "AcquisitionBlocking",
"Vaccine_Take": 1,
"Waning_Config": {
"class": "WaningEffectBox",
"Box_Duration": 3650,
"Initial_Effect": 0.1
}
},
{
"class": "SimpleVaccine",
"Vaccine_Type": "TransmissionBlocking",
"Vaccine_Take": 1,
"Waning_Config": {
"class": "WaningEffectBox",
"Box_Duration": 3650,
"Initial_Effect": 0.9
}
},
{
"class": "SimpleVaccine",
"Vaccine_Type": "MortalityBlocking",
"Vaccine_Take": 1,
"Waning_Config": {
"class": "WaningEffectBox",
"Box_Duration": 3650,
"Initial_Effect": 0.5
}
}
]
}
}]
}