# Uganda Hospitals Dashboard
A web-based application for collecting, validating, and visualizing hospital infrastructure data across Uganda.
## 📱 What is This?
The Uganda Hospitals Dashboard helps you:
- **Collect** survey data about hospital conditions from the field using EpiCollect
- **View** all collected surveys on an interactive map
- **Validate** GPS coordinates to ensure surveys are recorded at real hospitals
- **Analyze** hospital infrastructure quality across Uganda
---
## 🎯 How It Works
### The Map View (Left Side)
The interactive map shows:
- 🏥 **Hospital Locations** (orange dots) - 7,463 hospitals in Uganda
- 📍 **Survey Points** (blue dots) - Hospitals you've surveyed
- 🌍 **Population Density** (color gradient) - Shows population across regions
- 🤝 **HXL Data** (cyan areas) - Humanitarian data zones
**What you can do:**
- Switch between different map styles (OpenStreetMap, Google Maps, Satellite, etc.)
- Click on any hospital or survey point to see details
- Zoom in/out to explore different regions
- Toggle layers on/off using the menu at bottom right
### The Control Panel (Right Side)
#### 📊 **Feature Details** (Top Section)
When you click on a location on the map, this shows:
- The facility name
- Location details
- Any available information about that location
#### 📋 **Collected Data** (Middle Section)
Shows your survey statistics:
**Statistics:**
- **Total collected survey** - How many surveys have been submitted
- **Last added** - When the most recent survey was added
- **See survey** - Click "Open" to view all surveys in a detailed table
**Action Buttons:**
| Button | What It Does | When to Use |
|--------|-------------|-----------|
| 🔄 **Refresh** | Syncs latest surveys from EpiCollect field teams | After field teams submit new surveys |
| ✓ **Validate** | Checks if survey GPS coordinates are accurate | Before analyzing or trusting the data |
| 📂 **Open** | Shows all surveys in a detailed table format | To review individual survey de …