Skip to main content

Console Admin Flows

This document details the workflows for iHospita Console administrators.


Console Roles

RoleAccess Level
Super AdminFull platform access
AdminHospital and user management
SupportView-only + impersonation
BillingSubscription management

Hospital Onboarding

Create New Hospital

Console Admin

├─→ Navigate to Hospitals
├─→ Click "Add Hospital"
├─→ Enter hospital details:
│ • Name
│ • Prefix (unique)
│ • Address
│ • Contact info

├─→ Configure subscription plan
├─→ Save hospital


System automatically:

├─→ Creates Keycloak realm
├─→ Creates storage folder
├─→ Copies role templates
└─→ Hospital is active

Create Hospital Admin

  1. Navigate to hospital
  2. Click "Add Admin User"
  3. Enter user details:
    • Email
    • Name
    • Phone
  4. Select role (Owner)
  5. Save user
  6. System sends welcome email
  7. User sets password via Keycloak

Support Workflows

Impersonation

  1. Navigate to hospital
  2. Select user to impersonate
  3. Click "Impersonate"
  4. Acknowledge audit logging
  5. View Portal as that user
  6. Maximum 1 hour session
  7. End impersonation when done

Troubleshooting

  1. Review user's recent activity
  2. Check audit logs
  3. Impersonate if needed
  4. Identify issue
  5. Document resolution
  6. Update knowledge base

Role Template Management

Create Role Template

  1. Navigate to Role Templates
  2. Click "Add Template"
  3. Enter role name
  4. Select permissions:
    • View permissions
    • Edit permissions
    • Delete permissions
    • Admin permissions
  5. Save template

Update Role Template

  1. Select existing template
  2. Modify permissions
  3. Save changes
  4. Note: Only affects NEW hospitals

Subscription Management

Create Plan

  1. Navigate to Subscription Plans
  2. Click "Add Plan"
  3. Enter plan details:
    • Name (Starter/Pro/Enterprise)
    • Price (monthly/yearly)
    • Limits:
      • Max clinics
      • Max patients
      • Max staff
  4. Save plan

Change Hospital Plan

  1. Navigate to hospital
  2. Click "Subscription"
  3. Select new plan
  4. Confirm change
  5. System updates limits

Theme Configuration

Configure Hospital Theme

  1. Navigate to hospital
  2. Click "Branding & Theme"
  3. Configure:
    • Logo upload
    • Favicon upload
    • Primary color
    • Secondary color
    • Header/Sidebar colors
  4. Preview changes
  5. Save theme
  6. Changes apply immediately

Analytics & Reporting

Platform Metrics

  1. Navigate to Dashboard
  2. View key metrics:
    • Total hospitals
    • Active users
    • Transaction volume
    • Revenue
  3. Filter by date range
  4. Export data if needed

Hospital Reports

  1. Navigate to hospital
  2. Click "Analytics"
  3. View hospital-specific metrics
  4. Compare with platform average

Audit Log Review

View Audit Logs

  1. Navigate to Audit Logs
  2. Filter by:
    • Date range
    • User
    • Action type
    • Hospital
  3. Review log entries
  4. Export for compliance

Key Events Logged

  • Hospital creation/updates
  • User creation/updates
  • Impersonation sessions
  • Subscription changes
  • Theme changes
  • Role template changes