MicroburbsMicroburbs
Free sandbox: try any request below on the sample suburbs, no signup. For every suburb, create an API key.
Classic docs
Microburbs Property Data API
Dataset · Health

South Australian Public Hospital Average Inpatient Length of Stay by Quarter

A register of 95 rows giving average inpatient length of stay, in days, for public metropolitan and country hospitals in South Australia. Values are reported by quarter (September, December, March, June) across several financial years between 2012 and 2018. A caller gets hospital names, hospital codes, local health network headings and the quarterly figures, but the layout is a spreadsheet-style table and needs cleaning before use.

Endpoints

South Australian Public Hospital Average Inpatient Length of Stay by Quarter: search

GET/v1/records/sa-public-hospital-inpatient-length-of-stay/search10¢ per call

Served by /v1/records/{slug}/search, which documents every parameter, the response shape and errors, and has a live playground.

Query parameterDescription
qWords to find (prefix match, all must appear) in: hospital code or note text, hospital name, network or note heading.
whereExact-match filter `field:value`, repeatable, on: `column_1`.
fieldsComma-separated field slugs (below). Omit for all.
limitRecords per page, 1 to 50 (default 25).
offsetItems to skip, for the next page (`next_offset`).
curl -X GET 'https://api.microburbs.com.au/v1/records/sa-public-hospital-inpatient-length-of-stay/search?q=None' \
  -H 'Authorization: Bearer test'

test is the public sandbox key: it works only for the sandbox's allowlisted suburbs and addresses. Use your own key for anything else.

South Australian Public Hospital Average Inpatient Length of Stay by Quarter: one record

GET/v1/records/sa-public-hospital-inpatient-length-of-stay/{record_key}5¢ per call

Served by /v1/records/{slug}/{record_key}, which documents every parameter, the response shape and errors, and has a live playground.

Query parameterDescription
record_keyThe record's record id.
fieldsComma-separated field slugs (below). Omit for all.
curl -X GET 'https://api.microburbs.com.au/v1/records/sa-public-hospital-inpatient-length-of-stay/1' \
  -H 'Authorization: Bearer test'

test is the public sandbox key: it works only for the sandbox's allowlisted suburbs and addresses. Use your own key for anything else.

About this dataset

South Australia, public metropolitan and country hospitals, covering 1 July 2012 to 30 June 2018. The table has 95 rows, which include hospital rows plus network headings and footnotes. Networks named include Central Adelaide Local Health Network and Southern Adelaide Local Health Network. Hospitals include Repatriation General Hospital, Tumby Bay Hospital and Booleroo Centre District Hospital. Current to 2025-06-25; refreshed One-off; no update frequency is stated and the covered period ends June 2018..

What it is

Average length of stay in days for inpatients at South Australian public hospitals, by hospital and quarter. Each row is a line from a published table: a hospital, a network heading, or a footnote. Quarterly values sit in repeated column groups, one group per financial year.

What it shows

It shows how long admitted patients stayed on average at each hospital in each quarter, from July 2012 to June 2018. It also shows which hospitals reported and which did not, for example where a hospital was closed or had no inpatient data. Some rows are notes about how bed days were calculated.

Why use it

Length of stay is a common measure of hospital throughput, efficiency and case mix. Analysts can compare hospitals, track seasonal patterns, and compare country and metropolitan facilities. It is also useful for health service planning and for area-level health context.

How it is built

We load the published table as rows, keyed by a record identifier, and make it searchable by text and filters. The source layout is kept as it was: the year-group columns carry generic suffixes such as duplicated_0 to duplicated_4 rather than year labels, and the year each group refers to is not stated in the field names. Network headings, notes and hospital rows are mixed together and are not separated.

Shortcomings

  • Column names do not say which financial year each group of four quarters belongs to, so users must infer the year from the order of the groups.
  • Rows are mixed: hospital records, network headings and footnotes share the same columns, so non-hospital rows must be filtered out.
  • About 20 to 25 percent of quarterly values are blank, and some hospitals are closed or have no inpatient data, so series are incomplete.
  • Some maximum values are very high (for example 1129.5 days) and are likely to be outliers or reflect small numbers of patients or how bed days were calculated, so check them before averaging.

Fields

FieldUnitDescription
record_id
Record ID
Row key for the record, stored as text.
column_1
Network or note heading
Local health network heading or note label such as 'Note:' or a data source line; blank for most rows.
duplicated_0
Hospital code or note text
Hospital code (for example 0033) or, on note rows, the start of a note about how figures were calculated.
duplicated_1
Hospital name
Name of the public hospital or health service the row refers to.
sep_quarter
September quarter, first year group
daysAverage inpatient length of stay for the September quarter in the first year group.
dec_quarter
December quarter, first year group
daysAverage inpatient length of stay for the December quarter in the first year group.
mar_quarter
March quarter, first year group
daysAverage inpatient length of stay for the March quarter in the first year group.
jun_quarter
June quarter, first year group
daysAverage inpatient length of stay for the June quarter in the first year group.
sep_quarter_duplicated_0
September quarter, second year group
daysAverage inpatient length of stay for the September quarter in the second year group.
dec_quarter_duplicated_0
December quarter, second year group
daysAverage inpatient length of stay for the December quarter in the second year group.
mar_quarter_duplicated_0
March quarter, second year group
daysAverage inpatient length of stay for the March quarter in the second year group.
jun_quarter_duplicated_0
June quarter, second year group
daysAverage inpatient length of stay for the June quarter in the second year group.
sep_quarter_duplicated_1
September quarter, third year group
daysAverage inpatient length of stay for the September quarter in the third year group.
dec_quarter_duplicated_1
December quarter, third year group
daysAverage inpatient length of stay for the December quarter in the third year group.
mar_quarter_duplicated_1
March quarter, third year group
daysAverage inpatient length of stay for the March quarter in the third year group.
jun_quarter_duplicated_1
June quarter, third year group
daysAverage inpatient length of stay for the June quarter in the third year group.
sep_quarter_duplicated_2
September quarter, fourth year group
daysAverage inpatient length of stay for the September quarter in the fourth year group.
dec_quarter_duplicated_2
December quarter, fourth year group
daysAverage inpatient length of stay for the December quarter in the fourth year group.
mar_quarter_duplicated_2
March quarter, fourth year group
daysAverage inpatient length of stay for the March quarter in the fourth year group.
jun_quarter_duplicated_2
June quarter, fourth year group
daysAverage inpatient length of stay for the June quarter in the fourth year group.
sep_quarter_duplicated_3
September quarter, fifth year group
daysAverage inpatient length of stay for the September quarter in the fifth year group.
dec_quarter_duplicated_3
December quarter, fifth year group
daysAverage inpatient length of stay for the December quarter in the fifth year group.
mar_quarter_duplicated_3
March quarter, fifth year group
daysAverage inpatient length of stay for the March quarter in the fifth year group.
jun_quarter_duplicated_3
June quarter, fifth year group
daysAverage inpatient length of stay for the June quarter in the fifth year group.
sep_quarter_duplicated_4
September quarter, sixth year group
daysAverage inpatient length of stay for the September quarter in the sixth year group.
dec_quarter_duplicated_4
December quarter, sixth year group
daysAverage inpatient length of stay for the December quarter in the sixth year group.
mar_quarter_duplicated_4
March quarter, sixth year group
daysAverage inpatient length of stay for the March quarter in the sixth year group.
jun_quarter_duplicated_4
June quarter, sixth year group
daysAverage inpatient length of stay for the June quarter in the sixth year group.

Data source: SA Government