publicdata.au publicdata.au on GitHub

Elective surgery by specialty and hospital, Queensland, each quarter

live
Publisher Queensland HealthUpdated quarterlyLicence CC BY 4.0Latest 2025-12-10Rows 303Fields 15

Queensland Health elective surgery summary 2 for the newest quarter, one row per public hospital and surgical specialty. Each row has the volumes treated and waiting, the long waits, and the percentages treated and waiting within the clinically recommended time.

Also called: Elective surgery by specialty Queensland, QLD orthopaedic surgery waiting list, Queensland hospital surgery waiting by specialty.

Part of Elective surgery performance by hospital, Queensland, 2 tables the publisher releases together: Elective surgery by urgency category and hospital, Queensland, each quarter.

Before you use it
What is in each row?
One public hospital and one surgical specialty, such as general surgery, orthopaedics or ear, nose and throat (ENT) surgery, or ALL, for the quarter, with the patients treated and the share treated within the recommended time, the patients waiting, the long waits and the share waiting within the recommended time.
What does a dash mean?
Queensland Health writes a dash where it gives no figure for a hospital, such as a percentage with no patients behind it. Those cells are null here and flagged as suppressed. A few cells read NULL, and those are null too.
Which quarter is it?
Each version holds one quarter, named in the quarter ending field. Queensland Health adds a file for each quarter, and this table follows the newest, so each new quarter becomes a new version. The first version fetched here is the quarter ending September 2025. The quarter ending June 2025 was fetched later from the file Queensland Health still lists, and it is marked as backfilled. Files for earlier quarters name or lay out their columns differently, so they are not included. A version's as-at date is the last day of its quarter, read from the name Queensland Health gives the file.

Made for agents

Connect your AI agent

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

Then ask it: What does Elective surgery by specialty and hospital, Queensland, each quarter 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 6 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/qld-elective-surgery-by-specialty/latest/data.xlsx
Download this file

One workbook with a records sheet of 303 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/qld-elective-surgery-by-specialty/latest/ redirects to the newest version.

https://publicdata.au/d/qld-elective-surgery-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. Cells were typed and headers were made snake_case. Rows were left alone.

FieldTypePublisher's headerNote
facility_codestringFacility_CodeKept as text.
facilitystringFacility_NameA public hospital, or a group such as Queensland Reporting Hospitals for the state total.
report_monthstringReport_MonthThe last month of the quarter, as the publisher writes it, such as Sep-25.
specialty_codestringSpecialty_Code
specialty_descstringSpecialty_Desc
treatedintegerVol_TreatedThe number of elective surgery patients treated in the quarter. Queensland Health describes it as the "number of elective surgery patients treated".
percent_treated_in_timenumberPercent_Treated_InTimeQueensland Health describes it as the "percent of elective surgery patients treated within the clinically recommended time".
percent_change_treated_on_prior_yearnumberPercent_Variation_Treated_Prior_YearQueensland Health describes it as the "variation in number of elective surgery patients treated between reporting month and reference month in the previous year". A cell that reads NULL is null.
waitingintegerVol_WaitingThe number of patients on the elective surgery waiting list on the day after the quarter ends. The quarter ending September 2025, for example, counts the patients waiting on 1 October 2025. Queensland Health describes it as the "number of elective surgery patients waiting on the day after the month".
long_waitsintegerVol_LongWaitsThe number of patients waiting longer than the clinically recommended time for their urgency category on the day after the quarter ends. It counts patients ready for surgery and patients not ready for surgery. Queensland Health describes it as the "number of elective surgery patients waiting longer than the clinically recommended time on the day after the month".
percent_waiting_in_timenumberPercent_Waiting_InTime_TotalThe share of patients waiting within the clinically recommended time on the day after the quarter ends, ready for surgery or not. Queensland Health describes it as the "percent of elective surgery patients waiting within the clinically recommended time on the day after the month".
data_last_updatedatedata_last_updateThe date Queensland Health last updated the figures.
long_waits_ready_for_surgeryintegerVol_LongWaits_RFSThe number of patients waiting longer than the clinically recommended time who were ready for surgery, on the day after the quarter ends. Queensland Health describes it as the "number of elective surgery patients waiting longer than the clinically recommended time on the day after the month" and lists it for patients ready for surgery.
long_waits_not_ready_for_surgeryintegerVol_LongWaits_NRFSThe number of patients waiting longer than the clinically recommended time who were not ready for surgery, on the day after the quarter ends. Queensland Health describes it as the "number of elective surgery patients waiting longer than the clinically recommended time on the day after the month" and lists it for patients not ready for surgery.
percent_waiting_in_time_ready_for_surgerynumberPercent_Waiting_InTime_RFSThe share of patients ready for surgery who were waiting within the clinically recommended time on the day after the quarter ends. Queensland Health describes it as the "percent of elective surgery patients waiting within the clinically recommended time on the day after the month" and lists it for patients ready for surgery.
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 facility_code, specialty_code.

A sample of 10 rows

