Transforming Hekima from a Research Tool into a Mental Health Data Platform for Uganda: A Process Paper
Background Rich clinical information is often stored in handwritten patient charts, but there are limited systems for converting these routine records into usable data for research, care, service improvement, and policy. This process paper describes the development of Hekima, a locally hosted, AI-assisted mental health data platform that converts paper psychiatric records into structured longitudinal datasets for research. Methods We reviewed implementation documents generated during the Digitising Psychosis Project of the Mental Health Data Prize Africa program. We reconstructed the development process, major adaptations, technical and governance decisions, early analytic outputs, capacity-building activities, public communication, and scale-up pathway. Results Hekima evolved from a psychosis chart digitisation project into a broader mental health data platform. Hekima followed a “one pipeline, two outputs” model. Each scanned document was transcribed, reviewed, redacted, and structured into a longitudinal patient record, but also prepared for patient matching with existing electronic medical record systems. The project digitised and archived 203,020 images from 7,164 files. Early OCR-based extraction demonstrated feasibility but performed poorly on handwritten psychiatric notes. This prompted a redesign toward locally hosted vision-language models, redaction of identifiable information, extraction, and mandatory human review. Lived-experience partners contributed to privacy safeguards, engagement interpretation, data-use acceptability, patient-rights protection, public communication, and independent process review. Conclusion Hekima demonstrated that handwritten psychiatric records in a low-resource setting could be transformed into usable mental health data infrastructure but required data governance, lived-experience oversight, capacity building, communication, and engagement with policymakers.
Authors
- Juliet E. M. Nakku (ORCID: https://orcid.org/0000-0002-0611-1102)
- Emmanuel Kiiza Mwesiga (ORCID: https://orcid.org/0000-0003-3512-7717)
- Wilber Ssembajjwe (ORCID: https://orcid.org/0009-0004-5008-4350)
- Kenneth Okware Kalani (ORCID: https://orcid.org/0009-0000-0160-0858)
- Janet Nakigudde (ORCID: https://orcid.org/0000-0002-6852-1000)
- Hafsa Lukwata
- Phillip Oyat
- Dickens Howard Akena (ORCID: https://orcid.org/0000-0002-8886-4553)
- Joyce Nakatumba‐Nabende (ORCID: https://orcid.org/0000-0002-0108-3798)
- Angel Nanteza (ORCID: https://orcid.org/0000-0002-7482-6134)
- Sophia Balinga (ORCID: https://orcid.org/0009-0001-3503-3481)
- Blessed Tabitha Aujo (ORCID: https://orcid.org/0000-0002-7772-175X)
- Mark Muyanga (ORCID: https://orcid.org/0009-0006-4618-2569)
- Rita Auma
- Prisca Oroma
- Edith Kebirungi
- Annette Nanyonga
- Kaddu Andrea Kaggwa
- Rosette Immy Ndigamanya
- Alice Brenda Kyakyo
- Isaac Sekiro
- Bernard Arinaitwe
- Desmond Arinaitwe
- Brendah Namata
- Angelina Twinomujuni
- Jane Nakasumba
- Bryan Byamah Mutamba
- Alice Kabakwenuzi
Institutions
- Soroti Hospital (UG)
- Butabika Hospital (UG)
- Ministry of Health (UG)
- MRC/UVRI & LSHTM Uganda Research Unit (UG)
- Makerere University (UG)
- Uganda Virus Research Institute (UG)
Publication Details
- Journal
- Wellcome Open Research
- Published
- 2026-10-12
- DOI
- https://doi.org/10.12688/wellcomeopenres.27530.1
- Primary Topic
- Electronic Health Records Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00