The Professional Dashboard (served atDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/sagar-grv/ayush-synapse/llms.txt
Use this file to discover all available pages before exploring further.
/professional.html) is designed for clinicians, health informaticians, and researchers who require precise NAMASTE-ICD-11 mapping, direct access to FHIR R4 resources, and data-driven analytics. It exposes the full power of the Ayush Synapse API through a structured interface that surfaces equivalence scores, confidence levels, and system-level metadata alongside every result.
Accessing the Dashboard
Start the Flask server
From the project root, run:The server starts on
http://0.0.0.0:5000 by default. You can override the host and port via the FLASK_HOST and FLASK_PORT environment variables.Open the dashboard in your browser
Navigate to:The dashboard loads immediately — no login is required to view the interface. Protected API calls (FHIR resources, mappings) require a demo token; see Authentication below.
Key Features
Advanced Search
Advanced Search
The search bar queries both NAMASTE and ICD-11 code sets simultaneously via
Example — search for fever in Ayurvedic codes only:
GET /api/search. Three query parameters let you narrow results without leaving the page:| Parameter | Values | Description |
|---|---|---|
?q= | Any search term (minimum 2 characters) | Full-text match on code, display name, and definition |
?system= | all · Ayurveda · Siddha · Unani · TM2 · Biomedicine | Filter results to a specific coding system |
?mapping= | all · mapped · unmapped | Show only codes that have (or lack) a cross-system mapping |
Dual Coding Tools
Dual Coding Tools
Every search result card in the Professional Dashboard shows both the source NAMASTE code and its mapped ICD-11 target side by side. The card surface includes:
- Source code (
NAM-XXX) with AYUSH system label (Ayurveda, Siddha, or Unani) - Target code (
TM2-XXXorBM-XXX) with ICD-11 chapter label - Equivalence — always
equivalentin the current dataset - Confidence score — a float between
0.75and0.95reflecting the mapping strength
GET /mappings to retrieve the full list of 85 cross-system mappings in JSON:FHIR Resource Access
FHIR Resource Access
The dashboard provides direct links to the three FHIR R4 resources exported by Ayush Synapse:
Example — fetch the NAMASTE CodeSystem:The response is a fully valid FHIR R4
| Resource | Endpoint | Description |
|---|---|---|
| NAMASTE CodeSystem | GET /codesystem/namaste | FHIR R4 CodeSystem for all NAMASTE codes (full definitions, system labels) |
| ICD-11 CodeSystem | GET /codesystem/icd11 | FHIR R4 CodeSystem combining TM2 and Biomedicine codes |
| ConceptMap | GET /conceptmap | FHIR R4 ConceptMap from namaste-codes → icd11/tm2 |
CodeSystem JSON resource with resourceType, id, url, status, and concept array.Analytics Dashboard
Analytics Dashboard
The analytics panel is populated by The dashboard renders coverage percentage as a progress bar and displays per-system breakdowns as a bar chart.
GET /api/stats, which returns mapping coverage metrics broken down by coding system and chapter:Authentication
The Professional Dashboard uses the demo token issued byPOST /auth/login. No account registration is required.
The demo token grants full access to every protected endpoint. There is no expiry enforced in demo mode, so you can reuse the same token throughout a session.
Related API Endpoints
The following endpoints are called directly by the Professional Dashboard:| Method | Endpoint | Auth Required | Description |
|---|---|---|---|
GET | /api/search | No | Full-text search with system and mapping filters |
GET | /mappings | No | All 85 NAMASTE→ICD-11 concept mappings |
GET | /codesystem/namaste | No | FHIR R4 CodeSystem for NAMASTE codes |
GET | /codesystem/icd11 | No | FHIR R4 CodeSystem for ICD-11 TM2 + Biomedicine |
GET | /conceptmap | No | FHIR R4 ConceptMap (NAMASTE → ICD-11) |
GET | /api/stats | No | Mapping coverage statistics |
POST | /auth/login | — | Issues a demo JWT token |