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
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,
"Dosing_Type": "FullTreatmentNewDetectionTech",
"Drug_Type": "Artemether",
"class": "AntimalarialDrug"
},
{
"Cost_To_Consumer": 1,
"Dosing_Type": "FullTreatmentNewDetectionTech",
"Drug_Type": "Lumefantrine",
"class": "AntimalarialDrug"
}
],
"class": "MultiInterventionDistributor"
}
}
|
Intervention_Name |
string |
NA |
NA |
NA |
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 |
NA |
An optional IndividualProperty key:value pair that will be assigned when the intervention is distributed. 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"
}
|
Number_Repetitions |
integer |
-1 |
1000 |
1 |
The number of times an intervention is given, used with Timesteps_Between_Repetitions. |
{
"Event_Coordinator_Config": {
"Intervention_Config": {
"class": "Outbreak",
"Num_Cases": 1
},
"Number_Repetitions": 10,
"Timesteps_Between_Repetitions": 50,
"class": "StandardInterventionDistributionEventCoordinator"
}
}
|
Timesteps_Between_Repetitions |
integer |
-1 |
10000 |
-1 |
The repetition interval. |
{
"Timesteps_Between_Repetitions": 50
}
|
{
"Events": [
{
"class": "CampaignEvent",
"Nodeset_Config": {
"class": "NodeSetAll"
},
"Start_Day": 0,
"Event_Coordinator_Config": {
"class": "CommunityHealthWorkerEventCoordinator",
"Demographic_Coverage": 1,
"Target_Demographic": "Everyone",
"Target_Residents_Only": 0,
"Trigger_Condition_List": [
"HappyBirthday"
],
"Amount_In_Shipment": 1000,
"Days_Between_Shipments": 30,
"Max_Distributed_Per_Day": 50,
"Duration": 700,
"Waiting_Period": 7,
"Max_Stock": 1000,
"Initial_Amount": 500,
"Initial_Amount_Distribution_Type": "CONSTANT_DISTRIBUTION",
"Intervention_Config": {
"class": "MultiInterventionDistributor",
"Intervention_List": [
{
"class": "SimpleVaccine",
"Cost_To_Consumer": 1,
"Vaccine_Type": "AcquisitionBlocking",
"Vaccine_Take": 1,
"Efficacy_Is_Multiplicative": 1,
"Waning_Config": {
"class": "WaningEffectConstant",
"Initial_Effect": 0.9
}
},
{
"class": "BroadcastEvent",
"Broadcast_Event": "Received_Treatment"
}
]
}
}
}
],
"Use_Defaults": 1
}