GroupInterventionDistributionEventCoordinator¶
The GroupInterventionDistributionEventCoordinator coordinator class is similar to StandardInterventionDistributionEventCoordinator, but allows individuals to be targeted by disease state (the Target_Demographic parameter must be set to ExplicitDiseaseState). Disease state cannot be combined with age or gender targeting. See the following JSON example and table, which shows all available parameters for this event coordinator.
Note
Parameters are case-sensitive. For Boolean parameters, set to 1 for true or 0 for false. 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 |
---|---|---|---|---|---|---|
Target_Disease_State | enum | NA | NA | Everyone | The disease state group targeted by this intervention. Possible values are:
|
{
"Target_Disease_State": "HIV_Negative"
}
|
Intervention_Config | JSON object | NA | NA | NA | The nested JSON of the actual intervention to be distributed by this event coordinator. | {
"Intervention_Config": {
"class": "OutbreakIndividual",
"Incubation_Period_Override": 1,
"Outbreak_Source": "PrevalenceIncrease"
}
}
|
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
}
|
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 individual-level intervention. See NodeProperties and IndividualProperties parameters for more information. | {
"Property_Restrictions": [
"Risk:HIGH"
]
}
|
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. | {
"Node_Property_Restrictions": [{
"Place": "URBAN",
"Risk": "MED"
},
{
"Place": "RURAL",
"Risk": "LOW"
}
]
}
|
Target_Age_Min | float | 0 | 3.40E+3 | 0 | The lower 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"
}
|
Demographic_Coverage | float | 0 | 1 | 1 | The fraction of individuals in the target demographic that will receive this intervention. | {
"Demographic_Coverage": 1
}
|
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 node-level intervention. See NodeProperties and IndividualProperties parameters for more information. | {
"Property_Restrictions_Within_Node": [{
"Risk": "HIGH"
}]
}
|
Target_Residents_Only | boolean | NA | NA | 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
}
|
Demographic_Coverage | float | 0 | 1 | 1 | The fraction of individuals in the target demographic that will receive this intervention. | {
"Demographic_Coverage": 1
}
|
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 node-level intervention. See NodeProperties and IndividualProperties parameters for more information. | {
"Property_Restrictions_Within_Node": [{
"Risk": "HIGH"
}]
}
|
Target_Residents_Only | boolean | NA | NA | 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
}
|
{
"Use_Defaults": 1,
"Events": [{
"class": "CampaignEvent",
"Nodeset_Config": {
"class": "NodeSetAll"
},
"Start_Day": 50,
"Event_Coordinator_Config": {
"class": "GroupInterventionDistributionEventCoordinator",
"Target_Demographic": "ExplicitDiseaseState",
"Number_Repetitions": 1,
"Property_Restrictions": [],
"Target_Disease_State": "HasFailedTreatment",
"Demographic_Coverage": 1,
"Intervention_Config": {
"class": "AntiTBDrug",
"Cost_To_Consumer": 1,
"Drug_Type": "FirstLineCombo",
"Durability_Profile": "FIXED_DURATION_CONSTANT_EFFECT",
"Primary_Decay_Time_Constant": 10,
"Remaining_Doses": 1,
"TB_Drug_Clearance_Rate": 0.1,
"TB_Drug_Inactivation_Rate": 0.00000001,
"TB_Drug_Resistance_Rate": 0.000000001,
"TB_Drug_Relapse_Rate": 0.0000001,
"Reduced_Transmit": 1
}
}
}]
}