---
title: "Ntpf Wait Share Rollup"
method: GET
path: "/api/v1/stats/ntpf_op/wait_share_rollup"
tags: ["stats"]
---

# Ntpf Wait Share Rollup

`GET /api/v1/stats/ntpf_op/wait_share_rollup`

## Request

- Base URL: `https://statsmapped.com`
- URL: `https://statsmapped.com/api/v1/stats/ntpf_op/wait_share_rollup`
- Auth: none declared

Every hospital's 18+-month outpatient wait share, earliest vs. latest available
period -- the cross-hospital rollup #599's prep doc (docs/prep/todo-24e515f5-*.md,
§0/§0a) decided on: ntpf_op only (band-robust; ntpf_ipdc is not, §0a's own table),
percentage-point change, 44 hospitals. Ireland only -- NTPF has no UK equivalent.

## Response `200`

Successful Response

- NtpfWaitShareRollupResponse
  - `country` string
  - `hospitals` NtpfWaitShareHospital[], required
    - `country` string
    - `group_key` string, required
    - `hospital_name` string, required
    - `county` string, nullable, required
    - `national_catchment` boolean, required
    - `history` NtpfWaitShareHistoryPoint[], required
      - `country` string
      - `period_date` string, required
      - `value` number, required
    - `first_period` string, required
    - `first_value` number, required
    - `latest_period` string, required
    - `latest_value` number, required
    - `delta_pts` number, required
    - `classification` string, required
  - `declined` integer, required
  - `rose` integer, required
  - `flat` integer, required
  - `caveats` Caveat[]
    - `country` string
    - `kind` string, required
    - `severity` string, required
    - `label` string, required
    - `body` string, required
    - `source_url` string, nullable
    - `origin` string, required
    - `interpretive` boolean
    - `stats` CaveatStats
      - `country` string
      - `median` number, required
      - `n` integer, required
      - `modified_z` number, required
      - `peer_basis` string, required

## Other responses

- `400`: Bad request
- `401`: Missing or invalid credentials
- `403`: Not authorized for this request
- `404`: Not found
- `422`: Validation error
- `429`: Rate limited

---

[API](https://skmtc.dev/statsmapped/apis/statsmapped-api.md) · [All operations](https://skmtc.dev/statsmapped/apis/statsmapped-api/llms.txt) · [OpenAPI document](https://skmtc.dev/statsmapped/apis/statsmapped-api/revisions/7c5b264d05b7?raw)
