Athelas Operations needs a weekly view of active patient monitoring sessions to identify changes in monitoring volume. Write a PostgreSQL query using the Athelas monitoring session data to calculate week-over-week growth.
(current_week - prior_week) / prior_week * 100.NULL growth when no prior week exists or the prior count is zero.| Column | Type | Description |
|---|---|---|
| patient_idPK | INTEGER | Unique patient identifier |
| full_name | VARCHAR(120) | Patient full name |
| status | VARCHAR(20) | Current patient status |
| Column | Type | Description |
|---|---|---|
| session_idPK | INTEGER | Unique monitoring session identifier |
| patient_id | INTEGER | Patient associated with the session |
| started_at | TIMESTAMP | Timestamp when monitoring began |
| session_status | VARCHAR(20) | Current monitoring session status |