Abstract
Objective: To describe the consultations recorded at the university infirmary of Labé, Guinea, from January 2023 to June 2026, since routine data from university infirmaries in sub-Saharan Africa are scarce. Methods: We conducted a retrospective descriptive study based on the annual consultation tables of the infirmary. The unit of analysis was the consultation, not the student. Consultations were classified in the 16 categories used by the infirmary, described by sex and age group (18–24 and 25–49 years) and related to official enrolment. Family planning (condom distribution) was analysed separately. Trends in proportions were tested with the Cochran-Armitage test. Results: We counted 11,236 consultations (5,671 in 2023; 2,874 in 2024; 1,335 in 2025; 1,356 from 1 January to 19 June 2026), 7,055 of them for morbidity. Enrolment rose from 2,106 to 3,734 students, whereas consultations fell from 269 to 36 per 100 enrolled students (2026: to 19 June). Men accounted for 70–76% of morbidity consultations, in line with their share of enrolment. The proportions of gastritis and malaria decreased from 29.5% and 27.6% of morbidity consultations in 2023 to 14.1% and 6.6% in 2026 (both p<0.001), whereas those of sexually transmitted infections (4.3% to 9.5%), dental caries (0.5% to 8.6%) and scabies (0.3% to 6.8%) increased (all p<0.001). Condom distribution fell from 2,242 to 246 consultations. Conclusion: The case-mix changed markedly and consultations per enrolled student fell sharply. Aggregated registers cannot establish causes; individual records with standard diagnostic definitions are needed.
Keywords
Students Universities Morbidity Malaria Sexually Transmitted Diseases Guinea Retrospective Studies.
Introduction
University students are young adults exposed to a specific mix of health risks, and the university infirmary is often their first point of care in sub-Saharan Africa. Reports from campus clinics in Ghana, Nigeria and Zimbabwe show that infections, notably malaria and respiratory tract infections, are among the leading reasons for attendance, and that injuries are also frequent.[1–4]
Sexually transmitted infections (STIs) are another concern. A meta-analysis in Ethiopia found a pooled prevalence of 13.6% among students (14.5% among university students), associated with multiple sexual partners and non-use of condoms.[5] In Gondar, 18.2% of university students had an STI,[6] and only 38.6% of sexually active students in two Nigerian universities used condoms consistently.[7] Among health sciences students in Lomé, Togo, 10.8% reported an STI.[8]
In Guinea, early care-seeking for children under five with fever fell from 37% in 2018 to 32% in 2021,[9] and malaria is the first cause of outpatient visits among children (34%).[10] Malaria prevalence was 46% by rapid diagnostic test and 35% by microscopy among children aged 6 months to 9 years in a national survey in August 2014,[10] and 17% among children under five in 2021.[9] Regional contrasts are large: in 2023, rapid-test positivity among asymptomatic people at the beginning of the rainy season (May) was 2.1% in Dalaba, in Middle Guinea, against 60.9% in Guéckédou, in Forest Guinea.[12] Seasonal malaria chemoprevention lowered test positivity and incidence in the districts where it was implemented,[13] but access to insecticide-treated nets remains unequal.[11]
We found no published data on the consultations of university students in Guinea in a PubMed search (October 2026), although this search is not exhaustive and French-language or grey literature may exist. The University of Labé, in Middle Guinea, has an infirmary that records its consultations in registers. Knowing why students consult, and how this changes over time, would help to prioritise prevention, to stock essential medicines and tests, and to plan health education. The objective of this study was to describe the consultations recorded at the university infirmary of Labé from January 2023 to June 2026 by year, sex, age group and diagnostic category, and to relate their volume to the number of enrolled students.
Methods
Study design and setting. We conducted a retrospective descriptive study based on the annual consultation tables of the university infirmary of the University of Labé, Guinea. The infirmary serves the students of the university, who live in the Hafia district. Nurses staff it, five until the end of the 2022–2023 academic year and three from the 2023–2024 academic year (from October 2023); they manage the most frequent conditions, perform simple dressings and refer patients who need a higher level of care. The infirmary operates 24 hours a day, including on-call duty, during the academic year, which generally starts on 3 October and ends on 30 June, and it is closed between 30 June and 3 October. Malaria is confirmed with a rapid diagnostic test (RDT).
Study period. The study covers January 2023 to 19 June 2026. The tables of 2023, 2024 and 2025 cover the calendar year, and the table of 2026 covers 1 January to 19 June 2026. The infirmary works during the academic year only and is closed from 1 July to 2 October; no consultations are recorded in that interval. Each calendar year therefore contains about nine months of activity (January to June and October to December), and 2026 contains about six. A calendar year of the tables combines the end of one academic year and the beginning of the next.
Data source. The data are the annual summary tables of the infirmary (one per year, 2023 to 2026), compiled by the nurses from the consultation register. For each of 16 categories, a table gives the number of consultations, the typical complaints associated with the category, and the numbers by sex and by age group (18–24 and 25–49 years). Totals by category, sex and age group were internally consistent in all four tables. Counts of identical value in different categories (172, 190 and 67) were checked against the tally book and are coincidences. The cleaned aggregated data are provided in Supplementary Tables S1 (enrolment), S2 (consultations by year) and S3 (consultations by category, year, sex and age group).
Study population and unit of analysis. The tables count consultations of persons aged 18 to 49 years seen at the infirmary; no individual data are available. Repeated consultations by the same person cannot be identified and are included. The unit of analysis is therefore the consultation, and results are numbers of consultations, not numbers of distinct students. Only enrolled students consult at the infirmary, so the enrolment figures are the appropriate denominator.
Categories. The analysis uses the 16 categories of the infirmary’s tables; family planning (analysed separately) and delivery (no consultation recorded in any year) were not included in the trend tests, which therefore concern 14 categories. Their assignment criteria are not documented beyond the typical complaints listed with each category (for example fever, chills, headache and anorexia for malaria; epigastralgia for gastritis; pain on urination for sexually transmitted infection (STI); cough and fever for acute respiratory infection). Consultations are recorded in the consultation register from the patient’s statements and the nurse’s own observations. Malaria cases, defined by the typical complaints above, were all confirmed by a positive RDT. The other categories, including STI, are clinical diagnoses made by the nurses (for example on pain on urination) and were not laboratory-confirmed. Lower abdominal pain (with leucorrhoea listed as a typical complaint), referral and “other” correspond to complaints or administrative categories and are presented separately from the diagnoses. Hypertension was defined in the tables as a blood pressure of 140/90 mmHg or more, attributed to the World Health Organization, and graded by the infirmary as stage 1 (≥140/90 mmHg), stage 2 (≥160/100 mmHg) or stage 3 (≥180/120 mmHg, regarded as a hypertensive crisis). “Family planning” corresponds to condom distribution for contraception and STI prevention; as it is a preventive service and not a morbidity, it was analysed separately and excluded from the morbidity analysis.
Enrolment denominators and indicators. The official numbers of enrolled students, total and girls, for each year were provided by the registrar’s office (Table 1; Supplementary Table S1). “Consultations per 100 enrolled students” was calculated as the number of consultations of the year divided by the official enrolment of the same year, multiplied by 100. This indicator describes the volume of consultations relative to enrolment; it is neither the proportion of students who consulted nor an incidence, and it can exceed 100 when students consult several times. Rates by sex used the number of enrolled boys and girls as denominators. A student-level utilisation rate and incidence could not be calculated because the tables are aggregated and new cases cannot be distinguished from repeat consultations.
| Year (period) | Enrolled students (n) | All consultations (n) | Consultations (per 100 enrolled) | Family planning (n (%)) | Morbidity consultations (n) | Morbidity consultations (per 100 enrolled) |
|---|---|---|---|---|---|---|
| 2023 (Jan–Dec) | 2,106 | 5,671 | 269.3 | 2,242 (39.5) | 3,429 | 162.8 |
| 2024 (Jan–Dec) | 2,029 | 2,874 | 141.6 | 1,543 (53.7) | 1,331 | 65.6 |
| 2025 (Jan–Dec) | 2,839 | 1,335 | 47.0 | 150 (11.2) | 1,185 | 41.7 |
| 2026 (to 19 June) | 3,734 | 1,356 | 36.3 | 246 (18.1) | 1,110 | 29.7 |
| Total | – | 11,236 | – | 4,181 (37.2) | 7,055 | – |
Consultations per 100 enrolled = consultations of the year / official enrolment of the same year × 100: neither the proportion of students who consulted nor an incidence (repeat consultations are counted). The 2026 figures cover 1 January–19 June only and are not directly comparable with full years. Family planning = condom distribution. Source of enrolment: registrar’s office.
Statistical analysis. Data were described as counts and proportions. The proportion of a category was the number of consultations classified in that category divided by the total number of morbidity consultations analysed for the same period, multiplied by 100, with 95% confidence intervals by the Wilson method. Trends in proportions from 2023 to 2026 were tested with the Cochran-Armitage test for trend and homogeneity of the sex and age distributions across years with the chi-square test (two-sided p<0.05). P values of the trend tests were adjusted for the 14 categories tested with the Holm method. Confidence intervals of the numbers of consultations per 100 enrolled students were calculated with the Poisson distribution. Rates per enrolled student in 2025 were compared with 2023 (full years) by rate ratios with Wald 95% confidence intervals on the log scale, which assume independent consultations and are therefore too narrow when students consult repeatedly. The share of men among consultations was compared with their share of enrolment with an exact binomial test. Concentration of the case-mix was described with the Shannon and Simpson indices. In sensitivity analyses, family planning was kept in the denominator, and the denominator was restricted to the diagnostic categories. Because 2026 covers 1 January to 19 June, its counts and rates per enrolled student are not directly comparable with those of full years. In the absence of data to check them, no causal explanation of the variations was tested. Analyses were performed with Python 3 (pandas, SciPy) and were repeated independently from the source workbook with a second script; both gave identical results. The scripts are provided in Supplementary Data S4.
Ethical considerations. Data collection was formally authorised by the Vice-Dean for Research of the Faculty of Science and Technology of the authors’ university (Data Collection Authorisation Note; reference and date given on the title page). The study used only anonymised aggregated data from routine registers, without any contact with patients, so that no individual could be identified and individual informed consent was not applicable; formal approval by an ethics committee was not required. The study followed the principles of the Declaration of Helsinki, and data were handled anonymously and confidentially.
Results
Volume of activity. We recorded 11,236 consultations: 5,671 in 2023, 2,874 in 2024, 1,335 in 2025 and 1,356 from 1 January to 19 June 2026. Over the same period, official enrolment rose from 2,106 to 3,734 students (+77%) and the share of girls from 22.5% to 27.7%. Consultations per 100 enrolled students fell from 269.3 in 2023 to 141.6, 47.0 and 36.3 (to 19 June) (Table 1, Figure 1). Family planning accounted for 39.5%, 53.7%, 11.2% and 18.1% of consultations. After its exclusion, 7,055 morbidity consultations remained (3,429, 1,331, 1,185 and 1,110), that is 162.8, 65.6, 41.7 and 29.7 per 100 enrolled students.

