NodeLevelHealthTriggeredIVScaleUpSwitch¶
The NodeLevelHealthTriggeredIVScaleUpSwitch intervention class transitions from one intervention to another over time. Generally this is used if one type of diagnostic tool is being phased out but the transition to replace it with the new diagnostic takes place over a few years. The individuals who are included by Demographic_Coverage will receive the new intervention and those that aren’t will receive the older “not covered” intervention.
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 does not permit comments, but you can add “dummy” parameters to add contextual information to your files.
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 |
---|---|---|---|---|---|---|
Actual_IndividualIntervention_Config |
JSON object |
NA |
NA |
NA |
The configuration of an actual individual intervention sought. Selects a class for the intervention and configures the parameters specific for that intervention class. |
{
"Actual_IndividualIntervention_Config": {
"class": "OutbreakIndividual",
"Antigen": 0,
"Genome": 0,
"Outbreak_Source": "PrevalenceIncrease"
}
}
|
Actual_NodeIntervention_Config |
JSON object |
NA |
NA |
NA |
The configuration of the actual node-level intervention sought. This parameter selects a class for the intervention and configures the parameters specific for that intervention class. |
{
"Actual_NodeIntervention_Config": {
"class": "OutbreakIndividual",
"Antigen": 0,
"Genome": 0,
"Outbreak_Source": "PrevalenceIncrease"
}
}
|
Blackout_Event_Trigger |
enum |
NA |
NA |
“” |
The event to broadcast if an intervention cannot be distributed due to the Blackout_Period. See Event list for possible values. |
{
"Blackout_Event_Trigger": "Blackout"
}
|
Blackout_On_First_Occurrence |
boolean |
0 |
1 |
0 |
If set to true (1), individuals will enter the blackout period after the first occurrence of an event in the Trigger_Condition_List. |
{
"Blackout_On_First_Occurrence": 0
}
|
Blackout_Period |
float |
0 |
3.40E+3 |
0 |
After the initial intervention distribution, the time, in days, to wait before distributing the intervention again. If it cannot distribute due to the blackout period, it will broadcast the user-defined Blackout_Event_Trigger. |
{
"Blackout_Period": 0.0
}
|
Demographic_Coverage |
float |
0 |
1 |
1 |
The fraction of individuals in the target demographic that will receive this intervention. |
{
"Demographic_Coverage": 1
}
|
Demographic_Coverage_Time_Profile |
enum |
NA |
NA |
Immediate |
The profile for the ramp-up time to demographic coverage. Possible values are:
|
{
"Demographic_Coverage_Time_Profile": "Linear"
}
|
Disqualifying_Properties |
array of strings |
NA |
NA |
[] |
A list of NodeProperty key:value pairs that cause an intervention to be aborted (persistent interventions will stop being distributed to nodes 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"
]
}
|
Distribute_On_Return_Home |
boolean |
0 |
1 |
0 |
When set to true (1), individuals will receive an intervention upon returning home if that intervention was originally distributed while the individual was away. |
{
"Distribute_On_Return_Home": 1
}
|
Duration |
float |
-1 |
3.40E+3 |
-1 |
The number of days to continue this intervention. Note For BirthTriggeredIV, specifying a value of -1 results in indefinite persistence of the birth-triggered intervention. |
{
"Duration": -1
}
|
Initial_Demographic_Coverage |
float |
0 |
1.00E+0 |
0 |
The initial level of demographic coverage when using linear scale-up. |
{
"Initial_Demographic_Coverage": 0
}
|
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": "NodeLevelHealthTriggeredIVScaleUpSwitch",
"Intervention_Name": "Transition to CDC-recommended diagnostic"
}
}
|
New_Property_Value |
string |
NA |
NA |
NA |
An optional NodeProperty 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"
}
|
Node_Property_Restrictions |
array of JSON objects |
NA |
NA |
NA |
A list of the NodeProperty key:value pairs, as defined in the demographics file, that nodes must have to be targeted by the intervention. See NodeProperties and IndividualProperties parameters for more information. You can specify AND and OR combinations of key:value pairs with this parameter. |
The following example restricts the intervention to nodes that are urban and medium risk or rural and low risk. {
"Node_Property_Restrictions": [
{
"Place": "URBAN",
"Risk": "MED"
},
{
"Place": "RURAL",
"Risk": "LOW"
}
]
}
|
Not_Covered_IndividualIntervention_Configs |
array of JSON objects |
NA |
NA |
NA |
The array of interventions that is distributed if an individual qualifies according to all parameters except Demographic_Coverage. Generally, this is used to specify a diagnostic tool that is being phased out. |
{
"Not_Covered_IndividualIntervention_Configs": [
{
"class": "DelayedIntervention",
"Delay_Distribution": "FIXED_DURATION",
"Delay_Period": 10,
"Coverage": 1,
"Actual_IndividualIntervention_Configs": [
{
"class": "AntiTBDrug",
"Cost_To_Consumer": 90,
"Drug_Type": "FirstLineCombo",
"Durability_Profile": "FIXED_DURATION_CONSTANT_EFFECT",
"Primary_Decay_Time_Constant": 180,
"Remaining_Doses": 1,
"TB_Drug_Cure_Rate": 5e-11,
"TB_Drug_Inactivation_Rate": 0
}
]
}
]
}
|
Primary_Time_Constant |
float |
0 |
3.65E+0 |
1 |
The time to full scale-up demographic coverage. |
{
"Primary_Time_Constant": 150
}
|
Property_Restrictions |
array of JSON objects |
NA |
NA |
NA |
A list of the IndividualProperty key:value pairs, as defined in the demographics file, that individuals must have to be targeted by this intervention. See NodeProperties and IndividualProperties parameters for more information. To specify AND and OR combinations of key:value pairs, use Property_Restrictions_Within_Node. You cannot use both of these parameters in the same event coordinator. |
{
"Property_Restrictions": [
"Risk:HIGH"
]
}
|
Property_Restrictions_Within_Node |
array of JSON objects |
NA |
NA |
NA |
A list of the IndividualProperty key:value pairs, as defined in the demographics file, that individuals must have to be targeted by this intervention. See NodeProperties and IndividualProperties parameters for more information. This parameter allows you to specify AND and OR combinations of key:value pairs. You may specify individual property restrictions using either this parameter or Property_Restrictions, but not both. |
The following example restricts the intervention to individuals who are urban and high risk or urban and medium risk. {
"Property_Restrictions_Within_Node": [
{
"Risk": "HIGH",
"Geographic": "URBAN"
},
{
"Risk": "MEDIUM",
"Geographic": "URBAN"
}
]
}
|
Target_Age_Max |
float |
0 |
9.3228e+35 |
9.3228e+35 |
The upper end of ages targeted for an intervention, in years. Used when Target_Demographic is set to ExplicitAgeRanges or ExplicitAgeRangesAndGender. |
{
"Target_Age_Max": 20,
"Target_Age_Min": 10,
"Target_Demographic": "ExplicitAgeRanges"
}
|
Target_Demographic |
enum |
NA |
NA |
Everyone |
The target demographic group. Possible values are:
|
{
"Target_Age_Max": 20,
"Target_Age_Min": 10,
"Target_Demographic": "ExplicitAgeRanges"
}
|
Target_Gender |
enum |
NA |
NA |
All |
Specifies the gender restriction for the intervention. Possible values are:
|
{
"Target_Gender": "Male"
}
|
Target_Residents_Only |
boolean |
0 |
1 |
0 |
When set to true (1), the intervention is only distributed to individuals that began the simulation in the node (i.e. those that claim the node as their residence). |
{
"Target_Residents_Only": 1
}
|
Trigger_Condition_List |
array of strings |
NA |
NA |
NA |
An array of events that will trigger an intervention. The events contained in the list can be built-in events (see Event list for possible events) or the custom events defined in Listed_Events in the simulation configuration file. |
{
"Trigger_Condition_List": [
"OnART3"
]
}
|
{
"Use_Defaults": 1,
"Campaign_Name": "Illustration of NodeLevelScaleUp: Outbreak to smear- and smear+ at day 100, then diagnostic and treatment of only smear+ cases at day 200",
"Events": [
{
"Event_Name": "when someone broadcasts a positive test using smear, give them the drug",
"class": "CampaignEvent",
"Nodeset_Config": {
"class": "NodeSetAll"
},
"Start_Day": 99,
"Event_Coordinator_Config": {
"class": "StandardInterventionDistributionEventCoordinator",
"Demographic_Coverage": 1,
"Number_Repetitions": 1,
"Property_Restrictions": [],
"Target_Demographic": "Everyone",
"Timesteps_Between_Repetitions": -1,
"Intervention_Config": {
"class": "NodeLevelHealthTriggeredIVScaleUpSwitch",
"Demographic_Coverage": 1,
"Demographic_Coverage_Time_Profile": "Linear",
"Initial_Demographic_Coverage": 0,
"Primary_Time_Constant": 150,
"Property_Restrictions_Within_Node": [],
"Not_Covered_IndividualIntervention_Configs": [
{
"class": "DelayedIntervention",
"Delay_Period_Distribution": "CONSTANT_DISTRIBUTION",
"Delay_Period_Constant": 10,
"Coverage": 1,
"Actual_IndividualIntervention_Configs": [
{
"class": "SmearDiagnostic",
"Base_Sensitivity": 1,
"Base_Specificity": 1,
"Cost_To_Consumer": 10,
"Days_To_Diagnosis": 0,
"Treatment_Fraction": 1,
"Event_Or_Config": "Event",
"Positive_Diagnosis_Event": "TestPositiveOnSmear"
}
]
}
],
"Actual_IndividualIntervention_Config": {
"class": "ActiveDiagnostic",
"Base_Sensitivity": 1,
"Base_Specificity": 1,
"Cost_To_Consumer": 8,
"Days_To_Diagnosis": 0,
"Treatment_Fraction": 1,
"Event_Or_Config": "Event",
"Positive_Diagnosis_Event": "TestPositiveOnActive"
}
}
}
}
]
}