# poricf/smart-health-monitoring-system architecture

> Architecture diagram of the GitHub repository poricf/smart-health-monitoring-system, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/poricf/smart-health-monitoring-system
- Repository: https://github.com/poricf/smart-health-monitoring-system

## Overview

This repository contains a README for a health-monitoring system, not the patient app, dashboard, or backend source code. The documented workflow is wearable BLE readings to the Flutter app, then REST API synchronization to the React doctor dashboard. Major documented app and dashboard capabilities are summarized in their respective nodes; implementation details and internal links cannot be verified from this tree.

Main entry points: [`README.md`](https://github.com/poricf/smart-health-monitoring-system/blob/main/README.md) (Flutter app: live and historical vitals, insights, profile, BMI, sleep,步)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_sensing["Wearable sensing"]
  node_wearable["BLE wearable<br/>[README.md]"]
end

subgraph group_patient["Patient experience"]
  node_patient_app["Flutter app: live and historical vitals, insights, profile, BMI, sleep,步<br/>[README.md]"]
end

subgraph group_platform["Data platform"]
  node_api["REST API<br/>[README.md]"]
end

subgraph group_clinical["Doctor experience"]
  node_doctor_dashboard["React dashboard: patient records, charts, AI queries, messaging<br/>[README.md]"]
end

node_patient_user(("Patient"))
node_doctor(("Doctor"))

node_patient_user -->|"uses"| node_patient_app
node_wearable -->|"streams BLE JSON"| node_patient_app
node_patient_app -->|"syncs via REST"| node_api
node_api -->|"provides health data"| node_doctor_dashboard
node_doctor -->|"views patient data"| node_doctor_dashboard

click node_wearable "https://github.com/poricf/smart-health-monitoring-system/blob/main/README.md"
click node_patient_app "https://github.com/poricf/smart-health-monitoring-system/blob/main/README.md"
click node_api "https://github.com/poricf/smart-health-monitoring-system/blob/main/README.md"
click node_doctor_dashboard "https://github.com/poricf/smart-health-monitoring-system/blob/main/README.md"

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_wearable toneBlue
class node_patient_app toneAmber
class node_api toneMint
class node_doctor_dashboard toneRose
class node_patient_user,node_doctor toneIndigo
```

## Components

### Wearable sensing

- [BLE wearable](https://github.com/poricf/smart-health-monitoring-system/blob/main/README.md): `README.md`

### Patient experience

- [Flutter app: live and historical vitals, insights, profile, BMI, sleep,步](https://github.com/poricf/smart-health-monitoring-system/blob/main/README.md): `README.md`

### Data platform

- [REST API](https://github.com/poricf/smart-health-monitoring-system/blob/main/README.md): `README.md`

### Doctor experience

- [React dashboard: patient records, charts, AI queries, messaging](https://github.com/poricf/smart-health-monitoring-system/blob/main/README.md): `README.md`

### Other components

- **Patient**
- **Doctor**

## Connections

- Patient → Flutter app: live and historical vitals, insights, profile, BMI, sleep,步: uses
- BLE wearable → Flutter app: live and historical vitals, insights, profile, BMI, sleep,步: streams BLE JSON
- Flutter app: live and historical vitals, insights, profile, BMI, sleep,步 → REST API: syncs via REST
- REST API → React dashboard: patient records, charts, AI queries, messaging: provides health data
- Doctor → React dashboard: patient records, charts, AI queries, messaging: views patient data