Sex and age. Men accounted for 70% to 76% of morbidity consultations, close to their share of enrolment (72% to 78%), except in 2023, when they were under-represented (72.1% against 77.5%; p<0.001) (Table 2). Rates per 100 enrolled students were higher in women in 2023 (202.1 against 151.4 in men; rate ratio 1.33, 95% CI 1.24–1.44) and similar in both sexes in 2024 (65.7 and 65.6; 1.00, 0.88–1.14), then slightly higher in women in 2025 (1.07, 0.94–1.21) and 2026 (1.14, 1.00–1.29). Patients aged 18–24 years represented 54% to 62% of morbidity consultations, with a lowest proportion in 2025 (54.0%; p<0.001 for homogeneity across years). Lower abdominal pain was recorded only in women (47, 35, 100 and 104 consultations per year). Hypertension was almost exclusively found at 25–49 years (73 of 81 cases; the 8 younger patients were women in 2024); 54 cases were stage 1, 27 stage 2 and none stage 3.
| Year (period) | Men among enrolled (%) | Men among morbidity consultations (%) | Morbidity consultations (per 100 enrolled men) | Morbidity consultations (per 100 enrolled women) | Aged 18–24 years among morbidity consultations (%) |
|---|---|---|---|---|---|
| 2023 (Jan–Dec) | 77.5 | 72.1 | 151.4 | 202.1 | 61.9 |
| 2024 (Jan–Dec) | 75.9 | 75.8 | 65.6 | 65.7 | 61.5 |
| 2025 (Jan–Dec) | 73.3 | 72.1 | 41.0 | 43.7 | 54.0 |
| 2026 (to 19 June) | 72.3 | 69.7 | 28.7 | 32.5 | 61.0 |
Rates use the number of enrolled men and women of each year as denominators. Family planning excluded. 2026 covers 1 January–19 June only.
Case-mix. In 2023, gastritis (29.5%), malaria (27.6%) and acute respiratory infection (13.5%) represented 70.5% of morbidity consultations. In 2026 the leading categories were gastritis (14.1%), acute respiratory infection (12.2%), STI (9.5%), lower abdominal pain (9.4%) and dental caries (8.6%); malaria had fallen to 6.6% (Table 3).
| Category | 2023 (n (%)) | 2024 (n (%)) | 2025 (n (%)) | 2026 to 19 June (n (%)) | p for trenda | p, Holma |
|---|---|---|---|---|---|---|
| Diagnostic categories | ||||||
| Gastritis | 1,011 (29.5) | 246 (18.5) | 190 (16.0) | 156 (14.1) | <0.001 | <0.001 |
| Malaria | 945 (27.6) | 172 (12.9) | 173 (14.6) | 73 (6.6) | <0.001 | <0.001 |
| Acute respiratory infection | 462 (13.5) | 172 (12.9) | 190 (16.0) | 135 (12.2) | 0.97 | 1.00 |
| Intestinal helminthiasis | 223 (6.5) | 50 (3.8) | 73 (6.2) | 67 (6.0) | 0.51 | 1.00 |
| Diarrhoea without blood | 174 (5.1) | 52 (3.9) | 62 (5.2) | 67 (6.0) | 0.26 | 1.00 |
| Sexually transmitted infection | 149 (4.3) | 32 (2.4) | 80 (6.8) | 105 (9.5) | <0.001 | <0.001 |
| Road traffic injury | 112 (3.3) | 182 (13.7) | 136 (11.5) | 87 (7.8) | <0.001b | <0.001 |
| Hypertension | 44 (1.3) | 15 (1.1) | 9 (0.8) | 13 (1.2) | 0.39 | 1.00 |
| Conjunctivitis | 19 (0.6) | 10 (0.8) | 5 (0.4) | 5 (0.5) | 0.58 | 1.00 |
| Dental caries | 17 (0.5) | 72 (5.4) | 49 (4.1) | 95 (8.6) | <0.001 | <0.001 |
| Scabies | 11 (0.3) | 96 (7.2) | 42 (3.5) | 76 (6.8) | <0.001b | <0.001 |
| Complaints, referral and other categories | ||||||
| Referral | 113 (3.3) | 27 (2.0) | 26 (2.2) | 80 (7.2) | <0.001 | <0.001 |
| Other | 102 (3.0) | 170 (12.8) | 50 (4.2) | 47 (4.2) | 0.04b | 0.25 |
| Lower abdominal painc | 47 (1.4) | 35 (2.6) | 100 (8.4) | 104 (9.4) | <0.001 | <0.001 |
| Total morbidity consultations | 3,429 | 1,331 | 1,185 | 1,110 | – | – |
aCochran-Armitage test for trend, two-sided; Holm = adjusted for the 14 categories tested. bNon-monotonic evolution (peak in 2024): interpret with caution. cRecorded in women only. Percentages are of morbidity consultations of the year. No delivery was recorded in any year. 2026 covers 1 January–19 June only.
Temporal trends. Between 2023 and 2026, malaria decreased from 27.6% to 6.6% of morbidity consultations and gastritis from 29.5% to 14.1% (both p<0.001), whereas STI increased from 4.3% to 9.5% and dental caries from 0.5% to 8.6% (both p<0.001); acute respiratory infection was stable (13.5% to 12.2%) (Figure 2). The proportion of scabies also increased (0.3% to 6.8%, p<0.001) (Table 3). The proportions of acute respiratory infection, helminthiasis, diarrhoea, hypertension and conjunctivitis were stable. Among the complaint-based and other categories, lower abdominal pain and referral increased (both p<0.001). Road traffic injuries, scabies and the “other” category peaked in 2024 and the trend test must be read with caution for them; after Holm correction the trend of the “other” category was no longer significant (adjusted p=0.25). Malaria fell mainly between 2023 and 2024 (27.6% to 12.9%), was stable between the two full years 2024 and 2025 (12.9% and 14.6%) and was lower in the 2026 period (to 19 June) (6.6%). The share of malaria cases aged 18–24 years varied widely (77.4%, 57.0%, 30.1% and 71.2%).

