publicdata.au publicdata.au on GitHub

Elective surgery waiting times by hospital and surgical specialty, Australia

live
Publisher Australian Institute of Health and WelfareUpdated several times a yearLicence CC BY 4.0Latest 2026-10-20As at 19 August 2026Rows 27,902Fields 11

The Specialty of surgeon sheet of the MyHospitals elective surgery waiting times data extract from the AIHW MyHospitals Data API. Each row is one reporting unit, financial year and surgical specialty, with the number of surgeries, the median waiting time in days, the percentage of patients who waited more than 365 days and the peer group's median and average.

Also called: Surgery waiting times by specialty and hospital, Orthopaedic surgery waiting times Australia, Elective surgery median wait by specialty of surgeon.

Part of AIHW MyHospitals, 5 tables the publisher releases together: Hospitals, Local Hospital Networks and Primary Health Networks in MyHospitals, Australia, Emergency department patients seen on time by hospital and triage category, Australia, Elective surgery waiting times by hospital and urgency category, Australia, Elective surgery waiting times by hospital and intended procedure, Australia.

Before you use it
What is in each row?
One public hospital, Local Hospital Network, state or the nation, one financial year from 2011-12 and one specialty of the surgeon who operated. It gives the number of elective surgeries, the median days waited, the share of patients who waited more than 365 days, and the peer group's median and average beside them.
What do the blanks mean?
The Institute writes <5 for a count under five and NP where the data did not meet its criteria. Those cells are null here with a suppressed flag. Only the number of surgeries is ever <5 and only the other figures are ever NP, so the field the flag names tells you which code was written. A dash, meaning no patients were reported, and Not peered are null. Peer group results appear only where more than two hospitals in the peer group performed surgery in the specialty, and there are none for 2016-17 or 2017-18, after paediatric surgery became a specialty on 1 July 2016. The share who waited more than 365 days is a fraction, so 0.05 means 5 per cent.
How does this join to the hospital list?
Each row names its reporting unit as the Institute's list of hospitals and networks in this collection names it, so the two join on the name and the reporting unit type, which give one unit each. The code is on the hospital list.
27,902hospital, year and specialty rows
2011–12 to 2024–25years drawn
11fields
8formats
1version
0200k400k600k800k2011–12: 659,7972012–13: 671,0752012–132013–14: 699,0352014–15: 697,5762014–152015–16: 711,8752016–17: 748,0812016–172017–18: 748,8292018–19: 758,1872018–192019–20: 688,3022020–21: 754,5992020–212021–22: 622,9882022–23: 735,4602022–232023–24: 778,4662024–25: 790,5282024–25
Elective surgeries, Australia per financial year, 2011–12 to 2024–25. Rows where reporting unit type is National are drawn. The figure is a sum of the surgeries column from version 2026-10-20, worked out in the build. Nothing else is added.

Made for agents

Connect your AI agent

Any agent that connects to publicdata.au/mcp can find this dataset, read its 11 fields, count and filter across all 27,902 rows and diff its versions. Every answer names the version and carries AIHW's attribution. No key.

Then ask it: What does Elective surgery waiting times by hospital and surgical specialty, Australia hold, and what changed in the newest version?

claude mcp add --transport http publicdata https://publicdata.au/mcp

One command. No key, no account, no sign-up.

Download it as Excel, CSV, JSON and 5 more formats

Pick a format and a version. Excel is picked first because it opens in the tools most offices have. The URL is yours to keep. A dated version keeps its content.

Format
"Latest" redirects to the newest version and will change when the publisher releases again. A dated version keeps its content.
https://publicdata.au/d/au-elective-surgery-waiting-times-by-specialty/latest/data.xlsx
Download this file

One workbook with a records sheet of 27,902 typed rows, a fields sheet and a publicdata sheet with the provenance. Dates are real Excel dates. Opens in Excel, Numbers, LibreOffice and Sheets.

In your own tools

Use it in Excel, R, Python and more

Excel and Power BI read the CSV from its address and refresh from it. The R and Python packages take any dataset on this site by its slug, so a new dataset needs no new release. The DuckDB file attaches read-only over HTTPS, and a query reads only the blocks it touches.

