Skip to content

First Time Setup

This guide will walk you through the initial configuration of CareLog after installation.

Initial Login

  1. Start the CareLog application
  2. Navigate to http://carelog.slimer.dev
  3. You'll see the login page

Creating Your First Admin Account

If starting fresh, create an administrator account:

  1. Click on the login page (or access the data file directly)
  2. Create a user with role hospitaladmin
  3. Use strong credentials

TIP

Admin accounts have full access to user management, audit logs, and patient oversight.

Setting Up User Roles

CareLog supports five user roles:

1. Hospital Admin

  • Full system access
  • User management
  • Audit log viewing
  • Patient oversight
  • System configuration

2. Doctor

  • View and manage patient medical records
  • Create diagnoses and prescriptions
  • Manage appointments
  • Access patient health logs

3. Nurse

  • Monitor patient health
  • Respond to emergency calls
  • View patient information
  • Update health logs

4. Patient

  • Log daily health status
  • Request appointments
  • View own medical records
  • Submit feedback
  • Make emergency calls

5. Family Member

  • View linked patient information
  • Request visits
  • Monitor patient health (with permission)
  • Receive notifications

Creating Users

As an Administrator

  1. Log in with admin credentials
  2. Navigate to User Management
  3. Click Add New User
  4. Fill in the required information:
    • Full Name
    • First Name & Last Name
    • Email (used for login)
    • Password
    • Role
  5. Click Create User

User Fields

  • Name: Full display name
  • Email: Unique identifier and login username
  • Password: Minimum 6 characters recommended
  • Role: Determines access permissions
  • Disabled: Can be toggled to temporarily block access

Linking Family Members to Patients

Family members need to be linked to patients to view their information:

  1. Admin creates both Patient and Family Member accounts
  2. In the user data, link the family member to the patient via linkedPatients array
  3. Family member can now access patient information through their dashboard

Configuring Sensitive Data

Some health information can be marked as sensitive:

  1. Patients can mark health logs as sensitive
  2. Sensitive data is hidden from family members
  3. Only medical staff (doctors, nurses) and the patient can view sensitive information

Database Backup

It's recommended to set up regular backups:

  1. Use the built-in backup service
  2. Backups are stored in data/backups/
  3. Auto-backups can be configured for automatic daily backups
  4. Manual backups can be created anytime

Security Best Practices

  1. Change Default Passwords: Update all test account passwords
  2. Use Strong Passwords: Enforce password complexity
  3. Regular Backups: Schedule automatic backups
  4. Monitor Audit Logs: Review system activity regularly
  5. Disable Unused Accounts: Use the disable feature instead of deleting
  6. Review Access: Periodically audit user roles and permissions

System Configuration

Notification Settings

Configure how notifications are delivered:

  • In-app notifications (default)
  • Email notifications (requires email configuration)

Emergency Call Settings

Configure emergency response:

  • Auto-escalation timeout
  • Nurse assignment rules
  • Priority levels

Appointment Settings

Configure appointment scheduling:

  • Working hours
  • Appointment duration
  • Advance booking limits

Testing Your Setup

  1. Create test users for each role
  2. Log in as each role to verify access
  3. Test key workflows:
    • Patient logging health data
    • Doctor creating a prescription
    • Nurse responding to an emergency
    • Family member viewing patient info
    • Admin managing users

Next Steps