Per enrolled student. Expressed per 100 enrolled students, consultations decreased for most categories between 2023 and 2026: malaria from 44.9 to 2.0, gastritis from 48.0 to 4.2, acute respiratory infection from 21.9 to 3.6 and STI from 7.1 to 2.8 (1.6 in 2024). Dental caries (0.8 to 2.5) and scabies (0.5 to 2.0) were higher in 2026 than in 2023 despite the shorter period (Table 4). Comparing the full years 2025 and 2023, consultations per enrolled student were lower for malaria and gastritis (rate ratio 0.14, 95% CI 0.12–0.16 for both), acute respiratory infection (0.31, 0.26–0.36) and STI (0.40, 0.30–0.52), unchanged for road traffic injuries (0.90, 0.70–1.16), and higher for dental caries (2.14, 1.23–3.71), scabies (2.83, 1.46–5.50) and lower abdominal pain (1.58, 1.12–2.23) (Table 4, Figure 3). Concentration of the case-mix. The three leading categories accounted for 70.5%, 45.1%, 46.7% and 35.7% of morbidity consultations in 2023, 2024, 2025 and 2026, and the Shannon index rose from 1.97 to 2.49. Sensitivity analyses. When family planning was kept in the denominator, malaria and gastritis still decreased and STI, dental caries, scabies and lower abdominal pain still increased as proportions, but acute respiratory infection (p<0.001), diarrhoea (p<0.001) and helminthiasis (p=0.04) then showed increasing trends: the stability of these three categories depends on the choice of the denominator.
| Category | 2023 (per 100 enrolled) | 2024 (per 100 enrolled) | 2025 (per 100 enrolled) | 2026 to 19 June (per 100 enrolled) | Rate ratio 2025 vs 2023 (95% CI) | p, Holma |
|---|---|---|---|---|---|---|
| Diagnoses recorded | ||||||
| Malaria | 44.9 | 8.5 | 6.1 | 2.0 | 0.14 (0.12–0.16) | <0.001 |
| Gastritis | 48.0 | 12.1 | 6.7 | 4.2 | 0.14 (0.12–0.16) | <0.001 |
| Acute respiratory infection | 21.9 | 8.5 | 6.7 | 3.6 | 0.31 (0.26–0.36) | <0.001 |
| Intestinal helminthiasis | 10.6 | 2.5 | 2.6 | 1.8 | 0.24 (0.19–0.32) | <0.001 |
| Diarrhoea without blood | 8.3 | 2.6 | 2.2 | 1.8 | 0.26 (0.20–0.35) | <0.001 |
| Sexually transmitted infection | 7.1 | 1.6 | 2.8 | 2.8 | 0.40 (0.30–0.52) | <0.001 |
| Road traffic injury | 5.3 | 9.0 | 4.8 | 2.3 | 0.90 (0.70–1.16) | 0.41 |
| Hypertension | 2.1 | 0.7 | 0.3 | 0.3 | 0.15 (0.07–0.31) | <0.001 |
| Conjunctivitis | 0.9 | 0.5 | 0.2 | 0.1 | 0.20 (0.07–0.52) | 0.006 |
| Dental caries | 0.8 | 3.5 | 1.7 | 2.5 | 2.14 (1.23–3.71) | 0.02 |
| Scabies | 0.5 | 4.7 | 1.5 | 2.0 | 2.83 (1.46–5.50) | 0.008 |
| Complaints, referral and other categories | ||||||
| Lower abdominal pain | 2.2 | 1.7 | 3.5 | 2.8 | 1.58 (1.12–2.23) | 0.02 |
| Referral | 5.4 | 1.3 | 0.9 | 2.1 | 0.17 (0.11–0.26) | <0.001 |
| Other | 4.8 | 8.4 | 1.8 | 1.3 | 0.36 (0.26–0.51) | <0.001 |
Rate ratio of consultations per enrolled student between the two full years 2025 and 2023; Wald 95% confidence interval on the log scale, which assumes independent consultations and is too narrow if students consult repeatedly. ap adjusted by the Holm method over 14 categories. 2026 = 1 January–19 June only. Family planning excluded.