The dated URL in the code never changes. https://publicdata.au/d/au-elective-surgery-waiting-times-by-specialty/latest/ redirects to the newest version.

https://publicdata.au/d/au-elective-surgery-waiting-times-by-specialty/latest/data.csv

In Excel choose Data, then From Web, and paste this address. Excel keeps it, so Refresh All reads the newest version. A sheet holds about a million rows; past that, load the query to the Data Model.

What is in it

Column names are made snake_case and the publisher's original header is kept beside each one. Blank cells are null. Nothing is added, removed, ranked or summarised.

FieldTypePublisher's headerNote
reporting_unitstringReporting unit
reporting_unit_typestringReporting unit type
statestringState
peer_groupstringPeer group
yearstringYear
surgical_specialtystringSurgical specialty
surgeriesintegerNumber of surgeries
median_wait_daysintegerMedian waiting time (days)
peer_group_median_daysintegerPeer group median (days)
share_waited_over_365_daysnumberPercentage who waited more than 365 days for surgeryThe fraction of patients who waited more than 365 days for surgery, 0.05 for 5 per cent.
peer_group_averagenumberPeer group average
suppressedarrayNames of the fields the publisher suppressed in this row. The cells are null.

Download this table as a data dictionary (Excel), or read it as a Frictionless Table Schema at schema.json. The key is reporting_unit, reporting_unit_type, year, surgical_specialty.

A sample of 10 rows

Orthopaedic surgery at the busiest hospitals in the newest year, the busiest hospital in each state first, then the next busiest. A blank cell is shown as null.

reporting_unitreporting_unit_typestatepeer_groupyearsurgical_specialtysurgeriesmedian_wait_dayspeer_group_median_daysshare_waited_over_365_dayspeer_group_average
Fremantle Hospital and Health ServiceHospitalWALarge metropolitan hospitals2024–25Orthopaedic surgery184870null0.017null
Princess Alexandra HospitalHospitalQldMajor hospitals2024–25Orthopaedic surgery179723null0.036null
Royal Prince Alfred Institute of Rheumatology & OrthopaedicsHospitalNSWUnpeered2024–25Orthopaedic surgery171850null0null
University Hospital GeelongHospitalVicMajor hospitals2024–25Orthopaedic surgery142684null0.017null
The Canberra HospitalHospitalACTMajor hospitals2024–25Orthopaedic surgery1255161null0.234null
Royal Hobart HospitalHospitalTasMajor hospitals2024–25Orthopaedic surgery112482null0.012null
Royal Adelaide HospitalHospitalSAMajor hospitals2024–25Orthopaedic surgery96694null0.095null
Alice Springs HospitalHospitalNTLarge regional hospitals2024–25Orthopaedic surgery33731null0.006null
The Prince Charles HospitalHospitalQldMajor hospitals2024–25Orthopaedic surgery178790null0.006null
John Hunter HospitalHospitalNSWMajor hospitals2024–25Orthopaedic surgery164660null0.31null
The first row as JSON

As it appears in data.json.

GET https://publicdata.au/d/au-elective-surgery-waiting-times-by-specialty/latest/data.json
{
  "reporting_unit": "National",
  "reporting_unit_type": "National",
  "state": "NAT",
  "peer_group": null,
  "year": "2011–12",
  "surgical_specialty": "Cardio-thoracic surgery",
  "surgeries": 12111,
  "median_wait_days": 16,
  "peer_group_median_days": null,
  "share_waited_over_365_days": 0.001,
  "peer_group_average": null,
  "suppressed": []
}

Query it without downloading

The query API returns only the rows you ask for, as JSON, NDJSON or CSV, from the same typed rows as the files. It needs no key. Build a query here and run it, then copy the URL or the code into your own work.

Try rows or aggregate for this dataset. The query builder needs JavaScript.

How filters work

Each filter is field=operator.value in the query string, and every filter must match. A number or date field compares as a number or date, and a text field compares as text. Values are case-sensitive, except that like and ilike ignore case in the ASCII letters A to Z. Prefix not. to negate a filter, as not.eq.value.

