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 45b0523865 updated README.md 3 months ago
android added foreground service 3 months ago
assets deployed merged with appointment module v6 4 months ago
ios Reboot opening fixed 10 months ago
lib shifted logs to external (8.4) 3 months 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 shifted logs to external (8.4) 3 months ago
pubspec.yaml added foreground service 3 months 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.

Contact

For support or inquiries, please contact [your-email@domain.com].