https://doi.org/10.17037/DATA.00002130
Research outputs associated with a study to determine the frequency of Primary Healthcare Clinic (PHC) attendance among HIV-negative men in a TB-prevalent setting. The collection is comprised of a tabular data set that contains routine information on clinic attendance in a demographic surveillance site, a STATA do-file that contains code used to analyse primary clinic visits data, and supporting documentation. These files may be used to reproduce the results in Table 1, Table 2 and Table 3 in a paper titled "Can we find the missing men in clinics? Clinic attendance by sex and HIV status in rural South Africa".
The code in this do-file is used to analyze the primary clinic visits data that reproduces the results in Table 1, Table 2 and Table 3 in the paper. The script is outlines as follows.
Contains different variables such as id, age, sex, hivstatus, unique id indicator (unique_id_indicator), visit indicator (visit_indicator), unique visit indicator per participant (unique_visit_indicator), total number of visits (total_visits), Reasons for visiting PHC (reason_visits_cat).
The unique_id_identifier and unique_visit_identifier variables are flags to mark one observation for each person and for each person with a clinic visit, respectively, in order to generate the tables. Since the dataset has >1 observation for the individuals that attended the clinic (one observation for each visit), these indicators allow the data to be summarised (e.g. total number of individuals, total number with at least one clinic visit) without having to collapse or otherwise process it. The 1 marks the observation to be counted in the table, and the indicator for other observations is set to 0.
Variable Name | Variable Label | Answer Label | Answer Code | Variable Type |
id | Participant ID. Participant ID is associated with each clinic visit | Integer | ||
age | Age of participant | Integer | ||
Not recorded | NA | |||
sex | Sex of participant | String | ||
Female | Female | |||
Male | Male | |||
Not recorded | NA | |||
hivstatus | HIV status of participant | String | ||
HIV status unknown | HIV-unknown | |||
HIV positive | HIV-positive | |||
HIV negative | HIV-negative | |||
unique_id_indicator | Unique ID indicator | Integer | ||
0 | ||||
1 | ||||
visit_indicator | Visit indicator | Integer | ||
0 | ||||
1 | ||||
unique_visit_indicator | Unique visit indicator | Integer | ||
0 | ||||
1 | ||||
total_visits | Total number of visits to clinic | Integer | ||
Not recorded | NA | |||
reasoncat | Reason for participant visit (categories) | |||
Acute condition | Acute | |||
HIV care condition | HIV care | |||
Unknown condition | other chronic | |||
Unknown condition | NA |