You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Faiz Hashmi d17c35e54e Completed the updated design 1 month ago
android Updated the Complete design for AppointmentModule 1 month ago
assets Completed the updated design 1 month ago
ios Reboot opening fixed 10 months ago
lib Completed the updated design 1 month ago
linux Added AskPrescriptionFor Paharmacy 5 months ago
macos Reboot opening fixed 10 months ago
test Fisrt push 10 months ago
web Fisrt push 10 months ago
windows Added AskPrescriptionFor Paharmacy 5 months ago
.gitignore Fisrt push 10 months ago
.metadata Fisrt push 10 months ago
README.md updated README.md 3 months ago
analysis_options.yaml Fisrt push 10 months ago
devtools_options.yaml Fisrt push 10 months ago
pubspec.lock completed new design 1 month ago
pubspec.yaml Completed the updated design 1 month ago

README.md

HMG_QLine

HMG_QLine is a Flutter-based application designed for efficient patient management and queue handling in healthcare environments. It features multiple screens for patient display, robust logging, and background service integration to ensure reliability and uptime.

Features

  • Patient queue management across all screens
  • Foreground service to monitor app state and auto-reopen if terminated or backgrounded
  • SignalR integration for real-time updates
  • Persistent logging with automatic log file rotation
  • Dynamic app versioning
  • Modular architecture with ViewModels and Services

Getting Started

Prerequisites

  • Flutter SDK (>=3.0.0)
  • Dart (>=2.17.0)
  • Android Studio or Xcode for platform-specific builds

Installation

  1. Clone the repository:
    git clone https://github.com/your-org/HMG_QLine.git
    cd HMG_QLine
    
  2. Install dependencies:
    flutter pub get
    
  3. Run the app:
    flutter run
    

Project Structure

  • lib/ - Main source code
    • api/ - API integration
    • config/ - Configuration files
    • constants/ - App-wide constants
    • models/ - Data models
    • repositories/ - Data repositories
    • services/ - Business logic and background services
    • utilities/ - Utility functions
    • view_models/ - State management
    • views/ - UI screens
  • assets/ - Fonts, images, icons, and tones
  • android/, ios/, macos/, linux/, windows/ - Platform-specific code

Logging

  • Logs are saved in the device's external storage under /logs/
  • Log files are rotated every 48 hours
  • Each log entry includes a timestamp, source, and type

Foreground Service

  • Monitors app lifecycle
  • Automatically reopens or restarts the app if terminated or sent to background
  • Checks app status every minute

SignalR Integration

  • Reconnects automatically after disconnection
  • Ensures real-time updates for patient queues

Debugging

  • Debuggable builds can be enabled in android/app/build.gradle for troubleshooting

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License.