<?xml version='1.0' encoding='UTF-8'?>
<codeBook version="1.2.2" ID="zaf-alpha-himu-2000-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>
          ALPHA HIV Incidence and Mortality data, uMkhanyakude, South Africa
        </titl>
        <IDNo>
          zar-umkhanyakude-alpha-him-2002-2017-v1
        </IDNo>
      </titlStmt>
      <prodStmt>
        <producer abbr="AHRI" role="Metadata creator">
          Africa Health Research Institute
        </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="2024-08-23">
          2024-08-23
        </prodDate>
        <software version="4.0.10" date="2018-05-02">
          Nesstar Publisher
        </software>
      </prodStmt>
      <verStmt>
        <version>
          v4
        </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
        </titl>
        <subTitl>
          uMkhanyakude 2000-2016
        </subTitl>
        <altTitl>
          ALPHA HIMU 2000-2016
        </altTitl>
        <IDNo>
          zaf-alpha-himu-2000-2016-v1
        </IDNo>
      </titlStmt>
      <rspStmt>
        <AuthEnty>
          Africa Health Research Institute
        </AuthEnty>
        <AuthEnty affiliation="London School of Hygiene and Tropical Medicine">
          Network for Analysing Longitudinal Population HIV/ AIDS data on Africa
        </AuthEnty>
        <othId role="Director of Population Science" affiliation="AHRI">
          <p>
            Dr Kobus Herbst
          </p>
        </othId>
        <othId role="Data Scientist" affiliation="AHRI">
          <p>
            Dickman Gareta
          </p>
        </othId>
      </rspStmt>
      <prodStmt>
        <producer/>
        <producer/>
        <software version="4.0.10" date="2018-05-02">
          Nesstar Publisher
        </software>
        <fundAg role="Funding agency">
          Wellcome Trust
        </fundAg>
        <fundAg role="Funding agency">
          Bill and Melinda Gates Foundation
        </fundAg>
      </prodStmt>
      <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,uMkhanyakude is part of the international data harmonisation and analysis programme of the ALPHA network.]]>
        </serInfo>
      </serStmt>
      <verStmt>
        <version>
          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 the uMkhanyakude study in South Africa. 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 Umkhanyakude site in South Africa includes two data files:

HIV incidence data
This 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 dates.  Dates of birth are rounded to the 15th of the month, and all other dates are 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 the times (ages) of last negative test and first positive test have been provided.

