HIVARTStagingCD4AgnosticDiagnostic

The HIVARTStagingCD4AgnosticDiagnostic intervention class is similar to the HIVARTStagingByCD4Diagnostic intervention, but it uses age bins to specify outcomes instead of the results of CD4 testing.

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

Adult_By_Pregnant

JSON object

NA

NA

NA

Determines the WHO stage at or above which pregnant adults are eligible for ART. This parameter uses InterpolatedValueMap to define Times (by year) and Values for the history and expected treatment guidelines for future years.

{
    "Adult_By_Pregnant": {
        "Times": [
            1990,
            1995,
            2000,
            2005
        ],
        "Values": [
            1,
            1,
            1,
            0
        ]
    }
}

Adult_By_TB

JSON object

NA

NA

NA

Determines the WHO stage at or above which adults having active TB (via individual property Has_Active_TB) are eligible for ART. This parameter uses InterpolatedValueMap to define Times (by year) and Values for the history and expected treatment guidelines for future years.

{
    "Adult_By_TB": {
        "Times": [
            1990,
            1995,
            2000,
            2005
        ],
        "Values": [
            0,
            1,
            1,
            1
        ]
    }
}

Adult_By_WHO_Stage

JSON object

NA

NA

NA

Determines the WHO stage at or above which adults are eligible for ART. This parameter uses InterpolatedValueMap to define Times (by year) and Values for the history and expected treatment guidelines for future years.

{
    "Adult_By_WHO_Stage": {
        "Times": [
            1990,
            1995,
            2000,
            2005
        ],
        "Values": [
            4.1,
            2,
            3,
            4
        ]
    }
}

Adult_Treatment_Age

float

-1

3.40E+3

5

The age (in years) that delineates adult patients from pediatric patients for the purpose of treatment eligibility. Patients younger than this age may be eligible on the basis of their pediatric patient status.

{
    "Adult_Treatment_Age": 25
}

Base_Sensitivity

float

0

1

1

The sensitivity of the diagnostic. This sets the proportion of the time that individuals with the condition being tested receive a positive diagnostic test. When set to 1, the diagnostic always accurately reflects the condition. When set to zero, then individuals who have the condition always receive a false-negative diagnostic test.

{
    "Base_Sensitivity": 0.8
}

Base_Specificity

float

0

1

1

The specificity of the diagnostic. This sets the proportion of the time that individuals without the condition being tested receive a negative diagnostic test. When set to 1, the diagnostic always accurately reflects the lack of having the condition. When set to zero, then individuals who do not have the condition always receive a false-positive diagnostic test.

{
    "Base_Specificity": 0.9
}

Child_By_TB

JSON object

NA

NA

NA

Determines the WHO stage at or above which children having active TB (via individual property Has_Active_TB) are eligible for ART. This parameter uses InterpolatedValueMap to define Times (by year) and Values for the history and expected treatment guidelines for future years.

{
    "Child_By_TB": {
        "Times": [
            2004
        ],
        "Values": [
            0
        ]
    }
}

Child_By_WHO_Stage

JSON object

NA

NA

NA

Determines the WHO stage at or above which children are eligible for ART. This parameter uses InterpolatedValueMap to define Times (by year) and Values for the history and expected treatment guidelines for future years.

{
    "Child_By_WHO_Stage": {
        "Times": [
            2010,
            2011.8
        ],
        "Values": [
            3,
            2
        ]
    }
}

Child_Treat_Under_Age_In_Years_Threshold

JSON object

NA

NA

NA

Determines the age at which children are eligible for ART regardless of CD4, WHO stage, or other factors. This parameter uses InterpolatedValueMap to define Times (by year) and Values for the history and expected treatment guidelines for future years.

{
    "Child_Treat_Under_Age_In_Years_Threshold": {
        "Times": [
            2010.34,
            2013.2
        ],
        "Values": [
            1,
            5
        ]
    }
}

Cost_To_Consumer

float

0

3.40E+3

1

The unit ‘cost’ assigned to the diagnostic. Setting Cost_To_Consumer to zero for all other interventions, and to a non-zero amount for one intervention, provides a convenient way to track the number of times the intervention has been applied in a simulation.

{
    "Cost_To_Consumer": 0.333
}

Days_To_Diagnosis

float

0

3.40E+3

0

The number of days from test until diagnosis.

{
    "Days_To_Diagnosis": 0.0
}

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
}

Enable_IsSymptomatic

boolean

0

1

0

If true (1), requires an infection to be symptomatic to return a positive test.

{
    "Enable_IsSymptomatic": 1,
    "Base_Specificity": 0.85,
    "Base_Sensitivity": 0.92
}

Event_Or_Config

enum

NA

NA

Config

Specifies whether the current intervention (or a positive diagnosis, depending on the intervention class) distributes a nested intervention (the Config option) or an event will be broadcast which may trigger other interventions in the campaign file (the Event option). Possible values are:

  • Event

  • Config

{
    "Event_Or_Config": "Config"
}

Individual_Property_Active_TB_Key

string

NA

NA

UNINITIALIZED

The IndividualProperty key (‘HasActiveTB’) used to determine whether the individual has TB.

{
    "Individual_Property_Active_TB_Key": "HasActiveTB"
}

Individual_Property_Active_TB_Value

string

NA

NA

UNINITIALIZED

The IndividualProperty value (‘Yes’) used to determine whether the individual has TB.

{
    "Individual_Property_Active_TB_Value": "YES"
}

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": "HIVARTStagingCD4AgnosticDiagnostic",
        "Intervention_Name": "Low resource setting diagnostic"
    }
}

Negative_Diagnosis_Event

enum

NA

NA

“”

