# itcoderyhl/clinic-server architecture

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

- Interactive diagram: https://gitdiagram.com/itcoderyhl/clinic-server
- Repository: https://github.com/itcoderyhl/clinic-server

## Overview

This repository is documented as a Spring Boot and Vue hospital appointment and records system for administrators, doctors, and patients. A patient-facing workflow spans doctor and department discovery, appointments, visit records, and prescriptions; doctors record visits and prescribe medication, while administrators manage operations and reporting. The tree contains no application source, so this map reflects README capabilities only, not verified implementation or runtime calls. All capability nodes point to the README as their documentation source.

Main entry points: [`README.md`](https://github.com/itcoderyhl/clinic-server/blob/main/README.md) (Appointments)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_discovery["Care Discovery"]
  node_departments["Departments<br/>[README.md]"]
  node_doctor_directory["Doctor Directory<br/>[README.md]"]
end

subgraph group_clinical["Clinical Workflow"]
  node_appointments["Appointments<br/>[README.md]"]
  node_visit_records["Visit Records<br/>[README.md]"]
  node_prescriptions["Prescriptions<br/>[README.md]"]
  node_medications["Medication Management<br/>[README.md]"]
end

subgraph group_operations["Clinic Operations"]
  node_scheduling["Schedules and Slots<br/>[README.md]"]
  node_user_management["User Management<br/>[README.md]"]
  node_doctor_management["Doctor Management<br/>[README.md]"]
  node_dashboard["Statistics Dashboard<br/>[README.md]"]
end

subgraph group_communications["Information and Contact"]
  node_feedback["Messages and Feedback<br/>[README.md]"]
  node_announcements["Announcements<br/>[README.md]"]
  node_profiles["Profiles and Passwords<br/>[README.md]"]
end

node_admin(("Administrator"))
node_doctor(("Doctor"))
node_patient(("Patient"))

node_patient -->|"browses"| node_departments
node_patient -->|"browses"| node_doctor_directory
node_doctor -->|"views"| node_departments
node_doctor -->|"views"| node_doctor_directory
node_patient -->|"views"| node_appointments
node_admin -->|"manages"| node_appointments
node_doctor -->|"manages"| node_appointments
node_doctor -->|"records visits"| node_visit_records
node_patient -->|"views"| node_visit_records
node_doctor -->|"prescribes"| node_prescriptions
node_doctor -->|"manages"| node_medications
node_patient -->|"views"| node_prescriptions
node_admin -->|"manages"| node_scheduling
node_admin -->|"manages"| node_user_management
node_admin -->|"manages"| node_doctor_management
node_admin -->|"views"| node_dashboard
node_admin -->|"manages"| node_medications
node_admin -->|"views"| node_visit_records
node_admin -->|"views"| node_prescriptions
node_patient -->|"sends feedback"| node_feedback
node_admin -->|"manages"| node_feedback
node_admin -->|"manages"| node_announcements
node_doctor -->|"views"| node_announcements
node_patient -->|"views"| node_announcements
node_admin -->|"manages"| node_profiles
node_doctor -->|"updates"| node_profiles
node_patient -->|"updates"| node_profiles

click node_departments "https://github.com/itcoderyhl/clinic-server/blob/main/README.md"
click node_doctor_directory "https://github.com/itcoderyhl/clinic-server/blob/main/README.md"
click node_appointments "https://github.com/itcoderyhl/clinic-server/blob/main/README.md"
click node_visit_records "https://github.com/itcoderyhl/clinic-server/blob/main/README.md"
click node_prescriptions "https://github.com/itcoderyhl/clinic-server/blob/main/README.md"
click node_medications "https://github.com/itcoderyhl/clinic-server/blob/main/README.md"
click node_scheduling "https://github.com/itcoderyhl/clinic-server/blob/main/README.md"
click node_user_management "https://github.com/itcoderyhl/clinic-server/blob/main/README.md"
click node_doctor_management "https://github.com/itcoderyhl/clinic-server/blob/main/README.md"
click node_dashboard "https://github.com/itcoderyhl/clinic-server/blob/main/README.md"
click node_feedback "https://github.com/itcoderyhl/clinic-server/blob/main/README.md"
click node_announcements "https://github.com/itcoderyhl/clinic-server/blob/main/README.md"
click node_profiles "https://github.com/itcoderyhl/clinic-server/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_departments,node_doctor_directory toneBlue
class node_appointments,node_visit_records,node_prescriptions,node_medications toneAmber
class node_scheduling,node_user_management,node_doctor_management,node_dashboard toneMint
class node_feedback,node_announcements,node_profiles toneRose
class node_admin,node_doctor,node_patient toneIndigo
```

## Components

### Care Discovery

- [Departments](https://github.com/itcoderyhl/clinic-server/blob/main/README.md): `README.md`
- [Doctor Directory](https://github.com/itcoderyhl/clinic-server/blob/main/README.md): `README.md`

### Clinical Workflow

- [Appointments](https://github.com/itcoderyhl/clinic-server/blob/main/README.md): `README.md`
- [Visit Records](https://github.com/itcoderyhl/clinic-server/blob/main/README.md): `README.md`
- [Prescriptions](https://github.com/itcoderyhl/clinic-server/blob/main/README.md): `README.md`
- [Medication Management](https://github.com/itcoderyhl/clinic-server/blob/main/README.md): `README.md`

### Clinic Operations

- [Schedules and Slots](https://github.com/itcoderyhl/clinic-server/blob/main/README.md): `README.md`
- [User Management](https://github.com/itcoderyhl/clinic-server/blob/main/README.md): `README.md`
- [Doctor Management](https://github.com/itcoderyhl/clinic-server/blob/main/README.md): `README.md`
- [Statistics Dashboard](https://github.com/itcoderyhl/clinic-server/blob/main/README.md): `README.md`

### Information and Contact

- [Messages and Feedback](https://github.com/itcoderyhl/clinic-server/blob/main/README.md): `README.md`
- [Announcements](https://github.com/itcoderyhl/clinic-server/blob/main/README.md): `README.md`
- [Profiles and Passwords](https://github.com/itcoderyhl/clinic-server/blob/main/README.md): `README.md`

### Other components

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

## Connections

- Patient → Departments: browses (evidence: `README.md`)
- Patient → Doctor Directory: browses (evidence: `README.md`)
- Doctor → Departments: views (evidence: `README.md`)
- Doctor → Doctor Directory: views (evidence: `README.md`)
- Patient → Appointments: views (evidence: `README.md`)
- Administrator → Appointments: manages (evidence: `README.md`)
- Doctor → Appointments: manages (evidence: `README.md`)
- Doctor → Visit Records: records visits (evidence: `README.md`)
- Patient → Visit Records: views (evidence: `README.md`)
- Doctor → Prescriptions: prescribes (evidence: `README.md`)
- Doctor → Medication Management: manages (evidence: `README.md`)
- Patient → Prescriptions: views (evidence: `README.md`)
- Administrator → Schedules and Slots: manages (evidence: `README.md`)
- Administrator → User Management: manages (evidence: `README.md`)
- Administrator → Doctor Management: manages (evidence: `README.md`)
- Administrator → Statistics Dashboard: views (evidence: `README.md`)
- Administrator → Medication Management: manages (evidence: `README.md`)
- Administrator → Visit Records: views (evidence: `README.md`)
- Administrator → Prescriptions: views (evidence: `README.md`)
- Patient → Messages and Feedback: sends feedback (evidence: `README.md`)
- Administrator → Messages and Feedback: manages (evidence: `README.md`)
- Administrator → Announcements: manages (evidence: `README.md`)
- Doctor → Announcements: views (evidence: `README.md`)
- Patient → Announcements: views (evidence: `README.md`)
- Administrator → Profiles and Passwords: manages (evidence: `README.md`)
- Doctor → Profiles and Passwords: updates (evidence: `README.md`)
- Patient → Profiles and Passwords: updates (evidence: `README.md`)