OperatorWhat it matches
eq.valueEqual to the value.
neq.valueNot equal to the value. A blank cell does not match.
gt.valueGreater than the value.
gte.valueGreater than or equal to the value.
lt.valueLess than the value.
lte.valueLess than or equal to the value.
like.*text*Matches a pattern where * stands for any run of characters, ignoring case in the ASCII letters A to Z.
ilike.*text*The same as like. Both ignore case in ASCII letters only, so É and é differ.
in.(a,b,c)Equal to any value in the list. A value cannot contain a comma.
is.nullBlank in the source, or suppressed by the publisher.
ParameterWhat it does
selectFields to return, comma-separated. Every field when absent.
orderfield.asc or field.desc, comma-separated. When absent, rows come in the order of the file they are read from. For the newest versions that is the version's own data.parquet, which keeps the publisher's order unless the dataset sorted it. Any other version is read from the Parquet file the answer names in file, and when that file is sorted the answer names its sort in order, which ties follow too.
limitRows per page, 1 to 10,000. 100 when absent.
offsetRows to skip. The next URL in each answer sets it for you.
groupOn aggregate, fields to group by, comma-separated.
metricOn aggregate, count, sum.field, avg.field, min.field or max.field, comma-separated. count when absent.
formatjson, ndjson or csv. JSON carries the provenance header, and the others carry it in response headers.

Without a version the API answers from the newest version, and that answer changes when the publisher releases again. Put versions/<date>/ before rows or aggregate for an answer from that version alone. Every version with a table can be queried, and /api/v1/datasets/<slug>/versions lists them. A query on a version the database does not hold is read from its Parquet file, and one that would read too much of it is refused with DuckDB SQL that answers it from the file. The 1 newest version is loaded; versions lists them.

The API allows 60 requests in 10 seconds from one address. Above that it answers 429 for 10 seconds with a Retry-After header, a RateLimit-Policy header and a JSON body that gives the limit. Every API answer carries the same RateLimit-Policy. A client should wait the Retry-After seconds, or read the files, which have no limit. openapi.json describes this dataset's query paths for client generators and agents.

https://publicdata.au/mcp is a remote MCP server over Streamable HTTP with the same tools, defined in the same place, so a tool added to the pages is added here too. It needs no key and no account. Its row tools and the query API answer every version through one query path, so a tool's answer and the query URL it cites give the same rows. A query that would read too much of a file is refused with DuckDB SQL that answers it from the file. It also has search and fetch, the two tools ChatGPT's deep research and company knowledge call by name, which run search_datasets and read a dataset's record in the shapes those features expect. The row tools are held to the query API's limit of 60 queries in 10 seconds from one address, and each call is two queries because it also counts the matching rows. Add it to Claude Code with claude mcp add --transport http publicdata https://publicdata.au/mcp, add the URL in Claude as a custom connector, or give it to any client that connects to remote MCP servers. Each dataset with a table is also a resource at https://publicdata.au/d/<slug>/fields.json, which lists its fields with their types, the publisher's descriptions, their ranges and the values they hold, so an agent can read a dataset's shape before it writes a query.

Smaller files

The same rows split by a field, one JSON file each. Each file carries the same provenance header.

By state (9 files)

by/state/index.json lists every file with its row count.

What changed

One version for every release the publisher has made since this site started following the dataset. The date is the day the file changed on the portal. The "as at" date is the publisher's own.

  • 2026-10-20as at 19 August 2026
    27,902 rows11 fieldsxlsxec085bef704b

    The publisher's server states no change date, so this version is dated by the fetch.

