DEPARTMENT OF HEALTH |
![]() |
Data Files to Download
Help & Explanation
I suggest that you make a printed copy of these instructions as that will be easier to read. You can print this page from your browser or save it from your browser's File menu, load it into a word processor and print it from there. Please make sure you have read the Copyright and Disclaimer notices.
The functionality to download dBase format data files is still being prototyped. If you have any comments or observations, please let us know (see contact addresses), as feedback helps us provide a service that our customers find useful.
A database application is more versatile than a spreadsheet because it allows you to link different tables together. In order to use downloaded database files you will need a utility program that can uncompress files in ".zip" format and an application that can read database files in dBase format.
The Data Files to Download page displays the various data sets (Inpatient and Outpatient by Trust and Health Authority). These are colour coded using the book metaphor to provide some visual feedback. For each data set, there is one file per quarter containing the main waiting times / waiting list data for all the reporting organisations. For each financial year there is also a set of files giving details of the organisations and the specialties referred to in the quarterly files. The organisational structure changed from year 1998/99 to 1999/00 (and later), so there are different organisations files for the two.
You can download the files you need by clicking on their link and saving them to an appropriate directory. Each link gives the size of the file so that you can estimate how long a download is likely to take. Note: Only some data sets are available as database files at present. Where they are available, the entry is shown as a link, with the file size. Where they are not, the entry is plain text and has "N/A" next to it. We hope to make more data available over time.
If your system did not uncompress the ".zip" format files during the download you will need to uncompress them before use. There are many utility programs that can do this. You should end up with dBase format files (having the extension ".dbf") in your directory.
You can read dBase format files in some spreadsheets, but they do not allow you to link tables together. If possible use a database application, such as dBase, Access, Approach or Paradox. These will all use or import files in this format. Link the Orgunit table to the quarterly data table on the Orgcode field. Link the Specialt (clinical specialties) table to the quarterly table on the Speccode field.
The dBase files we distribute contain only data - index files are not included. I suggest that you create indexes before using the data in any database application. The "Field (Column) Naming Conventions" tables below show which fields make up the primary key and you should consider indexing those.
If you intend to use more than one quarter's data and wish to do comparisons or time series it may be worth creating a single table with the same structure as the quarterly tables and inserting ("appending" in Access) all the quarterly data for that data set into it. Unfortunately it is beyond the scope of this Help page to explain how to do this in all the applications that our customers might use. Please consult the documentation for your database program.
Be aware that organisations change over time - Trusts in particular may merge and new ones may be created.
The main data is held in files named in the style "?98-9_q1", "?98-9_q2" etc. The file names are restricted to eight characters, so have to be rather condensed.
Supporting data, such as the names of organisations and of the specialties referred to in the main data, are held in separate files. The details in these files cover all quarters for a financial year. The file "orgunit8" covers financial year 1998/99, "orgunit9" covers 1999/00 and later years.
Note: * indicates that a field is part of the primary key.
| Organisations Tables [orgunit8.dbf and orgunit9.dbf] | ||
|---|---|---|
| Column | Description | Data Format |
| OrgCode* | The organisation's 3 character identifier code. | 3 characters |
| Name | The name of the organisation. | 72 characters |
| Region | The code for the Region to which the organisation belonged in the relevant year. | 3 characters |
| Clinical Specialties Table [specialt.dbf] | ||
|---|---|---|
| Column | Description | Data Format |
| SpecCode* | The clinical specialty's 3 digit identifier code. | 3 digits |
| SpecName | The name of the clinical specialty. | 50 characters |
| Main Data, Inpatient Tables [g99-0_q1.dbf, y99-0_q1.dbf, etc] | ||
|---|---|---|
| Column | Description | Data Format |
| RepYear* | The reporting year (financial year) in which data were collected. | "1998/99" etc |
| Quarter* | The quarter of the financial year. | 1, 2, 3 or 4 |
| OrgCode* | The organisation's 3 character identifier code. | 3 characters |
| SpecCode* | The clinical specialty's 3 digit identifier code. | 3 digits |
| O_TotWait | Ordinary admissions. The total number waiting. | Max 8 digits |
| O_M??_?? | Ordinary admissions. The number waiting ?? to ?? months. The value of ?? can vary. |
Max 8 digits |
| O_M18plus | Ordinary admissions. The number waiting 18 plus months. | Max 6 digits |
| D_TotWait | Day case admissions. The total number waiting. | Max 8 digits |
| D_M??_?? | Day case admissions. The number waiting ?? to ?? months. The value of ?? can vary. |
Max 8 digits |
| D_M18plus | Day case admissions. The number waiting 18 plus months. | Max 6 digits |
| Main Data, Outpatient Tables [p99-0_q1.dbf, r99-0_q1.dbf, etc] | ||
|---|---|---|
| Column | Description | Data Format |
| RepYear* | The reporting year (financial year) in which data were collected. | "1998/99" etc |
| Quarter* | The quarter of the financial year. | 1, 2, 3 or 4 |
| OrgCode* | The organisation's 3 character identifier code. | 3 characters |
| SpecCode* | The clinical specialty's 3 digit identifier code. | 3 digits |
| TotGPSeen | Total GP written referrals seen. | Max 8 digits |
| Wk??_?? | Number of GP written referrals seen who waited ?? to ?? weeks. The value of ?? can vary. |
Max 8 digits |
| Wk26plus | Number of GP written referrals seen who waited over 26 weeks. | Max 6 digits |
| Ns13_25 | Number of patients not yet seen, waiting 13 to under 26 weeks. | Max 6 digits |
| Ns26plus | Number of patients not yet seen, waiting 26 weeks plus. | Max 6 digits |
| Imputed | Zero means no data imputed. One means some data imputed. | 1 digit |
Note: * indicates that a field is part of the primary key.
Disclaimer Notice.
© Crown Copyright 1999, 2000.
This page last updated June 2000.