# kailash186/healthy-nation-app architecture

> Architecture diagram of the GitHub repository kailash186/healthy-nation-app, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/kailash186/healthy-nation-app
- Repository: https://github.com/kailash186/healthy-nation-app

## Overview

The README describes a mobile health app and its major user-facing capabilities, but the supplied file tree contains only `constants/colors.ts` and no application routes, components, or service implementations. The graph therefore reflects documented capabilities and intended interactions, not verified source-level wiring; paths are null where the tree provides no source path.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_care["Care access"]
  node_dashboard["Dashboard"]
  node_doctors["Doctor search"]
  node_profiles["Doctor profiles"]
  node_appointments["Appointments"]
end

subgraph group_health["Health monitoring"]
  node_assistant["AI assistant"]
  node_symptoms["Symptom check"]
  node_vitals["Vitals monitoring"]
  node_alerts["Emergency alerts"]
  node_wearables["Wearable sync"]
  node_bluetooth["Device pairing"]
end

subgraph group_services["Local services"]
  node_pharmacy["Pharmacy locator"]
  node_shop_details["Shop details"]
  node_checkout["Checkout"]
  node_delivery{{"Local delivery"}}
end

subgraph group_records["Health records"]
  node_medical_records["Medical history"]
  node_health_stats["Health stats"]
end

node_user(("Patient"))
node_ai_api{{"AI provider"}}

node_user -->|"opens"| node_dashboard
node_dashboard -->|"shows"| node_vitals
node_dashboard -->|"opens"| node_assistant
node_dashboard -->|"shows"| node_appointments
node_dashboard -->|"links to"| node_pharmacy
node_dashboard -->|"links to"| node_doctors
node_user -->|"describes symptoms"| node_symptoms
node_assistant -->|"supports"| node_symptoms
node_assistant -.->|"requests analysis"| node_ai_api
node_vitals -->|"flags critical values"| node_alerts
node_user -->|"pairs device"| node_bluetooth
node_bluetooth -->|"syncs metrics"| node_wearables
node_wearables -->|"provides readings"| node_vitals
node_user -->|"searches"| node_doctors
node_doctors -->|"finds specialists"| node_profiles
node_user -->|"books visit"| node_appointments
node_user -->|"views history"| node_medical_records
node_medical_records -->|"summarizes"| node_health_stats
node_user -->|"searches nearby"| node_pharmacy
node_pharmacy -->|"opens listing"| node_shop_details
node_user -->|"purchases"| node_checkout
node_checkout -.->|"offers delivery"| node_delivery

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_dashboard,node_doctors,node_profiles,node_appointments toneBlue
class node_assistant,node_symptoms,node_vitals,node_alerts,node_wearables,node_bluetooth toneAmber
class node_pharmacy,node_shop_details,node_checkout,node_delivery toneMint
class node_medical_records,node_health_stats toneRose
class node_user,node_ai_api toneIndigo
```

## Components

### Care access

- **Dashboard**
- **Doctor search**
- **Doctor profiles**
- **Appointments**

### Health monitoring

- **AI assistant**
- **Symptom check**
- **Vitals monitoring**
- **Emergency alerts**
- **Wearable sync**
- **Device pairing**

### Local services

- **Pharmacy locator**
- **Shop details**
- **Checkout**
- **Local delivery**

### Health records

- **Medical history**
- **Health stats**

### Other components

- **Patient**
- **AI provider**

## Connections

- Patient → Dashboard: opens
- Dashboard → Vitals monitoring: shows
- Dashboard → AI assistant: opens
- Dashboard → Appointments: shows
- Dashboard → Pharmacy locator: links to
- Dashboard → Doctor search: links to
- Patient → Symptom check: describes symptoms
- AI assistant → Symptom check: supports
- AI assistant → AI provider: requests analysis
- Vitals monitoring → Emergency alerts: flags critical values
- Patient → Device pairing: pairs device
- Device pairing → Wearable sync: syncs metrics
- Wearable sync → Vitals monitoring: provides readings
- Patient → Doctor search: searches
- Doctor search → Doctor profiles: finds specialists
- Patient → Appointments: books visit
- Patient → Medical history: views history
- Medical history → Health stats: summarizes
- Patient → Pharmacy locator: searches nearby
- Pharmacy locator → Shop details: opens listing
- Patient → Checkout: purchases
- Checkout → Local delivery: offers delivery
