HIV mortality report

The HIV mortality report is a CSV-formatted output file which provides information about the individual recorded at the time of their death, including disease status, CD4 count, medical history, and relationship history. The filename is HIVMortality.csv.

To generate the report, set the configuration parameter Report_HIV_Mortality to 1.

Report structure and data channel descriptions

The file contains the following data channels:

Data channel

Data type

Description

Node_ID

integer

The node identification number.

ID

integer

The individual’s unique identification number.

Death_time

integer

The time of the event in units of days since the start of the simulation.

Death_was_HIV_cause

boolean

Describes whether or not the death was due to HIV infection. Assigned 0 if death was due to background mortality and 1 if death was due to HIV.

Gender

boolean

Identifies the individual’s gender; 0 is assigned to males, 1 is assigned to females.

Age

float

The age of the individual, in years, including fractions of years (i.e., not rounded down to integer age).

Num_rels_just_prior_to_death

integer

The number of relationships in which the individual was participating just prior to death.

Num_rels_lifetime

integer

The total number of lifetime relationships.

HIV_disease_state_just_prior_to_death

integer

Describes the disease state prior to the individual’s death. 0 = uninfected, 1 = untreated acute HIV infection, 2 = untreated latent HIV infection, 3 = untreated late/AIDS stage, 4 = on ART.

Years_since_infection

float

The number of years since the individual was most recently infected. This can be reset if the infection is suppressed.

CD4_count_first_recorded

float

The first CD4 count ever recorded with CD4 testing (via the HIVDrawBlood intervention).

CD4_count_last_recorded

float

The most recent CD4 count recorded with CD4 testing (via the HIVDrawBlood intervention).

CD4_count_current

float

The actual CD4 count at the time of death (regardless of when CD4 testing was performed).

Days_since_CD4_blood_draw

integer

The time lag between the last CD4 test (HIVBloodDraw intervention) and the time of death.

Total_number_of_times_initiating_ART

integer

The number of lifetime ART initiations.

Total_years_on_ART

float

The cumulative number of years on ART, including fractions of years.

Years_since_first_ART_initiation

float

The number of years since first ART initiation, including fractions of years.

Years_since_most_recent_ART_initiation

float

The number of years since the most recent ART initiation, including fractions of years.

ART_status_just_prior_to_death

enum

This describes the eligibility status of ART at the time of death. Possible values are:

  • WITHOUT_ART_UNQALIFIED

  • WITHOUT_ART_QUALIFIED_BY_BASELINE

  • ON_PRE_ART

  • LOST_TO_FOLLOW_UP

  • ON_ART_BUT_NOT_VL_SUPPRESSED

  • ON_VL_SUPPRESSED

  • ON_BUT_FAILING

  • ON_BUT_ADHERENCE_POOR

  • OFF_BY_DROPOUT

Intervention_Status

string

The intervention status at time of death.

Ever_tested

boolean

