Skip to content

Digital Thai MoCA Project Overview

Purpose

Digital Thai MoCA is a web-based system for administering, recording, scoring, reviewing, and exporting Thai MoCA cognitive assessments. The platform supports two primary audiences:

  • Patients or test takers who complete the MoCA assessment through a generated web link.
  • Staff who generate links, monitor test status, review answers, score results, and export or delete records from the backoffice.

The system includes frontend applications, backend APIs, an AI scoring worker, storage, speech-to-text integration, and deployment infrastructure on AWS.

Main Products

ProductAudiencePurpose
User test web appPatient/test takerRuns the guided MoCA assessment flow from token validation through thank-you page.
Backoffice frontendStaffLets staff log in, generate test links, filter dashboard records, review answers, score tests, export PDF, and delete records.
API servicesFrontends and internal workersHandles authentication, test lifecycle, file handling, scoring submission, PDF generation, ASR/AI messaging, and staff/patient data.
AI serviceInternal backend/workerScores AI-assisted test sections from Kafka inputs and returns scoring results.

Environments

EnvironmentBranchPatient appBackofficeAPI
Devdevhttps://dev.dtm.aimet.tech/https://backoffice.dev.dtm.aimet.tech/api.dev.braindi.aimet.tech
Prodmainhttps://dtm.aimet.tech/https://backoffice.dtm.aimet.tech/api.dtm.aimet.tech
Sirirajsirirajhttps://siriraj.dtm.aimet.tech/https://backoffice.siriraj.dtm.aimet.tech/api.siriraj.dtm.aimet.tech

Siriraj frontend is wired to the Siriraj backend and the production AI service.

Topics in the handover pack

TopicsDocument
Test lifecycle and statuses; patient and staff flows; auth and roles; MoCA domains and scoring; AI scoring tasks; data entities; async vs real-time processingbusiness-logic-dataflow.md
AWS topology, DNS, ECS, Amplify, data stores, Kafka/ASR, CI/CD, secrets, external dependenciesdeployment-and-infrastructure.md
GitHub repositories; Bruno API collection; cross-repo integration flowsrepository-map.md
Figma (UI, architecture, AI interface); product surfaces (patient app, dashboard, result page)ux-ui-and-design-links.md