Repository navigation
[PLAN] Expert Roles and Help Request Mapping
This page documents the design decisions for the expert role system, defining how expert users are categorized, how help requests are mapped to expertise areas, and how the notification and filtering logic works as a result.
Expertise categories are predefined and grouped under help request categories. Each expert selects one or more expertise areas from this list during profile setup.
| Help Request Category | Expertise Areas |
|---|---|
| MEDICAL | First Aid, Doctor/Nurse, Paramedic, Psychologist, Pharmacist |
| SHELTER | Search & Rescue, Civil Engineer, Firefighter |
| TRANSPORT | Driver, Logistics |
| FOOD | Food Safety, Nutrition |
| OTHER | General Volunteer (maybe) |
Expertise areas are stored in the database and managed by admins through the admin panel. New areas can be added or removed without any code change or deployment.
- Expert users select their expertise areas from the predefined list on their profile page.
- Each selection is stored as an
ExpertiseFieldrecord linked to the user. - An
is_approvedfield is included on each record. It defaults toTruefor now. Admin-based approval will be introduced in a later milestone. - A user may hold multiple expertise areas across different categories.
Each help request belongs to one of the five categories: MEDICAL, SHELTER, TRANSPORT, FOOD, or OTHER. When a request is created, the system identifies which expertise areas fall under that category and targets only the experts holding those areas.
Example:
- A MEDICAL help request → notifies experts with First Aid, Doctor/Nurse, Paramedic, Psychologist, or Pharmacist expertise in the same hub.
| Condition | Behavior |
|---|---|
| Approved expert with matching expertise in same hub | Receives FCM notification immediately |
| Expert with matching expertise but not approved | Does not receive notification |
| Expert in same hub but different expertise category | Does not receive notification |
| No matching expert found in hub | Requester is notified that no expert is currently available and the other experts in the hub will receive notifications |
- Help request list can be filtered by category on both frontend and mobile.
- Expert profiles display their approved expertise areas.
- On the help request detail page, the required expertise category is shown so experts can self-assess relevance before responding.
- Admin approval flow for expertise verification will be added alongside the admin panel.
- Additional expertise areas can be added to the predefined list from the admin panel.
- Hub hierarchy (city → district) may affect notification targeting in a future milestone.
Team Members
- Weekly Meeting 1 (15.02.2026)
- Weekly Meeting 2 (23.02.2026)
- Weekly Meeting 3 (03.03.2026)
- Weekly Meeting 4 (11.03.2026)
- Weekly Meeting 5 (16.03.2026)
- Weekly Meeting 6 (23.03.2026)
- Weekly Meeting 7 (30.03.2026)
- Weekly Meeting 8 (06.04.2026)
- Weekly Meeting 9 (15.04.2026)
- Weekly Meeting 10 (29.04.2026)
- Weekly Meeting 11 (06.05.2026)
- Weekly Meeting 12 (11.05.2026)
- Lab 1 Report (12.02.2026)
- Lab 2 Report (19.02.2026)
- Lab 3 Report (26.02.2026)
- Lab 4 Report (05.03.2026)
- Lab 5 Report (12.03.2026)
- Lab 6 Report (26.03.2026)
- Lab 7 Report (02.04.2026)
- Lab 8 Report (16.04.2026)
- Lab 9 Report (30.04.2026)
- Lab 10 Report (07.05.2026)