385 lines
11 KiB
Markdown
385 lines
11 KiB
Markdown
🧩 Overall Layout
|
||
Header: Display the title "PAD Department – Patients Relations Weekly Dashboard" and the date range "From: 00 JAN 2025 – To: 00 JAN 2025".
|
||
|
||
Three columns side by side (on desktop) for Amaal, Abrar, and Rahaf. On mobile, stack vertically.
|
||
|
||
Each column contains identical sections (described below) populated with the respective employee’s data.
|
||
|
||
Use cards to group related metrics.
|
||
|
||
Include ApexCharts for visual representations where indicated (e.g., pie/bar charts for complaint sources, response time distributions, etc.).
|
||
|
||
📊 Data Sections per Employee
|
||
1. Complaints by Response Time
|
||
Table with columns: 24 Hours, 48 Hours, 72 Hours, More than 72 hours, Total.
|
||
Also show percentages for each time bucket (relative to employee’s total complaints).
|
||
|
||
Employee 24h 48h 72h >72h Total
|
||
Amaal 7 2 11 19 39
|
||
Abrar 5 13 9 4 31
|
||
Rahaf 3 11 21 10 45
|
||
Chart suggestion: Stacked bar chart showing distribution per employee, or a pie chart for each employee’s time breakdown.
|
||
|
||
2. Complaint Source Breakdown
|
||
Counts and percentages for sources: MOH, CCHI, Patients, Patient’s relatives, Insurance company.
|
||
Percentages are calculated against the total of these five sources (row "Total" in this group).
|
||
|
||
Amaal
|
||
Source Count % of Source Total
|
||
MOH 4 13.3%
|
||
CCHI 5 16.7%
|
||
Patients 6 20.0%
|
||
Patient’s relatives 7 23.3%
|
||
Insurance company 8 26.7%
|
||
Total 30 100%
|
||
Abrar
|
||
Source Count %
|
||
MOH 1 10%
|
||
CCHI 3 30%
|
||
Patients 1 10%
|
||
Patient’s relatives 2 20%
|
||
Insurance company 3 30%
|
||
Total 10 100%
|
||
Rahaf
|
||
Source Count %
|
||
MOH 22 23.4%
|
||
CCHI 15 16.0%
|
||
Patients 26 27.7%
|
||
Patient’s relatives 22 23.4%
|
||
Insurance company 9 9.6%
|
||
Total 94 100%
|
||
Chart suggestion: Horizontal bar chart or donut chart for each employee showing source contribution.
|
||
|
||
3. Response Time by Source (CHI vs MOH)
|
||
A matrix showing for each time category the number of complaints attributed to CHI and MOH.
|
||
|
||
Amaal
|
||
Time CHI MOH
|
||
24 Hours 1 2
|
||
48 Hours 2 2
|
||
72 Hours 3 6
|
||
>72 Hours 4 0
|
||
Total 10 10
|
||
Abrar
|
||
Time CHI MOH
|
||
24 Hours 1 2
|
||
48 Hours 2 2
|
||
72 Hours 3 6
|
||
>72 Hours 4 0
|
||
Total 10 10
|
||
*(Note: Abrar’s numbers are identical to Amaal’s in the sample, but verify from the file: Actually from the ASCII, Abrar's matrix: 24h: CHI=1, MOH=2; 48h: CHI=2, MOH=2; 72h: CHI=3, MOH=6; >72h: CHI=4, MOH=0. So same as Amaal.)*
|
||
|
||
Rahaf
|
||
Time CHI MOH
|
||
24 Hours 1 2
|
||
48 Hours 2 2
|
||
72 Hours 3 6
|
||
>72 Hours 4 0
|
||
Total 10 10
|
||
(Rahaf also identical in the sample. These numbers may be placeholders; keep as given.)
|
||
|
||
Chart suggestion: Grouped bar chart per time category comparing CHI vs MOH.
|
||
|
||
4. Patient Type Breakdown
|
||
Counts and percentages for In-Patient, Out-Patient, ER. Percentages are against the total of these three.
|
||
|
||
Amaal
|
||
Type Count %
|
||
In-Patient 12 35.3%
|
||
Out-Patient 15 44.1%
|
||
ER 7 20.6%
|
||
Total 34 100%
|
||
Abrar
|
||
Type Count %
|
||
In-Patient 1 12.5%
|
||
Out-Patient 3 37.5%
|
||
ER 4 50.0%
|
||
Total 8 100%
|
||
Rahaf
|
||
Type Count %
|
||
In-Patient 14 53.8%
|
||
Out-Patient 9 34.6%
|
||
ER 3 11.5%
|
||
Total 26 100%
|
||
Chart suggestion: Pie chart for each employee.
|
||
|
||
5. Department Type Breakdown
|
||
Counts and percentages for Medical, Admin, Nursing, Support Services. Percentages against total of these four.
|
||
|
||
Amaal
|
||
Department Count %
|
||
Medical 3 7.9%
|
||
Admin 9 23.7%
|
||
Nursing 15 39.5%
|
||
Support Services 11 28.9%
|
||
Total 38 100%
|
||
Abrar
|
||
Department Count %
|
||
Medical 1 2.1%
|
||
Admin 1 2.1%
|
||
Nursing 5 10.4%
|
||
Support Services 41 85.4%
|
||
Total 48 100%
|
||
Rahaf
|
||
Department Count %
|
||
Medical 12 34.3%
|
||
Admin 10 28.6%
|
||
Nursing 9 25.7%
|
||
Support Services 4 11.4%
|
||
Total 35 100%
|
||
Chart suggestion: Horizontal bar chart.
|
||
|
||
6. Delays and Activation
|
||
Number of delays in sending the complaint (delay in activation)
|
||
|
||
Activated within two hours count
|
||
|
||
Percentages are calculated against the employee’s total complaints (from section 1).
|
||
|
||
Employee Delays Activated within 2h
|
||
Amaal 12 9
|
||
Abrar 6 10
|
||
Rahaf 11 18
|
||
Percentage for delays = delays / total_complaints (Amaal: 12/39≈30.8%, Abrar: 6/31≈19.4%, Rahaf: 11/45≈24.4%)
|
||
|
||
Percentage for activated = activated / total_complaints (Amaal: 9/39≈23.1%, Abrar: 10/31≈32.3%, Rahaf: 18/45=40%)
|
||
|
||
Display as two metrics per employee with percentages.
|
||
|
||
7. Escalated Complaints
|
||
Total Escalated Complaints (sum of before 72h, exactly 72h, after 72h)
|
||
|
||
Breakdown:
|
||
|
||
Before 72 Hours
|
||
|
||
72 Hours Exactly
|
||
|
||
After 72 Hours
|
||
|
||
Resolved Escalated complaint
|
||
|
||
Employee Before 72h Exactly 72h After 72h Resolved Total Escalated
|
||
Amaal 15 11 3 12 29
|
||
Abrar 12 20 14 9 46
|
||
Rahaf 12 18 3 10 33
|
||
Chart suggestion: Stacked bar showing composition of escalated complaints.
|
||
|
||
8. Inquiries
|
||
Total Inquiries = Incoming + Outgoing
|
||
Employee Incoming Outgoing Total Inquiries
|
||
Amaal 15 15 30
|
||
Abrar 10 5 15
|
||
Rahaf 3 11 14
|
||
Incoming Inquiries – by Response Time & Status
|
||
Table for Incoming (counts):
|
||
|
||
Employee 24h 48h 72h >72h تحت الإجراء (In Progress) تم التواصل (Contacted) تم التواصل ولم يتم الرد (Contacted No Response)
|
||
Amaal 1 2 5 7 3 10 2
|
||
Abrar 1 2 0 7 3 5 2
|
||
Rahaf 1 2 0 0 3 5 2
|
||
*Note: The status counts are from the "Inquiries Status" section (rows 86-88). Verify that the sum of statuses equals total incoming? For Amaal: 3+10+2=15 (matches incoming). Good.*
|
||
|
||
Outgoing Inquiries – by Response Time & Status
|
||
Employee 24h 48h 72h >72h تحت الإجراء تم التواصل تم التواصل ولم يتم الرد
|
||
Amaal 1 2 5 7 2 10 3
|
||
Abrar 1 1 3 0 2 1 2
|
||
Rahaf 1 4 3 3 2 6 3
|
||
Percentages for each time/status cell can be calculated against total incoming/outgoing respectively.
|
||
|
||
Chart suggestion: Grouped bars for incoming vs outgoing per employee, or stacked bars for status distribution.
|
||
|
||
Inquiry Type Details (Incoming & Outgoing)
|
||
List of inquiry types with counts:
|
||
|
||
Incoming Types (appear under "incoming inquiries" table):
|
||
|
||
Type Amaal Abrar Rahaf
|
||
Contact the doctor 3 3 3
|
||
Sick-Leave - Medical Reports 8 4 4
|
||
Blood test result 4 3 3
|
||
Raise a Complaint 4 4 4
|
||
problem with the app 3 3 3
|
||
Ask about medication 3 3 3
|
||
Insurance request status 3 3 3
|
||
general question 3 3 3
|
||
Total 31 26 26
|
||
Note: Totals may not match incoming totals because these are separate tallies; keep as given.
|
||
|
||
Outgoing Types:
|
||
|
||
Type Amaal Abrar Rahaf
|
||
Contact the doctor 3 0 3
|
||
Sick-Leave - Medical Reports 4 0 1
|
||
Blood test result 3 0 2
|
||
Raise a Complaint 1 1 1
|
||
problem with the app 1 1 1
|
||
Insurance request status 1 1 1
|
||
general question 1 1 1
|
||
Ask about medication 1 1 1
|
||
Total 15 5 11
|
||
Display as two small tables per employee (incoming types, outgoing types) or combine.
|
||
|
||
9. Notes
|
||
Total Notes per employee: Amaal=22, Abrar=19, Rahaf=15.
|
||
|
||
Breakdown by Category and Sub-category (list from rows 97-103):
|
||
|
||
Category Sub-category Amaal Abrar Rahaf
|
||
Non-Medical IT - App 3 3 3
|
||
Medical LAB 2 2 2
|
||
ER Doctors/Managers/Reception 1 1 1
|
||
Hospital Hospital 1 1 1
|
||
Non-Medical Medical Reports 1 1 1
|
||
Medical Doctors 1 1 1
|
||
*Note: There are only these six rows in the sample; totals add up: Amaal 3+2+1+1+1+1=9, but total notes is 22, so there are missing entries. Keep as given; the AI can display only these.*
|
||
|
||
Chart suggestion: Treemap or bar chart for note categories.
|
||
|
||
10. Complaint Request & Filling Details
|
||
Total sent complaints request = Filled + Not Filled
|
||
Employee Filled Not Filled Total Requests
|
||
Amaal 7 10 17
|
||
Abrar 5 14 19
|
||
Rahaf 3 3 6
|
||
Complaint Status Breakdown
|
||
On hold, Not filled, Filled, From Bar code counts and percentages.
|
||
|
||
Employee On hold Not filled Filled From Bar code Total (sum)
|
||
Amaal 2 8 3 4 17
|
||
Abrar 2 5 6 6 19
|
||
Rahaf 1 2 2 1 6
|
||
*Percentages are against the total (e.g., Amaal on hold % = 2/17 ≈ 11.8%).*
|
||
|
||
Filling Time Breakdown
|
||
Same time, within 6 hours, 6 to 24 hours, after 1 day, time not mentioned counts and percentages.
|
||
|
||
Employee Same time ≤6h 6-24h >1 day Not mentioned Total
|
||
Amaal 6 2 2 5 2 17
|
||
Abrar 6 1 5 5 2 19
|
||
Rahaf 1 2 1 2 6 12
|
||
*Note: Rahaf’s total here is 12, but total requests above is 6 – inconsistency in sample. Use the numbers as given, but note the discrepancy. Possibly the "Total" row in that section sums to something else. We'll keep the provided counts: for Rahaf: same time=1, ≤6h=2, 6-24h=1, >1 day=2, not mentioned=6 → sum=12. We'll display them as is.*
|
||
|
||
Chart suggestion: Pie chart for filling time distribution.
|
||
|
||
11. Report Completion Tracker
|
||
For each employee, a list of reports with True/False status, and overall completion percentage.
|
||
|
||
Reports:
|
||
|
||
Complaint Report
|
||
|
||
Complaint Request Report
|
||
|
||
Observation Report
|
||
|
||
Incoming Inquiries Report
|
||
|
||
Outgoing Inquiries Report
|
||
|
||
Extension Report
|
||
|
||
Escalated Complaints Report
|
||
|
||
Status per employee:
|
||
|
||
Report Amaal Abrar Rahaf
|
||
Complaint Report True True True
|
||
Complaint Request Report False True False
|
||
Observation Report True True True
|
||
Incoming Inquiries Report True True False
|
||
Outgoing Inquiries Report True True False
|
||
Extension Report True True False
|
||
Escalated Complaints Report False False True
|
||
Completion % = (number of True) / 7
|
||
|
||
Employee Completion %
|
||
Amaal 5/7 ≈ 71.4%
|
||
Abrar 6/7 ≈ 85.7%
|
||
Rahaf 3/7 ≈ 42.9%
|
||
Display as checklist with checkmarks/crosses and a progress bar.
|
||
|
||
📈 Summary / Cross‑Employee Views (from other sheets)
|
||
The sheets Complaints Calculations, Inquiries Calculations, and Notes Calculations provide totals across employees. Use these to create summary cards or charts at the top of the dashboard.
|
||
|
||
Complaints Calculations (excerpts)
|
||
Total Complaints per employee: Amaal=39, Abrar=31, Rahaf=45 → Overall = 115.
|
||
|
||
24h/48h/72h/>72h totals across employees:
|
||
|
||
24h: 7+5+3 = 15
|
||
|
||
48h: 2+13+11 = 26
|
||
|
||
72h: 11+9+21 = 41
|
||
|
||
72h: 19+4+10 = 33
|
||
|
||
Complaints by Department (sum of all employees):
|
||
|
||
Support Services: (Amaal11 + Abrar41 + Rahaf4) = 56
|
||
|
||
Nursing: (15+5+9) = 29
|
||
|
||
Admin: (9+1+10) = 20
|
||
|
||
Medical: (3+1+12) = 16
|
||
|
||
ER: (7+4+3) = 14
|
||
|
||
Out-Patient: (15+3+9) = 27
|
||
|
||
In-Patient: (12+1+14) = 27
|
||
|
||
Insurance company: (8+3+9) = 20
|
||
|
||
Patient’s relatives: (7+2+22) = 31
|
||
|
||
Patients: (6+1+26) = 33
|
||
|
||
CCHI: (5+3+15) = 23
|
||
|
||
MOH: (4+1+22) = 27
|
||
|
||
Inquiries Calculations
|
||
Total Incoming Inquiries: Amaal15 + Abrar10 + Rahaf3 = 28
|
||
|
||
Total Outgoing Inquiries: Amaal15 + Abrar5 + Rahaf11 = 31
|
||
|
||
Incoming status and time totals can be summed similarly.
|
||
|
||
Notes Calculations
|
||
Total Notes: Amaal22 + Abrar19 + Rahaf15 = 56
|
||
|
||
Percentages of total: Amaal 39.3%, Abrar 33.9%, Rahaf 26.8%.
|
||
|
||
🎨 Visual Design Guidelines
|
||
Use Tailwind CSS for layout and styling (cards, grid, typography, colors).
|
||
|
||
Make the dashboard responsive: three columns on large screens, stacked on small.
|
||
|
||
Use subtle background colors to separate employee sections.
|
||
|
||
All tables should be readable with small font sizes; use text-sm and padding.
|
||
|
||
For charts, use ApexCharts. Suggested chart types:
|
||
|
||
Complaint response time: Grouped bar (employees on x-axis, time buckets as groups) or stacked bar.
|
||
|
||
Complaint source: Pie/donut per employee.
|
||
|
||
Inquiry status: Stacked bar per employee.
|
||
|
||
Completion tracker: Progress bar per employee.
|
||
|
||
Department totals: Horizontal bar chart comparing employees.
|
||
|
||
Place summary KPIs (total complaints, total inquiries, total notes) at the top.
|
||
|
||
📝 Implementation Notes
|
||
The data provided is static; hardcode the numbers as shown.
|
||
|
||
Use Arabic text where present (e.g., تحت الإجراء, تم التواصل) – ensure proper RTL support if needed, but the layout is primarily English.
|
||
|
||
|
||
Organize sections into collapsible cards if too long, but aim to show all data clearly. |