consultation_wait_stats
Query monthly hospital outpatient consultation counts and the percentage of first specialist consultations held within Portugal's guaranteed maximum waiting time by institution or region.
Instructions
Hospital outpatient consultations per month and the % of FIRST specialist consultations (referred by a family doctor via CTH/SIGA) held within the guaranteed maximum time (TMRG).
Use for "how long is the wait for a first hospital appointment at X?", "is hospital Y on time with first consultations?", "how many consultations did the Centro region do?". Official monthly statistics (latest month usually 2-3 months back, provisional); there is no breakdown by specialty in the open data.
Per period (latest first): consultations_in_month / _year_to_date (total, first, subsequent) and first_consultations_within_max_time_pct for the month and year-to-date.
Args: institution: Hospital or ULS name; mapped to its ULS. region: Norte | Centro | LVT (Lisboa) | Alentejo | Algarve. Ignored if institution is given. period: Latest month to include, "YYYY-MM" (default: newest available). months: How many months back (default 6, max 24).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| months | No | ||
| period | No | ||
| region | No | ||
| institution | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||