Skip to content

BroadcastEventToOtherNodes

The BroadcastEventToOtherNodes intervention class allows events to be sent from one node to another. For example, if an individual in one node has been diagnosed, drugs may be distributed to individuals in surrounding nodes.

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
Event_Trigger link The name of the event to broadcast to selected nodes. See Event list for possible values. enum nan nan ""
Include_My_Node link Set to true (1) to broadcast the event to the current node. boolean 0 1 0
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 BroadcastEventToOtherNodes
Max_Distance_To_Other_Nodes_Km link The maximum distance, in kilometers, to the destination node for the node to be selected. The location values used are those entered in the demographics file. Used only if Node_Selection_Type is either DISTANCE_ONLY or DISTANCE_AND_MIGRATION. float 0 3.40282e+38 3.40282e+38
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
Node_Selection_Type link The method by which to select nodes to receive the event. Possible values are:
DISTANCE_ONLY
Nodes located within the distance specified by Max_Distance_To_Other_Nodes_Km are selected.
MIGRATION_NODES_ONLY
Nodes that are local or regional are selected.
DISTANCE_AND_MIGRATION
Nodes are selected using DISTANCE_ONLY and MIGRATION_NODES_ONLY criteria.
enum nan nan DISTANCE_ONLY

link