ASPMonitor Interface is a Windows Forms application built with C#. It is designed to monitor, parse, and process laboratory result files (.RES). The application automatically reads data from .RES files, parses patient information and test results, and inserts the data into a SQL Server database. It also organizes backups of processed files and provides a live log for monitoring data processing activities.
- 📄 Parse
.RESlaboratory result files - 🔍 Extract patient data, barcode, section, and test results
- 🔄 Insert parsed data into SQL Server automatically
- ♻️ Auto-backup processed files into folders organized by Year/Month/Day
- 🕒 Display live log of processed files and operations
- ⚙️ Support both Manual Load and Auto Monitor Mode
- 🔗 Connect seamlessly with the ASPMonitor Dashboard for data visualization
- Language: C# (.NET Framework, WinForms)
- Database: SQL Server
- IDE: Visual Studio 2022
- File Type Processed:
.RES(Lab Test Result Files)
- This application shares the same database with the ASPMonitor Dashboard.
- Use the SQL script located in
/Database/aspdashboard.sqlto set up the database.
DashBoardRoomsSectionRoomPatienRoomUserAuthorize
- The database connection string is stored in the file
uti.txt.
ConnectionString =Data Source=.\sqlexpress; Initial Catalog=YOUR_DATABASE_NAME; User ID=YOUR_USERNAME; Password=YOUR_PASSWORD;
- The file
uti.txtis ignored from Git (.gitignore) for security. - A sample file
uti.example.txtis provided — copy and rename it touti.txtand adjust the connection string to match your environment.
- Open
ASPMonitorInterface.sln. - Click Start (F5) to run.
- Publish the application (
Right-click Project → Publish). - Run
ASPMonitorInterface.exefrom the publish output folder.
- Input Folder: Folder where
.RESfiles are located. - Backup Folder: Processed files are backed up automatically by Year/Month/Day.
- Logs Folder: Activity logs are saved here (if applicable).
This project is licensed under the MIT License - see the LICENSE file for details.
Developed by Nawee Pukpak (quiiznon1234)
📧 Contact: navypukpak@gmail.com