The ten hospital specialties with the most patients waiting longer than recommended, most first. A blank cell is shown as null.

facility_codefacilityreport_monthspecialty_codespecialty_desctreatedpercent_treated_in_timepercent_change_treated_on_prior_yearwaitinglong_waitspercent_waiting_in_timedata_last_updatelong_waits_ready_for_surgerylong_waits_not_ready_for_surgerypercent_waiting_in_time_ready_for_surgery
141RockhamptonSep-252ENT surgery0null-10059754982025-10-28537127.9
172MackaySep-257orthopaedic surgery15534.2-14.489437657.92025-10-283314560.3
1Mater AdultSep-259urology34370.3-2.893136760.62025-10-28363460.4
201Royal Brisbane & Women'sSep-258plastic & reconstructive surgery77356-2.2100029270.82025-10-282801270.6
200TownsvilleSep-252ENT surgery19449-166226460.12025-10-282046065.2
141RockhamptonSep-253general surgery20062-4.860525358.22025-10-282371658.9
136GladstoneSep-253general surgery20273.8-13.340120050.12025-10-28195550
141RockhamptonSep-257orthopaedic surgery11454.425.3579197662025-10-281663169.4
200TownsvilleSep-256ophthalmology11753-36.153415371.32025-10-28837080.9
200TownsvilleSep-259urology20134.828.833314755.92025-10-281044356.1
The first row as JSON

As it appears in data.json.

GET https://publicdata.au/d/qld-elective-surgery-by-specialty/latest/data.json
{
  "facility_code": "1",
  "facility": "Mater Adult",
  "report_month": "Sep-25",
  "specialty_code": "2",
  "specialty_desc": "ENT surgery",
  "treated": 149,
  "percent_treated_in_time": 68.5,
  "percent_change_treated_on_prior_year": 27.4,
  "waiting": 262,
  "long_waits": 39,
  "percent_waiting_in_time": 85.1,
  "data_last_update": "2025-10-28",
  "long_waits_ready_for_surgery": 35,
  "long_waits_not_ready_for_surgery": 4,
  "percent_waiting_in_time_ready_for_surgery": 85.6,
  "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 2 newest versions are 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, connect the publicdata.au plugin in ChatGPT, 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 specialty_desc (12 files)

by/specialty_desc/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.

  • 2025-12-10
    303 rows+3 added −6 removed 300 changed15 fieldsutf-8-sigf35f7a73a5d7
  • 2025-06-30as at 30 June 2025
    306 rows15 fieldsutf-8-sigd97711c4eb1a

    Backfilled from the portal's own release history.

    This earlier release was fetched after a newer one, from the file the publisher still lists. It is dated by the as-at date in its name.

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

Questions

How do I download Elective surgery by specialty and hospital, Queensland as a CSV file?

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

Can I open Elective surgery by specialty and hospital, Queensland in Excel?

Yes. https://publicdata.au/d/qld-elective-surgery-by-specialty/v/2025-12-10/data.xlsx is a workbook with the 303 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/qld-elective-surgery-by-specialty/v/2025-12-10/data.csv.gz is the CSV at about a tenth of the size.

How often is Elective surgery by specialty and hospital, Queensland updated?

Queensland Health releases it quarterly. This site checks the portal every week and adds a dated version when the file changes.

Can I use Elective surgery by specialty and hospital, Queensland 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 by specialty and hospital, Queensland?

No. The publisher is Queensland Health, and its page is https://www.data.qld.gov.au/dataset/elective-surgery. 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.csv with its SHA-256, so the two can be compared.

How do I get only the rows for one specialty desc?

Every version has one JSON file per value of specialty_desc, 12 files in the current version, listed with row counts at https://publicdata.au/d/qld-elective-surgery-by-specialty/v/2025-12-10/by/specialty_desc/index.json. For example https://publicdata.au/d/qld-elective-surgery-by-specialty/v/2025-12-10/by/specialty_desc/all.json holds the 50 rows where specialty_desc is ALL.

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.csv so the change can be checked.

The publisher releases Elective surgery performance by hospital, Queensland as 2 files at once, so all 2 tables here share a version date.

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.

Queensland Health, Queensland Government, Elective surgery, sourced 3 October 2026, https://www.data.qld.gov.au/dataset/elective-surgery, licensed under CC BY 4.0. Serialised and versioned by National Digital at publicdata.au, https://publicdata.au/d/qld-elective-surgery-by-specialty/v/2025-12-10/

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

Queensland Health states the licence, CC BY 4.0, on its own page, which was read and recorded here on 1 October 2026.

Every fetch reads the licence again and stops when it has changed. The fetch that made version 2025-12-10 read it from www.data.qld.gov.au on 3 October 2026.

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

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

Queensland Health publishes this table on www.data.qld.gov.au. Questions about the content go to the publisher. Questions about the files here go to corrections.

Fetched 3 October 2026. Source SHA-256 f35f7a73a5d7ee6a…

Improve this dataset

This page is built from register/qld-elective-surgery-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