# mutanza/skin-disease-app-frontend architecture

> Architecture diagram of the GitHub repository mutanza/skin-disease-app-frontend, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mutanza/skin-disease-app-frontend
- Repository: https://github.com/mutanza/skin-disease-app-frontend

## Overview

This is a Kotlin/XML Android frontend for a skin-disease detection workflow, from onboarding and patient details through image and symptom input to results and recommendations. It also documents history viewing and deletion. The README describes the screen sequence and frontend scope, but the source archive was not available as an inspectable tree and no source excerpts were provided; therefore component paths are unknown and links reflect only documented navigation. AI/ML integration is future work, not an implemented runtime subsystem.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_onboarding["Onboarding"]
  node_splash["Splash Screen"]
  node_disclaimer["Disclaimer"]
  node_language["Language Selection"]
  node_patient["Patient Information"]
  node_dashboard["Dashboard"]
end

subgraph group_assessment["Assessment"]
  node_scan["Image Scan"]
  node_symptoms["Symptoms Input"]
  node_analyzing["Analyzing Screen"]
end

subgraph group_outcomes["Results &amp; Advice"]
  node_results["Results Screen"]
  node_medical["Medical Advice"]
  node_remedies["Home Remedies"]
end

subgraph group_history["History"]
  node_history["View History"]
  node_delete_history["Delete History"]
end

node_user(("User"))
node_ai_backend["AI/ML Backend"]

node_user -->|"starts"| node_splash
node_splash -->|"continues to"| node_disclaimer
node_disclaimer -->|"continues to"| node_language
node_language -->|"continues to"| node_patient
node_patient -->|"continues to"| node_dashboard
node_dashboard -->|"opens"| node_scan
node_scan -->|"continues to"| node_symptoms
node_symptoms -->|"continues to"| node_analyzing
node_analyzing -->|"continues to"| node_results
node_results -->|"shows"| node_medical
node_results -->|"shows"| node_remedies
node_dashboard -->|"opens"| node_history
node_history -->|"supports deletion"| node_delete_history
node_analyzing -.->|"planned integration"| node_ai_backend

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_splash,node_disclaimer,node_language,node_patient,node_dashboard,node_user toneBlue
class node_scan,node_symptoms,node_analyzing toneAmber
class node_results,node_medical,node_remedies toneMint
class node_history,node_delete_history toneRose
class node_ai_backend toneIndigo
```

## Components

### Onboarding

- **Splash Screen**
- **Disclaimer**
- **Language Selection**
- **Patient Information**
- **Dashboard**

### Assessment

- **Image Scan**
- **Symptoms Input**
- **Analyzing Screen**

### Results & Advice

- **Results Screen**
- **Medical Advice**
- **Home Remedies**

### History

- **View History**
- **Delete History**

### Other components

- **User**
- **AI/ML Backend**

## Connections

- User → Splash Screen: starts (evidence: `README.md`)
- Splash Screen → Disclaimer: continues to (evidence: `README.md`)
- Disclaimer → Language Selection: continues to (evidence: `README.md`)
- Language Selection → Patient Information: continues to (evidence: `README.md`)
- Patient Information → Dashboard: continues to (evidence: `README.md`)
- Dashboard → Image Scan: opens (evidence: `README.md`)
- Image Scan → Symptoms Input: continues to (evidence: `README.md`)
- Symptoms Input → Analyzing Screen: continues to (evidence: `README.md`)
- Analyzing Screen → Results Screen: continues to (evidence: `README.md`)
- Results Screen → Medical Advice: shows (evidence: `README.md`)
- Results Screen → Home Remedies: shows (evidence: `README.md`)
- Dashboard → View History: opens (evidence: `README.md`)
- View History → Delete History: supports deletion (evidence: `README.md`)
- Analyzing Screen → AI/ML Backend: planned integration (evidence: `README.md`)
