<?xml version='1.0' encoding='UTF-8'?>
<codeBook version="1.2.2" ID="tza-alpha-himk-1996-2016-v1" xml-lang="en" xmlns="http://www.icpsr.umich.edu/DDI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.icpsr.umich.edu/DDI http://www.icpsr.umich.edu/DDI/Version1-2-2.xsd">
  <docDscr>
    <citation>
      <titlStmt>
        <titl>
          tza-alpha-himk-1994-2016-v1
        </titl>
      </titlStmt>
      <prodStmt>
        <producer abbr="Kisesa" affiliation="National Institute for Medical Research" role="Metadata creator">
          Kisesa Open HIV Cohort study
        </producer>
        <producer abbr="ALPHA" affiliation="London School of Hygiene and Tropical Medicine" role="Metadata creator">
          Network for Analysing Longitudinal Population HIV/ AIDS data on Africa
        </producer>
        <producer affiliation="University of Cape Town" role="Metadata creator">
          DataFirst
        </producer>
        <prodDate date="2022-03-31">
          2022-03-31
        </prodDate>
        <software version="4.0.9" date="2013-04-23">
          Nesstar Publisher
        </software>
      </prodStmt>
      <verStmt>
        <version>
          v1
        </version>
        <notes>
          <![CDATA[2.1 - edited and anonymised data for scientific  use]]>
        </notes>
      </verStmt>
    </citation>
  </docDscr>
  <stdyDscr>
    <citation>
      <titlStmt>
        <titl>
          ALPHA HIV Incidence and Mortality Data, Kisesa 1994-2016
        </titl>
        <altTitl>
          AHIMK 1994-2016
        </altTitl>
        <IDNo>
          tza-alpha-himk-1996-2016-v1
        </IDNo>
      </titlStmt>
      <rspStmt>
        <AuthEnty affiliation="National Institute for Medical Research, Mwanza">
          Kisesa HIV Open Cohort
        </AuthEnty>
        <AuthEnty affiliation="London School of Hygiene and Tropical Medicine">
          Network for Analysing Longitudinal Population HIV/ AIDS data on Africa
        </AuthEnty>
        <othId role="Demographer and Kisesa Study Director" affiliation="National Institute for Medical Research, Mwanza">
          <p>
            Mark Urassa
          </p>
        </othId>
        <othId role="Database programmer, consultant">
          <p>
            Dr David Beckles
          </p>
        </othId>
        <othId role="Demographer, former ALPHA network lead">
          <p>
            Prof Basia Zaba
          </p>
        </othId>
        <othId role="Professor of statistics and technical support" affiliation="LSHTM">
          <p>
            Prof Jim Todd
          </p>
        </othId>
        <othId role="Data manager and programmer" affiliation="National Institute for Medical Research, Mwanza">
          <p>
            Baltazar Mtenga
          </p>
        </othId>
        <othId role="Epidemiologist" affiliation="National Institute for Medical Research, Mwanza">
          <p>
            Dr Michael Denna
          </p>
        </othId>
        <othId role="Demographer, Technical support" affiliation="LSHTM">
          <p>
            Dr Milly Marston
          </p>
        </othId>
        <othId role="Epidemiologist, Technical support" affiliation="LSHTM">
          <p>
            Dr Emma Slaymaker
          </p>
        </othId>
      </rspStmt>
      <prodStmt>
        <producer/>
        <producer/>
        <software version="4.0.9" date="2013-04-23">
          Nesstar Publisher
        </software>
        <fundAg>
          The Global Fund to Fight AIDS, Tuberculosis and Malaria
        </fundAg>
        <fundAg>
          Wellcome Trust
        </fundAg>
        <fundAg>
          Bill and Melinda Gates Foundation
        </fundAg>
      </prodStmt>
      <distStmt>
        <contact affiliation="University of Cape Town" URI="www.support.data1st.org" email="support@data1st.org">
          DataFirst helpdesk
        </contact>
      </distStmt>
      <serStmt>
        <serName>
          Demographic Surveillance System Data
        </serName>
        <serInfo>
          <![CDATA[The ALPHA (Analysing Longitudinal Population-based HIV/AIDS Data in Africa) Network is a collaboration among 10 longitudinal studies in sub-Saharan Africa.  These studies collect data on HIV infection alongside demographic, behavioural, socio-economic and clinical data from residents of the study areas.  The Network harmonises these data and conducts comparable and pooled analyses on HIV-related research questions.The ALPHA HIV Incidence and Mortality data, Kisesa is part of the international data harmonisation and analysis programme of the ALPHA network.]]>
        </serInfo>
      </serStmt>
      <verStmt>
        <version date="2022">
          Version 1: Edited, anonymised data available with restrictions
        </version>
      </verStmt>
    </citation>
    <stdyInfo>
      <abstract>
        <![CDATA[This dataset is created from harmonising longitudinal population-based demographic surveillance and repeated serological survey data collected by an Kisesa HIV open cohort Study in Mwanza, Tanzania. The data harmonisation is coordinated by the ALPHA Network which curates individual-level data on demographic surveillance, verbal autopsy interviews, serological and sexual behaviour surveys, and individually-linked data from HDSS and medical facilities.

The data from the Kisesa site in Tanzania includes two data files:

HIV incidence data  data file:
This data file includes data on resident study participants aged 15-49 who have had one negative HIV test and at least one subsequent HIV test done within the study for research purposes. Data may be split into multiple observations for each person to describe time spent in different residencies, different age groups and different calendar year periods.
All timings are given as age at event, instead of the dates.  Dates of birth were rounded to the 15th of the month, and all other dates were offset by the same amount and the time elapsed between the rounded dates is used as the age at event.
To enable multiple imputation of seroconversion dates we have provided the times (ages) of last negative test and first positive test.


Mortality  data
This datas file was created as described here (https://gatesopenresearch.org/articles/1-4)]]>
      </abstract>
      <sumDscr>
        <collDate date="1994" event="start" cycle="Mortality data"/>
        <collDate date="2016" event="end" cycle="Mortality data"/>
        <collDate date="1996" event="start" cycle="Incidence data"/>
        <collDate date="2015" event="end" cycle="Incidence data"/>
        <nation abbr="tza">
          Tanzania
        </nation>
        <geogCover>
          The data covers the Kisesa HIV open cohort study area in Mwanza, Tanzania
        </geogCover>
        <geogUnit>
          The lowest level of geographic aggregation of the data is village.
        </geogUnit>
        <anlyUnit>
          Individuals
        </anlyUnit>
        <dataKind>
          Event History data
        </dataKind>
      </sumDscr>
      <notes>
        The data covers demographic surveillance and repeated serological survey data from the Kisesa site in Mwanza, Tanzania, collected through demographic surveillance, verbal autopsy interviews, serological and sexual behaviour surveys. Also included is data from HDSS and medical facilities.
      </notes>
    </stdyInfo>
    <method>
      <dataColl>
        <dataCollector affiliation="National Institute for Medical Research, Mwanza">
          Kisesa HIV Open Cohort
        </dataCollector>
        <collMode>
          Face-to-face
        </collMode>
        <resInstru>
          The original unharmonised data was collected by the Kisesa study
        </resInstru>
        <sources/>
        <collSitu>
          <![CDATA[ALPHA data are harmonised datasets from ALPHA member sites and this dataset  is from the Kisesa study site.]]>
        </collSitu>
      </dataColl>
    </method>
    <dataAccs>
      <setAvail>
        <origArch>
          Karonga (MW011)
        </origArch>
      </setAvail>
      <useStmt>
        <contact affiliation="University of Cape Town" URI="www.datafirst.uct.ac.za" email="support@data1st.org">
          DataFirst
        </contact>
        <citReq>
          Kisesa HIV Open Cohort study and ALPHA Network. ALPHA HIV Incidence and Mortality Data, 1994-2016, Kisesa, Tanzania [dataset]. Version 1. Kisesa and London: Kisesa HIV Open Cohort study and LSHTM [producers], 2016. Cape Town: DataFirst [distributors], 2022. DOI: https://doi.org/10.25828/SGBS-Q698
        </citReq>
        <conditions>
          Access under a Creative Commons CC-BY-NC (Attribution, Non-Commercial use only) License
        </conditions>
      </useStmt>
    </dataAccs>
  </stdyDscr>
  <fileDscr ID="F1" URI="tza-alpha-himk-1994-2016-v1.Nesstar?Index=0&amp;Name=mortality-kisesa">
    <fileTxt>
      <fileName>
        mortality-kisesa.NSDstat
      </fileName>
      <fileStrc type="relational">
        <recGrp keyvar="V32"/>
      </fileStrc>
      <dimensns>
        <caseQnty>
          186358
        </caseQnty>
        <varQnty>
          13
        </varQnty>
      </dimensns>
      <fileType>
        Nesstar 200801
      </fileType>
      <filePlac>
        Malawi Epidemiology and Interventions Research Unit
      </filePlac>
    </fileTxt>
  </fileDscr>
  <fileDscr ID="F2" URI="tza-alpha-himk-1994-2016-v1.Nesstar?Index=1&amp;Name=incidence-kisesa">
    <fileTxt>
      <fileName>
        incidence-kisesa.NSDstat
      </fileName>
      <fileStrc type="relational">
        <recGrp keyvar="V33"/>
      </fileStrc>
      <dimensns>
        <caseQnty>
          43798
        </caseQnty>
        <varQnty>
          14
        </varQnty>
      </dimensns>
      <fileType>
        Nesstar 200801
      </fileType>
      <filePlac>
        Malawi Epidemiology and Interventions Research Unit
      </filePlac>
    </fileTxt>
  </fileDscr>
  <dataDscr>
    <var ID="V1" name="study_name" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="1" EndPos="2" width="2" RecSegNo="1"/>
      <labl>
        Study name
      </labl>
      <valrng>
        <range min="1" max="10"/>
      </valrng>
      <sumStat type="vald">
        186358
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Karonga
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Kisesa
        </labl>
        <catStat type="freq">
          186358
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Manicaland
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Masaka
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          Rakai
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          uMkhanyakude
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          Agincourt
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Kisumu
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          9
        </catValu>
        <labl>
          Ifakara
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          10
        </catValu>
        <labl>
          Nairobi
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V32" name="idno" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="86" EndPos="90" width="5" RecSegNo="1"/>
      <labl>
        Participant ID number for sharing
      </labl>
      <sumStat type="vald">
        186358
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V4" name="sex" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="14" EndPos="14" width="1" RecSegNo="1"/>
      <labl>
        Sex
      </labl>
      <valrng>
        <range min="1" max="9"/>
      </valrng>
      <sumStat type="vald">
        186358
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Men
        </labl>
        <catStat type="freq">
          86289
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Women
        </labl>
        <catStat type="freq">
          100061
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          9
        </catValu>
        <catStat type="freq">
          8
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V5" name="fouryear" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="15" EndPos="15" width="1" RecSegNo="1"/>
      <labl>
        Calendar year, grouped in 4 years post 2005
      </labl>
      <valrng>
        <range min="0" max="6"/>
      </valrng>
      <sumStat type="vald">
        186358
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          earliest-1999
        </labl>
        <catStat type="freq">
          39736
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          2000-04
        </labl>
        <catStat type="freq">
          39862
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          2005-08
        </labl>
        <catStat type="freq">
          32364
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          2009-12
        </labl>
        <catStat type="freq">
          37740
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          2013-16
        </labl>
        <catStat type="freq">
          36656
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          2017-20
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          2021-24
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V6" name="agegrp" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="16" EndPos="17" width="2" RecSegNo="1"/>
      <labl>
        Five year age group
      </labl>
      <valrng>
        <range min="0" max="18"/>
      </valrng>
      <sumStat type="vald">
        186358
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          0-4
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          5-9
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          10-14
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          15-19
        </labl>
        <catStat type="freq">
          47488
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          20-24
        </labl>
        <catStat type="freq">
          38033
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          25-29
        </labl>
        <catStat type="freq">
          30442
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          30-34
        </labl>
        <catStat type="freq">
          25158
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          35-39
        </labl>
        <catStat type="freq">
          19402
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          40-44
        </labl>
        <catStat type="freq">
          14934
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          9
        </catValu>
        <labl>
          45-49
        </labl>
        <catStat type="freq">
          10901
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          10
        </catValu>
        <labl>
          50-54
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          11
        </catValu>
        <labl>
          55-59
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          12
        </catValu>
        <labl>
          60-64
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          13
        </catValu>
        <labl>
          65-69
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          14
        </catValu>
        <labl>
          70-74
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          15
        </catValu>
        <labl>
          75-79
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          16
        </catValu>
        <labl>
          80-84
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          17
        </catValu>
        <labl>
          85-89
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          18
        </catValu>
        <labl>
          90+
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V7" name="hivstatus_broad" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="18" EndPos="18" width="1" RecSegNo="1"/>
      <labl>
        HIV status
      </labl>
      <valrng>
        <range min="1" max="3"/>
      </valrng>
      <sumStat type="vald">
        179643
      </sumStat>
      <sumStat type="invd">
        6715
      </sumStat>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Negative
        </labl>
        <catStat type="freq">
          66517
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Positive
        </labl>
        <catStat type="freq">
          4859
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Unknown
        </labl>
        <catStat type="freq">
          108267
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          6715
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V8" name="timein" files="F1" dcml="0" intrvl="contin">
      <location StartPos="19" EndPos="34" width="16" RecSegNo="1"/>
      <labl>
        Start of episode (age)
      </labl>
      <valrng>
        <range UNITS="REAL" min="15" max="49.9986310746064"/>
      </valrng>
      <sumStat type="vald">
        186358
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        15
      </sumStat>
      <sumStat type="max">
        49.999
      </sumStat>
      <sumStat type="mean">
        27.204
      </sumStat>
      <sumStat type="stdev">
        9.317
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V9" name="timeout" files="F1" dcml="0" intrvl="contin">
      <location StartPos="35" EndPos="50" width="16" RecSegNo="1"/>
      <labl>
        End of episode (age)
      </labl>
      <valrng>
        <range UNITS="REAL" min="15.0006844626968" max="50"/>
      </valrng>
      <sumStat type="vald">
        186358
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        15.001
      </sumStat>
      <sumStat type="max">
        50
      </sumStat>
      <sumStat type="mean">
        28.523
      </sumStat>
      <sumStat type="stdev">
        9.448
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V10" name="fail" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="51" EndPos="51" width="1" RecSegNo="1"/>
      <labl>
        Seroconversion occurred at the end of this episode
      </labl>
      <valrng>
        <range min="0" max="1"/>
      </valrng>
      <sumStat type="vald">
        185292
      </sumStat>
      <sumStat type="invd">
        1066
      </sumStat>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          183785
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          1507
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          1066
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V11" name="t0" files="F1" dcml="0" intrvl="contin">
      <location StartPos="52" EndPos="67" width="16" RecSegNo="1"/>
      <labl>
        Stata variable: age at start of episode
      </labl>
      <valrng>
        <range UNITS="REAL" min="15" max="49.9986310746064"/>
      </valrng>
      <sumStat type="vald">
        186358
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        15
      </sumStat>
      <sumStat type="max">
        49.999
      </sumStat>
      <sumStat type="mean">
        27.204
      </sumStat>
      <sumStat type="stdev">
        9.317
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V12" name="t" files="F1" dcml="0" intrvl="contin">
      <location StartPos="68" EndPos="83" width="16" RecSegNo="1"/>
      <labl>
        Stata variable: age at end of episode
      </labl>
      <valrng>
        <range UNITS="REAL" min="15.0006844626968" max="50"/>
      </valrng>
      <sumStat type="vald">
        186358
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        15.001
      </sumStat>
      <sumStat type="max">
        50
      </sumStat>
      <sumStat type="mean">
        28.523
      </sumStat>
      <sumStat type="stdev">
        9.448
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V13" name="st" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="84" EndPos="84" width="1" RecSegNo="1"/>
      <labl>
        Stata variable: in survival analysis
      </labl>
      <valrng>
        <range min="1" max="1"/>
      </valrng>
      <sumStat type="vald">
        186358
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          1
        </catValu>
        <catStat type="freq">
          186358
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V14" name="d" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="85" EndPos="85" width="1" RecSegNo="1"/>
      <labl>
        Stata variable: failure (seroconversion)
      </labl>
      <valrng>
        <range min="0" max="1"/>
      </valrng>
      <sumStat type="vald">
        186358
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          0
        </catValu>
        <catStat type="freq">
          184851
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <catStat type="freq">
          1507
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V16" name="study_name" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="1" EndPos="2" width="2" RecSegNo="1"/>
      <labl>
        Study name
      </labl>
      <valrng>
        <range UNITS="REAL" min="1" max="10"/>
      </valrng>
      <sumStat type="vald">
        43798
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Karonga
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Kisesa
        </labl>
        <catStat type="freq">
          43798
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Manicaland
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Masaka
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          Rakai
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          uMkhanyakude
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          Agincourt
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Kisumu
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          9
        </catValu>
        <labl>
          Ifakara
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          10
        </catValu>
        <labl>
          Nairobi
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V33" name="idno" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="117" EndPos="121" width="5" RecSegNo="1"/>
      <labl>
        Participant ID number for sharing
      </labl>
      <sumStat type="vald">
        43798
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V19" name="sex" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="14" EndPos="14" width="1" RecSegNo="1"/>
      <labl>
        Sex
      </labl>
      <valrng>
        <range UNITS="REAL" min="1" max="2"/>
      </valrng>
      <sumStat type="vald">
        43798
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Men
        </labl>
        <catStat type="freq">
          19147
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Women
        </labl>
        <catStat type="freq">
          24651
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V20" name="fouryear" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="15" EndPos="15" width="1" RecSegNo="1"/>
      <labl>
        Calendar year, grouped in 4 years post 2005
      </labl>
      <valrng>
        <range UNITS="REAL" min="0" max="6"/>
      </valrng>
      <sumStat type="vald">
        43798
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          1995-99
        </labl>
        <catStat type="freq">
          10409
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          2000-04
        </labl>
        <catStat type="freq">
          10958
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          2005-08
        </labl>
        <catStat type="freq">
          8851
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          2009-12
        </labl>
        <catStat type="freq">
          8044
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          2013-16
        </labl>
        <catStat type="freq">
          5536
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          2017-20
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          2021-24
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V21" name="agegrp" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="16" EndPos="17" width="2" RecSegNo="1"/>
      <labl>
        Five year age group
      </labl>
      <valrng>
        <range UNITS="REAL" min="0" max="18"/>
      </valrng>
      <sumStat type="vald">
        43798
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          0-4
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          5-9
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          10-14
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          15-19
        </labl>
        <catStat type="freq">
          9821
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          20-24
        </labl>
        <catStat type="freq">
          7576
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          25-29
        </labl>
        <catStat type="freq">
          6548
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          30-34
        </labl>
        <catStat type="freq">
          6097
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          35-39
        </labl>
        <catStat type="freq">
          5467
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          40-44
        </labl>
        <catStat type="freq">
          4691
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          9
        </catValu>
        <labl>
          45-49
        </labl>
        <catStat type="freq">
          3598
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          10
        </catValu>
        <labl>
          50-54
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          11
        </catValu>
        <labl>
          55-59
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          12
        </catValu>
        <labl>
          60-64
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          13
        </catValu>
        <labl>
          65-69
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          14
        </catValu>
        <labl>
          70-74
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          15
        </catValu>
        <labl>
          75-79
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          16
        </catValu>
        <labl>
          80-84
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          17
        </catValu>
        <labl>
          85-89
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          18
        </catValu>
        <labl>
          90+
        </labl>
        <catStat type="freq">
          0
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V22" name="timein" files="F2" dcml="0" intrvl="contin">
      <location StartPos="18" EndPos="33" width="16" RecSegNo="1"/>
      <labl>
        Start of episode (age)
      </labl>
      <valrng>
        <range UNITS="REAL" min="15" max="49.9876796714579"/>
      </valrng>
      <sumStat type="vald">
        43798
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        15
      </sumStat>
      <sumStat type="max">
        49.988
      </sumStat>
      <sumStat type="mean">
        28.58
      </sumStat>
      <sumStat type="stdev">
        9.866
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V23" name="timeout" files="F2" dcml="0" intrvl="contin">
      <location StartPos="34" EndPos="49" width="16" RecSegNo="1"/>
      <labl>
        End of episode (age)
      </labl>
      <valrng>
        <range UNITS="REAL" min="15.0006844626968" max="50"/>
      </valrng>
      <sumStat type="vald">
        43798
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        15.001
      </sumStat>
      <sumStat type="max">
        50
      </sumStat>
      <sumStat type="mean">
        30.249
      </sumStat>
      <sumStat type="stdev">
        10.036
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V24" name="timelastneg" files="F2" dcml="0" intrvl="contin">
      <location StartPos="50" EndPos="65" width="16" RecSegNo="1"/>
      <labl>
        Age at last negative test
      </labl>
      <valrng>
        <range UNITS="REAL" min="13.5496235455168" max="68.5859000684463"/>
      </valrng>
      <sumStat type="vald">
        43774
      </sumStat>
      <sumStat type="invd">
        24
      </sumStat>
      <sumStat type="min">
        13.55
      </sumStat>
      <sumStat type="max">
        68.586
      </sumStat>
      <sumStat type="mean">
        34.534
      </sumStat>
      <sumStat type="stdev">
        11.969
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V25" name="timefirstpos" files="F2" dcml="0" intrvl="contin">
      <location StartPos="66" EndPos="81" width="16" RecSegNo="1"/>
      <labl>
        Age at first positive test
      </labl>
      <valrng>
        <range UNITS="REAL" min="15.0225872689938" max="63.460643394935"/>
      </valrng>
      <sumStat type="vald">
        2149
      </sumStat>
      <sumStat type="invd">
        41649
      </sumStat>
      <sumStat type="min">
        15.023
      </sumStat>
      <sumStat type="max">
        63.461
      </sumStat>
      <sumStat type="mean">
        35.75
      </sumStat>
      <sumStat type="stdev">
        9.59
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V26" name="fail" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="82" EndPos="82" width="1" RecSegNo="1"/>
      <labl>
        Seroconversion occurred at the end of this episode
      </labl>
      <valrng>
        <range UNITS="REAL" min="0" max="1"/>
      </valrng>
      <sumStat type="vald">
        43638
      </sumStat>
      <sumStat type="invd">
        160
      </sumStat>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
        <catStat type="freq">
          43138
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
        <catStat type="freq">
          500
        </catStat>
      </catgry>
      <catgry missing="Y">
        <catValu>
          Sysmiss
        </catValu>
        <catStat type="freq">
          160
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V27" name="t0" files="F2" dcml="0" intrvl="contin">
      <location StartPos="83" EndPos="98" width="16" RecSegNo="1"/>
      <labl>
        Stata variable: age at start of episode
      </labl>
      <valrng>
        <range UNITS="REAL" min="15" max="49.9876796714579"/>
      </valrng>
      <sumStat type="vald">
        43798
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        15
      </sumStat>
      <sumStat type="max">
        49.988
      </sumStat>
      <sumStat type="mean">
        28.58
      </sumStat>
      <sumStat type="stdev">
        9.866
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V28" name="t" files="F2" dcml="0" intrvl="contin">
      <location StartPos="99" EndPos="114" width="16" RecSegNo="1"/>
      <labl>
        Stata variable: age at end of episode
      </labl>
      <valrng>
        <range UNITS="REAL" min="15.0006844626968" max="50"/>
      </valrng>
      <sumStat type="vald">
        43798
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        15.001
      </sumStat>
      <sumStat type="max">
        50
      </sumStat>
      <sumStat type="mean">
        30.249
      </sumStat>
      <sumStat type="stdev">
        10.036
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V29" name="st" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="115" EndPos="115" width="1" RecSegNo="1"/>
      <labl>
        Stata variable: in survival analysis
      </labl>
      <valrng>
        <range UNITS="REAL" min="1" max="1"/>
      </valrng>
      <sumStat type="vald">
        43798
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          1
        </catValu>
        <catStat type="freq">
          43798
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V30" name="d" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="116" EndPos="116" width="1" RecSegNo="1"/>
      <labl>
        Stata variable: failure (seroconversion)
      </labl>
      <valrng>
        <range UNITS="REAL" min="0" max="1"/>
      </valrng>
      <sumStat type="vald">
        43798
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          0
        </catValu>
        <catStat type="freq">
          43298
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <catStat type="freq">
          500
        </catStat>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
  </dataDscr>
</codeBook>