Mortality  data
This data file was created as described at https://gatesopenresearch.org/articles/1-4]]>
      </abstract>
      <sumDscr>
        <collDate date="2000" event="start" cycle="Incedence data"/>
        <collDate date="2016" event="end" cycle="Incedence data"/>
        <collDate date="2000" event="start" cycle="Mortality data"/>
        <collDate date="2016" event="end" cycle="Mortality data"/>
        <nation abbr="zar">
          South Africa
        </nation>
        <geogCover>
          The data covers the uMkhanyakude study area in KwaZulu-Natal, South Africa
        </geogCover>
        <geogUnit>
          The data is at the level of village.
        </geogUnit>
        <anlyUnit>
          Individuals
        </anlyUnit>
        <dataKind>
          Event/transaction data
        </dataKind>
      </sumDscr>
      <notes>
        The dataset includes individual-level HIV data from demographic surveillance, verbal autopsy interviews, serological and sexual behaviour surveys, and individually-linked data from HDSS and medical facilities.
      </notes>
    </stdyInfo>
    <method>
      <dataColl>
        <dataCollector>
          Africa Health Research Institute
        </dataCollector>
        <collMode>
          Face-to-face
        </collMode>
        <sources/>
        <collSitu>
          ALPHA data are harmonised datasets from ALPHA member sites and this dataset is from the Africa Health Research Institute.
        </collSitu>
      </dataColl>
    </method>
    <dataAccs>
      <setAvail>
        <origArch>
          Karonga (MW011)
        </origArch>
      </setAvail>
      <useStmt>
        <contact URI="https://data.ahri.org/index.php/catalog/1029">
          Africa Health Research Institute
        </contact>
        <citReq>
          Herbst, K. et al. ALPHA HIV Incidence and Mortality Data, uMkhanyakude 2000-2016 [dataset].Version 1. Africa Health Research Institute [producer and distributor], 2022. https://data.ahri.org/index.php/catalog/1029
        </citReq>
        <conditions>
          Access under a Creative Commons CC-BY-NC (Attribution, Non-Commercial use only) License
        </conditions>
      </useStmt>
    </dataAccs>
  </stdyDscr>
  <fileDscr ID="F1" URI="zaf-alpha-himu-2000-2016-v1.Nesstar?Index=0&amp;Name=incidence_uMkhanyakude">
    <fileTxt>
      <fileName>
        incidence_uMkhanyakude.NSDstat
      </fileName>
      <dimensns>
        <caseQnty>
          0
        </caseQnty>
        <varQnty>
          15
        </varQnty>
      </dimensns>
      <fileType>
        Nesstar 200801
      </fileType>
    </fileTxt>
    <notes>
      <![CDATA[uMkhanyakude J:/ALPHA\data/uMkhanyakude/ALPHA6_spec1_uMkhanyakude.dta  saved 23 Nov 2018 15:50
uMkhanyakude J:/ALPHA\data/uMkhanyakude/ALPHA6_spec2b_uMkhanyakude.dta  saved 11 Jul 2018 08:36]]>
    </notes>
  </fileDscr>
  <fileDscr ID="F2" URI="zaf-alpha-himu-2000-2016-v1.Nesstar?Index=1&amp;Name=mortality_uMkhanyakude">
    <fileTxt>
      <fileName>
        mortality_uMkhanyakude.NSDstat
      </fileName>
      <dimensns>
        <caseQnty>
          0
        </caseQnty>
        <varQnty>
          14
        </varQnty>
      </dimensns>
      <fileType>
        Nesstar 200801
      </fileType>
    </fileTxt>
    <notes>
      <![CDATA[Kisesa J:/ALPHA\data/Kisesa/ALPHA6_spec1_Kisesa.dta  saved 18 Jul 2018 17:08
sero4clean was last created on 12:09:16 22 Mar 2007
21 March 2007 created two new variables orig_studynr4 and orig_id4 added
21 March 2007 retained extra variables q4list other_activ other_places
end of sero4clean.do notes
sero123link was last created on 12:09:11 22 Mar 2007
21 March 2007 created new variables orig_studynr3, orig_id3, orig_studynr2, orig_id2, orig_studynr1 orig_id1 to keep all infomation on identifiers before they were changed during cleaning
this change was made replace id3= 220102701 if studynr== 21818
end of notes from weakserolink.do
last created on 12:04:58 22 Mar 2007
last created on 12:04:59 22 Mar 2007
extra variables about marriage have been retained spouline14 wifekijiji14 husbandkijiji14 living14 married14
demrnd14 was last created on 12:04:59 22 Mar 2007
extra variables about migration have been retained xlalanje16 xsablala16 xlalawapi16 xhamalini16 xsabhama16 xhamasab16 xhamawapi16 xaliklala16 xalikhama16 xaliktokea16
demrnd15 was last created on 12:05:01 22 Mar 2007
extra variables about migration have been retained xlalanje16 xsablala16 xlalawapi16 xhamalini16 xsabhama16 xhamasab16 hamawapi16 aliklala16 alikhama16 aliktokea16
the wapi variable has been recoded (replace wapi16=9 if wapi==10) so that 10 is now added to 9. Those with value 10 where actually people who had migrated further than mwanza but somehow the code became 10
demrnd16 was last created on 12:05:03 22 Mar 2007
extra variables about migration have been retained xlalanje17 xsablala17 xlalawapi17 xhamalini17 xsabhama17 xhamasab17 hamawapi17 aliklala17 alikhama17 aliktokea17
the wapi variable has been recoded (replace wapi17=9 if wapi==10) so that 10 is now added to 9. Those with value 10 where actually people who had migrated further than mwanza but somehow the code became 10
demrnd17 last created on 12:05:05 22 Mar 2007
extra variables about migration have been retained xlalanje18 xsablala18 xlalawapi18 xhamalini18 xsabhama18 xhamasab18 hamawapi18 aliklala18 alikhama18 aliktokea18
the wapi variable has been recoded (replace wapi18=9 if wapi==10) so that 10 is now added to 9. Those with value 10 where actually people who had migrated further than mwanza but somehow the code became 10
demrnd18 was last created on 12:05:06 22 Mar 2007
extra variables about migration have been retained xlalanje19 xsablala19 xlalawapi19 xhamalini19 xsabhama19 xhamasab19 hamawapi19 aliklala19 alikhama19 aliktokea19
extra variables about schools has been added wilaya kata schoolname schoolcode
the wapi variable has been recoded (replace wapi19=9 if wapi==10) so that 10 is now added to 9. Those with value 10 where actually people who had migrated further than mwanza but somehow the code became 10
demrnd19 was last created on 12:05:09 22 Mar 2007
link0119 was last created on 12:08:59 22 Mar 2007
end of notes from linkrnds.do
sero1234link was last created on 12:09:23 22 Mar 2007
end of notes from weaksero1234.do
remember kij2sero3 is a file for sero3 kijiji2
last created on 10:21:08 26 Mar 2007
last created on 10:21:09 26 Mar 2007
demrnd14 was last created on 10:21:10 26 Mar 2007
demrnd15 was last created on 10:21:11 26 Mar 2007
demrnd16 was last created on 10:21:13 26 Mar 2007
demrnd17 last created on 10:21:14 26 Mar 2007
demrnd18 was last created on 10:21:16 26 Mar 2007
demrnd19 was last created on 10:21:18 26 Mar 2007
link0119 was last created on 10:31:54 26 Mar 2007
Created at 10:16:45 on  7 Oct 2009
Created at 17:30:56 on 19 Mar 2008
Created at 15:10:21 on 16 Mar 2009
merged sero12345 and demogr1to24 files
Kisesa J:/ALPHA\data/Kisesa/ALPHA6_spec2b_Kisesa.dta  saved 18 Jul 2018 17:08
Manicaland J:/ALPHA\data/Manicaland/ALPHA6_spec1_Manicaland.dta  saved
Manicaland J:/ALPHA\data/Manicaland/ALPHA6_spec2b_Manicaland.dta  saved
Masaka J:/ALPHA\data/Masaka/ALPHA6_spec1_Masaka.dta  saved 10 Sep 2018 12:53
Masaka J:/ALPHA\data/Masaka/ALPHA6_spec2b_Masaka.dta  saved 12 Feb 2018 12:13
Ifakara J:/ALPHA\data/Ifakara/ALPHA6_spec1_Ifakara.dta  saved 11 Apr 2016 22:57
Ifakara J:/ALPHA\data/Ifakara/ALPHA6_spec2b_Ifakara.dta  saved 15 Apr 2016 11:31
Karonga J:/ALPHA\data/Karonga/ALPHA6_spec1_Karonga.dta  saved 12 Jan 2018 11:49
Karonga J:/ALPHA\data/Karonga/ALPHA6_spec2b_Karonga.dta  saved 12 Jan 2018 11:49
Rakai J:/ALPHA\data/Rakai/ALPHA6_spec1_Rakai.dta  saved  4 Jul 2018 16:43
Rakai c:/emma/ALPHA\data/Rakai/ALPHA6_spec2b_Rakai.dta  saved 26 Jun 2018 13:01
uMkhanyakude J:/ALPHA\data/uMkhanyakude/ALPHA6_spec1_uMkhanyakude.dta  saved 23 Nov 2018 15:50
uMkhanyakude J:/ALPHA\data/uMkhanyakude/ALPHA6_spec2b_uMkhanyakude.dta  saved 11 Jul 2018 08:36
Agincourt J:/ALPHA\data/Agincourt/ALPHA6_spec1_Agincourt.dta  saved 12 Apr 2016 15:59
Agincourt J:/ALPHA\data/Agincourt/ALPHA6_spec2b_Agincourt.dta  saved 12 Apr 2016 15:59]]>
    </notes>
  </fileDscr>
  <dataDscr>
    <var ID="V1" name="study_name" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="1" EndPos="12" width="12" RecSegNo="1"/>
      <labl>
        Study name
      </labl>
      <valrng>
        <range UNITS="REAL" min="1" max="10"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Karonga
        </labl>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Kisesa
        </labl>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Manicaland
        </labl>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Masaka
        </labl>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          Rakai
        </labl>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          uMkhanyakude
        </labl>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          Agincourt
        </labl>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Kisumu
        </labl>
      </catgry>
      <catgry>
        <catValu>
          9
        </catValu>
        <labl>
          Ifakara
        </labl>
      </catgry>
      <catgry>
        <catValu>
          10
        </catValu>
        <labl>
          Nairobi
        </labl>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V2" name="idno" files="F1" dcml="0" intrvl="contin">
      <location StartPos="13" EndPos="21" width="9" RecSegNo="1"/>
      <labl>
        Participant ID number
      </labl>
      <valrng>
        <range UNITS="REAL" min="1" max="20652"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V3" name="sex" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="22" EndPos="33" width="12" RecSegNo="1"/>
      <labl>
        Sex
      </labl>
      <valrng>
        <range UNITS="REAL" min="1" max="2"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Men
        </labl>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Women
        </labl>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V4" name="fouryear" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="34" EndPos="42" width="9" RecSegNo="1"/>
      <labl>
        Calendar year, grouped in 4 years post 2005
      </labl>
      <valrng>
        <range UNITS="REAL" min="0" max="6"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          1995-99
        </labl>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          2000-04
        </labl>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          2005-08
        </labl>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          2009-12
        </labl>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          2013-16
        </labl>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          2017-20
        </labl>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          2021-24
        </labl>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V5" name="agegrp" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="43" EndPos="51" width="9" RecSegNo="1"/>
      <labl>
        Five year age group
      </labl>
      <valrng>
        <range UNITS="REAL" min="0" max="18"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          0-4
        </labl>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          5-9
        </labl>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          10-14
        </labl>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          15-19
        </labl>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          20-24
        </labl>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          25-29
        </labl>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          30-34
        </labl>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          35-39
        </labl>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          40-44
        </labl>
      </catgry>
      <catgry>
        <catValu>
          9
        </catValu>
        <labl>
          45-49
        </labl>
      </catgry>
      <catgry>
        <catValu>
          10
        </catValu>
        <labl>
          50-54
        </labl>
      </catgry>
      <catgry>
        <catValu>
          11
        </catValu>
        <labl>
          55-59
        </labl>
      </catgry>
      <catgry>
        <catValu>
          12
        </catValu>
        <labl>
          60-64
        </labl>
      </catgry>
      <catgry>
        <catValu>
          13
        </catValu>
        <labl>
          65-69
        </labl>
      </catgry>
      <catgry>
        <catValu>
          14
        </catValu>
        <labl>
          70-74
        </labl>
      </catgry>
      <catgry>
        <catValu>
          15
        </catValu>
        <labl>
          75-79
        </labl>
      </catgry>
      <catgry>
        <catValu>
          16
        </catValu>
        <labl>
          80-84
        </labl>
      </catgry>
      <catgry>
        <catValu>
          17
        </catValu>
        <labl>
          85-89
        </labl>
      </catgry>
      <catgry>
        <catValu>
          18
        </catValu>
        <labl>
          90+
        </labl>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V6" name="timein" files="F1" dcml="0" intrvl="contin">
      <location StartPos="52" EndPos="61" width="10" RecSegNo="1"/>
      <labl>
        Start of episode (age)
      </labl>
      <valrng>
        <range UNITS="REAL" min="15" max="49.9931553730322"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V7" name="timeout" files="F1" dcml="0" intrvl="contin">
      <location StartPos="62" EndPos="71" width="10" RecSegNo="1"/>
      <labl>
        End of episode (age)
      </labl>
      <valrng>
        <range UNITS="REAL" min="15.0088980150582" max="50"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V8" name="timelastneg" files="F1" dcml="0" intrvl="contin">
      <location StartPos="72" EndPos="81" width="10" RecSegNo="1"/>
      <labl>
        Age at last negative test
      </labl>
      <valrng>
        <range UNITS="REAL" min="13.7905544147844" max="63.854893908282"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V9" name="timefirstpos" files="F1" dcml="0" intrvl="contin">
      <location StartPos="82" EndPos="91" width="10" RecSegNo="1"/>
      <labl>
        Age at first positive test
      </labl>
      <valrng>
        <range UNITS="REAL" min="16.1916495550992" max="61.3990417522245"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V10" name="fail" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="92" EndPos="100" width="9" RecSegNo="1"/>
      <labl>
        Seroconversion occurred at the end of this episode
      </labl>
      <valrng>
        <range UNITS="REAL" min="0" max="1"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V11" name="t0" files="F1" dcml="0" intrvl="contin">
      <location StartPos="101" EndPos="110" width="10" RecSegNo="1"/>
      <labl>
        Stata variable: age at start of episode
      </labl>
      <valrng>
        <range UNITS="REAL" min="15" max="49.9931553730322"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V12" name="t" files="F1" dcml="0" intrvl="contin">
      <location StartPos="111" EndPos="120" width="10" RecSegNo="1"/>
      <labl>
        Stata variable: age at end of episode
      </labl>
      <valrng>
        <range UNITS="REAL" min="15.0088980150582" max="50"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V13" name="st" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="121" EndPos="128" width="8" RecSegNo="1"/>
      <labl>
        Stata variable: in survival analysis
      </labl>
      <valrng>
        <range UNITS="REAL" min="1" max="1"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V14" name="d" files="F1" dcml="0" intrvl="discrete">
      <location StartPos="129" EndPos="136" width="8" RecSegNo="1"/>
      <labl>
        Stata variable: failure (seroconversion)
      </labl>
      <valrng>
        <range UNITS="REAL" min="0" max="1"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V15" name="collapsegrp" files="F1" dcml="0" intrvl="contin">
      <location StartPos="137" EndPos="145" width="9" RecSegNo="1"/>
      <labl/>
      <valrng>
        <range UNITS="REAL" min="0" max="32"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V16" name="study_name" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="1" EndPos="12" width="12" RecSegNo="1"/>
      <labl>
        Study name
      </labl>
      <valrng>
        <range UNITS="REAL" min="1" max="10"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Karonga
        </labl>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Kisesa
        </labl>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Manicaland
        </labl>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          Masaka
        </labl>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          Rakai
        </labl>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          uMkhanyakude
        </labl>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          Agincourt
        </labl>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          Kisumu
        </labl>
      </catgry>
      <catgry>
        <catValu>
          9
        </catValu>
        <labl>
          Ifakara
        </labl>
      </catgry>
      <catgry>
        <catValu>
          10
        </catValu>
        <labl>
          Nairobi
        </labl>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V17" name="idno" files="F2" dcml="0" intrvl="contin">
      <location StartPos="13" EndPos="21" width="9" RecSegNo="1"/>
      <labl>
        Participant ID number
      </labl>
      <valrng>
        <range UNITS="REAL" min="210170" max="301565"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V18" name="sex" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="22" EndPos="29" width="8" RecSegNo="1"/>
      <labl>
        Sex
      </labl>
      <valrng>
        <range UNITS="REAL" min="1" max="2"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Men
        </labl>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Women
        </labl>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V19" name="fouryear" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="30" EndPos="42" width="13" RecSegNo="1"/>
      <labl>
        Calendar year, grouped in 4 years post 2005
      </labl>
      <valrng>
        <range UNITS="REAL" min="0" max="6"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          earliest-1999
        </labl>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          2000-04
        </labl>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          2005-08
        </labl>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          2009-12
        </labl>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          2013-16
        </labl>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          2017-20
        </labl>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          2021-24
        </labl>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V20" name="agegrp" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="43" EndPos="51" width="9" RecSegNo="1"/>
      <labl>
        Five year age group
      </labl>
      <valrng>
        <range UNITS="REAL" min="0" max="18"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          0-4
        </labl>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          5-9
        </labl>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          10-14
        </labl>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          15-19
        </labl>
      </catgry>
      <catgry>
        <catValu>
          4
        </catValu>
        <labl>
          20-24
        </labl>
      </catgry>
      <catgry>
        <catValu>
          5
        </catValu>
        <labl>
          25-29
        </labl>
      </catgry>
      <catgry>
        <catValu>
          6
        </catValu>
        <labl>
          30-34
        </labl>
      </catgry>
      <catgry>
        <catValu>
          7
        </catValu>
        <labl>
          35-39
        </labl>
      </catgry>
      <catgry>
        <catValu>
          8
        </catValu>
        <labl>
          40-44
        </labl>
      </catgry>
      <catgry>
        <catValu>
          9
        </catValu>
        <labl>
          45-49
        </labl>
      </catgry>
      <catgry>
        <catValu>
          10
        </catValu>
        <labl>
          50-54
        </labl>
      </catgry>
      <catgry>
        <catValu>
          11
        </catValu>
        <labl>
          55-59
        </labl>
      </catgry>
      <catgry>
        <catValu>
          12
        </catValu>
        <labl>
          60-64
        </labl>
      </catgry>
      <catgry>
        <catValu>
          13
        </catValu>
        <labl>
          65-69
        </labl>
      </catgry>
      <catgry>
        <catValu>
          14
        </catValu>
        <labl>
          70-74
        </labl>
      </catgry>
      <catgry>
        <catValu>
          15
        </catValu>
        <labl>
          75-79
        </labl>
      </catgry>
      <catgry>
        <catValu>
          16
        </catValu>
        <labl>
          80-84
        </labl>
      </catgry>
      <catgry>
        <catValu>
          17
        </catValu>
        <labl>
          85-89
        </labl>
      </catgry>
      <catgry>
        <catValu>
          18
        </catValu>
        <labl>
          90+
        </labl>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V21" name="hivstatus_broad" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="52" EndPos="60" width="9" RecSegNo="1"/>
      <labl>
        HIV status
      </labl>
      <valrng>
        <range UNITS="REAL" min="1" max="3"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Negative
        </labl>
      </catgry>
      <catgry>
        <catValu>
          2
        </catValu>
        <labl>
          Positive
        </labl>
      </catgry>
      <catgry>
        <catValu>
          3
        </catValu>
        <labl>
          Unknown
        </labl>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V22" name="timein" files="F2" dcml="0" intrvl="contin">
      <location StartPos="61" EndPos="70" width="10" RecSegNo="1"/>
      <labl>
        Start of episode (age)
      </labl>
      <valrng>
        <range UNITS="REAL" min="15" max="49.9986310746064"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V23" name="timeout" files="F2" dcml="0" intrvl="contin">
      <location StartPos="71" EndPos="80" width="10" RecSegNo="1"/>
      <labl>
        End of episode (age)
      </labl>
      <valrng>
        <range UNITS="REAL" min="15.0006844626968" max="50"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V24" name="fail" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="81" EndPos="89" width="9" RecSegNo="1"/>
      <labl>
        Seroconversion occurred at the end of this episode
      </labl>
      <valrng>
        <range UNITS="REAL" min="0" max="1"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <catgry>
        <catValu>
          0
        </catValu>
        <labl>
          No
        </labl>
      </catgry>
      <catgry>
        <catValu>
          1
        </catValu>
        <labl>
          Yes
        </labl>
      </catgry>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V25" name="t0" files="F2" dcml="0" intrvl="contin">
      <location StartPos="90" EndPos="99" width="10" RecSegNo="1"/>
      <labl>
        Stata variable: age at start of episode
      </labl>
      <valrng>
        <range UNITS="REAL" min="15" max="49.9986310746064"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V26" name="t" files="F2" dcml="0" intrvl="contin">
      <location StartPos="100" EndPos="109" width="10" RecSegNo="1"/>
      <labl>
        Stata variable: age at end of episode
      </labl>
      <valrng>
        <range UNITS="REAL" min="15.0006844626968" max="50"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V27" name="st" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="110" EndPos="117" width="8" RecSegNo="1"/>
      <labl>
        Stata variable: in survival analysis
      </labl>
      <valrng>
        <range UNITS="REAL" min="1" max="1"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V28" name="d" files="F2" dcml="0" intrvl="discrete">
      <location StartPos="118" EndPos="125" width="8" RecSegNo="1"/>
      <labl>
        Stata variable: failure (seroconversion)
      </labl>
      <valrng>
        <range UNITS="REAL" min="0" max="1"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V29" name="collapsegrp" files="F2" dcml="0" intrvl="contin">
      <location StartPos="126" EndPos="134" width="9" RecSegNo="1"/>
      <labl/>
      <valrng>
        <range UNITS="REAL" min="0" max="45"/>
      </valrng>
      <sumStat type="vald">
        0
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <varFormat type="numeric" schema="other"/>
    </var>
  </dataDscr>
</codeBook>