If an individual tests negative, this specifies an event that may trigger another intervention when the event occurs. Only used when Event_Or_Config is set to Event. See Event list for possible values.

{
    "Event_Or_Config": "Event",
    "Negative_Diagnosis_Event": "PreDebut"
}

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"
}

Positive_Diagnosis_Config

JSON object

NA

NA

NA

The intervention distributed to individuals if they test positive. Only used when Event_Or_Config is set to Config.

{
    "Positive_Diagnosis_Config": {
        "class": "MultiInterventionDistributor",
        "Intervention_List": [
            {
                "Cost_To_Consumer": 0.333,
                "Secondary_Decay_Time_Constant": 1,
                "Vaccine_Take": 1,
                "Vaccine_Type": "AcquisitionBlocking",
                "class": "SimpleVaccine",
                "Waning_Config": {
                    "Box_Duration": 3650,
                    "Initial_Effect": 0.1,
                    "class": "WaningEffectBox"
                }
            }
        ]
    }
}

Positive_Diagnosis_Event

enum

NA

NA

“”

If the test is positive, this specifies an event that can trigger another intervention when the event occurs. Only used if Event_Or_Config is set to Event. See Event list for possible values.

{
    "Intervention_Config": {
        "Base_Sensitivity": 1.0,
        "Base_Specificity": 1.0,
        "Cost_To_Consumer": 0.0,
        "Days_To_Diagnosis": 0.0,
        "Event_Or_Config": "Event",
        "Positive_Diagnosis_Event": "TestedPositive_CureMeNow",
        "Treatment_Fraction": 1.0,
        "class": "SimpleDiagnostic"
    }
}

Times

array of floats

0

999999

NA

An array of years.

{
    "Times": [
        1998,
        2000,
        2003,
        2006,
        2009
    ],
    "Values": [
        0,
        0.26,
        0.08,
        0.14,
        0.54
    ]
}

Treatment_Fraction

float

0

1

1

The fraction of positive diagnoses that are treated.

{
    "Intervention_Config": {
        "Base_Sensitivity": 1.0,
        "Base_Specificity": 1.0,
        "Cost_To_Consumer": 0.0,
        "Days_To_Diagnosis": 0.0,
        "Event_Or_Config": "Event",
        "Positive_Diagnosis_Event": "TestedPositive_CureMeNow",
        "Treatment_Fraction": 1.0,
        "class": "SimpleDiagnostic"
    }
}

Values

array of floats

0

3.40E+3

NA

An array of values to match the defined Times.

{
    "Times": [
        1998,
        2000,
        2003,
        2006,
        2009
    ],
    "Values": [
        0,
        0.26,
        0.08,
        0.14,
        0.54
    ]
}
{
    "Use_Defaults": 1,
    "Campaign_Name": "DrawBlood validation",
    "Events": [
        {
            "class": "CampaignEvent",
            "Event_Name": "OnART1-triggered piecewise event",
            "Start_Day": 1,

            "Nodeset_Config":
            {
                "class": "NodeSetAll"
            },

            "Event_Coordinator_Config":
            {
                "class": "StandardInterventionDistributionEventCoordinator",
                "Event_Name": "DrawBlood constant test, broadcasts HIVPositiveHIVTest",
                "Demographic_Coverage": 1,
                "Intervention_Config":
                {
                    "class": "NodeLevelHealthTriggeredIV",
                    "Trigger_Condition_List": [ "HIVNeedsHIVTest" ],

                    "Demographic_Coverage": 1,
                    "Duration": 14600,

                    "Actual_IndividualIntervention_Config":
                    {
                        "class"                    : "HIVARTStagingCD4AgnosticDiagnostic",
                        "Positive_Diagnosis_Event" : "HIVPositiveHIVTest",
                        "Base_Specificity"         : 0,
                        "Base_Sensitivity"         : 0,
                        "Cost_To_Consumer"         : 10,
                        "Days_To_Diagnosis"        : 5,
                        "Disqualifying_Properties"             : [ "InterventionStatus:InterventionStatus_1", "InterventionStatus:InterventionStatus_2", "InterventionStatus:InterventionStatus_3" ],
                        "New_Property_Value"            : "InterventionStatus:InterventionStatus_4",
                        "Individual_Property_Active_TB_Key" : "HasActiveTB",
                        "Individual_Property_Active_TB_Value" : "YES",
                        "Adult_Treatment_Age"    : 1865,
                        "Adult_By_WHO_Stage"                       : {
                            "Times": [
                                1990, 1995, 2000, 2005
                            ],
                            "Values": [
                                4.1, 2,   3, 4
                            ]
                        },
                        "Adult_By_TB"                              : {
                            "Times": [
                                1990, 1995, 2000, 2005
                            ],
                            "Values": [
                                0,   1,   1, 1
                            ]
                        },
                        "Adult_By_Pregnant"                        : {
                            "Times": [
                                1990, 1995, 2000, 2005
                            ],
                            "Values": [
                                1,   1,   1, 0
                            ]
                        },
                        "Child_Treat_Under_Age_In_Years_Threshold" : {
                            "Times": [
                                1990, 1995, 2000, 2005
                            ],
                            "Values": [
                                1,   2,   5, 3.2
                            ]
                        },
                        "Child_By_WHO_Stage"                       : {
                            "Times": [
                                1990, 1995, 2000, 2005
                            ],
                            "Values": [
                                1.1, 1.5, 2, 2.5
                            ]
                        },
                        "Child_By_TB"                              : {
                            "Times": [
                                1990, 1995, 2000, 2005
                            ],
                            "Values": [
                                1,   1,   1, 0
                            ]
                        }
                    }
                }
            }
        }
    ]
}