Discussion
The main finding of this four-year series from the university infirmary of Labé is the fall in the number of consultations relative to enrolment, from 269 to 36 consultations per 100 enrolled students, while enrolment increased by 77%. Thus, the decrease is not explained by fewer students. The reduction in nursing staff from five to three nurses in the 2023–2024 academic year may explain part of this fall, through a lower capacity to receive and record patients. Indeed, it coincides with the first large fall (from 162.8 to 65.6 morbidity consultations per 100 enrolled students between 2023 and 2024), since the calendar year 2023 combines five nurses until June and three from October. However, we did not test this explanation, and the decrease continued in 2025 and 2026 with a stable staff of three. The registers cannot show whether students consulted less, were seen less or were recorded less. The case-mix also became less concentrated: the three leading categories fell from 70.5% to 35.7% of morbidity consultations, and malaria and gastritis, the two leading reasons for consultation in 2023 (57.0% together), represented 20.6% in 2026.
Comparison with other campus services. Campus clinics in West Africa also report a predominance of infectious diseases. Infectious and parasitic diseases represented 22% to 31% and respiratory conditions 14% to 20% of attendances at the students’ clinic of a university in Kumasi, Ghana,[1] and malaria (51.1%) and respiratory tract infections (47.3%) were the commonest morbidities among law students attending a private university clinic in Nigeria.[2] Injuries and respiratory infections were also prominent at the University of Zimbabwe students’ health centre,[4] as road traffic injuries were in Labé (3.3% to 13.7%). The Labé profile in 2023 (malaria 27.6%, acute respiratory infection 13.5%) follows the same general pattern. However, proportions are not directly comparable between studies: the Nigerian percentages sum to more than 100% because several diagnoses could be recorded per patient, and classifications differ.
Malaria. The proportion of malaria fell mainly between 2023 and 2024 and was stable between the two full years 2024 and 2025 (12.9% and 14.6%). All cases were confirmed by a rapid test, so the fall is not explained by a change in the use of presumptive diagnoses. In Guinea, health-facility data show a high-transmission season from July to December, with a peak in August and September, and a low-transmission season from January to May,[13] and a cohort in rural Guinea also found that malaria infection varied with the season.[14] The infirmary is closed from July to the beginning of October, at the end of the academic year. The peak of transmission is therefore outside the observation period in every year, and the consultations described here cover the end of the high-transmission season (October to December) and the low-transmission season (January to June). This does not bias the comparison between years, since the same months are observed each year, but the figures cannot be extrapolated to the whole calendar year or to the burden of malaria among students at the height of the rainy season. We could not analyse seasonality because the tables are annual, although consultation dates are available in the registers. In addition, transmission is lower in parts of Middle Guinea than elsewhere: asymptomatic rapid-test positivity was 2.1% in Dalaba in 2023, against 60.9% in Forest Guinea,[12] and seasonal malaria chemoprevention in children under five lowered test positivity in the districts where it was implemented.[13] Finally, the wide variation in the age profile of malaria cases (77% aged 18–24 years in 2023 against 30% in 2025) suggests that the case-mix or the recording may have changed.
Gastritis. Gastritis was the leading category in 2023 (29.5% of morbidity consultations) and remained the leading diagnosis in 2026 (14.1%). It is a clinical diagnosis based on the typical complaint of epigastric pain, and no confirmatory investigation is documented. The category therefore probably groups gastritis, peptic ulcer disease and functional dyspepsia. In a meta-analysis of studies from Africa, the pooled prevalence of peptic ulcer disease was 15.2% and was highest in West Africa (19%),[15] and Helicobacter pylori infection, the main cause of chronic gastritis, affected about half of the populations studied in East Africa.[16] These figures concern other populations and cannot be transposed to students in Labé. However, they make a persistent burden of upper digestive disorders plausible, and the fall of gastritis from 48.0 to 4.2 consultations per 100 enrolled students should not be read as a fall in disease.
STI and condom distribution. The proportion of STI rose from 4.3% to 9.5%, while family planning consultations, essentially condom distribution, fell from 2,242 in 2023 to 150 in 2025 and 246 in 2026. Per enrolled student, however, STI consultations decreased (7.1 in 2023, 1.6 in 2024, 2.8 in 2025 and 2.8 in the 2026 period (to 19 June)). The rise in proportion mainly reflects the fall of other categories, and only the increase since 2024 is compatible with a real rise. The nurses diagnosed STI clinically, with pain on urination as the typical complaint, and without laboratory confirmation; the category therefore reflects syndromic management rather than aetiological diagnosis. Non-use of condoms is associated with STI among students in Ethiopia,[5,6] and unavailability of condoms is a reason for inconsistent use in Nigerian universities,[7] but our registers cannot show a link between condom distribution and STI. In a survey of secondary-school students aged 10 to 19 years in Conakry, among the 226 students who reported sexual intercourse, 16.4% had used condoms and 23.5% reported a sexually transmitted infection.[17] The proportions we found describe consultants and are not comparable with prevalences of 10.8% to 18.2% measured in student surveys.[5][6][8] The number of condoms distributed in 2025 (150) was checked against the tally book.
Other findings. Dental caries and scabies were more frequent in 2026 than in 2023, even per enrolled student, which may indicate unmet needs in oral health and in hygiene or collective living conditions. Scabies is a recognised problem among children and adolescents in Africa (pooled prevalence 5.7%) and is associated with poverty-related factors such as large household size, shared bedding and rural residence,[18] conditions that may also apply to student housing, although we could not assess this. Dental caries was found in 41% of the people examined in a pooled analysis of studies in Ethiopia,[19] but we found no comparable data for students in Guinea. The 7.2% of referrals in 2026 may reflect the limits of the technical capacity of the infirmary. Hypertension, which affects about 27% of adults in sub-Saharan Africa,[20] was rare in this young population (1.2% in 2026) but was recorded every year, mostly at 25–49 years, and 17 of the 44 cases (39%) were at stage 2 in 2023. This would support blood pressure screening in this population. Lower abdominal pain, recorded only in women, may correspond to genital infections or gynaecological conditions, and a specific diagnostic approach is needed. The male predominance among consultants mirrors the composition of the student body from 2024 onwards. In 2023, women consulted more often than men relative to their numbers (rate ratio 1.33); rates per enrolled student were similar in both sexes in 2024 and slightly higher in women in 2025 and 2026.
Limitations. First, the unit of analysis is the consultation: repeated consultations were kept, students could not be identified, and neither a utilisation rate nor an incidence could be calculated. Second, the tables were compiled from registers that may be incomplete; only malaria was confirmed by a test (RDT); the other categories, including STI, are clinical diagnoses by nurses without confirmation, with possible misclassification, and the tables do not document the other diagnostic criteria. Third, the “other” and “referral” categories are not informative and some categories (lower abdominal pain) are complaints rather than diagnoses. Fourth, the reduction in nursing staff from five to three nurses may have changed the capacity to receive and record consultations over the study period, and its effect could not be separated from a change in demand. Fifth, 2026 covers 1 January to 19 June only, and the infirmary is closed from July to the beginning of October in every year, so that seasonal variation, in particular of malaria, could not be studied. Sixth, data are aggregated, so adjustment for confounders and analysis by patient were impossible, and the trend test assumes a monotonic evolution that does not hold for categories peaking in 2024. Finally, the data come from a single infirmary and cannot be generalised to all university students or to other universities.
Conclusions. Between January 2023 and June 2026, the number of consultations at the university infirmary of Labé fell sharply relative to enrolment, and the case-mix moved from a predominance of malaria and gastritis to a more diverse pattern that includes STI, dental caries and scabies. These findings suggest a need for sexual and reproductive health services with a stable supply of condoms, for oral health and hygiene measures, and for blood pressure screening. We recommend individual records with standard diagnostic definitions, documented test results and monthly data, so that future studies can analyse incidence, utilisation rates and seasonality.
Declarations
Ethics approval and consent to participate: Data Collection Authorisation Note No. 043/UL/FST/VD-R/2026, dated 15 June 2026, issued by the Vice-Dean for Research of the Faculty of Science and Technology, University of Labé. The study was conducted in accordance with the principles of the Declaration of Helsinki. The study used only anonymised aggregated data from routine registers, without contact with patients: individual informed consent was therefore not applicable, no ethics committee approval was required, and data were handled anonymously and confidentially.
Consent for publication: Not applicable (no identifiable individual data or images are presented).
Conflict of interest: The authors declare no conflict of interest.
Funding: The research received no specific funding. Abdoul DIABY, Mohamed Chérif SOW, Moussa DIAKITE, Mamadou Baïlo BARRY, Abdoulaye Oury BARRY and Eric GHIGO are employees of the Ministry of Higher Education, Scientific Research and Innovation (MESRSI) of Guinea.
Data availability: The aggregated data and the Python analysis scripts supporting the findings are provided as Supplementary Tables S1–S3 and Supplementary Data S4 of the manuscript.
Use of Artificial Intelligence (AI) tools: During the preparation of this manuscript, the authors used an AI-based large language model assistant (Claude, Anthropic) to assist with statistical data analysis, checking of references, and English-language editing of the text; all AI-assisted output was reviewed and verified against the source data by the authors, who take full responsibility for the content. No AI tool is credited as an author.
Author contributions: Abdoul DIABY: conceptualisation, data collection, formal analysis, writing – original draft. Eric GHIGO and Abdoulaye Oury BARRY: data analysis and interpretation, writing – review and editing. Mohamed Chérif SOW, Moussa DIAKITE and Mamadou Baïlo BARRY: review of the manuscript. Abdoulaye Oury BARRY and Eric GHIGO: supervision, conceptualisation, writing – review and editing. Eric GHIGO: corresponding author. All authors read and approved the final manuscript and meet the ICMJE authorship criteria.
Acknowledgements
Not applicable.
References
- Ampah BA, Opoku DA, Sackeya E, Ayisi-Boateng NK, Konadu E, Addae M, et al. Profiling disease patterns using ICD-11 at a university hospital in Ghana: a retrospective analysis of cross-sectional data from 2018 to 2021. Health Sci Rep. 2026;9(4):e72366. DOI ↗ Google Scholar ↗
- Ojo TO, Owoseni MO, Abiodun O, Bamidele EF, Sodeinde K, Ogunkoya JO, et al. A review of morbidity pattern among undergraduate law students that accessed healthcare at a private university clinic in South-west, Nigeria. J Community Med Prim Health Care. 2022;34(1):69-80. DOI ↗ Google Scholar ↗
- Onoh CC, Aguocha JK, Osuagwu IK, Amadi CO, Akalonu GI, Nwabueze RN. Magnitude and pattern of disease presentation among students in Federal University of Technology Owerri Nigeria. IOSR J Dent Med Sci. 2017;16(3 Ver. IX):116-21. DOI ↗ Google Scholar ↗
- Madzingira N. Morbidity pattern and disease prevalence: a case of the University of Zimbabwe Students Health Centre. Cent Afr J Med. 1995;41(6):187-92. DOI ↗ Google Scholar ↗
- Bogale EK, Anagaw TF, Tiruneh MG, Fenta ET, Endeshaw D, Delie AM, et al. Prevalence of sexually transmitted infections, and its associated factors among students in Ethiopia: a systematic review and meta-analysis study. BMC Public Health. 2024;24(1):1976. DOI ↗ Google Scholar ↗
- Kassie BA, Yenus H, Berhe R, Kassahun EA. Prevalence of sexually transmitted infections and associated factors among the University of Gondar students, Northwest Ethiopia: a cross-sectional study. Reprod Health. 2019;16(1):163. DOI ↗ Google Scholar ↗
- Ajayi AI, Ismail KO, Akpan W. Factors associated with consistent condom use: a cross-sectional survey of two Nigerian universities. BMC Public Health. 2019;19(1):1207. DOI ↗ Google Scholar ↗
- Darré T, Saka B, Walla A, Ekouévi KD, Folligan K. Sexuality, sexually transmitted infections and contraception among health sciences students in university of Lomé, Togo. BMC Res Notes. 2018;11(1):808. DOI ↗ Google Scholar ↗
- Kaba S, Diallo MDD, Conté F. Level, trends and factors associated with early seeking care for children under five with a fever in Guinea. Parasite Epidemiol Control. 2025;31:e00459. DOI ↗ Google Scholar ↗
- Beavogui AH, Delamou A, Camara BS, Camara D, Kourouma K, Camara R, et al. Prevalence of malaria and factors associated with infection in children aged 6 months to 9 years in Guinea: results from a national cross-sectional study. Parasite Epidemiol Control. 2020;11:e00162. DOI ↗ Google Scholar ↗
- Toure AA, Sidibe S, Colombe S, Magassouba AS, Paviotti A, Kreppel K, et al. The gap between having and using: socioeconomic inequalities in long-lasting insecticidal net coverage among children and adolescents in rural Guinea. Trop Med Health. 2026;54(1). DOI ↗ Google Scholar ↗
- Hammer CC, Diallo MD, Kann B, Sanoh F, Leno TN, Mansare O, et al. High prevalence of asymptomatic malaria in Forest Guinea: results from a rapid community survey. Epidemiol Infect. 2023;152:e1. DOI ↗ Google Scholar ↗
- Bisanzio D, Keita MS, Camara A, Guilavogui T, Diallo T, Barry H, et al. Malaria trends in districts that were targeted and not-targeted for seasonal malaria chemoprevention in children under 5 years of age in Guinea, 2014–2021. BMJ Glob Health. 2024;9(2):e013898. DOI ↗ Google Scholar ↗
- Toure AA, Sidibe S, Magassouba AS, Beavogui AH, Conde M, Toure AF, et al. Inequity in the transmission of malaria infection among children and adolescents: a cohort study in rural Guinea. Sci Rep. 2025;15(1):29881. DOI ↗ Google Scholar ↗
- Abdu SM, Assefa EM, Abdu H. Prevalence and patterns of peptic ulcer disease in Africa: a systematic review and meta-analysis. BMC Gastroenterol. 2025;25(1):298. DOI ↗ Google Scholar ↗
- Mnichil Z, Nibret E, Hailegebriel T, Demelash M, Mekonnen D. Prevalence and associated risk factors of Helicobacter pylori infection in East Africa: a systematic review and meta-analysis. Braz J Microbiol. 2024;55(1):51-64. DOI ↗ Google Scholar ↗
- Diallo A, Diallo Y, Magassouba AS, Bah IK, Sy T. [Sexual intercourse among students in Matoto, Conakry, Guinea]. Pan Afr Med J. 2020;35:113. DOI ↗ Google Scholar ↗
- Ahmed Z, Ismail K, Visser WI. Prevalence and risk factors of scabies in children and adolescents in Africa: a systematic review with meta-analysis. Int J Infect Dis. 2026;171:109002. DOI ↗ Google Scholar ↗
- Zewdu T, Abu D, Agajie M, Sahilu T. Dental caries and associated factors in Ethiopia: systematic review and meta-analysis. Environ Health Prev Med. 2021;26(1):21. DOI ↗ Google Scholar ↗
- Kakoma PK, Muyumba EK, Mukuku O, Musung JM, Banze JPM, Lisasi GK, et al. Prevalence and associated factors of hypertension among adults in Sub-Saharan Africa: a systematic review and meta-analysis of community-based studies. BMC Cardiovasc Disord. 2026;26(1). DOI ↗ Google Scholar ↗
Appendix
Supplementary data
These supplementary tables give the cleaned aggregated data on which all analyses of the manuscript are based. The data are the annual consultation tables of the university infirmary of Labé, compiled by the nurses from the consultation register, and the official enrolment figures of the registrar’s office. The unit is the consultation; repeat consultations by the same student cannot be identified. No individual data and no personal identifier are included. Malaria cases were all confirmed by a rapid diagnostic test; the other categories, including sexually transmitted infection, are clinical diagnoses made by nurses. Family planning is condom distribution. The same data, with one row per year, category, sex and age group, are available in a spreadsheet and in CSV format.
| Year | Period covered | Enrolled students (n) | Girls (n) | Boys (n) | Girls (%) |
|---|---|---|---|---|---|
| 2023 | 1 Jan–31 Dec 2023 | 2,106 | 473 | 1,633 | 22.5 |
| 2024 | 1 Jan–31 Dec 2024 | 2,029 | 490 | 1,539 | 24.1 |
| 2025 | 1 Jan–31 Dec 2025 | 2,839 | 757 | 2,082 | 26.7 |
| 2026 | 1 Jan–19 Jun 2026 | 3,734 | 1,033 | 2,701 | 27.7 |
Source: registrar’s office, University of Labé.
| Year | All consultations (n) | Family planning (n) | Delivery (n) | Morbidity consultations (n) |
|---|---|---|---|---|
| 2023 | 5,671 | 2,242 | 0 | 3,429 |
| 2024 | 2,874 | 1,543 | 0 | 1,331 |
| 2025 | 1,335 | 150 | 0 | 1,185 |
| 2026 | 1,356 | 246 | 0 | 1,110 |
| Total | 11,236 | 4,181 | 0 | 7,055 |
Morbidity consultations = all consultations minus family planning and delivery. 2026 covers 1 January–19 June only.
| Category | Year | Men 18–24 years (n) | Men 25–49 years (n) | Women 18–24 years (n) | Women 25–49 years (n) | Total (n) |
|---|---|---|---|---|---|---|
| Malaria | 2023 | 549 | 169 | 182 | 45 | 945 |
| 2024 | 78 | 49 | 20 | 25 | 172 | |
| 2025 | 38 | 100 | 14 | 21 | 173 | |
| 2026 | 45 | 18 | 7 | 3 | 73 | |
| Gastritis | 2023 | 456 | 288 | 156 | 111 | 1,011 |
| 2024 | 165 | 48 | 29 | 4 | 246 | |
| 2025 | 55 | 96 | 23 | 16 | 190 | |
| 2026 | 70 | 35 | 28 | 23 | 156 | |
| Acute respiratory infection | 2023 | 187 | 125 | 95 | 55 | 462 |
| 2024 | 89 | 57 | 10 | 16 | 172 | |
| 2025 | 79 | 69 | 18 | 24 | 190 | |
| 2026 | 52 | 42 | 25 | 16 | 135 | |
| Intestinal helminthiasis | 2023 | 99 | 59 | 45 | 20 | 223 |
| 2024 | 39 | 3 | 8 | 0 | 50 | |
| 2025 | 37 | 19 | 10 | 7 | 73 | |
| 2026 | 35 | 15 | 13 | 4 | 67 | |
| Diarrhoea without blood | 2023 | 59 | 82 | 19 | 14 | 174 |
| 2024 | 22 | 15 | 6 | 9 | 52 | |
| 2025 | 19 | 28 | 6 | 9 | 62 | |
| 2026 | 40 | 10 | 12 | 5 | 67 | |
| Sexually transmitted infection | 2023 | 99 | 19 | 28 | 3 | 149 |
| 2024 | 8 | 17 | 3 | 4 | 32 | |
| 2025 | 37 | 20 | 18 | 5 | 80 | |
| 2026 | 38 | 47 | 11 | 9 | 105 | |
| Road traffic injury | 2023 | 26 | 49 | 8 | 29 | 112 |
| 2024 | 66 | 78 | 23 | 15 | 182 | |
| 2025 | 88 | 30 | 14 | 4 | 136 | |
| 2026 | 27 | 48 | 2 | 10 | 87 | |
| Hypertension | 2023 | 0 | 12 | 0 | 32 | 44 |
| 2024 | 0 | 2 | 8 | 5 | 15 | |
| 2025 | 0 | 5 | 0 | 4 | 9 | |
| 2026 | 0 | 10 | 0 | 3 | 13 | |
| Conjunctivitis | 2023 | 8 | 5 | 4 | 2 | 19 |
| 2024 | 5 | 2 | 2 | 1 | 10 | |
| 2025 | 2 | 2 | 0 | 1 | 5 | |
| 2026 | 2 | 2 | 0 | 1 | 5 | |
| Dental caries | 2023 | 5 | 6 | 2 | 4 | 17 |
| 2024 | 36 | 13 | 18 | 5 | 72 | |
| 2025 | 12 | 27 | 6 | 4 | 49 | |
| 2026 | 39 | 39 | 9 | 8 | 95 | |
| Scabies | 2023 | 1 | 7 | 1 | 2 | 11 |
| 2024 | 37 | 36 | 5 | 18 | 96 | |
| 2025 | 29 | 4 | 8 | 1 | 42 | |
| 2026 | 32 | 27 | 8 | 9 | 76 | |
| Lower abdominal pain | 2023 | 0 | 0 | 35 | 12 | 47 |
| 2024 | 0 | 0 | 25 | 10 | 35 | |
| 2025 | 0 | 0 | 77 | 23 | 100 | |
| 2026 | 0 | 0 | 85 | 19 | 104 | |
| Referral | 2023 | 15 | 83 | 3 | 12 | 113 |
| 2024 | 12 | 5 | 8 | 2 | 27 | |
| 2025 | 14 | 6 | 4 | 2 | 26 | |
| 2026 | 60 | 6 | 12 | 2 | 80 | |
| Other | 2023 | 27 | 38 | 15 | 22 | 102 |
| 2024 | 72 | 55 | 25 | 18 | 170 | |
| 2025 | 24 | 14 | 8 | 4 | 50 | |
| 2026 | 16 | 19 | 9 | 3 | 47 | |
| Family planning | 2023 | 457 | 882 | 415 | 488 | 2,242 |
| 2024 | 598 | 328 | 385 | 232 | 1,543 | |
| 2025 | 89 | 22 | 31 | 8 | 150 | |
| 2026 | 85 | 98 | 20 | 43 | 246 | |
| Delivery | 2023 | 0 | 0 | 0 | 0 | 0 |
| 2024 | 0 | 0 | 0 | 0 | 0 | |
| 2025 | 0 | 0 | 0 | 0 | 0 | |
| 2026 | 0 | 0 | 0 | 0 | 0 | |
| All categories | 2023 | 1,988 | 1,824 | 1,008 | 851 | 5,671 |
| 2024 | 1,227 | 708 | 575 | 364 | 2,874 | |
| 2025 | 523 | 442 | 237 | 133 | 1,335 | |
| 2026 | 541 | 416 | 241 | 158 | 1,356 |
Age groups in years. Lower abdominal pain was recorded in women only; no delivery was recorded in any year. 2026 covers 1 January–19 June only. The totals of all categories equal the numbers of consultations of Supplementary Table S2.
Supplementary Data S4: Analysis scripts (Python 3)
All statistics reported in the manuscript were computed with the two Python 3 scripts below (packages: numpy, pandas, scipy, openpyxl). Script 1 reads the source workbook and performs all analyses: category shares, Cochran–Armitage trend tests, Wilson confidence intervals, chi-square tests, Holm correction over 14 categories, rate ratios per 100 enrolled students with Wald confidence intervals, exact binomial test, Shannon and Simpson diversity indices and sensitivity analyses. Script 2 independently recomputes the headline figures directly from the source workbook as a consistency check. Code comments are in French. Script 1 is run as: python analysis_v2.py source_workbook.xlsx v2.
Script 1: analysis_v2.py
#!/usr/bin/env python3
"""Analyse INDÉPENDANTE (v2) : repart uniquement du classeur source source_workbook.xlsx + effectifs de la scolarité.
N'utilise ni le manuscrit ni results/. Usage : python analysis_v2.py source_workbook.xlsx v2"""
import sys, json, math, openpyxl, numpy as np, pandas as pd
from scipy import stats
src, out = sys.argv[1], sys.argv[2]
YEARS = [2023, 2024, 2025, 2026]
SHEET = {2023: "2023", 2024: "20241", 2025: "20251", 2026: "20261"}
ENROL = {2023: (2106, 473), 2024: (2029, 490), 2025: (2839, 757), 2026: (3734, 1033)}
EN = {"Paludisme": "Malaria", "Gastrite": "Gastritis", "Helmintiase": "Intestinal helminthiasis",
"Hyper Tension Arterielle": "Hypertension", "Infection Respiratoire Aigue(I,R,A)": "Acute respiratory infection",
"Gale": "Scabies", "Accident voie publique": "Road traffic injury", "IST": "Sexually transmitted infection",
"Conjonctvite": "Conjunctivitis", "Carie dentaire": "Dental caries", "Planification familiale": "Family planning",
"Douleur abdominale basse": "Lower abdominal pain", "Autres": "Other", "Diarrhée non sanglant": "Diarrhoea without blood",
"Accouchement": "Delivery", "Reféré": "Referral"}
DIAG = ["Malaria", "Gastritis", "Acute respiratory infection", "Intestinal helminthiasis", "Diarrhoea without blood",
"Sexually transmitted infection", "Road traffic injury", "Hypertension", "Conjunctivitis", "Dental caries", "Scabies"]
OTHER = ["Lower abdominal pain", "Referral", "Other"]
# ---------- lecture directe du classeur ----------
wb = openpyxl.load_workbook(src, data_only=True)
rows = []
for y in YEARS:
ws = wb[SHEET[y]]; inter = ws.max_column >= 16
for r in ws.iter_rows(values_only=True):
name = r[0]
if not name or not isinstance(r[1], (int, float)) or str(name).strip() in ("TOTAL", "Pathologie"): continue
c = [r[5], r[7], r[9], r[11], r[13], r[15]] if inter else [r[4], r[5], r[6], r[7], r[8], r[9]]
c = [int(v or 0) for v in c]
cat = EN[str(name).strip()]
for sex, age, n in (("M", "18-24", c[2]), ("M", "25-49", c[3]), ("F", "18-24", c[4]), ("F", "25-49", c[5])):
rows.append((y, cat, sex, age, n))
d = pd.DataFrame(rows, columns=["year", "cat", "sex", "age", "n"])
d.to_csv(f"{out}/raw_long_v2.csv", index=False)
E = pd.Series({y: ENROL[y][0] for y in YEARS}); G = pd.Series({y: ENROL[y][1] for y in YEARS}); B = E - G
# ---------- outils statistiques ----------
def wilson(x, n, z=1.959964):
if n == 0: return (np.nan, np.nan)
p = x / n; den = 1 + z * z / n
c = (p + z * z / (2 * n)) / den; h = z * math.sqrt(p * (1 - p) / n + z * z / (4 * n * n)) / den
return (100 * (c - h), 100 * (c + h))
def pois_ci(x, alpha=0.05):
lo = 0 if x == 0 else stats.chi2.ppf(alpha / 2, 2 * x) / 2
return lo, stats.chi2.ppf(1 - alpha / 2, 2 * (x + 1)) / 2
def cochran_armitage(x, n, scores=None):
x = np.asarray(x, float); n = np.asarray(n, float); k = len(x); w = np.arange(k) if scores is None else np.asarray(scores, float)
N = n.sum(); p = x.sum() / N
if p in (0, 1): return (np.nan, np.nan)
t = (w * (x - n * p)).sum(); v = p * (1 - p) * ((n * w * w).sum() - (n * w).sum() ** 2 / N)
z = t / math.sqrt(v); return z, 2 * stats.norm.sf(abs(z))
def holm(p):
p = np.asarray(p, float); o = np.argsort(p); m = len(p); adj = np.empty(m); run = 0
for i, idx in enumerate(o): run = max(run, (m - i) * p[idx]); adj[idx] = min(1, run)
return adj
def rr_ci(a1, e1, a0, e0):
"""Rate ratio (période 1 / période 0) pour 100 inscrits ; IC95 % log-normal ; p de Wald."""
if a1 == 0 or a0 == 0: return (np.nan,) * 4
rr = (a1 / e1) / (a0 / e0); se = math.sqrt(1 / a1 + 1 / a0)
z = math.log(rr) / se
return rr, rr * math.exp(-1.959964 * se), rr * math.exp(1.959964 * se), 2 * stats.norm.sf(abs(z))
fmt_p = lambda p: "<0.001" if p < 0.001 else f"{p:.3f}" if p < 0.01 else f"{p:.2f}"
R = {}
# ---------- 1. Volume ----------
tot = d.groupby("year").n.sum(); fp = d[d.cat == "Family planning"].groupby("year").n.sum(); mo = tot - fp
vol = []
for y in YEARS:
lo, hi = pois_ci(int(tot[y])); lom, him = pois_ci(int(mo[y]))
vol.append(dict(year=y, enrolled=int(E[y]), girls=int(G[y]), girls_pct=round(100 * G[y] / E[y], 1), all=int(tot[y]),
per100=round(100 * tot[y] / E[y], 1), per100_lo=round(100 * lo / E[y], 1), per100_hi=round(100 * hi / E[y], 1),
fp=int(fp[y]), fp_pct=round(100 * fp[y] / tot[y], 1), morb=int(mo[y]), morb_per100=round(100 * mo[y] / E[y], 1),
morb_lo=round(100 * lom / E[y], 1), morb_hi=round(100 * him / E[y], 1)))
vol = pd.DataFrame(vol); vol.to_csv(f"{out}/t1_volume.csv", index=False)
rrv = {}
for y in (2024, 2025):
rrv[y] = dict(all=rr_ci(tot[y], E[y], tot[2023], E[2023]), morb=rr_ci(mo[y], E[y], mo[2023], E[2023]))
R["volume_rr_vs_2023"] = {str(k): {kk: [round(float(x), 4) for x in vv] for kk, vv in v.items()} for k, v in rrv.items()}
# ---------- 2. Catégories de morbidité ----------
m = d[d.cat != "Family planning"]
cnt = m.groupby(["cat", "year"]).n.sum().unstack().fillna(0).astype(int)
M = cnt.sum()
cat_rows = []
for c in DIAG + ["Delivery"] + OTHER:
x = cnt.loc[c, YEARS].values
if c == "Delivery": continue
z4, p4 = cochran_armitage(x, M[YEARS].values)
z3, p3 = cochran_armitage(x[:3], M[YEARS[:3]].values)
chi, pchi, *_ = stats.chi2_contingency(np.array([x, M[YEARS].values - x]))
rr, lo, hi, prr = rr_ci(x[2], E[2025], x[0], E[2023])
row = dict(cat=c, group="diagnosis" if c in DIAG else "complaint/other")
for y, xi in zip(YEARS, x):
l, h = wilson(xi, M[y]); row.update({f"n_{y}": int(xi), f"pct_{y}": round(100 * xi / M[y], 1), f"ci_{y}": f"{l:.1f}-{h:.1f}", f"per100_{y}": round(100 * xi / E[y], 2)})
row.update(z4=z4, p_trend4=p4, p_trend3_fullyears=p3, chi2=chi, p_chi2=pchi, rr_2025_vs_2023=rr, rr_lo=lo, rr_hi=hi, p_rr=prr,
diff_pct_2025_2023=round(100 * x[2] / M[2025] - 100 * x[0] / M[2023], 1))
cat_rows.append(row)
tc = pd.DataFrame(cat_rows)
tc["p_trend4_holm"] = holm(tc.p_trend4.values); tc["p_trend3_holm"] = holm(tc.p_trend3_fullyears.values); tc["p_rr_holm"] = holm(tc.p_rr.values)
tc.to_csv(f"{out}/t2_categories.csv", index=False)
# ---------- 3. Sexe et âge ----------
sx = []
for y in YEARS:
mm = m[m.year == y]; nm = int(mm[mm.sex == "M"].n.sum()); nf = int(mm[mm.sex == "F"].n.sum()); n = nm + nf
exp = B[y] / E[y]; pbin = stats.binomtest(nm, n, exp).pvalue
a = int(mm[mm.age == "18-24"].n.sum())
rr, lo, hi, p = rr_ci(nf, G[y], nm, B[y]) # femmes / hommes (par inscrit)
l, h = wilson(nm, n)
sx.append(dict(year=y, men_n=nm, women_n=nf, men_pct=round(100 * nm / n, 1), men_ci=f"{l:.1f}-{h:.1f}", men_enrolled_pct=round(100 * B[y] / E[y], 1),
p_binom_vs_enrolment=pbin, rate_men=round(100 * nm / B[y], 1), rate_women=round(100 * nf / G[y], 1),
rr_women_vs_men=rr, rr_lo=lo, rr_hi=hi, p_rr=p, age1824_n=a, age1824_pct=round(100 * a / n, 1), age_ci="%.1f-%.1f" % wilson(a, n)))
sx = pd.DataFrame(sx); sx.to_csv(f"{out}/t3_sex_age.csv", index=False)
men = [int(m[(m.year == y) & (m.sex == "M")].n.sum()) for y in YEARS]; a18 = [int(m[(m.year == y) & (m.age == "18-24")].n.sum()) for y in YEARS]
R["sex_trend"] = cochran_armitage(men, M[YEARS].values); R["age_trend"] = cochran_armitage(a18, M[YEARS].values)
R["age_chi2_p"] = stats.chi2_contingency(np.array([a18, M[YEARS].values - a18]))[1]
R["sex_chi2_p"] = stats.chi2_contingency(np.array([men, M[YEARS].values - men]))[1]
# paludisme : profil d'âge
mal = d[d.cat == "Malaria"].groupby(["year", "age"]).n.sum().unstack()
R["malaria_age_chi2_p"] = stats.chi2_contingency(mal.values)[1]
R["malaria_age_pct1824"] = (100 * mal["18-24"] / mal.sum(axis=1)).round(1).to_dict()
# ---------- 4. Structure d'ensemble : diversité ----------
div = []
for y in YEARS:
p = cnt.loc[DIAG + OTHER, y] / M[y]; p = p[p > 0]
div.append(dict(year=y, shannon=-(p * np.log(p)).sum(), simpson=1 - (p ** 2).sum(), top3_pct=100 * p.sort_values(ascending=False).head(3).sum(),
top2_pct=100 * p.sort_values(ascending=False).head(2).sum(), n_cat=len(p)))
div = pd.DataFrame(div); div.to_csv(f"{out}/t4_diversity.csv", index=False)
tab = cnt.loc[DIAG + OTHER, YEARS].values; chi, pchi, dof, _ = stats.chi2_contingency(tab)
R["structure_chi2"] = dict(chi2=chi, dof=int(dof), p=pchi, cramers_v=math.sqrt(chi / (tab.sum() * (min(tab.shape) - 1))))
t23 = cnt.loc[DIAG + OTHER, [2023, 2025]].values; c2, p2, d2, _ = stats.chi2_contingency(t23)
R["structure_2023_vs_2025"] = dict(chi2=c2, dof=int(d2), p=p2, cramers_v=math.sqrt(c2 / (t23.sum() * 1)))
# ---------- 5. Sensibilités ----------
sens = []
for c in DIAG:
x = cnt.loc[c, YEARS].values
dn = cnt.loc[DIAG, YEARS].sum().values # dénominateur = diagnostics seulement
af = M[YEARS].values + fp[YEARS].values # avec planification familiale
sens.append(dict(cat=c, p_trend_diag_only=cochran_armitage(x, dn)[1], p_trend_with_FP=cochran_armitage(x, af)[1],
pct2023_diag_only=round(100 * x[0] / dn[0], 1), pct2025_diag_only=round(100 * x[2] / dn[2], 1),
pct2023_withFP=round(100 * x[0] / af[0], 1), pct2025_withFP=round(100 * x[2] / af[2], 1)))
pd.DataFrame(sens).to_csv(f"{out}/t5_sensitivity.csv", index=False)
# ---------- 6. Hypertension : stades (notes du classeur) ----------
R["hta_stage"] = {"2023": (27, 17, 0), "2024": (9, 6, 0), "2025": (7, 2, 0), "2026": (11, 2, 0)}
R["hta_age_25_49"] = int(m[(m.cat == "Hypertension") & (m.age == "25-49")].n.sum()); R["hta_total"] = int(m[m.cat == "Hypertension"].n.sum())
R["totals"] = dict(all=int(tot.sum()), morb=int(mo.sum()), fp=int(fp.sum()))
json.dump(R, open(f"{out}/results_v2.json", "w"), default=lambda o: float(o) if isinstance(o, (np.floating, np.integer)) else str(o), indent=1)
print(vol.to_string()); print(tc[["cat", "n_2023", "n_2025", "n_2026", "pct_2023", "pct_2025", "pct_2026", "p_trend4", "p_trend4_holm", "rr_2025_vs_2023", "rr_lo", "rr_hi", "p_rr_holm"]].round(4).to_string())
print(sx.round(3).to_string()); print(div.round(3).to_string()); print(json.dumps(R["structure_chi2"]), json.dumps(R["structure_2023_vs_2025"]))
Script 2: verify_from_raw.py
#!/usr/bin/env python3
"""Contrôles indépendants à partir du classeur source source_workbook.xlsx (sans passer par results/).
Usage : python verify_from_raw.py source_workbook.xlsx"""
import sys, openpyxl, pandas as pd
wb = openpyxl.load_workbook(sys.argv[1], data_only=True)
YEARS = {2023: "2023", 2024: "20241", 2025: "20251", 2026: "20261"}
ALT = {2024: "2024", 2025: "2025", 2026: "2026"} # versions avec colonnes %, titrées 'Année 2023'
SKIP = {"TOTAL", None, "Pathologie"}
def parse(ws, interleaved):
rows = []
for r in ws.iter_rows(min_row=1, values_only=True):
name = r[0]
if name is None or str(name).startswith(("Année", "Population", "NB", "H.T.A", " Les", "Les ")) : continue
name = str(name).strip()
if name == "Pathologie": continue
if interleaved: cnt = [r[5], r[7], r[9], r[11], r[13], r[15]] # 18-24, 25-49, M18, M25, F18, F25
else: cnt = [r[4], r[5], r[6], r[7], r[8], r[9]]
if not isinstance(r[1], (int, float)) and name != "TOTAL": continue
rows.append((name, r[1], *[(c or 0) for c in cnt]))
return pd.DataFrame(rows, columns=["cat", "n", "a1824", "a2549", "m1824", "m2549", "f1824", "f2549"])
out = []
data = {}
for y, sh in YEARS.items():
ws = wb[sh]
inter = ws.max_column >= 16
df = parse(ws, inter); data[y] = df
tot = df[df.cat == "TOTAL"].iloc[0]; d = df[df.cat != "TOTAL"].copy()
d["sum_age"] = d.a1824 + d.a2549; d["sum_sex"] = d.m1824 + d.m2549 + d.f1824 + d.f2549
bad = d[(d.n != d.sum_age) | (d.n != d.sum_sex) | (d.a1824 != d.m1824 + d.f1824) | (d.a2549 != d.m2549 + d.f2549)]
out.append(f"{y}: {len(d)} catégories ; somme des n = {d.n.sum()} ; ligne TOTAL = {int(tot.n)} ; lignes incohérentes (âge/sexe/total) : {len(bad)}")
for r in bad.itertuples(): out.append(f" !! {r.cat}: n={r.n}, âges={r.sum_age}, sexes={r.sum_sex}")
for col in ["n", "a1824", "a2549", "m1824", "m2549", "f1824", "f2549"]:
if d[col].sum() != tot[col]: out.append(f" !! total {col}: somme {d[col].sum()} vs ligne TOTAL {tot[col]}")
dup = d[d.n > 0].groupby("n").cat.apply(list); dup = dup[dup.apply(len) > 1]
for n, cs in dup.items():
if n >= 20: out.append(f" ~ effectif identique ({n}) pour : {', '.join(cs)} -> à vérifier à la source")
if y in ALT:
alt = parse(wb[ALT[y]], True)
m = d.merge(alt[alt.cat != "TOTAL"], on="cat", suffixes=("", "_alt"))
diff = m[(m.n != m.n_alt) | (m.m1824 != m.m1824_alt) | (m.f2549 != m.f2549_alt)]
out.append(f" feuille '{ALT[y]}' (version avec %) vs '{sh}' : {len(diff)} écart(s)")
# comparaison avec raw_data_long.csv
raw = pd.read_csv("results/raw_data_long.csv")
for y, d in data.items():
d = d[d.cat != "TOTAL"]
s = raw[raw.year == y].groupby("category").n.sum()
mism = [(c, n, s.get(c)) for c, n in zip(d.cat, d.n) if s.get(c, s.get(c + " ")) != n]
out.append(f"{y}: raw_data_long.csv vs source : {len(mism)} écart(s) {mism[:3]}")
print("\n".join(out))
open("results/controle_raw_data.txt", "w").write("\n".join(out))