# aipaec/pr2-2026-citasmedicasweb architecture

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

- Interactive diagram: https://gitdiagram.com/aipaec/pr2-2026-citasmedicasweb
- Repository: https://github.com/aipaec/pr2-2026-citasmedicasweb

## Overview

This repository documents a planned web MVP for managing patients, doctors, specialties, and medical appointments; the available tree contains no application source. The principal workflow is a patient using the web product to request an appointment, with scheduling intended to assign turns between patients and doctors. The README also names SQL Server and a web frontend as planned technologies. Consequently, the graph represents documented capabilities, not verified runtime components or calls; all implementation paths are null.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web Product"]
  node_web_app["Web MVP"]
end

subgraph group_records["Medical Records"]
  node_patient_mgmt["Patient Management"]
  node_doctor_mgmt["Doctor Management"]
  node_specialties["Specialties"]
end

subgraph group_scheduling["Appointment Scheduling"]
  node_appointment_booking["Appointment Booking"]
  node_turn_assignment["Turn Assignment"]
end

node_patient(("Patient"))
node_sql_server[("SQL Server")]

node_patient -->|"uses"| node_web_app
node_web_app -->|"supports booking"| node_appointment_booking
node_web_app -->|"manages patients"| node_patient_mgmt
node_web_app -->|"manages doctors"| node_doctor_mgmt
node_web_app -->|"manages specialties"| node_specialties
node_appointment_booking -->|"assigns turns"| node_turn_assignment
node_turn_assignment -->|"allocates doctors"| node_doctor_mgmt
node_web_app -.->|"planned persistence"| node_sql_server

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_web_app toneBlue
class node_patient_mgmt,node_doctor_mgmt,node_specialties,node_sql_server toneAmber
class node_appointment_booking,node_turn_assignment toneMint
class node_patient toneIndigo
```

## Components

### Web Product

- **Web MVP**

### Medical Records

- **Patient Management**
- **Doctor Management**
- **Specialties**

### Appointment Scheduling

- **Appointment Booking**
- **Turn Assignment**

### Other components

- **Patient**
- **SQL Server**

## Connections

- Patient → Web MVP: uses (evidence: `README.md`)
- Web MVP → Appointment Booking: supports booking (evidence: `README.md`)
- Web MVP → Patient Management: manages patients (evidence: `README.md`)
- Web MVP → Doctor Management: manages doctors (evidence: `README.md`)
- Web MVP → Specialties: manages specialties (evidence: `README.md`)
- Appointment Booking → Turn Assignment: assigns turns (evidence: `README.md`)
- Turn Assignment → Doctor Management: allocates doctors (evidence: `README.md`)
- Web MVP → SQL Server: planned persistence (evidence: `README.md`)
