# ericdelucas/esc--maya-yoshiko-yamamoto architecture

> Architecture diagram of the GitHub repository ericdelucas/esc--maya-yoshiko-yamamoto, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ericdelucas/esc--maya-yoshiko-yamamoto
- Repository: https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto

## Overview

The tree shows three Android application projects: a standalone login app, a patient-facing exercise/consultation app, and a broader health-management app with patient and professional features. The principal apparent workflow is navigating health features in the app and using network clients for account, exercise, appointment, health, and reporting operations. Source excerpts and README documentation are absent, so runtime connections below are explicitly unverified; component boundaries are based on filenames and directories only.

Main entry points: [`testbackend/app/src/main/java/com/example/testbackend/MainActivity.java`](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/MainActivity.java) (Health app entry), [`Neon/appparte1/app/src/main/java/com/example/appparte1/MainActivity.kt`](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/appparte1/app/src/main/java/com/example/appparte1/MainActivity.kt) (Patient navigation), [`testbackend/app/src/main/java/com/example/testbackend/network`](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/tree/main/testbackend/app/src/main/java/com/example/testbackend/network) (Feature API services), [`Neon/Login/app/src/main/java/com/example/esclogin/MainActivity.java`](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/Login/app/src/main/java/com/example/esclogin/MainActivity.java) (Login and registration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_login["Login app"]
  node_login_flow["Login and registration<br/>[MainActivity.java]"]
  node_login_register["Registration screen"]
end

subgraph group_patient["Patient experience"]
  node_patient_home["Patient navigation<br/>[MainActivity.kt]"]
  node_patient_exercise["Exercise sessions"]
  node_patient_exercises["Exercise catalogue"]
  node_exercise_detail["Exercise details"]
  node_exercise_summary["Exercise summary"]
  node_consultations["Consultations"]
  node_consultation_detail["Consultation details"]
  node_patient_profile["Profile management<br/>[ProfileFragment.kt]"]
  node_profile_edit["Profile editing"]
end

subgraph group_health["Health management"]
  node_health_entry["Health app entry<br/>[MainActivity.java]"]
  node_authentication["Authentication<br/>[LoginActivity.java]"]
  node_exercise_management["Exercise management"]
  node_appointments["Appointments calendar"]
  node_patient_care["Patient evaluation"]
  node_reports["Reports and analytics"]
  node_assistant["Health assistant"]
  node_chat["Chat<br/>[ChatActivity.java]"]
end

subgraph group_integration["Network and state"]
  node_api_client["API client<br/>[ApiClient.java]"]
  node_api_services["Feature API services"]
  node_session[("Session storage")]
  node_websocket["Chat transport"]
  node_domain_models["Health data models"]
end

node_user(("App user"))

node_user -.->|"opens"| node_login_flow
node_login_flow -.->|"offers registration"| node_login_register
node_user -.->|"opens"| node_patient_home
node_patient_home -.->|"navigates"| node_patient_exercises
node_patient_exercises -.->|"opens details"| node_exercise_detail
node_exercise_detail -.->|"starts session"| node_patient_exercise
node_patient_exercise -.->|"shows summary"| node_exercise_summary
node_patient_home -.->|"navigates"| node_consultations
node_consultations -.->|"opens details"| node_consultation_detail
node_patient_home -.->|"navigates"| node_patient_profile
node_patient_profile -.->|"edits profile"| node_profile_edit
node_user -.->|"opens"| node_health_entry
node_health_entry -.->|"routes to"| node_authentication
node_health_entry -.->|"opens"| node_exercise_management
node_health_entry -.->|"opens"| node_appointments
node_health_entry -.->|"opens"| node_patient_care
node_health_entry -.->|"opens"| node_reports
node_health_entry -.->|"opens"| node_assistant
node_health_entry -.->|"opens"| node_chat
node_chat -.->|"uses transport"| node_websocket
node_api_services -.->|"uses client"| node_api_client
node_authentication -.->|"stores session"| node_session
node_api_services -.->|"exchanges data"| node_domain_models

click node_login_flow "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/Login/app/src/main/java/com/example/esclogin/MainActivity.java"
click node_login_register "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/Login/app/src/main/java/com/example/esclogin/RegisterActivity.java"
click node_patient_home "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/appparte1/app/src/main/java/com/example/appparte1/MainActivity.kt"
click node_patient_exercise "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/appparte1/app/src/main/java/com/example/appparte1/ExerciseActiveFragment.kt"
click node_patient_exercises "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/appparte1/app/src/main/java/com/example/appparte1/ExercisesFragment.kt"
click node_exercise_detail "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/appparte1/app/src/main/java/com/example/appparte1/ExerciseDetailFragment.kt"
click node_exercise_summary "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/appparte1/app/src/main/java/com/example/appparte1/ExerciseSummaryFragment.kt"
click node_consultations "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/appparte1/app/src/main/java/com/example/appparte1/ConsultationsFragment.kt"
click node_consultation_detail "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/appparte1/app/src/main/java/com/example/appparte1/ConsultationDetailFragment.kt"
click node_patient_profile "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/appparte1/app/src/main/java/com/example/appparte1/ProfileFragment.kt"
click node_profile_edit "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/appparte1/app/src/main/java/com/example/appparte1/EditProfileFragment.kt"
click node_health_entry "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/MainActivity.java"
click node_authentication "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/LoginActivity.java"
click node_exercise_management "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/ExerciseManagementActivity.java"
click node_appointments "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/CalendarActivity.java"
click node_patient_care "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/PatientEvaluationActivity.java"
click node_reports "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/CreateReportActivity.java"
click node_assistant "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/AssistantActivity.java"
click node_chat "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/ChatActivity.java"
click node_api_client "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/network/ApiClient.java"
click node_api_services "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/tree/main/testbackend/app/src/main/java/com/example/testbackend/network"
click node_session "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/storage/SessionManager.java"
click node_websocket "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/websocket/ChatWebSocketClient.java"
click node_domain_models "https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/tree/main/testbackend/app/src/main/java/com/example/testbackend/models"

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_login_flow,node_login_register,node_user toneBlue
class node_patient_home,node_patient_exercise,node_patient_exercises,node_exercise_detail,node_exercise_summary,node_consultations,node_consultation_detail,node_patient_profile,node_profile_edit toneAmber
class node_health_entry,node_authentication,node_exercise_management,node_appointments,node_patient_care,node_reports,node_assistant,node_chat toneMint
class node_api_client,node_api_services,node_session,node_websocket,node_domain_models toneRose
```

## Components

### Login app

- [Login and registration](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/Login/app/src/main/java/com/example/esclogin/MainActivity.java): `Neon/Login/app/src/main/java/com/example/esclogin/MainActivity.java`
- [Registration screen](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/Login/app/src/main/java/com/example/esclogin/RegisterActivity.java): `Neon/Login/app/src/main/java/com/example/esclogin/RegisterActivity.java`

### Patient experience

- [Patient navigation](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/appparte1/app/src/main/java/com/example/appparte1/MainActivity.kt): `Neon/appparte1/app/src/main/java/com/example/appparte1/MainActivity.kt`
- [Exercise sessions](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/appparte1/app/src/main/java/com/example/appparte1/ExerciseActiveFragment.kt): `Neon/appparte1/app/src/main/java/com/example/appparte1/ExerciseActiveFragment.kt`
- [Exercise catalogue](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/appparte1/app/src/main/java/com/example/appparte1/ExercisesFragment.kt): `Neon/appparte1/app/src/main/java/com/example/appparte1/ExercisesFragment.kt`
- [Exercise details](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/appparte1/app/src/main/java/com/example/appparte1/ExerciseDetailFragment.kt): `Neon/appparte1/app/src/main/java/com/example/appparte1/ExerciseDetailFragment.kt`
- [Exercise summary](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/appparte1/app/src/main/java/com/example/appparte1/ExerciseSummaryFragment.kt): `Neon/appparte1/app/src/main/java/com/example/appparte1/ExerciseSummaryFragment.kt`
- [Consultations](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/appparte1/app/src/main/java/com/example/appparte1/ConsultationsFragment.kt): `Neon/appparte1/app/src/main/java/com/example/appparte1/ConsultationsFragment.kt`
- [Consultation details](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/appparte1/app/src/main/java/com/example/appparte1/ConsultationDetailFragment.kt): `Neon/appparte1/app/src/main/java/com/example/appparte1/ConsultationDetailFragment.kt`
- [Profile management](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/appparte1/app/src/main/java/com/example/appparte1/ProfileFragment.kt): `Neon/appparte1/app/src/main/java/com/example/appparte1/ProfileFragment.kt`
- [Profile editing](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/Neon/appparte1/app/src/main/java/com/example/appparte1/EditProfileFragment.kt): `Neon/appparte1/app/src/main/java/com/example/appparte1/EditProfileFragment.kt`

### Health management

- [Health app entry](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/MainActivity.java): `testbackend/app/src/main/java/com/example/testbackend/MainActivity.java`
- [Authentication](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/LoginActivity.java): `testbackend/app/src/main/java/com/example/testbackend/LoginActivity.java`
- [Exercise management](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/ExerciseManagementActivity.java): `testbackend/app/src/main/java/com/example/testbackend/ExerciseManagementActivity.java`
- [Appointments calendar](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/CalendarActivity.java): `testbackend/app/src/main/java/com/example/testbackend/CalendarActivity.java`
- [Patient evaluation](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/PatientEvaluationActivity.java): `testbackend/app/src/main/java/com/example/testbackend/PatientEvaluationActivity.java`
- [Reports and analytics](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/CreateReportActivity.java): `testbackend/app/src/main/java/com/example/testbackend/CreateReportActivity.java`
- [Health assistant](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/AssistantActivity.java): `testbackend/app/src/main/java/com/example/testbackend/AssistantActivity.java`
- [Chat](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/ChatActivity.java): `testbackend/app/src/main/java/com/example/testbackend/ChatActivity.java`

### Network and state

- [API client](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/network/ApiClient.java): `testbackend/app/src/main/java/com/example/testbackend/network/ApiClient.java`
- [Feature API services](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/tree/main/testbackend/app/src/main/java/com/example/testbackend/network): `testbackend/app/src/main/java/com/example/testbackend/network`
- [Session storage](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/storage/SessionManager.java): `testbackend/app/src/main/java/com/example/testbackend/storage/SessionManager.java`
- [Chat transport](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/blob/main/testbackend/app/src/main/java/com/example/testbackend/websocket/ChatWebSocketClient.java): `testbackend/app/src/main/java/com/example/testbackend/websocket/ChatWebSocketClient.java`
- [Health data models](https://github.com/ericdelucas/esc--maya-yoshiko-yamamoto/tree/main/testbackend/app/src/main/java/com/example/testbackend/models): `testbackend/app/src/main/java/com/example/testbackend/models`

### Other components

- **App user**

## Connections

- App user → Login and registration: opens
- Login and registration → Registration screen: offers registration
- App user → Patient navigation: opens
- Patient navigation → Exercise catalogue: navigates
- Exercise catalogue → Exercise details: opens details
- Exercise details → Exercise sessions: starts session
- Exercise sessions → Exercise summary: shows summary
- Patient navigation → Consultations: navigates
- Consultations → Consultation details: opens details
- Patient navigation → Profile management: navigates
- Profile management → Profile editing: edits profile
- App user → Health app entry: opens
- Health app entry → Authentication: routes to
- Health app entry → Exercise management: opens
- Health app entry → Appointments calendar: opens
- Health app entry → Patient evaluation: opens
- Health app entry → Reports and analytics: opens
- Health app entry → Health assistant: opens
- Health app entry → Chat: opens
- Chat → Chat transport: uses transport
- Feature API services → API client: uses client
- Authentication → Session storage: stores session
- Feature API services → Health data models: exchanges data
