TyphoidCarrierDiagnostic¶
The TyphoidCarrierDiagnostic class extends SimpleDiagnostic class and allows for positive test diagnostic when an individual is a chronic typhoid carrier.
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 |
---|---|---|---|---|---|---|
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 zero, then individuals who have the condition always receive a false-negative diagnostic test. |
{
"Base_Sensitivity": 1
}
|
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": 1
}
|
Cost_To_Consumer |
float |
0 |
3.40282e+38 |
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": 10
}
|
Days_To_Diagnosis |
float |
0 |
3.40282e+38 |
0 |
The number of days from test until diagnosis. |
{
"Days_To_Diagnosis": 2
}
|
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. |
{
"Base_Sensitivity": 0.92,
"Base_Specificity": 0.85,
"Enable_IsSymptomatic": 1
}
|
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_Or_Config": "Config"
}
|
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": {
"Intervention_Name": "Typhoid diagnostic test",
"class": "TyphoidCarrierDiagnostic"
}
}
|
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. |
{
"Event_Coordinator_Config": {
"Intervention_Config": {
"class": "TyphoidCarrierDiagnostic",
"Event_Or_Config": "Event",
"Positive_Diagnosis_Event": "Chronic_Carrier"
},
"Number_Repetitions": 10,
"Timesteps_Between_Repetitions": 180,
"class": "StandardInterventionDistributionEventCoordinator"
},
"Event_Name": "Diagnostic",
"Nodeset_Config": {
"class": "NodeSetAll"
},
"Start_Day": 2,
"Target_Demographic": "Everyone",
"class": "CampaignEvent"
}
|
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, or create custom events using Custom_Individual_Events. |
{
"Event_Coordinator_Config": {
"Intervention_Config": {
"class": "TyphoidCarrierDiagnostic",
"Event_Or_Config": "Event",
"Positive_Diagnosis_Event": "Chronic_Carrier"
},
"Number_Repetitions": 10,
"Timesteps_Between_Repetitions": 180,
"class": "StandardInterventionDistributionEventCoordinator"
},
"Event_Name": "Diagnostic",
"Nodeset_Config": {
"class": "NodeSetAll"
},
"Start_Day": 2,
"Target_Demographic": "Everyone",
"class": "CampaignEvent"
}
|
Treatment_Fraction |
float |
0 |
1 |
1 |
The fraction of positive diagnoses that are treated. |
{
"Treatment_Fraction": 1
}
|
{
"Event_Coordinator_Config": {
"Intervention_Config": {
"Event_Or_Config": "Event",
"Positive_Diagnosis_Event": "Chronic_Carrier",
"class": "TyphoidCarrierDiagnostic"
},
"Number_Repetitions": 10,
"Timesteps_Between_Repetitions": 180,
"class": "StandardInterventionDistributionEventCoordinator"
},
"Event_Name": "Diagnostic",
"Nodeset_Config": {
"class": "NodeSetAll"
},
"Start_Day": 2,
"Target_Demographic": "Everyone",
"class": "CampaignEvent"
}