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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Transforming Hekima from a Research Tool into a Mental Health Data Platform for Uganda: A Process Paper

Juliet E. M. Nakku, Emmanuel Kiiza Mwesiga, Wilber Ssembajjwe, Kenneth Okware Kalani et al.
Wellcome Open Research
Electronic Health Records Systems
article

Transforming Hekima from a Research Tool into a Mental Health Data Platform for Uganda: A Process Paper

Juliet E. M. Nakku, Emmanuel Kiiza Mwesiga, Wilber Ssembajjwe, Kenneth Okware Kalani, Janet Nakigudde, Hafsa Lukwata, Phillip Oyat, Dickens Howard Akena, Joyce Nakatumba‐Nabende, Angel Nanteza, Sophia Balinga, Blessed Tabitha Aujo, Mark Muyanga, 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
article en

Abstract

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.

Wellcome Open ResearchVol. 11
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)
Openalex Percentile: Top 7%
Electronic Health Records Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.