The Pneumonia Data Visualization System is a comprehensive web-based platform designed to monitor, analyze, and visualize pneumonia cases across La Union province. This system enables health officials and administrators to make data-driven decisions for public health interventions.
1.2 Target Users
Public Users: View statistics, dashboards, and maps
Health Officers: Upload monthly reports and access detailed analytics
Administrators: Full system access including data management and user administration
1.3 Key Benefits
β Real-time pneumonia surveillance across 20 municipalities
β Interactive visualizations and geographic mapping
β Automated data processing from Excel reports
β Trend analysis and comparative statistics
β FHSIS-compliant report generation
2. System Overview
2.1 System Architecture
The system is built using modern web technologies:
Backend: Laravel PHP Framework
Frontend: Blade Templates with Tailwind CSS
Database: MySQL
Charts: Chart.js
Maps: Interactive SVG with JavaScript
2.2 Supported Browsers
Browser
Minimum Version
Status
Google Chrome
90+
β Recommended
Mozilla Firefox
88+
β Supported
Microsoft Edge
90+
β Supported
Safari
14+
β Supported
3. Getting Started
3.1 Accessing the System
Open your web browser
Navigate to the system URL
The home page displays current pneumonia statistics
3.2 Navigation
The main navigation menu includes:
Home: Overview and latest statistics
Dashboard: Detailed analytics and charts
Maps: Geographic visualization
About: System information
Login: Access for administrators (top-right)
4. User Roles & Permissions
4.1 Public Users (Guest)
Access Level: View Only
β View home page statistics
β Access dashboard with filters
β Explore interactive maps
β Cannot upload files
β Cannot export data
β Cannot generate reports
4.2 Administrators
Access Level: Full Access
β All public user permissions
β Upload monthly reports
β Manage file uploads
β Export data to CSV
β Generate FHSIS reports
β Access admin panel
5. Features Guide
5.1 Live Data Statistics
The home page displays real-time statistics:
Total Cases: All pneumonia cases recorded
Morbidity Cases: Non-fatal pneumonia cases
Mortality Cases: Pneumonia-related deaths
Fatality Rate: Percentage of deaths vs total cases
5.2 Dashboard Analytics
Interactive dashboard features:
π Municipality comparison charts
π Yearly and monthly trend analysis
π― Morbidity vs Mortality breakdown
π₯ Age group distribution
β§ Gender-based analysis
π Advanced filtering options
5.3 Interactive Maps
Geographic visualization features:
πΊοΈ Color-coded municipality intensity
π±οΈ Hover tooltips with case counts
π Click for detailed municipality data
π¨ Dynamic color scaling based on case density
5.4 Mobile Responsiveness
The system is fully optimized for mobile devices:
π± Responsive Design: Automatically adapts to all screen sizes (mobile, tablet, desktop)
π Mobile Menu: Hamburger menu with easy navigation on small screens
π Touch-Friendly: Large tap targets and optimized button sizes for mobile use
π Adaptive Tables: Tables automatically hide less critical columns on mobile for better readability
π― Optimized Layouts: Content stacks vertically on mobile for easy scrolling
β¨ Smooth Interactions: Tooltips and hover effects work seamlessly on touch devices
π‘ Mobile Navigation Tips:
Tap the hamburger menu (β°) in the top-left to access all navigation options
Your profile and logout button are available in the mobile menu
Swipe horizontally on tables to view additional columns if needed
Charts and graphs automatically resize for optimal mobile viewing
6. File Upload Guide
6.1 File Format Requirements
β οΈ Important: Files must follow the FormatGuide.xlsx structure
π₯ Download Format Template:
A downloadable FormatGuide.xlsx file is available on the file upload page. Click the blue "Download FormatGuide.xlsx" button at the top of the upload form to get the required template.
Location: Available on both Member and Admin "Manage Files" pages, above the file upload area.
Required Format:
File Type: .xlsx or .csv
Maximum Size: 10MB (Monthly), 20MB (Annual)
Required Sheets: M2 (Morbidity) and M3 (Mortality)
Must include TOTAL columns for male and female
Follow exact column headers as shown in FormatGuide.xlsx
6.2 File Naming Convention
Format:MunicipalityCode_Month_Year.xlsx
Examples:
AGG_January_2025.xlsx (Agoo, January 2025)
SFC_February_2025.xlsx (San Fernando City, February 2025)
NAG_March_2025.xlsx (Naguilian, March 2025)
6.3 Municipality Codes
Code
Municipality
Code
Municipality
AGG
Agoo
LUN
Luna
ARG
Aringay
NAG
Naguilian
BAC
Bacnotan
PUG
Pugo
BAG
Bagulin
ROS
Rosario
BAL
Balaoan
SFC
San Fernando City
BAN
Bangar
SGB
San Gabriel
BAU
Bauang
SJU
San Juan
BRG
Burgos
STO
Santo Tomas
CAB
Caba
SAN
Santol
SUD
Sudipen
TUB
Tubao
6.4 Upload Process (Members & Admin)
Login to your account
Navigate to "Manage Files" (Members) or "Manage Files" (Admin)
Select month from dropdown
Select year from dropdown
Choose file (must follow format guide)
Important: File name month and year MUST match dropdown selections
Click "Upload File"
Wait for processing (10-30 seconds)
Verify success message
β οΈ File Validation: The system will reject your upload if the month/year in the filename doesn't match your dropdown selection. For example, if you select "APRIL 2025" but upload "BAU-MARCH-2025.xlsx", you'll get an error.
6.5 File Status Tracking
Members can track their files through different statuses:
Pending: File uploaded, awaiting admin approval
Approved: File approved and data processed into system
Rejected: File rejected (view reason by clicking "View Reason")
Deletion Requested: Member requested deletion, awaiting admin action
6.6 Requesting File Deletion (Members Only)
Members can request deletion of approved files:
Go to "Manage Files" page
Find the approved file you want to delete
Click "Request Deletion" button
Enter a detailed reason (minimum 10 characters)
Click "Submit Request"
File moves to "Deletion Requests" tab
Wait for admin to review and approve deletion
π‘ Tip: You can cancel a deletion request anytime before the admin acts on it by clicking "Cancel Request" in the Deletion Requests tab.
7. Dashboard Guide
7.1 Filter Options
The dashboard provides multiple filtering options:
View Period Selection
Monthly: View data by individual months
Quarterly: View data grouped by quarters (Q1, Q2, Q3, Q4)
Yearly: View annual aggregated data
Time Period Filters
Year: Select specific year or "All Years"
Month: Select specific month or "All Months" (Monthly view only)
Charts and KPI cards automatically update to show quarterly trends and comparisons.
Location Filters
Municipality: Filter by specific municipality or view all
Case Type Filters
Case Type: Morbidity, Mortality, or All
Disease Type: Specific pneumonia types
Demographic Filters
Age Group: Filter by age ranges
Gender: Male, Female, or All
7.2 Understanding Charts
Municipality Comparison Chart
Bar chart showing total cases per municipality, sorted from highest to lowest.
Yearly Trends Chart
Line chart displaying pneumonia trends across multiple years (2020-2025).
Morbidity vs Mortality Chart
Stacked bar chart comparing morbidity and mortality cases.
Age Group Distribution
Pie chart showing case distribution across age groups.
8. Interactive Maps
8.1 Map Features
Color Intensity: Darker colors indicate higher case counts
Hover Tooltips: Move your mouse over any municipality to see its name and case count instantly
Click Details: Click on a municipality to open a detailed modal with full statistics
Dynamic Filters: Filter by year, month, case type, disease, and age group
Real-time Updates: Map colors update automatically when filters are applied
π‘ Tooltip Feature:
When you hover your mouse over any municipality on the map, a tooltip will appear showing:
Municipality name (properly formatted)
Total case count for the selected filters
The tooltip follows your cursor for easy viewing!
8.2 Color Legend (Updated for Higher Case Volumes)
The intensity scale is designed to handle thousands of cases over multiple years:
Color
Case Range
Intensity Level
Gray
0 cases
No Data
Green
1-100 cases
Low
Orange
101-500 cases
Medium
Red
501-1000 cases
High
Dark Red
1000+ cases
Critical
β οΈ Note: The intensity scale has been updated to accommodate datasets spanning multiple years with potentially thousands of cases. This ensures better visualization and differentiation of case density across municipalities.
9. Reports & Export (Admin Only)
9.1 CSV Export
How to Export:
Apply desired filters on dashboard
Click "Export CSV" button
File downloads automatically
Open in Excel or Google Sheets
9.2 FHSIS Report Generation
How to Generate Monthly Report:
Select "Monthly" view period
Select desired month and year
Apply other filters (municipality, case type)
Click "Generate Report" button
Report opens in new tab with selected month
Click "Print Report" or use Ctrl+P
Select "Save as PDF" or print directly
How to Generate Quarterly Report:
Select "Quarterly" view period
Select desired quarter(s) - Q1, Q2, Q3, or Q4
Select year
Apply other filters (municipality, case type)
Click "Generate Report" button
Report opens showing selected quarter(s) in header
Data includes all months within selected quarter(s)
Click "Print Report" or use Ctrl+P to save as PDF
π‘ Quarterly Report Example: If you select Q1 and Q2 for 2025, the report header will show "Q1, Q2 - 2025" and include data from January through June.
9.3 Report Features
Official FHSIS header format
Province: LA UNION
Dynamic period display (month, quarter, or year)
Includes all relevant charts and visualizations
Grouped by municipality and disease type
Summary statistics included
Signature sections for approval
Print-optimized layout
10. Troubleshooting
10.1 Common Issues
Issue: Cannot see data on dashboard
Solution:
Check if filters are too restrictive
Try selecting "All" for year and municipality
Verify data has been uploaded for selected period
Issue: File upload fails
Solution:
Verify file follows FormatGuide.xlsx structure
Check file size (must be under 10MB)
Ensure file name follows naming convention
Verify M2 and M3 sheets exist
Check month/year match: File name month and year MUST match dropdown selections
Example: If you select "APRIL 2025", file must be named "XXX-APRIL-2025.xlsx"
Issue: Cannot request file deletion
Solution:
Only approved files can have deletion requests
Pending or rejected files cannot be deleted via request
Ensure you're logged in as a member (not admin)
Check if deletion request already exists for that file
Issue: Quarterly view shows no data
Solution:
Verify data exists for months within selected quarter
Check if year filter is correctly set
Try selecting multiple quarters to see more data
Ensure municipality filter isn't too restrictive
Check for TOTAL columns in both sheets
Issue: Map not showing municipality
Solution:
Verify data exists for that municipality
Check if filters are excluding the data
Try refreshing the page
Issue: Export/Report buttons not visible
Solution:
These features are admin-only
Login with admin credentials
Buttons will appear after login
11. Frequently Asked Questions
Q: How often should data be uploaded?
A: Monthly reports should be uploaded at the end of each month or as soon as data is available.
Q: Can I upload data for previous years?
A: Yes, the system accepts data from 2020 onwards. Use the appropriate year in the file name and upload form.
Q: What pneumonia types are tracked?
A: The system tracks all pneumonia types including:
A: Yes! Click the "Print / Save as PDF" button at the top-right of this page, then select "Save as PDF" in the print dialog.
Q: What's the difference between quarterly and monthly view?
A: Monthly view shows data for individual months, while quarterly view groups data into 3-month periods (Q1: Jan-Mar, Q2: Apr-Jun, Q3: Jul-Sep, Q4: Oct-Dec). Quarterly view is useful for identifying seasonal trends and comparing performance across quarters.
Q: Can members delete their uploaded files?
A: Members cannot directly delete files. Instead, they can request deletion by clicking "Request Deletion" on approved files and providing a reason. The admin will review and approve the deletion request.
Q: What happens if I upload a file with the wrong month in the filename?
A: The system will reject the upload with an error message. The month and year in your filename must exactly match the month and year you selected in the dropdown menus. For example, if you select "APRIL 2025" from the dropdowns, your file must be named "XXX-APRIL-2025.xlsx".
Q: Can I cancel a deletion request?
A: Yes! Members can cancel deletion requests anytime before the admin acts on them. Go to the "Deletion Requests" tab in your Manage Files page and click "Cancel Request".
Q: How do I generate a report for multiple quarters?
A: Select "Quarterly" view period, then hold Ctrl (Windows) or Cmd (Mac) while clicking multiple quarters (e.g., Q1 and Q2). Click "Generate Report" and the report will include data from all selected quarters.
Q: Where can I find the file format template?
A: The FormatGuide.xlsx template is available for download on the "Manage Files" page. Look for the blue download button at the top of the upload form. This template shows the exact structure, column headers, and sheet names (M2 for Morbidity, M3 for Mortality) required for successful file uploads.
Q: Do I need to follow the FormatGuide.xlsx exactly?
A: Yes! The system requires exact column headers and sheet names as shown in the FormatGuide.xlsx. Any deviation may cause upload errors or data processing failures. Download the template and use it as a reference when preparing your data files.
12. Appendix
12.1 Keyboard Shortcuts
Action
Shortcut
Print this manual
Ctrl + P
Refresh page
F5 or Ctrl + R
Go back
Alt + β
12.2 Contact Information
Department of Health - La Union
For technical support or questions:
π§ Email: doh.launion@doh.gov.ph
π Phone: (072) 888-1234
π’ Office: Provincial Health Office, La Union
12.3 Glossary
Term
Definition
FHSIS
Field Health Service Information System
Morbidity
Non-fatal disease cases
Mortality
Deaths caused by disease
PCAP A
Pediatric Community Acquired Pneumonia A (minimal risk)
PCAP B
Pediatric Community Acquired Pneumonia B (low risk)
CAP
Community Acquired Pneumonia (adult, moderate risk)