{% extends "base.html" %} {% block content %}

🏥 Hospital Management System

{% if session.get('role') %}

Welcome {{ session['username'] }}! You are logged in as {{ session['role'] }}.

{% else %}

Please log in to access the system.

{% endif %} Hospital Banner
{% if session.get('role') %}
{% if session['role'] == 'admin' %}
Doctors
Doctors

Manage doctor profiles and schedules.

Manage Doctors
Patients
Patients

View and manage patient records.

Appointments
Billing
Billing

Manage patient billing and payments.

Billing
Reports
Reports

View performance and revenue reports.

Reports
{% elif session['role'] == 'doctor' %}
Appointments
My Appointments

View your patient schedule and bookings.

View Appointments
Schedule
My Schedule

Manage your shift timings and days.

Go to Dashboard
{% elif session['role'] == 'patient' %}
Appointments
Appointments

Book and manage your doctor appointments.

My Appointments
Billing
My Billing

View your billing and payment details.

My Bills
{% endif %}
{% endif %} {% endblock %}