NodePropertyValueChanger
The NodePropertyValueChanger intervention class sets a given node property to a new value. You can also define a duration in days before the node property reverts back to its original value, the probability that a node will change its node property to the target value, and the number of days over which nodes will attempt to change their individual properties to the target value. This node-level intervention functions in a similar manner as the individual-level intervention, parameter-campaign-individual-propertyvaluechanger.
Note
1 2 3 4 5 6 7 8 9 10 11 | |
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 |
|---|---|---|---|---|---|---|
| Daily_Probability | link | The daily probability that a node will move to the Target_Property_Value. | float | 0 | 1 | 1 |
| Disqualifying_Properties | link | 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 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 | [] |
| 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 | nan |
| Maximum_Duration | link | The maximum amount of time nodes have to update the property value. This timing works in conjunction with Daily_Probability. | float | -1 | 3.4e+38 | 3.40E+38 |
| New_Property_Value | link | An optional NodeProperty 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 |
| Revert | link | The number of days before an individual moves back to their original group. | float | 0 | 10000 | 0 |
| Target_NP_Key_Value | link | The NodeProperty key:value pair, as defined in the demographics file, to assign to the node. | string | nan | nan | nan |