Describes whether or not the individual has ever received a diagnostic. Assigned 0 if the individual has never received an HIVRapidHIVDiagnostic, and 1 if the individual has received it. Note that other diagnostics (such as SimpleDiagnostic and HIVSimpleDiagnostic do not count toward Ever_tested.

Ever_tested_positive

boolean

Describes whether or not the individual has ever received a positive HIV test. Assigned 0 if the individual has never received a positive test via HIVRapidHIVDiagnostic, and 1 if the individual has tested positive. Note that other diagnostics (such as SimpleDiagnostic and HIVSimpleDiagnostic do not count toward Ever_tested_positive.

Ever_received_CD4_result

boolean

Describes whether or not individuals have received a CD4 test via the HIVDrawBlood intervention. Assigned 0 if they never received a CD4 test, and 1 if they have received a CD4 test.

Ever_in_ART

boolean

Describes whether the individual has received the ARTBasic intervention. Assigned 0 for never receiving it, and 1 if they have received it.

Currently_in_ART

boolean

Describes whether or not the individual was receiving the ARTBasic intervention at the time of their death. Assigned 0 if they were not receiving the intervention, and 1 if they were receiving it at the time of their death.

Example

The following is an example of a HIVMortality.csv report:

Node_ID

id

Death_time

Death_was_HIV_cause

Gender

Age

Num_rels_just_prior_to_death

Num_rels_lifetime

HIV_disease_state_just_prior_to_death

Years_since_infection

CD4_count_first_recorded

CD4_count_last_recorded

CD4_count_current

Days_since_CD4_blood_draw

Total_number_of_times_initiating_ART

Total_years_on_ART

Years_since_first_ART_initiation

Years_since_most_recent_ART_initiation

ART_status_just_prior_to_death

Intervention_Status

Ever_tested

Ever_tested_positive

Ever_received_CD4_result

Ever_in_ART

Currently_in_ART

1

29

7770

1

0

21.3699

0

0

3

1.31507

0

0

3.44695

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

38

8160

1

1

22.4384

0

0

3

2.38356

0

0

4.69059

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

92

8670

1

1

23.8356

0

0

3

3.78082

0

0

2.68563

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

37

8700

1

1

23.9178

0

0

3

3.86301

0

0

5.04478

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

98

8760

1

1

24.0822

0

0

3

4.0274

0

0

1.90831

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

64

9180

1

0

25.2329

0

0

3

5.17808

0

0

45.8134

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

25

9420

1

0

25.8904

0

0

3

5.83562

0

0

1.71753

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

11

9570

1

0

26.3014

0

0

3

6.24658

0

0

2.23987

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

10

9660

1

0

26.5479

0

0

3

6.49315

0

0

4.29309

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

78

9810

1

1

26.9589

0

0

3

6.90411

0

0

16.3808

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

41

9840

1

1

27.0411

0

0

3

6.9863

0

0

2.73176

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

34

9930

1

0

27.2877

0

0

3

7.23288

0

0

3.91411

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

52

9930

1

0

27.2877

0

0

3

7.23288

0

0

2.86028

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

71

10020

1

0

27.5342

0

0

3

7.47945

0

0

4.99421

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

3

10200

1

0

28.0274

0

0

3

7.9726

0

0

6.46508

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

72

10380

1

1

28.5205

0

0

3

8.46575

0

0

4.17088

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

42

10740

1

0

29.5068

0

0

3

9.45205

0

0

2.80336

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

67

10860

1

1

29.8356

0

0

3

9.78082

0

0

0.911652

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

85

11100

1

0

30.4932

0

0

3

10.4384

0

0

4.34908

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

76

11130

1

0

30.5753

0

0

3

10.5205

0

0

2.28753

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

59

11160

1

0

30.6575

0

0

3

10.6027

0

0

8.82356

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

62

11250

1

1

30.9041

0

0

3

10.8493

0

0

4.49486

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

23

11490

1

0

31.5616

0

0

3

11.5068

0

0

1.13325

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

75

11490

1

1

31.5616

0

0

3

11.5068

0

0

0.715854

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

50

11640

1

0

31.9726

0

0

3

11.9178

0

0

23.7552

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

2

11670

1

0

32.0548

0

0

3

2.05479

0

0

2.50851

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

53

11670

1

0

32.0548

0

0

3

12

0

0

1.06599

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

27

11910

1

0

32.7123

0

0

3

12.6575

0

0

10.0057

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

12

11970

1

0

32.8767

0

0

3

12.8219

0

0

6.57342

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

20

12000

1

1

32.9589

0

0

3

12.9041

0

0

28.8418

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

14

12210

1

0

33.5342

0

0

3

13.4795

0

0

3.77876

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

57

12390

1

0

34.0274

0

0

3

13.9726

0

0

18.1332

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

19

12510

1

1

34.3562

0

0

3

4.35616

0

0

4.2497

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

28

12630

1

0

34.6849

0

1

3

14.6301

0

0

3.95616

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0

1

54

12690

1

0

34.8493

0

0

3

4.84932

0

0

4.56509

0

0

0

0

0

WITHOUT_ART_UNQUALIFIED

None

0

0

0

0

0