trust_profile
Combine an NHS trust's current waiting time, RTT trend, and CQC rating for one specialty. Identify trust by provider code or name; missing data returns null and unknown trusts return found=false.
Instructions
Build a combined profile for one NHS trust and specialty, joining its current wait (My Planned Care), waiting-time trend (RTT), and CQC quality rating. Identify the trust by RTT provider code (e.g. 'RGT') or trust name (e.g. 'Guy's and St Thomas''); set by_name=true when passing a name. Each section is null when that source holds no data. If the trust is not in the identity mapping, returns found=false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by_name | No | ||
| specialty | Yes | ||
| identifier | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||