versions.json · changes.json · history.tar.zst (144 KB, every version's Parquet and manifest)

Questions

How do I download Elective surgery waiting times by hospital and surgical specialty as a CSV file?

Open https://publicdata.au/d/au-elective-surgery-waiting-times-by-specialty/latest/data.csv. It redirects to the newest dated version, which is https://publicdata.au/d/au-elective-surgery-waiting-times-by-specialty/v/2026-10-20/data.csv today. The same path serves Excel, JSON, Parquet, SQLite, DuckDB, NDJSON. A dated URL never changes, so use it when the file must stay the same.

Can I open Elective surgery waiting times by hospital and surgical specialty in Excel?

Yes. https://publicdata.au/d/au-elective-surgery-waiting-times-by-specialty/v/2026-10-20/data.xlsx is a workbook with the 27,902 rows on a records sheet, the field list on a second sheet and the provenance on a third. The CSV also opens in Excel. https://publicdata.au/d/au-elective-surgery-waiting-times-by-specialty/v/2026-10-20/data.csv.gz is the CSV at about a tenth of the size.

What years does Elective surgery waiting times by hospital and surgical specialty cover?

The current version covers 2011 to 2026, as at 19 August 2026. Each release from AIHW becomes a new dated version here, and earlier versions stay online.

How often is Elective surgery waiting times by hospital and surgical specialty updated?

AIHW releases it several times a year. This site checks the portal every week and adds a dated version when the file changes.

Can I use Elective surgery waiting times by hospital and surgical specialty commercially?

Yes. CC BY 4.0 allows commercial use, redistribution and derived works as long as the attribution is kept. The attribution string is in this page's side column and inside every file.

Is this the official source for Elective surgery waiting times by hospital and surgical specialty?

No. The publisher is Australian Institute of Health and Welfare, and its page is https://www.aihw.gov.au/copyright. National Digital converted the publisher's file to other formats. It renamed and typed the columns and kept only those the schema lists. It made each suppressed value a null with a flag. National Digital made these changes, and the publisher is not responsible for them. The original sits beside every version as source.xlsx with its SHA-256, so the two can be compared.

How do I get only the rows for one state?

Every version has one JSON file per value of state, 9 files in the current version, listed with row counts at https://publicdata.au/d/au-elective-surgery-waiting-times-by-specialty/v/2026-10-20/by/state/index.json. For example https://publicdata.au/d/au-elective-surgery-waiting-times-by-specialty/v/2026-10-20/by/state/nsw.json holds the 9,428 rows where state is NSW.

What this site did to the data. Cells were typed, headers were renamed and the encoding was made UTF-8. Rows were left alone. The publisher's file sits beside every version as source.xlsx so the change can be checked.

AIHW MyHospitals is 5 tables here, and each takes its version date from its own file.

Attribution and citation

The licence requires the publisher's attribution. We ask that you also name publicdata.au and link to the version you used.

Based on Australian Institute of Health and Welfare material. Australian Institute of Health and Welfare, Australian Government, MyHospitals Data API, elective surgery waiting times data extract, sourced 19 October 2026, https://myhospitalsapi.aihw.gov.au/, licensed under CC BY 4.0. Serialised and versioned by National Digital at publicdata.au, https://publicdata.au/d/au-elective-surgery-waiting-times-by-specialty/v/2026-10-20/

The attribution alone is inside every file. Harvard is the author-date form a report or a brief asks for. Paste the HTML on a web page so the links carry.

Licence record

Australian Institute of Health and Welfare states the licence, CC BY 4.0, on its own page, which was read and recorded here on 13 October 2026.

Every fetch reads the licence again and stops when it has changed. The fetch that made version 2026-10-20 read it from www.aihw.gov.au on 19 October 2026.

Also published on
  • Hugging Faceload_dataset("National-Digital/au-elective-surgery-waiting-times-by-specialty")
  • Kagglewith a starter notebook
  • ZenodoDOI 10.5281/zenodo.23486165

Each copy carries the same attribution and links back to this page.

For agents and tools

This page carries a schema.org Dataset record and is listed in /.well-known/ard.json and /catalog.json.

Source

Australian Institute of Health and Welfare publishes this table on myhospitalsapi.aihw.gov.au. Questions about the content go to the publisher. Questions about the files here go to corrections.

Fetched 19 October 2026. Source SHA-256 ec085bef704b5669…

Improve this dataset

This page is built from register/au-elective-surgery-waiting-times-by-specialty.yaml on GitHub. Anyone can propose a fix to it, such as a clearer description or a field the publisher renamed, as a pull request.

Report a file that differs from the publisher's · How to contribute