Providence care teams need to identify patients who completed an initial visit but have not completed a follow-up visit. Write a PostgreSQL query using the tables below.
INITIAL visit.FOLLOW_UP visit.patient_id ascending.A scheduled or cancelled follow-up does not count as completed. Patients with no initial visit should not appear in the results.
| Column | Type | Description |
|---|---|---|
| patient_idPK | INTEGER | Unique patient identifier |
| patient_name | VARCHAR(100) | Patient's display name |
| Column | Type | Description |
|---|---|---|
| visit_idPK | INTEGER | Unique visit identifier |
| patient_id | INTEGER | References patients.patient_id |
| visit_type | VARCHAR(20) | Visit classification |
| visit_status | VARCHAR(20) | Current visit status |
| visit_date | DATE | Date of the visit |