<?xml version="1.0" encoding="UTF-8"?>
<codeBook version="1.2.2" ID="AHRI.AHRILink.Individual.Visits.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>
      <IDNo>DDI.AHRI.AHRILink.Individual.Visits.v1</IDNo>
    </titlStmt>
    <prodStmt>
      <producer abbr="AHRI" affiliation="" role="">Africa Health Research Institute</producer>
      <prodDate date="">
        <_value></_value>
      </prodDate>
      <software version="v5">NADA</software>
    </prodStmt>
    <verStmt>
      <version></version>
    </verStmt>
  </citation>
</docDscr>
<stdyDscr>
  <citation>
    <titlStmt>
      <titl>AHRILink Individual Visits.2023</titl>
      <subTitl/>
      <altTitl/>
      <parTitl/>
      <IDNo>AHRI.AHRILink.Individual.Visits.v1</IDNo>
    </titlStmt>
    <rspStmt>
      <AuthEnty affiliation="AHRI">Kobus Herbst</AuthEnty>
      <AuthEnty affiliation="AHRI/MGH">Mark Siedner</AuthEnty>
      <AuthEnty affiliation="AHRI">Willem Hanekom</AuthEnty>
      <othId role="Head of Research Data Management" affiliation="AHRI" email="">
        <p>Dickman Gareta</p>
      </othId>
      <othId role="Research Nursing Manager " affiliation="AHRI" email="">
        <p>Siphephelo Dlamin</p>
      </othId>
      <othId role="Clinical Research Platform Manager " affiliation="AHRI" email="">
        <p>Thandeka Khoza</p>
      </othId>
      <othId role="Clinical Research Coordinator" affiliation="AHRI" email="">
        <p>Patrick Gabela</p>
      </othId>
      <othId role="Clinical Research Nurse" affiliation="AHRI" email="">
        <p>Nompilo Shelembe</p>
      </othId>
      <othId role="Data Manager" affiliation="AHRI" email="">
        <p>Siyabonga Nxumalo</p>
      </othId>
      <othId role="Data Documentation" affiliation="AHRI" email="">
        <p>Sweetness Dube</p>
      </othId>
    </rspStmt>
    <prodStmt>
      <producer abbr="" affiliation="" role="">Africa Health Research Institute</producer>
      <copyright/>
      <software version="5.0" date="2023-09-20">NADA</software>
      <fundAg abbr="WT" role="Core funding">Wellcome Trust</fundAg>
      <fundAg abbr="SAPRIN " role="">SAPRIN</fundAg>
      <grantNo>097410/Z/11/Z DSI-SAMRC</grantNo>
    </prodStmt>
    <distStmt>
      <depDate date=""/>
      <distDate date=""/>
    </distStmt>
    <serStmt>
      <serName/>
      <serInfo><![CDATA[]]></serInfo>
    </serStmt>
    <verStmt>
      <version date="">v1.0.0</version>
      <verResp/>
      <notes><![CDATA[]]></notes>
    </verStmt>
    <biblCit format=""><![CDATA[]]></biblCit>
    <notes><![CDATA[]]></notes>
  </citation>
  <stdyInfo>
    <studyBudget><![CDATA[]]></studyBudget>
    <subject>
      <keyword vocab="AHRI" vocabURI="www.ahri.org">HIV infection; tuberculosis; non-communicable diseases; South Africa; population health; demographic and health survey; Clinic visits; population linkage</keyword>
      <topcClas vocab="AHRI" vocabURI="www.ahri.org">HIV infection; tuberculosis; non-communicable diseases; South Africa; population health; demographic and health survey; Clinic visits; population linkage</topcClas>
    </subject>
    <abstract><![CDATA[AHRILink is an electronic data collection system used to record all patients&#039; visits to the 11 clinics located in the AHRI Population Intervention Programme (PIP) study area. The system was implemented in 2017 to assist clinical research assistants (CRAs) stationed in these clinics to capture reasons for clinic attendance. AHRILink database for each of the clinics is linked to a central AHRILink database through ongoing replication process. On a daily basis the PIP surveillance database is synchronised with the central AHRILink database, allowing CRAs access to an up to date list of individuals to search in AHRILink. Individuals are searched using individual identifiers such as first names, surnames, date of birth, sex and South African civilian identifiers. Deterministic and fuzzy match approaches are used to search for the individuals in the database. Verification is done to ensure that the individual is correctly linked by checking with the individual to name the household members who form part of the household they are part of.]]></abstract>
    <sumDscr>
      <collDate date="2017-01-01" event="start" cycle=""/>
      <collDate date="2023-02-28" event="end" cycle=""/>
      <nation abbr="ZA">South Africa</nation>
      <geogCover>uMkhanyakude district in northern KwaZulu-Natal</geogCover>
      <geogUnit/>
      <anlyUnit><![CDATA[Each record is a visit reason per visit (VisitId) that each individual has had. Patient id is a sequential number used to denote all visits which belong to one individual.]]></anlyUnit>
      <universe><![CDATA[All individuals across all ages accessing care in the 11 clinics located within AHRI PIP. The clinics are: 
Esiyembeni Clinic
Gunjaneni Clinic
Hluhluwe Clinic
KwaMsane Clinic
Machibini Clinic
Madwaleni Clinic
Mpukunyoni Clinic
Mtubatuba Clinic
Nkundusi Clinic
Ntondweni Clinic
Somkhele Clinic]]></universe>
      <dataKind>The AHRIlink Data is anonymised and mainly contains demographic data such as age, sex, date and time of visit, name of the clinic, reason for clinic attendance and whether or not the individual is linked to PIP database. Each record is a visit reason (VisitId) that each individual has made to the clinic. Individuals can visit the clinic for more than one reason and will then have multiple records in the dataset for the visit identified by the dame VisitId. Patient Id is a sequential number used to denote all visits which belong to one individual</dataKind>
    </sumDscr>
    <qualityStatement>
      <standardsCompliance>
        <standard>
          <standardName/>
          <producer/>
        </standard>
        <complianceDescription/>
      </standardsCompliance>
      <otherQualityStatement/>
    </qualityStatement>
    <notes><![CDATA[]]></notes>
    <exPostEvaluation completionDate="" type="">
      <evaluationProcess/>
      <outcomes/>
    </exPostEvaluation>
  </stdyInfo>
  <method>
    <dataColl>
      <timeMeth/>
      <frequenc/>
      <sampProc><![CDATA[All individuals across all ages accessing care in the 11 clinics located within AHRI PIP]]></sampProc>
      <sampleFrame>
        <sampleFrameName/>
        <custodian/>
        <universe/>
        <frameUnit isPrimary="">
          <unitType numberOfUnits=""/>
        </frameUnit>
        <updateProcedure/>
      </sampleFrame>
      <deviat/>
      <resInstru><![CDATA[]]></resInstru>
      <instrumentDevelopment type=""/>
      <collSitu><![CDATA[]]></collSitu>
      <actMin><![CDATA[]]></actMin>
      <ConOps><![CDATA[]]></ConOps>
      <weight><![CDATA[]]></weight>
      <cleanOps><![CDATA[]]></cleanOps>
    </dataColl>
    <notes><![CDATA[]]></notes>
    <anlyInfo>
      <respRate><![CDATA[]]></respRate>
      <EstSmpErr><![CDATA[]]></EstSmpErr>
      <dataAppr><![CDATA[]]></dataAppr>
    </anlyInfo>
    <stdyClas><![CDATA[]]></stdyClas>
    <dataProcessing type=""/>
    <codingInstructions relatedProcesses="" type="">
      <txt/>
      <command formalLanguage=""/>
    </codingInstructions>
  </method>
  <dataAccs>
    <setAvail>
      <accsPlac URI=""/>
      <origArch/>
      <avlStatus/>
      <collSize/>
      <complete/>
      <fileQnty/>
      <notes><![CDATA[]]></notes>
    </setAvail>
    <useStmt>
      <restrctn/>
      <citReq><![CDATA[Herbst, K., Siedner, M., &amp; Hanekom, W. (2023). AHRILink Individual Visits.2023 [Data set]. Africa Health Research Institute. 
DOI:https://doi.org/10.23664/AHRI.AHRILINK.Individual.Visits]]></citReq>
      <deposReq><![CDATA[]]></deposReq>
      <conditions><![CDATA[Access to the data requires accurate completion of the online data access application form accessible on the AHRI Data repository(&lt;https://data.ahri.org/&gt;). Data users are required to abide by the data use conditions stipulated on the application for access to the data. Failure to do so may result in their data access privileges being revoked by the Data Custodian. In order to recognise the effort and intellectual contributions of AHRI investigators in producing and curating the data, users of AHRI data must acknowledge the source of the data and abide by the terms and conditions under which the data is accessed and must cite the dataset in publication using the citation provided as part of this documentation. All analytical datasets published on the AHRI Data Repository are assigned digital object identifier (DOIs) and the DOIs can be found on the Data Repository under Study Description tab - Access policy. AHRI data users are required to always cite the dataset using the relevant DOI.]]></conditions>
      <disclaimer><![CDATA[]]></disclaimer>
    </useStmt>
    <notes><![CDATA[]]></notes>
  </dataAccs>
  <notes><![CDATA[]]></notes>
</stdyDscr>
<fileDscr ID="F4">
  <fileTxt>
    <fileName>AL01-01 AHRI.HDSS.AHRILinkVisits.2023.V1</fileName>
    <fileCont></fileCont>
    <dimensns>
      <caseQnty>1266894</caseQnty>
      <varQnty>13</varQnty>
    </dimensns>
    <dataChck></dataChck>
    <dataMsng></dataMsng>
    <verStmt>
      <version></version>
    </verStmt>
  </fileTxt>
  <notes></notes>
</fileDscr>
<dataDscr>
<var ID="V35" name="PatientId" files="F4" intrvl="contin">
  <varFormat type="numeric"/>
  <location width="12"/>
  <labl>Patient Identification(sequential)</labl>
  <sumStat type="vald">1266894</sumStat>
  <sumStat type="invd"/>
  <sumStat type="min">10</sumStat>
  <sumStat type="max">255158</sumStat>
  <sumStat type="mean">127956.482</sumStat>
  <sumStat type="stdev">73979.521</sumStat>
</var>
<var ID="V36" name="PersonUid" files="F4" intrvl="discrete">
  <varFormat type="character"/>
  <location width="36"/>
  <labl>Person universally unique identifier</labl>
  <sumStat type="vald">1266894</sumStat>
  <sumStat type="invd"/>
</var>
<var ID="V37" name="IIntId" files="F4" intrvl="contin">
  <varFormat type="numeric"/>
  <location width="12"/>
  <labl>PIP Individual Identifier</labl>
  <sumStat type="vald">735429</sumStat>
  <sumStat type="invd">531465</sumStat>
  <sumStat type="min">17</sumStat>
  <sumStat type="max">270144</sumStat>
  <sumStat type="mean">120395.974</sumStat>
  <sumStat type="stdev">77837.497</sumStat>
</var>
<var ID="V38" name="DoB" files="F4" intrvl="discrete">
  <varFormat type="character" formatname="Nesstar.date"/>
  <location width="11"/>
  <labl>Date of birth</labl>
  <sumStat type="vald">1266894</sumStat>
  <sumStat type="min">1798-01-01</sumStat>
  <sumStat type="max">2023-02-15</sumStat>
</var>
<var ID="V39" name="Age" files="F4" intrvl="contin">
  <varFormat type="numeric"/>
  <location width="12"/>
  <labl>Age(in years)</labl>
  <sumStat type="vald">1266894</sumStat>
  <sumStat type="invd"/>
  <sumStat type="min">-1</sumStat>
  <sumStat type="max">222</sumStat>
  <sumStat type="mean">35.225</sumStat>
  <sumStat type="stdev">20.94</sumStat>
</var>
<var ID="V40" name="Sex" files="F4" intrvl="discrete">
  <varFormat type="numeric"/>
  <location width="12"/>
  <labl>Sex</labl>
  <sumStat type="vald">1266894</sumStat>
  <sumStat type="invd"/>
  <catgry>
    <catValu>1</catValu>
    <labl>Male</labl>
    <catStat type="vald"/>
  </catgry>
  <catgry>
    <catValu>2</catValu>
    <labl>Female</labl>
    <catStat type="invd"/>
  </catgry>
  <catgry>
    <catValu>9</catValu>
    <labl>Unknown</labl>
  </catgry>
</var>
<var ID="V41" name="VisitId" files="F4" intrvl="contin">
  <varFormat type="numeric"/>
  <location width="12"/>
  <labl>Visit identifier</labl>
  <sumStat type="vald">1266894</sumStat>
  <sumStat type="invd"/>
  <sumStat type="min">1</sumStat>
  <sumStat type="max">1373402</sumStat>
  <sumStat type="mean">686477.207</sumStat>
  <sumStat type="stdev">396488.309</sumStat>
</var>
<var ID="V42" name="VisitDate" files="F4" intrvl="discrete">
  <varFormat type="character" formatname="Nesstar.date"/>
  <location width="11"/>
  <labl>Clinic Visit Date</labl>
  <sumStat type="vald">1266894</sumStat>
  <sumStat type="min">2017-01-26</sumStat>
  <sumStat type="max">2023-02-17</sumStat>
</var>
<var ID="V43" name="VisitDateHour" files="F4" intrvl="contin">
  <varFormat type="numeric"/>
  <location width="12"/>
  <labl>Hour of the visit</labl>
  <sumStat type="vald">1266894</sumStat>
  <sumStat type="invd"/>
  <sumStat type="min"/>
  <sumStat type="max">23</sumStat>
  <sumStat type="mean">10.123</sumStat>
  <sumStat type="stdev">2.273</sumStat>
</var>
<var ID="V44" name="VisitDateMinute" files="F4" intrvl="contin">
  <varFormat type="numeric"/>
  <location width="12"/>
  <labl>Minutes of the visit</labl>
  <sumStat type="vald">1266894</sumStat>
  <sumStat type="invd"/>
  <sumStat type="min"/>
  <sumStat type="max">59</sumStat>
  <sumStat type="mean">29.468</sumStat>
  <sumStat type="stdev">17.447</sumStat>
</var>
<var ID="V45" name="ProxyVisit" files="F4" intrvl="discrete">
  <varFormat type="numeric"/>
  <location width="2"/>
  <labl>An individual who visits a facility on behalf of a patient</labl>
  <sumStat type="vald">1266894</sumStat>
  <sumStat type="invd"/>
  <catgry>
    <labl>No</labl>
    <catStat type="vald"/>
  </catgry>
  <catgry>
    <catValu>1</catValu>
    <labl>Yes</labl>
    <catStat type="invd"/>
  </catgry>
</var>
<var ID="V46" name="VisitReason" files="F4" intrvl="discrete">
  <varFormat type="numeric"/>
  <location width="12"/>
  <labl>Reason for Visit</labl>
  <sumStat type="vald">1266893</sumStat>
  <sumStat type="invd">1</sumStat>
  <catgry>
    <catValu>1</catValu>
    <labl>Child Health - Vaccinations &amp; Growth Monitoring</labl>
    <catStat type="vald"/>
  </catgry>
  <catgry>
    <catValu>2</catValu>
    <labl>Chronic Care - ART Follow-up</labl>
    <catStat type="invd"/>
  </catgry>
  <catgry>
    <catValu>3</catValu>
    <labl>Chronic Care - ART Initiation</labl>
  </catgry>
  <catgry>
    <catValu>4</catValu>
    <labl>Chronic Care - CCMDD</labl>
  </catgry>
  <catgry>
    <catValu>5</catValu>
    <labl>Chronic Care - Diabetes</labl>
  </catgry>
  <catgry>
    <catValu>6</catValu>
    <labl>Chronic Care - HIV Testing</labl>
  </catgry>
  <catgry>
    <catValu>7</catValu>
    <labl>Chronic Care - Hypertension</labl>
  </catgry>
  <catgry>
    <catValu>8</catValu>
    <labl>Chronic Care - Mental Health</labl>
  </catgry>
  <catgry>
    <catValu>9</catValu>
    <labl>Chronic Care - Other</labl>
  </catgry>
  <catgry>
    <catValu>10</catValu>
    <labl>Chronic Care - TB</labl>
  </catgry>
  <catgry>
    <catValu>11</catValu>
    <labl>Emergency care</labl>
  </catgry>
  <catgry>
    <catValu>12</catValu>
    <labl>Family Planning - First visit</labl>
  </catgry>
  <catgry>
    <catValu>13</catValu>
    <labl>Family Planning - Follow-up</labl>
  </catgry>
  <catgry>
    <catValu>14</catValu>
    <labl>Maternity - Antenatal</labl>
  </catgry>
  <catgry>
    <catValu>15</catValu>
    <labl>Maternity - Delivery</labl>
  </catgry>
  <catgry>
    <catValu>16</catValu>
    <labl>Maternity - PostNatal</labl>
  </catgry>
  <catgry>
    <catValu>17</catValu>
    <labl>Minor Ailment - First visit</labl>
  </catgry>
  <catgry>
    <catValu>18</catValu>
    <labl>Minor Ailment - Follow-up</labl>
  </catgry>
  <catgry>
    <catValu>19</catValu>
    <labl>Other - unspecified</labl>
  </catgry>
  <catgry>
    <catValu>20</catValu>
    <labl>Rehabilitation</labl>
  </catgry>
  <catgry>
    <catValu>21</catValu>
    <labl>Reproductive Health &amp; Circumcision</labl>
  </catgry>
  <catgry>
    <catValu>22</catValu>
    <labl>Research - PIP Referral</labl>
  </catgry>
  <catgry>
    <catValu>23</catValu>
    <labl>Research - Study appointment</labl>
  </catgry>
  <catgry>
    <catValu>24</catValu>
    <labl>Research - Study visit</labl>
  </catgry>
  <catgry>
    <catValu>25</catValu>
    <labl>Suspected COVID-19 Case</labl>
  </catgry>
  <catgry>
    <catValu>26</catValu>
    <labl>STI Partner notification</labl>
  </catgry>
  <catgry>
    <catValu>27</catValu>
    <labl>Reproductive Health : PrEP Follow-up</labl>
  </catgry>
  <catgry>
    <catValu>28</catValu>
    <labl>Reproductive Health : PrEP Initiation</labl>
  </catgry>
  <catgry>
    <catValu>99</catValu>
    <labl>Unable to ascertain reason for visit</labl>
  </catgry>
  <catgry>
    <catValu>Sysmiss</catValu>
  </catgry>
</var>
<var ID="V47" name="FacilityName" files="F4" intrvl="discrete">
  <varFormat type="numeric"/>
  <location width="12"/>
  <labl>Name of the facility</labl>
  <sumStat type="vald">1266894</sumStat>
  <sumStat type="invd"/>
  <catgry>
    <catValu>1</catValu>
    <labl>Esiyembeni Clinic</labl>
    <catStat type="vald"/>
  </catgry>
  <catgry>
    <catValu>2</catValu>
    <labl>Gunjaneni Clinic</labl>
    <catStat type="invd"/>
  </catgry>
  <catgry>
    <catValu>3</catValu>
    <labl>Hlabisa Hospital</labl>
  </catgry>
  <catgry>
    <catValu>4</catValu>
    <labl>Hluhluwe Clinic</labl>
  </catgry>
  <catgry>
    <catValu>5</catValu>
    <labl>KwaMsane Clinic</labl>
  </catgry>
  <catgry>
    <catValu>6</catValu>
    <labl>Macabuzela Clinic</labl>
  </catgry>
  <catgry>
    <catValu>7</catValu>
    <labl>Machibini Clinic</labl>
  </catgry>
  <catgry>
    <catValu>8</catValu>
    <labl>Madwaleni Clinic</labl>
  </catgry>
  <catgry>
    <catValu>9</catValu>
    <labl>Mpukunyoni Clinic</labl>
  </catgry>
  <catgry>
    <catValu>10</catValu>
    <labl>Mtubatuba Clinic</labl>
  </catgry>
  <catgry>
    <catValu>11</catValu>
    <labl>Nkundusi Clinic</labl>
  </catgry>
  <catgry>
    <catValu>12</catValu>
    <labl>Ntondweni Clinic</labl>
  </catgry>
  <catgry>
    <catValu>13</catValu>
    <labl>Sipho Zungu Clinic</labl>
  </catgry>
  <catgry>
    <catValu>14</catValu>
    <labl>Somkhele Clinic</labl>
  </catgry>
  <catgry>
    <catValu>15</catValu>
    <labl>AHRI Mobile Clinic A</labl>
  </catgry>
  <catgry>
    <catValu>16</catValu>
    <labl>AHRI Mobile Clinic D</labl>
  </catgry>
  <catgry>
    <catValu>17</catValu>
    <labl>Africa Centre Building</labl>
  </catgry>
  <catgry>
    <catValu>18</catValu>
    <labl>Other place outside surveillance area</labl>
  </catgry>
  <catgry>
    <catValu>99</catValu>
    <labl>Unknown</labl>
  </catgry>
</var>
</dataDscr></codeBook>
