1. 2025-26 MHE NMDS
1.1. Essential definitions
1.2. Changes for 2025-26
The specific detailed changes to the 2025-26 (version 5.00) specifications, compared to 2024-25 (version 4.10) are listed below.
1.2.1. Changes to the data model
The data model changes to the 2025-26 specifications, compared to 2024-25 are listed in Table 1.1.
Table 1.1 Changes made to 2025-26 data model compared to 2024-25 Data item
Details
Rationale
State NGO record
New data record table for collecting identifiers and names of non-government organisation at the State level.
To support disaggregation of payments information collected in the NGOE records by specific mental health non-government organisations.
Region NGO record
New data record table for collecting identifiers and names of non-government organisation at the Region level.
To support disaggregation of payments information collected in the NGOE records by specific mental health non-government organisations.
Mental health non-government organisation—organisation identifier, X[X(10)]
New data element to collect the identifier details of non-government organisations.
To support disaggregation of payments information collected in the NGOE records by specific mental health non-government organisations.
Mental health non-government organisation—organisation name, text XXX[X(97)]
New data element to collect name details of non-government organisations.
To support disaggregation of payments information collected in the NGOE records by specific mental health non-government organisations.
Specialised mental health service organisation—organisation identifier, X(9)
Updated to include a new value domain. Maximum character length increased from 4 characters to 9 characters.
To support the use of extended entity identifiers generated by local jurisdictional data systems.
Updated to include a new value domain. Maximum character length increased from 5 characters to 9 characters.
To support the use of extended entity identifiers generated by local jurisdictional data systems.
Updated to include a new value domain. Maximum character length increased from 5 characters to 9 characters.
To support the use of extended entity identifiers generated by local jurisdictional data systems.
Specialised mental health service—admitted patient service unit identifier, X(9)
Updated to include a new value domain. Maximum character length increased from 6 characters to 9 characters.
To support the use of extended entity identifiers generated by local jurisdictional data systems.
Specialised mental health service—ambulatory service unit identifier, X(9)
Updated to include a new value domain. Maximum character length increased from 6 characters to 9 characters.
To support the use of extended entity identifiers generated by local jurisdictional data systems.
Specialised mental health service—residential service unit identifier, X(9)
Updated to include a new value domain. Maximum character length increased from 6 characters to 9 characters.
To support the use of extended entity identifiers generated by local jurisdictional data systems.
1.2.2. Changes to definitions
The definitional changes to the 2025-26 specifications, compared to 2024-25 are listed in Table 1.2.
Data elements |
Details |
Rationale |
---|---|---|
Updated to include a new value domain. |
Value domain updated to include Norfolk Island in Code 9 Other Territories. Does not impact mental health collections. |
|
Updated to include updated value domain. |
Updated as this LHN identifier uses the state/territory identifier data element. |
|
Mental health non-government organisation—service type, code N[N] |
Updated to include a new value domain. |
Updated to add 18 (General and service function) as a permitted value. |
1.3. Reporting statistical units
The statistical units in the MHE NMDS are Specialised Mental Health Services METEOR identifier 268984). These are the:
specialised mental health components of the state and territory health authorities, and of regions within states and territories;
specialised mental health service organisations;
hospitals or service unit clusters;
service units; and
specialised mental health services provided by private hospitals, and non-government residential service units in receipt of state or territory government funding.
In general, states and territories determine the organisational units that will report as regions, organisations, and service units for this NMDS.
Only those specialised mental health services provided by private hospitals and non government residential mental health services that receive state or territory government funding are included as service units for this NMDS.
Ambulatory services managed by non-government organisations (NGOs) are not defined as statistical units for this NMDS.
The following sections provide more information on each of the statistical units and reporting levels used in the MHE NMDS.
1.3.1. State or territory
This level refers to the state or territory and should be reported using the State/Territory identifier data element.
1.3.2. Region
The region refers to an administrative concept not a geographical one. States and territories may have one or more regions into which the state or territory is divided and to which its mental health service organisations belong. Region would be reported using the Region identifier (RegId) data element. In the smaller states or in the territories there may only be one or no region. In these cases, the Region identifier is to be reported as ‘00’ and the Region name (RegName) would repeat the name of the state or territory.
1.3.3. Organisation
The organisation is defined according to the Object class Specialised mental health service organisation (METEOR identifier 795837) and reported using the Organisation Identifier (OrgId) data element. An organisation is a separately constituted specialised mental health service that is responsible for the clinical governance, administration and financial management of service units providing specialised mental health care. An organisation may consist of one or more service units based in different locations and providing services in the admitted patient, residential and ambulatory settings. For example, a mental health service organisation may consist of several hospitals or two or more community centres. Where the mental health service organisation consists of multiple service units, those units can be considered to be components of the same organisation where they:
Operate under a common clinical governance arrangement;
Aim to work together as interlocking services that provide integrated, coordinated care to consumers across all mental health service settings; and
Share clinical records or, in the case where there is more than one physical clinical record for each patient, staff may access (if required) the information contained in all of the physical records held by the organisation for that patient.
For most states and territories, the mental health service organisation is equivalent to the Area or District Mental Health Service. These are usually organised to provide the full range of admitted patient, residential and ambulatory services to a given catchment population. However, the term may also be used to refer to health care organisations which provide only one type of mental health service (for example, acute admitted patient care) or which serve a specialised or state-wide function.
1.3.4. Hospital or service unit cluster
A specialised mental health service organisation may consist of one or more clusters of service units providing services in admitted patient, residential and ambulatory settings. For example, a specialised mental health service organisation may consist of several hospitals (clusters of admitted patient service units) and/or two or more ambulatory or residential service clusters (for example, a cluster of child and adolescent ambulatory service units, and a cluster of aged residential service units).
To allow service units to be reported individually, but still to be identified as part of a hospital (for the admitted patient service setting), or as part of another type of cluster (for example, other cluster type for ambulatory or residential service setting), a separate reporting level has been created.
‘Hospital’ is for admitted patient service units, and
‘Service unit cluster’ is for ambulatory service units and residential service units.
Ambulatory or residential service units will not necessarily belong to a ‘cluster’. However, for some ambulatory service units, the cluster the service unit belongs to may be a hospital that contains both admitted patient and ambulatory service units. In this instance, the Service unit cluster identifier for the ambulatory service unit would be the Hospital identifier. Other groups of ambulatory and residential service units could also be usefully reported as clusters. For example, clusters may exist of groups of residential services for aged persons, or groups of ambulatory service units in particular geographical areas.
Each hospital reported to the Public Hospital Establishments NMDS, with an inpatient unit in scope as specialised mental health, must be reported as a hospital for the purposes of the MHE NMDS.
1.3.5. Specialised mental health service units
The reporting of service units specified in this section relates to the minimum reporting that is required for NMDS purposes, defined on the basis of MHE NMDS reporting requirements. States and territories are free to report more service units than this. For example, if a hospital had two older persons acute admitted patient service units, these only need to be reported as one combined older persons acute admitted patient service unit, but could be reported as two separate service units if desired. However, identification of service units should not combine target populations—there is no code available to identify ‘mixed’ target populations. Therefore, where a service delivery outlet provides discrete and specifically funded programs for multiple target populations, each of these should be identified as a separate service unit.
1.3.5.1. Admitted patient setting
For the admitted patient setting, data are to be reported by target population and program type. For example, if a hospital had separate wards/programs for child and adolescent, youth, older person, general adult and forensic there would be a separate service unit reported for each. Additionally, if there are acute and other program types, that would require separate service units to be reported (that is, defined by the program type as well as the target population). For example, an older persons acute unit would be reported separately from an older persons unit providing rehabilitation or extended care. Organisations can, however, report multiple service units with the same target population and program type, if the distinction between the units is known to the organisation and expected to be separately identifiable across a number of years.
1.3.5.2. Ambulatory service setting
For the ambulatory service setting, the service unit is equivalent to the organisation’s ambulatory services as a whole. However, the data element Target population should be used to distinguish between general adult, child and adolescent, youth, older person and forensic services. An organisation may choose to report a number of separate ambulatory service units with the same target population, however this is not compulsory.
1.3.5.3. Residential service setting
For the residential service setting, as a minimum, 24-hour staffed residential services that employ mental health trained staff on-site 24 hours per day and other services with less intensive staffing (but mental health trained staff on-site for a minimum of 6 hours a day and at least 50 hours per week) should be defined as separate service units. This applies to both government-operated residential services and government-funded residential services operated by non-government organisations. In addition, the data element Target population should be used to distinguish between general adult, child and adolescent, youth, older person and forensic services.
1.3.6. Sector
Sector is not considered part of the identifier. Within this NMDS, sector is an attribute of ambulatory and residential service units. Sector is an attribute of the ‘Hospital’ table for admitted patient service units.
1.3.7. Statistical unit identifiers
The reporting of service entities aims to create relationships between the mental health NMDSs, and where possible, the National Outcomes and Casemix Collection (NOCC), Public Hospital Establishments (PHE) NMDS and Admitted Patient Care (APC) NMDS (see Table 1.3).
The identifiers for the MHE NMDS are:
State or territory (1 character) (use State/Territory identifier)
Region (2 characters) (use Region identifier)
Mental health non-government organisation identifier (11 characters)
Specialised mental health service organisation (9 characters)
Hospital or service unit cluster (9 characters)
Service unit (9 characters)
Identifiers should be assigned as follows:
State/Territory identifier: as per National health data dictionary codes;
Region identifier: at the discretion of each state or territory as no national code set is available;
Organisation identifier: at the discretion of each state or territory as no national code set is available;
Mental health non-government organisation identifier: where the funded organisation is a Primary Health network, the identifiers are those specified in the data element Guide for use. For other mental health non-government organisations, the identifiers are at the discretion of each state or territory as no national code set is available;
Hospital identifier: the same as used in the PHE NMDS where physically separate hospitals have been distinguished; where multiple hospitals have been reported as a single establishment, new identifiers will be needed to distinguish these hospitals;
Service unit cluster identifier: at the discretion of each state or territory as no national code set is available;
Admitted patient service unit identifier: at the discretion of each state or territory as no national code set is available;
Ambulatory service unit identifier: the same as those used in the Community Mental Health Care (CMHC) NMDS;
Residential service unit identifier: the same as those used in the Residential Mental Health Care (RMHC) NMDS.
Identifier element names |
METEOR identifier |
Community mental health care NMDS |
Residential mental health care NMDS |
National Outcomes and Casemix Collection NMDS |
Mental health establishments NMDS |
Public hospital establishments NMDS |
Admitted patient care NMDS |
---|---|---|---|---|---|---|---|
Australian State or Territory identifier |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
|
Region identifier |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
|
Specialised mental health service organisation identifier |
Yes |
Yes |
Yes |
Yes |
No |
No |
|
Hospital/Service unit cluster identifier |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
|
Service unit identifier |
795850 (MHE, NOCC) / 795855 (MHE, CMHC, NOCC) / 795859 (MHE, RMHC, NOCC) |
Yes |
Yes |
Yes |
Yes |
No |
No |
The use of identical identifiers between the various Mental Health Datasets is tested via the Mental Health Establishments Skeleton files, handled by the Online Validator.
An additional identifier was introduced in the MHE NMDS 2014–15 and subsequent MHE NMDSs: the Local hospital network identifier (METEOR identifier 790673). This data element is reported at the service unit level and is not part of the identifier string.
An additional identifier was also introduced in the MHE NMDS 2025–26 and subsequent MHE NMDSs: the Non-government organisation identifier (METEOR identifier 795673). This data element is reported for the Non-Government Organisation details and payment records and is not part of the identifier string.
1.3.8. Consistency of identifiers across reference periods
In the specifications from 2025–26 onwards, establishment identifiers (OrgId, ClusId, HospId, AdmiId, AmbuId, ResiId) have increased the maximum character length to 9 characters.
Where no major service reorganisations have occurred, the region, organisation, hospital, service unit cluster and service unit identifiers (RegId, OrgId, HospId, ClusId, AdmiId, AmbuId, ResiId) used by a jurisdiction should be preferably identical to the previous year. However, given that all jurisdictions have committed to aligning ID numbers between the different NMDS’s, changes in ID numbers due to this process will be accepted, as will be the case for those jurisdictions that have undergone significant reorganisation of service delivery that warrant new service entity identifiers. In these cases, jurisdictions should provide a supplementary mapping document that clearly illustrates the changes in ID numbers between collection periods, at all levels.
Region, organisation, hospital, cluster and service unit name changes are acceptable, especially if the new name is more locally relevant. These will be identified as a change in the Online Validator, however will not affect the generation of the historical trends reports.
1.4. Data model of the MHE Extract
Fig. 1.1 provides an abbreviated overview of the structure of the data to be reported. Information is provided at each level: State/Territory; Region; Organisation; Hospital/Service unit cluster; and Service unit (Admitted patient services, Residential services and Ambulatory services). Each level has a unique set of attributes which comprise the NMDS data elements and additional supplementary information.

Fig. 1.1 Overview of Data model underlying the Mental Health Establishments NMDS data extract
1.5. Data integrity
For cases of missing data (that is, unknown, not stated or not available):
For Numeric [Num] fields, the data should be reported as zero, using leading zeros when necessary to pad out the field to the required length. The principle here is that all numeric fields require a valid value.
For Text [Char] fields, the data should be space-filled to the required length. For single character fields where a ‘missing/not stated’ value has been specified for a particular data element (for example, ‘9’ has been specified for missing data), use the stated value for ‘missing/not stated’ rather than simply space filling.
Values in Date [Date] fields must be recorded in compliance with the standard format used across the National health data dictionary; specifically, dates must be of fixed 8 column width in the format DDMMYYYY, with leading zeros used when necessary to pad out a value. For instance, 13 March 2026 would appear as 13032026.
Values in Numeric [Num] fields must be zero-filled and right-justified. These should consist only of the numerals 0 to 9 and the decimal (’.’) point if applicable to the data element.
Note: Fields defined as ‘Numeric’ are those that have numeric properties—that is, the values, for example, can be added or subtracted in a manner that is valid. Where a field uses numeric characters that do not have these properties (for example, the use of numbers for Patient identifier), the field is defined as ‘Character’.
Values in Character [Char] fields must be left justified and space-filled. These should consist of any of the printable ASCII character set (that is, excluding control codes such as newline, bell and linefeed).
1.6. Data set specification (DSS)
As noted earlier, the proposed file structure for the transmission of data from jurisdictions to the AIHW is a single Fixed Format data file. The following tables specify the order in which the data items should be provided to the AIHW.
The extract format consists of a set of hierarchically ordered Data records, of which there are fourteen types (see Table 1.4).
In each extract file for any given period, the Data records must be preceded by a single File Header Record having the structure outlined in Table 1.5.
All records presented in the extract file should be grouped in the following order: Header Record; State/Territory details records; State MH NGO details records; Region details records; Region MH NGO details records; Organisation details records; Hospital/Service unit cluster details records; and Service unit details records.
With the exception of State MH NGO, Region, Region MH NGO, Organisation and Service unit cluster details records, all Data records should include the following elements in the order shown:
Record type
Establishment identifier (comprising: State/Territory identifier; Region identifier; Organisation identifier; Hospital identifier/Service unit cluster identifier; and Service unit identifier)
Specific data in the format specified for the given record type
The State MH NGOE and Region MH NGOE payments records use different Establishment identifier compositions:
State MH NGOE: State/Territory identifier; and Mental health non-government organisation identifier
Region MH NGOE: State/Territory identifier; Region identifier; and Mental health non-government organisation identifier
The order of fields in a record must be the same as the order they are listed in the Record Layouts specified below. Field values should be formatted as specified in the Record Layouts.
The first field in each record must be Record Type. Valid values for Record Type are shown in Table 1.4.
Record Type |
Description |
---|---|
HR |
File header record |
ST |
State/Territory details |
STNGO |
State-level non-government organisation details |
STNGOE |
State-level non-government organisation payments |
REG |
Region details |
REGNGO |
Region-level non-government organisation details |
REGNGOE |
Region-level non-government organisation payments |
ORG |
Organisation details |
FTEORG |
Organisation full-time equivalent staff by setting/target pop |
HOSP |
Hospital details |
CLUS |
Service unit cluster details |
ADMI |
Admitted patient service unit details |
AMBU |
Ambulatory service unit details |
RESI |
Residential service unit details |
1.6.1. File header record
The first record of the extract file must be a File Header Record (Record Type = ‘HR’), and it must be the only such record in the file.
The File Header Record is a quality control mechanism, which uniquely identifies each file that is sent to the AIHW (that is, who sent the file, what date the file was sent, batch number of file, etc). The information contained in the header fields will be checked against the actual details of the file to ensure that the file received has not been corrupted.
The layout of the File Header Record is shown in Table 1.5.
Data Element |
Type [Length] |
Start |
METEOR Identifier |
Notes / Values |
---|---|---|---|---|
|
Char[8] |
1 |
— |
Value = HR |
State/Territory Identifier [1]
|
Char[1] |
9 |
|
|
|
Char[9] |
10 |
— |
Represents the YYYYNNNNN component of the extract file name. |
|
Date[8] |
19 |
— |
Report period start date |
|
Date[8] |
27 |
— |
Report period end date |
|
Date[8] |
35 |
— |
Data file generation date |
|
Char[3] |
43 |
— |
Value = MHE |
MHE Specification Version Number
|
Char[5] |
46 |
— |
Value = 05.00 |
Record length = 50
Notes
1.6.2. State/Territory data record
The extract format for the Data records is specified in detail in tables Table 1.5 to Table 1.18. The order of fields in each record must be the same as the order they are shown below. Field values should be formatted as specified.
Data Element |
Type [Length] |
Start |
METEOR Identifier |
Notes / Values |
---|---|---|---|---|
|
Char[8] |
1 |
— |
Value = ST |
State/Territory Identifier [2]
|
Char[1] |
9 |
|
|
|
Char[28] |
10 |
— |
Name used to identify the State/Territory |
Number of Supported Mental Health Housing Places
|
Number[6] |
38 |
N(6) |
|
NGO Payments - from Non-Health Departments
|
Number[9] |
44 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
|
Number[9] |
53 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Revenue - State or Territory Health Authority
|
Number[9] |
62 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
|
Number[9] |
71 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
|
Number[9] |
80 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
|
Number[9] |
89 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Revenue - State/Territory Other
|
Number[9] |
98 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Academic Positions
|
Number[9] |
107 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Education and Training
|
Number[9] |
116 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Insurance
|
Number[9] |
125 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Mental Health Act Regulation or related legislation
|
Number[9] |
134 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Mental Health Promotion
|
Number[9] |
143 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Mental Health Research
|
Number[9] |
152 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Patient Transport Services
|
Number[9] |
161 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Program Administration
|
Number[9] |
170 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Property Leasing Costs
|
Number[9] |
179 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Service Development
|
Number[9] |
188 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Superannuation
|
Number[9] |
197 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Workers Compensation
|
Number[9] |
206 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Other Indirect Expenditure
|
Number[9] |
215 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
Record length = 223
Notes
(METEOR includes code 9, but that is not applicable to the MHE NMDS)
1.6.3. State MH NGO details record
Data Element |
Type [Length] |
Start |
METEOR Identifier |
Notes / Values |
---|---|---|---|---|
|
Char[8] |
1 |
— |
Value = STNGO |
State/Territory Identifier [3]
|
Char[1] |
9 |
|
|
Non-Government Organisation Identifier
|
Char[11] |
10 |
A unique identifier for Non-Government Organisations (NGO) established by jurisdictions. Where the NGO is a Primary Health Network, the permissible identifiers are in accordance to the Guide for use for this data element. |
|
Non-Government Organisation Name
|
Char[100] |
21 |
Name used to identify the Non-Government Organisation (NGO). Where the NGO is a Primary Health Network, the permissible identifiers are in accordance to the Guide for use for this data element. |
Record length = 120
Notes
(METEOR includes code 9, but that is not applicable to the MHE NMDS)
1.6.4. State MH NGOE Payments data record
Data Element |
Type [Length] |
Start |
METEOR Identifier |
Notes / Values |
---|---|---|---|---|
|
Char[8] |
1 |
— |
Value = STNGOE |
State/Territory Identifier [4]
|
Char[1] |
9 |
|
|
Non-Government Organisation Identifier
|
Char[11] |
10 |
A unique identifier for Non-Government Organisations (NGO) established by jurisdictions. Where the NGO is a Primary Health Network, the permissible identifiers are in accordance to the Guide for use for this data element. |
|
Mental health non-governmental organisation service type [5]
|
Char[2] |
21 |
|
|
Mental health non-governmental organisation payments
|
Number[9] |
23 |
(This Data element is supplied through an administrative data cluster in METEOR 795669) All references to ‘Grants’ were updated to ‘Payments’ in the MHE NMDS in 2020-21 as a more accurate reflection of the expenditure reported for non-government organisations. The short name MHNGOEGrants remains unchanged as data reported to this item will not change and is comparable with historical data. |
Record length = 31
Notes
(METEOR includes code 9, but that is not applicable to the MHE NMDS)
(This Data element is supplied through an administrative data cluster in METEOR 795669)
1.6.5. Region data record
Data Element |
Type [Length] |
Start |
METEOR Identifier |
Notes / Values |
---|---|---|---|---|
|
Char[8] |
1 |
— |
Value = REG |
State/Territory Identifier [6]
|
Char[1] |
9 |
|
|
|
Char[2] |
10 |
AA: Region (values as specified by individual jurisdiction). Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care. |
|
|
Char[60] |
12 |
Common name used to identify the Region. |
|
|
Number[9] |
72 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Revenue - State or Territory Health Authority
|
Number[9] |
81 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
|
Number[9] |
90 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
|
Number[9] |
99 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
|
Number[9] |
108 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Revenue - State/Territory Other
|
Number[9] |
117 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Academic Positions
|
Number[9] |
126 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Education and Training
|
Number[9] |
135 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Insurance
|
Number[9] |
144 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Mental Health Act Regulation or related legislation
|
Number[9] |
153 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Mental Health Promotion
|
Number[9] |
162 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Mental Health Research
|
Number[9] |
171 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Patient Transport Services
|
Number[9] |
180 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Program Administration
|
Number[9] |
189 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Property Leasing Costs
|
Number[9] |
198 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Service Development
|
Number[9] |
207 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Superannuation
|
Number[9] |
216 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Support Services
|
Number[9] |
225 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Workers Compensation
|
Number[9] |
234 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Other Indirect Expenditure
|
Number[9] |
243 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
Record length = 251
Notes
(METEOR includes code 9, but that is not applicable to the MHE NMDS)
1.6.6. Region MH NGO details record
Data Element |
Type [Length] |
Start |
METEOR Identifier |
Notes / Values |
---|---|---|---|---|
|
Char[8] |
1 |
— |
Value = REGNGO |
State/Territory Identifier [7]
|
Char[1] |
9 |
|
|
|
Char[2] |
10 |
AA: Region (values as specified by individual jurisdiction). Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care. |
|
Non-Government Organisation Identifier
|
Char[11] |
12 |
A unique identifier for Non-Government Organisations (NGO) established by jurisdictions. Where the NGO is a Primary Health Network, the permissible identifiers are in accordance to the Guide for use for this data element. |
|
Non-Government Organisation Name
|
Char[100] |
23 |
Name used to identify the Non-Government Organisation (NGO). Where the NGO is a Primary Health Network, the permissible identifiers are in accordance to the Guide for use for this data element. |
Record length = 122
Notes
(METEOR includes code 9, but that is not applicable to the MHE NMDS)
1.6.7. Region MH NGOE Payments data record
Data Element |
Type [Length] |
Start |
METEOR Identifier |
Notes / Values |
---|---|---|---|---|
|
Char[8] |
1 |
— |
Value = REGNGOE |
State/Territory Identifier [8]
|
Char[1] |
9 |
|
|
|
Char[2] |
10 |
AA: Region (values as specified by individual jurisdiction). Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care. |
|
Non-Government Organisation Identifier
|
Char[11] |
12 |
A unique identifier for Non-Government Organisations (NGO) established by jurisdictions. Where the NGO is a Primary Health Network, the permissible identifiers are in accordance to the Guide for use for this data element. |
|
Mental health non-governmental organisation service type [9]
|
Char[2] |
23 |
|
|
Mental health non-governmental organisation payments
|
Number[9] |
25 |
(This Data element is supplied through an administrative data cluster in METEOR 795669) All references to ‘Grants’ were updated to ‘Payments’ in the MHE NMDS in 2020-21 as a more accurate reflection of the expenditure reported for non-government organisations. The short name MHNGOEGrants remains unchanged as data reported to this item will not change and is comparable with historical data. |
Record length = 33
Notes
(METEOR includes code 9, but that is not applicable to the MHE NMDS)
(This Data element is supplied through an administrative data cluster in METEOR 795669)
1.6.8. Organisation data record
Data Element |
Type [Length] |
Start |
METEOR Identifier |
Notes / Values |
---|---|---|---|---|
|
Char[8] |
1 |
— |
Value = ORG |
State/Territory Identifier [10]
|
Char[1] |
9 |
|
|
|
Char[2] |
10 |
AA: Region (values as specified by individual jurisdiction). Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care. |
|
|
Char[9] |
12 |
Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care. |
|
|
Char[100] |
21 |
Common name used to identify the Organisation |
|
|
Number[9] |
121 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Revenue - State or Territory Health Authority
|
Number[9] |
130 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
|
Number[9] |
139 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
|
Number[9] |
148 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
|
Number[9] |
157 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Revenue - State/Territory Other
|
Number[9] |
166 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
|
Number[9] |
175 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Non-Salary Recurrent Expenditure - Administrative Expenses
|
Number[9] |
184 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Non-Salary Recurrent Expenditure - Domestic Services
|
Number[9] |
193 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Non-Salary Recurrent Expenditure - Drug Supplies
|
Number[9] |
202 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Non-Salary Recurrent Expenditure - Food Supplies
|
Number[9] |
211 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Non-Salary Recurrent Expenditure - Interest Payments
|
Number[9] |
220 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Non-Salary Recurrent Expenditure - Medical and Surgical Supplies
|
Number[9] |
229 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Non-Salary Recurrent Expenditure - Patient Transport
|
Number[9] |
238 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Non-Salary Recurrent Expenditure - Payments to Visiting Medical Officers
|
Number[9] |
247 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Non-Salary Recurrent Expenditure - Repairs and Maintenance
|
Number[9] |
256 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Non-Salary Recurrent Expenditure - Superannuation
|
Number[9] |
265 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Non-Salary Recurrent Expenditure - Other Recurrent Expenditure
|
Number[9] |
274 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Salaries and Wages - Psychiatrists
|
Number[9] |
283 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] The Consultant Psychiatrist staffing category was removed from the MHE NMDS in 2020-21 to remove duplication with the Psychiatrist staffing category. The short names ExpSalCnsltPsych and FteCnsltPsych remain unchanged as data reported to these items will not change and is comparable with historical data. |
|
Salaries and Wages - Psychiatry Registrars and Trainees
|
Number[9] |
292 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Salaries and Wages - Other Medical Officers
|
Number[9] |
301 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Salaries and Wages - Registered Nurses
|
Number[9] |
310 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Salaries and Wages - Enrolled Nurses
|
Number[9] |
319 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Salaries and Wages - Occupational Therapists
|
Number[9] |
328 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Salaries and Wages - Social Workers
|
Number[9] |
337 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Salaries and Wages - Psychologists
|
Number[9] |
346 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Salaries and Wages - Other Diagnostic and Health Professionals
|
Number[9] |
355 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Salaries and Wages - Administrative and Clerical Staff
|
Number[9] |
364 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Salaries and Wages - Domestic and Other Staff
|
Number[9] |
373 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Salaries and Wages - Mental Health Carer Workers
|
Number[9] |
382 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Salaries and Wages - Mental Health Consumer Workers
|
Number[9] |
391 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Salaries and Wages - Other Personal Care Staff
|
Number[9] |
400 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Salaries and Wages – Aboriginal and Torres Strait Islander mental health workers
|
Number[9] |
409 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Full-Time Equivalent Staff - Psychiatrists
|
Number[7] |
418 |
— |
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 717129) The Consultant Psychiatrist staffing category was removed from the MHE NMDS in 2020-21 to remove duplication with the Psychiatrist staffing category. The short names ExpSalCnsltPsych and FteCnsltPsych remain unchanged as data reported to these items will not change and is comparable with historical data. |
Full-Time Equivalent Staff - Psychiatry Registrars and Trainees
|
Number[7] |
425 |
— |
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 718870) |
Full-Time Equivalent Staff - Other Medical Officers
|
Number[7] |
432 |
— |
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 718767) |
Full-Time Equivalent Staff - Registered Nurses
|
Number[7] |
439 |
— |
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 722533) |
Full-Time Equivalent Staff - Enrolled Nurses
|
Number[7] |
446 |
— |
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 718653) |
Full-Time Equivalent Staff - Occupational Therapists
|
Number[7] |
453 |
— |
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 718714) |
Full-Time Equivalent Staff - Social Workers
|
Number[7] |
460 |
— |
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 722537) |
Full-Time Equivalent Staff - Psychologists
|
Number[7] |
467 |
— |
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 722174) |
Full-Time Equivalent Staff - Other Diagnostic and Health Professionals
|
Number[7] |
474 |
— |
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 722518) |
Full-Time Equivalent Staff - Administrative and Clerical Staff
|
Number[7] |
481 |
— |
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 722509) |
Full-Time Equivalent Staff - Domestic and Other Staff
|
Number[7] |
488 |
— |
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 722513) |
Full-Time Equivalent Staff - Mental Health Carer Workers
|
Number[7] |
495 |
Total number of full-time equivalent units. NNNN.NN |
|
Full-Time Equivalent Staff - Mental Health Consumer Workers
|
Number[7] |
502 |
Total number of full-time equivalent units. NNNN.NN |
|
Full-Time Equivalent Staff - Other Personal Care Staff
|
Number[7] |
509 |
— |
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 722521) |
Full-Time Equivalent Staff – Aboriginal and Torres Strait Islander mental health workers
|
Number[7] |
516 |
Total number of full-time equivalent units. NNNN.NN |
|
Expenditure Not Elsewhere Reported - Academic Positions
|
Number[9] |
523 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Education and Training
|
Number[9] |
532 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Insurance
|
Number[9] |
541 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Mental Health Act Regulation or related legislation
|
Number[9] |
550 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Mental Health Promotion
|
Number[9] |
559 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Mental Health Research
|
Number[9] |
568 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Patient Transport Services
|
Number[9] |
577 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Program Administration
|
Number[9] |
586 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Property Leasing Costs
|
Number[9] |
595 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Service Development
|
Number[9] |
604 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Superannuation
|
Number[9] |
613 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Support Services
|
Number[9] |
622 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Workers Compensation
|
Number[9] |
631 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Expenditure Not Elsewhere Reported - Other Indirect Expenditure
|
Number[9] |
640 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Carer Participation Arrangements Indicator - Carer Experience Surveys
|
Char[1] |
649 |
|
|
Carer Participation Arrangements Indicator - Formal Complaints Mechanism
|
Char[1] |
650 |
|
|
Carer Participation Arrangements Indicator - Formal Participation Policy
|
Char[1] |
651 |
|
|
Carer Participation Arrangements Indicator - Regular Discussion Groups
|
Char[1] |
652 |
|
|
Carer Representation Arrangements Indicator
|
Char[1] |
653 |
|
|
Consumer Participation Arrangements Indicator - Consumer Experience Surveys
|
Char[1] |
654 |
|
|
Consumer Participation Arrangements Indicator - Formal Complaints Mechanism
|
Char[1] |
655 |
|
|
Consumer Participation Arrangements Indicator - Formal Participation Policy
|
Char[1] |
656 |
|
|
Consumer Participation Arrangements - Regular Discussion Groups
|
Char[1] |
657 |
|
|
Consumer Representation Arrangements Indicator
|
Char[1] |
658 |
|
|
Consumer Committee Representation Arrangements
|
Char[1] |
659 |
|
Record length = 659
Notes
(METEOR includes code 9, but that is not applicable to the MHE NMDS)
1.6.9. Organisation: FTE Staff by Service Setting data record
Data Element |
Type [Length] |
Start |
METEOR Identifier |
Notes / Values |
---|---|---|---|---|
|
Char[8] |
1 |
— |
Value = FTEORG |
State/Territory Identifier [11]
|
Char[1] |
9 |
|
|
|
Char[2] |
10 |
AA: Region (values as specified by individual jurisdiction). Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care. |
|
|
Char[9] |
12 |
Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care. |
|
|
Char[1] |
21 |
|
|
|
Char[1] |
22 |
|
|
Full-Time Equivalent Staff - Salaried Medical Officers
|
Number[7] |
23 |
— |
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 722535) |
Full-Time Equivalent Staff - Nurses
|
Number[7] |
30 |
Total number of full-time equivalent units. NNNN.NN |
|
Full-Time Equivalent Staff - Diagnostic and Health Professionals
|
Number[7] |
37 |
— |
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 722511) |
Full-Time Equivalent Staff - Administrative and Clerical Staff
|
Number[7] |
44 |
— |
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 722509) |
Full-Time Equivalent Staff - Domestic and Other Staff
|
Number[7] |
51 |
— |
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 722513) |
Full-Time Equivalent Staff - Mental Health Consumer and Carer Workers
|
Number[7] |
58 |
Total number of full-time equivalent units. NNNN.NN |
|
Full-Time Equivalent Staff - Other Personal Care Staff
|
Number[7] |
65 |
— |
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 722521) |
Full-Time Equivalent Staff – Aboriginal and Torres Strait Islander mental health workers
|
Number[7] |
72 |
Total number of full-time equivalent units. NNNN.NN |
Record length = 78
Notes
(METEOR includes code 9, but that is not applicable to the MHE NMDS)
METEOR includes code 9, but that is not applicable to the MHE NMDS
1.6.10. Hospital data record
Data Element |
Type [Length] |
Start |
METEOR Identifier |
Notes / Values |
---|---|---|---|---|
|
Char[8] |
1 |
— |
Value = HOSP |
State/Territory Identifier [13]
|
Char[1] |
9 |
|
|
|
Char[2] |
10 |
AA: Region (values as specified by individual jurisdiction). Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care. |
|
|
Char[9] |
12 |
Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care. |
|
|
Char[9] |
21 |
A(9): Hospital identifier (equals Establishment number as reported for NMDS for Admitted Patient Care) |
|
|
Char[1] |
30 |
|
|
Non-government Non-profit Indicator
|
Char[1] |
31 |
|
|
|
Char[100] |
32 |
Common name used to identify the hospital. |
|
Geographical Location of Establishment
|
Char[9] |
132 |
Statistical Area Level 2 (SA2) code (ASGS Edition 3). N(9) |
|
|
Char[1] |
141 |
|
Record length = 141
Notes
(METEOR includes code 9, but that is not applicable to the MHE NMDS)
1.6.11. Service Unit Cluster data record
Data Element |
Type [Length] |
Start |
METEOR Identifier |
Notes / Values |
---|---|---|---|---|
|
Char[8] |
1 |
— |
Value = CLUS |
State/Territory Identifier [14]
|
Char[1] |
9 |
|
|
|
Char[2] |
10 |
AA: Region (values as specified by individual jurisdiction). Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care. |
|
|
Char[9] |
12 |
Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care. |
|
Service Unit Cluster Identifier
|
Char[9] |
21 |
A(9): An identifier to indicate that a service unit is one of a cluster of service units, defined through administrative or clinical governance arrangements. If no cluster applies, set to 00000. As this field enables linking with the NMDSs for Community Mental Health Care and Residential Mental Health Care, the identifiers used in this collection should be the same. |
|
|
Char[100] |
30 |
If no cluster applies, enter organisation name as appears in previous line. |
Record length = 129
Notes
(METEOR includes code 9, but that is not applicable to the MHE NMDS)
1.6.12. Admitted Patient Service Unit data record
Data Element |
Type [Length] |
Start |
METEOR Identifier |
Notes / Values |
---|---|---|---|---|
|
Char[8] |
1 |
— |
Value = ADMI |
State/Territory Identifier [15]
|
Char[1] |
9 |
|
|
|
Char[2] |
10 |
AA: Region (values as specified by individual jurisdiction). Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care. |
|
|
Char[9] |
12 |
Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care. |
|
|
Char[9] |
21 |
A(9): Hospital identifier (equals Establishment number as reported for NMDS for Admitted Patient Care) |
|
Admitted Patient Service Unit Identifier
|
Char[9] |
30 |
A(9): Service unit identifier. Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care. |
|
Local Hospital Network Identifier
|
Number[3] |
39 |
NNN: A unique identifier for Local Hospital Networks (LHN) established by jurisdictions. Note, this does not form part of the identifier string. It is a separate item being collected to identify hospital reporting by LHN as a result of funding model changes. An additional code, 296 Parkville Youth Mental Health and Wellbeing Service, should be considered a Permissible Value for 2025-26. |
|
|
Char[1] |
42 |
|
|
|
Char[1] |
43 |
|
|
Admitted Patient Service Unit Name
|
Char[100] |
44 |
Common name used to identify the service unit. |
|
National Standards for Mental Health Services Review Status
|
Char[1] |
144 |
|
|
|
Number[9] |
145 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Non-Salary Recurrent Expenditure - Total
|
Number[9] |
154 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] Total is calculated from expenditure including:
|
|
|
Number[9] |
163 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] Total is calculated from salaries and wages expenditure for all the staffing categories. |
|
Average Available Beds for Overnight-stay Patients
|
Number[10] |
172 |
Available bed—overnight-stay admitted care, average number of beds N[N(7).N] |
|
Accrued Mental Health Care Days
|
Number[8] |
182 |
Total number of days. N[N(7)] |
|
|
Number[6] |
190 |
Total number of separations. N[NNNNN] |
|
Average available beds for overnight-stay mental health hospital-in-the-home patients
|
Number[6] |
196 |
Available bed—overnight-stay mental health hospital-in-the-home care, average number of beds N[NNN.N] |
Record length = 201
Notes
(METEOR includes code 9, but that is not applicable to the MHE NMDS)
METEOR includes code 9, but that is not applicable to the MHE NMDS
1.6.13. Ambulatory Patient Service Unit data record
Data Element |
Type [Length] |
Start |
METEOR Identifier |
Notes / Values |
---|---|---|---|---|
|
Char[8] |
1 |
— |
Value = AMBU |
State/Territory Identifier [17]
|
Char[1] |
9 |
|
|
|
Char[2] |
10 |
AA: Region (values as specified by individual jurisdiction). Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care. |
|
|
Char[9] |
12 |
Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care. |
|
Service Unit Cluster Identifier
|
Char[9] |
21 |
A(9): An identifier to indicate that a service unit is one of a cluster of service units, defined through administrative or clinical governance arrangements. If no cluster applies, set to 00000. As this field enables linking with the NMDSs for Community Mental Health Care and Residential Mental Health Care, the identifiers used in this collection should be the same. |
|
Ambulatory Service Unit Identifier
|
Char[9] |
30 |
A(9): Service unit identifier. Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care. |
|
Local Hospital Network Identifier
|
Number[3] |
39 |
NNN: A unique identifier for Local Hospital Networks (LHN) established by jurisdictions. Note, this does not form part of the identifier string. It is a separate item being collected to identify hospital reporting by LHN as a result of funding model changes. An additional code, 296 Parkville Youth Mental Health and Wellbeing Service, should be considered a Permissible Value for 2025-26. |
|
|
Char[1] |
42 |
|
|
|
Char[1] |
43 |
|
|
Non-government Non-profit Indicator
|
Char[1] |
44 |
|
|
|
Char[100] |
45 |
Common name used to identify the service unit. |
|
Geographical Location of Establishment
|
Char[9] |
145 |
Statistical Area Level 2 (SA2) code (ASGS Edition 3). N(9) |
|
National Standards for Mental Health Services Review Status
|
Char[1] |
154 |
|
|
|
Number[9] |
155 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Non-Salary Recurrent Expenditure - Total
|
Number[9] |
164 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] Total is calculated from expenditure including:
|
|
|
Number[9] |
173 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] Total is calculated from salaries and wages expenditure for all the staffing categories. |
|
Number of Clients Receiving Services
|
Number[6] |
182 |
NNNNNN |
|
|
Number[6] |
188 |
NNNNNN |
Record length = 193
Notes
(METEOR includes code 9, but that is not applicable to the MHE NMDS)
METEOR includes code 9, but that is not applicable to the MHE NMDS
1.6.14. Residential Patient Service Unit data record
Data Element |
Type [Length] |
Start |
METEOR Identifier |
Notes / Values |
---|---|---|---|---|
|
Char[8] |
1 |
— |
Value = RESI |
State/Territory Identifier [19]
|
Char[1] |
9 |
|
|
|
Char[2] |
10 |
AA: Region (values as specified by individual jurisdiction). Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care. |
|
|
Char[9] |
12 |
Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care. |
|
Service Unit Cluster Identifier
|
Char[9] |
21 |
A(9): An identifier to indicate that a service unit is one of a cluster of service units, defined through administrative or clinical governance arrangements. If no cluster applies, set to 00000. As this field enables linking with the NMDSs for Community Mental Health Care and Residential Mental Health Care, the identifiers used in this collection should be the same. |
|
Residential Service Unit Identifier
|
Char[9] |
30 |
A(9): Service unit identifier. Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care. |
|
Local Hospital Network Identifier
|
Number[3] |
39 |
NNN: A unique identifier for Local Hospital Networks (LHN) established by jurisdictions. Note, this does not form part of the identifier string. It is a separate item being collected to identify hospital reporting by LHN as a result of funding model changes. An additional code, 296 Parkville Youth Mental Health and Wellbeing Service, should be considered a Permissible Value for 2025-26. |
|
|
Char[1] |
42 |
|
|
|
Number[2] |
43 |
||
|
Char[1] |
45 |
|
|
Non-government Non-profit Indicator
|
Char[1] |
46 |
|
|
|
Char[100] |
47 |
Common name used to identify the service unit. |
|
Geographical Location of Establishment
|
Char[9] |
147 |
Statistical Area Level 2 (SA2) code (ASGS Edition 3). N(9) |
|
National Standards for Mental Health Services Review Status
|
Char[1] |
156 |
|
|
|
Number[9] |
157 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] |
|
Non-Salary Recurrent Expenditure - Total
|
Number[9] |
166 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] Total is calculated from expenditure including:
|
|
|
Number[9] |
175 |
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] Total is calculated from salaries and wages expenditure for all the staffing categories. |
|
Average Available Beds for Residential Mental Health Patients
|
Number[6] |
184 |
Average available beds, rounded to the first decimal point. NNNN.N |
|
Accrued Mental Health Care Days
|
Number[8] |
190 |
Total number of days. N[N(7)] |
|
Number of Episodes of Residential Care
|
Number[4] |
198 |
The total number of episodes of residential care. NNNN |
Record length = 201
Notes
(METEOR includes code 9, but that is not applicable to the MHE NMDS)
METEOR includes code 9, but that is not applicable to the MHE NMDS
The average number of hours staffed per 24-hour period. NN
1.7. Data elements
1.7.1. Accrued Mental Health Care Days
- Domain:
Total number of days. N[N(7)]
- Field Name:
MHCareDays
- METEOR Identifier:
1.7.2. Admitted Patient Service Unit Identifier
- Domain:
A(9): Service unit identifier. Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care.
- Field Name:
AdmiId
- METEOR Identifier:
1.7.3. Admitted Patient Service Unit Name
- Domain:
Common name used to identify the service unit.
- Field Name:
AdmiName
- METEOR Identifier:
1.7.4. Ambulatory Service Unit Identifier
- Domain:
A(9): Service unit identifier. Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care.
- Field Name:
AmbuId
- METEOR Identifier:
1.7.5. Ambulatory Service Unit Name
- Domain:
Common name used to identify the service unit.
- Field Name:
AmbuName
- METEOR Identifier:
1.7.6. Average available beds for overnight-stay mental health hospital-in-the-home patients
- Domain:
Available bed—overnight-stay mental health hospital-in-the-home care, average number of beds N[NNN.N]
- Field Name:
HitHNBeds
- METEOR Identifier:
1.7.7. Average Available Beds for Overnight-stay Patients
- Domain:
Available bed—overnight-stay admitted care, average number of beds N[N(7).N]
- Field Name:
AdmiNBeds
- METEOR Identifier:
1.7.8. Average Available Beds for Residential Mental Health Patients
- Domain:
Average available beds, rounded to the first decimal point. NNNN.N
- Field Name:
ResiNBeds
- METEOR Identifier:
1.7.9. Batch Number
- Definition:
Represents the YYYYNNNNN component of the extract file name.
- Field Name:
BatchNo
1.7.10. Carer Participation Arrangements Indicator - Carer Experience Surveys
- Domain:
- 1:
Yes
- 2:
No
- 9:
Not stated/inadequately described
- Field Name:
CarerSurvey
- METEOR Identifier:
1.7.11. Carer Participation Arrangements Indicator - Formal Complaints Mechanism
- Domain:
- 1:
Yes
- 2:
No
- 9:
Not stated/inadequately described
- Field Name:
CarerCompl
- METEOR Identifier:
1.7.12. Carer Participation Arrangements Indicator - Formal Participation Policy
- Domain:
- 1:
Yes
- 2:
No
- 9:
Not stated/inadequately described
- Field Name:
CarerPolicy
- METEOR Identifier:
1.7.13. Carer Participation Arrangements Indicator - Regular Discussion Groups
- Domain:
- 1:
Yes
- 2:
No
- 9:
Not stated/inadequately described
- Field Name:
CarerDiscGrp
- METEOR Identifier:
1.7.14. Carer Representation Arrangements Indicator
- Domain:
- 1:
Yes
- 2:
No
- 9:
Not stated/inadequately described
- Field Name:
CarerRep
- METEOR Identifier:
1.7.15. Co-Location Status
- Domain:
- 1:
Co-located
- 2:
Not co-located
- Field Name:
CoLocStatus
- METEOR Identifier:
1.7.16. Consumer Committee Representation Arrangements
- Domain:
- 1:
Formal position(s) for consumers exist on the organisation’s management committee for the appointment of person(s) to represent the interests of consumers.
- 2:
Specific consumer advisory committee(s) exists to advise on all relevant mental health services managed by the organisation.
- 3:
Specific consumer advisory committee(s) exists to advise on some but not all relevant mental health services managed by the organisation.
- 4:
Consumers participate on a broadly based advisory committee which include a mixture of organisations and groups representing a wide range of interests.
- 5:
Consumers are not represented on any advisory committee but are encouraged to meet with senior representatives of the organisation as required.
- 6:
No specific arrangements exist for consumer participation in planning and evaluation of services.
- Field Name:
CmteeRep
- METEOR Identifier:
1.7.17. Consumer Participation Arrangements - Regular Discussion Groups
- Domain:
- 1:
Yes
- 2:
No
- 9:
Not stated/inadequately described
- Field Name:
ConsrDiscGrp
- METEOR Identifier:
1.7.18. Consumer Participation Arrangements Indicator - Consumer Experience Surveys
- Domain:
- 1:
Yes
- 2:
No
- 9:
Not stated/inadequately described
- Field Name:
ConsrSurvey
- METEOR Identifier:
1.7.19. Consumer Participation Arrangements Indicator - Formal Complaints Mechanism
- Domain:
- 1:
Yes
- 2:
No
- 9:
Not stated/inadequately described
- Field Name:
ConsrCompl
- METEOR Identifier:
1.7.20. Consumer Participation Arrangements Indicator - Formal Participation Policy
- Domain:
- 1:
Yes
- 2:
No
- 9:
Not stated/inadequately described
- Field Name:
ConsrPolicy
- METEOR Identifier:
1.7.21. Consumer Representation Arrangements Indicator
- Domain:
- 1:
Yes
- 2:
No
- 9:
Not stated/inadequately described
- Field Name:
ConsrRep
- METEOR Identifier:
1.7.22. Data File Generation Date
- Definition:
Data file generation date
- Domain:
Data file generation date
Valid date expressed as DDMMYYYY
- Field Name:
GenDt
1.7.23. Data File Type
- Definition:
Data file type
- Domain:
Value = MHE
- Field Name:
FileType
1.7.24. Depreciation
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
Deprec
- METEOR Identifier:
1.7.25. Expenditure Not Elsewhere Reported - Academic Positions
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNerAcademic
- METEOR Identifier:
1.7.26. Expenditure Not Elsewhere Reported - Education and Training
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNerTraining
- METEOR Identifier:
1.7.27. Expenditure Not Elsewhere Reported - Insurance
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNerInsur
- METEOR Identifier:
1.7.29. Expenditure Not Elsewhere Reported - Mental Health Promotion
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNerPromo
- METEOR Identifier:
1.7.30. Expenditure Not Elsewhere Reported - Mental Health Research
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNerResearch
- METEOR Identifier:
1.7.31. Expenditure Not Elsewhere Reported - Other Indirect Expenditure
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNerOther
- METEOR Identifier:
1.7.32. Expenditure Not Elsewhere Reported - Patient Transport Services
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNerTransp
- METEOR Identifier:
1.7.33. Expenditure Not Elsewhere Reported - Program Administration
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNerProgAdmin
- METEOR Identifier:
1.7.34. Expenditure Not Elsewhere Reported - Property Leasing Costs
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNerPropLease
- METEOR Identifier:
1.7.35. Expenditure Not Elsewhere Reported - Service Development
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNerServDev
- METEOR Identifier:
1.7.36. Expenditure Not Elsewhere Reported - Superannuation
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNerSuper
- METEOR Identifier:
1.7.37. Expenditure Not Elsewhere Reported - Support Services
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNerSuppServ
- METEOR Identifier:
1.7.38. Expenditure Not Elsewhere Reported - Workers Compensation
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNerWorkComp
- METEOR Identifier:
1.7.39. Full-Time Equivalent Staff - Administrative and Clerical Staff
- Domain:
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 722509)
- Field Name:
FteAdmin
1.7.40. Full-Time Equivalent Staff - Diagnostic and Health Professionals
- Domain:
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 722511)
- Field Name:
FteDHP
1.7.41. Full-Time Equivalent Staff - Domestic and Other Staff
- Domain:
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 722513)
- Field Name:
FteDomest
1.7.42. Full-Time Equivalent Staff - Enrolled Nurses
- Domain:
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 718653)
- Field Name:
FteNursesEnrl
1.7.43. Full-Time Equivalent Staff - Mental Health Carer Workers
- Domain:
Total number of full-time equivalent units. NNNN.NN
- Field Name:
FteCarerWrkr
- METEOR Identifier:
1.7.44. Full-Time Equivalent Staff - Mental Health Consumer and Carer Workers
- Domain:
Total number of full-time equivalent units. NNNN.NN
- Field Name:
FteCCWrkr
- METEOR Identifier:
1.7.45. Full-Time Equivalent Staff - Mental Health Consumer Workers
- Domain:
Total number of full-time equivalent units. NNNN.NN
- Field Name:
FteConsrWrkr
- METEOR Identifier:
1.7.46. Full-Time Equivalent Staff - Nurses
- Domain:
Total number of full-time equivalent units. NNNN.NN
- Field Name:
FteNurses
- METEOR Identifier:
1.7.47. Full-Time Equivalent Staff - Occupational Therapists
- Domain:
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 718714)
- Field Name:
FteOT
1.7.48. Full-Time Equivalent Staff - Other Diagnostic and Health Professionals
- Domain:
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 722518)
- Field Name:
FteDHPOther
1.7.49. Full-Time Equivalent Staff - Other Medical Officers
- Domain:
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 718767)
- Field Name:
FteMedOther
1.7.50. Full-Time Equivalent Staff - Other Personal Care Staff
- Domain:
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 722521)
- Field Name:
FtePCare
1.7.51. Full-Time Equivalent Staff - Psychiatrists
- Domain:
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 717129)
The Consultant Psychiatrist staffing category was removed from the MHE NMDS in 2020-21 to remove duplication with the Psychiatrist staffing category. The short names ExpSalCnsltPsych and FteCnsltPsych remain unchanged as data reported to these items will not change and is comparable with historical data.
- Field Name:
FteCnsltPsych
1.7.52. Full-Time Equivalent Staff - Psychiatry Registrars and Trainees
- Domain:
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 718870)
- Field Name:
FtePsyReg
1.7.53. Full-Time Equivalent Staff - Psychologists
- Domain:
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 722174)
- Field Name:
FtePsychol
1.7.54. Full-Time Equivalent Staff - Registered Nurses
- Domain:
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 722533)
- Field Name:
FteNursesReg
1.7.55. Full-Time Equivalent Staff - Salaried Medical Officers
- Domain:
Total number of full-time equivalent units. NNNN.NN (Based on METEOR ID: 722535)
- Field Name:
FteMed
1.7.57. Full-Time Equivalent Staff – Aboriginal and Torres Strait Islander mental health workers
- Domain:
Total number of full-time equivalent units. NNNN.NN
- Field Name:
FteATSIMHWrkr
- METEOR Identifier:
1.7.58. Geographical Location of Establishment
- Definition:
Geographical location of establishment
- Domain:
Statistical Area Level 2 (SA2) code (ASGS Edition 3). N(9)
- Field Name:
EstArea
- METEOR Identifier:
1.7.59. Hospital Identifier
- Domain:
A(9): Hospital identifier (equals Establishment number as reported for NMDS for Admitted Patient Care)
- Field Name:
HospId
- METEOR Identifier:
1.7.60. Hospital Name
- Domain:
Common name used to identify the hospital.
- Field Name:
HospName
- METEOR Identifier:
1.7.61. Hours Staffed
- Domain:
The average number of hours staffed per 24-hour period. NN
- Field Name:
HrsStaffed
- METEOR Identifier:
1.7.62. Local Hospital Network Identifier
- Domain:
NNN: A unique identifier for Local Hospital Networks (LHN) established by jurisdictions. Note, this does not form part of the identifier string. It is a separate item being collected to identify hospital reporting by LHN as a result of funding model changes.
An additional code, 296 Parkville Youth Mental Health and Wellbeing Service, should be considered a Permissible Value for 2025-26.
- Field Name:
LHNID
- METEOR Identifier:
1.7.63. Mental health non-governmental organisation payments
- Definition:
The dollar amount of payments provided to an NGO.
- Domain:
(This Data element is supplied through an administrative data cluster in METEOR 795669)
All references to ‘Grants’ were updated to ‘Payments’ in the MHE NMDS in 2020-21 as a more accurate reflection of the expenditure reported for non-government organisations. The short name MHNGOEGrants remains unchanged as data reported to this item will not change and is comparable with historical data.
- Field Name:
MHNGOEGrants
- METEOR Identifier:
1.7.64. Mental health non-governmental organisation service type
- Definition:
A code indicating the type of NGO service.
- Domain:
- 01:
Counselling – face-to-face
- 02:
Counselling, support, information and referral – telephone
- 03:
Counselling, support, information and referral – online
- 04:
Self-help – online
- 05:
Group support activities
- 06:
Mutual support and self-help
- 07:
Staffed residential services
- 08:
Personalised support – linked to housing
- 09:
Personalised support – other
- 10:
Family and carer support
- 11:
Individual advocacy
- 12:
Care coordination
- 13:
Service integration infrastructure
- 14:
Education, employment and training
- 15:
Sector development and representation
- 16:
Mental health promotion
- 17:
Mental illness prevention
- 18:
General and service function
- 88:
Other and unspecified services
(This Data element is supplied through an administrative data cluster in METEOR 795669)
- Field Name:
MHNGOServType
- METEOR Identifier:
1.7.65. MHE Specification Version Number
- Definition:
The version number of the MHE specification document used
- Domain:
Value = 05.00
- Field Name:
SpecVer
1.7.66. National Standards for Mental Health Services Review Status
- Domain:
- 1:
The service unit had been reviewed and was judged to have met all of the applicable National Standards for Mental Health Services as determined by the accrediting agency.
- 2:
The service unit had been reviewed by an external accreditation agency and was judged to have met some but not all of the National standards for Mental Health Services.
- 3:
The service unit was in the process of being reviewed by an external accreditation agency but the outcomes were not known.
- 4:
The service unit was booked for review by an external accreditation agency and was engaged in self-assessment preparation prior to the formal external review.
- 5:
The service unit was engaged in self- assessment in relation to the National Standards for Mental Health Services but did not have a contractual arrangement with an external accreditation agency for review.
- 6:
The service unit had not commenced the preparations for review by an external accreditation agency but this was intended to be undertaken in the future.
- 7:
It had not been resolved whether the service unit would undertake review by an external accreditation agency under the National Standards for Mental Health Services.
- 8:
The National standards for Mental Health Services are not applicable to this service unit.
- Field Name:
StdsReviewSt
- METEOR Identifier:
1.7.67. NGO Payments - from Non-Health Departments
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
NgoOtherDepts
- METEOR Identifier:
1.7.68. Non-government Non-profit Indicator
- Domain:
- 1:
Yes
- 2:
No
- 9:
Not stated/inadequately described
- Field Name:
NonProfitNgo
- METEOR Identifier:
1.7.69. Non-Government Organisation Identifier
- Domain:
A unique identifier for Non-Government Organisations (NGO) established by jurisdictions.
Where the NGO is a Primary Health Network, the permissible identifiers are in accordance to the Guide for use for this data element.
- Field Name:
NGOId
- METEOR Identifier:
1.7.70. Non-Government Organisation Name
- Domain:
Name used to identify the Non-Government Organisation (NGO). Where the NGO is a Primary Health Network, the permissible identifiers are in accordance to the Guide for use for this data element.
- Field Name:
NGOName
- METEOR Identifier:
1.7.71. Non-Salary Recurrent Expenditure - Administrative Expenses
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNonSalAdmin
- METEOR Identifier:
1.7.72. Non-Salary Recurrent Expenditure - Domestic Services
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNonSalDomest
- METEOR Identifier:
1.7.73. Non-Salary Recurrent Expenditure - Drug Supplies
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNonSalDrug
- METEOR Identifier:
1.7.74. Non-Salary Recurrent Expenditure - Food Supplies
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNonSalFood
- METEOR Identifier:
1.7.75. Non-Salary Recurrent Expenditure - Interest Payments
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNonSalInterest
- METEOR Identifier:
1.7.76. Non-Salary Recurrent Expenditure - Medical and Surgical Supplies
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNonSalMedSuppl
- METEOR Identifier:
1.7.77. Non-Salary Recurrent Expenditure - Other Recurrent Expenditure
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNonSalOther
- METEOR Identifier:
1.7.78. Non-Salary Recurrent Expenditure - Patient Transport
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNonSalTransp
- METEOR Identifier:
1.7.79. Non-Salary Recurrent Expenditure - Payments to Visiting Medical Officers
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNonSalVMO
- METEOR Identifier:
1.7.80. Non-Salary Recurrent Expenditure - Repairs and Maintenance
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNonSalRepairs
- METEOR Identifier:
1.7.81. Non-Salary Recurrent Expenditure - Superannuation
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpNonSalSuper
- METEOR Identifier:
1.7.82. Non-Salary Recurrent Expenditure - Total
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] Total is calculated from expenditure including:
Administrative expenses
Domestic services
Drug supplies
Food supplies
Interest payments
Medical and surgical supplies
Patient transport costs
Payments to visiting medical officers
Repairs and maintenance
Superannuation employer contributions
Other recurrent expenditure
- Field Name:
ExpNonSalTot
- METEOR Identifier:
1.7.83. Number of Clients Receiving Services
- Domain:
NNNNNN
- Field Name:
NClients
- METEOR Identifier:
1.7.84. Number of Episodes of Residential Care
- Domain:
The total number of episodes of residential care. NNNN
- Field Name:
NEpi
- METEOR Identifier:
1.7.85. Number of Separations
- Domain:
Total number of separations. N[NNNNN]
- Field Name:
NSeps
- METEOR Identifier:
1.7.86. Number of Service Contacts
- Domain:
NNNNNN
- Field Name:
NCont
- METEOR Identifier:
1.7.87. Number of Supported Mental Health Housing Places
- Domain:
N(6)
- Field Name:
NHousePlaces
- METEOR Identifier:
1.7.88. Organisation Identifier
- Definition:
A(9): Mental health service organisation identifier.
- Domain:
Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care.
- Field Name:
OrgId
- METEOR Identifier:
1.7.89. Organisation Name
- Definition:
Common name used to identify the Organisation
- Field Name:
OrgName
- METEOR Identifier:
1.7.90. Program Type
- Domain:
- 1:
Acute care
- 2:
Other
- Field Name:
ProgType
- METEOR Identifier:
1.7.91. Record Type
- Definition:
A code indicating the type of each record included in an MHE data file.
- Domain:
- ADMI:
Admitted patient service unit details
- AMBU:
Ambulatory service unit details
- CLUS:
Service unit cluster details
- FTEORG:
Organisation full-time equivalent staff by service setting details
- HOSP:
Hospital details
- HR:
File header record
- ORG:
Organisation details
- REG:
Region details
- REGNGO:
Region-level non-government organisation details
- REGNGOE:
Region-level non-government organisation payments
- RESI:
Residential service unit details
- ST:
State/Territory details
- STNGO:
State-level non-government organisation details
- STNGOE:
State-level non-government organisation payments
- Field Name:
RecType
1.7.92. Region Identifier
- Domain:
AA: Region (values as specified by individual jurisdiction). Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care.
- Field Name:
RegId
- METEOR Identifier:
1.7.93. Region Name
- Definition:
Common name used to identify the Region.
- Field Name:
RegName
- METEOR Identifier:
1.7.94. Report Period End Date
- Definition:
Report period end date
- Domain:
Report period end date
Must be the end of the financial year, expressed as DDMMYYYY
- Field Name:
RepEnd
1.7.95. Report Period Start Date
- Definition:
Report period start date
- Domain:
Report period start date
Must be the start of the financial year, expressed as DDMMYYYY
- Field Name:
RepStart
1.7.96. Residential Service Unit Identifier
- Domain:
A(9): Service unit identifier. Identifiers used in this collection should map to the identifiers used in data for the NMDSs for Community Mental Health Care and Residential Mental Health Care.
- Field Name:
ResiId
- METEOR Identifier:
1.7.97. Residential Service Unit Name
- Domain:
Common name used to identify the service unit.
- Field Name:
ResiName
- METEOR Identifier:
1.7.98. Revenue - Other
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
RevOther
- METEOR Identifier:
1.7.99. Revenue - Other Commonwealth
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
RevCwlthOther
- METEOR Identifier:
1.7.100. Revenue - Patients
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
RevPatients
- METEOR Identifier:
1.7.101. Revenue - Recoveries
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
RevRecov
- METEOR Identifier:
1.7.103. Revenue - State/Territory Other
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
RevStateOther
- METEOR Identifier:
1.7.104. Salaries and Wages - Administrative and Clerical Staff
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpSalAdmin
- METEOR Identifier:
1.7.105. Salaries and Wages - Domestic and Other Staff
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpSalDomest
- METEOR Identifier:
1.7.106. Salaries and Wages - Enrolled Nurses
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpSalNursesEnrl
- METEOR Identifier:
1.7.107. Salaries and Wages - Mental Health Carer Workers
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpSalCarerWrkr
- METEOR Identifier:
1.7.108. Salaries and Wages - Mental Health Consumer Workers
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpSalConsrWrkr
- METEOR Identifier:
1.7.109. Salaries and Wages - Occupational Therapists
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpSalOT
- METEOR Identifier:
1.7.110. Salaries and Wages - Other Diagnostic and Health Professionals
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpSalDHPOther
- METEOR Identifier:
1.7.111. Salaries and Wages - Other Medical Officers
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpSalMedOther
- METEOR Identifier:
1.7.112. Salaries and Wages - Other Personal Care Staff
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpSalPCare
- METEOR Identifier:
1.7.113. Salaries and Wages - Psychiatrists
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
The Consultant Psychiatrist staffing category was removed from the MHE NMDS in 2020-21 to remove duplication with the Psychiatrist staffing category. The short names ExpSalCnsltPsych and FteCnsltPsych remain unchanged as data reported to these items will not change and is comparable with historical data.
- Field Name:
ExpSalCnsltPsych
- METEOR Identifier:
1.7.114. Salaries and Wages - Psychiatry Registrars and Trainees
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpSalPsyReg
- METEOR Identifier:
1.7.115. Salaries and Wages - Psychologists
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpSalPsychol
- METEOR Identifier:
1.7.116. Salaries and Wages - Registered Nurses
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpSalNursesReg
- METEOR Identifier:
1.7.118. Salaries and Wages - Total
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)] Total is calculated from salaries and wages expenditure for all the staffing categories.
- Field Name:
ExpSalTot
- METEOR Identifier:
1.7.119. Salaries and Wages – Aboriginal and Torres Strait Islander mental health workers
- Domain:
Australian dollars. Rounded to the nearest whole dollar. N[N(8)]
- Field Name:
ExpSalATSIMHWrkr
- METEOR Identifier:
1.7.120. Sector
- Domain:
- 1:
Public
- 2:
Private
- Field Name:
Sector
- METEOR Identifier:
1.7.121. Service Setting
- Domain:
- 1:
Admitted patient care setting
- 2:
Residential care setting
- 3:
Ambulatory care setting
- 4:
Organisational overhead setting
- Field Name:
Setting
- METEOR Identifier:
1.7.122. Service Unit Cluster Identifier
- Domain:
A(9): An identifier to indicate that a service unit is one of a cluster of service units, defined through administrative or clinical governance arrangements. If no cluster applies, set to 00000. As this field enables linking with the NMDSs for Community Mental Health Care and Residential Mental Health Care, the identifiers used in this collection should be the same.
- Field Name:
ClusId
- METEOR Identifier:
1.7.123. Service Unit Cluster Name
- Definition:
Common name used to identify the service unit cluster.
- Domain:
If no cluster applies, enter organisation name as appears in previous line.
- Field Name:
ClusName
- METEOR Identifier:
1.7.124. State/Territory Identifier
- Definition:
An identifier indicating the State or Territory responsible for the collection and submission of the MHE data file.
- Domain:
- 1:
New South Wales
- 2:
Victoria
- 3:
Queensland
- 4:
South Australia
- 5:
Western Australia
- 6:
Tasmania
- 7:
Northern Territory
- 8:
Australian Capital Territory
(METEOR includes code 9, but that is not applicable to the MHE NMDS)
- Field Name:
State
- METEOR Identifier:
1.7.125. State/Territory Name
- Domain:
Name used to identify the State/Territory
- Field Name:
StateName
1.7.126. Target Population
- Domain:
- 1:
Child and adolescent
- 2:
Older person
- 3:
Forensic
- 4:
General
- 5:
Youth
- 7:
Not applicable
METEOR includes code 9, but that is not applicable to the MHE NMDS
- Field Name:
TargetPop
- METEOR Identifier:
1.8. Virtual elements
1.8.1. AdmiAppExpTotal
- Base:
ADMI
- Title:
Total Apportioned Expenditure at Admitted Patient Service Unit level
- SQL:
with UnitExp as ( select * from AdmiExpTotal ), RegApp as ( select * from AdmiRegAppExpNer ), OrgApp as ( select * from AdmiOrgAppExpNer ) select UnitExp.State as State, UnitExp.RegId as RegId, UnitExp.OrgId as OrgId, UnitExp.HospId as HospId, UnitExp.AdmiId as AdmiId, UnitExp.Total + RegApp.Total + OrgApp.Total as Total from UnitExp join RegApp using (State, RegId, OrgId, HospId, AdmiId) join OrgApp using (State, RegId, OrgId, HospId, AdmiId)
1.8.2. AdmiAppExpTotalFmt
- Base:
ADMI
- Title:
Total Apportioned Expenditure at Admitted Patient Service Unit level (rounded)
- SQL:
select State, RegId, OrgId, HospId, AdmiId, round(Src.Total) as Total from AdmiAppExpTotal as Src
1.8.3. AdmiExpTotal
- Base:
ADMI
- Title:
Total Expenditure at Admitted Patient Service Unit Level
- SQL:
select State, RegId, OrgId, HospId, AdmiId, ExpNonSalTot + ExpSalTot as Total from ADMI
- Rules:
1.8.4. AdmiOccupancy
- Base:
ADMI
- Title:
Average Occupancy for Admitted Patient Service Unit
- SQL:
select State, RegId, OrgId, HospId, AdmiId, sd_div_safe(MHCareDays, (AdmiNBeds + HitHNBeds) * 365, 3) as Occupancy from ADMI
- Rules:
1.8.5. AdmiOrgAppExpNer
- Base:
ADMI
- Title:
Organisation Residual Expenditure Apportioned to Admitted Patient Service Unit
- SQL:
select UnitExp.State as State, UnitExp.RegId as RegId, UnitExp.OrgId as OrgId, UnitExp.HospId as HospId, UnitExp.AdmiId as AdmiId, sd_div_safe((Pie.Total * UnitExp.Total::numeric), OrgUnitExp.Total, 3) as Total from AdmiExpTotal as UnitExp join OrgUnitExp using (State, RegId, OrgId) join OrgAppExpNer as Pie using (State, RegId, OrgId)
1.8.6. AdmiOrgAppExpNerFmt
- Base:
ADMI
- Title:
Organisation Residual Expenditure Apportioned to Admitted Patient Service Unit (rounded)
- SQL:
select State, RegId, OrgId, HospId, AdmiId, round(Src.Total) as Total from AdmiOrgAppExpNer as Src
1.8.7. AdmiPDay
- Base:
ADMI
- Title:
Average Patient Day Cost for Admitted Patient Service Unit
- SQL:
select State, RegId, OrgId, HospId, AdmiId, sd_div_safe(Total, MHCareDays, 1) as PDay from ADMI join AdmiExpTotal using (State, RegId, OrgId, HospId, AdmiId) where MHCareDays != 0
- Rules:
1.8.8. AdmiRegAppExpNer
- Base:
ADMI
- Title:
Region Residual Expenditure Apportioned to Admitted Patient Service Unit
- SQL:
select UnitExp.State as State, UnitExp.RegId as RegId, UnitExp.OrgId as OrgId, UnitExp.HospId as HospId, UnitExp.AdmiId as AdmiId, sd_div_safe((Pie.Total * UnitExp.Total::numeric), RegUnitExp.Total, 3) as Total from AdmiExpTotal as UnitExp join RegUnitExp using (State, RegId) join RegAppExpNer as Pie using (State, RegId)
1.8.9. AdmiRegAppExpNerFmt
- Base:
ADMI
- Title:
Region Residual Expenditure Apportioned to Admitted Patient Service Unit (rounded)
- SQL:
select State, RegId, OrgId, HospId, AdmiId, round(Src.Total) as Total from AdmiRegAppExpNer as Src
1.8.10. AmbuAppExpTotal
- Base:
AMBU
- Title:
Total Apportioned Expenditure at Ambulatory Service Unit level
- SQL:
with UnitExp as ( select * from AmbuExpTotal ), RegApp as ( select * from AmbuRegAppExpNer ), OrgApp as ( select * from AmbuOrgAppExpNer ) select UnitExp.State as State, UnitExp.RegId as RegId, UnitExp.OrgId as OrgId, UnitExp.ClusId as ClusId, UnitExp.AmbuId as AmbuId, UnitExp.Total + RegApp.Total + OrgApp.Total as Total from UnitExp join RegApp using (State, RegId, OrgId, ClusId, AmbuId) join OrgApp using (State, RegId, OrgId, ClusId, AmbuId)
1.8.11. AmbuAppExpTotalFmt
- Base:
AMBU
- Title:
Total Apportioned Expenditure at Ambulatory Service Unit level (rounded)
- SQL:
select State, RegId, OrgId, ClusId, AmbuId, round(Src.Total) as Total from AmbuAppExpTotal as Src
1.8.12. AmbuAvgCon
- Base:
AMBU
- Title:
Average Contact Cost for Ambulatory Service Unit
- SQL:
select State, RegId, OrgId, ClusId, AmbuId, sd_div_safe(Total, NCont, 1) as AvgCon from AMBU join AmbuExpTotal using (State, RegId, OrgId, ClusId, AmbuId) where NCont != 0
- Rules:
1.8.13. AmbuExpTotal
- Base:
AMBU
- Title:
Total Expenditure at Ambulatory Service Unit Level
- SQL:
select State, RegId, OrgId, ClusId, AmbuId, ExpNonSalTot + ExpSalTot as Total from AMBU
- Rules:
1.8.14. AmbuOrgAppExpNer
- Base:
AMBU
- Title:
Organisation Residual Expenditure Apportioned to Ambulatory Service Unit
- SQL:
select UnitExp.State as State, UnitExp.RegId as RegId, UnitExp.OrgId as OrgId, UnitExp.ClusId as ClusId, UnitExp.AmbuId as AmbuId, sd_div_safe((Pie.Total * UnitExp.Total::numeric), OrgUnitExp.Total, 3) as Total from AmbuExpTotal as UnitExp join OrgUnitExp using (State, RegId, OrgId) join OrgAppExpNer as Pie using (State, RegId, OrgId)
1.8.15. AmbuOrgAppExpNerFmt
- Base:
AMBU
- Title:
Organisation Residual Expenditure Apportioned to Ambulatory Service Unit (rounded)
- SQL:
select State, RegId, OrgId, ClusId, AmbuId, round(Src.Total) as Total from AmbuOrgAppExpNer as Src
1.8.16. AmbuRegAppExpNer
- Base:
AMBU
- Title:
Region Residual Expenditure Apportioned to Ambulatory Service Unit
- SQL:
select UnitExp.State as State, UnitExp.RegId as RegId, UnitExp.OrgId as OrgId, UnitExp.ClusId as ClusId, UnitExp.AmbuId as AmbuId, sd_div_safe((Pie.Total * UnitExp.Total::numeric), RegUnitExp.Total, 3) as Total from AmbuExpTotal as UnitExp join RegUnitExp using (State, RegId) join RegAppExpNer as Pie using (State, RegId)
1.8.17. AmbuRegAppExpNerFmt
- Base:
AMBU
- Title:
Region Residual Expenditure Apportioned to Ambulatory Service Unit (rounded)
- SQL:
select State, RegId, OrgId, ClusId, AmbuId, round(Src.Total) as Total from AmbuRegAppExpNer as Src
1.8.18. AvgStay
- Base:
ADMI
- Title:
Average Length of Stay for Admitted Patient Service Unit
- SQL:
select State, RegId, OrgId, HospId, AdmiId, sd_div_safe(MHCareDays, NSeps, 1) as AvgStay from ADMI
- Rules:
1.8.19. ClusAmbuCount
- Base:
CLUS
- Title:
AMBU Count at CLUS Level
- SQL:
select State, RegId, OrgId, ClusId, coalesce(Count, 0) as Count from CLUS left join ( select State, RegId, OrgId, ClusId, count(*) as Count from AMBU group by State, RegId, OrgId, ClusId ) as tmpinner using (State, RegId, OrgId, ClusId)
- Rules:
1.8.20. ClusResiCount
- Base:
CLUS
- Title:
RESI Count at CLUS Level
- SQL:
select State, RegId, OrgId, ClusId, coalesce(Count, 0) as Count from CLUS left join ( select State, RegId, OrgId, ClusId, count(*) as Count from RESI group by State, RegId, OrgId, ClusId ) as tmpinner using (State, RegId, OrgId, ClusId)
- Rules:
1.8.21. CnsltPsychSum
- Base:
ORG
- Title:
Total Consultant Psychiatrists and Psychiatrists salary reported at organisation level
- SQL:
select State, RegId, OrgId, sum(ExpSalCnsltPsych) as Total from ORG group by State, RegId, OrgId
1.8.22. FteATSIMHWrkrChange
- Base:
ORG
- Title:
Total Aboriginal and Torres Strait Islander Mental Health Workers FTE reported at Setting Level Change
- SQL:
with New as ( select * from FteATSIMHWrkrSum ), Old as ( select * from hist.FteATSIMHWrkrSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.23. FteATSIMHWrkrGrowth
- Base:
ORG
- Title:
Total Aboriginal and Torres Strait Islander Mental Health Workers FTE reported at Setting Level Growth
- SQL:
with New as ( select * from FteATSIMHWrkrSum ), Old as ( select * from hist.FteATSIMHWrkrSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.24. FteATSIMHWrkrSum
- Base:
ORG
- Title:
Total Aboriginal and Torres Strait Islander Mental Health Workers FTE reported at Setting Level
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(FteATSIMHWrkr, 0)) as Total from FTEORG group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
- Rules:
1.8.25. FteAdminChange
- Base:
ORG
- Title:
Total Administrative and Clerical FTE reported at Setting Level Change
- SQL:
with New as ( select * from FteAdminSum ), Old as ( select * from hist.FteAdminSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.26. FteAdminGrowth
- Base:
ORG
- Title:
Total Administrative and Clerical FTE reported at Setting Level Growth
- SQL:
with New as ( select * from FteAdminSum ), Old as ( select * from hist.FteAdminSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.27. FteAdminSum
- Base:
ORG
- Title:
Total Administrative and Clerical FTE reported at Setting Level
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(FteAdmin, 0)) as Total from FTEORG group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
- Rules:
1.8.28. FteCCWrkrChange
- Base:
ORG
- Title:
Total Carer and Consumer Workers FTE reported at Setting Level Change
- SQL:
with New as ( select * from FteCCWrkrSum ), Old as ( select * from hist.FteCCWrkrSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.29. FteCCWrkrGrowth
- Base:
ORG
- Title:
Total Carer and Consumer Workers FTE reported at Setting Level Growth
- SQL:
with New as ( select * from FteCCWrkrSum ), Old as ( select * from hist.FteCCWrkrSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.30. FteCCWrkrSum
- Base:
ORG
- Title:
Total Carer and Consumer Workers FTE reported at Setting Level
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(FteCCWrkr, 0)) as Total from FTEORG group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
- Rules:
1.8.31. FteDHPChange
- Base:
ORG
- Title:
Total Diagnostic and Health Professionals FTE reported at Setting Level Change
- SQL:
with New as ( select * from FteDHPSum ), Old as ( select * from hist.FteDHPSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.32. FteDHPGrowth
- Base:
ORG
- Title:
Total Diagnostic and Health Professionals FTE reported at Setting Level Growth
- SQL:
with New as ( select * from FteDHPSum ), Old as ( select * from hist.FteDHPSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.33. FteDHPSum
- Base:
ORG
- Title:
Total Diagnostic and Health Professionals FTE reported at Setting Level
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(FteDHP, 0)) as Total from FTEORG group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
- Rules:
1.8.34. FteDomestChange
- Base:
ORG
- Title:
Total Domestic FTE reported at Setting Level Change
- SQL:
with New as ( select * from FteDomestSum ), Old as ( select * from hist.FteDomestSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.35. FteDomestGrowth
- Base:
ORG
- Title:
Total Domestic FTE reported at Setting Level Growth
- SQL:
with New as ( select * from FteDomestSum ), Old as ( select * from hist.FteDomestSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.36. FteDomestSum
- Base:
ORG
- Title:
Total Domestic FTE reported at Setting Level
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(FteDomest, 0)) as Total from FTEORG group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
- Rules:
1.8.37. FteMedChange
- Base:
ORG
- Title:
Total Medical FTE reported at Setting Level Change
- SQL:
with New as ( select * from FteMedSum ), Old as ( select * from hist.FteMedSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.38. FteMedGrowth
- Base:
ORG
- Title:
Total Medical FTE reported at Setting Level Growth
- SQL:
with New as ( select * from FteMedSum ), Old as ( select * from hist.FteMedSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.39. FteMedSum
- Base:
ORG
- Title:
Total Medical FTE reported at Setting Level
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(FteMed, 0)) as Total from FTEORG group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
- Rules:
1.8.40. FteNursesChange
- Base:
ORG
- Title:
Total Nursing FTE reported at Setting Level Change
- SQL:
with New as ( select * from FteNursesSum ), Old as ( select * from hist.FteNursesSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.41. FteNursesGrowth
- Base:
ORG
- Title:
Total Nursing FTE reported at Setting Level Growth
- SQL:
with New as ( select * from FteNursesSum ), Old as ( select * from hist.FteNursesSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.42. FteNursesSum
- Base:
ORG
- Title:
Total Nursing FTE reported at Setting Level
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(FteNurses, 0)) as Total from FTEORG group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
- Rules:
1.8.43. FtePCareChange
- Base:
ORG
- Title:
Total Other Personal Care FTE reported at Setting Level Change
- SQL:
with New as ( select * from FtePCareSum ), Old as ( select * from hist.FtePCareSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.44. FtePCareGrowth
- Base:
ORG
- Title:
Total Other Personal Care FTE reported at Setting Level Growth
- SQL:
with New as ( select * from FtePCareSum ), Old as ( select * from hist.FtePCareSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.45. FtePCareSum
- Base:
ORG
- Title:
Total Other Personal Care FTE reported at Setting Level
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(FtePCare, 0)) as Total from FTEORG group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
- Rules:
1.8.46. FteorgDCareTotal
- Base:
FTEORG
- Title:
Total Direct Care FTE at Organisation Full-time Equivalent Staff by Setting/TargetPop Level
- SQL:
select State, RegId, OrgId, Setting, TargetPop, FteMed + FteNurses + FteDHP + FtePCare as Total from FTEORG
1.8.47. FteorgFteTotal
- Base:
FTEORG
- Title:
Total FTE at Organisation Full-time Equivalent Staff by Setting/TargetPop Level
- SQL:
select State, RegId, OrgId, Setting, TargetPop, FteMed + FteNurses + FteDHP + FteAdmin + FteDomest + FteCCWrkr + FtePCare + FteATSIMHWrkr as Total from FTEORG
- Rules:
1.8.48. OTSum
- Base:
ORG
- Title:
Total Occupational Therapists salary reported at organisation level
- SQL:
select State, RegId, OrgId, sum(ExpSalOT) as Total from ORG group by State, RegId, OrgId
1.8.49. OrgATSIMHWrkrAvgSal
- Base:
ORG
- Title:
Average Aboriginal and Torres Strait Islander Mental Health Workers Salary reported at Organisation Level
- SQL:
select State, RegId, OrgId, sd_div_safe(Sal.Total, Fte.Total, 3) as AvgSal from OrgSalATSIMHWrkrSum as Sal join OrgFteATSIMHWrkrSum as Fte using (State, RegId, OrgId)
1.8.50. OrgAdmiAppExpChange
- Base:
ORG
- Title:
Admitted Patient Service Unit Total Apportioned Expenditure Change
- SQL:
with New as ( select * from OrgAdmiAppExpTotal ), Old as ( select * from hist.OrgAdmiAppExpTotal ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.51. OrgAdmiAppExpGrowth
- Base:
ORG
- Title:
Admitted Patient Service Unit Total Apportioned Expenditure Growth
- SQL:
with New as ( select * from OrgAdmiAppExpTotal ), Old as ( select * from hist.OrgAdmiAppExpTotal ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.52. OrgAdmiAppExpTotal
- Base:
ORG
- Title:
Admitted Patient Service Unit Total Apportioned Expenditure
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(Total, 0)) as Total from AdmiAppExpTotal group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.53. OrgAdmiAppExpTotalFmt
- Base:
ORG
- Title:
Admitted Patient Service Unit Total Apportioned Expenditure (rounded)
- SQL:
select State, RegId, OrgId, round(Src.Total) as Total from OrgAdmiAppExpTotal as Src
1.8.54. OrgAdmiAppExpTotalFmtChange
- Base:
ORG
- Title:
Admitted Patient Service Unit Total Apportioned Expenditure (rounded) Change
- SQL:
with New as ( select * from OrgAdmiAppExpTotalFmt ), Old as ( select * from hist.OrgAdmiAppExpTotalFmt ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.55. OrgAdmiAppExpTotalFmtGrowth
- Base:
ORG
- Title:
Admitted Patient Service Unit Total Apportioned Expenditure (rounded) Growth
- SQL:
with New as ( select * from OrgAdmiAppExpTotalFmt ), Old as ( select * from hist.OrgAdmiAppExpTotalFmt ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.56. OrgAdmiAvgSal
- Base:
ORG
- Title:
Average Salary for Admitted Patient Service Unit at Organisation Level
- SQL:
select State, RegId, OrgId, sd_div_safe(UnitSal.Total, Fte.Total, 1) as AvgSal from OrgAdmiExpSalTotal as UnitSal join OrgAdmiFteSum as Fte using (State, RegId, OrgId)
- Rules:
1.8.57. OrgAdmiCDaysAcSum
- Base:
ORG
- Title:
Total Admitted Acute Accrued Mental Health Care Days
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where ProgType = '1' group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.58. OrgAdmiCDaysCAAcChange
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Child and adolescent Population - Acute Care Change
- SQL:
with New as ( select * from OrgAdmiCDaysCAAcSum ), Old as ( select * from hist.OrgAdmiCDaysCAAcSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.59. OrgAdmiCDaysCAAcGrowth
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Child and adolescent Population - Acute Care Growth
- SQL:
with New as ( select * from OrgAdmiCDaysCAAcSum ), Old as ( select * from hist.OrgAdmiCDaysCAAcSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.60. OrgAdmiCDaysCAAcSum
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Child and adolescent Population - Acute Care
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '1' and ProgType = '1' group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.61. OrgAdmiCDaysCANAcChange
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Child and adolescent Population - Non-acute Care Change
- SQL:
with New as ( select * from OrgAdmiCDaysCANAcSum ), Old as ( select * from hist.OrgAdmiCDaysCANAcSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.62. OrgAdmiCDaysCANAcGrowth
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Child and adolescent Population - Non-acute Care Growth
- SQL:
with New as ( select * from OrgAdmiCDaysCANAcSum ), Old as ( select * from hist.OrgAdmiCDaysCANAcSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.63. OrgAdmiCDaysCANAcSum
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Child and adolescent Population - Non-acute Care
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '1' and ProgType = '2' group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.64. OrgAdmiCDaysChange
- Base:
ORG
- Title:
Total Accrued Mental Health Care Days Change
- SQL:
with New as ( select * from OrgAdmiCDaysSum ), Old as ( select * from hist.OrgAdmiCDaysSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
- Rules:
1.8.65. OrgAdmiCDaysForAcChange
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Forensic Population - Acute Care Change
- SQL:
with New as ( select * from OrgAdmiCDaysForAcSum ), Old as ( select * from hist.OrgAdmiCDaysForAcSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.66. OrgAdmiCDaysForAcGrowth
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Forensic Population - Acute Care Growth
- SQL:
with New as ( select * from OrgAdmiCDaysForAcSum ), Old as ( select * from hist.OrgAdmiCDaysForAcSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.67. OrgAdmiCDaysForAcSum
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Forensic Population - Acute Care
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '3' and ProgType = '1' group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.68. OrgAdmiCDaysForNAcChange
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Forensic Population - Non-acute Care Change
- SQL:
with New as ( select * from OrgAdmiCDaysForNAcSum ), Old as ( select * from hist.OrgAdmiCDaysForNAcSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.69. OrgAdmiCDaysForNAcGrowth
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Forensic Population - Non-acute Care Growth
- SQL:
with New as ( select * from OrgAdmiCDaysForNAcSum ), Old as ( select * from hist.OrgAdmiCDaysForNAcSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.70. OrgAdmiCDaysForNAcSum
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Forensic Population - Non-acute Care
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '3' and ProgType = '2' group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.71. OrgAdmiCDaysGenAcChange
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for General Population - Acute Care Change
- SQL:
with New as ( select * from OrgAdmiCDaysGenAcSum ), Old as ( select * from hist.OrgAdmiCDaysGenAcSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.72. OrgAdmiCDaysGenAcGrowth
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for General Population - Acute Care Growth
- SQL:
with New as ( select * from OrgAdmiCDaysGenAcSum ), Old as ( select * from hist.OrgAdmiCDaysGenAcSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.73. OrgAdmiCDaysGenAcSum
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for General Population - Acute Care
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '4' and ProgType = '1' group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.74. OrgAdmiCDaysGenNAcChange
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for General Population - Non-acute Care Change
- SQL:
with New as ( select * from OrgAdmiCDaysGenNAcSum ), Old as ( select * from hist.OrgAdmiCDaysGenNAcSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.75. OrgAdmiCDaysGenNAcGrowth
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for General Population - Non-acute Care Growth
- SQL:
with New as ( select * from OrgAdmiCDaysGenNAcSum ), Old as ( select * from hist.OrgAdmiCDaysGenNAcSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.76. OrgAdmiCDaysGenNAcSum
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for General Population - Non-acute Care
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '4' and ProgType = '2' group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.77. OrgAdmiCDaysGrowth
- Base:
ORG
- Title:
Total Accrued Mental Health Care Days Growth
- SQL:
with New as ( select * from OrgAdmiCDaysSum ), Old as ( select * from hist.OrgAdmiCDaysSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
- Rules:
1.8.78. OrgAdmiCDaysNAcSum
- Base:
ORG
- Title:
Total Admitted Non-acute Accrued Mental Health Care Days
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where ProgType = '2' group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.79. OrgAdmiCDaysOldAcChange
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Older person Population - Acute Care Change
- SQL:
with New as ( select * from OrgAdmiCDaysOldAcSum ), Old as ( select * from hist.OrgAdmiCDaysOldAcSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.80. OrgAdmiCDaysOldAcGrowth
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Older person Population - Acute Care Growth
- SQL:
with New as ( select * from OrgAdmiCDaysOldAcSum ), Old as ( select * from hist.OrgAdmiCDaysOldAcSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.81. OrgAdmiCDaysOldAcSum
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Older person Population - Acute Care
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '2' and ProgType = '1' group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.82. OrgAdmiCDaysOldNAcChange
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Older person Population - Non-acute Care Change
- SQL:
with New as ( select * from OrgAdmiCDaysOldNAcSum ), Old as ( select * from hist.OrgAdmiCDaysOldNAcSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.83. OrgAdmiCDaysOldNAcGrowth
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Older person Population - Non-acute Care Growth
- SQL:
with New as ( select * from OrgAdmiCDaysOldNAcSum ), Old as ( select * from hist.OrgAdmiCDaysOldNAcSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.84. OrgAdmiCDaysOldNAcSum
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Older person Population - Non-acute Care
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '2' and ProgType = '2' group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.85. OrgAdmiCDaysSum
- Base:
ORG
- Title:
Total Accrued Mental Health Care Days
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.86. OrgAdmiCDaysYthAcChange
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Youth Population - Acute Care Change
- SQL:
with New as ( select * from OrgAdmiCDaysYthAcSum ), Old as ( select * from hist.OrgAdmiCDaysYthAcSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.87. OrgAdmiCDaysYthAcGrowth
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Youth Population - Acute Care Growth
- SQL:
with New as ( select * from OrgAdmiCDaysYthAcSum ), Old as ( select * from hist.OrgAdmiCDaysYthAcSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.88. OrgAdmiCDaysYthAcSum
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Youth Population - Acute Care
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '5' and ProgType = '1' group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.89. OrgAdmiCDaysYthNAcChange
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Youth Population - Non-acute Care Change
- SQL:
with New as ( select * from OrgAdmiCDaysYthNAcSum ), Old as ( select * from hist.OrgAdmiCDaysYthNAcSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.90. OrgAdmiCDaysYthNAcGrowth
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Youth Population - Non-acute Care Growth
- SQL:
with New as ( select * from OrgAdmiCDaysYthNAcSum ), Old as ( select * from hist.OrgAdmiCDaysYthNAcSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.91. OrgAdmiCDaysYthNAcSum
- Base:
ORG
- Title:
Total Admitted Accrued Mental Health Care Days for Youth Population - Non-acute Care
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '5' and ProgType = '2' group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.92. OrgAdmiCount
- Base:
ORG
- Title:
ADMI Count at ORG Level
- SQL:
select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from ADMI group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId)
1.8.93. OrgAdmiDCareFteChange
- Base:
ORG
- Title:
Total Direct Care FTE for Admitted Patient Service Units Change
- SQL:
with New as ( select * from OrgAdmiDCareFteSum ), Old as ( select * from hist.OrgAdmiDCareFteSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
- Rules:
1.8.94. OrgAdmiDCareFteGrowth
- Base:
ORG
- Title:
Total Direct Care FTE for Admitted Patient Service Units Growth
- SQL:
with New as ( select * from OrgAdmiDCareFteSum ), Old as ( select * from hist.OrgAdmiDCareFteSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
- Rules:
1.8.95. OrgAdmiDCareFteSum
- Base:
ORG
- Title:
Total Direct Care FTE for Admitted Patient Service Units
- SQL:
select State, RegId, OrgId, coalesce(sum(Fte.Total), 0) as Total from ORG left join ( select * from FteorgDCareTotal where Setting = '1' ) as Fte using (State, RegId, OrgId) group by State, RegId, OrgId
1.8.96. OrgAdmiDeprecTotal
- Base:
ORG
- Title:
Admitted Patient Service Unit Total Depreciation
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(Deprec, 0)) as Total from ADMI group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.97. OrgAdmiExpChange
- Base:
ORG
- Title:
Admitted Patient Service Unit Total Expenditure Change
- SQL:
with New as ( select * from OrgAdmiExpTotal ), Old as ( select * from hist.OrgAdmiExpTotal ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
- Rules:
1.8.98. OrgAdmiExpGrowth
- Base:
ORG
- Title:
Admitted Patient Service Unit Total Expenditure Growth
- SQL:
with New as ( select * from OrgAdmiExpTotal ), Old as ( select * from hist.OrgAdmiExpTotal ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
- Rules:
1.8.99. OrgAdmiExpNonSalTotal
- Base:
ORG
- Title:
Admitted Patient Service Unit Total Non-salary Expenditure
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(ExpNonSalTot, 0)) as Total from ADMI group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.100. OrgAdmiExpSalTotal
- Base:
ORG
- Title:
Admitted Patient Service Unit Total Salary and Wages Expenditure
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(ExpSalTot, 0)) as Total from ADMI group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.101. OrgAdmiExpTotal
- Base:
ORG
- Title:
Admitted Patient Service Unit Total Expenditure
- SQL:
select State, RegId, OrgId, Sal.Total + NonSal.Total as Total from OrgAdmiExpSalTotal as Sal join OrgAdmiExpNonSalTotal as NonSal using (State, RegId, OrgId)
1.8.102. OrgAdmiFteChange
- Base:
ORG
- Title:
Total FTE for Admitted Patient Service Unit at Organisation Level Change
- SQL:
with New as ( select * from OrgAdmiFteSum ), Old as ( select * from hist.OrgAdmiFteSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.103. OrgAdmiFteGrowth
- Base:
ORG
- Title:
Total FTE for Admitted Patient Service Unit at Organisation Level Growth
- SQL:
with New as ( select * from OrgAdmiFteSum ), Old as ( select * from hist.OrgAdmiFteSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.104. OrgAdmiFteSum
- Base:
ORG
- Title:
Total FTE for Admitted Patient Service Unit at Organisation Level
- SQL:
select State, RegId, OrgId, coalesce(sum(Fte.Total), 0) as Total from ORG left join ( select * from FteorgFteTotal where Setting = '1' ) as Fte using (State, RegId, OrgId) group by State, RegId, OrgId
1.8.105. OrgAdmiNBedsAcSum
- Base:
ORG
- Title:
Total Admitted Acute Average Available Beds for Overnight-stay Patients
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where ProgType = '1' group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.106. OrgAdmiNBedsCAAcChange
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Child and adolescent Population - Acute Care Change
- SQL:
with New as ( select * from OrgAdmiNBedsCAAcSum ), Old as ( select * from hist.OrgAdmiNBedsCAAcSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.107. OrgAdmiNBedsCAAcGrowth
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Child and adolescent Population - Acute Care Growth
- SQL:
with New as ( select * from OrgAdmiNBedsCAAcSum ), Old as ( select * from hist.OrgAdmiNBedsCAAcSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.108. OrgAdmiNBedsCAAcSum
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Child and adolescent Population - Acute Care
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '1' and ProgType = '1' group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.109. OrgAdmiNBedsCANAcChange
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Child and adolescent Population - Non-acute Care Change
- SQL:
with New as ( select * from OrgAdmiNBedsCANAcSum ), Old as ( select * from hist.OrgAdmiNBedsCANAcSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.110. OrgAdmiNBedsCANAcGrowth
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Child and adolescent Population - Non-acute Care Growth
- SQL:
with New as ( select * from OrgAdmiNBedsCANAcSum ), Old as ( select * from hist.OrgAdmiNBedsCANAcSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.111. OrgAdmiNBedsCANAcSum
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Child and adolescent Population - Non-acute Care
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '1' and ProgType = '2' group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.112. OrgAdmiNBedsChange
- Base:
ORG
- Title:
Total Average Available Beds for Overnight-stay Patients Change
- SQL:
with New as ( select * from OrgAdmiNBedsSum ), Old as ( select * from hist.OrgAdmiNBedsSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
- Rules:
1.8.113. OrgAdmiNBedsForAcChange
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Forensic Population - Acute Care Change
- SQL:
with New as ( select * from OrgAdmiNBedsForAcSum ), Old as ( select * from hist.OrgAdmiNBedsForAcSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.114. OrgAdmiNBedsForAcGrowth
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Forensic Population - Acute Care Growth
- SQL:
with New as ( select * from OrgAdmiNBedsForAcSum ), Old as ( select * from hist.OrgAdmiNBedsForAcSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.115. OrgAdmiNBedsForAcSum
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Forensic Population - Acute Care
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '3' and ProgType = '1' group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.116. OrgAdmiNBedsForNAcChange
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Forensic Population - Non-acute Care Change
- SQL:
with New as ( select * from OrgAdmiNBedsForNAcSum ), Old as ( select * from hist.OrgAdmiNBedsForNAcSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.117. OrgAdmiNBedsForNAcGrowth
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Forensic Population - Non-acute Care Growth
- SQL:
with New as ( select * from OrgAdmiNBedsForNAcSum ), Old as ( select * from hist.OrgAdmiNBedsForNAcSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.118. OrgAdmiNBedsForNAcSum
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Forensic Population - Non-acute Care
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '3' and ProgType = '2' group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.119. OrgAdmiNBedsGenAcChange
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for General Population - Acute Care Change
- SQL:
with New as ( select * from OrgAdmiNBedsGenAcSum ), Old as ( select * from hist.OrgAdmiNBedsGenAcSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.120. OrgAdmiNBedsGenAcGrowth
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for General Population - Acute Care Growth
- SQL:
with New as ( select * from OrgAdmiNBedsGenAcSum ), Old as ( select * from hist.OrgAdmiNBedsGenAcSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.121. OrgAdmiNBedsGenAcSum
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for General Population - Acute Care
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '4' and ProgType = '1' group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.122. OrgAdmiNBedsGenNAcChange
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for General Population - Non-acute Care Change
- SQL:
with New as ( select * from OrgAdmiNBedsGenNAcSum ), Old as ( select * from hist.OrgAdmiNBedsGenNAcSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.123. OrgAdmiNBedsGenNAcGrowth
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for General Population - Non-acute Care Growth
- SQL:
with New as ( select * from OrgAdmiNBedsGenNAcSum ), Old as ( select * from hist.OrgAdmiNBedsGenNAcSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.124. OrgAdmiNBedsGenNAcSum
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for General Population - Non-acute Care
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '4' and ProgType = '2' group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.125. OrgAdmiNBedsGrowth
- Base:
ORG
- Title:
Total Average Available Beds for Overnight-stay Patients Growth
- SQL:
with New as ( select * from OrgAdmiNBedsSum ), Old as ( select * from hist.OrgAdmiNBedsSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
- Rules:
1.8.126. OrgAdmiNBedsNAcSum
- Base:
ORG
- Title:
Total Admitted Non-acute Average Available Beds for Overnight-stay Patients
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where ProgType = '2' group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.127. OrgAdmiNBedsOldAcChange
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Older person Population - Acute Care Change
- SQL:
with New as ( select * from OrgAdmiNBedsOldAcSum ), Old as ( select * from hist.OrgAdmiNBedsOldAcSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.128. OrgAdmiNBedsOldAcGrowth
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Older person Population - Acute Care Growth
- SQL:
with New as ( select * from OrgAdmiNBedsOldAcSum ), Old as ( select * from hist.OrgAdmiNBedsOldAcSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.129. OrgAdmiNBedsOldAcSum
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Older person Population - Acute Care
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '2' and ProgType = '1' group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.130. OrgAdmiNBedsOldNAcChange
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Older person Population - Non-acute Care Change
- SQL:
with New as ( select * from OrgAdmiNBedsOldNAcSum ), Old as ( select * from hist.OrgAdmiNBedsOldNAcSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.131. OrgAdmiNBedsOldNAcGrowth
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Older person Population - Non-acute Care Growth
- SQL:
with New as ( select * from OrgAdmiNBedsOldNAcSum ), Old as ( select * from hist.OrgAdmiNBedsOldNAcSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.132. OrgAdmiNBedsOldNAcSum
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Older person Population - Non-acute Care
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '2' and ProgType = '2' group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.133. OrgAdmiNBedsSum
- Base:
ORG
- Title:
Total Average Available Beds for Overnight-stay Patients
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.134. OrgAdmiNBedsYthAcChange
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Youth Population - Acute Care Change
- SQL:
with New as ( select * from OrgAdmiNBedsYthAcSum ), Old as ( select * from hist.OrgAdmiNBedsYthAcSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.135. OrgAdmiNBedsYthAcGrowth
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Youth Population - Acute Care Growth
- SQL:
with New as ( select * from OrgAdmiNBedsYthAcSum ), Old as ( select * from hist.OrgAdmiNBedsYthAcSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.136. OrgAdmiNBedsYthAcSum
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Youth Population - Acute Care
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '5' and ProgType = '1' group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.137. OrgAdmiNBedsYthNAcChange
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Youth Population - Non-acute Care Change
- SQL:
with New as ( select * from OrgAdmiNBedsYthNAcSum ), Old as ( select * from hist.OrgAdmiNBedsYthNAcSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.138. OrgAdmiNBedsYthNAcGrowth
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Youth Population - Non-acute Care Growth
- SQL:
with New as ( select * from OrgAdmiNBedsYthNAcSum ), Old as ( select * from hist.OrgAdmiNBedsYthNAcSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.139. OrgAdmiNBedsYthNAcSum
- Base:
ORG
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Youth Population - Non-acute Care
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '5' and ProgType = '2' group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.141. OrgAmbuAppExpChange
- Base:
ORG
- Title:
Ambulatory Service Unit Total Apportioned Expenditure Change
- SQL:
with New as ( select * from OrgAmbuAppExpTotal ), Old as ( select * from hist.OrgAmbuAppExpTotal ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.142. OrgAmbuAppExpGrowth
- Base:
ORG
- Title:
Ambulatory Service Unit Total Apportioned Expenditure Growth
- SQL:
with New as ( select * from OrgAmbuAppExpTotal ), Old as ( select * from hist.OrgAmbuAppExpTotal ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.143. OrgAmbuAppExpTotal
- Base:
ORG
- Title:
Ambulatory Service Unit Total Apportioned Expenditure
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(Total, 0)) as Total from AmbuAppExpTotal group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.144. OrgAmbuAppExpTotalFmt
- Base:
ORG
- Title:
Ambulatory Service Unit Total Apportioned Expenditure (rounded)
- SQL:
select State, RegId, OrgId, round(Src.Total) as Total from OrgAmbuAppExpTotal as Src
1.8.145. OrgAmbuAppExpTotalFmtChange
- Base:
ORG
- Title:
Ambulatory Service Unit Total Apportioned Expenditure (rounded) Change
- SQL:
with New as ( select * from OrgAmbuAppExpTotalFmt ), Old as ( select * from hist.OrgAmbuAppExpTotalFmt ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.146. OrgAmbuAppExpTotalFmtGrowth
- Base:
ORG
- Title:
Ambulatory Service Unit Total Apportioned Expenditure (rounded) Growth
- SQL:
with New as ( select * from OrgAmbuAppExpTotalFmt ), Old as ( select * from hist.OrgAmbuAppExpTotalFmt ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.147. OrgAmbuAvgFteCost
- Base:
ORG
- Title:
Average Cost per FTE for Ambulatory Service Unit at Organisation level
- SQL:
select State, RegId, OrgId, sd_div(Exp.Total, Fte.Total, 3) as AvgFteCost from OrgAmbuFteSum as Fte join OrgAmbuExpTotal as Exp using (State, RegId, OrgId) where Fte.Total != 0;
1.8.148. OrgAmbuAvgSal
- Base:
ORG
- Title:
Average Salary for Ambulatory Service Unit at Organisation Level
- SQL:
select State, RegId, OrgId, sd_div_safe(UnitSal.Total, Fte.Total, 1) as AvgSal from OrgAmbuExpSalTotal as UnitSal join OrgAmbuFteSum as Fte using (State, RegId, OrgId)
- Rules:
1.8.149. OrgAmbuCount
- Base:
ORG
- Title:
AMBU Count at ORG Level
- SQL:
select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from AMBU group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId)
1.8.150. OrgAmbuDCareFteChange
- Base:
ORG
- Title:
Total Direct Care FTE for Ambulatory Service Units Change
- SQL:
with New as ( select * from OrgAmbuDCareFteSum ), Old as ( select * from hist.OrgAmbuDCareFteSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
- Rules:
1.8.151. OrgAmbuDCareFteGrowth
- Base:
ORG
- Title:
Total Direct Care FTE for Ambulatory Service Units Growth
- SQL:
with New as ( select * from OrgAmbuDCareFteSum ), Old as ( select * from hist.OrgAmbuDCareFteSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
- Rules:
1.8.152. OrgAmbuDCareFteSum
- Base:
ORG
- Title:
Total Direct Care FTE for Ambulatory Service Units
- SQL:
select State, RegId, OrgId, coalesce(sum(Fte.Total), 0) as Total from ORG left join ( select * from FteorgDCareTotal where Setting = '3' ) as Fte using (State, RegId, OrgId) group by State, RegId, OrgId
1.8.153. OrgAmbuDeprecTotal
- Base:
ORG
- Title:
Ambulatory Service Unit Total Depreciation
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(Deprec, 0)) as Total from AMBU group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.154. OrgAmbuExpChange
- Base:
ORG
- Title:
Ambulatory Service Unit Total Expenditure Change
- SQL:
with New as ( select * from OrgAmbuExpTotal ), Old as ( select * from hist.OrgAmbuExpTotal ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
- Rules:
1.8.155. OrgAmbuExpGrowth
- Base:
ORG
- Title:
Ambulatory Service Unit Total Expenditure Growth
- SQL:
with New as ( select * from OrgAmbuExpTotal ), Old as ( select * from hist.OrgAmbuExpTotal ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
- Rules:
1.8.156. OrgAmbuExpNonSalTotal
- Base:
ORG
- Title:
Ambulatory Service Unit Total Non-salary Expenditure
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(ExpNonSalTot, 0)) as Total from AMBU group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.157. OrgAmbuExpSalTotal
- Base:
ORG
- Title:
Ambulatory Service Unit Total Salary and Wages Expenditure
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(ExpSalTot, 0)) as Total from AMBU group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.158. OrgAmbuExpTotal
- Base:
ORG
- Title:
Ambulatory Service Unit Total Expenditure
- SQL:
select State, RegId, OrgId, Sal.Total + NonSal.Total as Total from OrgAmbuExpSalTotal as Sal join OrgAmbuExpNonSalTotal as NonSal using (State, RegId, OrgId)
1.8.159. OrgAmbuFteChange
- Base:
ORG
- Title:
Total FTE for Ambulatory Service Unit at Organisation Level Change
- SQL:
with New as ( select * from OrgAmbuFteSum ), Old as ( select * from hist.OrgAmbuFteSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.160. OrgAmbuFteGrowth
- Base:
ORG
- Title:
Total FTE for Ambulatory Service Unit at Organisation Level Growth
- SQL:
with New as ( select * from OrgAmbuFteSum ), Old as ( select * from hist.OrgAmbuFteSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.161. OrgAmbuFteSum
- Base:
ORG
- Title:
Total FTE for Ambulatory Service Unit at Organisation Level
- SQL:
select State, RegId, OrgId, coalesce(sum(Fte.Total), 0) as Total from ORG left join ( select * from FteorgFteTotal where Setting = '3' ) as Fte using (State, RegId, OrgId) group by State, RegId, OrgId
1.8.162. OrgAmbuNContChange
- Base:
ORG
- Title:
Ambulatory Service Unit Total Number of Service Contacts Change
- SQL:
with New as ( select * from OrgAmbuNContSum ), Old as ( select * from hist.OrgAmbuNContSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.163. OrgAmbuNContGrowth
- Base:
ORG
- Title:
Ambulatory Service Unit Total Number of Service Contacts Growth
- SQL:
with New as ( select * from OrgAmbuNContSum ), Old as ( select * from hist.OrgAmbuNContSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.164. OrgAmbuNContSum
- Base:
ORG
- Title:
Ambulatory Service Unit Total Number of Service Contacts
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(NCont, 0)) as Total from AMBU group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.165. OrgAppExpNer
- Base:
ORG
- Title:
Apportionable Residual Expenditure
- SQL:
select State, RegId, OrgId, ExpNerProgAdmin + ExpNerSuppServ + ExpNerAcademic + ExpNerSuper + ExpNerWorkComp + ExpNerInsur + ExpNerTransp + ExpNerPropLease + ExpNerOther as Total from ORG
1.8.166. OrgCCWrkrAvgSal
- Base:
ORG
- Title:
Average Carer and Consumer Workers Salary reported at Organisation Level
- SQL:
select State, RegId, OrgId, sd_div_safe(Sal.Total, Fte.Total, 3) as AvgSal from OrgSalCCWrkrSum as Sal join OrgFteCCWrkrSum as Fte using (State, RegId, OrgId)
1.8.167. OrgCLAppExpChange
- Base:
ORG
- Title:
Co-located Hospitals Total Apportioned Expenditure Change
- SQL:
with New as ( select * from OrgCLAppExpTotal ), Old as ( select * from hist.OrgCLAppExpTotal ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.168. OrgCLAppExpGrowth
- Base:
ORG
- Title:
Co-located Hospitals Total Apportioned Expenditure Growth
- SQL:
with New as ( select * from OrgCLAppExpTotal ), Old as ( select * from hist.OrgCLAppExpTotal ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.169. OrgCLAppExpTotal
- Base:
ORG
- Title:
Co-located Hospitals Total Apportioned Expenditure
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(Total, 0)) as Total from AdmiAppExpTotal join HOSP using (State, RegId, OrgId, HospId) where HOSP.CoLocStatus = '1' group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.170. OrgCLAppExpTotalFmt
- Base:
ORG
- Title:
Co-located Hospitals Total Apportioned Expenditure (rounded)
- SQL:
select State, RegId, OrgId, round(Src.Total) as Total from OrgCLAppExpTotal as Src
1.8.171. OrgCLAppExpTotalFmtChange
- Base:
ORG
- Title:
Co-located Hospitals Total Apportioned Expenditure (rounded) Change
- SQL:
with New as ( select * from OrgCLAppExpTotalFmt ), Old as ( select * from hist.OrgCLAppExpTotalFmt ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.172. OrgCLAppExpTotalFmtGrowth
- Base:
ORG
- Title:
Co-located Hospitals Total Apportioned Expenditure (rounded) Growth
- SQL:
with New as ( select * from OrgCLAppExpTotalFmt ), Old as ( select * from hist.OrgCLAppExpTotalFmt ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.173. OrgCLExpChange
- Base:
ORG
- Title:
Co-located Hospitals Total Expenditure Change
- SQL:
with New as ( select * from OrgCLExpTotal ), Old as ( select * from hist.OrgCLExpTotal ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.174. OrgCLExpGrowth
- Base:
ORG
- Title:
Co-located Hospitals Total Expenditure Growth
- SQL:
with New as ( select * from OrgCLExpTotal ), Old as ( select * from hist.OrgCLExpTotal ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.175. OrgCLExpTotal
- Base:
ORG
- Title:
Co-located Hospitals Total Expenditure
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(Total, 0)) as Total from AdmiExpTotal join HOSP using (State, RegId, OrgId, HospId) where HOSP.CoLocStatus = '1' group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.176. OrgCLExpTotalFmt
- Base:
ORG
- Title:
Co-located Hospitals Total Expenditure (rounded)
- SQL:
select State, RegId, OrgId, round(Src.Total) as Total from OrgCLExpTotal as Src
1.8.177. OrgCarerWrkrAvgSal
- Base:
ORG
- Title:
Average Carer Workers Salary reported at Organisation Level
- SQL:
select State, RegId, OrgId, sd_div_safe(Sal.Total, Fte.Total, 3) as AvgSal from OrgSalCarerWrkrSum as Sal join OrgFteCarerWrkrSum as Fte using (State, RegId, OrgId)
- Rules:
1.8.178. OrgClusCount
- Base:
ORG
- Title:
CLUS Count at ORG Level
- SQL:
select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from CLUS group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId)
- Rules:
1.8.179. OrgCnsltPsychAvgSal
- Base:
ORG
- Title:
Average Consultant Psychiatrists and Psychiatrists salary reported at organisation level
- SQL:
select State, RegId, OrgId, sd_div_safe(Sal.Total, Fte.Total, 3) as AvgSal from CnsltPsychSum as Sal join OrgFteCnsltPsychSum as Fte using(State, RegId, OrgId)
- Rules:
1.8.180. OrgConsrWrkrAvgSal
- Base:
ORG
- Title:
Average Consumer Workers Salary reported at Organisation Level
- SQL:
select State, RegId, OrgId, sd_div_safe(Sal.Total, Fte.Total, 3) as AvgSal from OrgSalConsrWrkrSum as Sal join OrgFteConsrWrkrSum as Fte using (State, RegId, OrgId)
- Rules:
1.8.181. OrgDCareFteChange
- Base:
ORG
- Title:
Total Organisation Direct Care FTE Change
- SQL:
with New as ( select * from OrgDCareFteSum ), Old as ( select * from hist.OrgDCareFteSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.182. OrgDCareFteGrowth
- Base:
ORG
- Title:
Total Organisation Direct Care FTE Growth
- SQL:
with New as ( select * from OrgDCareFteSum ), Old as ( select * from hist.OrgDCareFteSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.183. OrgDCareFteSum
- Base:
ORG
- Title:
Total Organisation Direct Care FTE
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(Total, 0)) as Total from FteorgDCareTotal group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.184. OrgDHPAvgSal
- Base:
ORG
- Title:
Average Diagnostic and Health Professionals Salary reported at Organisation Level
- SQL:
select State, RegId, OrgId, sd_div_safe(Sal.Total, Fte.Total, 3) as AvgSal from OrgSalDHPSum as Sal join OrgFteDHPSum as Fte using (State, RegId, OrgId)
- Rules:
1.8.185. OrgDomestAvgSal
- Base:
ORG
- Title:
Average Domestic Salary reported at Organisation Level
- SQL:
select State, RegId, OrgId, sd_div_safe(Sal.Total, Fte.Total, 3) as AvgSal from OrgSalDomestSum as Sal join OrgFteDomestSum as Fte using (State, RegId, OrgId)
- Rules:
1.8.186. OrgExpNerAcademicChange
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Academic Positions Change
- SQL:
select State, RegId, OrgId, New.ExpNerAcademic - Old.ExpNerAcademic as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.187. OrgExpNerAcademicGrowth
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Academic Positions Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.ExpNerAcademic - Old.ExpNerAcademic, Old.ExpNerAcademic, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.188. OrgExpNerChange
- Base:
ORG
- Title:
Total Residual Expenditure at Organisation Level Change
- SQL:
with New as ( select * from OrgExpNerTotal ), Old as ( select * from hist.OrgExpNerTotal ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
- Rules:
1.8.189. OrgExpNerGrowth
- Base:
ORG
- Title:
Total Residual Expenditure at Organisation Level Growth
- SQL:
with New as ( select * from OrgExpNerTotal ), Old as ( select * from hist.OrgExpNerTotal ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
- Rules:
1.8.190. OrgExpNerInsurChange
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Insurance Change
- SQL:
select State, RegId, OrgId, New.ExpNerInsur - Old.ExpNerInsur as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.191. OrgExpNerInsurGrowth
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Insurance Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.ExpNerInsur - Old.ExpNerInsur, Old.ExpNerInsur, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.192. OrgExpNerMHActChange
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Mental Health Act Regulation or related legislation Change
- SQL:
select State, RegId, OrgId, New.ExpNerMHAct - Old.ExpNerMHAct as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.193. OrgExpNerMHActGrowth
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Mental Health Act Regulation or related legislation Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.ExpNerMHAct - Old.ExpNerMHAct, Old.ExpNerMHAct, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.194. OrgExpNerOtherChange
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Other Indirect Expenditure Change
- SQL:
select State, RegId, OrgId, New.ExpNerOther - Old.ExpNerOther as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.195. OrgExpNerOtherGrowth
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Other Indirect Expenditure Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.ExpNerOther - Old.ExpNerOther, Old.ExpNerOther, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.196. OrgExpNerProgAdminChange
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Program Administration Change
- SQL:
select State, RegId, OrgId, New.ExpNerProgAdmin - Old.ExpNerProgAdmin as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.197. OrgExpNerProgAdminGrowth
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Program Administration Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.ExpNerProgAdmin - Old.ExpNerProgAdmin, Old.ExpNerProgAdmin, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.198. OrgExpNerPromoChange
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Mental Health Promotion Change
- SQL:
select State, RegId, OrgId, New.ExpNerPromo - Old.ExpNerPromo as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.199. OrgExpNerPromoGrowth
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Mental Health Promotion Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.ExpNerPromo - Old.ExpNerPromo, Old.ExpNerPromo, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.200. OrgExpNerPropLeaseChange
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Property Leasing Costs Change
- SQL:
select State, RegId, OrgId, New.ExpNerPropLease - Old.ExpNerPropLease as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.201. OrgExpNerPropLeaseGrowth
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Property Leasing Costs Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.ExpNerPropLease - Old.ExpNerPropLease, Old.ExpNerPropLease, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.202. OrgExpNerResearchChange
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Mental Health Research Change
- SQL:
select State, RegId, OrgId, New.ExpNerResearch - Old.ExpNerResearch as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.203. OrgExpNerResearchGrowth
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Mental Health Research Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.ExpNerResearch - Old.ExpNerResearch, Old.ExpNerResearch, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.204. OrgExpNerServDevChange
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Service Development Change
- SQL:
select State, RegId, OrgId, New.ExpNerServDev - Old.ExpNerServDev as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.205. OrgExpNerServDevGrowth
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Service Development Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.ExpNerServDev - Old.ExpNerServDev, Old.ExpNerServDev, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.206. OrgExpNerSuperChange
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Superannuation Change
- SQL:
select State, RegId, OrgId, New.ExpNerSuper - Old.ExpNerSuper as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.207. OrgExpNerSuperGrowth
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Superannuation Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.ExpNerSuper - Old.ExpNerSuper, Old.ExpNerSuper, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.208. OrgExpNerSuppServChange
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Support Services Change
- SQL:
select State, RegId, OrgId, New.ExpNerSuppServ - Old.ExpNerSuppServ as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.209. OrgExpNerSuppServGrowth
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Support Services Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.ExpNerSuppServ - Old.ExpNerSuppServ, Old.ExpNerSuppServ, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.210. OrgExpNerTotal
- Base:
ORG
- Title:
Total Residual Expenditure at Organisation Level
- SQL:
select State, RegId, OrgId, ExpNerAcademic + ExpNerTraining + ExpNerInsur + ExpNerMHAct + ExpNerPromo + ExpNerResearch + ExpNerTransp + ExpNerProgAdmin + ExpNerPropLease + ExpNerServDev + ExpNerSuper + ExpNerSuppServ + ExpNerWorkComp + ExpNerOther as Total from ORG
- Rules:
1.8.211. OrgExpNerTrainingChange
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Education and Training Change
- SQL:
select State, RegId, OrgId, New.ExpNerTraining - Old.ExpNerTraining as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.212. OrgExpNerTrainingGrowth
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Education and Training Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.ExpNerTraining - Old.ExpNerTraining, Old.ExpNerTraining, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.213. OrgExpNerTranspChange
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Patient Transport Services Change
- SQL:
select State, RegId, OrgId, New.ExpNerTransp - Old.ExpNerTransp as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.214. OrgExpNerTranspGrowth
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Patient Transport Services Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.ExpNerTransp - Old.ExpNerTransp, Old.ExpNerTransp, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.215. OrgExpNerWorkCompChange
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Workers Compensation Change
- SQL:
select State, RegId, OrgId, New.ExpNerWorkComp - Old.ExpNerWorkComp as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.216. OrgExpNerWorkCompGrowth
- Base:
ORG
- Title:
Expenditure Not Elsewhere Reported - Workers Compensation Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.ExpNerWorkComp - Old.ExpNerWorkComp, Old.ExpNerWorkComp, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
1.8.217. OrgExpNonSalTotal
- Base:
ORG
- Title:
Total Non-salary Expenditure at Organisation Level
- SQL:
select State, RegId, OrgId, ExpNonSalAdmin + ExpNonSalDomest + ExpNonSalDrug + ExpNonSalFood + ExpNonSalInterest + ExpNonSalMedSuppl + ExpNonSalTransp + ExpNonSalVMO + ExpNonSalRepairs + ExpNonSalSuper + ExpNonSalOther as Total from ORG
- Rules:
1.8.218. OrgExpRealMedSum
- Base:
ORG
- Title:
Total Medical and VMOs Expenditure reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.ExpSalCnsltPsych + ORG.ExpSalPsyReg + ORG.ExpSalMedOther + ORG.ExpNonSalVMO) as Total from ORG group by State, RegId, OrgId
1.8.219. OrgExpSNSTotal
- Base:
ORG
- Title:
Total Salary and Non-Salary Expenditure at Organisation Level
- SQL:
select State, RegId, OrgId, Sal.Total + NonSal.Total as Total from OrgExpSalTotal as Sal join OrgExpNonSalTotal as NonSal using (State, RegId, OrgId)
- Rules:
1.8.220. OrgExpSalTotal
- Base:
ORG
- Title:
Total Salary and Wages Expenditure at Organisation Level
- SQL:
select State, RegId, OrgId, ExpSalCnsltPsych + ExpSalPsyReg + ExpSalMedOther + ExpSalNursesReg + ExpSalNursesEnrl + ExpSalOT + ExpSalSocialWk + ExpSalPsychol + ExpSalDHPOther + ExpSalAdmin + ExpSalDomest + ExpSalCarerWrkr + ExpSalConsrWrkr + ExpSalPCare + ExpSalATSIMHWrkr as Total from ORG
- Rules:
1.8.221. OrgFteATSIMHWrkrChange
- Base:
ORG
- Title:
Full-Time Equivalent Staff – Aboriginal and Torres Strait Islander mental health workers Change
- SQL:
select State, RegId, OrgId, New.FteATSIMHWrkr - Old.FteATSIMHWrkr as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.222. OrgFteATSIMHWrkrGrowth
- Base:
ORG
- Title:
Full-Time Equivalent Staff – Aboriginal and Torres Strait Islander mental health workers Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.FteATSIMHWrkr - Old.FteATSIMHWrkr, Old.FteATSIMHWrkr, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.223. OrgFteATSIMHWrkrSum
- Base:
ORG
- Title:
Total Aboriginal and Torres Strait Islander Mental Health Workers FTE reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.FteATSIMHWrkr) as Total from ORG group by State, RegId, OrgId
- Rules:
1.8.224. OrgFteAdminChange
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Administrative and Clerical Staff Change
- SQL:
select State, RegId, OrgId, New.FteAdmin - Old.FteAdmin as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.225. OrgFteAdminGrowth
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Administrative and Clerical Staff Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.FteAdmin - Old.FteAdmin, Old.FteAdmin, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.226. OrgFteAdminSum
- Base:
ORG
- Title:
Total Administrative and Clerical FTE reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.FteAdmin) as Total from ORG group by State, RegId, OrgId
- Rules:
1.8.227. OrgFteAllChange
- Base:
ORG
- Title:
Total All Staff FTE reported at Organisation Level Change
- SQL:
with New as ( select * from OrgFteAllSum ), Old as ( select * from hist.OrgFteAllSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.228. OrgFteAllGrowth
- Base:
ORG
- Title:
Total All Staff FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from OrgFteAllSum ), Old as ( select * from hist.OrgFteAllSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.229. OrgFteAllSum
- Base:
ORG
- Title:
Total All Staff FTE reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.FteCnsltPsych + ORG.FtePsyReg + ORG.FteMedOther + ORG.FteNursesReg + ORG.FteNursesEnrl + ORG.FteOT + ORG.FteSocialWk + ORG.FtePsychol + ORG.FteDHPOther + ORG.FtePCare + ORG.FteAdmin + ORG.FteDomest + ORG.FteCarerWrkr + ORG.FteConsrWrkr + ORG.FteATSIMHWrkr) as Total from ORG group by State, RegId, OrgId
1.8.230. OrgFteCCWrkrSum
- Base:
ORG
- Title:
Total Carer and Consumer Workers FTE reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.FteCarerWrkr + ORG.FteConsrWrkr) as Total from ORG group by State, RegId, OrgId
- Rules:
1.8.231. OrgFteCarerWrkrChange
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Mental Health Carer Workers Change
- SQL:
select State, RegId, OrgId, New.FteCarerWrkr - Old.FteCarerWrkr as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.232. OrgFteCarerWrkrGrowth
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Mental Health Carer Workers Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.FteCarerWrkr - Old.FteCarerWrkr, Old.FteCarerWrkr, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.233. OrgFteCarerWrkrSum
- Base:
ORG
- Title:
Total Carer Workers FTE reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.FteCarerWrkr) as Total from ORG group by State, RegId, OrgId
1.8.234. OrgFteChange
- Base:
ORG
- Title:
Total FTE reported at Setting level Change
- SQL:
with New as ( select * from OrgFteSum ), Old as ( select * from hist.OrgFteSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.235. OrgFteCnsltPsychChange
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Psychiatrists Change
- SQL:
select State, RegId, OrgId, New.FteCnsltPsych - Old.FteCnsltPsych as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.236. OrgFteCnsltPsychGrowth
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Psychiatrists Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.FteCnsltPsych - Old.FteCnsltPsych, Old.FteCnsltPsych, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.237. OrgFteCnsltPsychSum
- Base:
ORG
- Title:
Total Consultant Psychiatrists and Psychiatrists salary reported at organisation level
- SQL:
select State, RegId, OrgId, sum(FteCnsltPsych) as Total from ORG group by State, RegId, OrgId
1.8.238. OrgFteConsrWrkrChange
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Mental Health Consumer Workers Change
- SQL:
select State, RegId, OrgId, New.FteConsrWrkr - Old.FteConsrWrkr as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.239. OrgFteConsrWrkrGrowth
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Mental Health Consumer Workers Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.FteConsrWrkr - Old.FteConsrWrkr, Old.FteConsrWrkr, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.240. OrgFteConsrWrkrSum
- Base:
ORG
- Title:
Total Consumer Workers FTE reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.FteConsrWrkr) as Total from ORG group by State, RegId, OrgId
1.8.241. OrgFteDCareChange
- Base:
ORG
- Title:
Total Direct Care FTE reported at Organisation Level Change
- SQL:
with New as ( select * from OrgFteDCareSum ), Old as ( select * from hist.OrgFteDCareSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.242. OrgFteDCareGrowth
- Base:
ORG
- Title:
Total Direct Care FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from OrgFteDCareSum ), Old as ( select * from hist.OrgFteDCareSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.243. OrgFteDCareSum
- Base:
ORG
- Title:
Total Direct Care FTE reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.FteCnsltPsych + ORG.FtePsyReg + ORG.FteMedOther + ORG.FteNursesReg + ORG.FteNursesEnrl + ORG.FteOT + ORG.FteSocialWk + ORG.FtePsychol + ORG.FteDHPOther + ORG.FtePCare) as Total from ORG group by State, RegId, OrgId
- Rules:
1.8.244. OrgFteDHPChange
- Base:
ORG
- Title:
Total Diagnostic and Health Professionals FTE reported at Organisation Level Change
- SQL:
with New as ( select * from OrgFteDHPSum ), Old as ( select * from hist.OrgFteDHPSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.245. OrgFteDHPGrowth
- Base:
ORG
- Title:
Total Diagnostic and Health Professionals FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from OrgFteDHPSum ), Old as ( select * from hist.OrgFteDHPSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.246. OrgFteDHPOtherChange
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Other Diagnostic and Health Professionals Change
- SQL:
select State, RegId, OrgId, New.FteDHPOther - Old.FteDHPOther as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.247. OrgFteDHPOtherGrowth
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Other Diagnostic and Health Professionals Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.FteDHPOther - Old.FteDHPOther, Old.FteDHPOther, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.248. OrgFteDHPSum
- Base:
ORG
- Title:
Total Diagnostic and Health Professionals FTE reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.FteOT + ORG.FteSocialWk + ORG.FtePsychol + ORG.FteDHPOther) as Total from ORG group by State, RegId, OrgId
- Rules:
1.8.249. OrgFteDomestChange
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Domestic and Other Staff Change
- SQL:
select State, RegId, OrgId, New.FteDomest - Old.FteDomest as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.250. OrgFteDomestGrowth
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Domestic and Other Staff Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.FteDomest - Old.FteDomest, Old.FteDomest, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.251. OrgFteDomestSum
- Base:
ORG
- Title:
Total Domestic FTE reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.FteDomest) as Total from ORG group by State, RegId, OrgId
- Rules:
1.8.252. OrgFteGrowth
- Base:
ORG
- Title:
Total FTE reported at Setting level Growth
- SQL:
with New as ( select * from OrgFteSum ), Old as ( select * from hist.OrgFteSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.253. OrgFteMedChange
- Base:
ORG
- Title:
Total Medical FTE reported at Organisation Level Change
- SQL:
with New as ( select * from OrgFteMedSum ), Old as ( select * from hist.OrgFteMedSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.254. OrgFteMedGrowth
- Base:
ORG
- Title:
Total Medical FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from OrgFteMedSum ), Old as ( select * from hist.OrgFteMedSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.255. OrgFteMedOtherChange
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Other Medical Officers Change
- SQL:
select State, RegId, OrgId, New.FteMedOther - Old.FteMedOther as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.256. OrgFteMedOtherGrowth
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Other Medical Officers Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.FteMedOther - Old.FteMedOther, Old.FteMedOther, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.257. OrgFteMedSum
- Base:
ORG
- Title:
Total Medical FTE reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.FteCnsltPsych + ORG.FtePsyReg + ORG.FteMedOther) as Total from ORG group by State, RegId, OrgId
- Rules:
1.8.258. OrgFteNonCareChange
- Base:
ORG
- Title:
Total Non-Direct Care FTE reported at Organisation Level Change
- SQL:
with New as ( select * from OrgFteNonCareSum ), Old as ( select * from hist.OrgFteNonCareSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.259. OrgFteNonCareGrowth
- Base:
ORG
- Title:
Total Non-Direct Care FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from OrgFteNonCareSum ), Old as ( select * from hist.OrgFteNonCareSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.260. OrgFteNonCareSum
- Base:
ORG
- Title:
Total Non-Direct Care FTE reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.FteAdmin + ORG.FteDomest + ORG.FteCarerWrkr + ORG.FteConsrWrkr + ORG.FteATSIMHWrkr) as Total from ORG group by State, RegId, OrgId
1.8.261. OrgFteNursesChange
- Base:
ORG
- Title:
Total Nursing FTE reported at Organisation Level Change
- SQL:
with New as ( select * from OrgFteNursesSum ), Old as ( select * from hist.OrgFteNursesSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.262. OrgFteNursesEnrlChange
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Enrolled Nurses Change
- SQL:
select State, RegId, OrgId, New.FteNursesEnrl - Old.FteNursesEnrl as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.263. OrgFteNursesEnrlGrowth
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Enrolled Nurses Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.FteNursesEnrl - Old.FteNursesEnrl, Old.FteNursesEnrl, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.264. OrgFteNursesGrowth
- Base:
ORG
- Title:
Total Nursing FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from OrgFteNursesSum ), Old as ( select * from hist.OrgFteNursesSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.265. OrgFteNursesRegChange
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Registered Nurses Change
- SQL:
select State, RegId, OrgId, New.FteNursesReg - Old.FteNursesReg as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.266. OrgFteNursesRegGrowth
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Registered Nurses Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.FteNursesReg - Old.FteNursesReg, Old.FteNursesReg, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.267. OrgFteNursesSum
- Base:
ORG
- Title:
Total Nursing FTE reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.FteNursesReg + ORG.FteNursesEnrl) as Total from ORG group by State, RegId, OrgId
- Rules:
1.8.268. OrgFteOTChange
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Occupational Therapists Change
- SQL:
select State, RegId, OrgId, New.FteOT - Old.FteOT as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.269. OrgFteOTGrowth
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Occupational Therapists Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.FteOT - Old.FteOT, Old.FteOT, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.270. OrgFteOTSum
- Base:
ORG
- Title:
Total Occupational Therapists salary reported at organisation level
- SQL:
select State, RegId, OrgId, sum(FteOT) as Total from ORG group by State, RegId, OrgId
1.8.271. OrgFtePCareChange
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Other Personal Care Staff Change
- SQL:
select State, RegId, OrgId, New.FtePCare - Old.FtePCare as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.272. OrgFtePCareGrowth
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Other Personal Care Staff Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.FtePCare - Old.FtePCare, Old.FtePCare, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.273. OrgFtePCareSum
- Base:
ORG
- Title:
Total Other Personal Care FTE reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.FtePCare) as Total from ORG group by State, RegId, OrgId
- Rules:
1.8.274. OrgFtePsyRegChange
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Psychiatry Registrars and Trainees Change
- SQL:
select State, RegId, OrgId, New.FtePsyReg - Old.FtePsyReg as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.275. OrgFtePsyRegGrowth
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Psychiatry Registrars and Trainees Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.FtePsyReg - Old.FtePsyReg, Old.FtePsyReg, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.276. OrgFtePsyRegSum
- Base:
ORG
- Title:
Total Psychiatry Registrars and Trainees salary reported at organisation level
- SQL:
select State, RegId, OrgId, sum(FtePsyReg) as Total from ORG group by State, RegId, OrgId
1.8.277. OrgFtePsycholChange
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Psychologists Change
- SQL:
select State, RegId, OrgId, New.FtePsychol - Old.FtePsychol as Change from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.278. OrgFtePsycholGrowth
- Base:
ORG
- Title:
Full-Time Equivalent Staff - Psychologists Growth
- SQL:
select State, RegId, OrgId, sd_div_safe(New.FtePsychol - Old.FtePsychol, Old.FtePsychol, 3) as Growth from ORG as New join hist.ORG as Old using (State, RegId, OrgId)
- Rules:
1.8.279. OrgFtePsycholSum
- Base:
ORG
- Title:
Total Psychologists salary reported at organisation level
- SQL:
select State, RegId, OrgId, sum(FtePsychol) as Total from ORG group by State, RegId, OrgId
1.8.280. OrgFteSet1Count
- Base:
ORG
- Title:
FTEORG Count for Setting 1
- SQL:
select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from FTEORG where Setting = '1' group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.281. OrgFteSet2Count
- Base:
ORG
- Title:
FTEORG Count for Setting 2
- SQL:
select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from FTEORG where Setting = '2' group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.282. OrgFteSet3Count
- Base:
ORG
- Title:
FTEORG Count for Setting 3
- SQL:
select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from FTEORG where Setting = '3' group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.286. OrgFteSum
- Base:
ORG
- Title:
Total FTE reported at Setting level
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(FteAdmin, 0)) + sum(coalesce(FteATSIMHWrkr, 0)) + sum(coalesce(FteCCWrkr, 0)) + sum(coalesce(FteDHP, 0)) + sum(coalesce(FteDomest, 0)) + sum(coalesce(FteMed, 0)) + sum(coalesce(FteNurses, 0)) + sum(coalesce(FtePCare, 0)) as Total from FTEORG group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.287. OrgFteTotal
- Base:
ORG
- Title:
Total FTE at Organisation Level
- SQL:
select State, RegId, OrgId, FteCnsltPsych + FtePsyReg + FteMedOther + FteNursesReg + FteNursesEnrl + FteOT + FteSocialWk + FtePsychol + FteDHPOther + FteAdmin + FteDomest + FteCarerWrkr + FteConsrWrkr + FtePCare + FteATSIMHWrkr as Total from ORG
1.8.288. OrgFteorgCount
- Base:
ORG
- Title:
FTEORG Count at ORG Level
- SQL:
select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from FTEORG group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId)
- Rules:
1.8.289. OrgHospCount
- Base:
ORG
- Title:
HOSP Count at ORG Level
- SQL:
select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from HOSP group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId)
- Rules:
1.8.290. OrgMedAvgSal
- Base:
ORG
- Title:
Average Medical Salary reported at Organisation Level
- SQL:
select State, RegId, OrgId, sd_div_safe(Sal.Total, Fte.Total, 3) as AvgSal from OrgSalMedSum as Sal join OrgFteMedSum as Fte using (State, RegId, OrgId)
1.8.291. OrgNonAppExpNer
- Base:
ORG
- Title:
Non-apportionable Residual Expenditure
- SQL:
select State, RegId, OrgId, ExpNerTraining + ExpNerPromo + ExpNerResearch + ExpNerMHAct + ExpNerServDev as Total from ORG
1.8.292. OrgNonAppExpNerChange
- Base:
ORG
- Title:
Non-apportionable Residual Expenditure Change
- SQL:
with New as ( select * from OrgNonAppExpNer ), Old as ( select * from hist.OrgNonAppExpNer ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.293. OrgNonAppExpNerGrowth
- Base:
ORG
- Title:
Non-apportionable Residual Expenditure Growth
- SQL:
with New as ( select * from OrgNonAppExpNer ), Old as ( select * from hist.OrgNonAppExpNer ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.294. OrgNursesAvgSal
- Base:
ORG
- Title:
Average Nursing Salary reported at Organisation Level
- SQL:
select State, RegId, OrgId, sd_div_safe(Sal.Total, Fte.Total, 3) as AvgSal from OrgSalNursesSum as Sal join OrgFteNursesSum as Fte using (State, RegId, OrgId)
- Rules:
1.8.295. OrgOTAvgSal
- Base:
ORG
- Title:
Average Occupational Therapists salary reported at organisation level
- SQL:
select State, RegId, OrgId, sd_div_safe(Sal.Total, Fte.Total, 3) as AvgSal from OTSum as Sal join OrgFteOTSum as Fte using(State, RegId, OrgId)
- Rules:
1.8.296. OrgOohDCareFteSum
- Base:
ORG
- Title:
Total Direct Care FTE for Organisational overheads
- SQL:
select State, RegId, OrgId, coalesce(sum(Fte.Total), 0) as Total from ORG left join ( select * from FteorgDCareTotal where Setting = '4' ) as Fte using (State, RegId, OrgId) group by State, RegId, OrgId
1.8.297. OrgOohFteSum
- Base:
ORG
- Title:
Total FTE for Organisational overhead at Organisation Level
- SQL:
select State, RegId, OrgId, coalesce(sum(Fte.Total), 0) as Total from ORG left join ( select * from FteorgFteTotal where Setting = '4' ) as Fte using (State, RegId, OrgId) group by State, RegId, OrgId
1.8.298. OrgPCareAvgSal
- Base:
ORG
- Title:
Average Other Personal Care Salary reported at Organisation Level
- SQL:
select State, RegId, OrgId, sd_div_safe(Sal.Total, Fte.Total, 3) as AvgSal from OrgSalPCareSum as Sal join OrgFtePCareSum as Fte using (State, RegId, OrgId)
- Rules:
1.8.299. OrgPsyRegAvgSal
- Base:
ORG
- Title:
Average Psychiatry Registrars and Trainees salary reported at organisation level
- SQL:
select State, RegId, OrgId, sd_div_safe(Sal.Total, Fte.Total, 3) as AvgSal from PsyRegSum as Sal join OrgFtePsyRegSum as Fte using(State, RegId, OrgId)
- Rules:
1.8.300. OrgPsycholAvgSal
- Base:
ORG
- Title:
Average Psychologists salary reported at organisation level
- SQL:
select State, RegId, OrgId, sd_div_safe(Sal.Total, Fte.Total, 3) as AvgSal from PsycholSum as Sal join OrgFtePsycholSum as Fte using(State, RegId, OrgId)
- Rules:
1.8.301. OrgRealMedAvgSal
- Base:
ORG
- Title:
Average Medical and VMOs Expenditure reported at Organisation Level
- SQL:
select State, RegId, OrgId, sd_div_safe(Sal.Total, Fte.Total, 3) as AvgSal from OrgExpRealMedSum as Sal join OrgFteMedSum as Fte using (State, RegId, OrgId)
- Rules:
1.8.302. OrgResiAppExpChange
- Base:
ORG
- Title:
Residential Service Unit Total Apportioned Expenditure Change
- SQL:
with New as ( select * from OrgResiAppExpTotal ), Old as ( select * from hist.OrgResiAppExpTotal ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.303. OrgResiAppExpGrowth
- Base:
ORG
- Title:
Residential Service Unit Total Apportioned Expenditure Growth
- SQL:
with New as ( select * from OrgResiAppExpTotal ), Old as ( select * from hist.OrgResiAppExpTotal ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.304. OrgResiAppExpTotal
- Base:
ORG
- Title:
Residential Service Unit Total Apportioned Expenditure
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(Total, 0)) as Total from ResiAppExpTotal group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.305. OrgResiAppExpTotalFmt
- Base:
ORG
- Title:
Residential Service Unit Total Apportioned Expenditure (rounded)
- SQL:
select State, RegId, OrgId, round(Src.Total) as Total from OrgResiAppExpTotal as Src
1.8.306. OrgResiAppExpTotalFmtChange
- Base:
ORG
- Title:
Residential Service Unit Total Apportioned Expenditure (rounded) Change
- SQL:
with New as ( select * from OrgResiAppExpTotalFmt ), Old as ( select * from hist.OrgResiAppExpTotalFmt ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.307. OrgResiAppExpTotalFmtGrowth
- Base:
ORG
- Title:
Residential Service Unit Total Apportioned Expenditure (rounded) Growth
- SQL:
with New as ( select * from OrgResiAppExpTotalFmt ), Old as ( select * from hist.OrgResiAppExpTotalFmt ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.308. OrgResiAvgSal
- Base:
ORG
- Title:
Average Salary for Residential Service Unit at Organisation Level
- SQL:
select State, RegId, OrgId, sd_div_safe(UnitSal.Total, Fte.Total, 1) as AvgSal from OrgResiExpSalTotal as UnitSal join OrgResiFteSum as Fte using (State, RegId, OrgId)
- Rules:
1.8.309. OrgResiCDaysCA24Change
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Child and adolescent Population - 24hr staffed Change
- SQL:
with New as ( select * from OrgResiCDaysCA24Sum ), Old as ( select * from hist.OrgResiCDaysCA24Sum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.310. OrgResiCDaysCA24Growth
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Child and adolescent Population - 24hr staffed Growth
- SQL:
with New as ( select * from OrgResiCDaysCA24Sum ), Old as ( select * from hist.OrgResiCDaysCA24Sum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.311. OrgResiCDaysCA24Sum
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Child and adolescent Population - 24hr staffed
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0)) as Total from RESI where TargetPop = '1' and HrsStaffed = 24 group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.312. OrgResiCDaysCAN24Change
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Child and adolescent Population - non-24hr staffed Change
- SQL:
with New as ( select * from OrgResiCDaysCAN24Sum ), Old as ( select * from hist.OrgResiCDaysCAN24Sum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.313. OrgResiCDaysCAN24Growth
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Child and adolescent Population - non-24hr staffed Growth
- SQL:
with New as ( select * from OrgResiCDaysCAN24Sum ), Old as ( select * from hist.OrgResiCDaysCAN24Sum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.314. OrgResiCDaysCAN24Sum
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Child and adolescent Population - non-24hr staffed
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0)) as Total from RESI where TargetPop = '1' and HrsStaffed < 24 group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.315. OrgResiCDaysChange
- Base:
ORG
- Title:
Total Accrued Mental Health Care Days Change
- SQL:
with New as ( select * from OrgResiCDaysSum ), Old as ( select * from hist.OrgResiCDaysSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
- Rules:
1.8.316. OrgResiCDaysFor24Change
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Forensic Population - 24hr staffed Change
- SQL:
with New as ( select * from OrgResiCDaysFor24Sum ), Old as ( select * from hist.OrgResiCDaysFor24Sum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.317. OrgResiCDaysFor24Growth
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Forensic Population - 24hr staffed Growth
- SQL:
with New as ( select * from OrgResiCDaysFor24Sum ), Old as ( select * from hist.OrgResiCDaysFor24Sum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.318. OrgResiCDaysFor24Sum
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Forensic Population - 24hr staffed
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0)) as Total from RESI where TargetPop = '3' and HrsStaffed = 24 group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.319. OrgResiCDaysForN24Change
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Forensic Population - non-24hr staffed Change
- SQL:
with New as ( select * from OrgResiCDaysForN24Sum ), Old as ( select * from hist.OrgResiCDaysForN24Sum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.320. OrgResiCDaysForN24Growth
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Forensic Population - non-24hr staffed Growth
- SQL:
with New as ( select * from OrgResiCDaysForN24Sum ), Old as ( select * from hist.OrgResiCDaysForN24Sum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.321. OrgResiCDaysForN24Sum
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Forensic Population - non-24hr staffed
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0)) as Total from RESI where TargetPop = '3' and HrsStaffed < 24 group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.322. OrgResiCDaysGen24Change
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for General Population - 24hr staffed Change
- SQL:
with New as ( select * from OrgResiCDaysGen24Sum ), Old as ( select * from hist.OrgResiCDaysGen24Sum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.323. OrgResiCDaysGen24Growth
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for General Population - 24hr staffed Growth
- SQL:
with New as ( select * from OrgResiCDaysGen24Sum ), Old as ( select * from hist.OrgResiCDaysGen24Sum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.324. OrgResiCDaysGen24Sum
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for General Population - 24hr staffed
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0)) as Total from RESI where TargetPop = '4' and HrsStaffed = 24 group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.325. OrgResiCDaysGenN24Change
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for General Population - non-24hr staffed Change
- SQL:
with New as ( select * from OrgResiCDaysGenN24Sum ), Old as ( select * from hist.OrgResiCDaysGenN24Sum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.326. OrgResiCDaysGenN24Growth
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for General Population - non-24hr staffed Growth
- SQL:
with New as ( select * from OrgResiCDaysGenN24Sum ), Old as ( select * from hist.OrgResiCDaysGenN24Sum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.327. OrgResiCDaysGenN24Sum
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for General Population - non-24hr staffed
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0)) as Total from RESI where TargetPop = '4' and HrsStaffed < 24 group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.328. OrgResiCDaysGrowth
- Base:
ORG
- Title:
Total Accrued Mental Health Care Days Growth
- SQL:
with New as ( select * from OrgResiCDaysSum ), Old as ( select * from hist.OrgResiCDaysSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
- Rules:
1.8.329. OrgResiCDaysOld24Change
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Older person Population - 24hr staffed Change
- SQL:
with New as ( select * from OrgResiCDaysOld24Sum ), Old as ( select * from hist.OrgResiCDaysOld24Sum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.330. OrgResiCDaysOld24Growth
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Older person Population - 24hr staffed Growth
- SQL:
with New as ( select * from OrgResiCDaysOld24Sum ), Old as ( select * from hist.OrgResiCDaysOld24Sum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.331. OrgResiCDaysOld24Sum
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Older person Population - 24hr staffed
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0)) as Total from RESI where TargetPop = '2' and HrsStaffed = 24 group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.332. OrgResiCDaysOldN24Change
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Older person Population - non-24hr staffed Change
- SQL:
with New as ( select * from OrgResiCDaysOldN24Sum ), Old as ( select * from hist.OrgResiCDaysOldN24Sum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.333. OrgResiCDaysOldN24Growth
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Older person Population - non-24hr staffed Growth
- SQL:
with New as ( select * from OrgResiCDaysOldN24Sum ), Old as ( select * from hist.OrgResiCDaysOldN24Sum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.334. OrgResiCDaysOldN24Sum
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Older person Population - non-24hr staffed
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0)) as Total from RESI where TargetPop = '2' and HrsStaffed < 24 group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.335. OrgResiCDaysSum
- Base:
ORG
- Title:
Total Accrued Mental Health Care Days
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0)) as Total from RESI group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.336. OrgResiCDaysYth24Change
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Youth Population - 24hr staffed Change
- SQL:
with New as ( select * from OrgResiCDaysYth24Sum ), Old as ( select * from hist.OrgResiCDaysYth24Sum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.337. OrgResiCDaysYth24Growth
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Youth Population - 24hr staffed Growth
- SQL:
with New as ( select * from OrgResiCDaysYth24Sum ), Old as ( select * from hist.OrgResiCDaysYth24Sum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.338. OrgResiCDaysYth24Sum
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Youth Population - 24hr staffed
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0)) as Total from RESI where TargetPop = '5' and HrsStaffed = 24 group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.339. OrgResiCDaysYthN24Change
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Youth Population - non-24hr staffed Change
- SQL:
with New as ( select * from OrgResiCDaysYthN24Sum ), Old as ( select * from hist.OrgResiCDaysYthN24Sum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.340. OrgResiCDaysYthN24Growth
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Youth Population - non-24hr staffed Growth
- SQL:
with New as ( select * from OrgResiCDaysYthN24Sum ), Old as ( select * from hist.OrgResiCDaysYthN24Sum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.341. OrgResiCDaysYthN24Sum
- Base:
ORG
- Title:
Total Residential Accrued Mental Health Care Days for Youth Population - non-24hr staffed
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(MHCareDays, 0)) as Total from RESI where TargetPop = '5' and HrsStaffed < 24 group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.342. OrgResiCount
- Base:
ORG
- Title:
RESI Count at ORG Level
- SQL:
select State, RegId, OrgId, coalesce(Count, 0) as Count from ORG left join ( select State, RegId, OrgId, count(*) as Count from RESI group by State, RegId, OrgId ) as tmpinner using (State, RegId, OrgId)
1.8.343. OrgResiDCareFteChange
- Base:
ORG
- Title:
Total Direct Care FTE for Residential Service Units Change
- SQL:
with New as ( select * from OrgResiDCareFteSum ), Old as ( select * from hist.OrgResiDCareFteSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
- Rules:
1.8.344. OrgResiDCareFteGrowth
- Base:
ORG
- Title:
Total Direct Care FTE for Residential Service Units Growth
- SQL:
with New as ( select * from OrgResiDCareFteSum ), Old as ( select * from hist.OrgResiDCareFteSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
- Rules:
1.8.345. OrgResiDCareFteSum
- Base:
ORG
- Title:
Total Direct Care FTE for Residential Service Units
- SQL:
select State, RegId, OrgId, coalesce(sum(Fte.Total), 0) as Total from ORG left join ( select * from FteorgDCareTotal where Setting = '2' ) as Fte using (State, RegId, OrgId) group by State, RegId, OrgId
1.8.346. OrgResiDeprecTotal
- Base:
ORG
- Title:
Residential Service Unit Total Depreciation
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(Deprec, 0)) as Total from RESI group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.347. OrgResiExpChange
- Base:
ORG
- Title:
Residential Service Unit Total Expenditure Change
- SQL:
with New as ( select * from OrgResiExpTotal ), Old as ( select * from hist.OrgResiExpTotal ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
- Rules:
1.8.348. OrgResiExpGrowth
- Base:
ORG
- Title:
Residential Service Unit Total Expenditure Growth
- SQL:
with New as ( select * from OrgResiExpTotal ), Old as ( select * from hist.OrgResiExpTotal ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
- Rules:
1.8.349. OrgResiExpNonSalTotal
- Base:
ORG
- Title:
Residential Service Unit Total Non-salary Expenditure
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(ExpNonSalTot, 0)) as Total from RESI group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.350. OrgResiExpSalTotal
- Base:
ORG
- Title:
Residential Service Unit Total Salary and Wages Expenditure
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(ExpSalTot, 0)) as Total from RESI group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.351. OrgResiExpTotal
- Base:
ORG
- Title:
Residential Service Unit Total Expenditure
- SQL:
select State, RegId, OrgId, Sal.Total + NonSal.Total as Total from OrgResiExpSalTotal as Sal join OrgResiExpNonSalTotal as NonSal using (State, RegId, OrgId)
1.8.352. OrgResiFteChange
- Base:
ORG
- Title:
Total FTE for Residential Service Unit at Organisation Level Change
- SQL:
with New as ( select * from OrgResiFteSum ), Old as ( select * from hist.OrgResiFteSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.353. OrgResiFteGrowth
- Base:
ORG
- Title:
Total FTE for Residential Service Unit at Organisation Level Growth
- SQL:
with New as ( select * from OrgResiFteSum ), Old as ( select * from hist.OrgResiFteSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.354. OrgResiFteSum
- Base:
ORG
- Title:
Total FTE for Residential Service Unit at Organisation Level
- SQL:
select State, RegId, OrgId, coalesce(sum(Fte.Total), 0) as Total from ORG left join ( select * from FteorgFteTotal where Setting = '2' ) as Fte using (State, RegId, OrgId) group by State, RegId, OrgId
1.8.355. OrgResiNBedsCA24Change
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Child and adolescent Population - 24hr staffed Change
- SQL:
with New as ( select * from OrgResiNBedsCA24Sum ), Old as ( select * from hist.OrgResiNBedsCA24Sum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.356. OrgResiNBedsCA24Growth
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Child and adolescent Population - 24hr staffed Growth
- SQL:
with New as ( select * from OrgResiNBedsCA24Sum ), Old as ( select * from hist.OrgResiNBedsCA24Sum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.357. OrgResiNBedsCA24Sum
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Child and adolescent Population - 24hr staffed
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(ResiNBeds, 0)) as Total from RESI where TargetPop = '1' and HrsStaffed = 24 group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.358. OrgResiNBedsCAN24Change
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Child and adolescent Population - non-24hr staffed Change
- SQL:
with New as ( select * from OrgResiNBedsCAN24Sum ), Old as ( select * from hist.OrgResiNBedsCAN24Sum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.359. OrgResiNBedsCAN24Growth
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Child and adolescent Population - non-24hr staffed Growth
- SQL:
with New as ( select * from OrgResiNBedsCAN24Sum ), Old as ( select * from hist.OrgResiNBedsCAN24Sum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.360. OrgResiNBedsCAN24Sum
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Child and adolescent Population - non-24hr staffed
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(ResiNBeds, 0)) as Total from RESI where TargetPop = '1' and HrsStaffed < 24 group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.361. OrgResiNBedsChange
- Base:
ORG
- Title:
Total Average Available Beds for Residential Mental Health Patients Change
- SQL:
with New as ( select * from OrgResiNBedsSum ), Old as ( select * from hist.OrgResiNBedsSum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
- Rules:
1.8.362. OrgResiNBedsFor24Change
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Forensic Population - 24hr staffed Change
- SQL:
with New as ( select * from OrgResiNBedsFor24Sum ), Old as ( select * from hist.OrgResiNBedsFor24Sum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.363. OrgResiNBedsFor24Growth
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Forensic Population - 24hr staffed Growth
- SQL:
with New as ( select * from OrgResiNBedsFor24Sum ), Old as ( select * from hist.OrgResiNBedsFor24Sum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.364. OrgResiNBedsFor24Sum
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Forensic Population - 24hr staffed
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(ResiNBeds, 0)) as Total from RESI where TargetPop = '3' and HrsStaffed = 24 group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.365. OrgResiNBedsForN24Change
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Forensic Population - non-24hr staffed Change
- SQL:
with New as ( select * from OrgResiNBedsForN24Sum ), Old as ( select * from hist.OrgResiNBedsForN24Sum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.366. OrgResiNBedsForN24Growth
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Forensic Population - non-24hr staffed Growth
- SQL:
with New as ( select * from OrgResiNBedsForN24Sum ), Old as ( select * from hist.OrgResiNBedsForN24Sum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.367. OrgResiNBedsForN24Sum
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Forensic Population - non-24hr staffed
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(ResiNBeds, 0)) as Total from RESI where TargetPop = '3' and HrsStaffed < 24 group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.368. OrgResiNBedsGen24Change
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for General Population - 24hr staffed Change
- SQL:
with New as ( select * from OrgResiNBedsGen24Sum ), Old as ( select * from hist.OrgResiNBedsGen24Sum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.369. OrgResiNBedsGen24Growth
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for General Population - 24hr staffed Growth
- SQL:
with New as ( select * from OrgResiNBedsGen24Sum ), Old as ( select * from hist.OrgResiNBedsGen24Sum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.370. OrgResiNBedsGen24Sum
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for General Population - 24hr staffed
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(ResiNBeds, 0)) as Total from RESI where TargetPop = '4' and HrsStaffed = 24 group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.371. OrgResiNBedsGenN24Change
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for General Population - non-24hr staffed Change
- SQL:
with New as ( select * from OrgResiNBedsGenN24Sum ), Old as ( select * from hist.OrgResiNBedsGenN24Sum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.372. OrgResiNBedsGenN24Growth
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for General Population - non-24hr staffed Growth
- SQL:
with New as ( select * from OrgResiNBedsGenN24Sum ), Old as ( select * from hist.OrgResiNBedsGenN24Sum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.373. OrgResiNBedsGenN24Sum
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for General Population - non-24hr staffed
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(ResiNBeds, 0)) as Total from RESI where TargetPop = '4' and HrsStaffed < 24 group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.374. OrgResiNBedsGrowth
- Base:
ORG
- Title:
Total Average Available Beds for Residential Mental Health Patients Growth
- SQL:
with New as ( select * from OrgResiNBedsSum ), Old as ( select * from hist.OrgResiNBedsSum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
- Rules:
1.8.375. OrgResiNBedsOld24Change
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Older person Population - 24hr staffed Change
- SQL:
with New as ( select * from OrgResiNBedsOld24Sum ), Old as ( select * from hist.OrgResiNBedsOld24Sum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.376. OrgResiNBedsOld24Growth
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Older person Population - 24hr staffed Growth
- SQL:
with New as ( select * from OrgResiNBedsOld24Sum ), Old as ( select * from hist.OrgResiNBedsOld24Sum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.377. OrgResiNBedsOld24Sum
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Older person Population - 24hr staffed
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(ResiNBeds, 0)) as Total from RESI where TargetPop = '2' and HrsStaffed = 24 group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.378. OrgResiNBedsOldN24Change
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Older person Population - non-24hr staffed Change
- SQL:
with New as ( select * from OrgResiNBedsOldN24Sum ), Old as ( select * from hist.OrgResiNBedsOldN24Sum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.379. OrgResiNBedsOldN24Growth
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Older person Population - non-24hr staffed Growth
- SQL:
with New as ( select * from OrgResiNBedsOldN24Sum ), Old as ( select * from hist.OrgResiNBedsOldN24Sum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.380. OrgResiNBedsOldN24Sum
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Older person Population - non-24hr staffed
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(ResiNBeds, 0)) as Total from RESI where TargetPop = '2' and HrsStaffed < 24 group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.381. OrgResiNBedsSum
- Base:
ORG
- Title:
Total Average Available Beds for Residential Mental Health Patients
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(ResiNBeds, 0)) as Total from RESI group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.382. OrgResiNBedsYth24Change
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Youth Population - 24hr staffed Change
- SQL:
with New as ( select * from OrgResiNBedsYth24Sum ), Old as ( select * from hist.OrgResiNBedsYth24Sum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.383. OrgResiNBedsYth24Growth
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Youth Population - 24hr staffed Growth
- SQL:
with New as ( select * from OrgResiNBedsYth24Sum ), Old as ( select * from hist.OrgResiNBedsYth24Sum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.384. OrgResiNBedsYth24Sum
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Youth Population - 24hr staffed
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(ResiNBeds, 0)) as Total from RESI where TargetPop = '5' and HrsStaffed = 24 group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.385. OrgResiNBedsYthN24Change
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Youth Population - non-24hr staffed Change
- SQL:
with New as ( select * from OrgResiNBedsYthN24Sum ), Old as ( select * from hist.OrgResiNBedsYthN24Sum ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.386. OrgResiNBedsYthN24Growth
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Youth Population - non-24hr staffed Growth
- SQL:
with New as ( select * from OrgResiNBedsYthN24Sum ), Old as ( select * from hist.OrgResiNBedsYthN24Sum ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.387. OrgResiNBedsYthN24Sum
- Base:
ORG
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Youth Population - non-24hr staffed
- SQL:
select State, RegId, OrgId, coalesce(Setting.Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(ResiNBeds, 0)) as Total from RESI where TargetPop = '5' and HrsStaffed < 24 group by State, RegId, OrgId ) as Setting using (State, RegId, OrgId)
1.8.388. OrgRevTotal
- Base:
ORG
- Title:
Total Revenue at Organisation Level
- SQL:
select State, RegId, OrgId, RevRecov + RevStateHealth + RevCwlthOther + RevPatients + RevOther + RevStateOther as Total from ORG
- Rules:
1.8.389. OrgSAAppExpChange
- Base:
ORG
- Title:
Stand Alone Hospitals Total Apportioned Expenditure Change
- SQL:
with New as ( select * from OrgSAAppExpTotal ), Old as ( select * from hist.OrgSAAppExpTotal ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.390. OrgSAAppExpGrowth
- Base:
ORG
- Title:
Stand Alone Hospitals Total Apportioned Expenditure Growth
- SQL:
with New as ( select * from OrgSAAppExpTotal ), Old as ( select * from hist.OrgSAAppExpTotal ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.391. OrgSAAppExpTotal
- Base:
ORG
- Title:
Stand Alone Hospitals Total Apportioned Expenditure
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(Total, 0)) as Total from AdmiAppExpTotal join HOSP using (State, RegId, OrgId, HospId) where HOSP.CoLocStatus = '2' group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.392. OrgSAAppExpTotalFmt
- Base:
ORG
- Title:
Stand Alone Hospitals Total Apportioned Expenditure (rounded)
- SQL:
select State, RegId, OrgId, round(Src.Total) as Total from OrgSAAppExpTotal as Src
1.8.393. OrgSAAppExpTotalFmtChange
- Base:
ORG
- Title:
Stand Alone Hospitals Total Apportioned Expenditure (rounded) Change
- SQL:
with New as ( select * from OrgSAAppExpTotalFmt ), Old as ( select * from hist.OrgSAAppExpTotalFmt ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.394. OrgSAAppExpTotalFmtGrowth
- Base:
ORG
- Title:
Stand Alone Hospitals Total Apportioned Expenditure (rounded) Growth
- SQL:
with New as ( select * from OrgSAAppExpTotalFmt ), Old as ( select * from hist.OrgSAAppExpTotalFmt ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.395. OrgSAExpChange
- Base:
ORG
- Title:
Stand Alone Hospitals Total Expenditure Change
- SQL:
with New as ( select * from OrgSAExpTotal ), Old as ( select * from hist.OrgSAExpTotal ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.396. OrgSAExpGrowth
- Base:
ORG
- Title:
Stand Alone Hospitals Total Expenditure Growth
- SQL:
with New as ( select * from OrgSAExpTotal ), Old as ( select * from hist.OrgSAExpTotal ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.397. OrgSAExpTotal
- Base:
ORG
- Title:
Stand Alone Hospitals Total Expenditure
- SQL:
select State, RegId, OrgId, coalesce(Total, 0) as Total from ORG left join ( select State, RegId, OrgId, sum(coalesce(Total, 0)) as Total from AdmiExpTotal join HOSP using (State, RegId, OrgId, HospId) where HOSP.CoLocStatus = '2' group by State, RegId, OrgId ) tmpinner using (State, RegId, OrgId)
1.8.398. OrgSAExpTotalFmt
- Base:
ORG
- Title:
Stand Alone Hospitals Total Expenditure (rounded)
- SQL:
select State, RegId, OrgId, round(Src.Total) as Total from OrgSAExpTotal as Src
1.8.399. OrgSalATSIMHWrkrSum
- Base:
ORG
- Title:
Total Aboriginal and Torres Strait Islander Mental Health Workers Salary reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.ExpSalATSIMHWrkr) as Total from ORG group by State, RegId, OrgId
1.8.400. OrgSalAdminSum
- Base:
ORG
- Title:
Total Administrative and Clerical Salary reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.ExpSalAdmin) as Total from ORG group by State, RegId, OrgId
1.8.401. OrgSalCCWrkrSum
- Base:
ORG
- Title:
Total Carer and Consumer Workers Salary reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.ExpSalCarerWrkr + ORG.ExpSalConsrWrkr) as Total from ORG group by State, RegId, OrgId
1.8.402. OrgSalCarerWrkrSum
- Base:
ORG
- Title:
Total Carer Workers Salary reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.ExpSalCarerWrkr) as Total from ORG group by State, RegId, OrgId
1.8.403. OrgSalConsrWrkrSum
- Base:
ORG
- Title:
Total Consumer Workers Salary reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.ExpSalConsrWrkr) as Total from ORG group by State, RegId, OrgId
1.8.404. OrgSalDHPSum
- Base:
ORG
- Title:
Total Diagnostic and Health Professionals Salary reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.ExpSalOT + ORG.ExpSalSocialWk + ORG.ExpSalPsychol + ORG.ExpSalDHPOther) as Total from ORG group by State, RegId, OrgId
1.8.405. OrgSalDomestSum
- Base:
ORG
- Title:
Total Domestic Salary reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.ExpSalDomest) as Total from ORG group by State, RegId, OrgId
1.8.406. OrgSalMedSum
- Base:
ORG
- Title:
Total Medical Salary reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.ExpSalCnsltPsych + ORG.ExpSalPsyReg + ORG.ExpSalMedOther) as Total from ORG group by State, RegId, OrgId
1.8.407. OrgSalNursesSum
- Base:
ORG
- Title:
Total Nursing Salary reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.ExpSalNursesReg + ORG.ExpSalNursesEnrl) as Total from ORG group by State, RegId, OrgId
1.8.408. OrgSalPCareSum
- Base:
ORG
- Title:
Total Other Personal Care Salary reported at Organisation Level
- SQL:
select State, RegId, OrgId, sum(ORG.ExpSalPCare) as Total from ORG group by State, RegId, OrgId
1.8.410. OrgUnitAppExp
- Base:
ORG
- Title:
Total Apportioned Expenditure at Service Unit Level
- SQL:
select Admi.State as State, Admi.RegId as RegId, Admi.OrgId as OrgId, Admi.Total + Resi.Total + Ambu.Total as Total from OrgAdmiAppExpTotal as Admi join OrgResiAppExpTotal as Resi using (State, RegId, OrgId) join OrgAmbuAppExpTotal as Ambu using (State, RegId, OrgId)
1.8.411. OrgUnitDeprec
- Base:
ORG
- Title:
Total Depreciation at Service Unit Level
- SQL:
select Admi.State as State, Admi.RegId as RegId, Admi.OrgId as OrgId, Admi.Total + Resi.Total + Ambu.Total as Total from OrgAdmiDeprecTotal as Admi join OrgResiDeprecTotal as Resi using (State, RegId, OrgId) join OrgAmbuDeprecTotal as Ambu using (State, RegId, OrgId)
- Rules:
1.8.412. OrgUnitExp
- Base:
ORG
- Title:
Total Expenditure at Service Unit Level
- SQL:
select Admi.State as State, Admi.RegId as RegId, Admi.OrgId as OrgId, Admi.Total + Resi.Total + Ambu.Total as Total from OrgAdmiExpTotal as Admi join OrgResiExpTotal as Resi using (State, RegId, OrgId) join OrgAmbuExpTotal as Ambu using (State, RegId, OrgId)
- Rules:
1.8.413. OrgUnitExpNonSal
- Base:
ORG
- Title:
Total Non-salary Expenditure at Service Unit Level
- SQL:
select Admi.State as State, Admi.RegId as RegId, Admi.OrgId as OrgId, Admi.Total + Resi.Total + Ambu.Total as Total from OrgAdmiExpNonSalTotal as Admi join OrgResiExpNonSalTotal as Resi using (State, RegId, OrgId) join OrgAmbuExpNonSalTotal as Ambu using (State, RegId, OrgId)
- Rules:
1.8.414. OrgUnitExpSal
- Base:
ORG
- Title:
Total Salary and Wages Expenditure at Service Unit Level
- SQL:
select Admi.State as State, Admi.RegId as RegId, Admi.OrgId as OrgId, Admi.Total + Resi.Total + Ambu.Total as Total from OrgAdmiExpSalTotal as Admi join OrgResiExpSalTotal as Resi using (State, RegId, OrgId) join OrgAmbuExpSalTotal as Ambu using (State, RegId, OrgId)
- Rules:
1.8.415. OrgWideAppExp
- Base:
ORG
- Title:
Organisation Wide Apportioned Expenditure
- SQL:
select State, RegId, OrgId, NonAppNer.Total + UnitAppExp.Total as Total from OrgNonAppExpNer as NonAppNer join OrgUnitAppExp as UnitAppExp using (State, RegId, OrgId)
1.8.416. OrgWideAppExpChange
- Base:
ORG
- Title:
Organisation Wide Apportioned Expenditure Change
- SQL:
with New as ( select * from OrgWideAppExp ), Old as ( select * from hist.OrgWideAppExp ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.417. OrgWideAppExpGrowth
- Base:
ORG
- Title:
Organisation Wide Apportioned Expenditure Growth
- SQL:
with New as ( select * from OrgWideAppExp ), Old as ( select * from hist.OrgWideAppExp ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
1.8.418. OrgWideExp
- Base:
ORG
- Title:
Organisation Wide Expenditure
- SQL:
select State, RegId, OrgId, Ner.Total + UnitExp.Total as Total from OrgExpNerTotal as Ner join OrgUnitExp as UnitExp using (State, RegId, OrgId)
- Rules:
1.8.419. OrgWideExpChange
- Base:
ORG
- Title:
Organisation Wide Expenditure Change
- SQL:
with New as ( select * from OrgWideExp ), Old as ( select * from hist.OrgWideExp ) select State, RegId, OrgId, New.Total - Old.Total as Change from New join Old using (State, RegId, OrgId)
1.8.420. OrgWideExpGrowth
- Base:
ORG
- Title:
Organisation Wide Expenditure Growth
- SQL:
with New as ( select * from OrgWideExp ), Old as ( select * from hist.OrgWideExp ) select State, RegId, OrgId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId, OrgId)
- Rules:
1.8.421. PsyRegSum
- Base:
ORG
- Title:
Total Psychiatry Registrars and Trainees salary reported at organisation level
- SQL:
select State, RegId, OrgId, sum(ExpSalPsyReg) as Total from ORG group by State, RegId, OrgId
1.8.422. PsycholSum
- Base:
ORG
- Title:
Total Psychologists salary reported at organisation level
- SQL:
select State, RegId, OrgId, sum(ExpSalPsychol) as Total from ORG group by State, RegId, OrgId
1.8.423. RegAdmiCDaysChange
- Base:
REG
- Title:
Total Accrued Mental Health Care Days Change
- SQL:
with New as ( select * from RegAdmiCDaysSum ), Old as ( select * from hist.RegAdmiCDaysSum ) select State, RegId, New.Total - Old.Total as Change from New join Old using (State, RegId)
1.8.424. RegAdmiCDaysGrowth
- Base:
REG
- Title:
Total Accrued Mental Health Care Days Growth
- SQL:
with New as ( select * from RegAdmiCDaysSum ), Old as ( select * from hist.RegAdmiCDaysSum ) select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId)
1.8.425. RegAdmiCDaysSum
- Base:
REG
- Title:
Total Accrued Mental Health Care Days
- SQL:
select State, RegId, coalesce(Total, 0) as Total from REG left join ( select State, RegId, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI group by State, RegId ) tmpinner using (State, RegId)
1.8.426. RegAdmiNBedsChange
- Base:
REG
- Title:
Total Average Available Beds for Overnight-stay Patients Change
- SQL:
with New as ( select * from RegAdmiNBedsSum ), Old as ( select * from hist.RegAdmiNBedsSum ) select State, RegId, New.Total - Old.Total as Change from New join Old using (State, RegId)
1.8.427. RegAdmiNBedsGrowth
- Base:
REG
- Title:
Total Average Available Beds for Overnight-stay Patients Growth
- SQL:
with New as ( select * from RegAdmiNBedsSum ), Old as ( select * from hist.RegAdmiNBedsSum ) select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId)
1.8.428. RegAdmiNBedsSum
- Base:
REG
- Title:
Total Average Available Beds for Overnight-stay Patients
- SQL:
select State, RegId, coalesce(Total, 0) as Total from REG left join ( select State, RegId, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI group by State, RegId ) tmpinner using (State, RegId)
1.8.429. RegAmbuNContSum
- Base:
REG
- Title:
Ambulatory Service Unit Total Number of Service Contacts
- SQL:
select State, RegId, coalesce(Total, 0) as Total from REG left join ( select State, RegId, sum(coalesce(NCont, 0)) as Total from AMBU group by State, RegId ) tmpinner using (State, RegId)
1.8.430. RegAppExpNer
- Base:
REG
- Title:
Apportionable Residual Expenditure
- SQL:
select State, RegId, ExpNerProgAdmin + ExpNerSuppServ + ExpNerAcademic + ExpNerSuper + ExpNerWorkComp + ExpNerInsur + ExpNerTransp + ExpNerPropLease + ExpNerOther as Total from REG
1.8.431. RegExpChange
- Base:
REG
- Title:
Region Level Total Expenditure Change
- SQL:
with New as ( select * from RegExpTotal ), Old as ( select * from hist.RegExpTotal ) select State, RegId, New.Total - Old.Total as Change from New join Old using (State, RegId)
1.8.432. RegExpGrowth
- Base:
REG
- Title:
Region Level Total Expenditure Growth
- SQL:
with New as ( select * from RegExpTotal ), Old as ( select * from hist.RegExpTotal ) select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId)
1.8.433. RegExpNerAcademicChange
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Academic Positions Change
- SQL:
select State, RegId, New.ExpNerAcademic - Old.ExpNerAcademic as Change from REG as New join hist.REG as Old using (State, RegId)
1.8.434. RegExpNerAcademicGrowth
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Academic Positions Growth
- SQL:
select State, RegId, sd_div_safe(New.ExpNerAcademic - Old.ExpNerAcademic, Old.ExpNerAcademic, 3) as Growth from REG as New join hist.REG as Old using (State, RegId)
1.8.435. RegExpNerChange
- Base:
REG
- Title:
Total Residual Expenditure at Region Level Change
- SQL:
with New as ( select * from RegExpNerTotal ), Old as ( select * from hist.RegExpNerTotal ) select State, RegId, New.Total - Old.Total as Change from New join Old using (State, RegId)
1.8.436. RegExpNerGrowth
- Base:
REG
- Title:
Total Residual Expenditure at Region Level Growth
- SQL:
with New as ( select * from RegExpNerTotal ), Old as ( select * from hist.RegExpNerTotal ) select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId)
1.8.437. RegExpNerInsurChange
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Insurance Change
- SQL:
select State, RegId, New.ExpNerInsur - Old.ExpNerInsur as Change from REG as New join hist.REG as Old using (State, RegId)
1.8.438. RegExpNerInsurGrowth
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Insurance Growth
- SQL:
select State, RegId, sd_div_safe(New.ExpNerInsur - Old.ExpNerInsur, Old.ExpNerInsur, 3) as Growth from REG as New join hist.REG as Old using (State, RegId)
1.8.439. RegExpNerMHActChange
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Mental Health Act Regulation or related legislation Change
- SQL:
select State, RegId, New.ExpNerMHAct - Old.ExpNerMHAct as Change from REG as New join hist.REG as Old using (State, RegId)
1.8.440. RegExpNerMHActGrowth
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Mental Health Act Regulation or related legislation Growth
- SQL:
select State, RegId, sd_div_safe(New.ExpNerMHAct - Old.ExpNerMHAct, Old.ExpNerMHAct, 3) as Growth from REG as New join hist.REG as Old using (State, RegId)
1.8.441. RegExpNerOtherChange
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Other Indirect Expenditure Change
- SQL:
select State, RegId, New.ExpNerOther - Old.ExpNerOther as Change from REG as New join hist.REG as Old using (State, RegId)
1.8.442. RegExpNerOtherGrowth
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Other Indirect Expenditure Growth
- SQL:
select State, RegId, sd_div_safe(New.ExpNerOther - Old.ExpNerOther, Old.ExpNerOther, 3) as Growth from REG as New join hist.REG as Old using (State, RegId)
1.8.443. RegExpNerProgAdminChange
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Program Administration Change
- SQL:
select State, RegId, New.ExpNerProgAdmin - Old.ExpNerProgAdmin as Change from REG as New join hist.REG as Old using (State, RegId)
1.8.444. RegExpNerProgAdminGrowth
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Program Administration Growth
- SQL:
select State, RegId, sd_div_safe(New.ExpNerProgAdmin - Old.ExpNerProgAdmin, Old.ExpNerProgAdmin, 3) as Growth from REG as New join hist.REG as Old using (State, RegId)
1.8.445. RegExpNerPromoChange
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Mental Health Promotion Change
- SQL:
select State, RegId, New.ExpNerPromo - Old.ExpNerPromo as Change from REG as New join hist.REG as Old using (State, RegId)
1.8.446. RegExpNerPromoGrowth
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Mental Health Promotion Growth
- SQL:
select State, RegId, sd_div_safe(New.ExpNerPromo - Old.ExpNerPromo, Old.ExpNerPromo, 3) as Growth from REG as New join hist.REG as Old using (State, RegId)
1.8.447. RegExpNerPropLeaseChange
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Property Leasing Costs Change
- SQL:
select State, RegId, New.ExpNerPropLease - Old.ExpNerPropLease as Change from REG as New join hist.REG as Old using (State, RegId)
1.8.448. RegExpNerPropLeaseGrowth
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Property Leasing Costs Growth
- SQL:
select State, RegId, sd_div_safe(New.ExpNerPropLease - Old.ExpNerPropLease, Old.ExpNerPropLease, 3) as Growth from REG as New join hist.REG as Old using (State, RegId)
1.8.449. RegExpNerResearchChange
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Mental Health Research Change
- SQL:
select State, RegId, New.ExpNerResearch - Old.ExpNerResearch as Change from REG as New join hist.REG as Old using (State, RegId)
1.8.450. RegExpNerResearchGrowth
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Mental Health Research Growth
- SQL:
select State, RegId, sd_div_safe(New.ExpNerResearch - Old.ExpNerResearch, Old.ExpNerResearch, 3) as Growth from REG as New join hist.REG as Old using (State, RegId)
1.8.451. RegExpNerServDevChange
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Service Development Change
- SQL:
select State, RegId, New.ExpNerServDev - Old.ExpNerServDev as Change from REG as New join hist.REG as Old using (State, RegId)
1.8.452. RegExpNerServDevGrowth
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Service Development Growth
- SQL:
select State, RegId, sd_div_safe(New.ExpNerServDev - Old.ExpNerServDev, Old.ExpNerServDev, 3) as Growth from REG as New join hist.REG as Old using (State, RegId)
1.8.453. RegExpNerSuperChange
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Superannuation Change
- SQL:
select State, RegId, New.ExpNerSuper - Old.ExpNerSuper as Change from REG as New join hist.REG as Old using (State, RegId)
1.8.454. RegExpNerSuperGrowth
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Superannuation Growth
- SQL:
select State, RegId, sd_div_safe(New.ExpNerSuper - Old.ExpNerSuper, Old.ExpNerSuper, 3) as Growth from REG as New join hist.REG as Old using (State, RegId)
1.8.455. RegExpNerSuppServChange
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Support Services Change
- SQL:
select State, RegId, New.ExpNerSuppServ - Old.ExpNerSuppServ as Change from REG as New join hist.REG as Old using (State, RegId)
1.8.456. RegExpNerSuppServGrowth
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Support Services Growth
- SQL:
select State, RegId, sd_div_safe(New.ExpNerSuppServ - Old.ExpNerSuppServ, Old.ExpNerSuppServ, 3) as Growth from REG as New join hist.REG as Old using (State, RegId)
1.8.457. RegExpNerTotal
- Base:
REG
- Title:
Total Residual Expenditure at Region Level
- SQL:
select State, RegId, ExpNerAcademic + ExpNerTraining + ExpNerInsur + ExpNerMHAct + ExpNerPromo + ExpNerResearch + ExpNerTransp + ExpNerProgAdmin + ExpNerPropLease + ExpNerServDev + ExpNerSuper + ExpNerSuppServ + ExpNerWorkComp + ExpNerOther as Total from REG
- Rules:
1.8.458. RegExpNerTrainingChange
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Education and Training Change
- SQL:
select State, RegId, New.ExpNerTraining - Old.ExpNerTraining as Change from REG as New join hist.REG as Old using (State, RegId)
1.8.459. RegExpNerTrainingGrowth
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Education and Training Growth
- SQL:
select State, RegId, sd_div_safe(New.ExpNerTraining - Old.ExpNerTraining, Old.ExpNerTraining, 3) as Growth from REG as New join hist.REG as Old using (State, RegId)
1.8.460. RegExpNerTranspChange
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Patient Transport Services Change
- SQL:
select State, RegId, New.ExpNerTransp - Old.ExpNerTransp as Change from REG as New join hist.REG as Old using (State, RegId)
1.8.461. RegExpNerTranspGrowth
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Patient Transport Services Growth
- SQL:
select State, RegId, sd_div_safe(New.ExpNerTransp - Old.ExpNerTransp, Old.ExpNerTransp, 3) as Growth from REG as New join hist.REG as Old using (State, RegId)
1.8.462. RegExpNerWorkCompChange
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Workers Compensation Change
- SQL:
select State, RegId, New.ExpNerWorkComp - Old.ExpNerWorkComp as Change from REG as New join hist.REG as Old using (State, RegId)
1.8.463. RegExpNerWorkCompGrowth
- Base:
REG
- Title:
Expenditure Not Elsewhere Reported - Workers Compensation Growth
- SQL:
select State, RegId, sd_div_safe(New.ExpNerWorkComp - Old.ExpNerWorkComp, Old.ExpNerWorkComp, 3) as Growth from REG as New join hist.REG as Old using (State, RegId)
1.8.464. RegExpTotal
- Base:
REG
- Title:
Region Level Total Expenditure
- SQL:
select state, regid, RegNgoTotal.Total + RegExpNerTotal.Total as Total from RegNgoTotal join RegExpNerTotal using (state, regid)
- Rules:
1.8.465. RegNgoChange
- Base:
REG
- Title:
Total NGO Expenditure at Region Level Change
- SQL:
with New as ( select * from RegNgoTotal ), Old as ( select * from hist.RegNgoTotal ) select State, RegId, New.Total - Old.Total as Change from New join Old using (State, RegId)
1.8.466. RegNgoGrowth
- Base:
REG
- Title:
Total NGO Expenditure at Region Level Growth
- SQL:
with New as ( select * from RegNgoTotal ), Old as ( select * from hist.RegNgoTotal ) select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId)
1.8.467. RegNgoTotal
- Base:
REG
- Title:
Total NGO Expenditure at Reg Level
- SQL:
select reg.state, reg.regid, coalesce(sum(MHNGOEGrants),0) as Total from REG left join REGNGOE using (State, RegId) group by state, regid
- Rules:
1.8.468. RegNonAppExpNer
- Base:
REG
- Title:
Non-apportionable Residual Expenditure
- SQL:
select State, RegId, ExpNerTraining + ExpNerPromo + ExpNerResearch + ExpNerMHAct + ExpNerServDev as Total from REG
1.8.469. RegResiCDaysChange
- Base:
REG
- Title:
Total Accrued Mental Health Care Days Change
- SQL:
with New as ( select * from RegResiCDaysSum ), Old as ( select * from hist.RegResiCDaysSum ) select State, RegId, New.Total - Old.Total as Change from New join Old using (State, RegId)
1.8.470. RegResiCDaysGrowth
- Base:
REG
- Title:
Total Accrued Mental Health Care Days Growth
- SQL:
with New as ( select * from RegResiCDaysSum ), Old as ( select * from hist.RegResiCDaysSum ) select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId)
1.8.471. RegResiCDaysSum
- Base:
REG
- Title:
Total Accrued Mental Health Care Days
- SQL:
select State, RegId, coalesce(Total, 0) as Total from REG left join ( select State, RegId, sum(coalesce(MHCareDays, 0)) as Total from RESI group by State, RegId ) tmpinner using (State, RegId)
1.8.472. RegResiNBedsChange
- Base:
REG
- Title:
Total Average Available Beds for Residential Mental Health Patients Change
- SQL:
with New as ( select * from RegResiNBedsSum ), Old as ( select * from hist.RegResiNBedsSum ) select State, RegId, New.Total - Old.Total as Change from New join Old using (State, RegId)
1.8.473. RegResiNBedsGrowth
- Base:
REG
- Title:
Total Average Available Beds for Residential Mental Health Patients Growth
- SQL:
with New as ( select * from RegResiNBedsSum ), Old as ( select * from hist.RegResiNBedsSum ) select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId)
1.8.474. RegResiNBedsSum
- Base:
REG
- Title:
Total Average Available Beds for Residential Mental Health Patients
- SQL:
select State, RegId, coalesce(Total, 0) as Total from REG left join ( select State, RegId, sum(coalesce(ResiNBeds, 0)) as Total from RESI group by State, RegId ) tmpinner using (State, RegId)
1.8.475. RegRevTotal
- Base:
REG
- Title:
Total Revenue at Region Level
- SQL:
select State, RegId, RevRecov + RevStateHealth + RevCwlthOther + RevPatients + RevOther + RevStateOther as Total from REG
- Rules:
1.8.476. RegUnitExp
- Base:
REG
- Title:
Total Expenditure at Service Unit Level
- SQL:
select State, RegId, sum(OrgUnitExp.Total) as Total from OrgUnitExp group by State, RegId
1.8.477. RegWideExp
- Base:
REG
- Title:
Region Wide Expenditure
- SQL:
select Unit.State as State, Unit.RegId as RegId, Ner.Total + Unit.Total + Ngo.Total as Total from RegWideExpNer as Ner join RegUnitExp as Unit using (State, RegId) join RegNgoTotal as Ngo using (State, RegId)
- Rules:
1.8.478. RegWideExpChange
- Base:
REG
- Title:
Region Wide Expenditure Change
- SQL:
with New as ( select * from RegWideExp ), Old as ( select * from hist.RegWideExp ) select State, RegId, New.Total - Old.Total as Change from New join Old using (State, RegId)
1.8.479. RegWideExpGrowth
- Base:
REG
- Title:
Region Wide Expenditure Growth
- SQL:
with New as ( select * from RegWideExp ), Old as ( select * from hist.RegWideExp ) select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId)
- Rules:
1.8.480. RegWideExpNer
- Base:
REG
- Title:
Region Wide Residual Expenditure
- SQL:
select State, RegId, Ner.Total + SubNer.Total as Total from RegExpNerTotal as Ner join ( select State, RegId, sum(Total) as Total from OrgExpNerTotal group by State, RegId ) as SubNer using (State, RegId)
- Rules:
1.8.481. RegWideExpNerChange
- Base:
REG
- Title:
Region Wide Residual Expenditure Change
- SQL:
with New as ( select * from RegWideExpNer ), Old as ( select * from hist.RegWideExpNer ) select State, RegId, New.Total - Old.Total as Change from New join Old using (State, RegId)
- Rules:
1.8.482. RegWideExpNerGrowth
- Base:
REG
- Title:
Region Wide Residual Expenditure Growth
- SQL:
with New as ( select * from RegWideExpNer ), Old as ( select * from hist.RegWideExpNer ) select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId)
- Rules:
1.8.483. RegWideNonAppExpNer
- Base:
REG
- Title:
Region Wide Non-Apportioned Residual Expenditure
- SQL:
select State, RegId, NonApp.Total + SubNonApp.Total as Total from RegNonAppExpNer as NonApp join ( select State, RegId, sum(Total) as Total from OrgNonAppExpNer group by State, RegId ) as SubNonApp using (State, RegId)
1.8.484. RegWideNonAppExpNerChange
- Base:
REG
- Title:
Region Wide Non-Apportioned Residual Expenditure Change
- SQL:
with New as ( select * from RegWideNonAppExpNer ), Old as ( select * from hist.RegWideNonAppExpNer ) select State, RegId, New.Total - Old.Total as Change from New join Old using (State, RegId)
1.8.485. RegWideNonAppExpNerGrowth
- Base:
REG
- Title:
Region Wide Non-Apportioned Residual Expenditure Growth
- SQL:
with New as ( select * from RegWideNonAppExpNer ), Old as ( select * from hist.RegWideNonAppExpNer ) select State, RegId, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State, RegId)
1.8.486. ResiAppExpTotal
- Base:
RESI
- Title:
Total Apportioned Expenditure at Residential Service Unit level
- SQL:
with UnitExp as ( select * from ResiExpTotal ), RegApp as ( select * from ResiRegAppExpNer ), OrgApp as ( select * from ResiOrgAppExpNer ) select UnitExp.State as State, UnitExp.RegId as RegId, UnitExp.OrgId as OrgId, UnitExp.ClusId as ClusId, UnitExp.ResiId as ResiId, UnitExp.Total + RegApp.Total + OrgApp.Total as Total from UnitExp join RegApp using (State, RegId, OrgId, ClusId, ResiId) join OrgApp using (State, RegId, OrgId, ClusId, ResiId)
1.8.487. ResiAppExpTotalFmt
- Base:
RESI
- Title:
Total Apportioned Expenditure at Residential Service Unit level (rounded)
- SQL:
select State, RegId, OrgId, ClusId, ResiId, round(Src.Total) as Total from ResiAppExpTotal as Src
1.8.488. ResiExpTotal
- Base:
RESI
- Title:
Total Expenditure at Residential Service Unit Level
- SQL:
select State, RegId, OrgId, ClusId, ResiId, ExpNonSalTot + ExpSalTot as Total from RESI
- Rules:
1.8.489. ResiOccupancy
- Base:
RESI
- Title:
Average Occupancy for Residential Service Unit
- SQL:
select State, RegId, OrgId, ClusId, ResiId, sd_div_safe(MHCareDays, ResiNBeds * 365, 3) as Occupancy from RESI
- Rules:
1.8.490. ResiOrgAppExpNer
- Base:
RESI
- Title:
Organisation Residual Expenditure Apportioned to Residential Service Unit
- SQL:
select UnitExp.State as State, UnitExp.RegId as RegId, UnitExp.OrgId as OrgId, UnitExp.ClusId as ClusId, UnitExp.ResiId as ResiId, sd_div_safe((Pie.Total * UnitExp.Total::numeric), OrgUnitExp.Total, 3) as Total from ResiExpTotal as UnitExp join OrgUnitExp using (State, RegId, OrgId) join OrgAppExpNer as Pie using (State, RegId, OrgId)
1.8.491. ResiOrgAppExpNerFmt
- Base:
RESI
- Title:
Organisation Residual Expenditure Apportioned to Residential Service Unit (rounded)
- SQL:
select State, RegId, OrgId, ClusId, ResiId, round(Src.Total) as Total from ResiOrgAppExpNer as Src
1.8.492. ResiPDay
- Base:
RESI
- Title:
Average Patient Day Cost for Residential Service Unit
- SQL:
select State, RegId, OrgId, ClusId, ResiId, sd_div_safe(Total, MHCareDays, 1) as PDay from RESI join ResiExpTotal using (State, RegId, OrgId, ClusId, ResiId) where MHCareDays != 0
- Rules:
1.8.493. ResiRegAppExpNer
- Base:
RESI
- Title:
Region Residual Expenditure Apportioned to Residential Service Unit
- SQL:
select UnitExp.State as State, UnitExp.RegId as RegId, UnitExp.OrgId as OrgId, UnitExp.ClusId as ClusId, UnitExp.ResiId as ResiId, sd_div_safe((Pie.Total * UnitExp.Total::numeric), RegUnitExp.Total, 3) as Total from ResiExpTotal as UnitExp join RegUnitExp using (State, RegId) join RegAppExpNer as Pie using (State, RegId)
1.8.494. ResiRegAppExpNerFmt
- Base:
RESI
- Title:
Region Residual Expenditure Apportioned to Residential Service Unit (rounded)
- SQL:
select State, RegId, OrgId, ClusId, ResiId, round(Src.Total) as Total from ResiRegAppExpNer as Src
1.8.496. StAdmiAppExpChange
- Base:
ST
- Title:
Admitted Patient Service Unit Total Apportioned Expenditure Change
- SQL:
with New as ( select * from StAdmiAppExpTotal ), Old as ( select * from hist.StAdmiAppExpTotal ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.497. StAdmiAppExpGrowth
- Base:
ST
- Title:
Admitted Patient Service Unit Total Apportioned Expenditure Growth
- SQL:
with New as ( select * from StAdmiAppExpTotal ), Old as ( select * from hist.StAdmiAppExpTotal ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.498. StAdmiAppExpTotal
- Base:
ST
- Title:
Admitted Patient Service Unit Total Apportioned Expenditure
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(Total, 0)) as Total from AdmiAppExpTotal group by State ) tmpinner using (State)
1.8.499. StAdmiAppExpTotalFmt
- Base:
ST
- Title:
Admitted Patient Service Unit Total Apportioned Expenditure (rounded)
- SQL:
select State, round(Src.Total) as Total from StAdmiAppExpTotal as Src
1.8.500. StAdmiAppExpTotalFmtChange
- Base:
ST
- Title:
Admitted Patient Service Unit Total Apportioned Expenditure (rounded) Change
- SQL:
with New as ( select * from StAdmiAppExpTotalFmt ), Old as ( select * from hist.StAdmiAppExpTotalFmt ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.501. StAdmiAppExpTotalFmtGrowth
- Base:
ST
- Title:
Admitted Patient Service Unit Total Apportioned Expenditure (rounded) Growth
- SQL:
with New as ( select * from StAdmiAppExpTotalFmt ), Old as ( select * from hist.StAdmiAppExpTotalFmt ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.502. StAdmiCDaysAcSum
- Base:
ST
- Title:
Total Admitted Acute Accrued Mental Health Care Days
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where ProgType = '1' group by State ) tmpinner using (State)
1.8.503. StAdmiCDaysCAAcChange
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Child and adolescent Population - Acute Care Change
- SQL:
with New as ( select * from StAdmiCDaysCAAcSum ), Old as ( select * from hist.StAdmiCDaysCAAcSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.504. StAdmiCDaysCAAcGrowth
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Child and adolescent Population - Acute Care Growth
- SQL:
with New as ( select * from StAdmiCDaysCAAcSum ), Old as ( select * from hist.StAdmiCDaysCAAcSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.505. StAdmiCDaysCAAcSum
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Child and adolescent Population - Acute Care
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '1' and ProgType = '1' group by State ) as Setting using (State)
1.8.506. StAdmiCDaysCANAcChange
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Child and adolescent Population - Non-acute Care Change
- SQL:
with New as ( select * from StAdmiCDaysCANAcSum ), Old as ( select * from hist.StAdmiCDaysCANAcSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.507. StAdmiCDaysCANAcGrowth
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Child and adolescent Population - Non-acute Care Growth
- SQL:
with New as ( select * from StAdmiCDaysCANAcSum ), Old as ( select * from hist.StAdmiCDaysCANAcSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.508. StAdmiCDaysCANAcSum
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Child and adolescent Population - Non-acute Care
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '1' and ProgType = '2' group by State ) as Setting using (State)
1.8.509. StAdmiCDaysChange
- Base:
ST
- Title:
Total Accrued Mental Health Care Days Change
- SQL:
with New as ( select * from StAdmiCDaysSum ), Old as ( select * from hist.StAdmiCDaysSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.510. StAdmiCDaysForAcChange
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Forensic Population - Acute Care Change
- SQL:
with New as ( select * from StAdmiCDaysForAcSum ), Old as ( select * from hist.StAdmiCDaysForAcSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.511. StAdmiCDaysForAcGrowth
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Forensic Population - Acute Care Growth
- SQL:
with New as ( select * from StAdmiCDaysForAcSum ), Old as ( select * from hist.StAdmiCDaysForAcSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.512. StAdmiCDaysForAcSum
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Forensic Population - Acute Care
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '3' and ProgType = '1' group by State ) as Setting using (State)
1.8.513. StAdmiCDaysForNAcChange
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Forensic Population - Non-acute Care Change
- SQL:
with New as ( select * from StAdmiCDaysForNAcSum ), Old as ( select * from hist.StAdmiCDaysForNAcSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.514. StAdmiCDaysForNAcGrowth
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Forensic Population - Non-acute Care Growth
- SQL:
with New as ( select * from StAdmiCDaysForNAcSum ), Old as ( select * from hist.StAdmiCDaysForNAcSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.515. StAdmiCDaysForNAcSum
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Forensic Population - Non-acute Care
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '3' and ProgType = '2' group by State ) as Setting using (State)
1.8.516. StAdmiCDaysGenAcChange
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for General Population - Acute Care Change
- SQL:
with New as ( select * from StAdmiCDaysGenAcSum ), Old as ( select * from hist.StAdmiCDaysGenAcSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.517. StAdmiCDaysGenAcGrowth
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for General Population - Acute Care Growth
- SQL:
with New as ( select * from StAdmiCDaysGenAcSum ), Old as ( select * from hist.StAdmiCDaysGenAcSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.518. StAdmiCDaysGenAcSum
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for General Population - Acute Care
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '4' and ProgType = '1' group by State ) as Setting using (State)
1.8.519. StAdmiCDaysGenNAcChange
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for General Population - Non-acute Care Change
- SQL:
with New as ( select * from StAdmiCDaysGenNAcSum ), Old as ( select * from hist.StAdmiCDaysGenNAcSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.520. StAdmiCDaysGenNAcGrowth
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for General Population - Non-acute Care Growth
- SQL:
with New as ( select * from StAdmiCDaysGenNAcSum ), Old as ( select * from hist.StAdmiCDaysGenNAcSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.521. StAdmiCDaysGenNAcSum
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for General Population - Non-acute Care
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '4' and ProgType = '2' group by State ) as Setting using (State)
1.8.522. StAdmiCDaysGrowth
- Base:
ST
- Title:
Total Accrued Mental Health Care Days Growth
- SQL:
with New as ( select * from StAdmiCDaysSum ), Old as ( select * from hist.StAdmiCDaysSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.523. StAdmiCDaysNAcSum
- Base:
ST
- Title:
Total Admitted Non-acute Accrued Mental Health Care Days
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where ProgType = '2' group by State ) tmpinner using (State)
1.8.524. StAdmiCDaysOldAcChange
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Older person Population - Acute Care Change
- SQL:
with New as ( select * from StAdmiCDaysOldAcSum ), Old as ( select * from hist.StAdmiCDaysOldAcSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.525. StAdmiCDaysOldAcGrowth
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Older person Population - Acute Care Growth
- SQL:
with New as ( select * from StAdmiCDaysOldAcSum ), Old as ( select * from hist.StAdmiCDaysOldAcSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.526. StAdmiCDaysOldAcSum
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Older person Population - Acute Care
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '2' and ProgType = '1' group by State ) as Setting using (State)
1.8.527. StAdmiCDaysOldNAcChange
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Older person Population - Non-acute Care Change
- SQL:
with New as ( select * from StAdmiCDaysOldNAcSum ), Old as ( select * from hist.StAdmiCDaysOldNAcSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.528. StAdmiCDaysOldNAcGrowth
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Older person Population - Non-acute Care Growth
- SQL:
with New as ( select * from StAdmiCDaysOldNAcSum ), Old as ( select * from hist.StAdmiCDaysOldNAcSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.529. StAdmiCDaysOldNAcSum
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Older person Population - Non-acute Care
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '2' and ProgType = '2' group by State ) as Setting using (State)
1.8.530. StAdmiCDaysSum
- Base:
ST
- Title:
Total Accrued Mental Health Care Days
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI group by State ) tmpinner using (State)
1.8.531. StAdmiCDaysYthAcChange
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Youth Population - Acute Care Change
- SQL:
with New as ( select * from StAdmiCDaysYthAcSum ), Old as ( select * from hist.StAdmiCDaysYthAcSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.532. StAdmiCDaysYthAcGrowth
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Youth Population - Acute Care Growth
- SQL:
with New as ( select * from StAdmiCDaysYthAcSum ), Old as ( select * from hist.StAdmiCDaysYthAcSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.533. StAdmiCDaysYthAcSum
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Youth Population - Acute Care
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '5' and ProgType = '1' group by State ) as Setting using (State)
1.8.534. StAdmiCDaysYthNAcChange
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Youth Population - Non-acute Care Change
- SQL:
with New as ( select * from StAdmiCDaysYthNAcSum ), Old as ( select * from hist.StAdmiCDaysYthNAcSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.535. StAdmiCDaysYthNAcGrowth
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Youth Population - Non-acute Care Growth
- SQL:
with New as ( select * from StAdmiCDaysYthNAcSum ), Old as ( select * from hist.StAdmiCDaysYthNAcSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.536. StAdmiCDaysYthNAcSum
- Base:
ST
- Title:
Total Admitted Accrued Mental Health Care Days for Youth Population - Non-acute Care
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '5' and ProgType = '2' group by State ) as Setting using (State)
1.8.537. StAdmiDCareFteChange
- Base:
ST
- Title:
Total Direct Care FTE for Admitted Patient Service Units Change
- SQL:
with New as ( select * from StAdmiDCareFteSum ), Old as ( select * from hist.StAdmiDCareFteSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.538. StAdmiDCareFteGrowth
- Base:
ST
- Title:
Total Direct Care FTE for Admitted Patient Service Units Growth
- SQL:
with New as ( select * from StAdmiDCareFteSum ), Old as ( select * from hist.StAdmiDCareFteSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.539. StAdmiDCareFteSum
- Base:
ST
- Title:
Total Direct Care FTE for Admitted Patient Service Units
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(Total, 0)) as Total from FteorgDCareTotal where Setting = '1' group by State ) tmpinner using (State)
1.8.540. StAdmiExpChange
- Base:
ST
- Title:
Admitted Patient Service Unit Total Expenditure Change
- SQL:
with New as ( select * from StAdmiExpTotal ), Old as ( select * from hist.StAdmiExpTotal ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.541. StAdmiExpGrowth
- Base:
ST
- Title:
Admitted Patient Service Unit Total Expenditure Growth
- SQL:
with New as ( select * from StAdmiExpTotal ), Old as ( select * from hist.StAdmiExpTotal ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.542. StAdmiExpTotal
- Base:
ST
- Title:
Admitted Patient Service Unit Total Expenditure
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(Total, 0)) as Total from OrgAdmiExpTotal group by State ) tmpinner using (State)
1.8.543. StAdmiNBedsAcSum
- Base:
ST
- Title:
Total Admitted Acute Average Available Beds for Overnight-stay Patients
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where ProgType = '1' group by State ) tmpinner using (State)
1.8.544. StAdmiNBedsCAAcChange
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Child and adolescent Population - Acute Care Change
- SQL:
with New as ( select * from StAdmiNBedsCAAcSum ), Old as ( select * from hist.StAdmiNBedsCAAcSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.545. StAdmiNBedsCAAcGrowth
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Child and adolescent Population - Acute Care Growth
- SQL:
with New as ( select * from StAdmiNBedsCAAcSum ), Old as ( select * from hist.StAdmiNBedsCAAcSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.546. StAdmiNBedsCAAcSum
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Child and adolescent Population - Acute Care
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '1' and ProgType = '1' group by State ) as Setting using (State)
1.8.547. StAdmiNBedsCANAcChange
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Child and adolescent Population - Non-acute Care Change
- SQL:
with New as ( select * from StAdmiNBedsCANAcSum ), Old as ( select * from hist.StAdmiNBedsCANAcSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.548. StAdmiNBedsCANAcGrowth
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Child and adolescent Population - Non-acute Care Growth
- SQL:
with New as ( select * from StAdmiNBedsCANAcSum ), Old as ( select * from hist.StAdmiNBedsCANAcSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.549. StAdmiNBedsCANAcSum
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Child and adolescent Population - Non-acute Care
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '1' and ProgType = '2' group by State ) as Setting using (State)
1.8.550. StAdmiNBedsChange
- Base:
ST
- Title:
Total Average Available Beds for Overnight-stay Patients Change
- SQL:
with New as ( select * from StAdmiNBedsSum ), Old as ( select * from hist.StAdmiNBedsSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.551. StAdmiNBedsForAcChange
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Forensic Population - Acute Care Change
- SQL:
with New as ( select * from StAdmiNBedsForAcSum ), Old as ( select * from hist.StAdmiNBedsForAcSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.552. StAdmiNBedsForAcGrowth
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Forensic Population - Acute Care Growth
- SQL:
with New as ( select * from StAdmiNBedsForAcSum ), Old as ( select * from hist.StAdmiNBedsForAcSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.553. StAdmiNBedsForAcSum
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Forensic Population - Acute Care
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '3' and ProgType = '1' group by State ) as Setting using (State)
1.8.554. StAdmiNBedsForNAcChange
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Forensic Population - Non-acute Care Change
- SQL:
with New as ( select * from StAdmiNBedsForNAcSum ), Old as ( select * from hist.StAdmiNBedsForNAcSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.555. StAdmiNBedsForNAcGrowth
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Forensic Population - Non-acute Care Growth
- SQL:
with New as ( select * from StAdmiNBedsForNAcSum ), Old as ( select * from hist.StAdmiNBedsForNAcSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.556. StAdmiNBedsForNAcSum
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Forensic Population - Non-acute Care
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '3' and ProgType = '2' group by State ) as Setting using (State)
1.8.557. StAdmiNBedsGenAcChange
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for General Population - Acute Care Change
- SQL:
with New as ( select * from StAdmiNBedsGenAcSum ), Old as ( select * from hist.StAdmiNBedsGenAcSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.558. StAdmiNBedsGenAcGrowth
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for General Population - Acute Care Growth
- SQL:
with New as ( select * from StAdmiNBedsGenAcSum ), Old as ( select * from hist.StAdmiNBedsGenAcSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.559. StAdmiNBedsGenAcSum
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for General Population - Acute Care
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '4' and ProgType = '1' group by State ) as Setting using (State)
1.8.560. StAdmiNBedsGenNAcChange
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for General Population - Non-acute Care Change
- SQL:
with New as ( select * from StAdmiNBedsGenNAcSum ), Old as ( select * from hist.StAdmiNBedsGenNAcSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.561. StAdmiNBedsGenNAcGrowth
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for General Population - Non-acute Care Growth
- SQL:
with New as ( select * from StAdmiNBedsGenNAcSum ), Old as ( select * from hist.StAdmiNBedsGenNAcSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.562. StAdmiNBedsGenNAcSum
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for General Population - Non-acute Care
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '4' and ProgType = '2' group by State ) as Setting using (State)
1.8.563. StAdmiNBedsGrowth
- Base:
ST
- Title:
Total Average Available Beds for Overnight-stay Patients Growth
- SQL:
with New as ( select * from StAdmiNBedsSum ), Old as ( select * from hist.StAdmiNBedsSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.564. StAdmiNBedsNAcSum
- Base:
ST
- Title:
Total Admitted Non-acute Average Available Beds for Overnight-stay Patients
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where ProgType = '2' group by State ) tmpinner using (State)
1.8.565. StAdmiNBedsOldAcChange
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Older person Population - Acute Care Change
- SQL:
with New as ( select * from StAdmiNBedsOldAcSum ), Old as ( select * from hist.StAdmiNBedsOldAcSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.566. StAdmiNBedsOldAcGrowth
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Older person Population - Acute Care Growth
- SQL:
with New as ( select * from StAdmiNBedsOldAcSum ), Old as ( select * from hist.StAdmiNBedsOldAcSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.567. StAdmiNBedsOldAcSum
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Older person Population - Acute Care
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '2' and ProgType = '1' group by State ) as Setting using (State)
1.8.568. StAdmiNBedsOldNAcChange
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Older person Population - Non-acute Care Change
- SQL:
with New as ( select * from StAdmiNBedsOldNAcSum ), Old as ( select * from hist.StAdmiNBedsOldNAcSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.569. StAdmiNBedsOldNAcGrowth
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Older person Population - Non-acute Care Growth
- SQL:
with New as ( select * from StAdmiNBedsOldNAcSum ), Old as ( select * from hist.StAdmiNBedsOldNAcSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.570. StAdmiNBedsOldNAcSum
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Older person Population - Non-acute Care
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '2' and ProgType = '2' group by State ) as Setting using (State)
1.8.571. StAdmiNBedsSum
- Base:
ST
- Title:
Total Average Available Beds for Overnight-stay Patients
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI group by State ) tmpinner using (State)
1.8.572. StAdmiNBedsYthAcChange
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Youth Population - Acute Care Change
- SQL:
with New as ( select * from StAdmiNBedsYthAcSum ), Old as ( select * from hist.StAdmiNBedsYthAcSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.573. StAdmiNBedsYthAcGrowth
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Youth Population - Acute Care Growth
- SQL:
with New as ( select * from StAdmiNBedsYthAcSum ), Old as ( select * from hist.StAdmiNBedsYthAcSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.574. StAdmiNBedsYthAcSum
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Youth Population - Acute Care
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '5' and ProgType = '1' group by State ) as Setting using (State)
1.8.575. StAdmiNBedsYthNAcChange
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Youth Population - Non-acute Care Change
- SQL:
with New as ( select * from StAdmiNBedsYthNAcSum ), Old as ( select * from hist.StAdmiNBedsYthNAcSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.576. StAdmiNBedsYthNAcGrowth
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Youth Population - Non-acute Care Growth
- SQL:
with New as ( select * from StAdmiNBedsYthNAcSum ), Old as ( select * from hist.StAdmiNBedsYthNAcSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.577. StAdmiNBedsYthNAcSum
- Base:
ST
- Title:
Total Admitted Average Available Beds for Overnight-stay Patients for Youth Population - Non-acute Care
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0)) as Total from ADMI where TargetPop = '5' and ProgType = '2' group by State ) as Setting using (State)
1.8.578. StAmbuAppExpChange
- Base:
ST
- Title:
Ambulatory Service Unit Total Apportioned Expenditure Change
- SQL:
with New as ( select * from StAmbuAppExpTotal ), Old as ( select * from hist.StAmbuAppExpTotal ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.579. StAmbuAppExpGrowth
- Base:
ST
- Title:
Ambulatory Service Unit Total Apportioned Expenditure Growth
- SQL:
with New as ( select * from StAmbuAppExpTotal ), Old as ( select * from hist.StAmbuAppExpTotal ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.580. StAmbuAppExpTotal
- Base:
ST
- Title:
Ambulatory Service Unit Total Apportioned Expenditure
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(Total, 0)) as Total from AmbuAppExpTotal group by State ) tmpinner using (State)
1.8.581. StAmbuAppExpTotalFmt
- Base:
ST
- Title:
Ambulatory Service Unit Total Apportioned Expenditure (rounded)
- SQL:
select State, round(Src.Total) as Total from StAmbuAppExpTotal as Src
1.8.582. StAmbuAppExpTotalFmtChange
- Base:
ST
- Title:
Ambulatory Service Unit Total Apportioned Expenditure (rounded) Change
- SQL:
with New as ( select * from StAmbuAppExpTotalFmt ), Old as ( select * from hist.StAmbuAppExpTotalFmt ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.583. StAmbuAppExpTotalFmtGrowth
- Base:
ST
- Title:
Ambulatory Service Unit Total Apportioned Expenditure (rounded) Growth
- SQL:
with New as ( select * from StAmbuAppExpTotalFmt ), Old as ( select * from hist.StAmbuAppExpTotalFmt ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.584. StAmbuDCareFteChange
- Base:
ST
- Title:
Total Direct Care FTE for Ambulatory Service Units Change
- SQL:
with New as ( select * from StAmbuDCareFteSum ), Old as ( select * from hist.StAmbuDCareFteSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.585. StAmbuDCareFteGrowth
- Base:
ST
- Title:
Total Direct Care FTE for Ambulatory Service Units Growth
- SQL:
with New as ( select * from StAmbuDCareFteSum ), Old as ( select * from hist.StAmbuDCareFteSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.586. StAmbuDCareFteSum
- Base:
ST
- Title:
Total Direct Care FTE for Ambulatory Service Units
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(Total, 0)) as Total from FteorgDCareTotal where Setting = '3' group by State ) tmpinner using (State)
1.8.587. StAmbuExpChange
- Base:
ST
- Title:
Ambulatory Service Unit Total Expenditure Change
- SQL:
with New as ( select * from StAmbuExpTotal ), Old as ( select * from hist.StAmbuExpTotal ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.588. StAmbuExpGrowth
- Base:
ST
- Title:
Ambulatory Service Unit Total Expenditure Growth
- SQL:
with New as ( select * from StAmbuExpTotal ), Old as ( select * from hist.StAmbuExpTotal ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.589. StAmbuExpTotal
- Base:
ST
- Title:
Ambulatory Service Unit Total Expenditure
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(Total, 0)) as Total from OrgAmbuExpTotal group by State ) tmpinner using (State)
1.8.590. StAmbuNContChange
- Base:
ST
- Title:
Ambulatory Service Unit Total Number of Service Contacts Change
- SQL:
with New as ( select * from StAmbuNContSum ), Old as ( select * from hist.StAmbuNContSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.591. StAmbuNContGrowth
- Base:
ST
- Title:
Ambulatory Service Unit Total Number of Service Contacts Growth
- SQL:
with New as ( select * from StAmbuNContSum ), Old as ( select * from hist.StAmbuNContSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.592. StAmbuNContSum
- Base:
ST
- Title:
Ambulatory Service Unit Total Number of Service Contacts
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(NCont, 0)) as Total from AMBU group by State ) tmpinner using (State)
1.8.593. StCLAppExpChange
- Base:
ST
- Title:
Co-located Hospitals Total Apportioned Expenditure Change
- SQL:
with New as ( select * from StCLAppExpTotal ), Old as ( select * from hist.StCLAppExpTotal ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.594. StCLAppExpGrowth
- Base:
ST
- Title:
Co-located Hospitals Total Apportioned Expenditure Growth
- SQL:
with New as ( select * from StCLAppExpTotal ), Old as ( select * from hist.StCLAppExpTotal ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.595. StCLAppExpTotal
- Base:
ST
- Title:
Co-located Hospitals Total Apportioned Expenditure
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(Total, 0)) as Total from AdmiAppExpTotal join HOSP using (State, RegId, OrgId, HospId) where HOSP.CoLocStatus = '1' group by State ) tmpinner using (State)
1.8.596. StCLAppExpTotalFmt
- Base:
ST
- Title:
Co-located Hospitals Total Apportioned Expenditure (rounded)
- SQL:
select State, round(Src.Total) as Total from StCLAppExpTotal as Src
1.8.597. StCLAppExpTotalFmtChange
- Base:
ST
- Title:
Co-located Hospitals Total Apportioned Expenditure (rounded) Change
- SQL:
with New as ( select * from StCLAppExpTotalFmt ), Old as ( select * from hist.StCLAppExpTotalFmt ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.598. StCLAppExpTotalFmtGrowth
- Base:
ST
- Title:
Co-located Hospitals Total Apportioned Expenditure (rounded) Growth
- SQL:
with New as ( select * from StCLAppExpTotalFmt ), Old as ( select * from hist.StCLAppExpTotalFmt ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.599. StCLExpChange
- Base:
ST
- Title:
Co-located Hospitals Total Expenditure Change
- SQL:
with New as ( select * from StCLExpTotal ), Old as ( select * from hist.StCLExpTotal ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.600. StCLExpGrowth
- Base:
ST
- Title:
Co-located Hospitals Total Expenditure Growth
- SQL:
with New as ( select * from StCLExpTotal ), Old as ( select * from hist.StCLExpTotal ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.601. StCLExpTotal
- Base:
ST
- Title:
Co-located Hospitals Total Expenditure
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(Total, 0)) as Total from AdmiExpTotal join HOSP using (State, RegId, OrgId, HospId) where HOSP.CoLocStatus = '1' group by State ) tmpinner using (State)
1.8.602. StCLExpTotalFmt
- Base:
ST
- Title:
Co-located Hospitals Total Expenditure (rounded)
- SQL:
select State, round(Src.Total) as Total from StCLExpTotal as Src
1.8.603. StDCareFteChange
- Base:
ST
- Title:
Total State/Territory Direct Care FTE Change
- SQL:
with New as ( select * from StDCareFteSum ), Old as ( select * from hist.StDCareFteSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.604. StDCareFteGrowth
- Base:
ST
- Title:
Total State/Territory Direct Care FTE Growth
- SQL:
with New as ( select * from StDCareFteSum ), Old as ( select * from hist.StDCareFteSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.605. StDCareFteSum
- Base:
ST
- Title:
Total State/Territory Direct Care FTE
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(Total, 0)) as Total from FteorgDCareTotal group by State ) tmpinner using (State)
1.8.606. StExpNerTotal
- Base:
ST
- Title:
Total Residual Expenditure at State/Territory Level
- SQL:
select State, ExpNerAcademic + ExpNerTraining + ExpNerInsur + ExpNerMHAct + ExpNerPromo + ExpNerResearch + ExpNerTransp + ExpNerProgAdmin + ExpNerPropLease + ExpNerServDev + ExpNerSuper + ExpNerWorkComp + ExpNerOther as Total from ST
- Rules:
1.8.607. StExpTotal
- Base:
ST
- Title:
State/Territory Level Total Expenditure
- SQL:
select state, StNgoTotal.Total + StExpNerTotal.Total as Total from StNgoTotal join StExpNerTotal using (state)
- Rules:
1.8.608. StFteATSIMHWrkrChange
- Base:
ST
- Title:
Total Aboriginal and Torres Strait Islander Mental Health Workers FTE reported at Setting level Change
- SQL:
with New as ( select * from StFteATSIMHWrkrSum ), Old as ( select * from hist.StFteATSIMHWrkrSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.609. StFteATSIMHWrkrGrowth
- Base:
ST
- Title:
Total Aboriginal and Torres Strait Islander Mental Health Workers FTE reported at Setting level Growth
- SQL:
with New as ( select * from StFteATSIMHWrkrSum ), Old as ( select * from hist.StFteATSIMHWrkrSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.610. StFteATSIMHWrkrSum
- Base:
ST
- Title:
Total Aboriginal and Torres Strait Islander Mental Health Workers FTE reported at Setting level
- SQL:
select State, sum(coalesce(OrgFte.Total, 0)) as Total from ST left join FteATSIMHWrkrSum as OrgFte using (State) group by State
1.8.611. StFteAdminChange
- Base:
ST
- Title:
Total Administrative and Clerical FTE reported at Setting level Change
- SQL:
with New as ( select * from StFteAdminSum ), Old as ( select * from hist.StFteAdminSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.612. StFteAdminGrowth
- Base:
ST
- Title:
Total Administrative and Clerical FTE reported at Setting level Growth
- SQL:
with New as ( select * from StFteAdminSum ), Old as ( select * from hist.StFteAdminSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.613. StFteAdminSum
- Base:
ST
- Title:
Total Administrative and Clerical FTE reported at Setting level
- SQL:
select State, sum(coalesce(OrgFte.Total, 0)) as Total from ST left join FteAdminSum as OrgFte using (State) group by State
1.8.614. StFteCCWrkrChange
- Base:
ST
- Title:
Total Carer and Consumer Workers FTE reported at Setting level Change
- SQL:
with New as ( select * from StFteCCWrkrSum ), Old as ( select * from hist.StFteCCWrkrSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.615. StFteCCWrkrGrowth
- Base:
ST
- Title:
Total Carer and Consumer Workers FTE reported at Setting level Growth
- SQL:
with New as ( select * from StFteCCWrkrSum ), Old as ( select * from hist.StFteCCWrkrSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.616. StFteCCWrkrSum
- Base:
ST
- Title:
Total Carer and Consumer Workers FTE reported at Setting level
- SQL:
select State, sum(coalesce(OrgFte.Total, 0)) as Total from ST left join FteCCWrkrSum as OrgFte using (State) group by State
1.8.617. StFteChange
- Base:
ST
- Title:
Total FTE reported at Setting level Change
- SQL:
with New as ( select * from StFteSum ), Old as ( select * from hist.StFteSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.618. StFteDHPChange
- Base:
ST
- Title:
Total Diagnostic and Health Professionals FTE reported at Setting level Change
- SQL:
with New as ( select * from StFteDHPSum ), Old as ( select * from hist.StFteDHPSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.619. StFteDHPGrowth
- Base:
ST
- Title:
Total Diagnostic and Health Professionals FTE reported at Setting level Growth
- SQL:
with New as ( select * from StFteDHPSum ), Old as ( select * from hist.StFteDHPSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.620. StFteDHPSum
- Base:
ST
- Title:
Total Diagnostic and Health Professionals FTE reported at Setting level
- SQL:
select State, sum(coalesce(OrgFte.Total, 0)) as Total from ST left join FteDHPSum as OrgFte using (State) group by State
1.8.621. StFteDomestChange
- Base:
ST
- Title:
Total Domestic FTE reported at Setting level Change
- SQL:
with New as ( select * from StFteDomestSum ), Old as ( select * from hist.StFteDomestSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.622. StFteDomestGrowth
- Base:
ST
- Title:
Total Domestic FTE reported at Setting level Growth
- SQL:
with New as ( select * from StFteDomestSum ), Old as ( select * from hist.StFteDomestSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.623. StFteDomestSum
- Base:
ST
- Title:
Total Domestic FTE reported at Setting level
- SQL:
select State, sum(coalesce(OrgFte.Total, 0)) as Total from ST left join FteDomestSum as OrgFte using (State) group by State
1.8.624. StFteGrowth
- Base:
ST
- Title:
Total FTE reported at Setting level Growth
- SQL:
with New as ( select * from StFteSum ), Old as ( select * from hist.StFteSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.625. StFteMedChange
- Base:
ST
- Title:
Total Medical FTE reported at Setting level Change
- SQL:
with New as ( select * from StFteMedSum ), Old as ( select * from hist.StFteMedSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.626. StFteMedGrowth
- Base:
ST
- Title:
Total Medical FTE reported at Setting level Growth
- SQL:
with New as ( select * from StFteMedSum ), Old as ( select * from hist.StFteMedSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.627. StFteMedSum
- Base:
ST
- Title:
Total Medical FTE reported at Setting level
- SQL:
select State, sum(coalesce(OrgFte.Total, 0)) as Total from ST left join FteMedSum as OrgFte using (State) group by State
1.8.628. StFteNursesChange
- Base:
ST
- Title:
Total Nursing FTE reported at Setting level Change
- SQL:
with New as ( select * from StFteNursesSum ), Old as ( select * from hist.StFteNursesSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.629. StFteNursesGrowth
- Base:
ST
- Title:
Total Nursing FTE reported at Setting level Growth
- SQL:
with New as ( select * from StFteNursesSum ), Old as ( select * from hist.StFteNursesSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.630. StFteNursesSum
- Base:
ST
- Title:
Total Nursing FTE reported at Setting level
- SQL:
select State, sum(coalesce(OrgFte.Total, 0)) as Total from ST left join FteNursesSum as OrgFte using (State) group by State
1.8.631. StFtePCareChange
- Base:
ST
- Title:
Total Other Personal Care FTE reported at Setting level Change
- SQL:
with New as ( select * from StFtePCareSum ), Old as ( select * from hist.StFtePCareSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.632. StFtePCareGrowth
- Base:
ST
- Title:
Total Other Personal Care FTE reported at Setting level Growth
- SQL:
with New as ( select * from StFtePCareSum ), Old as ( select * from hist.StFtePCareSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.633. StFtePCareSum
- Base:
ST
- Title:
Total Other Personal Care FTE reported at Setting level
- SQL:
select State, sum(coalesce(OrgFte.Total, 0)) as Total from ST left join FtePCareSum as OrgFte using (State) group by State
1.8.634. StFteSum
- Base:
ST
- Title:
Total FTE reported at Setting level
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(FteAdmin, 0)) + sum(coalesce(FteATSIMHWrkr, 0)) + sum(coalesce(FteCCWrkr, 0)) + sum(coalesce(FteDHP, 0)) + sum(coalesce(FteDomest, 0)) + sum(coalesce(FteMed, 0)) + sum(coalesce(FteNurses, 0)) + sum(coalesce(FtePCare, 0)) as Total from FTEORG group by State ) tmpinner using (State)
1.8.635. StNHousePlacesGrowthAmt
- Base:
ST
- Title:
Absolute percentage that Public Supported Housing Places changed since previous year.
- SQL:
select State, prev.NHousePlaces as previous_amount, ST.NHousePlaces as current_amount, sd_div(100 * abs(prev.NHousePlaces - ST.NHousePlaces), greatest(prev.nhouseplaces, ST.nhouseplaces), 1) as percent_change from main.ST join hist.ST prev using (State) where prev.nhouseplaces > 0 or ST.nhouseplaces > 0
- Rules:
1.8.636. StNgoSubTotal
- Base:
ST
- Title:
Total NGO Expenditure at State/Territory Level from STNGOE
- SQL:
select state, coalesce(sum(MHNGOEGrants),0) as Total from STNGOE group by state
- Rules:
1.8.637. StNgoTotal
- Base:
ST
- Title:
Total NGO Expenditure at State/Territory Level
- SQL:
select state, sum(ST.NgoOtherDepts) + coalesce(sum(StNgoSubTotal.Total),0) as Total from ST left join StNgoSubTotal using (State) group by state
- Rules:
1.8.638. StOohDCareFteSum
- Base:
ST
- Title:
Total Direct Care FTE for Organisational overheads
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(Total, 0)) as Total from FteorgDCareTotal where Setting = '4' group by State ) tmpinner using (State)
1.8.639. StOrgAcademicChange
- Base:
ST
- Title:
Total Organisation Academic Positions Expenditure (NER) Change
- SQL:
with New as ( select * from StOrgAcademicSum ), Old as ( select * from hist.StOrgAcademicSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.640. StOrgAcademicGrowth
- Base:
ST
- Title:
Total Organisation Academic Positions Expenditure (NER) Growth
- SQL:
with New as ( select * from StOrgAcademicSum ), Old as ( select * from hist.StOrgAcademicSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.641. StOrgAcademicSum
- Base:
ST
- Title:
Total Organisation Academic Positions Expenditure (NER)
- SQL:
select State, sum(coalesce(ORG.ExpNerAcademic, 0)) as Total from ST left join ORG using (State) group by State
1.8.642. StOrgFteATSIMHWrkrChange
- Base:
ST
- Title:
State Total Aboriginal and Torres Strait Islander Mental Health Workers FTE reported at Organisation Level Change
- SQL:
with New as ( select * from StOrgFteATSIMHWrkrSum ), Old as ( select * from hist.StOrgFteATSIMHWrkrSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.643. StOrgFteATSIMHWrkrGrowth
- Base:
ST
- Title:
State Total Aboriginal and Torres Strait Islander Mental Health Workers FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from StOrgFteATSIMHWrkrSum ), Old as ( select * from hist.StOrgFteATSIMHWrkrSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.644. StOrgFteATSIMHWrkrSum
- Base:
ST
- Title:
State Total Aboriginal and Torres Strait Islander Mental Health Workers FTE reported at Organisation Level
- SQL:
select State, sum(ORG.FteATSIMHWrkr) as Total from ORG group by State
1.8.645. StOrgFteAdminChange
- Base:
ST
- Title:
State Total Administrative and Clerical FTE reported at Organisation Level Change
- SQL:
with New as ( select * from StOrgFteAdminSum ), Old as ( select * from hist.StOrgFteAdminSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.646. StOrgFteAdminGrowth
- Base:
ST
- Title:
State Total Administrative and Clerical FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from StOrgFteAdminSum ), Old as ( select * from hist.StOrgFteAdminSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.647. StOrgFteAdminSum
- Base:
ST
- Title:
State Total Administrative and Clerical FTE reported at Organisation Level
- SQL:
select State, sum(ORG.FteAdmin) as Total from ORG group by State
1.8.648. StOrgFteAllChange
- Base:
ST
- Title:
State Total All Staff FTE reported at Organisation Level Change
- SQL:
with New as ( select * from StOrgFteAllSum ), Old as ( select * from hist.StOrgFteAllSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.649. StOrgFteAllGrowth
- Base:
ST
- Title:
State Total All Staff FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from StOrgFteAllSum ), Old as ( select * from hist.StOrgFteAllSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.650. StOrgFteAllSum
- Base:
ST
- Title:
State Total All Staff FTE reported at Organisation Level
- SQL:
select State, sum(ORG.FteCnsltPsych + ORG.FtePsyReg + ORG.FteMedOther + ORG.FteNursesReg + ORG.FteNursesEnrl + ORG.FteOT + ORG.FteSocialWk + ORG.FtePsychol + ORG.FteDHPOther + ORG.FtePCare + ORG.FteAdmin + ORG.FteDomest + ORG.FteCarerWrkr + ORG.FteConsrWrkr + ORG.FteATSIMHWrkr) as Total from ORG group by State
1.8.651. StOrgFteCCWrkrChange
- Base:
ST
- Title:
State Total Carer and Consumer Workers FTE reported at Organisation Level Change
- SQL:
with New as ( select * from StOrgFteCCWrkrSum ), Old as ( select * from hist.StOrgFteCCWrkrSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.652. StOrgFteCCWrkrGrowth
- Base:
ST
- Title:
State Total Carer and Consumer Workers FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from StOrgFteCCWrkrSum ), Old as ( select * from hist.StOrgFteCCWrkrSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.653. StOrgFteCCWrkrSum
- Base:
ST
- Title:
State Total Carer and Consumer Workers FTE reported at Organisation Level
- SQL:
select State, sum(ORG.FteCarerWrkr + ORG.FteConsrWrkr) as Total from ORG group by State
1.8.654. StOrgFteCarerWrkrChange
- Base:
ST
- Title:
State Total Carer Workers FTE reported at Organisation Level Change
- SQL:
with New as ( select * from StOrgFteCarerWrkrSum ), Old as ( select * from hist.StOrgFteCarerWrkrSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.655. StOrgFteCarerWrkrGrowth
- Base:
ST
- Title:
State Total Carer Workers FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from StOrgFteCarerWrkrSum ), Old as ( select * from hist.StOrgFteCarerWrkrSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.656. StOrgFteCarerWrkrSum
- Base:
ST
- Title:
State Total Carer Workers FTE reported at Organisation Level
- SQL:
select State, sum(ORG.FteCarerWrkr) as Total from ORG group by State
1.8.657. StOrgFteCnsltPsychChange
- Base:
ST
- Title:
State Total Consultant Psychiatrists and Psychiatrists FTE reported at Organisation Level Change
- SQL:
with New as ( select * from StOrgFteCnsltPsychSum ), Old as ( select * from hist.StOrgFteCnsltPsychSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.658. StOrgFteCnsltPsychGrowth
- Base:
ST
- Title:
State Total Consultant Psychiatrists and Psychiatrists FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from StOrgFteCnsltPsychSum ), Old as ( select * from hist.StOrgFteCnsltPsychSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.659. StOrgFteCnsltPsychSum
- Base:
ST
- Title:
State Total Consultant Psychiatrists and Psychiatrists FTE reported at Organisation Level
- SQL:
select State, sum(FteCnsltPsych) as Total from ORG group by State
1.8.660. StOrgFteConsrWrkrChange
- Base:
ST
- Title:
State Total Consumer Workers FTE reported at Organisation Level Change
- SQL:
with New as ( select * from StOrgFteConsrWrkrSum ), Old as ( select * from hist.StOrgFteConsrWrkrSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.661. StOrgFteConsrWrkrGrowth
- Base:
ST
- Title:
State Total Consumer Workers FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from StOrgFteConsrWrkrSum ), Old as ( select * from hist.StOrgFteConsrWrkrSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.662. StOrgFteConsrWrkrSum
- Base:
ST
- Title:
State Total Consumer Workers FTE reported at Organisation Level
- SQL:
select State, sum(ORG.FteConsrWrkr) as Total from ORG group by State
1.8.663. StOrgFteDCareChange
- Base:
ST
- Title:
State Total Direct Care FTE reported at Organisation Level Change
- SQL:
with New as ( select * from StOrgFteDCareSum ), Old as ( select * from hist.StOrgFteDCareSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.664. StOrgFteDCareGrowth
- Base:
ST
- Title:
State Total Direct Care FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from StOrgFteDCareSum ), Old as ( select * from hist.StOrgFteDCareSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.665. StOrgFteDCareSum
- Base:
ST
- Title:
State Total Direct Care FTE reported at Organisation Level
- SQL:
select State, sum(ORG.FteCnsltPsych + ORG.FtePsyReg + ORG.FteMedOther + ORG.FteNursesReg + ORG.FteNursesEnrl + ORG.FteOT + ORG.FteSocialWk + ORG.FtePsychol + ORG.FteDHPOther + ORG.FtePCare) as Total from ORG group by State
1.8.666. StOrgFteDHPChange
- Base:
ST
- Title:
State Total Diagnostic and Health Professionals FTE reported at Organisation Level Change
- SQL:
with New as ( select * from StOrgFteDHPSum ), Old as ( select * from hist.StOrgFteDHPSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.667. StOrgFteDHPGrowth
- Base:
ST
- Title:
State Total Diagnostic and Health Professionals FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from StOrgFteDHPSum ), Old as ( select * from hist.StOrgFteDHPSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.668. StOrgFteDHPOtherChange
- Base:
ST
- Title:
State Total Other Diagnostic and Health Professionals FTE reported at Organisation Level Change
- SQL:
with New as ( select * from StOrgFteDHPOtherSum ), Old as ( select * from hist.StOrgFteDHPOtherSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.669. StOrgFteDHPOtherGrowth
- Base:
ST
- Title:
State Total Other Diagnostic and Health Professionals FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from StOrgFteDHPOtherSum ), Old as ( select * from hist.StOrgFteDHPOtherSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.670. StOrgFteDHPOtherSum
- Base:
ST
- Title:
State Total Other Diagnostic and Health Professionals FTE reported at Organisation Level
- SQL:
select State, sum(FteDHPOther) as Total from ORG group by State
1.8.671. StOrgFteDHPSum
- Base:
ST
- Title:
State Total Diagnostic and Health Professionals FTE reported at Organisation Level
- SQL:
select State, sum(ORG.FteOT + ORG.FteSocialWk + ORG.FtePsychol + ORG.FteDHPOther) as Total from ORG group by State
1.8.672. StOrgFteDomestChange
- Base:
ST
- Title:
State Total Domestic FTE reported at Organisation Level Change
- SQL:
with New as ( select * from StOrgFteDomestSum ), Old as ( select * from hist.StOrgFteDomestSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.673. StOrgFteDomestGrowth
- Base:
ST
- Title:
State Total Domestic FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from StOrgFteDomestSum ), Old as ( select * from hist.StOrgFteDomestSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.674. StOrgFteDomestSum
- Base:
ST
- Title:
State Total Domestic FTE reported at Organisation Level
- SQL:
select State, sum(ORG.FteDomest) as Total from ORG group by State
1.8.675. StOrgFteMedChange
- Base:
ST
- Title:
State Total Medical FTE reported at Organisation Level Change
- SQL:
with New as ( select * from StOrgFteMedSum ), Old as ( select * from hist.StOrgFteMedSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.676. StOrgFteMedGrowth
- Base:
ST
- Title:
State Total Medical FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from StOrgFteMedSum ), Old as ( select * from hist.StOrgFteMedSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.677. StOrgFteMedOtherChange
- Base:
ST
- Title:
State Total Other Medical Officers FTE reported at Organisation Level Change
- SQL:
with New as ( select * from StOrgFteMedOtherSum ), Old as ( select * from hist.StOrgFteMedOtherSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.678. StOrgFteMedOtherGrowth
- Base:
ST
- Title:
State Total Other Medical Officers FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from StOrgFteMedOtherSum ), Old as ( select * from hist.StOrgFteMedOtherSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.679. StOrgFteMedOtherSum
- Base:
ST
- Title:
State Total Other Medical Officers FTE reported at Organisation Level
- SQL:
select State, sum(FteMedOther) as Total from ORG group by State
1.8.680. StOrgFteMedSum
- Base:
ST
- Title:
State Total Medical FTE reported at Organisation Level
- SQL:
select State, sum(ORG.FteCnsltPsych + ORG.FtePsyReg + ORG.FteMedOther) as Total from ORG group by State
1.8.681. StOrgFteNonCareChange
- Base:
ST
- Title:
State Total Non-Direct Care FTE reported at Organisation Level Change
- SQL:
with New as ( select * from StOrgFteNonCareSum ), Old as ( select * from hist.StOrgFteNonCareSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.682. StOrgFteNonCareGrowth
- Base:
ST
- Title:
State Total Non-Direct Care FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from StOrgFteNonCareSum ), Old as ( select * from hist.StOrgFteNonCareSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.683. StOrgFteNonCareSum
- Base:
ST
- Title:
State Total Non-Direct Care FTE reported at Organisation Level
- SQL:
select State, sum(ORG.FteAdmin + ORG.FteDomest + ORG.FteCarerWrkr + ORG.FteConsrWrkr + ORG.FteATSIMHWrkr) as Total from ORG group by State
1.8.684. StOrgFteNursesChange
- Base:
ST
- Title:
State Total Nursing FTE reported at Organisation Level Change
- SQL:
with New as ( select * from StOrgFteNursesSum ), Old as ( select * from hist.StOrgFteNursesSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.685. StOrgFteNursesEnrlChange
- Base:
ST
- Title:
State Total Enrolled Nurses FTE reported at Organisation Level Change
- SQL:
with New as ( select * from StOrgFteNursesEnrlSum ), Old as ( select * from hist.StOrgFteNursesEnrlSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.686. StOrgFteNursesEnrlGrowth
- Base:
ST
- Title:
State Total Enrolled Nurses FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from StOrgFteNursesEnrlSum ), Old as ( select * from hist.StOrgFteNursesEnrlSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.687. StOrgFteNursesEnrlSum
- Base:
ST
- Title:
State Total Enrolled Nurses FTE reported at Organisation Level
- SQL:
select State, sum(FteNursesEnrl) as Total from ORG group by State
1.8.688. StOrgFteNursesGrowth
- Base:
ST
- Title:
State Total Nursing FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from StOrgFteNursesSum ), Old as ( select * from hist.StOrgFteNursesSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.689. StOrgFteNursesRegChange
- Base:
ST
- Title:
State Total Registered Nurses FTE reported at Organisation Level Change
- SQL:
with New as ( select * from StOrgFteNursesRegSum ), Old as ( select * from hist.StOrgFteNursesRegSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.690. StOrgFteNursesRegGrowth
- Base:
ST
- Title:
State Total Registered Nurses FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from StOrgFteNursesRegSum ), Old as ( select * from hist.StOrgFteNursesRegSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.691. StOrgFteNursesRegSum
- Base:
ST
- Title:
State Total Registered Nurses FTE reported at Organisation Level
- SQL:
select State, sum(FteNursesReg) as Total from ORG group by State
1.8.692. StOrgFteNursesSum
- Base:
ST
- Title:
State Total Nursing FTE reported at Organisation Level
- SQL:
select State, sum(ORG.FteNursesReg + ORG.FteNursesEnrl) as Total from ORG group by State
1.8.693. StOrgFteOTChange
- Base:
ST
- Title:
State Total Occupational Therapists FTE reported at Organisation Level Change
- SQL:
with New as ( select * from StOrgFteOTSum ), Old as ( select * from hist.StOrgFteOTSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.694. StOrgFteOTGrowth
- Base:
ST
- Title:
State Total Occupational Therapists FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from StOrgFteOTSum ), Old as ( select * from hist.StOrgFteOTSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.695. StOrgFteOTSum
- Base:
ST
- Title:
State Total Occupational Therapists FTE reported at Organisation Level
- SQL:
select State, sum(FteOT) as Total from ORG group by State
1.8.696. StOrgFtePCareChange
- Base:
ST
- Title:
State Total Other Personal Care FTE reported at Organisation Level Change
- SQL:
with New as ( select * from StOrgFtePCareSum ), Old as ( select * from hist.StOrgFtePCareSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.697. StOrgFtePCareGrowth
- Base:
ST
- Title:
State Total Other Personal Care FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from StOrgFtePCareSum ), Old as ( select * from hist.StOrgFtePCareSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.698. StOrgFtePCareSum
- Base:
ST
- Title:
State Total Other Personal Care FTE reported at Organisation Level
- SQL:
select State, sum(ORG.FtePCare) as Total from ORG group by State
1.8.699. StOrgFtePsyRegChange
- Base:
ST
- Title:
State Total Psychiatry Registrars and Trainees FTE reported at Organisation Level Change
- SQL:
with New as ( select * from StOrgFtePsyRegSum ), Old as ( select * from hist.StOrgFtePsyRegSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.700. StOrgFtePsyRegGrowth
- Base:
ST
- Title:
State Total Psychiatry Registrars and Trainees FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from StOrgFtePsyRegSum ), Old as ( select * from hist.StOrgFtePsyRegSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.701. StOrgFtePsyRegSum
- Base:
ST
- Title:
State Total Psychiatry Registrars and Trainees FTE reported at Organisation Level
- SQL:
select State, sum(FtePsyReg) as Total from ORG group by State
1.8.702. StOrgFtePsycholChange
- Base:
ST
- Title:
State Total Psychologists FTE reported at Organisation Level Change
- SQL:
with New as ( select * from StOrgFtePsycholSum ), Old as ( select * from hist.StOrgFtePsycholSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.703. StOrgFtePsycholGrowth
- Base:
ST
- Title:
State Total Psychologists FTE reported at Organisation Level Growth
- SQL:
with New as ( select * from StOrgFtePsycholSum ), Old as ( select * from hist.StOrgFtePsycholSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.704. StOrgFtePsycholSum
- Base:
ST
- Title:
State Total Psychologists FTE reported at Organisation Level
- SQL:
select State, sum(FtePsychol) as Total from ORG group by State
1.8.708. StOrgInsurChange
- Base:
ST
- Title:
Total Organisation Insurance Expenditure (NER) Change
- SQL:
with New as ( select * from StOrgInsurSum ), Old as ( select * from hist.StOrgInsurSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.709. StOrgInsurGrowth
- Base:
ST
- Title:
Total Organisation Insurance Expenditure (NER) Growth
- SQL:
with New as ( select * from StOrgInsurSum ), Old as ( select * from hist.StOrgInsurSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.710. StOrgInsurSum
- Base:
ST
- Title:
Total Organisation Insurance Expenditure (NER)
- SQL:
select State, sum(coalesce(ORG.ExpNerInsur, 0)) as Total from ST left join ORG using (State) group by State
1.8.711. StOrgMHActChange
- Base:
ST
- Title:
Total Organisation Mental Health Act Regulation Including Review Tribunals Expenditure (NER) Change
- SQL:
with New as ( select * from StOrgMHActSum ), Old as ( select * from hist.StOrgMHActSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.712. StOrgMHActGrowth
- Base:
ST
- Title:
Total Organisation Mental Health Act Regulation Including Review Tribunals Expenditure (NER) Growth
- SQL:
with New as ( select * from StOrgMHActSum ), Old as ( select * from hist.StOrgMHActSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.713. StOrgMHActSum
- Base:
ST
- Title:
Total Organisation Mental Health Act Regulation Including Review Tribunals Expenditure (NER)
- SQL:
select State, sum(coalesce(ORG.ExpNerMHAct, 0)) as Total from ST left join ORG using (State) group by State
1.8.714. StOrgNerChange
- Base:
ST
- Title:
Total Organisation Expenditure (NER) Change
- SQL:
with New as ( select * from StOrgNerSum ), Old as ( select * from hist.StOrgNerSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.715. StOrgNerGrowth
- Base:
ST
- Title:
Total Organisation Expenditure (NER) Growth
- SQL:
with New as ( select * from StOrgNerSum ), Old as ( select * from hist.StOrgNerSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.716. StOrgNerSum
- Base:
ST
- Title:
Total Organisation Expenditure (NER)
- SQL:
select State, sum(coalesce(Ent.Total, 0)) as Total from ST left join OrgExpNerTotal as Ent using (State) group by State
1.8.717. StOrgOtherChange
- Base:
ST
- Title:
Total Organisation Other Indirect Expenditure Expenditure (NER) Change
- SQL:
with New as ( select * from StOrgOtherSum ), Old as ( select * from hist.StOrgOtherSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.718. StOrgOtherGrowth
- Base:
ST
- Title:
Total Organisation Other Indirect Expenditure Expenditure (NER) Growth
- SQL:
with New as ( select * from StOrgOtherSum ), Old as ( select * from hist.StOrgOtherSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.719. StOrgOtherSum
- Base:
ST
- Title:
Total Organisation Other Indirect Expenditure Expenditure (NER)
- SQL:
select State, sum(coalesce(ORG.ExpNerOther, 0)) as Total from ST left join ORG using (State) group by State
1.8.720. StOrgProgAdminChange
- Base:
ST
- Title:
Total Organisation Program Administration Expenditure (NER) Change
- SQL:
with New as ( select * from StOrgProgAdminSum ), Old as ( select * from hist.StOrgProgAdminSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.721. StOrgProgAdminGrowth
- Base:
ST
- Title:
Total Organisation Program Administration Expenditure (NER) Growth
- SQL:
with New as ( select * from StOrgProgAdminSum ), Old as ( select * from hist.StOrgProgAdminSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.722. StOrgProgAdminSum
- Base:
ST
- Title:
Total Organisation Program Administration Expenditure (NER)
- SQL:
select State, sum(coalesce(ORG.ExpNerProgAdmin, 0)) as Total from ST left join ORG using (State) group by State
1.8.723. StOrgPromoChange
- Base:
ST
- Title:
Total Organisation Mental Health Promotion Expenditure (NER) Change
- SQL:
with New as ( select * from StOrgPromoSum ), Old as ( select * from hist.StOrgPromoSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.724. StOrgPromoGrowth
- Base:
ST
- Title:
Total Organisation Mental Health Promotion Expenditure (NER) Growth
- SQL:
with New as ( select * from StOrgPromoSum ), Old as ( select * from hist.StOrgPromoSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.725. StOrgPromoSum
- Base:
ST
- Title:
Total Organisation Mental Health Promotion Expenditure (NER)
- SQL:
select State, sum(coalesce(ORG.ExpNerPromo, 0)) as Total from ST left join ORG using (State) group by State
1.8.726. StOrgPropLeaseChange
- Base:
ST
- Title:
Total Organisation Property Leasing Costs Expenditure (NER) Change
- SQL:
with New as ( select * from StOrgPropLeaseSum ), Old as ( select * from hist.StOrgPropLeaseSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.727. StOrgPropLeaseGrowth
- Base:
ST
- Title:
Total Organisation Property Leasing Costs Expenditure (NER) Growth
- SQL:
with New as ( select * from StOrgPropLeaseSum ), Old as ( select * from hist.StOrgPropLeaseSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.728. StOrgPropLeaseSum
- Base:
ST
- Title:
Total Organisation Property Leasing Costs Expenditure (NER)
- SQL:
select State, sum(coalesce(ORG.ExpNerPropLease, 0)) as Total from ST left join ORG using (State) group by State
1.8.729. StOrgResearchChange
- Base:
ST
- Title:
Total Organisation Mental Health Research Expenditure (NER) Change
- SQL:
with New as ( select * from StOrgResearchSum ), Old as ( select * from hist.StOrgResearchSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.730. StOrgResearchGrowth
- Base:
ST
- Title:
Total Organisation Mental Health Research Expenditure (NER) Growth
- SQL:
with New as ( select * from StOrgResearchSum ), Old as ( select * from hist.StOrgResearchSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.731. StOrgResearchSum
- Base:
ST
- Title:
Total Organisation Mental Health Research Expenditure (NER)
- SQL:
select State, sum(coalesce(ORG.ExpNerResearch, 0)) as Total from ST left join ORG using (State) group by State
1.8.732. StOrgServDevChange
- Base:
ST
- Title:
Total Organisation Service Development Expenditure (NER) Change
- SQL:
with New as ( select * from StOrgServDevSum ), Old as ( select * from hist.StOrgServDevSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.733. StOrgServDevGrowth
- Base:
ST
- Title:
Total Organisation Service Development Expenditure (NER) Growth
- SQL:
with New as ( select * from StOrgServDevSum ), Old as ( select * from hist.StOrgServDevSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.734. StOrgServDevSum
- Base:
ST
- Title:
Total Organisation Service Development Expenditure (NER)
- SQL:
select State, sum(coalesce(ORG.ExpNerServDev, 0)) as Total from ST left join ORG using (State) group by State
1.8.735. StOrgSuperChange
- Base:
ST
- Title:
Total Organisation Superannuation Expenditure (NER) Change
- SQL:
with New as ( select * from StOrgSuperSum ), Old as ( select * from hist.StOrgSuperSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.736. StOrgSuperGrowth
- Base:
ST
- Title:
Total Organisation Superannuation Expenditure (NER) Growth
- SQL:
with New as ( select * from StOrgSuperSum ), Old as ( select * from hist.StOrgSuperSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.737. StOrgSuperSum
- Base:
ST
- Title:
Total Organisation Superannuation Expenditure (NER)
- SQL:
select State, sum(coalesce(ORG.ExpNerSuper, 0)) as Total from ST left join ORG using (State) group by State
1.8.738. StOrgSuppServChange
- Base:
ST
- Title:
Total Organisation Support Services Expenditure (NER) Change
- SQL:
with New as ( select * from StOrgSuppServSum ), Old as ( select * from hist.StOrgSuppServSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.739. StOrgSuppServGrowth
- Base:
ST
- Title:
Total Organisation Support Services Expenditure (NER) Growth
- SQL:
with New as ( select * from StOrgSuppServSum ), Old as ( select * from hist.StOrgSuppServSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.740. StOrgSuppServSum
- Base:
ST
- Title:
Total Organisation Support Services Expenditure (NER)
- SQL:
select State, sum(coalesce(ORG.ExpNerSuppServ, 0)) as Total from ST left join ORG using (State) group by State
1.8.741. StOrgTrainingChange
- Base:
ST
- Title:
Total Organisation Education and Training Expenditure (NER) Change
- SQL:
with New as ( select * from StOrgTrainingSum ), Old as ( select * from hist.StOrgTrainingSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.742. StOrgTrainingGrowth
- Base:
ST
- Title:
Total Organisation Education and Training Expenditure (NER) Growth
- SQL:
with New as ( select * from StOrgTrainingSum ), Old as ( select * from hist.StOrgTrainingSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.743. StOrgTrainingSum
- Base:
ST
- Title:
Total Organisation Education and Training Expenditure (NER)
- SQL:
select State, sum(coalesce(ORG.ExpNerTraining, 0)) as Total from ST left join ORG using (State) group by State
1.8.744. StOrgTranspChange
- Base:
ST
- Title:
Total Organisation Patient Transport Services Expenditure (NER) Change
- SQL:
with New as ( select * from StOrgTranspSum ), Old as ( select * from hist.StOrgTranspSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.745. StOrgTranspGrowth
- Base:
ST
- Title:
Total Organisation Patient Transport Services Expenditure (NER) Growth
- SQL:
with New as ( select * from StOrgTranspSum ), Old as ( select * from hist.StOrgTranspSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.746. StOrgTranspSum
- Base:
ST
- Title:
Total Organisation Patient Transport Services Expenditure (NER)
- SQL:
select State, sum(coalesce(ORG.ExpNerTransp, 0)) as Total from ST left join ORG using (State) group by State
1.8.747. StOrgWorkCompChange
- Base:
ST
- Title:
Total Organisation Workers Compensation Expenditure (NER) Change
- SQL:
with New as ( select * from StOrgWorkCompSum ), Old as ( select * from hist.StOrgWorkCompSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.748. StOrgWorkCompGrowth
- Base:
ST
- Title:
Total Organisation Workers Compensation Expenditure (NER) Growth
- SQL:
with New as ( select * from StOrgWorkCompSum ), Old as ( select * from hist.StOrgWorkCompSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.749. StOrgWorkCompSum
- Base:
ST
- Title:
Total Organisation Workers Compensation Expenditure (NER)
- SQL:
select State, sum(coalesce(ORG.ExpNerWorkComp, 0)) as Total from ST left join ORG using (State) group by State
1.8.750. StRegAcademicChange
- Base:
ST
- Title:
Total Region Academic Positions Expenditure (NER) Change
- SQL:
with New as ( select * from StRegAcademicSum ), Old as ( select * from hist.StRegAcademicSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.751. StRegAcademicGrowth
- Base:
ST
- Title:
Total Region Academic Positions Expenditure (NER) Growth
- SQL:
with New as ( select * from StRegAcademicSum ), Old as ( select * from hist.StRegAcademicSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.752. StRegAcademicSum
- Base:
ST
- Title:
Total Region Academic Positions Expenditure (NER)
- SQL:
select State, sum(coalesce(REG.ExpNerAcademic, 0)) as Total from ST left join REG using (State) group by State
1.8.753. StRegInsurChange
- Base:
ST
- Title:
Total Region Insurance Expenditure (NER) Change
- SQL:
with New as ( select * from StRegInsurSum ), Old as ( select * from hist.StRegInsurSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.754. StRegInsurGrowth
- Base:
ST
- Title:
Total Region Insurance Expenditure (NER) Growth
- SQL:
with New as ( select * from StRegInsurSum ), Old as ( select * from hist.StRegInsurSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.755. StRegInsurSum
- Base:
ST
- Title:
Total Region Insurance Expenditure (NER)
- SQL:
select State, sum(coalesce(REG.ExpNerInsur, 0)) as Total from ST left join REG using (State) group by State
1.8.756. StRegMHActChange
- Base:
ST
- Title:
Total Region Mental Health Act Regulation Including Review Tribunals Expenditure (NER) Change
- SQL:
with New as ( select * from StRegMHActSum ), Old as ( select * from hist.StRegMHActSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.757. StRegMHActGrowth
- Base:
ST
- Title:
Total Region Mental Health Act Regulation Including Review Tribunals Expenditure (NER) Growth
- SQL:
with New as ( select * from StRegMHActSum ), Old as ( select * from hist.StRegMHActSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.758. StRegMHActSum
- Base:
ST
- Title:
Total Region Mental Health Act Regulation Including Review Tribunals Expenditure (NER)
- SQL:
select State, sum(coalesce(REG.ExpNerMHAct, 0)) as Total from ST left join REG using (State) group by State
1.8.759. StRegNerChange
- Base:
ST
- Title:
Total Region Expenditure (NER) Change
- SQL:
with New as ( select * from StRegNerSum ), Old as ( select * from hist.StRegNerSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.760. StRegNerGrowth
- Base:
ST
- Title:
Total Region Expenditure (NER) Growth
- SQL:
with New as ( select * from StRegNerSum ), Old as ( select * from hist.StRegNerSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.761. StRegNerSum
- Base:
ST
- Title:
Total Region Expenditure (NER)
- SQL:
select State, sum(coalesce(Ent.Total, 0)) as Total from ST left join RegExpNerTotal as Ent using (State) group by State
1.8.762. StRegOtherChange
- Base:
ST
- Title:
Total Region Other Indirect Expenditure Expenditure (NER) Change
- SQL:
with New as ( select * from StRegOtherSum ), Old as ( select * from hist.StRegOtherSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.763. StRegOtherGrowth
- Base:
ST
- Title:
Total Region Other Indirect Expenditure Expenditure (NER) Growth
- SQL:
with New as ( select * from StRegOtherSum ), Old as ( select * from hist.StRegOtherSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.764. StRegOtherSum
- Base:
ST
- Title:
Total Region Other Indirect Expenditure Expenditure (NER)
- SQL:
select State, sum(coalesce(REG.ExpNerOther, 0)) as Total from ST left join REG using (State) group by State
1.8.765. StRegProgAdminChange
- Base:
ST
- Title:
Total Region Program Administration Expenditure (NER) Change
- SQL:
with New as ( select * from StRegProgAdminSum ), Old as ( select * from hist.StRegProgAdminSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.766. StRegProgAdminGrowth
- Base:
ST
- Title:
Total Region Program Administration Expenditure (NER) Growth
- SQL:
with New as ( select * from StRegProgAdminSum ), Old as ( select * from hist.StRegProgAdminSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.767. StRegProgAdminSum
- Base:
ST
- Title:
Total Region Program Administration Expenditure (NER)
- SQL:
select State, sum(coalesce(REG.ExpNerProgAdmin, 0)) as Total from ST left join REG using (State) group by State
1.8.768. StRegPromoChange
- Base:
ST
- Title:
Total Region Mental Health Promotion Expenditure (NER) Change
- SQL:
with New as ( select * from StRegPromoSum ), Old as ( select * from hist.StRegPromoSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.769. StRegPromoGrowth
- Base:
ST
- Title:
Total Region Mental Health Promotion Expenditure (NER) Growth
- SQL:
with New as ( select * from StRegPromoSum ), Old as ( select * from hist.StRegPromoSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.770. StRegPromoSum
- Base:
ST
- Title:
Total Region Mental Health Promotion Expenditure (NER)
- SQL:
select State, sum(coalesce(REG.ExpNerPromo, 0)) as Total from ST left join REG using (State) group by State
1.8.771. StRegPropLeaseChange
- Base:
ST
- Title:
Total Region Property Leasing Costs Expenditure (NER) Change
- SQL:
with New as ( select * from StRegPropLeaseSum ), Old as ( select * from hist.StRegPropLeaseSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.772. StRegPropLeaseGrowth
- Base:
ST
- Title:
Total Region Property Leasing Costs Expenditure (NER) Growth
- SQL:
with New as ( select * from StRegPropLeaseSum ), Old as ( select * from hist.StRegPropLeaseSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.773. StRegPropLeaseSum
- Base:
ST
- Title:
Total Region Property Leasing Costs Expenditure (NER)
- SQL:
select State, sum(coalesce(REG.ExpNerPropLease, 0)) as Total from ST left join REG using (State) group by State
1.8.774. StRegResearchChange
- Base:
ST
- Title:
Total Region Mental Health Research Expenditure (NER) Change
- SQL:
with New as ( select * from StRegResearchSum ), Old as ( select * from hist.StRegResearchSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.775. StRegResearchGrowth
- Base:
ST
- Title:
Total Region Mental Health Research Expenditure (NER) Growth
- SQL:
with New as ( select * from StRegResearchSum ), Old as ( select * from hist.StRegResearchSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.776. StRegResearchSum
- Base:
ST
- Title:
Total Region Mental Health Research Expenditure (NER)
- SQL:
select State, sum(coalesce(REG.ExpNerResearch, 0)) as Total from ST left join REG using (State) group by State
1.8.777. StRegServDevChange
- Base:
ST
- Title:
Total Region Service Development Expenditure (NER) Change
- SQL:
with New as ( select * from StRegServDevSum ), Old as ( select * from hist.StRegServDevSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.778. StRegServDevGrowth
- Base:
ST
- Title:
Total Region Service Development Expenditure (NER) Growth
- SQL:
with New as ( select * from StRegServDevSum ), Old as ( select * from hist.StRegServDevSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.779. StRegServDevSum
- Base:
ST
- Title:
Total Region Service Development Expenditure (NER)
- SQL:
select State, sum(coalesce(REG.ExpNerServDev, 0)) as Total from ST left join REG using (State) group by State
1.8.780. StRegSuperChange
- Base:
ST
- Title:
Total Region Superannuation Expenditure (NER) Change
- SQL:
with New as ( select * from StRegSuperSum ), Old as ( select * from hist.StRegSuperSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.781. StRegSuperGrowth
- Base:
ST
- Title:
Total Region Superannuation Expenditure (NER) Growth
- SQL:
with New as ( select * from StRegSuperSum ), Old as ( select * from hist.StRegSuperSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.782. StRegSuperSum
- Base:
ST
- Title:
Total Region Superannuation Expenditure (NER)
- SQL:
select State, sum(coalesce(REG.ExpNerSuper, 0)) as Total from ST left join REG using (State) group by State
1.8.783. StRegSuppServChange
- Base:
ST
- Title:
Total Region Support Services Expenditure (NER) Change
- SQL:
with New as ( select * from StRegSuppServSum ), Old as ( select * from hist.StRegSuppServSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.784. StRegSuppServGrowth
- Base:
ST
- Title:
Total Region Support Services Expenditure (NER) Growth
- SQL:
with New as ( select * from StRegSuppServSum ), Old as ( select * from hist.StRegSuppServSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.785. StRegSuppServSum
- Base:
ST
- Title:
Total Region Support Services Expenditure (NER)
- SQL:
select State, sum(coalesce(REG.ExpNerSuppServ, 0)) as Total from ST left join REG using (State) group by State
1.8.786. StRegTrainingChange
- Base:
ST
- Title:
Total Region Education and Training Expenditure (NER) Change
- SQL:
with New as ( select * from StRegTrainingSum ), Old as ( select * from hist.StRegTrainingSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.787. StRegTrainingGrowth
- Base:
ST
- Title:
Total Region Education and Training Expenditure (NER) Growth
- SQL:
with New as ( select * from StRegTrainingSum ), Old as ( select * from hist.StRegTrainingSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.788. StRegTrainingSum
- Base:
ST
- Title:
Total Region Education and Training Expenditure (NER)
- SQL:
select State, sum(coalesce(REG.ExpNerTraining, 0)) as Total from ST left join REG using (State) group by State
1.8.789. StRegTranspChange
- Base:
ST
- Title:
Total Region Patient Transport Services Expenditure (NER) Change
- SQL:
with New as ( select * from StRegTranspSum ), Old as ( select * from hist.StRegTranspSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.790. StRegTranspGrowth
- Base:
ST
- Title:
Total Region Patient Transport Services Expenditure (NER) Growth
- SQL:
with New as ( select * from StRegTranspSum ), Old as ( select * from hist.StRegTranspSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.791. StRegTranspSum
- Base:
ST
- Title:
Total Region Patient Transport Services Expenditure (NER)
- SQL:
select State, sum(coalesce(REG.ExpNerTransp, 0)) as Total from ST left join REG using (State) group by State
1.8.792. StRegWorkCompChange
- Base:
ST
- Title:
Total Region Workers Compensation Expenditure (NER) Change
- SQL:
with New as ( select * from StRegWorkCompSum ), Old as ( select * from hist.StRegWorkCompSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.793. StRegWorkCompGrowth
- Base:
ST
- Title:
Total Region Workers Compensation Expenditure (NER) Growth
- SQL:
with New as ( select * from StRegWorkCompSum ), Old as ( select * from hist.StRegWorkCompSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.794. StRegWorkCompSum
- Base:
ST
- Title:
Total Region Workers Compensation Expenditure (NER)
- SQL:
select State, sum(coalesce(REG.ExpNerWorkComp, 0)) as Total from ST left join REG using (State) group by State
1.8.795. StResiAppExpChange
- Base:
ST
- Title:
Residential Service Unit Total Apportioned Expenditure Change
- SQL:
with New as ( select * from StResiAppExpTotal ), Old as ( select * from hist.StResiAppExpTotal ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.796. StResiAppExpGrowth
- Base:
ST
- Title:
Residential Service Unit Total Apportioned Expenditure Growth
- SQL:
with New as ( select * from StResiAppExpTotal ), Old as ( select * from hist.StResiAppExpTotal ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.797. StResiAppExpTotal
- Base:
ST
- Title:
Residential Service Unit Total Apportioned Expenditure
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(Total, 0)) as Total from ResiAppExpTotal group by State ) tmpinner using (State)
1.8.798. StResiAppExpTotalFmt
- Base:
ST
- Title:
Residential Service Unit Total Apportioned Expenditure (rounded)
- SQL:
select State, round(Src.Total) as Total from StResiAppExpTotal as Src
1.8.799. StResiAppExpTotalFmtChange
- Base:
ST
- Title:
Residential Service Unit Total Apportioned Expenditure (rounded) Change
- SQL:
with New as ( select * from StResiAppExpTotalFmt ), Old as ( select * from hist.StResiAppExpTotalFmt ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.800. StResiAppExpTotalFmtGrowth
- Base:
ST
- Title:
Residential Service Unit Total Apportioned Expenditure (rounded) Growth
- SQL:
with New as ( select * from StResiAppExpTotalFmt ), Old as ( select * from hist.StResiAppExpTotalFmt ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.801. StResiCDaysCA24Change
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Child and adolescent Population - 24hr staffed Change
- SQL:
with New as ( select * from StResiCDaysCA24Sum ), Old as ( select * from hist.StResiCDaysCA24Sum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.802. StResiCDaysCA24Growth
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Child and adolescent Population - 24hr staffed Growth
- SQL:
with New as ( select * from StResiCDaysCA24Sum ), Old as ( select * from hist.StResiCDaysCA24Sum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.803. StResiCDaysCA24Sum
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Child and adolescent Population - 24hr staffed
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0)) as Total from RESI where TargetPop = '1' and HrsStaffed = 24 group by State ) as Setting using (State)
1.8.804. StResiCDaysCAN24Change
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Child and adolescent Population - non-24hr staffed Change
- SQL:
with New as ( select * from StResiCDaysCAN24Sum ), Old as ( select * from hist.StResiCDaysCAN24Sum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.805. StResiCDaysCAN24Growth
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Child and adolescent Population - non-24hr staffed Growth
- SQL:
with New as ( select * from StResiCDaysCAN24Sum ), Old as ( select * from hist.StResiCDaysCAN24Sum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.806. StResiCDaysCAN24Sum
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Child and adolescent Population - non-24hr staffed
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0)) as Total from RESI where TargetPop = '1' and HrsStaffed < 24 group by State ) as Setting using (State)
1.8.807. StResiCDaysChange
- Base:
ST
- Title:
Total Accrued Mental Health Care Days Change
- SQL:
with New as ( select * from StResiCDaysSum ), Old as ( select * from hist.StResiCDaysSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.808. StResiCDaysFor24Change
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Forensic Population - 24hr staffed Change
- SQL:
with New as ( select * from StResiCDaysFor24Sum ), Old as ( select * from hist.StResiCDaysFor24Sum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.809. StResiCDaysFor24Growth
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Forensic Population - 24hr staffed Growth
- SQL:
with New as ( select * from StResiCDaysFor24Sum ), Old as ( select * from hist.StResiCDaysFor24Sum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.810. StResiCDaysFor24Sum
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Forensic Population - 24hr staffed
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0)) as Total from RESI where TargetPop = '3' and HrsStaffed = 24 group by State ) as Setting using (State)
1.8.811. StResiCDaysForN24Change
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Forensic Population - non-24hr staffed Change
- SQL:
with New as ( select * from StResiCDaysForN24Sum ), Old as ( select * from hist.StResiCDaysForN24Sum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.812. StResiCDaysForN24Growth
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Forensic Population - non-24hr staffed Growth
- SQL:
with New as ( select * from StResiCDaysForN24Sum ), Old as ( select * from hist.StResiCDaysForN24Sum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.813. StResiCDaysForN24Sum
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Forensic Population - non-24hr staffed
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0)) as Total from RESI where TargetPop = '3' and HrsStaffed < 24 group by State ) as Setting using (State)
1.8.814. StResiCDaysGen24Change
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for General Population - 24hr staffed Change
- SQL:
with New as ( select * from StResiCDaysGen24Sum ), Old as ( select * from hist.StResiCDaysGen24Sum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.815. StResiCDaysGen24Growth
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for General Population - 24hr staffed Growth
- SQL:
with New as ( select * from StResiCDaysGen24Sum ), Old as ( select * from hist.StResiCDaysGen24Sum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.816. StResiCDaysGen24Sum
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for General Population - 24hr staffed
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0)) as Total from RESI where TargetPop = '4' and HrsStaffed = 24 group by State ) as Setting using (State)
1.8.817. StResiCDaysGenN24Change
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for General Population - non-24hr staffed Change
- SQL:
with New as ( select * from StResiCDaysGenN24Sum ), Old as ( select * from hist.StResiCDaysGenN24Sum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.818. StResiCDaysGenN24Growth
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for General Population - non-24hr staffed Growth
- SQL:
with New as ( select * from StResiCDaysGenN24Sum ), Old as ( select * from hist.StResiCDaysGenN24Sum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.819. StResiCDaysGenN24Sum
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for General Population - non-24hr staffed
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0)) as Total from RESI where TargetPop = '4' and HrsStaffed < 24 group by State ) as Setting using (State)
1.8.820. StResiCDaysGrowth
- Base:
ST
- Title:
Total Accrued Mental Health Care Days Growth
- SQL:
with New as ( select * from StResiCDaysSum ), Old as ( select * from hist.StResiCDaysSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.821. StResiCDaysOld24Change
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Older person Population - 24hr staffed Change
- SQL:
with New as ( select * from StResiCDaysOld24Sum ), Old as ( select * from hist.StResiCDaysOld24Sum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.822. StResiCDaysOld24Growth
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Older person Population - 24hr staffed Growth
- SQL:
with New as ( select * from StResiCDaysOld24Sum ), Old as ( select * from hist.StResiCDaysOld24Sum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.823. StResiCDaysOld24Sum
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Older person Population - 24hr staffed
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0)) as Total from RESI where TargetPop = '2' and HrsStaffed = 24 group by State ) as Setting using (State)
1.8.824. StResiCDaysOldN24Change
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Older person Population - non-24hr staffed Change
- SQL:
with New as ( select * from StResiCDaysOldN24Sum ), Old as ( select * from hist.StResiCDaysOldN24Sum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.825. StResiCDaysOldN24Growth
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Older person Population - non-24hr staffed Growth
- SQL:
with New as ( select * from StResiCDaysOldN24Sum ), Old as ( select * from hist.StResiCDaysOldN24Sum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.826. StResiCDaysOldN24Sum
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Older person Population - non-24hr staffed
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0)) as Total from RESI where TargetPop = '2' and HrsStaffed < 24 group by State ) as Setting using (State)
1.8.827. StResiCDaysSum
- Base:
ST
- Title:
Total Accrued Mental Health Care Days
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0)) as Total from RESI group by State ) tmpinner using (State)
1.8.828. StResiCDaysYth24Change
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Youth Population - 24hr staffed Change
- SQL:
with New as ( select * from StResiCDaysYth24Sum ), Old as ( select * from hist.StResiCDaysYth24Sum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.829. StResiCDaysYth24Growth
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Youth Population - 24hr staffed Growth
- SQL:
with New as ( select * from StResiCDaysYth24Sum ), Old as ( select * from hist.StResiCDaysYth24Sum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.830. StResiCDaysYth24Sum
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Youth Population - 24hr staffed
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0)) as Total from RESI where TargetPop = '5' and HrsStaffed = 24 group by State ) as Setting using (State)
1.8.831. StResiCDaysYthN24Change
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Youth Population - non-24hr staffed Change
- SQL:
with New as ( select * from StResiCDaysYthN24Sum ), Old as ( select * from hist.StResiCDaysYthN24Sum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.832. StResiCDaysYthN24Growth
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Youth Population - non-24hr staffed Growth
- SQL:
with New as ( select * from StResiCDaysYthN24Sum ), Old as ( select * from hist.StResiCDaysYthN24Sum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.833. StResiCDaysYthN24Sum
- Base:
ST
- Title:
Total Residential Accrued Mental Health Care Days for Youth Population - non-24hr staffed
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(MHCareDays, 0)) as Total from RESI where TargetPop = '5' and HrsStaffed < 24 group by State ) as Setting using (State)
1.8.834. StResiDCareFteChange
- Base:
ST
- Title:
Total Direct Care FTE for Residential Service Units Change
- SQL:
with New as ( select * from StResiDCareFteSum ), Old as ( select * from hist.StResiDCareFteSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.835. StResiDCareFteGrowth
- Base:
ST
- Title:
Total Direct Care FTE for Residential Service Units Growth
- SQL:
with New as ( select * from StResiDCareFteSum ), Old as ( select * from hist.StResiDCareFteSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.836. StResiDCareFteSum
- Base:
ST
- Title:
Total Direct Care FTE for Residential Service Units
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(Total, 0)) as Total from FteorgDCareTotal where Setting = '2' group by State ) tmpinner using (State)
1.8.837. StResiExpChange
- Base:
ST
- Title:
Residential Service Unit Total Expenditure Change
- SQL:
with New as ( select * from StResiExpTotal ), Old as ( select * from hist.StResiExpTotal ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.838. StResiExpGrowth
- Base:
ST
- Title:
Residential Service Unit Total Expenditure Growth
- SQL:
with New as ( select * from StResiExpTotal ), Old as ( select * from hist.StResiExpTotal ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.839. StResiExpTotal
- Base:
ST
- Title:
Residential Service Unit Total Expenditure
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(Total, 0)) as Total from OrgResiExpTotal group by State ) tmpinner using (State)
1.8.840. StResiNBedsCA24Change
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Child and adolescent Population - 24hr staffed Change
- SQL:
with New as ( select * from StResiNBedsCA24Sum ), Old as ( select * from hist.StResiNBedsCA24Sum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.841. StResiNBedsCA24Growth
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Child and adolescent Population - 24hr staffed Growth
- SQL:
with New as ( select * from StResiNBedsCA24Sum ), Old as ( select * from hist.StResiNBedsCA24Sum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.842. StResiNBedsCA24Sum
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Child and adolescent Population - 24hr staffed
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(ResiNBeds, 0)) as Total from RESI where TargetPop = '1' and HrsStaffed = 24 group by State ) as Setting using (State)
1.8.843. StResiNBedsCAN24Change
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Child and adolescent Population - non-24hr staffed Change
- SQL:
with New as ( select * from StResiNBedsCAN24Sum ), Old as ( select * from hist.StResiNBedsCAN24Sum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.844. StResiNBedsCAN24Growth
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Child and adolescent Population - non-24hr staffed Growth
- SQL:
with New as ( select * from StResiNBedsCAN24Sum ), Old as ( select * from hist.StResiNBedsCAN24Sum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.845. StResiNBedsCAN24Sum
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Child and adolescent Population - non-24hr staffed
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(ResiNBeds, 0)) as Total from RESI where TargetPop = '1' and HrsStaffed < 24 group by State ) as Setting using (State)
1.8.846. StResiNBedsChange
- Base:
ST
- Title:
Total Average Available Beds for Residential Mental Health Patients Change
- SQL:
with New as ( select * from StResiNBedsSum ), Old as ( select * from hist.StResiNBedsSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.847. StResiNBedsFor24Change
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Forensic Population - 24hr staffed Change
- SQL:
with New as ( select * from StResiNBedsFor24Sum ), Old as ( select * from hist.StResiNBedsFor24Sum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.848. StResiNBedsFor24Growth
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Forensic Population - 24hr staffed Growth
- SQL:
with New as ( select * from StResiNBedsFor24Sum ), Old as ( select * from hist.StResiNBedsFor24Sum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.849. StResiNBedsFor24Sum
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Forensic Population - 24hr staffed
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(ResiNBeds, 0)) as Total from RESI where TargetPop = '3' and HrsStaffed = 24 group by State ) as Setting using (State)
1.8.850. StResiNBedsForN24Change
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Forensic Population - non-24hr staffed Change
- SQL:
with New as ( select * from StResiNBedsForN24Sum ), Old as ( select * from hist.StResiNBedsForN24Sum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.851. StResiNBedsForN24Growth
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Forensic Population - non-24hr staffed Growth
- SQL:
with New as ( select * from StResiNBedsForN24Sum ), Old as ( select * from hist.StResiNBedsForN24Sum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.852. StResiNBedsForN24Sum
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Forensic Population - non-24hr staffed
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(ResiNBeds, 0)) as Total from RESI where TargetPop = '3' and HrsStaffed < 24 group by State ) as Setting using (State)
1.8.853. StResiNBedsGen24Change
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for General Population - 24hr staffed Change
- SQL:
with New as ( select * from StResiNBedsGen24Sum ), Old as ( select * from hist.StResiNBedsGen24Sum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.854. StResiNBedsGen24Growth
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for General Population - 24hr staffed Growth
- SQL:
with New as ( select * from StResiNBedsGen24Sum ), Old as ( select * from hist.StResiNBedsGen24Sum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.855. StResiNBedsGen24Sum
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for General Population - 24hr staffed
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(ResiNBeds, 0)) as Total from RESI where TargetPop = '4' and HrsStaffed = 24 group by State ) as Setting using (State)
1.8.856. StResiNBedsGenN24Change
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for General Population - non-24hr staffed Change
- SQL:
with New as ( select * from StResiNBedsGenN24Sum ), Old as ( select * from hist.StResiNBedsGenN24Sum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.857. StResiNBedsGenN24Growth
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for General Population - non-24hr staffed Growth
- SQL:
with New as ( select * from StResiNBedsGenN24Sum ), Old as ( select * from hist.StResiNBedsGenN24Sum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.858. StResiNBedsGenN24Sum
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for General Population - non-24hr staffed
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(ResiNBeds, 0)) as Total from RESI where TargetPop = '4' and HrsStaffed < 24 group by State ) as Setting using (State)
1.8.859. StResiNBedsGrowth
- Base:
ST
- Title:
Total Average Available Beds for Residential Mental Health Patients Growth
- SQL:
with New as ( select * from StResiNBedsSum ), Old as ( select * from hist.StResiNBedsSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.860. StResiNBedsOld24Change
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Older person Population - 24hr staffed Change
- SQL:
with New as ( select * from StResiNBedsOld24Sum ), Old as ( select * from hist.StResiNBedsOld24Sum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.861. StResiNBedsOld24Growth
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Older person Population - 24hr staffed Growth
- SQL:
with New as ( select * from StResiNBedsOld24Sum ), Old as ( select * from hist.StResiNBedsOld24Sum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.862. StResiNBedsOld24Sum
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Older person Population - 24hr staffed
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(ResiNBeds, 0)) as Total from RESI where TargetPop = '2' and HrsStaffed = 24 group by State ) as Setting using (State)
1.8.863. StResiNBedsOldN24Change
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Older person Population - non-24hr staffed Change
- SQL:
with New as ( select * from StResiNBedsOldN24Sum ), Old as ( select * from hist.StResiNBedsOldN24Sum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.864. StResiNBedsOldN24Growth
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Older person Population - non-24hr staffed Growth
- SQL:
with New as ( select * from StResiNBedsOldN24Sum ), Old as ( select * from hist.StResiNBedsOldN24Sum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.865. StResiNBedsOldN24Sum
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Older person Population - non-24hr staffed
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(ResiNBeds, 0)) as Total from RESI where TargetPop = '2' and HrsStaffed < 24 group by State ) as Setting using (State)
1.8.866. StResiNBedsSum
- Base:
ST
- Title:
Total Average Available Beds for Residential Mental Health Patients
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(ResiNBeds, 0)) as Total from RESI group by State ) tmpinner using (State)
1.8.867. StResiNBedsYth24Change
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Youth Population - 24hr staffed Change
- SQL:
with New as ( select * from StResiNBedsYth24Sum ), Old as ( select * from hist.StResiNBedsYth24Sum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.868. StResiNBedsYth24Growth
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Youth Population - 24hr staffed Growth
- SQL:
with New as ( select * from StResiNBedsYth24Sum ), Old as ( select * from hist.StResiNBedsYth24Sum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.869. StResiNBedsYth24Sum
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Youth Population - 24hr staffed
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(ResiNBeds, 0)) as Total from RESI where TargetPop = '5' and HrsStaffed = 24 group by State ) as Setting using (State)
1.8.870. StResiNBedsYthN24Change
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Youth Population - non-24hr staffed Change
- SQL:
with New as ( select * from StResiNBedsYthN24Sum ), Old as ( select * from hist.StResiNBedsYthN24Sum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.871. StResiNBedsYthN24Growth
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Youth Population - non-24hr staffed Growth
- SQL:
with New as ( select * from StResiNBedsYthN24Sum ), Old as ( select * from hist.StResiNBedsYthN24Sum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.872. StResiNBedsYthN24Sum
- Base:
ST
- Title:
Total Residential Average Available Beds for Residential Mental Health Patients for Youth Population - non-24hr staffed
- SQL:
select State, coalesce(Setting.Total, 0) as Total from ST left join ( select State, sum(coalesce(ResiNBeds, 0)) as Total from RESI where TargetPop = '5' and HrsStaffed < 24 group by State ) as Setting using (State)
1.8.873. StRevTotal
- Base:
ST
- Title:
Total Revenue at State/Territory Level
- SQL:
select State, RevRecov + RevStateHealth + RevCwlthOther + RevPatients + RevOther + RevStateOther as Total from ST
- Rules:
1.8.874. StSAAppExpChange
- Base:
ST
- Title:
Stand Alone Hospitals Total Apportioned Expenditure Change
- SQL:
with New as ( select * from StSAAppExpTotal ), Old as ( select * from hist.StSAAppExpTotal ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.875. StSAAppExpGrowth
- Base:
ST
- Title:
Stand Alone Hospitals Total Apportioned Expenditure Growth
- SQL:
with New as ( select * from StSAAppExpTotal ), Old as ( select * from hist.StSAAppExpTotal ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.876. StSAAppExpTotal
- Base:
ST
- Title:
Stand Alone Hospitals Total Apportioned Expenditure
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(Total, 0)) as Total from AdmiAppExpTotal join HOSP using (State, RegId, OrgId, HospId) where HOSP.CoLocStatus = '2' group by State ) tmpinner using (State)
1.8.877. StSAAppExpTotalFmt
- Base:
ST
- Title:
Stand Alone Hospitals Total Apportioned Expenditure (rounded)
- SQL:
select State, round(Src.Total) as Total from StSAAppExpTotal as Src
1.8.878. StSAAppExpTotalFmtChange
- Base:
ST
- Title:
Stand Alone Hospitals Total Apportioned Expenditure (rounded) Change
- SQL:
with New as ( select * from StSAAppExpTotalFmt ), Old as ( select * from hist.StSAAppExpTotalFmt ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.879. StSAAppExpTotalFmtGrowth
- Base:
ST
- Title:
Stand Alone Hospitals Total Apportioned Expenditure (rounded) Growth
- SQL:
with New as ( select * from StSAAppExpTotalFmt ), Old as ( select * from hist.StSAAppExpTotalFmt ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.880. StSAExpChange
- Base:
ST
- Title:
Stand Alone Hospitals Total Expenditure Change
- SQL:
with New as ( select * from StSAExpTotal ), Old as ( select * from hist.StSAExpTotal ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.881. StSAExpGrowth
- Base:
ST
- Title:
Stand Alone Hospitals Total Expenditure Growth
- SQL:
with New as ( select * from StSAExpTotal ), Old as ( select * from hist.StSAExpTotal ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.882. StSAExpTotal
- Base:
ST
- Title:
Stand Alone Hospitals Total Expenditure
- SQL:
select State, coalesce(Total, 0) as Total from ST left join ( select State, sum(coalesce(Total, 0)) as Total from AdmiExpTotal join HOSP using (State, RegId, OrgId, HospId) where HOSP.CoLocStatus = '2' group by State ) tmpinner using (State)
1.8.883. StSAExpTotalFmt
- Base:
ST
- Title:
Stand Alone Hospitals Total Expenditure (rounded)
- SQL:
select State, round(Src.Total) as Total from StSAExpTotal as Src
1.8.884. StStAcademicChange
- Base:
ST
- Title:
Total State/Territory Academic Positions Expenditure (NER) Change
- SQL:
with New as ( select * from StStAcademicSum ), Old as ( select * from hist.StStAcademicSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.885. StStAcademicGrowth
- Base:
ST
- Title:
Total State/Territory Academic Positions Expenditure (NER) Growth
- SQL:
with New as ( select * from StStAcademicSum ), Old as ( select * from hist.StStAcademicSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.886. StStAcademicSum
- Base:
ST
- Title:
Total State/Territory Academic Positions Expenditure (NER)
- SQL:
select State, sum(coalesce(ST.ExpNerAcademic, 0)) as Total from ST group by State
1.8.887. StStInsurChange
- Base:
ST
- Title:
Total State/Territory Insurance Expenditure (NER) Change
- SQL:
with New as ( select * from StStInsurSum ), Old as ( select * from hist.StStInsurSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.888. StStInsurGrowth
- Base:
ST
- Title:
Total State/Territory Insurance Expenditure (NER) Growth
- SQL:
with New as ( select * from StStInsurSum ), Old as ( select * from hist.StStInsurSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.889. StStInsurSum
- Base:
ST
- Title:
Total State/Territory Insurance Expenditure (NER)
- SQL:
select State, sum(coalesce(ST.ExpNerInsur, 0)) as Total from ST group by State
1.8.890. StStMHActChange
- Base:
ST
- Title:
Total State/Territory Mental Health Act Regulation Including Review Tribunals Expenditure (NER) Change
- SQL:
with New as ( select * from StStMHActSum ), Old as ( select * from hist.StStMHActSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.891. StStMHActGrowth
- Base:
ST
- Title:
Total State/Territory Mental Health Act Regulation Including Review Tribunals Expenditure (NER) Growth
- SQL:
with New as ( select * from StStMHActSum ), Old as ( select * from hist.StStMHActSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.892. StStMHActSum
- Base:
ST
- Title:
Total State/Territory Mental Health Act Regulation Including Review Tribunals Expenditure (NER)
- SQL:
select State, sum(coalesce(ST.ExpNerMHAct, 0)) as Total from ST group by State
1.8.893. StStNerChange
- Base:
ST
- Title:
Total State/Territory Expenditure (NER) Change
- SQL:
with New as ( select * from StStNerSum ), Old as ( select * from hist.StStNerSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.894. StStNerGrowth
- Base:
ST
- Title:
Total State/Territory Expenditure (NER) Growth
- SQL:
with New as ( select * from StStNerSum ), Old as ( select * from hist.StStNerSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.895. StStNerSum
- Base:
ST
- Title:
Total State/Territory Expenditure (NER)
- SQL:
select State, sum(coalesce(Ent.Total, 0)) as Total from ST left join StExpNerTotal as Ent using (State) group by State
- Rules:
1.8.896. StStOtherChange
- Base:
ST
- Title:
Total State/Territory Other Indirect Expenditure Expenditure (NER) Change
- SQL:
with New as ( select * from StStOtherSum ), Old as ( select * from hist.StStOtherSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.897. StStOtherGrowth
- Base:
ST
- Title:
Total State/Territory Other Indirect Expenditure Expenditure (NER) Growth
- SQL:
with New as ( select * from StStOtherSum ), Old as ( select * from hist.StStOtherSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.898. StStOtherSum
- Base:
ST
- Title:
Total State/Territory Other Indirect Expenditure Expenditure (NER)
- SQL:
select State, sum(coalesce(ST.ExpNerOther, 0)) as Total from ST group by State
1.8.899. StStProgAdminChange
- Base:
ST
- Title:
Total State/Territory Program Administration Expenditure (NER) Change
- SQL:
with New as ( select * from StStProgAdminSum ), Old as ( select * from hist.StStProgAdminSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.900. StStProgAdminGrowth
- Base:
ST
- Title:
Total State/Territory Program Administration Expenditure (NER) Growth
- SQL:
with New as ( select * from StStProgAdminSum ), Old as ( select * from hist.StStProgAdminSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.901. StStProgAdminSum
- Base:
ST
- Title:
Total State/Territory Program Administration Expenditure (NER)
- SQL:
select State, sum(coalesce(ST.ExpNerProgAdmin, 0)) as Total from ST group by State
1.8.902. StStPromoChange
- Base:
ST
- Title:
Total State/Territory Mental Health Promotion Expenditure (NER) Change
- SQL:
with New as ( select * from StStPromoSum ), Old as ( select * from hist.StStPromoSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.903. StStPromoGrowth
- Base:
ST
- Title:
Total State/Territory Mental Health Promotion Expenditure (NER) Growth
- SQL:
with New as ( select * from StStPromoSum ), Old as ( select * from hist.StStPromoSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.904. StStPromoSum
- Base:
ST
- Title:
Total State/Territory Mental Health Promotion Expenditure (NER)
- SQL:
select State, sum(coalesce(ST.ExpNerPromo, 0)) as Total from ST group by State
1.8.905. StStPropLeaseChange
- Base:
ST
- Title:
Total State/Territory Property Leasing Costs Expenditure (NER) Change
- SQL:
with New as ( select * from StStPropLeaseSum ), Old as ( select * from hist.StStPropLeaseSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.906. StStPropLeaseGrowth
- Base:
ST
- Title:
Total State/Territory Property Leasing Costs Expenditure (NER) Growth
- SQL:
with New as ( select * from StStPropLeaseSum ), Old as ( select * from hist.StStPropLeaseSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.907. StStPropLeaseSum
- Base:
ST
- Title:
Total State/Territory Property Leasing Costs Expenditure (NER)
- SQL:
select State, sum(coalesce(ST.ExpNerPropLease, 0)) as Total from ST group by State
1.8.908. StStResearchChange
- Base:
ST
- Title:
Total State/Territory Mental Health Research Expenditure (NER) Change
- SQL:
with New as ( select * from StStResearchSum ), Old as ( select * from hist.StStResearchSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.909. StStResearchGrowth
- Base:
ST
- Title:
Total State/Territory Mental Health Research Expenditure (NER) Growth
- SQL:
with New as ( select * from StStResearchSum ), Old as ( select * from hist.StStResearchSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.910. StStResearchSum
- Base:
ST
- Title:
Total State/Territory Mental Health Research Expenditure (NER)
- SQL:
select State, sum(coalesce(ST.ExpNerResearch, 0)) as Total from ST group by State
1.8.911. StStServDevChange
- Base:
ST
- Title:
Total State/Territory Service Development Expenditure (NER) Change
- SQL:
with New as ( select * from StStServDevSum ), Old as ( select * from hist.StStServDevSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.912. StStServDevGrowth
- Base:
ST
- Title:
Total State/Territory Service Development Expenditure (NER) Growth
- SQL:
with New as ( select * from StStServDevSum ), Old as ( select * from hist.StStServDevSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.913. StStServDevSum
- Base:
ST
- Title:
Total State/Territory Service Development Expenditure (NER)
- SQL:
select State, sum(coalesce(ST.ExpNerServDev, 0)) as Total from ST group by State
1.8.914. StStSuperChange
- Base:
ST
- Title:
Total State/Territory Superannuation Expenditure (NER) Change
- SQL:
with New as ( select * from StStSuperSum ), Old as ( select * from hist.StStSuperSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.915. StStSuperGrowth
- Base:
ST
- Title:
Total State/Territory Superannuation Expenditure (NER) Growth
- SQL:
with New as ( select * from StStSuperSum ), Old as ( select * from hist.StStSuperSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.916. StStSuperSum
- Base:
ST
- Title:
Total State/Territory Superannuation Expenditure (NER)
- SQL:
select State, sum(coalesce(ST.ExpNerSuper, 0)) as Total from ST group by State
1.8.917. StStTrainingChange
- Base:
ST
- Title:
Total State/Territory Education and Training Expenditure (NER) Change
- SQL:
with New as ( select * from StStTrainingSum ), Old as ( select * from hist.StStTrainingSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.918. StStTrainingGrowth
- Base:
ST
- Title:
Total State/Territory Education and Training Expenditure (NER) Growth
- SQL:
with New as ( select * from StStTrainingSum ), Old as ( select * from hist.StStTrainingSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.919. StStTrainingSum
- Base:
ST
- Title:
Total State/Territory Education and Training Expenditure (NER)
- SQL:
select State, sum(coalesce(ST.ExpNerTraining, 0)) as Total from ST group by State
1.8.920. StStTranspChange
- Base:
ST
- Title:
Total State/Territory Patient Transport Services Expenditure (NER) Change
- SQL:
with New as ( select * from StStTranspSum ), Old as ( select * from hist.StStTranspSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.921. StStTranspGrowth
- Base:
ST
- Title:
Total State/Territory Patient Transport Services Expenditure (NER) Growth
- SQL:
with New as ( select * from StStTranspSum ), Old as ( select * from hist.StStTranspSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.922. StStTranspSum
- Base:
ST
- Title:
Total State/Territory Patient Transport Services Expenditure (NER)
- SQL:
select State, sum(coalesce(ST.ExpNerTransp, 0)) as Total from ST group by State
1.8.923. StStWorkCompChange
- Base:
ST
- Title:
Total State/Territory Workers Compensation Expenditure (NER) Change
- SQL:
with New as ( select * from StStWorkCompSum ), Old as ( select * from hist.StStWorkCompSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.924. StStWorkCompGrowth
- Base:
ST
- Title:
Total State/Territory Workers Compensation Expenditure (NER) Growth
- SQL:
with New as ( select * from StStWorkCompSum ), Old as ( select * from hist.StStWorkCompSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.925. StStWorkCompSum
- Base:
ST
- Title:
Total State/Territory Workers Compensation Expenditure (NER)
- SQL:
select State, sum(coalesce(ST.ExpNerWorkComp, 0)) as Total from ST group by State
1.8.926. StStdsReviewProp
- Base:
ST
- Title:
Proportion of National Standards for Mental Health Services Review Status codes that equal 1
- SQL:
with admi_tot as ( select State, count(*) as val from ADMI where StdsReviewSt = '1' group by State ), ambu_tot as ( select State, count(*) as val from AMBU where StdsReviewSt = '1' group by State ), resi_tot as ( select State, count(*) as val from RESI where StdsReviewSt = '1' group by State ), unit_count as ( SELECT State, count(*) AS val FROM UnitUnion GROUP BY state ) select State, sd_div_safe(coalesce(ambu_tot.val,0) + coalesce(resi_tot.val,0) + coalesce(admi_tot.val,0), unit_count.val, 3) AS value from ST LEFT JOIN admi_tot using (State) LEFT JOIN ambu_tot using (State) LEFT JOIN resi_tot using (State) LEFT JOIN unit_count USING (State) WHERE unit_count.val > 0
- Rules:
1.8.927. StUnitExp
- Base:
ST
- Title:
Total Expenditure at Service Unit Level
- SQL:
select State, sum(RegUnitExp.Total) as Total from RegUnitExp group by State
1.8.928. StWideAcademicChange
- Base:
ST
- Title:
Total State Wide Academic Positions Expenditure (NER) Change
- SQL:
with New as ( select * from StWideAcademicSum ), Old as ( select * from hist.StWideAcademicSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.929. StWideAcademicGrowth
- Base:
ST
- Title:
Total State Wide Academic Positions Expenditure (NER) Growth
- SQL:
with New as ( select * from StWideAcademicSum ), Old as ( select * from hist.StWideAcademicSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.930. StWideAcademicSum
- Base:
ST
- Title:
Total State Wide Academic Positions Expenditure (NER)
- SQL:
select ST.State as State, (StStAcademicSum.Total + StRegAcademicSum.Total + StOrgAcademicSum.Total) as Total from ST left join StStAcademicSum using (State) left join StRegAcademicSum using (State) left join StOrgAcademicSum using (State)
1.8.931. StWideExp
- Base:
ST
- Title:
State/Territory Wide Expenditure
- SQL:
select Unit.State as State, Ner.Total + Unit.Total + Ngo.Total as Total from StWideExpNer as Ner join StUnitExp as Unit using (State) join StWideNgo as Ngo using (State)
1.8.932. StWideExpChange
- Base:
ST
- Title:
State/Territory Wide Expenditure Change
- SQL:
with New as ( select * from StWideExp ), Old as ( select * from hist.StWideExp ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.933. StWideExpGrowth
- Base:
ST
- Title:
State/Territory Wide Expenditure Growth
- SQL:
with New as ( select * from StWideExp ), Old as ( select * from hist.StWideExp ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.934. StWideExpNer
- Base:
ST
- Title:
State/Territory Wide Residual Expenditure
- SQL:
select State, Ner.Total + SubNer.Total as Total from StExpNerTotal as Ner join ( select State, sum(Total) as Total from RegWideExpNer group by State ) as SubNer using (State)
1.8.935. StWideExpNerChange
- Base:
ST
- Title:
State/Territory Wide Residual Expenditure Change
- SQL:
with New as ( select * from StWideExpNer ), Old as ( select * from hist.StWideExpNer ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.936. StWideExpNerGrowth
- Base:
ST
- Title:
State/Territory Wide Residual Expenditure Growth
- SQL:
with New as ( select * from StWideExpNer ), Old as ( select * from hist.StWideExpNer ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.937. StWideInsurChange
- Base:
ST
- Title:
Total State Wide Insurance Expenditure (NER) Change
- SQL:
with New as ( select * from StWideInsurSum ), Old as ( select * from hist.StWideInsurSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.938. StWideInsurGrowth
- Base:
ST
- Title:
Total State Wide Insurance Expenditure (NER) Growth
- SQL:
with New as ( select * from StWideInsurSum ), Old as ( select * from hist.StWideInsurSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.939. StWideInsurSum
- Base:
ST
- Title:
Total State Wide Insurance Expenditure (NER)
- SQL:
select ST.State as State, (StStInsurSum.Total + StRegInsurSum.Total + StOrgInsurSum.Total) as Total from ST left join StStInsurSum using (State) left join StRegInsurSum using (State) left join StOrgInsurSum using (State)
1.8.940. StWideMHActChange
- Base:
ST
- Title:
Total State Wide Mental Health Act Regulation Including Review Tribunals Expenditure (NER) Change
- SQL:
with New as ( select * from StWideMHActSum ), Old as ( select * from hist.StWideMHActSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.941. StWideMHActGrowth
- Base:
ST
- Title:
Total State Wide Mental Health Act Regulation Including Review Tribunals Expenditure (NER) Growth
- SQL:
with New as ( select * from StWideMHActSum ), Old as ( select * from hist.StWideMHActSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.942. StWideMHActSum
- Base:
ST
- Title:
Total State Wide Mental Health Act Regulation Including Review Tribunals Expenditure (NER)
- SQL:
select ST.State as State, (StStMHActSum.Total + StRegMHActSum.Total + StOrgMHActSum.Total) as Total from ST left join StStMHActSum using (State) left join StRegMHActSum using (State) left join StOrgMHActSum using (State)
1.8.943. StWideNgo
- Base:
ST
- Title:
State/Territory Wide NGO Expenditure
- SQL:
select State, Ngo.Total + SubNgo.Total as Total from StNgoTotal as Ngo join ( select State, sum(Total) as Total from RegNgoTotal group by State ) as SubNgo using (State)
- Rules:
1.8.944. StWideNgoChange
- Base:
ST
- Title:
State/Territory Wide NGO Expenditure Change
- SQL:
with New as ( select * from StWideNgo ), Old as ( select * from hist.StWideNgo ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.945. StWideNgoGrowth
- Base:
ST
- Title:
State/Territory Wide NGO Expenditure Growth
- SQL:
with New as ( select * from StWideNgo ), Old as ( select * from hist.StWideNgo ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.946. StWideNonAppExpNer
- Base:
ST
- Title:
State/Territory Wide Non-Apportioned Residual Expenditure
- SQL:
select State, NonApp.Total + SubNonApp.Total as Total from StExpNerTotal as NonApp join ( select State, sum(Total) as Total from RegWideNonAppExpNer group by State ) as SubNonApp using (State)
1.8.947. StWideNonAppExpNerChange
- Base:
ST
- Title:
State/Territory Wide Non-Apportioned Residual Expenditure Change
- SQL:
with New as ( select * from StWideNonAppExpNer ), Old as ( select * from hist.StWideNonAppExpNer ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.948. StWideNonAppExpNerGrowth
- Base:
ST
- Title:
State/Territory Wide Non-Apportioned Residual Expenditure Growth
- SQL:
with New as ( select * from StWideNonAppExpNer ), Old as ( select * from hist.StWideNonAppExpNer ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.949. StWideOtherChange
- Base:
ST
- Title:
Total State Wide Other Indirect Expenditure Expenditure (NER) Change
- SQL:
with New as ( select * from StWideOtherSum ), Old as ( select * from hist.StWideOtherSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.950. StWideOtherGrowth
- Base:
ST
- Title:
Total State Wide Other Indirect Expenditure Expenditure (NER) Growth
- SQL:
with New as ( select * from StWideOtherSum ), Old as ( select * from hist.StWideOtherSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.951. StWideOtherSum
- Base:
ST
- Title:
Total State Wide Other Indirect Expenditure Expenditure (NER)
- SQL:
select ST.State as State, (StStOtherSum.Total + StRegOtherSum.Total + StOrgOtherSum.Total) as Total from ST left join StStOtherSum using (State) left join StRegOtherSum using (State) left join StOrgOtherSum using (State)
1.8.952. StWideProgAdminChange
- Base:
ST
- Title:
Total State Wide Program Administration Expenditure (NER) Change
- SQL:
with New as ( select * from StWideProgAdminSum ), Old as ( select * from hist.StWideProgAdminSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.953. StWideProgAdminGrowth
- Base:
ST
- Title:
Total State Wide Program Administration Expenditure (NER) Growth
- SQL:
with New as ( select * from StWideProgAdminSum ), Old as ( select * from hist.StWideProgAdminSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.954. StWideProgAdminSum
- Base:
ST
- Title:
Total State Wide Program Administration Expenditure (NER)
- SQL:
select ST.State as State, (StStProgAdminSum.Total + StRegProgAdminSum.Total + StOrgProgAdminSum.Total) as Total from ST left join StStProgAdminSum using (State) left join StRegProgAdminSum using (State) left join StOrgProgAdminSum using (State)
1.8.955. StWidePromoChange
- Base:
ST
- Title:
Total State Wide Mental Health Promotion Expenditure (NER) Change
- SQL:
with New as ( select * from StWidePromoSum ), Old as ( select * from hist.StWidePromoSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.956. StWidePromoGrowth
- Base:
ST
- Title:
Total State Wide Mental Health Promotion Expenditure (NER) Growth
- SQL:
with New as ( select * from StWidePromoSum ), Old as ( select * from hist.StWidePromoSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.957. StWidePromoSum
- Base:
ST
- Title:
Total State Wide Mental Health Promotion Expenditure (NER)
- SQL:
select ST.State as State, (StStPromoSum.Total + StRegPromoSum.Total + StOrgPromoSum.Total) as Total from ST left join StStPromoSum using (State) left join StRegPromoSum using (State) left join StOrgPromoSum using (State)
1.8.958. StWidePropLeaseChange
- Base:
ST
- Title:
Total State Wide Property Leasing Costs Expenditure (NER) Change
- SQL:
with New as ( select * from StWidePropLeaseSum ), Old as ( select * from hist.StWidePropLeaseSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.959. StWidePropLeaseGrowth
- Base:
ST
- Title:
Total State Wide Property Leasing Costs Expenditure (NER) Growth
- SQL:
with New as ( select * from StWidePropLeaseSum ), Old as ( select * from hist.StWidePropLeaseSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.960. StWidePropLeaseSum
- Base:
ST
- Title:
Total State Wide Property Leasing Costs Expenditure (NER)
- SQL:
select ST.State as State, (StStPropLeaseSum.Total + StRegPropLeaseSum.Total + StOrgPropLeaseSum.Total) as Total from ST left join StStPropLeaseSum using (State) left join StRegPropLeaseSum using (State) left join StOrgPropLeaseSum using (State)
1.8.961. StWideResearchChange
- Base:
ST
- Title:
Total State Wide Mental Health Research Expenditure (NER) Change
- SQL:
with New as ( select * from StWideResearchSum ), Old as ( select * from hist.StWideResearchSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.962. StWideResearchGrowth
- Base:
ST
- Title:
Total State Wide Mental Health Research Expenditure (NER) Growth
- SQL:
with New as ( select * from StWideResearchSum ), Old as ( select * from hist.StWideResearchSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.963. StWideResearchSum
- Base:
ST
- Title:
Total State Wide Mental Health Research Expenditure (NER)
- SQL:
select ST.State as State, (StStResearchSum.Total + StRegResearchSum.Total + StOrgResearchSum.Total) as Total from ST left join StStResearchSum using (State) left join StRegResearchSum using (State) left join StOrgResearchSum using (State)
1.8.964. StWideServDevChange
- Base:
ST
- Title:
Total State Wide Service Development Expenditure (NER) Change
- SQL:
with New as ( select * from StWideServDevSum ), Old as ( select * from hist.StWideServDevSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.965. StWideServDevGrowth
- Base:
ST
- Title:
Total State Wide Service Development Expenditure (NER) Growth
- SQL:
with New as ( select * from StWideServDevSum ), Old as ( select * from hist.StWideServDevSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.966. StWideServDevSum
- Base:
ST
- Title:
Total State Wide Service Development Expenditure (NER)
- SQL:
select ST.State as State, (StStServDevSum.Total + StRegServDevSum.Total + StOrgServDevSum.Total) as Total from ST left join StStServDevSum using (State) left join StRegServDevSum using (State) left join StOrgServDevSum using (State)
1.8.967. StWideSuperChange
- Base:
ST
- Title:
Total State Wide Superannuation Expenditure (NER) Change
- SQL:
with New as ( select * from StWideSuperSum ), Old as ( select * from hist.StWideSuperSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.968. StWideSuperGrowth
- Base:
ST
- Title:
Total State Wide Superannuation Expenditure (NER) Growth
- SQL:
with New as ( select * from StWideSuperSum ), Old as ( select * from hist.StWideSuperSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.969. StWideSuperSum
- Base:
ST
- Title:
Total State Wide Superannuation Expenditure (NER)
- SQL:
select ST.State as State, (StStSuperSum.Total + StRegSuperSum.Total + StOrgSuperSum.Total) as Total from ST left join StStSuperSum using (State) left join StRegSuperSum using (State) left join StOrgSuperSum using (State)
1.8.970. StWideSuppServChange
- Base:
ST
- Title:
Total State Wide Support Services Expenditure (NER) Change
- SQL:
with New as ( select * from StWideSuppServSum ), Old as ( select * from hist.StWideSuppServSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.971. StWideSuppServGrowth
- Base:
ST
- Title:
Total State Wide Support Services Expenditure (NER) Growth
- SQL:
with New as ( select * from StWideSuppServSum ), Old as ( select * from hist.StWideSuppServSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.972. StWideSuppServSum
- Base:
ST
- Title:
Total State Wide Support Services Expenditure (NER)
- SQL:
select ST.State as State, (StRegSuppServSum.Total + StOrgSuppServSum.Total) as Total from ST left join StRegSuppServSum using (State) left join StOrgSuppServSum using (State)
1.8.973. StWideTrainingChange
- Base:
ST
- Title:
Total State Wide Education and Training Expenditure (NER) Change
- SQL:
with New as ( select * from StWideTrainingSum ), Old as ( select * from hist.StWideTrainingSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.974. StWideTrainingGrowth
- Base:
ST
- Title:
Total State Wide Education and Training Expenditure (NER) Growth
- SQL:
with New as ( select * from StWideTrainingSum ), Old as ( select * from hist.StWideTrainingSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.975. StWideTrainingSum
- Base:
ST
- Title:
Total State Wide Education and Training Expenditure (NER)
- SQL:
select ST.State as State, (StStTrainingSum.Total + StRegTrainingSum.Total + StOrgTrainingSum.Total) as Total from ST left join StStTrainingSum using (State) left join StRegTrainingSum using (State) left join StOrgTrainingSum using (State)
1.8.976. StWideTranspChange
- Base:
ST
- Title:
Total State Wide Patient Transport Services Expenditure (NER) Change
- SQL:
with New as ( select * from StWideTranspSum ), Old as ( select * from hist.StWideTranspSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.977. StWideTranspGrowth
- Base:
ST
- Title:
Total State Wide Patient Transport Services Expenditure (NER) Growth
- SQL:
with New as ( select * from StWideTranspSum ), Old as ( select * from hist.StWideTranspSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.978. StWideTranspSum
- Base:
ST
- Title:
Total State Wide Patient Transport Services Expenditure (NER)
- SQL:
select ST.State as State, (StStTranspSum.Total + StRegTranspSum.Total + StOrgTranspSum.Total) as Total from ST left join StStTranspSum using (State) left join StRegTranspSum using (State) left join StOrgTranspSum using (State)
1.8.979. StWideWorkCompChange
- Base:
ST
- Title:
Total State Wide Workers Compensation Expenditure (NER) Change
- SQL:
with New as ( select * from StWideWorkCompSum ), Old as ( select * from hist.StWideWorkCompSum ) select State, New.Total - Old.Total as Change from New join Old using (State)
1.8.980. StWideWorkCompGrowth
- Base:
ST
- Title:
Total State Wide Workers Compensation Expenditure (NER) Growth
- SQL:
with New as ( select * from StWideWorkCompSum ), Old as ( select * from hist.StWideWorkCompSum ) select State, sd_div_safe(New.Total - Old.Total, Old.Total, 3) as Growth from New join Old using (State)
1.8.981. StWideWorkCompSum
- Base:
ST
- Title:
Total State Wide Workers Compensation Expenditure (NER)
- SQL:
select ST.State as State, (StStWorkCompSum.Total + StRegWorkCompSum.Total + StOrgWorkCompSum.Total) as Total from ST left join StStWorkCompSum using (State) left join StRegWorkCompSum using (State) left join StOrgWorkCompSum using (State)
1.9. Rules
1.9.1. ATSIMHWrkrFteAndNoSal
- Class:
Inconsistent
- Priority:
High
- Message:
FteATSIMHWrkr (
$FteATSIMHWrkr
) with no corresponding ExpSalATSIMHWrkr (0)- Mark:
ORG.FteATSIMHWrkr
- Description:
FTE data with no corresponding Salary - Aboriginal and Torres Strait Islander Mental Health Workers
- SQL:
select State, RegId, OrgId, coalesce(ExpSalATSIMHWrkr, 0), FteATSIMHWrkr from ORG where FteATSIMHWrkr > 0.1 and coalesce(ExpSalATSIMHWrkr, 0) = 0
- Data Elements:
1.9.2. ATSIMHWrkrSalAndNoFte
- Class:
Inconsistent
- Priority:
High
- Message:
ExpSalATSIMHWrkr (
$ExpSalATSIMHWrkr
) with no corresponding FteATSIMHWrkr ($FteATSIMHWrkr
)- Mark:
ORG.ExpSalATSIMHWrkr
- Description:
Salary data with no corresponding FTE - Aboriginal and Torres Strait Islander Mental Health Workers
- SQL:
select State, RegId, OrgId, ExpSalATSIMHWrkr, FteATSIMHWrkr from ORG where (ExpSalATSIMHWrkr > 5000) and (FteATSIMHWrkr = 0)
- Data Elements:
1.9.3. AdmiAdmiHitHNBedsZero
- Class:
Anomaly
- Priority:
High
- Message:
Zero reported for AdmiNBeds + HitHNBeds
- Mark:
ADMI
- Description:
Zero reported for Average Available Beds for Overnight-stay Patients and Average available beds for overnight-stay mental health hospital-in-the-home patients
- SQL:
select State, RegId, OrgId, HospId, AdmiId, AdmiNBeds + HitHNBeds as value from ADMI where coalesce(AdmiNBeds, 0) + coalesce(HitHNBeds, 0) = 0
- Data Elements:
1.9.4. AdmiAdmiNBedsSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field AdmiNBeds
- Mark:
ADMI.AdmiNBeds
- Description:
Non-numbers (spaces) in Number field AdmiNBeds
- SQL:
select State, RegId, OrgId, HospId, AdmiId, AdmiNBeds from ADMI where AdmiNBeds IS NULL
- Data Elements:
1.9.5. AdmiAdmiNameMissing
- Class:
Missing
- Priority:
High
- Message:
Missing data - AdmiName
$AdmiName.q
- Mark:
ADMI.AdmiName
- Description:
Missing data - Admitted Patient Service Unit Name (AdmiName)
- SQL:
select State, RegId, OrgId, HospId, AdmiId, AdmiName from ADMI where AdmiName is null
- Data Elements:
1.9.6. AdmiAllZero
- Class:
Missing
- Priority:
High
- Message:
All
$ENTITY
Number fields are zero- Mark:
ADMI
- Description:
All Number fields are zero for this service unit. This usually indicates the record should be deleted. Zero fields were: LHNID, Deprec, ExpNonSalTot, ExpSalTot, AdmiNBeds, MHCareDays, NSeps, HitHNBeds
- SQL:
select State, RegId, OrgId, HospId, AdmiId from ADMI where coalesce(LHNID,0) = 0 and coalesce(Deprec,0) = 0 and coalesce(ExpNonSalTot,0) = 0 and coalesce(ExpSalTot,0) = 0 and coalesce(AdmiNBeds,0) = 0 and coalesce(MHCareDays,0) = 0 and coalesce(NSeps,0) = 0 and coalesce(HitHNBeds,0) = 0
- Data Elements:
1.9.7. AdmiAndNoMedFte
- Class:
Anomaly
- Priority:
High
- Message:
Admitted Setting (1) with zero Medical FTE (FteMed)
- Mark:
ORG
- Description:
Inconsistent FTEORG Admitted data - Medical - Admitted service setting with zero total FteMed
- SQL:
with SummedOrgFteMed as ( select State, RegId, OrgId, coalesce(sum(FteMed),0) as SumFteMed from FTEORG where Setting = '1' group by State, RegId, OrgId ) select State, RegId, OrgId from SummedOrgFteMed where SumFteMed = 0
- Data Elements:
1.9.8. AdmiAvgSalRange
- Class:
Exceptional
- Priority:
High
- Message:
Average Admi Salary (
$AvgSal.dollars
) is outside the range $67,010 to $201,029- Mark:
ORG.FteorgAdmiTotal
- Description:
Exceptional Average Service Setting Salaries - Average Salary for Admitted Patient Service Unit at Organisation Level is outside the range $67,010 to $201,029. The previous year’s national average is $134,019
- SQL:
select State, RegId, OrgId, AvgSal from OrgAdmiAvgSal where AvgSal < 67010 or AvgSal > 201029
- Data Elements:
- Virtual Elements:
1.9.9. AdmiAvgStayCAAcRangeL
- Class:
Exceptional
- Priority:
High
- Message:
Child and adolescent Acute AdmiAvgStay (
$AvgStay
) is outside the range 4.5 to 17.8 (AdmiNBeds$ADMI.AdmiNBeds.num
, HitHNBeds$ADMI.HitHNBeds.num
)- Mark:
ADMI.AvgStay
- Description:
Exceptional Average Length of Stay - Child and adolescent Acute Average Length of Stay for Admitted Patient Service Unit is outside the range 4.5 to 17.8. The previous year’s national average is 8.9
- SQL:
select State, RegId, OrgId, HospId, AdmiId, AvgStay from ADMI join AvgStay using(State, RegId, OrgId, HospId, AdmiId) where (AvgStay < 4.5 or AvgStay > 17.8) and ProgType = '1' and TargetPop = '1' and (AdmiNBeds + HitHNBeds) >= 5
- Data Elements:
- Virtual Elements:
1.9.10. AdmiAvgStayGenAcRangeL
- Class:
Exceptional
- Priority:
High
- Message:
General Acute AdmiAvgStay (
$AvgStay
) is outside the range 6.6 to 26.4 (AdmiNBeds$ADMI.AdmiNBeds.num
, HitHNBeds$ADMI.HitHNBeds.num
)- Mark:
ADMI.AvgStay
- Description:
Exceptional Average Length of Stay - General Acute Average Length of Stay for Admitted Patient Service Unit is outside the range 6.6 to 26.4. The previous year’s national average is 13.2
- SQL:
select State, RegId, OrgId, HospId, AdmiId, AvgStay from ADMI join AvgStay using(State, RegId, OrgId, HospId, AdmiId) where (AvgStay < 6.6 or AvgStay > 26.4) and ProgType = '1' and TargetPop = '4' and (AdmiNBeds + HitHNBeds) >= 5
- Data Elements:
- Virtual Elements:
1.9.11. AdmiAvgStayOldAcRangeL
- Class:
Exceptional
- Priority:
High
- Message:
Older person Acute AdmiAvgStay (
$AvgStay
) is outside the range 18.4 to 73.5 (AdmiNBeds$ADMI.AdmiNBeds.num
, HitHNBeds$ADMI.HitHNBeds.num
)- Mark:
ADMI.AvgStay
- Description:
Exceptional Average Length of Stay - Older person Acute Average Length of Stay for Admitted Patient Service Unit is outside the range 18.4 to 73.5. The previous year’s national average is 36.8
- SQL:
select State, RegId, OrgId, HospId, AdmiId, AvgStay from ADMI join AvgStay using(State, RegId, OrgId, HospId, AdmiId) where (AvgStay < 18.4 or AvgStay > 73.5) and ProgType = '1' and TargetPop = '2' and (AdmiNBeds + HitHNBeds) >= 5
- Data Elements:
- Virtual Elements:
1.9.12. AdmiAvgStayYthAcRangeL
- Class:
Exceptional
- Priority:
High
- Message:
Youth Acute AdmiAvgStay (
$AvgStay
) is outside the range 6.4 to 25.8 (AdmiNBeds$ADMI.AdmiNBeds.num
, HitHNBeds$ADMI.HitHNBeds.num
)- Mark:
ADMI.AvgStay
- Description:
Exceptional Average Length of Stay - Youth Acute Average Length of Stay for Admitted Patient Service Unit is outside the range 6.4 to 25.8. The previous year’s national average is 12.9
- SQL:
select State, RegId, OrgId, HospId, AdmiId, AvgStay from ADMI join AvgStay using(State, RegId, OrgId, HospId, AdmiId) where (AvgStay < 6.4 or AvgStay > 25.8) and ProgType = '1' and TargetPop = '5' and (AdmiNBeds + HitHNBeds) >= 5
- Data Elements:
- Virtual Elements:
1.9.13. AdmiContentSame
- Class:
Anomaly
- Priority:
High
- Message:
$DupCount
ADMI records with identical Number fields- Mark:
ADMI
- Description:
Multiple ADMI records found with identical Number fields: LHNID, Deprec, ExpNonSalTot, ExpSalTot, AdmiNBeds, MHCareDays, NSeps, HitHNBeds
- SQL:
select State, RegId, OrgId, HospId, AdmiId, LHNID, Deprec, ExpNonSalTot, ExpSalTot, AdmiNBeds, MHCareDays, NSeps, HitHNBeds, DupCount from ADMI join ( select LHNID, Deprec, ExpNonSalTot, ExpSalTot, AdmiNBeds, MHCareDays, NSeps, HitHNBeds, count(*) as DupCount from ADMI group by LHNID, Deprec, ExpNonSalTot, ExpSalTot, AdmiNBeds, MHCareDays, NSeps, HitHNBeds having count(*) > 1 ) as tmpinner using (LHNID,Deprec,ExpNonSalTot,ExpSalTot,AdmiNBeds,MHCareDays,NSeps,HitHNBeds)
- Data Elements:
1.9.14. AdmiDeprecSpaces
1.9.15. AdmiExpNonSalTotSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNonSalTot
- Mark:
ADMI.ExpNonSalTot
- Description:
Non-numbers (spaces) in Number field ExpNonSalTot
- SQL:
select State, RegId, OrgId, HospId, AdmiId, ExpNonSalTot from ADMI where ExpNonSalTot IS NULL
- Data Elements:
1.9.16. AdmiExpSalTotSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpSalTot
- Mark:
ADMI.ExpSalTot
- Description:
Non-numbers (spaces) in Number field ExpSalTot
- SQL:
select State, RegId, OrgId, HospId, AdmiId, ExpSalTot from ADMI where ExpSalTot IS NULL
- Data Elements:
1.9.17. AdmiExpTotalZero
- Class:
Anomaly
- Priority:
High
- Message:
Zero reported for AdmiExpTotal
- Mark:
ADMI
- Description:
Zero reported for Total Expenditure at Admitted Patient Service Unit Level
- SQL:
select State, RegId, OrgId, HospId, AdmiId, Total as value from AdmiExpTotal where coalesce(Total, 0) = 0
- Data Elements:
- Virtual Elements:
1.9.18. AdmiHitHNBedsSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field HitHNBeds
- Mark:
ADMI.HitHNBeds
- Description:
Non-numbers (spaces) in Number field HitHNBeds
- SQL:
select State, RegId, OrgId, HospId, AdmiId, HitHNBeds from ADMI where HitHNBeds IS NULL
- Data Elements:
1.9.19. AdmiInSklOnly
- Class:
Skeleton
- Priority:
High
- Message:
Admi
$name
expected from SKL is missing- Description:
Admitted Patient Service Unit appears in skeleton reference data only - A Admitted Patient Service Unit with matching Ids is expected based on the SKL data but is not present in this file
1.9.20. AdmiLHNIDMissing
1.9.21. AdmiLHNIDSpaces
1.9.22. AdmiMHCareDaysSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field MHCareDays
- Mark:
ADMI.MHCareDays
- Description:
Non-numbers (spaces) in Number field MHCareDays
- SQL:
select State, RegId, OrgId, HospId, AdmiId, MHCareDays from ADMI where MHCareDays IS NULL
- Data Elements:
1.9.23. AdmiMHCareDaysZero
- Class:
Anomaly
- Priority:
High
- Message:
Zero reported for MHCareDays
- Mark:
ADMI.MHCareDays
- Description:
Zero reported for Accrued Mental Health Care Days
- SQL:
select State, RegId, OrgId, HospId, AdmiId, MHCareDays as value from ADMI where coalesce(MHCareDays, 0) = 0
- Data Elements:
1.9.24. AdmiNSepsSpaces
1.9.25. AdmiNSepsZero
1.9.26. AdmiNotInSkl
- Class:
Skeleton
- Priority:
High
- Message:
Admi
$name
not in SKL data- Description:
Admitted Patient Service Unit not in skeleton reference data - A matching Admitted Patient Service Unit was not found in the skeleton data
1.9.27. AdmiOccupancyRange
- Class:
Exceptional
- Priority:
High
- Message:
Occupancy (
$Occupancy.perc
) is outside the range 80% to 105% (AdmiNBeds$ADMI.AdmiNBeds.num
, HitHNBeds$ADMI.HitHNBeds.num
, MHCareDays$ADMI.MHCareDays.num
)- Mark:
ADMI.MHCareDays
- Description:
Exceptional Occupancy - Admitted Patient Service Unit derived occupancy is outside the range 80% to 105% (Occupancy < 0.8 or Occupancy > 1.05) and TargetPop in (‘2’,’3’,’4’,’5’)
- SQL:
select State, RegId, OrgId, HospId, AdmiId, Occupancy, TargetPop from ADMI join AdmiOccupancy using(State, RegId, OrgId, HospId, AdmiId) where (Occupancy < 0.8 or Occupancy > 1.05) and TargetPop in ('2','3','4','5')
- Data Elements:
- Virtual Elements:
1.9.28. AdmiOccupancyRangeCA
- Class:
Exceptional
- Priority:
High
- Message:
Occupancy (
$Occupancy.perc
) is outside the range 50% to 105% (AdmiNBeds$ADMI.AdmiNBeds.num
, HitHNBeds$ADMI.HitHNBeds.num
, MHCareDays$ADMI.MHCareDays.num
)- Mark:
ADMI.MHCareDays
- Description:
Exceptional Occupancy - Child and adolescent derived occupancy is outside the range 50% to 105% (Occupancy < 0.5 or Occupancy > 1.05) and TargetPop in (‘1’)
- SQL:
select State, RegId, OrgId, HospId, AdmiId, Occupancy, TargetPop from ADMI join AdmiOccupancy using(State, RegId, OrgId, HospId, AdmiId) where (Occupancy < 0.5 or Occupancy > 1.05) and TargetPop in ('1')
- Data Elements:
- Virtual Elements:
1.9.29. AdmiPDayCARangeL
- Class:
Exceptional
- Priority:
High
- Message:
Patient Day Cost (
$PDay.dollars
) is outside the range $1,341 to $4,024 (Occupancy$ADMI.AdmiOccupancy.perc
, (AdmiNBeds$ADMI.AdmiNBeds.num
, HitHNBeds$ADMI.HitHNBeds.num
AdmiExpTotal$ADMI.AdmiExpTotal.dollars
)- Mark:
ADMI.AdmiPDay
- Description:
Exceptional Average Patient Day Cost - Child and adolescent Average Patient Day Cost for Admitted Patient Service Unit is outside the range $1,341 to $4,024. The previous year’s national average is $2,683 (PDay < 1341 or PDay > 4024) and TargetPop = ‘1’ and (AdmiNBeds + HitHNBeds) >= 5
- SQL:
select State, RegId, OrgId, HospId, AdmiId, PDay from ADMI join AdmiPDay using(State, RegId, OrgId, HospId, AdmiId) where (PDay < 1341 or PDay > 4024) and TargetPop = '1' and (AdmiNBeds + HitHNBeds) >= 5
- Data Elements:
- Virtual Elements:
1.9.30. AdmiPDayCARangeS
- Class:
Exceptional
- Priority:
Low
- Message:
Patient Day Cost (
$PDay.dollars
) is outside the range $1,341 to $4,024 (Occupancy$ADMI.AdmiOccupancy.perc
, (AdmiNBeds$ADMI.AdmiNBeds.num
, HitHNBeds$ADMI.HitHNBeds.num
AdmiExpTotal$ADMI.AdmiExpTotal.dollars
)- Mark:
ADMI.AdmiPDay
- Description:
Exceptional Average Patient Day Cost - Child and adolescent Average Patient Day Cost for Admitted Patient Service Unit is outside the range $1,341 to $4,024. The previous year’s national average is $2,683 (PDay < 1341 or PDay > 4024) and TargetPop = ‘1’ and (AdmiNBeds + HitHNBeds) < 5
- SQL:
select State, RegId, OrgId, HospId, AdmiId, PDay from ADMI join AdmiPDay using(State, RegId, OrgId, HospId, AdmiId) where (PDay < 1341 or PDay > 4024) and TargetPop = '1' and (AdmiNBeds + HitHNBeds) < 5
- Data Elements:
- Virtual Elements:
1.9.31. AdmiPDayForRangeL
- Class:
Exceptional
- Priority:
High
- Message:
Patient Day Cost (
$PDay.dollars
) is outside the range $611 to $1,832 (Occupancy$ADMI.AdmiOccupancy.perc
, (AdmiNBeds$ADMI.AdmiNBeds.num
, HitHNBeds$ADMI.HitHNBeds.num
AdmiExpTotal$ADMI.AdmiExpTotal.dollars
)- Mark:
ADMI.AdmiPDay
- Description:
Exceptional Average Patient Day Cost - Forensic Average Patient Day Cost for Admitted Patient Service Unit is outside the range $611 to $1,832. The previous year’s national average is $1,221 (PDay < 611 or PDay > 1832) and TargetPop = ‘3’ and (AdmiNBeds + HitHNBeds) >= 5
- SQL:
select State, RegId, OrgId, HospId, AdmiId, PDay from ADMI join AdmiPDay using(State, RegId, OrgId, HospId, AdmiId) where (PDay < 611 or PDay > 1832) and TargetPop = '3' and (AdmiNBeds + HitHNBeds) >= 5
- Data Elements:
- Virtual Elements:
1.9.32. AdmiPDayForRangeS
- Class:
Exceptional
- Priority:
Low
- Message:
Patient Day Cost (
$PDay.dollars
) is outside the range $611 to $1,832 (Occupancy$ADMI.AdmiOccupancy.perc
, (AdmiNBeds$ADMI.AdmiNBeds.num
, HitHNBeds$ADMI.HitHNBeds.num
AdmiExpTotal$ADMI.AdmiExpTotal.dollars
)- Mark:
ADMI.AdmiPDay
- Description:
Exceptional Average Patient Day Cost - Forensic Average Patient Day Cost for Admitted Patient Service Unit is outside the range $611 to $1,832. The previous year’s national average is $1,221 (PDay < 611 or PDay > 1832) and TargetPop = ‘3’ and (AdmiNBeds + HitHNBeds) < 5
- SQL:
select State, RegId, OrgId, HospId, AdmiId, PDay from ADMI join AdmiPDay using(State, RegId, OrgId, HospId, AdmiId) where (PDay < 611 or PDay > 1832) and TargetPop = '3' and (AdmiNBeds + HitHNBeds) < 5
- Data Elements:
- Virtual Elements:
1.9.33. AdmiPDayGenAcRangeL
- Class:
Exceptional
- Priority:
High
- Message:
Patient Day Cost (
$PDay.dollars
) is outside the range $671 to $2,014 (Occupancy$ADMI.AdmiOccupancy.perc
, (AdmiNBeds$ADMI.AdmiNBeds.num
, HitHNBeds$ADMI.HitHNBeds.num
AdmiExpTotal$ADMI.AdmiExpTotal.dollars
)- Mark:
ADMI.AdmiPDay
- Description:
Exceptional Average Patient Day Cost - General Acute Average Patient Day Cost for Admitted Patient Service Unit is outside the range $671 to $2,014. The previous year’s national average is $1,343 (PDay < 671 or PDay > 2014) and ProgType = ‘1’ and TargetPop = ‘4’ and (AdmiNBeds + HitHNBeds) >= 5
- SQL:
select State, RegId, OrgId, HospId, AdmiId, PDay from ADMI join AdmiPDay using(State, RegId, OrgId, HospId, AdmiId) where (PDay < 671 or PDay > 2014) and ProgType = '1' and TargetPop = '4' and (AdmiNBeds + HitHNBeds) >= 5
- Data Elements:
- Virtual Elements:
1.9.34. AdmiPDayGenAcRangeS
- Class:
Exceptional
- Priority:
Low
- Message:
Patient Day Cost (
$PDay.dollars
) is outside the range $671 to $2,014 (Occupancy$ADMI.AdmiOccupancy.perc
, (AdmiNBeds$ADMI.AdmiNBeds.num
, HitHNBeds$ADMI.HitHNBeds.num
AdmiExpTotal$ADMI.AdmiExpTotal.dollars
)- Mark:
ADMI.AdmiPDay
- Description:
Exceptional Average Patient Day Cost - General Acute Average Patient Day Cost for Admitted Patient Service Unit is outside the range $671 to $2,014. The previous year’s national average is $1,343 (PDay < 671 or PDay > 2014) and ProgType = ‘1’ and TargetPop = ‘4’ and (AdmiNBeds + HitHNBeds) < 5
- SQL:
select State, RegId, OrgId, HospId, AdmiId, PDay from ADMI join AdmiPDay using(State, RegId, OrgId, HospId, AdmiId) where (PDay < 671 or PDay > 2014) and ProgType = '1' and TargetPop = '4' and (AdmiNBeds + HitHNBeds) < 5
- Data Elements:
- Virtual Elements:
1.9.35. AdmiPDayGenRangeL
- Class:
Exceptional
- Priority:
High
- Message:
Patient Day Cost (
$PDay.dollars
) is outside the range $478 to $1,434 (Occupancy$ADMI.AdmiOccupancy.perc
, (AdmiNBeds$ADMI.AdmiNBeds.num
, HitHNBeds$ADMI.HitHNBeds.num
AdmiExpTotal$ADMI.AdmiExpTotal.dollars
)- Mark:
ADMI.AdmiPDay
- Description:
Exceptional Average Patient Day Cost - General Non-acute Average Patient Day Cost for Admitted Patient Service Unit is outside the range $478 to $1,434. The previous year’s national average is $956 (PDay < 478 or PDay > 1434) and ProgType = ‘2’ and TargetPop = ‘4’ and (AdmiNBeds + HitHNBeds) >= 5
- SQL:
select State, RegId, OrgId, HospId, AdmiId, PDay from ADMI join AdmiPDay using(State, RegId, OrgId, HospId, AdmiId) where (PDay < 478 or PDay > 1434) and ProgType = '2' and TargetPop = '4' and (AdmiNBeds + HitHNBeds) >= 5
- Data Elements:
- Virtual Elements:
1.9.36. AdmiPDayGenRangeS
- Class:
Exceptional
- Priority:
Low
- Message:
Patient Day Cost (
$PDay.dollars
) is outside the range $478 to $1,434 (Occupancy$ADMI.AdmiOccupancy.perc
, (AdmiNBeds$ADMI.AdmiNBeds.num
, HitHNBeds$ADMI.HitHNBeds.num
AdmiExpTotal$ADMI.AdmiExpTotal.dollars
)- Mark:
ADMI.AdmiPDay
- Description:
Exceptional Average Patient Day Cost - General Non-acute Average Patient Day Cost for Admitted Patient Service Unit is outside the range $478 to $1,434. The previous year’s national average is $956 (PDay < 478 or PDay > 1434) and ProgType = ‘2’ and TargetPop = ‘4’ and (AdmiNBeds + HitHNBeds) < 5
- SQL:
select State, RegId, OrgId, HospId, AdmiId, PDay from ADMI join AdmiPDay using(State, RegId, OrgId, HospId, AdmiId) where (PDay < 478 or PDay > 1434) and ProgType = '2' and TargetPop = '4' and (AdmiNBeds + HitHNBeds) < 5
- Data Elements:
- Virtual Elements:
1.9.37. AdmiPDayOldAcRangeL
- Class:
Exceptional
- Priority:
High
- Message:
Patient Day Cost (
$PDay.dollars
) is outside the range $599 to $1,798 (Occupancy$ADMI.AdmiOccupancy.perc
, (AdmiNBeds$ADMI.AdmiNBeds.num
, HitHNBeds$ADMI.HitHNBeds.num
AdmiExpTotal$ADMI.AdmiExpTotal.dollars
)- Mark:
ADMI.AdmiPDay
- Description:
Exceptional Average Patient Day Cost - Older person Acute Average Patient Day Cost for Admitted Patient Service Unit is outside the range $599 to $1,798. The previous year’s national average is $1,199 (PDay < 599 or PDay > 1798) and ProgType = ‘1’ and TargetPop = ‘2’ and (AdmiNBeds + HitHNBeds) >= 5
- SQL:
select State, RegId, OrgId, HospId, AdmiId, PDay from ADMI join AdmiPDay using(State, RegId, OrgId, HospId, AdmiId) where (PDay < 599 or PDay > 1798) and ProgType = '1' and TargetPop = '2' and (AdmiNBeds + HitHNBeds) >= 5
- Data Elements:
- Virtual Elements:
1.9.38. AdmiPDayOldAcRangeS
- Class:
Exceptional
- Priority:
Low
- Message:
Patient Day Cost (
$PDay.dollars
) is outside the range $599 to $1,798 (Occupancy$ADMI.AdmiOccupancy.perc
, (AdmiNBeds$ADMI.AdmiNBeds.num
, HitHNBeds$ADMI.HitHNBeds.num
AdmiExpTotal$ADMI.AdmiExpTotal.dollars
)- Mark:
ADMI.AdmiPDay
- Description:
Exceptional Average Patient Day Cost - Older person Acute Average Patient Day Cost for Admitted Patient Service Unit is outside the range $599 to $1,798. The previous year’s national average is $1,199 (PDay < 599 or PDay > 1798) and ProgType = ‘1’ and TargetPop = ‘2’ and (AdmiNBeds + HitHNBeds) < 5
- SQL:
select State, RegId, OrgId, HospId, AdmiId, PDay from ADMI join AdmiPDay using(State, RegId, OrgId, HospId, AdmiId) where (PDay < 599 or PDay > 1798) and ProgType = '1' and TargetPop = '2' and (AdmiNBeds + HitHNBeds) < 5
- Data Elements:
- Virtual Elements:
1.9.39. AdmiPDayOldRangeL
- Class:
Exceptional
- Priority:
High
- Message:
Patient Day Cost (
$PDay.dollars
) is outside the range $559 to $1,678 (Occupancy$ADMI.AdmiOccupancy.perc
, (AdmiNBeds$ADMI.AdmiNBeds.num
, HitHNBeds$ADMI.HitHNBeds.num
AdmiExpTotal$ADMI.AdmiExpTotal.dollars
)- Mark:
ADMI.AdmiPDay
- Description:
Exceptional Average Patient Day Cost - Older person Non-acute Average Patient Day Cost for Admitted Patient Service Unit is outside the range $559 to $1,678. The previous year’s national average is $1,119 (PDay < 559 or PDay > 1678) and ProgType = ‘2’ and TargetPop = ‘2’ and (AdmiNBeds + HitHNBeds) >= 5
- SQL:
select State, RegId, OrgId, HospId, AdmiId, PDay from ADMI join AdmiPDay using(State, RegId, OrgId, HospId, AdmiId) where (PDay < 559 or PDay > 1678) and ProgType = '2' and TargetPop = '2' and (AdmiNBeds + HitHNBeds) >= 5
- Data Elements:
- Virtual Elements:
1.9.40. AdmiPDayOldRangeS
- Class:
Exceptional
- Priority:
Low
- Message:
Patient Day Cost (
$PDay.dollars
) is outside the range $559 to $1,678 (Occupancy$ADMI.AdmiOccupancy.perc
, (AdmiNBeds$ADMI.AdmiNBeds.num
, HitHNBeds$ADMI.HitHNBeds.num
AdmiExpTotal$ADMI.AdmiExpTotal.dollars
)- Mark:
ADMI.AdmiPDay
- Description:
Exceptional Average Patient Day Cost - Older person Non-acute Average Patient Day Cost for Admitted Patient Service Unit is outside the range $559 to $1,678. The previous year’s national average is $1,119 (PDay < 559 or PDay > 1678) and ProgType = ‘2’ and TargetPop = ‘2’ and (AdmiNBeds + HitHNBeds) < 5
- SQL:
select State, RegId, OrgId, HospId, AdmiId, PDay from ADMI join AdmiPDay using(State, RegId, OrgId, HospId, AdmiId) where (PDay < 559 or PDay > 1678) and ProgType = '2' and TargetPop = '2' and (AdmiNBeds + HitHNBeds) < 5
- Data Elements:
- Virtual Elements:
1.9.41. AdmiPDayYthRangeL
- Class:
Exceptional
- Priority:
High
- Message:
Patient Day Cost (
$PDay.dollars
) is outside the range $878 to $2,634 (Occupancy$ADMI.AdmiOccupancy.perc
, (AdmiNBeds$ADMI.AdmiNBeds.num
, HitHNBeds$ADMI.HitHNBeds.num
AdmiExpTotal$ADMI.AdmiExpTotal.dollars
)- Mark:
ADMI.AdmiPDay
- Description:
Exceptional Average Patient Day Cost - Youth Average Patient Day Cost for Admitted Patient Service Unit is outside the range $878 to $2,634. The previous year’s national average is $1,756 (PDay < 878 or PDay > 2634) and TargetPop = ‘5’ and (AdmiNBeds + HitHNBeds) >= 5
- SQL:
select State, RegId, OrgId, HospId, AdmiId, PDay from ADMI join AdmiPDay using(State, RegId, OrgId, HospId, AdmiId) where (PDay < 878 or PDay > 2634) and TargetPop = '5' and (AdmiNBeds + HitHNBeds) >= 5
- Data Elements:
- Virtual Elements:
1.9.42. AdmiPDayYthRangeS
- Class:
Exceptional
- Priority:
Low
- Message:
Patient Day Cost (
$PDay.dollars
) is outside the range $878 to $2,634 (Occupancy$ADMI.AdmiOccupancy.perc
, (AdmiNBeds$ADMI.AdmiNBeds.num
, HitHNBeds$ADMI.HitHNBeds.num
AdmiExpTotal$ADMI.AdmiExpTotal.dollars
)- Mark:
ADMI.AdmiPDay
- Description:
Exceptional Average Patient Day Cost - Youth Average Patient Day Cost for Admitted Patient Service Unit is outside the range $878 to $2,634. The previous year’s national average is $1,756 (PDay < 878 or PDay > 2634) and TargetPop = ‘5’ and (AdmiNBeds + HitHNBeds) < 5
- SQL:
select State, RegId, OrgId, HospId, AdmiId, PDay from ADMI join AdmiPDay using(State, RegId, OrgId, HospId, AdmiId) where (PDay < 878 or PDay > 2634) and TargetPop = '5' and (AdmiNBeds + HitHNBeds) < 5
- Data Elements:
- Virtual Elements:
1.9.43. AdmiProgTypeChanged
- Class:
Historical
- Priority:
High
- Message:
Admitted Patient Service Unit ProgType changed from
$hist_ProgType
to$ProgType
- Mark:
ADMI.ProgType
- Description:
Program Type Changed - Program Type value for Admitted Patient Service Unit differs between historical and current data
- SQL:
select State, RegId, OrgId, HospId, AdmiId, ADMI.ProgType, hist_ADMI.ProgType as hist_ProgType from ADMI join hist.ADMI as hist_ADMI using(State, RegId, OrgId, HospId, AdmiId) where ADMI.ProgType != hist_ADMI.ProgType
- Data Elements:
1.9.44. AdmiProgTypeMissing
1.9.45. AdmiStdsReviewNA
- Class:
Anomaly
- Priority:
High
- Message:
StdsReviewSt Code “8” usually not applicable
- Mark:
ADMI.StdsReviewSt
- Description:
National Standards for Mental Health Services implementation status code (‘not applicable’) applicable only to admitted service units in the private sector
- SQL:
select State, RegId, OrgId, HospId, AdmiId, StdsReviewSt, Sector from ADMI join HOSP using(State, RegId, OrgId, HospId) where StdsReviewSt = '8' and Sector = '1'
- Data Elements:
1.9.46. AdmiStdsReviewStMissing
- Class:
Missing
- Priority:
High
- Message:
Missing data - StdsReviewSt
$StdsReviewSt.q
- Mark:
ADMI.StdsReviewSt
- Description:
Missing data - National Standards for Mental Health Services Review Status (StdsReviewSt)
- SQL:
select State, RegId, OrgId, HospId, AdmiId, StdsReviewSt from ADMI where StdsReviewSt is null
- Data Elements:
1.9.47. AdmiTargetPopMissing
- Class:
Missing
- Priority:
High
- Message:
Missing data - TargetPop
$TargetPop.q
- Mark:
ADMI.TargetPop
- Description:
Missing data - Target Population (TargetPop)
- SQL:
select State, RegId, OrgId, HospId, AdmiId, TargetPop from ADMI where TargetPop is null
- Data Elements:
1.9.48. AdmiTargetPopNA
- Class:
Invalid
- Priority:
High
- Message:
TargetPop Code “7” not applicable on ADMI
- Mark:
ADMI.TargetPop
- Description:
TargetPop “7” (“Not applicable”) is appropriate only on FTEORG records
- SQL:
select State, RegId, OrgId, HospId, AdmiId from ADMI where TargetPop = '7'
- Data Elements:
1.9.49. AdmiTargetPopSklDiffers
- Class:
Skeleton
- Priority:
High
- Message:
Admitted Patient Service Unit TargetPop is
$TargetPop
, not$skl_TargetPop
from SKL- Mark:
ADMI.TargetPop
- Description:
Target Population Skeleton Differs - Target Population value for Admitted Patient Service Unit differs between skeleton and current data
- SQL:
select State, RegId, OrgId, HospId, AdmiId, mhe_ent.TargetPop, skl_ent.TargetPop as skl_TargetPop from ADMI as mhe_ent join skl.Admi as skl_ent using (State, RegId, OrgId, HospId, AdmiId) where mhe_ent.TargetPop != skl_ent.TargetPop
- Data Elements:
1.9.51. AdminFteAndNoSal
- Class:
Inconsistent
- Priority:
High
- Message:
FteAdmin (
$FteAdmin
) with no corresponding ExpSalAdmin (0)- Mark:
ORG.FteAdmin
- Description:
FTE data with no corresponding Salary - Administrative and Clerical Staff
- SQL:
select State, RegId, OrgId, coalesce(ExpSalAdmin, 0), FteAdmin from ORG where FteAdmin > 0.1 and coalesce(ExpSalAdmin, 0) = 0
- Data Elements:
1.9.52. AdminSalAndNoFte
- Class:
Inconsistent
- Priority:
High
- Message:
ExpSalAdmin (
$ExpSalAdmin
) with no corresponding FteAdmin ($FteAdmin
)- Mark:
ORG.ExpSalAdmin
- Description:
Salary data with no corresponding FTE - Administrative and Clerical Staff
- SQL:
select State, RegId, OrgId, ExpSalAdmin, FteAdmin from ORG where (ExpSalAdmin > 5000) and (FteAdmin = 0)
- Data Elements:
1.9.53. AmbuAllZero
- Class:
Missing
- Priority:
High
- Message:
All
$ENTITY
Number fields are zero- Mark:
AMBU
- Description:
All Number fields are zero for this service unit. This usually indicates the record should be deleted. Zero fields were: LHNID, Deprec, ExpNonSalTot, ExpSalTot, NClients, NCont
- SQL:
select State, RegId, OrgId, ClusId, AmbuId from AMBU where coalesce(LHNID,0) = 0 and coalesce(Deprec,0) = 0 and coalesce(ExpNonSalTot,0) = 0 and coalesce(ExpSalTot,0) = 0 and coalesce(NClients,0) = 0 and coalesce(NCont,0) = 0
- Data Elements:
1.9.54. AmbuAmbuNameMissing
- Class:
Missing
- Priority:
High
- Message:
Missing data - AmbuName
$AmbuName.q
- Mark:
AMBU.AmbuName
- Description:
Missing data - Ambulatory Service Unit Name (AmbuName)
- SQL:
select State, RegId, OrgId, ClusId, AmbuId, AmbuName from AMBU where AmbuName is null
- Data Elements:
1.9.55. AmbuAvgConRange
- Class:
Exceptional
- Priority:
High
- Message:
Contact Cost (
$AvgCon.dollars
) is outside the range $30 to $1,500- Mark:
AMBU.AmbuAvgCon
- Description:
Exceptional Average Contact Cost - Average Contact Cost for Ambulatory Service Unit is outside the range $30 to $1,500.
- SQL:
select State, RegId, OrgId, ClusId, AmbuId, AvgCon from AMBU join AmbuAvgCon using(State, RegId, OrgId, ClusId, AmbuId) where (AvgCon < 30 or AvgCon > 1500)
- Data Elements:
- Virtual Elements:
1.9.56. AmbuAvgSalRange
- Class:
Exceptional
- Priority:
High
- Message:
Average Ambu Salary (
$AvgSal.dollars
) is outside the range $72,875 to $218,624- Mark:
ORG.FteorgAmbuTotal
- Description:
Exceptional Average Service Setting Salaries - Average Salary for Ambulatory Service Unit at Organisation Level is outside the range $72,875 to $218,624. The previous year’s national average is $145,749
- SQL:
select State, RegId, OrgId, AvgSal from OrgAmbuAvgSal where AvgSal < 72875 or AvgSal > 218624
- Data Elements:
- Virtual Elements:
1.9.57. AmbuContentSame
- Class:
Anomaly
- Priority:
High
- Message:
$DupCount
AMBU records with identical Number fields- Mark:
AMBU
- Description:
Multiple AMBU records found with identical Number fields: LHNID, Deprec, ExpNonSalTot, ExpSalTot, NClients, NCont
- SQL:
select State, RegId, OrgId, ClusId, AmbuId, LHNID, Deprec, ExpNonSalTot, ExpSalTot, NClients, NCont, DupCount from AMBU join ( select LHNID, Deprec, ExpNonSalTot, ExpSalTot, NClients, NCont, count(*) as DupCount from AMBU group by LHNID, Deprec, ExpNonSalTot, ExpSalTot, NClients, NCont having count(*) > 1 ) as tmpinner using (LHNID,Deprec,ExpNonSalTot,ExpSalTot,NClients,NCont)
- Data Elements:
1.9.58. AmbuDeprecSpaces
1.9.59. AmbuEstAreaMissing
- Class:
Missing
- Priority:
Low
- Message:
Missing data - EstArea
$EstArea.q
- Mark:
AMBU.EstArea
- Description:
Missing data - Geographical Location of Establishment (EstArea)
- SQL:
select State, RegId, OrgId, ClusId, AmbuId, EstArea from AMBU where EstArea is null
- Data Elements:
1.9.60. AmbuExpNonSalTotSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNonSalTot
- Mark:
AMBU.ExpNonSalTot
- Description:
Non-numbers (spaces) in Number field ExpNonSalTot
- SQL:
select State, RegId, OrgId, ClusId, AmbuId, ExpNonSalTot from AMBU where ExpNonSalTot IS NULL
- Data Elements:
1.9.61. AmbuExpSalTotSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpSalTot
- Mark:
AMBU.ExpSalTot
- Description:
Non-numbers (spaces) in Number field ExpSalTot
- SQL:
select State, RegId, OrgId, ClusId, AmbuId, ExpSalTot from AMBU where ExpSalTot IS NULL
- Data Elements:
1.9.62. AmbuExpTotalZero
- Class:
Anomaly
- Priority:
High
- Message:
Zero reported for AmbuExpTotal
- Mark:
AMBU
- Description:
Zero reported for Total Expenditure at Ambulatory Service Unit Level
- SQL:
select State, RegId, OrgId, ClusId, AmbuId, Total as value from AmbuExpTotal where coalesce(Total, 0) = 0
- Data Elements:
- Virtual Elements:
1.9.63. AmbuInSklOnly
- Class:
Skeleton
- Priority:
High
- Message:
Ambu
$name
expected from SKL is missing- Description:
Ambulatory Service Unit appears in skeleton reference data only - A Ambulatory Service Unit with matching Ids is expected based on the SKL data but is not present in this file
1.9.64. AmbuLHNIDMissing
1.9.65. AmbuLHNIDSpaces
1.9.66. AmbuNClientsGtNCont
- Class:
Inconsistent
- Priority:
Low
- Message:
NClients (
$NClients.commas
) exceeds NCont ($NCont.commas
)- Mark:
AMBU.NClients
- Description:
Number of Clients Receiving Services (NClients) exceeds Number of Service Contacts (NCont)
- SQL:
select State, RegId, OrgId, ClusId, AmbuId, NClients, NCont from AMBU where NClients > NCont
- Data Elements:
1.9.67. AmbuNClientsSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field NClients
- Mark:
AMBU.NClients
- Description:
Non-numbers (spaces) in Number field NClients
- SQL:
select State, RegId, OrgId, ClusId, AmbuId, NClients from AMBU where NClients IS NULL
- Data Elements:
1.9.68. AmbuNClientsZero
- Class:
Anomaly
- Priority:
High
- Message:
Zero reported for NClients
- Mark:
AMBU.NClients
- Description:
Zero reported for Number of Clients Receiving Services
- SQL:
select State, RegId, OrgId, ClusId, AmbuId, NClients as value from AMBU where coalesce(NClients, 0) = 0
- Data Elements:
1.9.69. AmbuNContSpaces
1.9.70. AmbuNContZero
1.9.71. AmbuNotInSkl
- Class:
Skeleton
- Priority:
High
- Message:
Ambu
$name
not in SKL data- Description:
Ambulatory Service Unit not in skeleton reference data - A matching Ambulatory Service Unit was not found in the skeleton data
1.9.72. AmbuSectorMissing
1.9.73. AmbuSectorNA
- Class:
Anomaly
- Priority:
High
- Message:
Sector Code 2 (private) not in scope for Setting 3 (ambulatory)
- Mark:
AMBU.Sector
- Description:
Ambulatory services managed by non-government organisations (NGOs) are not defined as statistical units for this NMDS.
- SQL:
select State, RegId, OrgId, ClusId, AmbuId, Sector from AMBU where Sector = '2'
- Data Elements:
1.9.74. AmbuSectorSklDiffers
- Class:
Skeleton
- Priority:
High
- Message:
Ambulatory Service Unit Sector is
$Sector
, not$skl_Sector
from SKL- Mark:
AMBU.Sector
- Description:
Sector Skeleton Differs - Sector value for Ambulatory Service Unit differs between skeleton and current data
- SQL:
select State, RegId, OrgId, ClusId, AmbuId, mhe_ent.Sector, skl_ent.Sector as skl_Sector from AMBU as mhe_ent join skl.Ambu as skl_ent using (State, RegId, OrgId, ClusId, AmbuId) where mhe_ent.Sector != skl_ent.Sector
- Data Elements:
1.9.75. AmbuStdsReviewNA
- Class:
Anomaly
- Priority:
High
- Message:
StdsReviewSt Code “8” usually not applicable
- Mark:
AMBU.StdsReviewSt
- Description:
National Standards for Mental Health Services implementation status code (‘not applicable’) applicable only to ambulatory service units in the private sector
- SQL:
select State, RegId, OrgId, ClusId, AmbuId, StdsReviewSt, Sector from AMBU where StdsReviewSt = '8' and Sector = '1'
- Data Elements:
1.9.76. AmbuStdsReviewStMissing
- Class:
Missing
- Priority:
High
- Message:
Missing data - StdsReviewSt
$StdsReviewSt.q
- Mark:
AMBU.StdsReviewSt
- Description:
Missing data - National Standards for Mental Health Services Review Status (StdsReviewSt)
- SQL:
select State, RegId, OrgId, ClusId, AmbuId, StdsReviewSt from AMBU where StdsReviewSt is null
- Data Elements:
1.9.77. AmbuTargetPopMissing
- Class:
Missing
- Priority:
High
- Message:
Missing data - TargetPop
$TargetPop.q
- Mark:
AMBU.TargetPop
- Description:
Missing data - Target Population (TargetPop)
- SQL:
select State, RegId, OrgId, ClusId, AmbuId, TargetPop from AMBU where TargetPop is null
- Data Elements:
1.9.78. AmbuTargetPopNA
- Class:
Invalid
- Priority:
High
- Message:
TargetPop Code “7” not applicable on AMBU
- Mark:
AMBU.TargetPop
- Description:
TargetPop “7” (“Not applicable”) is appropriate only on FTEORG records
- SQL:
select State, RegId, OrgId, ClusId, AmbuId from AMBU where TargetPop = '7'
- Data Elements:
1.9.79. AmbuTargetPopSklDiffers
- Class:
Skeleton
- Priority:
High
- Message:
Ambulatory Service Unit TargetPop is
$TargetPop
, not$skl_TargetPop
from SKL- Mark:
AMBU.TargetPop
- Description:
Target Population Skeleton Differs - Target Population value for Ambulatory Service Unit differs between skeleton and current data
- SQL:
select State, RegId, OrgId, ClusId, AmbuId, mhe_ent.TargetPop, skl_ent.TargetPop as skl_TargetPop from AMBU as mhe_ent join skl.Ambu as skl_ent using (State, RegId, OrgId, ClusId, AmbuId) where mhe_ent.TargetPop != skl_ent.TargetPop
- Data Elements:
1.9.80. CarerWrkrAvgSalRange
- Class:
Exceptional
- Priority:
High
- Message:
Average Carer Workers Salary (
$AvgSal.dollars
) is outside the range $49,118 to $147,354- Mark:
ORG.OrgCarerWrkrAvgSal
- Description:
Exceptional Average Salary - Average Carer Workers Salary reported at Organisation Level is outside the range $49,118 to $147,354. The previous year’s national average is $98,236
- SQL:
select State, RegId, OrgId, AvgSal from OrgCarerWrkrAvgSal where AvgSal < 49118 or AvgSal > 147354
- Data Elements:
- Virtual Elements:
1.9.81. CarerWrkrFteAndNoSal
- Class:
Inconsistent
- Priority:
High
- Message:
FteCarerWrkr (
$FteCarerWrkr
) with no corresponding ExpSalCarerWrkr (0)- Mark:
ORG.FteCarerWrkr
- Description:
FTE data with no corresponding Salary - Carer Workers
- SQL:
select State, RegId, OrgId, coalesce(ExpSalCarerWrkr, 0), FteCarerWrkr from ORG where FteCarerWrkr > 0.1 and coalesce(ExpSalCarerWrkr, 0) = 0
- Data Elements:
1.9.82. CarerWrkrSalAndNoFte
- Class:
Inconsistent
- Priority:
High
- Message:
ExpSalCarerWrkr (
$ExpSalCarerWrkr
) with no corresponding FteCarerWrkr ($FteCarerWrkr
)- Mark:
ORG.ExpSalCarerWrkr
- Description:
Salary data with no corresponding FTE - Carer Workers
- SQL:
select State, RegId, OrgId, ExpSalCarerWrkr, FteCarerWrkr from ORG where (ExpSalCarerWrkr > 5000) and (FteCarerWrkr = 0)
- Data Elements:
1.9.83. ClusBarren
- Class:
Barren
- Priority:
High
- Message:
CLUS has no AMBU or RESI records
- Mark:
CLUS
- Description:
Barren Cluster - has no associated Residential or Ambulatory service units
- SQL:
select State, RegId, OrgId, ClusId from ClusAmbuCount join ClusResiCount using(State, RegId, OrgId, ClusId) where ClusAmbuCount.Count = 0 and ClusResiCount.Count = 0
- Data Elements:
- Virtual Elements:
1.9.84. ClusClusNameMissing
1.9.85. ClusInSklOnly
- Class:
Skeleton
- Priority:
High
- Message:
Clus
$name
expected from SKL is missing- Description:
Service Unit Cluster appears in skeleton reference data only - A Service Unit Cluster with matching Ids is expected based on the SKL data but is not present in this file
1.9.86. ClusNotInSkl
- Class:
Skeleton
- Priority:
High
- Message:
Clus
$name
not in SKL data- Description:
Service Unit Cluster not in skeleton reference data - A matching Service Unit Cluster was not found in the skeleton data
1.9.87. CnsltPsychAvgSalRange
- Class:
Exceptional
- Priority:
High
- Message:
Average Consultant Psychiatrists and Psychiatrists Salary (
$AvgSal.dollars
) is outside the range $173,708 to $521,123- Mark:
ORG.ExpSalCnsltPsych
- Description:
Exceptional Average Salary - Salaries and Wages - Psychiatrists is outside the range $173,708 to $521,123. The previous year’s national average is $347,416
- SQL:
select State, RegId, OrgId, AvgSal from OrgCnsltPsychAvgSal where AvgSal < 173708 or AvgSal > 521123
- Data Elements:
- Virtual Elements:
1.9.88. CnsltPsychFteAndNoExp
- Class:
Inconsistent
- Priority:
High
- Message:
FteCnsltPsych (
$FteCnsltPsych
) with no corresponding ExpSalCnsltPsych or ExpNonSalVMO- Mark:
ORG.FteCnsltPsych
- Description:
FTE data with no corresponding Expenditure - Consultant Psychiatrists and Psychiatrists (The expenditure for this may be in the ExpSalCnsltPsych or ExpNonSalVMO fields)
- SQL:
select State, RegId, OrgId, ExpSalCnsltPsych, FteCnsltPsych from ORG where FteCnsltPsych > 0.1 and (ExpSalCnsltPsych + ExpNonSalVMO) = 0
- Data Elements:
1.9.89. CnsltPsychSalAndNoFte
- Class:
Inconsistent
- Priority:
High
- Message:
ExpSalCnsltPsych (
$ExpSalCnsltPsych
) with no corresponding FteCnsltPsych ($FteCnsltPsych
)- Mark:
ORG.ExpSalCnsltPsych
- Description:
Salary data with no corresponding FTE - Consultant Psychiatrists and Psychiatrists
- SQL:
select State, RegId, OrgId, ExpSalCnsltPsych, FteCnsltPsych from ORG where (ExpSalCnsltPsych > 5000) and (FteCnsltPsych = 0)
- Data Elements:
1.9.90. ConsrWrkrAvgSalRange
- Class:
Exceptional
- Priority:
High
- Message:
Average Consumer Workers Salary (
$AvgSal.dollars
) is outside the range $44,789 to $134,366- Mark:
ORG.OrgConsrWrkrAvgSal
- Description:
Exceptional Average Salary - Average Consumer Workers Salary reported at Organisation Level is outside the range $44,789 to $134,366. The previous year’s national average is $89,577
- SQL:
select State, RegId, OrgId, AvgSal from OrgConsrWrkrAvgSal where AvgSal < 44789 or AvgSal > 134366
- Data Elements:
- Virtual Elements:
1.9.91. ConsrWrkrFteAndNoSal
- Class:
Inconsistent
- Priority:
High
- Message:
FteConsrWrkr (
$FteConsrWrkr
) with no corresponding ExpSalConsrWrkr (0)- Mark:
ORG.FteConsrWrkr
- Description:
FTE data with no corresponding Salary - Consumer Workers
- SQL:
select State, RegId, OrgId, coalesce(ExpSalConsrWrkr, 0), FteConsrWrkr from ORG where FteConsrWrkr > 0.1 and coalesce(ExpSalConsrWrkr, 0) = 0
- Data Elements:
1.9.92. ConsrWrkrSalAndNoFte
- Class:
Inconsistent
- Priority:
High
- Message:
ExpSalConsrWrkr (
$ExpSalConsrWrkr
) with no corresponding FteConsrWrkr ($FteConsrWrkr
)- Mark:
ORG.ExpSalConsrWrkr
- Description:
Salary data with no corresponding FTE - Consumer Workers
- SQL:
select State, RegId, OrgId, ExpSalConsrWrkr, FteConsrWrkr from ORG where (ExpSalConsrWrkr > 5000) and (FteConsrWrkr = 0)
- Data Elements:
1.9.93. DHPAvgSalRange
- Class:
Exceptional
- Priority:
High
- Message:
Average Diagnostic and Health Professionals Salary (
$AvgSal.dollars
) is outside the range $57,102 to $171,306- Mark:
ORG.OrgDHPAvgSal
- Description:
Exceptional Average Salary - Average Diagnostic and Health Professionals Salary reported at Organisation Level is outside the range $57,102 to $171,306. The previous year’s national average is $114,204
- SQL:
select State, RegId, OrgId, AvgSal from OrgDHPAvgSal where AvgSal < 57102 or AvgSal > 171306
- Data Elements:
- Virtual Elements:
1.9.94. DHPOtherFteAndNoSal
- Class:
Inconsistent
- Priority:
High
- Message:
FteDHPOther (
$FteDHPOther
) with no corresponding ExpSalDHPOther (0)- Mark:
ORG.FteDHPOther
- Description:
FTE data with no corresponding Salary - Other Diagnostic and Health Professionals
- SQL:
select State, RegId, OrgId, coalesce(ExpSalDHPOther, 0), FteDHPOther from ORG where FteDHPOther > 0.1 and coalesce(ExpSalDHPOther, 0) = 0
- Data Elements:
1.9.95. DHPOtherSalAndNoFte
- Class:
Inconsistent
- Priority:
High
- Message:
ExpSalDHPOther (
$ExpSalDHPOther
) with no corresponding FteDHPOther ($FteDHPOther
)- Mark:
ORG.ExpSalDHPOther
- Description:
Salary data with no corresponding FTE - Other Diagnostic and Health Professionals
- SQL:
select State, RegId, OrgId, ExpSalDHPOther, FteDHPOther from ORG where (ExpSalDHPOther > 5000) and (FteDHPOther = 0)
- Data Elements:
1.9.96. DomestAvgSalRange
- Class:
Exceptional
- Priority:
High
- Message:
Average Domestic Salary (
$AvgSal.dollars
) is outside the range $37,535 to $112,605- Mark:
ORG.OrgDomestAvgSal
- Description:
Exceptional Average Salary - Average Domestic Salary reported at Organisation Level is outside the range $37,535 to $112,605. The previous year’s national average is $75,070
- SQL:
select State, RegId, OrgId, AvgSal from OrgDomestAvgSal where AvgSal < 37535 or AvgSal > 112605
- Data Elements:
- Virtual Elements:
1.9.97. DomestFteAndNoSal
- Class:
Inconsistent
- Priority:
High
- Message:
FteDomest (
$FteDomest
) with no corresponding ExpSalDomest (0)- Mark:
ORG.FteDomest
- Description:
FTE data with no corresponding Salary - Domestic and Other Staff
- SQL:
select State, RegId, OrgId, coalesce(ExpSalDomest, 0), FteDomest from ORG where FteDomest > 0.1 and coalesce(ExpSalDomest, 0) = 0
- Data Elements:
1.9.98. DomestSalAndNoFte
- Class:
Inconsistent
- Priority:
High
- Message:
ExpSalDomest (
$ExpSalDomest
) with no corresponding FteDomest ($FteDomest
)- Mark:
ORG.ExpSalDomest
- Description:
Salary data with no corresponding FTE - Domestic and Other Staff
- SQL:
select State, RegId, OrgId, ExpSalDomest, FteDomest from ORG where (ExpSalDomest > 5000) and (FteDomest = 0)
- Data Elements:
1.9.99. FteorgContentSame
- Class:
Anomaly
- Priority:
High
- Message:
$DupCount
FTEORG records with identical Number fields- Mark:
FTEORG
- Description:
Multiple FTEORG records found with identical Number fields: FteMed, FteNurses, FteDHP, FteAdmin, FteDomest, FteCCWrkr, FtePCare, FteATSIMHWrkr
- SQL:
select State, RegId, OrgId, Setting, TargetPop, FteMed, FteNurses, FteDHP, FteAdmin, FteDomest, FteCCWrkr, FtePCare, FteATSIMHWrkr, DupCount from FTEORG join ( select FteMed, FteNurses, FteDHP, FteAdmin, FteDomest, FteCCWrkr, FtePCare, FteATSIMHWrkr, count(*) as DupCount from FTEORG group by FteMed, FteNurses, FteDHP, FteAdmin, FteDomest, FteCCWrkr, FtePCare, FteATSIMHWrkr having count(*) > 1 ) as tmpinner using (FteMed,FteNurses,FteDHP,FteAdmin,FteDomest,FteCCWrkr,FtePCare,FteATSIMHWrkr)
- Data Elements:
1.9.100. FteorgFteATSIMHWrkrSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field FteATSIMHWrkr
- Mark:
FTEORG.FteATSIMHWrkr
- Description:
Non-numbers (spaces) in Number field FteATSIMHWrkr
- SQL:
select State, RegId, OrgId, Setting, TargetPop, FteATSIMHWrkr from FTEORG where FteATSIMHWrkr IS NULL
- Data Elements:
1.9.101. FteorgFteAdminSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field FteAdmin
- Mark:
FTEORG.FteAdmin
- Description:
Non-numbers (spaces) in Number field FteAdmin
- SQL:
select State, RegId, OrgId, Setting, TargetPop, FteAdmin from FTEORG where FteAdmin IS NULL
- Data Elements:
1.9.102. FteorgFteCCWrkrSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field FteCCWrkr
- Mark:
FTEORG.FteCCWrkr
- Description:
Non-numbers (spaces) in Number field FteCCWrkr
- SQL:
select State, RegId, OrgId, Setting, TargetPop, FteCCWrkr from FTEORG where FteCCWrkr IS NULL
- Data Elements:
1.9.103. FteorgFteDHPSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field FteDHP
- Mark:
FTEORG.FteDHP
- Description:
Non-numbers (spaces) in Number field FteDHP
- SQL:
select State, RegId, OrgId, Setting, TargetPop, FteDHP from FTEORG where FteDHP IS NULL
- Data Elements:
1.9.104. FteorgFteDomestSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field FteDomest
- Mark:
FTEORG.FteDomest
- Description:
Non-numbers (spaces) in Number field FteDomest
- SQL:
select State, RegId, OrgId, Setting, TargetPop, FteDomest from FTEORG where FteDomest IS NULL
- Data Elements:
1.9.105. FteorgFteMedSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field FteMed
- Mark:
FTEORG.FteMed
- Description:
Non-numbers (spaces) in Number field FteMed
- SQL:
select State, RegId, OrgId, Setting, TargetPop, FteMed from FTEORG where FteMed IS NULL
- Data Elements:
1.9.106. FteorgFteNursesSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field FteNurses
- Mark:
FTEORG.FteNurses
- Description:
Non-numbers (spaces) in Number field FteNurses
- SQL:
select State, RegId, OrgId, Setting, TargetPop, FteNurses from FTEORG where FteNurses IS NULL
- Data Elements:
1.9.107. FteorgFtePCareSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field FtePCare
- Mark:
FTEORG.FtePCare
- Description:
Non-numbers (spaces) in Number field FtePCare
- SQL:
select State, RegId, OrgId, Setting, TargetPop, FtePCare from FTEORG where FtePCare IS NULL
- Data Elements:
1.9.108. FteorgFteTotalZero
- Class:
Anomaly
- Priority:
High
- Message:
Zero reported for FteorgFteTotal
- Mark:
FTEORG
- Description:
Zero reported for Total FTE at Organisation Full-time Equivalent Staff by Setting/TargetPop Level
- SQL:
select State, RegId, OrgId, Setting, TargetPop, Total as value from FteorgFteTotal where coalesce(Total, 0) = 0
- Data Elements:
- Virtual Elements:
1.9.109. FteorgTargetPopSettingNA
- Class:
Inconsistent
- Priority:
High
- Message:
TargetPop
$TargetPop.qt
and Setting$Setting.qt
cannot be used together- Mark:
FTEORG.TargetPop
- Description:
TargetPop “7” (“Not applicable”) must only be used together with Setting “4” (“Organisational overhead setting”) and vice versa
- SQL:
select State, RegId, OrgId, Setting, TargetPop from FTEORG where (TargetPop != '7' and Setting = '4') or (TargetPop = '7' and Setting != '4')
- Data Elements:
1.9.110. FteorgUnit
- SQL:
SELECT State, RegId, OrgId, Setting, TargetPop, FTEORG.RecType IS NOT NULL as FteorgExists, COALESCE(UnitCount, 0) as UnitCount FROM FTEORG FULL OUTER JOIN ( SELECT State, RegId, OrgId, Setting, TargetPop, count(*) AS UnitCount FROM UnitUnion GROUP BY State, RegId, OrgId, Setting, TargetPop ) as UnitCount USING (State, RegId, OrgId, Setting, TargetPop) WHERE Setting != '4' and TargetPop != '7' -- FTEORG only
- Data Elements:
1.9.111. HospCoLocStatusChanged
- Class:
Historical
- Priority:
High
- Message:
Hospital CoLocStatus changed from
$hist_CoLocStatus
to$CoLocStatus
- Mark:
HOSP.CoLocStatus
- Description:
Co-Location Status Changed - Co-Location Status value for Hospital differs between historical and current data
- SQL:
select State, RegId, OrgId, HospId, HOSP.CoLocStatus, hist_HOSP.CoLocStatus as hist_CoLocStatus from HOSP join hist.HOSP as hist_HOSP using(State, RegId, OrgId, HospId) where HOSP.CoLocStatus != hist_HOSP.CoLocStatus
- Data Elements:
1.9.112. HospCoLocStatusMissing
- Class:
Missing
- Priority:
High
- Message:
Missing data - CoLocStatus
$CoLocStatus.q
- Mark:
HOSP.CoLocStatus
- Description:
Missing data - Co-Location Status (CoLocStatus)
- SQL:
select State, RegId, OrgId, HospId, CoLocStatus from HOSP where CoLocStatus is null
- Data Elements:
1.9.113. HospEstAreaMissing
1.9.114. HospHospNameMissing
1.9.115. HospInSklOnly
- Class:
Skeleton
- Priority:
High
- Message:
Hosp
$name
expected from SKL is missing- Description:
Hospital appears in skeleton reference data only - A Hospital with matching Ids is expected based on the SKL data but is not present in this file
1.9.116. HospNotInSkl
- Class:
Skeleton
- Priority:
High
- Message:
Hosp
$name
not in SKL data- Description:
Hospital not in skeleton reference data - A matching Hospital was not found in the skeleton data
1.9.117. HospSectorMissing
1.9.118. HospSectorSklDiffers
- Class:
Skeleton
- Priority:
High
- Message:
Hospital Sector is
$Sector
, not$skl_Sector
from SKL- Mark:
HOSP.Sector
- Description:
Sector Skeleton Differs - Sector value for Hospital differs between skeleton and current data
- SQL:
select State, RegId, OrgId, HospId, mhe_ent.Sector, skl_ent.Sector as skl_Sector from HOSP as mhe_ent join skl.Hosp as skl_ent using (State, RegId, OrgId, HospId) where mhe_ent.Sector != skl_ent.Sector
- Data Elements:
1.9.119. HrGenDtMissing
1.9.120. LowHrsStaffed
- Class:
Anomaly
- Priority:
High
- Message:
Residential Service staffed
$HrsStaffed
hours/day, less than 7- Mark:
RESI.HrsStaffed
- Description:
Average daily staffed hours for a residential mental health service is less than the required minimum for reporting
- SQL:
select State, RegId, OrgId, ClusId, ResiId, HrsStaffed from RESI where HrsStaffed < 7
- Data Elements:
1.9.121. MedOtherFteAndNoSal
- Class:
Inconsistent
- Priority:
High
- Message:
FteMedOther (
$FteMedOther
) with no corresponding ExpSalMedOther (0)- Mark:
ORG.FteMedOther
- Description:
FTE data with no corresponding Salary - Other Medical Officers
- SQL:
select State, RegId, OrgId, coalesce(ExpSalMedOther, 0), FteMedOther from ORG where FteMedOther > 0.1 and coalesce(ExpSalMedOther, 0) = 0
- Data Elements:
1.9.122. MedOtherSalAndNoFte
- Class:
Inconsistent
- Priority:
High
- Message:
ExpSalMedOther (
$ExpSalMedOther
) with no corresponding FteMedOther ($FteMedOther
)- Mark:
ORG.ExpSalMedOther
- Description:
Salary data with no corresponding FTE - Other Medical Officers
- SQL:
select State, RegId, OrgId, ExpSalMedOther, FteMedOther from ORG where (ExpSalMedOther > 5000) and (FteMedOther = 0)
- Data Elements:
1.9.123. NursesAvgSalRange
- Class:
Exceptional
- Priority:
High
- Message:
Average Nursing Salary (
$AvgSal.dollars
) is outside the range $61,970 to $185,910- Mark:
ORG.OrgNursesAvgSal
- Description:
Exceptional Average Salary - Average Nursing Salary reported at Organisation Level is outside the range $61,970 to $185,910. The previous year’s national average is $123,940
- SQL:
select State, RegId, OrgId, AvgSal from OrgNursesAvgSal where AvgSal < 61970 or AvgSal > 185910
- Data Elements:
- Virtual Elements:
1.9.124. NursesEnrlFteAndNoSal
- Class:
Inconsistent
- Priority:
High
- Message:
FteNursesEnrl (
$FteNursesEnrl
) with no corresponding ExpSalNursesEnrl (0)- Mark:
ORG.FteNursesEnrl
- Description:
FTE data with no corresponding Salary - Enrolled Nurses
- SQL:
select State, RegId, OrgId, coalesce(ExpSalNursesEnrl, 0), FteNursesEnrl from ORG where FteNursesEnrl > 0.1 and coalesce(ExpSalNursesEnrl, 0) = 0
- Data Elements:
1.9.125. NursesEnrlSalAndNoFte
- Class:
Inconsistent
- Priority:
High
- Message:
ExpSalNursesEnrl (
$ExpSalNursesEnrl
) with no corresponding FteNursesEnrl ($FteNursesEnrl
)- Mark:
ORG.ExpSalNursesEnrl
- Description:
Salary data with no corresponding FTE - Enrolled Nurses
- SQL:
select State, RegId, OrgId, ExpSalNursesEnrl, FteNursesEnrl from ORG where (ExpSalNursesEnrl > 5000) and (FteNursesEnrl = 0)
- Data Elements:
1.9.126. NursesRegFteAndNoSal
- Class:
Inconsistent
- Priority:
High
- Message:
FteNursesReg (
$FteNursesReg
) with no corresponding ExpSalNursesReg (0)- Mark:
ORG.FteNursesReg
- Description:
FTE data with no corresponding Salary - Registered Nurses
- SQL:
select State, RegId, OrgId, coalesce(ExpSalNursesReg, 0), FteNursesReg from ORG where FteNursesReg > 0.1 and coalesce(ExpSalNursesReg, 0) = 0
- Data Elements:
1.9.127. NursesRegSalAndNoFte
- Class:
Inconsistent
- Priority:
High
- Message:
ExpSalNursesReg (
$ExpSalNursesReg
) with no corresponding FteNursesReg ($FteNursesReg
)- Mark:
ORG.ExpSalNursesReg
- Description:
Salary data with no corresponding FTE - Registered Nurses
- SQL:
select State, RegId, OrgId, ExpSalNursesReg, FteNursesReg from ORG where (ExpSalNursesReg > 5000) and (FteNursesReg = 0)
- Data Elements:
1.9.128. OTAvgSalRange
- Class:
Exceptional
- Priority:
High
- Message:
Average Occupational Therapists Salary (
$AvgSal.dollars
) is outside the range $55,331 to $165,994- Mark:
ORG.ExpSalOT
- Description:
Exceptional Average Salary - Salaries and Wages - Occupational Therapists is outside the range $55,331 to $165,994. The previous year’s national average is $110,662
- SQL:
select State, RegId, OrgId, AvgSal from OrgOTAvgSal where AvgSal < 55331 or AvgSal > 165994
- Data Elements:
- Virtual Elements:
1.9.129. OTFteAndNoSal
- Class:
Inconsistent
- Priority:
High
- Message:
FteOT (
$FteOT
) with no corresponding ExpSalOT (0)- Mark:
ORG.FteOT
- Description:
FTE data with no corresponding Salary - Occupational Therapists
- SQL:
select State, RegId, OrgId, coalesce(ExpSalOT, 0), FteOT from ORG where FteOT > 0.1 and coalesce(ExpSalOT, 0) = 0
- Data Elements:
1.9.130. OTSalAndNoFte
- Class:
Inconsistent
- Priority:
High
- Message:
ExpSalOT (
$ExpSalOT
) with no corresponding FteOT ($FteOT
)- Mark:
ORG.ExpSalOT
- Description:
Salary data with no corresponding FTE - Occupational Therapists
- SQL:
select State, RegId, OrgId, ExpSalOT, FteOT from ORG where (ExpSalOT > 5000) and (FteOT = 0)
- Data Elements:
1.9.131. OrgAdmiGrowthVaries
- Class:
Historical
- Priority:
High
- Message:
Growth variation over 50% (
$diff.perc
) in OrgAdmiNBedsGrowth, OrgAdmiCDaysGrowth, OrgAdmiDCareFteGrowth, OrgAdmiExpGrowth ($OrgAdmiNBedsGrowth.perc
,$OrgAdmiCDaysGrowth.perc
,$OrgAdmiDCareFteGrowth.perc
,$OrgAdmiExpGrowth.perc
)- Mark:
ORG
- Description:
Disproportionate Change Pattern in Admitted Patient Service Unit Growth - The following historical growth fields are compared and differences greater than 50% are flagged: Total Average Available Beds for Overnight-stay Patients Growth, Total Accrued Mental Health Care Days Growth, Total Direct Care FTE for Admitted Patient Service Units Growth, Admitted Patient Service Unit Total Expenditure Growth
- SQL:
select OrgAdmiNBedsGrowth.State as State, OrgAdmiNBedsGrowth.RegId as RegId, OrgAdmiNBedsGrowth.OrgId as OrgId, sd_max(OrgAdmiNBedsGrowth.Growth, OrgAdmiCDaysGrowth.Growth, OrgAdmiDCareFteGrowth.Growth, OrgAdmiExpGrowth.Growth) as max, sd_min(OrgAdmiNBedsGrowth.Growth, OrgAdmiCDaysGrowth.Growth, OrgAdmiDCareFteGrowth.Growth, OrgAdmiExpGrowth.Growth) as min, abs(sd_max(OrgAdmiNBedsGrowth.Growth, OrgAdmiCDaysGrowth.Growth, OrgAdmiDCareFteGrowth.Growth, OrgAdmiExpGrowth.Growth) -sd_min(OrgAdmiNBedsGrowth.Growth, OrgAdmiCDaysGrowth.Growth, OrgAdmiDCareFteGrowth.Growth, OrgAdmiExpGrowth.Growth)) as diff, OrgAdmiNBedsGrowth.Growth as OrgAdmiNBedsGrowth, OrgAdmiCDaysGrowth.Growth as OrgAdmiCDaysGrowth, OrgAdmiDCareFteGrowth.Growth as OrgAdmiDCareFteGrowth, OrgAdmiExpGrowth.Growth as OrgAdmiExpGrowth, OrgAdmiNBedsChange.Change as OrgAdmiNBedsChange, OrgAdmiCDaysChange.Change as OrgAdmiCDaysChange, OrgAdmiDCareFteChange.Change as OrgAdmiDCareFteChange, OrgAdmiExpChange.Change as OrgAdmiExpChange from OrgAdmiNBedsGrowth join OrgAdmiNBedsChange using(State, RegId, OrgId) join OrgAdmiCDaysGrowth using(State, RegId, OrgId) join OrgAdmiCDaysChange using(State, RegId, OrgId) join OrgAdmiDCareFteGrowth using(State, RegId, OrgId) join OrgAdmiDCareFteChange using(State, RegId, OrgId) join OrgAdmiExpGrowth using(State, RegId, OrgId) join OrgAdmiExpChange using(State, RegId, OrgId) where abs(sd_max(OrgAdmiNBedsGrowth.Growth, OrgAdmiCDaysGrowth.Growth, OrgAdmiDCareFteGrowth.Growth, OrgAdmiExpGrowth.Growth) - sd_min(OrgAdmiNBedsGrowth.Growth, OrgAdmiCDaysGrowth.Growth, OrgAdmiDCareFteGrowth.Growth, OrgAdmiExpGrowth.Growth)) > 0.50
- Data Elements:
- Virtual Elements:
1.9.132. OrgAdmiNoFte
- Class:
Inconsistent
- Priority:
High
- Message:
ORG has
$UnitCount
ADMI records but no FTEORG record for Setting 1 and TargetPop$TargetPop
- Mark:
ORG
- Description:
Organisation has Admitted Patient Service Unit records but no FTEORG record for Setting 1 with a matching Target Population
- SQL:
select State, RegId, OrgId, Setting, TargetPop, UnitCount from FteorgUnit where Setting = '1' and UnitCount > 0 and not FteorgExists
- Data Elements:
1.9.133. OrgAmbuGrowthVaries
- Class:
Historical
- Priority:
High
- Message:
Growth variation over 50% (
$diff.perc
) in OrgAmbuDCareFteGrowth, OrgAmbuExpGrowth ($OrgAmbuDCareFteGrowth.perc
,$OrgAmbuExpGrowth.perc
)- Mark:
ORG
- Description:
Disproportionate Change Pattern in Ambulatory Service Unit Growth - The following historical growth fields are compared and differences greater than 50% are flagged: Total Direct Care FTE for Ambulatory Service Units Growth, Ambulatory Service Unit Total Expenditure Growth
- SQL:
select OrgAmbuDCareFteGrowth.State as State, OrgAmbuDCareFteGrowth.RegId as RegId, OrgAmbuDCareFteGrowth.OrgId as OrgId, sd_max(OrgAmbuDCareFteGrowth.Growth, OrgAmbuExpGrowth.Growth) as max, sd_min(OrgAmbuDCareFteGrowth.Growth, OrgAmbuExpGrowth.Growth) as min, abs(sd_max(OrgAmbuDCareFteGrowth.Growth, OrgAmbuExpGrowth.Growth) -sd_min(OrgAmbuDCareFteGrowth.Growth, OrgAmbuExpGrowth.Growth)) as diff, OrgAmbuDCareFteGrowth.Growth as OrgAmbuDCareFteGrowth, OrgAmbuExpGrowth.Growth as OrgAmbuExpGrowth, OrgAmbuDCareFteChange.Change as OrgAmbuDCareFteChange, OrgAmbuExpChange.Change as OrgAmbuExpChange from OrgAmbuDCareFteGrowth join OrgAmbuDCareFteChange using(State, RegId, OrgId) join OrgAmbuExpGrowth using(State, RegId, OrgId) join OrgAmbuExpChange using(State, RegId, OrgId) where abs(sd_max(OrgAmbuDCareFteGrowth.Growth, OrgAmbuExpGrowth.Growth) - sd_min(OrgAmbuDCareFteGrowth.Growth, OrgAmbuExpGrowth.Growth)) > 0.50
- Data Elements:
- Virtual Elements:
1.9.134. OrgAmbuNoFte
- Class:
Inconsistent
- Priority:
High
- Message:
ORG has
$UnitCount
AMBU records but no FTEORG record for Setting 3 and TargetPop$TargetPop
- Mark:
ORG
- Description:
Organisation has Ambulatory Service Unit records but no FTEORG record for Setting 3 with a matching Target Population
- SQL:
select State, RegId, OrgId, Setting, TargetPop, UnitCount from FteorgUnit where Setting = '3' and UnitCount > 0 and not FteorgExists
- Data Elements:
1.9.135. OrgBarren
- Class:
Barren
- Priority:
High
- Message:
ORG has no CLUS or HOSP records
- Mark:
ORG
- Description:
Barren Organisation - has no associated Hospitals or Service Unit Clusters
- SQL:
select State, RegId, OrgId from OrgHospCount join OrgClusCount using(State, RegId, OrgId) where OrgHospCount.Count = 0 and OrgClusCount.Count = 0
- Data Elements:
- Virtual Elements:
1.9.136. OrgBarrenFteOrg
- Class:
Barren
- Priority:
High
- Message:
ORG has no FTEORG records
- Mark:
ORG
- Description:
Barren Organisation - has no associated record providing FTE by Service Setting
- SQL:
select State, RegId, OrgId, Count from OrgFteorgCount where Count = 0
- Data Elements:
- Virtual Elements:
1.9.137. OrgCarerComplMissing
- Class:
Missing
- Priority:
High
- Message:
Missing data - CarerCompl
$CarerCompl.q
- Mark:
ORG.CarerCompl
- Description:
Missing data - Carer Participation Arrangements Indicator - Formal Complaints Mechanism (CarerCompl)
- SQL:
select State, RegId, OrgId, CarerCompl from ORG where CarerCompl is null or CarerCompl = '9'
- Data Elements:
1.9.138. OrgCarerDiscGrpMissing
- Class:
Missing
- Priority:
High
- Message:
Missing data - CarerDiscGrp
$CarerDiscGrp.q
- Mark:
ORG.CarerDiscGrp
- Description:
Missing data - Carer Participation Arrangements Indicator - Regular Discussion Groups (CarerDiscGrp)
- SQL:
select State, RegId, OrgId, CarerDiscGrp from ORG where CarerDiscGrp is null or CarerDiscGrp = '9'
- Data Elements:
1.9.139. OrgCarerPolicyMissing
- Class:
Missing
- Priority:
High
- Message:
Missing data - CarerPolicy
$CarerPolicy.q
- Mark:
ORG.CarerPolicy
- Description:
Missing data - Carer Participation Arrangements Indicator - Formal Participation Policy (CarerPolicy)
- SQL:
select State, RegId, OrgId, CarerPolicy from ORG where CarerPolicy is null or CarerPolicy = '9'
- Data Elements:
1.9.140. OrgCarerRepMissing
- Class:
Missing
- Priority:
High
- Message:
Missing data - CarerRep
$CarerRep.q
- Mark:
ORG.CarerRep
- Description:
Missing data - Carer Representation Arrangements Indicator (CarerRep)
- SQL:
select State, RegId, OrgId, CarerRep from ORG where CarerRep is null or CarerRep = '9'
- Data Elements:
1.9.141. OrgCarerSurveyMissing
- Class:
Missing
- Priority:
High
- Message:
Missing data - CarerSurvey
$CarerSurvey.q
- Mark:
ORG.CarerSurvey
- Description:
Missing data - Carer Participation Arrangements Indicator - Carer Experience Surveys (CarerSurvey)
- SQL:
select State, RegId, OrgId, CarerSurvey from ORG where CarerSurvey is null or CarerSurvey = '9'
- Data Elements:
1.9.142. OrgCmteeRepMissing
1.9.143. OrgConsrComplMissing
- Class:
Missing
- Priority:
High
- Message:
Missing data - ConsrCompl
$ConsrCompl.q
- Mark:
ORG.ConsrCompl
- Description:
Missing data - Consumer Participation Arrangements Indicator - Formal Complaints Mechanism (ConsrCompl)
- SQL:
select State, RegId, OrgId, ConsrCompl from ORG where ConsrCompl is null or ConsrCompl = '9'
- Data Elements:
1.9.144. OrgConsrDiscGrpMissing
- Class:
Missing
- Priority:
High
- Message:
Missing data - ConsrDiscGrp
$ConsrDiscGrp.q
- Mark:
ORG.ConsrDiscGrp
- Description:
Missing data - Consumer Participation Arrangements - Regular Discussion Groups (ConsrDiscGrp)
- SQL:
select State, RegId, OrgId, ConsrDiscGrp from ORG where ConsrDiscGrp is null or ConsrDiscGrp = '9'
- Data Elements:
1.9.145. OrgConsrPolicyMissing
- Class:
Missing
- Priority:
High
- Message:
Missing data - ConsrPolicy
$ConsrPolicy.q
- Mark:
ORG.ConsrPolicy
- Description:
Missing data - Consumer Participation Arrangements Indicator - Formal Participation Policy (ConsrPolicy)
- SQL:
select State, RegId, OrgId, ConsrPolicy from ORG where ConsrPolicy is null or ConsrPolicy = '9'
- Data Elements:
1.9.146. OrgConsrRepMissing
- Class:
Missing
- Priority:
High
- Message:
Missing data - ConsrRep
$ConsrRep.q
- Mark:
ORG.ConsrRep
- Description:
Missing data - Consumer Representation Arrangements Indicator (ConsrRep)
- SQL:
select State, RegId, OrgId, ConsrRep from ORG where ConsrRep is null or ConsrRep = '9'
- Data Elements:
1.9.147. OrgConsrSurveyMissing
- Class:
Missing
- Priority:
High
- Message:
Missing data - ConsrSurvey
$ConsrSurvey.q
- Mark:
ORG.ConsrSurvey
- Description:
Missing data - Consumer Participation Arrangements Indicator - Consumer Experience Surveys (ConsrSurvey)
- SQL:
select State, RegId, OrgId, ConsrSurvey from ORG where ConsrSurvey is null or ConsrSurvey = '9'
- Data Elements:
1.9.148. OrgDeprecSpaces
1.9.149. OrgExpNerAcademicSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerAcademic
- Mark:
ORG.ExpNerAcademic
- Description:
Non-numbers (spaces) in Number field ExpNerAcademic
- SQL:
select State, RegId, OrgId, ExpNerAcademic from ORG where ExpNerAcademic IS NULL
- Data Elements:
1.9.150. OrgExpNerInsurSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerInsur
- Mark:
ORG.ExpNerInsur
- Description:
Non-numbers (spaces) in Number field ExpNerInsur
- SQL:
select State, RegId, OrgId, ExpNerInsur from ORG where ExpNerInsur IS NULL
- Data Elements:
1.9.151. OrgExpNerMHActSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerMHAct
- Mark:
ORG.ExpNerMHAct
- Description:
Non-numbers (spaces) in Number field ExpNerMHAct
- SQL:
select State, RegId, OrgId, ExpNerMHAct from ORG where ExpNerMHAct IS NULL
- Data Elements:
1.9.152. OrgExpNerOtherSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerOther
- Mark:
ORG.ExpNerOther
- Description:
Non-numbers (spaces) in Number field ExpNerOther
- SQL:
select State, RegId, OrgId, ExpNerOther from ORG where ExpNerOther IS NULL
- Data Elements:
1.9.153. OrgExpNerProgAdminSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerProgAdmin
- Mark:
ORG.ExpNerProgAdmin
- Description:
Non-numbers (spaces) in Number field ExpNerProgAdmin
- SQL:
select State, RegId, OrgId, ExpNerProgAdmin from ORG where ExpNerProgAdmin IS NULL
- Data Elements:
1.9.154. OrgExpNerPromoSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerPromo
- Mark:
ORG.ExpNerPromo
- Description:
Non-numbers (spaces) in Number field ExpNerPromo
- SQL:
select State, RegId, OrgId, ExpNerPromo from ORG where ExpNerPromo IS NULL
- Data Elements:
1.9.155. OrgExpNerPropLeaseSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerPropLease
- Mark:
ORG.ExpNerPropLease
- Description:
Non-numbers (spaces) in Number field ExpNerPropLease
- SQL:
select State, RegId, OrgId, ExpNerPropLease from ORG where ExpNerPropLease IS NULL
- Data Elements:
1.9.156. OrgExpNerResearchSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerResearch
- Mark:
ORG.ExpNerResearch
- Description:
Non-numbers (spaces) in Number field ExpNerResearch
- SQL:
select State, RegId, OrgId, ExpNerResearch from ORG where ExpNerResearch IS NULL
- Data Elements:
1.9.157. OrgExpNerServDevSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerServDev
- Mark:
ORG.ExpNerServDev
- Description:
Non-numbers (spaces) in Number field ExpNerServDev
- SQL:
select State, RegId, OrgId, ExpNerServDev from ORG where ExpNerServDev IS NULL
- Data Elements:
1.9.158. OrgExpNerSuperSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerSuper
- Mark:
ORG.ExpNerSuper
- Description:
Non-numbers (spaces) in Number field ExpNerSuper
- SQL:
select State, RegId, OrgId, ExpNerSuper from ORG where ExpNerSuper IS NULL
- Data Elements:
1.9.159. OrgExpNerSuppServSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerSuppServ
- Mark:
ORG.ExpNerSuppServ
- Description:
Non-numbers (spaces) in Number field ExpNerSuppServ
- SQL:
select State, RegId, OrgId, ExpNerSuppServ from ORG where ExpNerSuppServ IS NULL
- Data Elements:
1.9.160. OrgExpNerTotalUnchanged
- Class:
Historical
- Priority:
High
- Message:
OrgExpNerTotal (
$Total.commas
) is identical to previous year- Mark:
ORG.OrgExpNerTotal
- Description:
Total Residual Expenditure at Organisation Level is identical to the previous year.
- SQL:
select State, RegId, OrgId, New.Total from OrgExpNerTotal as New join hist.OrgExpNerTotal as Old using (State, RegId, OrgId) where New.Total = Old.Total and New.Total > 0
- Data Elements:
- Virtual Elements:
1.9.161. OrgExpNerTrainingSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerTraining
- Mark:
ORG.ExpNerTraining
- Description:
Non-numbers (spaces) in Number field ExpNerTraining
- SQL:
select State, RegId, OrgId, ExpNerTraining from ORG where ExpNerTraining IS NULL
- Data Elements:
1.9.162. OrgExpNerTranspSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerTransp
- Mark:
ORG.ExpNerTransp
- Description:
Non-numbers (spaces) in Number field ExpNerTransp
- SQL:
select State, RegId, OrgId, ExpNerTransp from ORG where ExpNerTransp IS NULL
- Data Elements:
1.9.163. OrgExpNerWorkCompSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerWorkComp
- Mark:
ORG.ExpNerWorkComp
- Description:
Non-numbers (spaces) in Number field ExpNerWorkComp
- SQL:
select State, RegId, OrgId, ExpNerWorkComp from ORG where ExpNerWorkComp IS NULL
- Data Elements:
1.9.164. OrgExpNonSalAdminSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNonSalAdmin
- Mark:
ORG.ExpNonSalAdmin
- Description:
Non-numbers (spaces) in Number field ExpNonSalAdmin
- SQL:
select State, RegId, OrgId, ExpNonSalAdmin from ORG where ExpNonSalAdmin IS NULL
- Data Elements:
1.9.165. OrgExpNonSalDomestSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNonSalDomest
- Mark:
ORG.ExpNonSalDomest
- Description:
Non-numbers (spaces) in Number field ExpNonSalDomest
- SQL:
select State, RegId, OrgId, ExpNonSalDomest from ORG where ExpNonSalDomest IS NULL
- Data Elements:
1.9.166. OrgExpNonSalDrugSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNonSalDrug
- Mark:
ORG.ExpNonSalDrug
- Description:
Non-numbers (spaces) in Number field ExpNonSalDrug
- SQL:
select State, RegId, OrgId, ExpNonSalDrug from ORG where ExpNonSalDrug IS NULL
- Data Elements:
1.9.167. OrgExpNonSalFoodSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNonSalFood
- Mark:
ORG.ExpNonSalFood
- Description:
Non-numbers (spaces) in Number field ExpNonSalFood
- SQL:
select State, RegId, OrgId, ExpNonSalFood from ORG where ExpNonSalFood IS NULL
- Data Elements:
1.9.168. OrgExpNonSalInterestSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNonSalInterest
- Mark:
ORG.ExpNonSalInterest
- Description:
Non-numbers (spaces) in Number field ExpNonSalInterest
- SQL:
select State, RegId, OrgId, ExpNonSalInterest from ORG where ExpNonSalInterest IS NULL
- Data Elements:
1.9.169. OrgExpNonSalMedSupplSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNonSalMedSuppl
- Mark:
ORG.ExpNonSalMedSuppl
- Description:
Non-numbers (spaces) in Number field ExpNonSalMedSuppl
- SQL:
select State, RegId, OrgId, ExpNonSalMedSuppl from ORG where ExpNonSalMedSuppl IS NULL
- Data Elements:
1.9.170. OrgExpNonSalOtherSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNonSalOther
- Mark:
ORG.ExpNonSalOther
- Description:
Non-numbers (spaces) in Number field ExpNonSalOther
- SQL:
select State, RegId, OrgId, ExpNonSalOther from ORG where ExpNonSalOther IS NULL
- Data Elements:
1.9.171. OrgExpNonSalRepairsSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNonSalRepairs
- Mark:
ORG.ExpNonSalRepairs
- Description:
Non-numbers (spaces) in Number field ExpNonSalRepairs
- SQL:
select State, RegId, OrgId, ExpNonSalRepairs from ORG where ExpNonSalRepairs IS NULL
- Data Elements:
1.9.172. OrgExpNonSalSuperSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNonSalSuper
- Mark:
ORG.ExpNonSalSuper
- Description:
Non-numbers (spaces) in Number field ExpNonSalSuper
- SQL:
select State, RegId, OrgId, ExpNonSalSuper from ORG where ExpNonSalSuper IS NULL
- Data Elements:
1.9.173. OrgExpNonSalTranspSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNonSalTransp
- Mark:
ORG.ExpNonSalTransp
- Description:
Non-numbers (spaces) in Number field ExpNonSalTransp
- SQL:
select State, RegId, OrgId, ExpNonSalTransp from ORG where ExpNonSalTransp IS NULL
- Data Elements:
1.9.174. OrgExpNonSalUnitGtOrg
- Class:
Inconsistent
- Priority:
High
- Message:
OrgUnitExpNonSal (
$OrgUnitExpNonSal.dollars
) is greater than OrgExpNonSalTotal ($OrgExpNonSalTotal.dollars
) by more than $10,000 ($diff.dollars
)- Mark:
ORG.OrgUnitExpNonSal
- Description:
Total Non-salary Expenditure at Service Unit Level is greater than Total Non-salary Expenditure at Organisation Level by more than $10,000
- SQL:
select State, RegId, OrgId, Org.Total as OrgExpNonSalTotal, Unit.Total as OrgUnitExpNonSal, abs(Unit.Total - Org.Total) as diff from OrgExpNonSalTotal as Org join OrgUnitExpNonSal as Unit using (State, RegId, OrgId) where Unit.Total > Org.Total and abs(Unit.Total - Org.Total) > 10000
- Data Elements:
- Virtual Elements:
1.9.175. OrgExpNonSalVMOSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNonSalVMO
- Mark:
ORG.ExpNonSalVMO
- Description:
Non-numbers (spaces) in Number field ExpNonSalVMO
- SQL:
select State, RegId, OrgId, ExpNonSalVMO from ORG where ExpNonSalVMO IS NULL
- Data Elements:
1.9.176. OrgExpSNSTotalZero
- Class:
Anomaly
- Priority:
High
- Message:
Zero reported for OrgExpSNSTotal
- Mark:
ORG
- Description:
Zero reported for Total Salary and Non-Salary Expenditure at Organisation Level
- SQL:
select State, RegId, OrgId, Total as value from OrgExpSNSTotal where coalesce(Total, 0) = 0
- Data Elements:
- Virtual Elements:
1.9.177. OrgExpSalATSIMHWrkrSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpSalATSIMHWrkr
- Mark:
ORG.ExpSalATSIMHWrkr
- Description:
Non-numbers (spaces) in Number field ExpSalATSIMHWrkr
- SQL:
select State, RegId, OrgId, ExpSalATSIMHWrkr from ORG where ExpSalATSIMHWrkr IS NULL
- Data Elements:
1.9.178. OrgExpSalAdminSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpSalAdmin
- Mark:
ORG.ExpSalAdmin
- Description:
Non-numbers (spaces) in Number field ExpSalAdmin
- SQL:
select State, RegId, OrgId, ExpSalAdmin from ORG where ExpSalAdmin IS NULL
- Data Elements:
1.9.179. OrgExpSalCarerWrkrSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpSalCarerWrkr
- Mark:
ORG.ExpSalCarerWrkr
- Description:
Non-numbers (spaces) in Number field ExpSalCarerWrkr
- SQL:
select State, RegId, OrgId, ExpSalCarerWrkr from ORG where ExpSalCarerWrkr IS NULL
- Data Elements:
1.9.180. OrgExpSalCnsltPsychSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpSalCnsltPsych
- Mark:
ORG.ExpSalCnsltPsych
- Description:
Non-numbers (spaces) in Number field ExpSalCnsltPsych
- SQL:
select State, RegId, OrgId, ExpSalCnsltPsych from ORG where ExpSalCnsltPsych IS NULL
- Data Elements:
1.9.181. OrgExpSalConsrWrkrSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpSalConsrWrkr
- Mark:
ORG.ExpSalConsrWrkr
- Description:
Non-numbers (spaces) in Number field ExpSalConsrWrkr
- SQL:
select State, RegId, OrgId, ExpSalConsrWrkr from ORG where ExpSalConsrWrkr IS NULL
- Data Elements:
1.9.182. OrgExpSalDHPOtherSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpSalDHPOther
- Mark:
ORG.ExpSalDHPOther
- Description:
Non-numbers (spaces) in Number field ExpSalDHPOther
- SQL:
select State, RegId, OrgId, ExpSalDHPOther from ORG where ExpSalDHPOther IS NULL
- Data Elements:
1.9.183. OrgExpSalDomestSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpSalDomest
- Mark:
ORG.ExpSalDomest
- Description:
Non-numbers (spaces) in Number field ExpSalDomest
- SQL:
select State, RegId, OrgId, ExpSalDomest from ORG where ExpSalDomest IS NULL
- Data Elements:
1.9.184. OrgExpSalMedOtherSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpSalMedOther
- Mark:
ORG.ExpSalMedOther
- Description:
Non-numbers (spaces) in Number field ExpSalMedOther
- SQL:
select State, RegId, OrgId, ExpSalMedOther from ORG where ExpSalMedOther IS NULL
- Data Elements:
1.9.185. OrgExpSalNursesEnrlSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpSalNursesEnrl
- Mark:
ORG.ExpSalNursesEnrl
- Description:
Non-numbers (spaces) in Number field ExpSalNursesEnrl
- SQL:
select State, RegId, OrgId, ExpSalNursesEnrl from ORG where ExpSalNursesEnrl IS NULL
- Data Elements:
1.9.186. OrgExpSalNursesRegSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpSalNursesReg
- Mark:
ORG.ExpSalNursesReg
- Description:
Non-numbers (spaces) in Number field ExpSalNursesReg
- SQL:
select State, RegId, OrgId, ExpSalNursesReg from ORG where ExpSalNursesReg IS NULL
- Data Elements:
1.9.187. OrgExpSalOTSpaces
1.9.188. OrgExpSalPCareSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpSalPCare
- Mark:
ORG.ExpSalPCare
- Description:
Non-numbers (spaces) in Number field ExpSalPCare
- SQL:
select State, RegId, OrgId, ExpSalPCare from ORG where ExpSalPCare IS NULL
- Data Elements:
1.9.189. OrgExpSalPsyRegSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpSalPsyReg
- Mark:
ORG.ExpSalPsyReg
- Description:
Non-numbers (spaces) in Number field ExpSalPsyReg
- SQL:
select State, RegId, OrgId, ExpSalPsyReg from ORG where ExpSalPsyReg IS NULL
- Data Elements:
1.9.190. OrgExpSalPsycholSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpSalPsychol
- Mark:
ORG.ExpSalPsychol
- Description:
Non-numbers (spaces) in Number field ExpSalPsychol
- SQL:
select State, RegId, OrgId, ExpSalPsychol from ORG where ExpSalPsychol IS NULL
- Data Elements:
1.9.192. OrgExpSalUnitGtOrg
- Class:
Inconsistent
- Priority:
High
- Message:
OrgUnitExpSal (
$OrgUnitExpSal.dollars
) is greater than OrgExpSalTotal ($OrgExpSalTotal.dollars
) by more than $10,000 ($diff.dollars
)- Mark:
ORG.OrgUnitExpSal
- Description:
Total Salary and Wages Expenditure at Service Unit Level is greater than Total Salary and Wages Expenditure at Organisation Level by more than $10,000
- SQL:
select State, RegId, OrgId, Org.Total as OrgExpSalTotal, Unit.Total as OrgUnitExpSal, abs(Unit.Total - Org.Total) as diff from OrgExpSalTotal as Org join OrgUnitExpSal as Unit using (State, RegId, OrgId) where Unit.Total > Org.Total and abs(Unit.Total - Org.Total) > 10000
- Data Elements:
- Virtual Elements:
1.9.193. OrgFteATSIMHWrkrDiffers
- Class:
Inconsistent
- Priority:
High
- Message:
FteATSIMHWrkrSum (
$FteATSIMHWrkrSum.commas
) is not equal to OrgFteATSIMHWrkrSum ($OrgFteATSIMHWrkrSum.commas
)- Mark:
ORG
- Description:
Inconsistent FTE data - Aboriginal and Torres Strait Islander Mental Health Workers - Total Aboriginal and Torres Strait Islander Mental Health Workers FTE reported at Setting Level is not equal to Total Aboriginal and Torres Strait Islander Mental Health Workers FTE reported at Organisation Level
- SQL:
select State, RegId, OrgId, Org.Total as OrgFteATSIMHWrkrSum, Fte.Total as FteATSIMHWrkrSum from OrgFteATSIMHWrkrSum as Org join FteATSIMHWrkrSum as Fte using (State, RegId, OrgId) where abs(Fte.Total - Org.Total) > 1
- Data Elements:
- Virtual Elements:
1.9.194. OrgFteATSIMHWrkrGrowthVaries
- Class:
Historical
- Priority:
High
- Message:
OrgFteATSIMHWrkrChange (
$Change
) size is over 20 FTE and OrgFteATSIMHWrkrGrowth ($Growth.perc
) size is over 50%- Mark:
ORG.FteATSIMHWrkr
- Description:
Large historical change in Aboriginal and Torres Strait Islander Mental Health Workers (FteATSIMHWrkr), over 20 FTE and over 50%. This rules uses Full-Time Equivalent Staff – Aboriginal and Torres Strait Islander mental health workers Change and Growth fields (OrgFteATSIMHWrkrChange and OrgFteATSIMHWrkrGrowth).
- SQL:
select State, RegId, OrgId, Change, Growth from OrgFteATSIMHWrkrChange join OrgFteATSIMHWrkrGrowth using (State, RegId, OrgId) where abs(Change) > 20 and abs(Growth) > 0.50
- Data Elements:
- Virtual Elements:
1.9.195. OrgFteATSIMHWrkrSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field FteATSIMHWrkr
- Mark:
ORG.FteATSIMHWrkr
- Description:
Non-numbers (spaces) in Number field FteATSIMHWrkr
- SQL:
select State, RegId, OrgId, FteATSIMHWrkr from ORG where FteATSIMHWrkr IS NULL
- Data Elements:
1.9.196. OrgFteAdminDiffers
- Class:
Inconsistent
- Priority:
High
- Message:
FteAdminSum (
$FteAdminSum.commas
) is not equal to OrgFteAdminSum ($OrgFteAdminSum.commas
)- Mark:
ORG
- Description:
Inconsistent FTE data - Administrative and Clerical - Total Administrative and Clerical FTE reported at Setting Level is not equal to Total Administrative and Clerical FTE reported at Organisation Level
- SQL:
select State, RegId, OrgId, Org.Total as OrgFteAdminSum, Fte.Total as FteAdminSum from OrgFteAdminSum as Org join FteAdminSum as Fte using (State, RegId, OrgId) where abs(Fte.Total - Org.Total) > 1
- Data Elements:
- Virtual Elements:
1.9.197. OrgFteAdminGrowthVaries
- Class:
Historical
- Priority:
High
- Message:
OrgFteAdminChange (
$Change
) size is over 20 FTE and OrgFteAdminGrowth ($Growth.perc
) size is over 50%- Mark:
ORG.FteAdmin
- Description:
Large historical change in Administrative and Clerical (FteAdmin), over 20 FTE and over 50%. This rules uses Full-Time Equivalent Staff - Administrative and Clerical Staff Change and Growth fields (OrgFteAdminChange and OrgFteAdminGrowth).
- SQL:
select State, RegId, OrgId, Change, Growth from OrgFteAdminChange join OrgFteAdminGrowth using (State, RegId, OrgId) where abs(Change) > 20 and abs(Growth) > 0.50
- Data Elements:
- Virtual Elements:
1.9.198. OrgFteAdminSpaces
1.9.199. OrgFteCCWrkrDiffers
- Class:
Inconsistent
- Priority:
High
- Message:
FteCCWrkrSum (
$FteCCWrkrSum.commas
) is not equal to OrgFteCCWrkrSum ($OrgFteCCWrkrSum.commas
)- Mark:
ORG
- Description:
Inconsistent FTE data - Carer and Consumer Workers - Total Carer and Consumer Workers FTE reported at Setting Level is not equal to Total Carer and Consumer Workers FTE reported at Organisation Level
- SQL:
select State, RegId, OrgId, Org.Total as OrgFteCCWrkrSum, Fte.Total as FteCCWrkrSum from OrgFteCCWrkrSum as Org join FteCCWrkrSum as Fte using (State, RegId, OrgId) where abs(Fte.Total - Org.Total) > 1
- Data Elements:
- Virtual Elements:
1.9.200. OrgFteCarerWrkrGrowthVaries
- Class:
Historical
- Priority:
High
- Message:
OrgFteCarerWrkrChange (
$Change
) size is over 20 FTE and OrgFteCarerWrkrGrowth ($Growth.perc
) size is over 50%- Mark:
ORG.FteCarerWrkr
- Description:
Large historical change in Carer Workers (FteCarerWrkr), over 20 FTE and over 50%. This rules uses Full-Time Equivalent Staff - Mental Health Carer Workers Change and Growth fields (OrgFteCarerWrkrChange and OrgFteCarerWrkrGrowth).
- SQL:
select State, RegId, OrgId, Change, Growth from OrgFteCarerWrkrChange join OrgFteCarerWrkrGrowth using (State, RegId, OrgId) where abs(Change) > 20 and abs(Growth) > 0.50
- Data Elements:
- Virtual Elements:
1.9.201. OrgFteCarerWrkrSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field FteCarerWrkr
- Mark:
ORG.FteCarerWrkr
- Description:
Non-numbers (spaces) in Number field FteCarerWrkr
- SQL:
select State, RegId, OrgId, FteCarerWrkr from ORG where FteCarerWrkr IS NULL
- Data Elements:
1.9.202. OrgFteCnsltPsychGrowthVaries
- Class:
Historical
- Priority:
High
- Message:
OrgFteCnsltPsychChange (
$Change
) size is over 10 FTE- Mark:
ORG.FteCnsltPsych
- Description:
Large historical change in Consultant Psychiatrists and Psychiatrists (FteCnsltPsych), over 10 FTE. This rules uses Full-Time Equivalent Staff - Psychiatrists Change and Growth fields (OrgFteCnsltPsychChange and OrgFteCnsltPsychGrowth).
- SQL:
select State, RegId, OrgId, Change, Growth from OrgFteCnsltPsychChange join OrgFteCnsltPsychGrowth using (State, RegId, OrgId) where abs(Change) > 10
- Data Elements:
- Virtual Elements:
1.9.203. OrgFteCnsltPsychSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field FteCnsltPsych
- Mark:
ORG.FteCnsltPsych
- Description:
Non-numbers (spaces) in Number field FteCnsltPsych
- SQL:
select State, RegId, OrgId, FteCnsltPsych from ORG where FteCnsltPsych IS NULL
- Data Elements:
1.9.204. OrgFteConsrWrkrGrowthVaries
- Class:
Historical
- Priority:
High
- Message:
OrgFteConsrWrkrChange (
$Change
) size is over 20 FTE and OrgFteConsrWrkrGrowth ($Growth.perc
) size is over 50%- Mark:
ORG.FteConsrWrkr
- Description:
Large historical change in Consumer Workers (FteConsrWrkr), over 20 FTE and over 50%. This rules uses Full-Time Equivalent Staff - Mental Health Consumer Workers Change and Growth fields (OrgFteConsrWrkrChange and OrgFteConsrWrkrGrowth).
- SQL:
select State, RegId, OrgId, Change, Growth from OrgFteConsrWrkrChange join OrgFteConsrWrkrGrowth using (State, RegId, OrgId) where abs(Change) > 20 and abs(Growth) > 0.50
- Data Elements:
- Virtual Elements:
1.9.205. OrgFteConsrWrkrSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field FteConsrWrkr
- Mark:
ORG.FteConsrWrkr
- Description:
Non-numbers (spaces) in Number field FteConsrWrkr
- SQL:
select State, RegId, OrgId, FteConsrWrkr from ORG where FteConsrWrkr IS NULL
- Data Elements:
1.9.206. OrgFteDCareSumUnchanged
- Class:
Historical
- Priority:
High
- Message:
OrgFteDCareSum (
$Total.commas
) is identical to previous year- Mark:
ORG.OrgFteDCareSum
- Description:
Total Direct Care FTE reported at Organisation Level is identical to the previous year.
- SQL:
select State, RegId, OrgId, New.Total from OrgFteDCareSum as New join hist.OrgFteDCareSum as Old using (State, RegId, OrgId) where New.Total = Old.Total and New.Total > 20
- Data Elements:
- Virtual Elements:
1.9.207. OrgFteDHPDiffers
- Class:
Inconsistent
- Priority:
High
- Message:
FteDHPSum (
$FteDHPSum.commas
) is not equal to OrgFteDHPSum ($OrgFteDHPSum.commas
)- Mark:
ORG
- Description:
Inconsistent FTE data - Diagnostic and Health Professionals - Total Diagnostic and Health Professionals FTE reported at Setting Level is not equal to Total Diagnostic and Health Professionals FTE reported at Organisation Level
- SQL:
select State, RegId, OrgId, Org.Total as OrgFteDHPSum, Fte.Total as FteDHPSum from OrgFteDHPSum as Org join FteDHPSum as Fte using (State, RegId, OrgId) where abs(Fte.Total - Org.Total) > 1
- Data Elements:
- Virtual Elements:
1.9.208. OrgFteDHPOtherGrowthVaries
- Class:
Historical
- Priority:
High
- Message:
OrgFteDHPOtherChange (
$Change
) size is over 10 FTE- Mark:
ORG.FteDHPOther
- Description:
Large historical change in Other Diagnostic and Health Professionals (FteDHPOther), over 10 FTE. This rules uses Full-Time Equivalent Staff - Other Diagnostic and Health Professionals Change and Growth fields (OrgFteDHPOtherChange and OrgFteDHPOtherGrowth).
- SQL:
select State, RegId, OrgId, Change, Growth from OrgFteDHPOtherChange join OrgFteDHPOtherGrowth using (State, RegId, OrgId) where abs(Change) > 10
- Data Elements:
- Virtual Elements:
1.9.209. OrgFteDHPOtherSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field FteDHPOther
- Mark:
ORG.FteDHPOther
- Description:
Non-numbers (spaces) in Number field FteDHPOther
- SQL:
select State, RegId, OrgId, FteDHPOther from ORG where FteDHPOther IS NULL
- Data Elements:
1.9.210. OrgFteDomestDiffers
- Class:
Inconsistent
- Priority:
High
- Message:
FteDomestSum (
$FteDomestSum.commas
) is not equal to OrgFteDomestSum ($OrgFteDomestSum.commas
)- Mark:
ORG
- Description:
Inconsistent FTE data - Domestic - Total Domestic FTE reported at Setting Level is not equal to Total Domestic FTE reported at Organisation Level
- SQL:
select State, RegId, OrgId, Org.Total as OrgFteDomestSum, Fte.Total as FteDomestSum from OrgFteDomestSum as Org join FteDomestSum as Fte using (State, RegId, OrgId) where abs(Fte.Total - Org.Total) > 1
- Data Elements:
- Virtual Elements:
1.9.211. OrgFteDomestGrowthVaries
- Class:
Historical
- Priority:
High
- Message:
OrgFteDomestChange (
$Change
) size is over 20 FTE and OrgFteDomestGrowth ($Growth.perc
) size is over 50%- Mark:
ORG.FteDomest
- Description:
Large historical change in Domestic (FteDomest), over 20 FTE and over 50%. This rules uses Full-Time Equivalent Staff - Domestic and Other Staff Change and Growth fields (OrgFteDomestChange and OrgFteDomestGrowth).
- SQL:
select State, RegId, OrgId, Change, Growth from OrgFteDomestChange join OrgFteDomestGrowth using (State, RegId, OrgId) where abs(Change) > 20 and abs(Growth) > 0.50
- Data Elements:
- Virtual Elements:
1.9.212. OrgFteDomestSpaces
1.9.213. OrgFteMedDiffers
- Class:
Inconsistent
- Priority:
High
- Message:
FteMedSum (
$FteMedSum.commas
) is not equal to OrgFteMedSum ($OrgFteMedSum.commas
)- Mark:
ORG
- Description:
Inconsistent FTE data - Medical - Total Medical FTE reported at Setting Level is not equal to Total Medical FTE reported at Organisation Level
- SQL:
select State, RegId, OrgId, Org.Total as OrgFteMedSum, Fte.Total as FteMedSum from OrgFteMedSum as Org join FteMedSum as Fte using (State, RegId, OrgId) where abs(Fte.Total - Org.Total) > 1
- Data Elements:
- Virtual Elements:
1.9.214. OrgFteMedOtherGrowthVaries
- Class:
Historical
- Priority:
High
- Message:
OrgFteMedOtherChange (
$Change
) size is over 10 FTE- Mark:
ORG.FteMedOther
- Description:
Large historical change in Other Medical Officers (FteMedOther), over 10 FTE. This rules uses Full-Time Equivalent Staff - Other Medical Officers Change and Growth fields (OrgFteMedOtherChange and OrgFteMedOtherGrowth).
- SQL:
select State, RegId, OrgId, Change, Growth from OrgFteMedOtherChange join OrgFteMedOtherGrowth using (State, RegId, OrgId) where abs(Change) > 10
- Data Elements:
- Virtual Elements:
1.9.215. OrgFteMedOtherSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field FteMedOther
- Mark:
ORG.FteMedOther
- Description:
Non-numbers (spaces) in Number field FteMedOther
- SQL:
select State, RegId, OrgId, FteMedOther from ORG where FteMedOther IS NULL
- Data Elements:
1.9.216. OrgFteNoAdmi
- Class:
Inconsistent
- Priority:
High
- Message:
ORG has an FTEORG record for Setting 1 and TargetPop
$TargetPop
but no ADMI records- Mark:
ORG
- Description:
Organisation has an FTEORG record for Setting 1 but no Admitted Patient Service Unit records for a matching Target Population
- SQL:
select State, RegId, OrgId, Setting, TargetPop from FteorgUnit where Setting = '1' and FteorgExists and UnitCount = 0
- Data Elements:
1.9.217. OrgFteNoAmbu
- Class:
Inconsistent
- Priority:
High
- Message:
ORG has an FTEORG record for Setting 3 and TargetPop
$TargetPop
but no AMBU records- Mark:
ORG
- Description:
Organisation has an FTEORG record for Setting 3 but no Ambulatory Service Unit records for a matching Target Population
- SQL:
select State, RegId, OrgId, Setting, TargetPop from FteorgUnit where Setting = '3' and FteorgExists and UnitCount = 0
- Data Elements:
1.9.218. OrgFteNoResi
- Class:
Inconsistent
- Priority:
High
- Message:
ORG has an FTEORG record for Setting 2 and TargetPop
$TargetPop
but no RESI records- Mark:
ORG
- Description:
Organisation has an FTEORG record for Setting 2 but no Residential Service Unit records for a matching Target Population
- SQL:
select State, RegId, OrgId, Setting, TargetPop from FteorgUnit where Setting = '2' and FteorgExists and UnitCount = 0
- Data Elements:
1.9.219. OrgFteNursesDiffers
- Class:
Inconsistent
- Priority:
High
- Message:
FteNursesSum (
$FteNursesSum.commas
) is not equal to OrgFteNursesSum ($OrgFteNursesSum.commas
)- Mark:
ORG
- Description:
Inconsistent FTE data - Nursing - Total Nursing FTE reported at Setting Level is not equal to Total Nursing FTE reported at Organisation Level
- SQL:
select State, RegId, OrgId, Org.Total as OrgFteNursesSum, Fte.Total as FteNursesSum from OrgFteNursesSum as Org join FteNursesSum as Fte using (State, RegId, OrgId) where abs(Fte.Total - Org.Total) > 1
- Data Elements:
- Virtual Elements:
1.9.220. OrgFteNursesEnrlGrowthVaries
- Class:
Historical
- Priority:
High
- Message:
OrgFteNursesEnrlChange (
$Change
) size is over 10 FTE and OrgFteNursesEnrlGrowth ($Growth.perc
) size is over 40%- Mark:
ORG.FteNursesEnrl
- Description:
Large historical change in Enrolled Nurses (FteNursesEnrl), over 10 FTE and over 40%. This rules uses Full-Time Equivalent Staff - Enrolled Nurses Change and Growth fields (OrgFteNursesEnrlChange and OrgFteNursesEnrlGrowth).
- SQL:
select State, RegId, OrgId, Change, Growth from OrgFteNursesEnrlChange join OrgFteNursesEnrlGrowth using (State, RegId, OrgId) where abs(Change) > 10 and abs(Growth) > 0.40
- Data Elements:
- Virtual Elements:
1.9.221. OrgFteNursesEnrlSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field FteNursesEnrl
- Mark:
ORG.FteNursesEnrl
- Description:
Non-numbers (spaces) in Number field FteNursesEnrl
- SQL:
select State, RegId, OrgId, FteNursesEnrl from ORG where FteNursesEnrl IS NULL
- Data Elements:
1.9.222. OrgFteNursesRegGrowthVaries
- Class:
Historical
- Priority:
High
- Message:
OrgFteNursesRegChange (
$Change
) size is over 10 FTE and OrgFteNursesRegGrowth ($Growth.perc
) size is over 40%- Mark:
ORG.FteNursesReg
- Description:
Large historical change in Registered Nurses (FteNursesReg), over 10 FTE and over 40%. This rules uses Full-Time Equivalent Staff - Registered Nurses Change and Growth fields (OrgFteNursesRegChange and OrgFteNursesRegGrowth).
- SQL:
select State, RegId, OrgId, Change, Growth from OrgFteNursesRegChange join OrgFteNursesRegGrowth using (State, RegId, OrgId) where abs(Change) > 10 and abs(Growth) > 0.40
- Data Elements:
- Virtual Elements:
1.9.223. OrgFteNursesRegSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field FteNursesReg
- Mark:
ORG.FteNursesReg
- Description:
Non-numbers (spaces) in Number field FteNursesReg
- SQL:
select State, RegId, OrgId, FteNursesReg from ORG where FteNursesReg IS NULL
- Data Elements:
1.9.224. OrgFteOTGrowthVaries
- Class:
Historical
- Priority:
High
- Message:
OrgFteOTChange (
$Change
) size is over 10 FTE- Mark:
ORG.FteOT
- Description:
Large historical change in Occupational Therapists (FteOT), over 10 FTE. This rules uses Full-Time Equivalent Staff - Occupational Therapists Change and Growth fields (OrgFteOTChange and OrgFteOTGrowth).
- SQL:
select State, RegId, OrgId, Change, Growth from OrgFteOTChange join OrgFteOTGrowth using (State, RegId, OrgId) where abs(Change) > 10
- Data Elements:
- Virtual Elements:
1.9.225. OrgFteOTSpaces
1.9.226. OrgFtePCareDiffers
- Class:
Inconsistent
- Priority:
High
- Message:
FtePCareSum (
$FtePCareSum.commas
) is not equal to OrgFtePCareSum ($OrgFtePCareSum.commas
)- Mark:
ORG
- Description:
Inconsistent FTE data - Other Personal Care - Total Other Personal Care FTE reported at Setting Level is not equal to Total Other Personal Care FTE reported at Organisation Level
- SQL:
select State, RegId, OrgId, Org.Total as OrgFtePCareSum, Fte.Total as FtePCareSum from OrgFtePCareSum as Org join FtePCareSum as Fte using (State, RegId, OrgId) where abs(Fte.Total - Org.Total) > 1
- Data Elements:
- Virtual Elements:
1.9.227. OrgFtePCareGrowthVaries
- Class:
Historical
- Priority:
High
- Message:
OrgFtePCareChange (
$Change
) size is over 10 FTE and OrgFtePCareGrowth ($Growth.perc
) size is over 40%- Mark:
ORG.FtePCare
- Description:
Large historical change in Other Personal Care (FtePCare), over 10 FTE and over 40%. This rules uses Full-Time Equivalent Staff - Other Personal Care Staff Change and Growth fields (OrgFtePCareChange and OrgFtePCareGrowth).
- SQL:
select State, RegId, OrgId, Change, Growth from OrgFtePCareChange join OrgFtePCareGrowth using (State, RegId, OrgId) where abs(Change) > 10 and abs(Growth) > 0.40
- Data Elements:
- Virtual Elements:
1.9.228. OrgFtePCareSpaces
1.9.229. OrgFtePsyRegGrowthVaries
- Class:
Historical
- Priority:
High
- Message:
OrgFtePsyRegChange (
$Change
) size is over 10 FTE- Mark:
ORG.FtePsyReg
- Description:
Large historical change in Psychiatry Registrars and Trainees (FtePsyReg), over 10 FTE. This rules uses Full-Time Equivalent Staff - Psychiatry Registrars and Trainees Change and Growth fields (OrgFtePsyRegChange and OrgFtePsyRegGrowth).
- SQL:
select State, RegId, OrgId, Change, Growth from OrgFtePsyRegChange join OrgFtePsyRegGrowth using (State, RegId, OrgId) where abs(Change) > 10
- Data Elements:
- Virtual Elements:
1.9.230. OrgFtePsyRegSpaces
1.9.231. OrgFtePsycholGrowthVaries
- Class:
Historical
- Priority:
High
- Message:
OrgFtePsycholChange (
$Change
) size is over 10 FTE- Mark:
ORG.FtePsychol
- Description:
Large historical change in Psychologists (FtePsychol), over 10 FTE. This rules uses Full-Time Equivalent Staff - Psychologists Change and Growth fields (OrgFtePsycholChange and OrgFtePsycholGrowth).
- SQL:
select State, RegId, OrgId, Change, Growth from OrgFtePsycholChange join OrgFtePsycholGrowth using (State, RegId, OrgId) where abs(Change) > 10
- Data Elements:
- Virtual Elements:
1.9.232. OrgFtePsycholSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field FtePsychol
- Mark:
ORG.FtePsychol
- Description:
Non-numbers (spaces) in Number field FtePsychol
- SQL:
select State, RegId, OrgId, FtePsychol from ORG where FtePsychol IS NULL
- Data Elements:
1.9.235. OrgInSklOnly
- Class:
Skeleton
- Priority:
High
- Message:
Org
$name
expected from SKL is missing- Description:
Organisation appears in skeleton reference data only - A Organisation with matching Ids is expected based on the SKL data but is not present in this file
1.9.236. OrgNerChanged
- Class:
Historical
- Priority:
High
- Message:
Residual Expenditure change (
$OrgExpNerChange.dollars
or$OrgExpNerGrowth.perc
) is over double Expenditure growth$OrgWideExpGrowth.perc
- Mark:
ORG.OrgExpNerTotal
- Description:
Disproportionate change in Total Residual Expenditure at Organisation Level Growth - Total Residual Expenditure at Organisation Level change exceeds $1,000,000 and growth is both over 100% and more than double the growth in Organisation Wide Expenditure
- SQL:
select Growth.State as State, Growth.RegId as RegId, Growth.OrgId as OrgId, Growth.Growth as OrgExpNerGrowth, Change.Change as OrgExpNerChange, Exp.Growth as OrgWideExpGrowth from OrgExpNerGrowth as Growth join OrgExpNerChange as Change using (State, RegId, OrgId) join OrgWideExpGrowth as Exp using (State, RegId, OrgId) where Growth.Growth > 1.00 and Change.Change > 1000000 and Growth.Growth > 2 * Exp.Growth
- Data Elements:
- Virtual Elements:
1.9.237. OrgNerDiffL
- Class:
Exceptional
- Priority:
High
- Message:
Residual Expenditure (
$OrgExpNerTotal.dollars
) is over 25% ($prop.perc
) of Expenditure ($OrgWideExp.dollars
)- Mark:
ORG.OrgExpNerTotal
- Description:
Exceptional Residual Expenditure - Total Residual Expenditure at Organisation Level is over 25% of Organisation Wide Expenditure
- SQL:
select State, RegId, OrgId, Ner.Total as OrgExpNerTotal, Exp.Total as OrgWideExp, sd_div(Ner.Total, Exp.Total, 3) as prop from OrgExpNerTotal as Ner join OrgWideExp as Exp using (State, RegId, OrgId) where Ner.Total > 0.25 * Exp.Total and Exp.Total >= 1000000
- Data Elements:
- Virtual Elements:
1.9.238. OrgNerDiffS
- Class:
Exceptional
- Priority:
Low
- Message:
Residual Expenditure (
$OrgExpNerTotal.dollars
) is over 25% ($prop.perc
) of Expenditure ($OrgWideExp.dollars
)- Mark:
ORG.OrgExpNerTotal
- Description:
Exceptional Residual Expenditure - Total Residual Expenditure at Organisation Level is over 25% of Organisation Wide Expenditure
- SQL:
select State, RegId, OrgId, Ner.Total as OrgExpNerTotal, Exp.Total as OrgWideExp, sd_div(Ner.Total, Exp.Total, 3) as prop from OrgExpNerTotal as Ner join OrgWideExp as Exp using (State, RegId, OrgId) where Ner.Total > 0.25 * Exp.Total and Exp.Total < 1000000
- Data Elements:
- Virtual Elements:
1.9.239. OrgNerReportingChanged
- Class:
Historical
- Priority:
High
- Message:
OrgExpNerTotal is zero for this year and over $1,000,000 (
$OldTotal.dollars
) last year- Mark:
ORG.ExpNerTotal
- Description:
This Organisation reported zero Indirect expenditure for this submission compared to greater than $1,000,000 last year. Submitters should comment if there has been a change in Indirect expenditure reporting methodology.
- SQL:
select State, RegId, OrgId, New.Total, Old.Total OldTotal from OrgExpNerTotal as New join hist.OrgExpNerTotal as Old using (State, RegId, OrgId) where New.Total = 0 and Old.Total > 1000000
- Data Elements:
- Virtual Elements:
1.9.240. OrgNotInSkl
- Class:
Skeleton
- Priority:
High
- Message:
Org
$name
not in SKL data- Description:
Organisation not in skeleton reference data - A matching Organisation was not found in the skeleton data
1.9.241. OrgOrgNameMissing
1.9.242. OrgResiGrowthVaries
- Class:
Historical
- Priority:
High
- Message:
Growth variation over 50% (
$diff.perc
) in OrgResiNBedsGrowth, OrgResiCDaysGrowth, OrgResiDCareFteGrowth, OrgResiExpGrowth ($OrgResiNBedsGrowth.perc
,$OrgResiCDaysGrowth.perc
,$OrgResiDCareFteGrowth.perc
,$OrgResiExpGrowth.perc
)- Mark:
ORG
- Description:
Disproportionate Change Pattern in Residential Service Unit Growth - The following historical growth fields are compared and differences greater than 50% are flagged: Total Average Available Beds for Residential Mental Health Patients Growth, Total Accrued Mental Health Care Days Growth, Total Direct Care FTE for Residential Service Units Growth, Residential Service Unit Total Expenditure Growth
- SQL:
select OrgResiNBedsGrowth.State as State, OrgResiNBedsGrowth.RegId as RegId, OrgResiNBedsGrowth.OrgId as OrgId, sd_max(OrgResiNBedsGrowth.Growth, OrgResiCDaysGrowth.Growth, OrgResiDCareFteGrowth.Growth, OrgResiExpGrowth.Growth) as max, sd_min(OrgResiNBedsGrowth.Growth, OrgResiCDaysGrowth.Growth, OrgResiDCareFteGrowth.Growth, OrgResiExpGrowth.Growth) as min, abs(sd_max(OrgResiNBedsGrowth.Growth, OrgResiCDaysGrowth.Growth, OrgResiDCareFteGrowth.Growth, OrgResiExpGrowth.Growth) -sd_min(OrgResiNBedsGrowth.Growth, OrgResiCDaysGrowth.Growth, OrgResiDCareFteGrowth.Growth, OrgResiExpGrowth.Growth)) as diff, OrgResiNBedsGrowth.Growth as OrgResiNBedsGrowth, OrgResiCDaysGrowth.Growth as OrgResiCDaysGrowth, OrgResiDCareFteGrowth.Growth as OrgResiDCareFteGrowth, OrgResiExpGrowth.Growth as OrgResiExpGrowth, OrgResiNBedsChange.Change as OrgResiNBedsChange, OrgResiCDaysChange.Change as OrgResiCDaysChange, OrgResiDCareFteChange.Change as OrgResiDCareFteChange, OrgResiExpChange.Change as OrgResiExpChange from OrgResiNBedsGrowth join OrgResiNBedsChange using(State, RegId, OrgId) join OrgResiCDaysGrowth using(State, RegId, OrgId) join OrgResiCDaysChange using(State, RegId, OrgId) join OrgResiDCareFteGrowth using(State, RegId, OrgId) join OrgResiDCareFteChange using(State, RegId, OrgId) join OrgResiExpGrowth using(State, RegId, OrgId) join OrgResiExpChange using(State, RegId, OrgId) where abs(sd_max(OrgResiNBedsGrowth.Growth, OrgResiCDaysGrowth.Growth, OrgResiDCareFteGrowth.Growth, OrgResiExpGrowth.Growth) - sd_min(OrgResiNBedsGrowth.Growth, OrgResiCDaysGrowth.Growth, OrgResiDCareFteGrowth.Growth, OrgResiExpGrowth.Growth)) > 0.50
- Data Elements:
- Virtual Elements:
1.9.243. OrgResiNoFte
- Class:
Inconsistent
- Priority:
High
- Message:
ORG has
$UnitCount
RESI records but no FTEORG record for Setting 2 and TargetPop$TargetPop
- Mark:
ORG
- Description:
Organisation has Residential Service Unit records but no FTEORG record for Setting 2 with a matching Target Population
- SQL:
select State, RegId, OrgId, Setting, TargetPop, UnitCount from FteorgUnit where Setting = '2' and UnitCount > 0 and not FteorgExists
- Data Elements:
1.9.244. OrgRevCwlthOtherSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field RevCwlthOther
- Mark:
ORG.RevCwlthOther
- Description:
Non-numbers (spaces) in Number field RevCwlthOther
- SQL:
select State, RegId, OrgId, RevCwlthOther from ORG where RevCwlthOther IS NULL
- Data Elements:
1.9.245. OrgRevExpDiff
- SQL:
select Rev.State as State, Rev.RegId as RegId, Rev.OrgId as OrgId, Rev.Total as RevTotal, Ner.Total as NerTotal, Unit.Total as UnitTotal, Deprec.Total as DeprecTotal, Ner.Total + Unit.Total + Deprec.Total as ExpTotal, abs(Rev.Total - (Ner.Total + Unit.Total + Deprec.Total)) as abs_diff, sd_div_safe(abs(Rev.Total - (Ner.Total + Unit.Total + Deprec.Total)), sd_min(Rev.Total, (Ner.Total + Unit.Total + Deprec.Total)), 3) as prop_diff from OrgRevTotal as Rev join OrgExpNerTotal as Ner using (State, RegId, OrgId) join OrgUnitExp as Unit using (State, RegId, OrgId) join OrgUnitDeprec as Deprec using (State, RegId, OrgId)
- Data Elements:
- Virtual Elements:
1.9.246. OrgRevGtExp
- Class:
Inconsistent
- Priority:
Low
- Message:
OrgRevTotal (
$RevTotal.commas
) exceeds OrgExpNerTotal + OrgUnitExpTotal + OrgUnitDeprec ($NerTotal.commas
+$UnitTotal.commas
+$DeprecTotal
=$ExpTotal.commas
) by more than 5% ($prop_diff.perc
)- Mark:
ORG.OrgRevTotal
- Description:
Total Revenue at Organisation Level exceeds the sum of Total Residual Expenditure at Organisation Level, Total Expenditure at Service Unit Level and Total Depreciation at Service Unit Level by more than 5%
- SQL:
select State, RegId, OrgId, RevTotal, NerTotal, UnitTotal, DeprecTotal, ExpTotal, prop_diff from OrgRevExpDiff where RevTotal > ExpTotal and prop_diff > 0.05
- Data Elements:
1.9.247. OrgRevOtherSpaces
1.9.248. OrgRevPatientsSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field RevPatients
- Mark:
ORG.RevPatients
- Description:
Non-numbers (spaces) in Number field RevPatients
- SQL:
select State, RegId, OrgId, RevPatients from ORG where RevPatients IS NULL
- Data Elements:
1.9.249. OrgRevRecovSpaces
1.9.250. OrgRevStateHealthSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field RevStateHealth
- Mark:
ORG.RevStateHealth
- Description:
Non-numbers (spaces) in Number field RevStateHealth
- SQL:
select State, RegId, OrgId, RevStateHealth from ORG where RevStateHealth IS NULL
- Data Elements:
1.9.251. OrgRevStateHealthZero
- Class:
Anomaly
- Priority:
High
- Message:
Zero reported for RevStateHealth
- Mark:
ORG.RevStateHealth
- Description:
Zero reported for Revenue - State or Territory Health Authority
- SQL:
select State, RegId, OrgId, RevStateHealth as value from ORG where coalesce(RevStateHealth, 0) = 0
- Data Elements:
1.9.252. OrgRevStateOtherSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field RevStateOther
- Mark:
ORG.RevStateOther
- Description:
Non-numbers (spaces) in Number field RevStateOther
- SQL:
select State, RegId, OrgId, RevStateOther from ORG where RevStateOther IS NULL
- Data Elements:
1.9.253. OrgRevTotalZero
- Class:
Anomaly
- Priority:
High
- Message:
Zero reported for OrgRevTotal
- Mark:
ORG
- Description:
Zero reported for Total Revenue at Organisation Level
- SQL:
select State, RegId, OrgId, Total as value from OrgRevTotal where coalesce(Total, 0) = 0
- Data Elements:
- Virtual Elements:
1.9.254. OrgSNSGtWideExp
- Class:
Inconsistent
- Priority:
High
- Message:
OrgExpSNSTotal (
$OrgExpSNSTotal.dollars
) exceeds OrgWideExp ($OrgWideExp.dollars
) by more than $10,000 ($diff.dollars
)- Mark:
ORG.OrgExpSNSTotal
- Description:
Total Salary and Non-Salary Expenditure at Organisation Level exceeds the of Organisation Wide Expenditure by more than $10000.dollars
- SQL:
select State, RegId, OrgId, OrgExpSNSTotal.Total as OrgExpSNSTotal, OrgWideExp.Total as OrgWideExp, OrgExpSNSTotal.Total - OrgWideExp.Total as diff from OrgExpSNSTotal join OrgWideExp using (State, RegId, OrgId) where OrgExpSNSTotal.Total > (OrgWideExp.Total + 10000)
- Data Elements:
- Virtual Elements:
1.9.255. OrgWideExpZero
- Class:
Anomaly
- Priority:
High
- Message:
Zero reported for OrgWideExp
- Mark:
ORG
- Description:
Zero reported for Organisation Wide Expenditure
- SQL:
select State, RegId, OrgId, Total as value from OrgWideExp where coalesce(Total, 0) = 0
- Data Elements:
- Virtual Elements:
1.9.256. PCareAvgSalRange
- Class:
Exceptional
- Priority:
High
- Message:
Average Other Personal Care Salary (
$AvgSal.dollars
) is outside the range $45,239 to $135,716- Mark:
ORG.OrgPCareAvgSal
- Description:
Exceptional Average Salary - Average Other Personal Care Salary reported at Organisation Level is outside the range $45,239 to $135,716. The previous year’s national average is $90,477
- SQL:
select State, RegId, OrgId, AvgSal from OrgPCareAvgSal where AvgSal < 45239 or AvgSal > 135716
- Data Elements:
- Virtual Elements:
1.9.257. PCareFteAndNoSal
- Class:
Inconsistent
- Priority:
High
- Message:
FtePCare (
$FtePCare
) with no corresponding ExpSalPCare (0)- Mark:
ORG.FtePCare
- Description:
FTE data with no corresponding Salary - Other Personal Care Staff
- SQL:
select State, RegId, OrgId, coalesce(ExpSalPCare, 0), FtePCare from ORG where FtePCare > 0.1 and coalesce(ExpSalPCare, 0) = 0
- Data Elements:
1.9.258. PCareSalAndNoFte
- Class:
Inconsistent
- Priority:
High
- Message:
ExpSalPCare (
$ExpSalPCare
) with no corresponding FtePCare ($FtePCare
)- Mark:
ORG.ExpSalPCare
- Description:
Salary data with no corresponding FTE - Other Personal Care Staff
- SQL:
select State, RegId, OrgId, ExpSalPCare, FtePCare from ORG where (ExpSalPCare > 5000) and (FtePCare = 0)
- Data Elements:
1.9.259. PsyRegAvgSalRange
- Class:
Exceptional
- Priority:
High
- Message:
Average Psychiatry Registrars and Trainees Salary (
$AvgSal.dollars
) is outside the range $78,733 to $236,198- Mark:
ORG.ExpSalPsyReg
- Description:
Exceptional Average Salary - Salaries and Wages - Psychiatry Registrars and Trainees is outside the range $78,733 to $236,198. The previous year’s national average is $157,465
- SQL:
select State, RegId, OrgId, AvgSal from OrgPsyRegAvgSal where AvgSal < 78733 or AvgSal > 236198
- Data Elements:
- Virtual Elements:
1.9.260. PsyRegFteAndNoSal
- Class:
Inconsistent
- Priority:
High
- Message:
FtePsyReg (
$FtePsyReg
) with no corresponding ExpSalPsyReg (0)- Mark:
ORG.FtePsyReg
- Description:
FTE data with no corresponding Salary - Psychiatry Registrars and Trainees
- SQL:
select State, RegId, OrgId, coalesce(ExpSalPsyReg, 0), FtePsyReg from ORG where FtePsyReg > 0.1 and coalesce(ExpSalPsyReg, 0) = 0
- Data Elements:
1.9.261. PsyRegSalAndNoFte
- Class:
Inconsistent
- Priority:
High
- Message:
ExpSalPsyReg (
$ExpSalPsyReg
) with no corresponding FtePsyReg ($FtePsyReg
)- Mark:
ORG.ExpSalPsyReg
- Description:
Salary data with no corresponding FTE - Psychiatry Registrars and Trainees
- SQL:
select State, RegId, OrgId, ExpSalPsyReg, FtePsyReg from ORG where (ExpSalPsyReg > 5000) and (FtePsyReg = 0)
- Data Elements:
1.9.262. PsycholAvgSalRange
- Class:
Exceptional
- Priority:
High
- Message:
Average Psychologists Salary (
$AvgSal.dollars
) is outside the range $60,844 to $182,531- Mark:
ORG.ExpSalPsychol
- Description:
Exceptional Average Salary - Salaries and Wages - Psychologists is outside the range $60,844 to $182,531. The previous year’s national average is $121,688
- SQL:
select State, RegId, OrgId, AvgSal from OrgPsycholAvgSal where AvgSal < 60844 or AvgSal > 182531
- Data Elements:
- Virtual Elements:
1.9.263. PsycholFteAndNoSal
- Class:
Inconsistent
- Priority:
High
- Message:
FtePsychol (
$FtePsychol
) with no corresponding ExpSalPsychol (0)- Mark:
ORG.FtePsychol
- Description:
FTE data with no corresponding Salary - Psychologists
- SQL:
select State, RegId, OrgId, coalesce(ExpSalPsychol, 0), FtePsychol from ORG where FtePsychol > 0.1 and coalesce(ExpSalPsychol, 0) = 0
- Data Elements:
1.9.264. PsycholSalAndNoFte
- Class:
Inconsistent
- Priority:
High
- Message:
ExpSalPsychol (
$ExpSalPsychol
) with no corresponding FtePsychol ($FtePsychol
)- Mark:
ORG.ExpSalPsychol
- Description:
Salary data with no corresponding FTE - Psychologists
- SQL:
select State, RegId, OrgId, ExpSalPsychol, FtePsychol from ORG where (ExpSalPsychol > 5000) and (FtePsychol = 0)
- Data Elements:
1.9.265. RealMedAvgExpRange
- Class:
Exceptional
- Priority:
High
- Message:
Average Medical and VMOs Expenditure (
$AvgSal.dollars
) is outside the range $134,063 to $402,190- Mark:
ORG.OrgRealMedAvgSal
- Description:
Exceptional Average Expenditure - Average Medical and VMOs Expenditure reported at Organisation Level is outside the range $134,063 to $402,190. The previous year’s national average is $268,126
- SQL:
select State, RegId, OrgId, AvgSal from OrgRealMedAvgSal where AvgSal < 134063 or AvgSal > 402190
- Data Elements:
- Virtual Elements:
1.9.266. RegExpNerAcademicSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerAcademic
- Mark:
REG.ExpNerAcademic
- Description:
Non-numbers (spaces) in Number field ExpNerAcademic
- SQL:
select State, RegId, ExpNerAcademic from REG where ExpNerAcademic IS NULL
- Data Elements:
1.9.267. RegExpNerInsurSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerInsur
- Mark:
REG.ExpNerInsur
- Description:
Non-numbers (spaces) in Number field ExpNerInsur
- SQL:
select State, RegId, ExpNerInsur from REG where ExpNerInsur IS NULL
- Data Elements:
1.9.268. RegExpNerMHActSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerMHAct
- Mark:
REG.ExpNerMHAct
- Description:
Non-numbers (spaces) in Number field ExpNerMHAct
- SQL:
select State, RegId, ExpNerMHAct from REG where ExpNerMHAct IS NULL
- Data Elements:
1.9.269. RegExpNerOtherSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerOther
- Mark:
REG.ExpNerOther
- Description:
Non-numbers (spaces) in Number field ExpNerOther
- SQL:
select State, RegId, ExpNerOther from REG where ExpNerOther IS NULL
- Data Elements:
1.9.270. RegExpNerProgAdminSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerProgAdmin
- Mark:
REG.ExpNerProgAdmin
- Description:
Non-numbers (spaces) in Number field ExpNerProgAdmin
- SQL:
select State, RegId, ExpNerProgAdmin from REG where ExpNerProgAdmin IS NULL
- Data Elements:
1.9.271. RegExpNerPromoSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerPromo
- Mark:
REG.ExpNerPromo
- Description:
Non-numbers (spaces) in Number field ExpNerPromo
- SQL:
select State, RegId, ExpNerPromo from REG where ExpNerPromo IS NULL
- Data Elements:
1.9.272. RegExpNerPropLeaseSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerPropLease
- Mark:
REG.ExpNerPropLease
- Description:
Non-numbers (spaces) in Number field ExpNerPropLease
- SQL:
select State, RegId, ExpNerPropLease from REG where ExpNerPropLease IS NULL
- Data Elements:
1.9.273. RegExpNerResearchSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerResearch
- Mark:
REG.ExpNerResearch
- Description:
Non-numbers (spaces) in Number field ExpNerResearch
- SQL:
select State, RegId, ExpNerResearch from REG where ExpNerResearch IS NULL
- Data Elements:
1.9.274. RegExpNerServDevSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerServDev
- Mark:
REG.ExpNerServDev
- Description:
Non-numbers (spaces) in Number field ExpNerServDev
- SQL:
select State, RegId, ExpNerServDev from REG where ExpNerServDev IS NULL
- Data Elements:
1.9.275. RegExpNerSuperSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerSuper
- Mark:
REG.ExpNerSuper
- Description:
Non-numbers (spaces) in Number field ExpNerSuper
- SQL:
select State, RegId, ExpNerSuper from REG where ExpNerSuper IS NULL
- Data Elements:
1.9.276. RegExpNerSuppServSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerSuppServ
- Mark:
REG.ExpNerSuppServ
- Description:
Non-numbers (spaces) in Number field ExpNerSuppServ
- SQL:
select State, RegId, ExpNerSuppServ from REG where ExpNerSuppServ IS NULL
- Data Elements:
1.9.277. RegExpNerTotalUnchanged
- Class:
Historical
- Priority:
High
- Message:
RegExpNerTotal (
$Total.commas
) is identical to previous year- Mark:
REG.RegExpNerTotal
- Description:
Total Residual Expenditure at Region Level is identical to the previous year.
- SQL:
select State, RegId, New.Total from RegExpNerTotal as New join hist.RegExpNerTotal as Old using (State, RegId) where New.Total = Old.Total and New.Total > 0
- Data Elements:
- Virtual Elements:
1.9.278. RegExpNerTrainingSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerTraining
- Mark:
REG.ExpNerTraining
- Description:
Non-numbers (spaces) in Number field ExpNerTraining
- SQL:
select State, RegId, ExpNerTraining from REG where ExpNerTraining IS NULL
- Data Elements:
1.9.279. RegExpNerTranspSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerTransp
- Mark:
REG.ExpNerTransp
- Description:
Non-numbers (spaces) in Number field ExpNerTransp
- SQL:
select State, RegId, ExpNerTransp from REG where ExpNerTransp IS NULL
- Data Elements:
1.9.280. RegExpNerWorkCompSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerWorkComp
- Mark:
REG.ExpNerWorkComp
- Description:
Non-numbers (spaces) in Number field ExpNerWorkComp
- SQL:
select State, RegId, ExpNerWorkComp from REG where ExpNerWorkComp IS NULL
- Data Elements:
1.9.281. RegInSklOnly
- Class:
Skeleton
- Priority:
High
- Message:
Reg
$name
expected from SKL is missing- Description:
Region appears in skeleton reference data only - A Region with matching Ids is expected based on the SKL data but is not present in this file
1.9.282. RegNerChanged
- Class:
Historical
- Priority:
High
- Message:
Residual Expenditure change (
$RegWideExpNerChange.dollars
or$RegWideExpNerGrowth.perc
) is over double Expenditure growth$RegWideExpGrowth.perc
- Mark:
REG.RegWideExpNer
- Description:
Disproportionate change in Region Wide Residual Expenditure Growth - Region Wide Residual Expenditure change exceeds $1,000,000 and growth is both over 100% and more than double the growth in Region Wide Expenditure
- SQL:
select Growth.State as State, Growth.RegId as RegId, Growth.Growth as RegWideExpNerGrowth, Change.Change as RegWideExpNerChange, Exp.Growth as RegWideExpGrowth from RegWideExpNerGrowth as Growth join RegWideExpNerChange as Change using (State, RegId) join RegWideExpGrowth as Exp using (State, RegId) where Growth.Growth > 1.00 and Change.Change > 1000000 and Growth.Growth > 2 * Exp.Growth
- Data Elements:
- Virtual Elements:
1.9.283. RegNerDiffL
- Class:
Exceptional
- Priority:
High
- Message:
Residual Expenditure (
$RegWideExpNer.dollars
) is over 25% ($prop.perc
) of Expenditure ($RegWideExp.dollars
)- Mark:
REG.RegWideExpNer
- Description:
Exceptional Residual Expenditure - Region Wide Residual Expenditure is over 25% of Region Wide Expenditure
- SQL:
select State, RegId, Ner.Total as RegWideExpNer, Exp.Total as RegWideExp, sd_div(Ner.Total, Exp.Total, 3) as prop from RegWideExpNer as Ner join RegWideExp as Exp using (State, RegId) where Ner.Total > 0.25 * Exp.Total and Exp.Total >= 1000000
- Data Elements:
- Virtual Elements:
1.9.284. RegNerDiffS
- Class:
Exceptional
- Priority:
Low
- Message:
Residual Expenditure (
$RegWideExpNer.dollars
) is over 25% ($prop.perc
) of Expenditure ($RegWideExp.dollars
)- Mark:
REG.RegWideExpNer
- Description:
Exceptional Residual Expenditure - Region Wide Residual Expenditure is over 25% of Region Wide Expenditure
- SQL:
select State, RegId, Ner.Total as RegWideExpNer, Exp.Total as RegWideExp, sd_div(Ner.Total, Exp.Total, 3) as prop from RegWideExpNer as Ner join RegWideExp as Exp using (State, RegId) where Ner.Total > 0.25 * Exp.Total and Exp.Total < 1000000
- Data Elements:
- Virtual Elements:
1.9.285. RegNerReportingChanged
- Class:
Historical
- Priority:
High
- Message:
RegExpNerTotal is zero for this year and over $1,000,000 (
$OldTotal.dollars
) last year- Mark:
REG.ExpNerTotal
- Description:
This Region reported zero Indirect expenditure for this submission compared to greater than $1,000,000 last year. Submitters should comment if there has been a change in Indirect expenditure reporting methodology.
- SQL:
select State, RegId, New.Total, Old.Total OldTotal from RegExpNerTotal as New join hist.RegExpNerTotal as Old using (State, RegId) where New.Total = 0 and Old.Total > 1000000
- Data Elements:
- Virtual Elements:
1.9.286. RegNgoTotalUnchanged
- Class:
Historical
- Priority:
High
- Message:
RegNgoTotal (
$Total.commas
) is identical to previous year- Mark:
REG.RegNgoTotal
- Description:
Total NGO Expenditure at Region Level is identical to the previous year.
- SQL:
select State, RegId, New.Total from RegNgoTotal as New join hist.RegNgoTotal as Old using (State, RegId) where New.Total = Old.Total and New.Total > 0
- Data Elements:
- Virtual Elements:
1.9.287. RegNgoTotalZeroed
- Class:
Historical
- Priority:
Low
- Message:
RegNgoTotal is zero, but was
$Total.commas
last reporting period- Mark:
REG.RegNgoTotal
- Description:
Total NGO Expenditure at Region Level is potentially missing.
- SQL:
select State, RegId, Old.Total from RegNgoTotal as New join hist.RegNgoTotal as Old using (State, RegId) where New.Total = 0 and Old.Total > 0
- Data Elements:
- Virtual Elements:
1.9.288. RegNotInSkl
- Class:
Skeleton
- Priority:
High
- Message:
Reg
$name
not in SKL data- Description:
Region not in skeleton reference data - A matching Region was not found in the skeleton data
1.9.289. RegRegNameMissing
1.9.290. RegRevCwlthOtherSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field RevCwlthOther
- Mark:
REG.RevCwlthOther
- Description:
Non-numbers (spaces) in Number field RevCwlthOther
- SQL:
select State, RegId, RevCwlthOther from REG where RevCwlthOther IS NULL
- Data Elements:
1.9.291. RegRevGtExp
- Class:
Inconsistent
- Priority:
Low
- Message:
REG revenue (
$RevTotal.commas
) is greater than expenditure ($ExpTotal.commas
) by more than 5% ($diff.perc
)- Mark:
REG.RevTotal
- Description:
Total Revenue at Region Level is greater than Region Level Total Expenditure by more than 5%
- SQL:
select * from ( select State, RegId, Rev.Total as RevTotal, Exp.Total as ExpTotal, sd_div_safe(abs(Rev.Total - Exp.Total)::NUMERIC, sd_min(Rev.Total, Exp.Total), 3) as diff from RegRevTotal as Rev join RegExpTotal as Exp using (State, RegId) where Rev.Total > Exp.Total ) tmpinner where diff > 0.05
- Data Elements:
- Virtual Elements:
1.9.292. RegRevOtherSpaces
1.9.293. RegRevPatientsSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field RevPatients
- Mark:
REG.RevPatients
- Description:
Non-numbers (spaces) in Number field RevPatients
- SQL:
select State, RegId, RevPatients from REG where RevPatients IS NULL
- Data Elements:
1.9.294. RegRevRecovSpaces
1.9.295. RegRevStateHealthSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field RevStateHealth
- Mark:
REG.RevStateHealth
- Description:
Non-numbers (spaces) in Number field RevStateHealth
- SQL:
select State, RegId, RevStateHealth from REG where RevStateHealth IS NULL
- Data Elements:
1.9.296. RegRevStateOtherSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field RevStateOther
- Mark:
REG.RevStateOther
- Description:
Non-numbers (spaces) in Number field RevStateOther
- SQL:
select State, RegId, RevStateOther from REG where RevStateOther IS NULL
- Data Elements:
1.9.297. RegngoNGONameMissing
1.9.298. RegngoeMHNGOEGrantsSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field MHNGOEGrants
- Mark:
REGNGOE.MHNGOEGrants
- Description:
Non-numbers (spaces) in Number field MHNGOEGrants
- SQL:
select State, RegId, NGOId, MHNGOServType, MHNGOEGrants from REGNGOE where MHNGOEGrants IS NULL
- Data Elements:
1.9.299. ResiAllZero
- Class:
Missing
- Priority:
High
- Message:
All
$ENTITY
Number fields are zero- Mark:
RESI
- Description:
All Number fields are zero for this service unit. This usually indicates the record should be deleted. Zero fields were: LHNID, HrsStaffed, Deprec, ExpNonSalTot, ExpSalTot, ResiNBeds, MHCareDays, NEpi
- SQL:
select State, RegId, OrgId, ClusId, ResiId from RESI where coalesce(LHNID,0) = 0 and coalesce(HrsStaffed,0) = 0 and coalesce(Deprec,0) = 0 and coalesce(ExpNonSalTot,0) = 0 and coalesce(ExpSalTot,0) = 0 and coalesce(ResiNBeds,0) = 0 and coalesce(MHCareDays,0) = 0 and coalesce(NEpi,0) = 0
- Data Elements:
1.9.300. ResiAvgSalRange
- Class:
Exceptional
- Priority:
High
- Message:
Average Resi Salary (
$AvgSal.dollars
) is outside the range $61,443 to $184,328- Mark:
ORG.FteorgResiTotal
- Description:
Exceptional Average Service Setting Salaries - Average Salary for Residential Service Unit at Organisation Level is outside the range $61,443 to $184,328. The previous year’s national average is $122,885
- SQL:
select State, RegId, OrgId, AvgSal from OrgResiAvgSal where AvgSal < 61443 or AvgSal > 184328
- Data Elements:
- Virtual Elements:
1.9.301. ResiContentSame
- Class:
Anomaly
- Priority:
High
- Message:
$DupCount
RESI records with identical Number fields- Mark:
RESI
- Description:
Multiple RESI records found with identical Number fields: LHNID, HrsStaffed, Deprec, ExpNonSalTot, ExpSalTot, ResiNBeds, MHCareDays, NEpi
- SQL:
select State, RegId, OrgId, ClusId, ResiId, LHNID, HrsStaffed, Deprec, ExpNonSalTot, ExpSalTot, ResiNBeds, MHCareDays, NEpi, DupCount from RESI join ( select LHNID, HrsStaffed, Deprec, ExpNonSalTot, ExpSalTot, ResiNBeds, MHCareDays, NEpi, count(*) as DupCount from RESI group by LHNID, HrsStaffed, Deprec, ExpNonSalTot, ExpSalTot, ResiNBeds, MHCareDays, NEpi having count(*) > 1 ) as tmpinner using (LHNID,HrsStaffed,Deprec,ExpNonSalTot,ExpSalTot,ResiNBeds,MHCareDays,NEpi)
- Data Elements:
1.9.302. ResiDeprecSpaces
1.9.303. ResiEstAreaMissing
- Class:
Missing
- Priority:
Low
- Message:
Missing data - EstArea
$EstArea.q
- Mark:
RESI.EstArea
- Description:
Missing data - Geographical Location of Establishment (EstArea)
- SQL:
select State, RegId, OrgId, ClusId, ResiId, EstArea from RESI where EstArea is null
- Data Elements:
1.9.304. ResiExpNonSalTotSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNonSalTot
- Mark:
RESI.ExpNonSalTot
- Description:
Non-numbers (spaces) in Number field ExpNonSalTot
- SQL:
select State, RegId, OrgId, ClusId, ResiId, ExpNonSalTot from RESI where ExpNonSalTot IS NULL
- Data Elements:
1.9.305. ResiExpSalTotSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpSalTot
- Mark:
RESI.ExpSalTot
- Description:
Non-numbers (spaces) in Number field ExpSalTot
- SQL:
select State, RegId, OrgId, ClusId, ResiId, ExpSalTot from RESI where ExpSalTot IS NULL
- Data Elements:
1.9.306. ResiExpTotalZero
- Class:
Anomaly
- Priority:
High
- Message:
Zero reported for ResiExpTotal
- Mark:
RESI
- Description:
Zero reported for Total Expenditure at Residential Service Unit Level
- SQL:
select State, RegId, OrgId, ClusId, ResiId, Total as value from ResiExpTotal where coalesce(Total, 0) = 0
- Data Elements:
- Virtual Elements:
1.9.307. ResiHrsStaffed24Changed
- Class:
Historical
- Priority:
High
- Message:
Residential Service Unit HrsStaffed changed from
$hist_HrsStaffed
to$HrsStaffed
- Mark:
RESI.HrsStaffed
- Description:
Hours Staffed Changed - Hours Staffed value for Residential Service Unit differs between historical and current data
- SQL:
select State, RegId, OrgId, ClusId, ResiId, RESI.HrsStaffed, hist_RESI.HrsStaffed as hist_HrsStaffed from RESI join hist.RESI as hist_RESI using(State, RegId, OrgId, ClusId, ResiId) where (RESI.HrsStaffed = '24') != (hist_RESI.HrsStaffed = '24')
- Data Elements:
1.9.308. ResiHrsStaffedSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field HrsStaffed
- Mark:
RESI.HrsStaffed
- Description:
Non-numbers (spaces) in Number field HrsStaffed
- SQL:
select State, RegId, OrgId, ClusId, ResiId, HrsStaffed from RESI where HrsStaffed IS NULL
- Data Elements:
1.9.309. ResiHrsStaffedZero
- Class:
Anomaly
- Priority:
High
- Message:
Zero reported for HrsStaffed
- Mark:
RESI.HrsStaffed
- Description:
Zero reported for Hours Staffed
- SQL:
select State, RegId, OrgId, ClusId, ResiId, HrsStaffed as value from RESI where coalesce(HrsStaffed, 0) = 0
- Data Elements:
1.9.310. ResiInSklOnly
- Class:
Skeleton
- Priority:
High
- Message:
Resi
$name
expected from SKL is missing- Description:
Residential Service Unit appears in skeleton reference data only - A Residential Service Unit with matching Ids is expected based on the SKL data but is not present in this file
1.9.311. ResiLHNIDMissing
1.9.312. ResiLHNIDSpaces
1.9.313. ResiMHCareDaysSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field MHCareDays
- Mark:
RESI.MHCareDays
- Description:
Non-numbers (spaces) in Number field MHCareDays
- SQL:
select State, RegId, OrgId, ClusId, ResiId, MHCareDays from RESI where MHCareDays IS NULL
- Data Elements:
1.9.314. ResiMHCareDaysZero
- Class:
Anomaly
- Priority:
High
- Message:
Zero reported for MHCareDays
- Mark:
RESI.MHCareDays
- Description:
Zero reported for Accrued Mental Health Care Days
- SQL:
select State, RegId, OrgId, ClusId, ResiId, MHCareDays as value from RESI where coalesce(MHCareDays, 0) = 0
- Data Elements:
1.9.315. ResiNEpiSpaces
1.9.316. ResiNEpiZero
- Class:
Anomaly
- Priority:
High
- Message:
Zero reported for NEpi
- Mark:
RESI.NEpi
- Description:
Zero reported for Number of Episodes of Residential Care
- SQL:
select State, RegId, OrgId, ClusId, ResiId, NEpi as value from RESI where coalesce(NEpi, 0) = 0
- Data Elements:
1.9.317. ResiNotInSkl
- Class:
Skeleton
- Priority:
High
- Message:
Resi
$name
not in SKL data- Description:
Residential Service Unit not in skeleton reference data - A matching Residential Service Unit was not found in the skeleton data
1.9.318. ResiOccupancyRange
- Class:
Exceptional
- Priority:
High
- Message:
Occupancy (
$Occupancy.perc
) is outside the range 70% to 105% (ResiNBeds$RESI.ResiNBeds.num
, MHCareDays$RESI.MHCareDays.num
)- Mark:
RESI.MHCareDays
- Description:
Exceptional Occupancy - Residential Service Unit derived occupancy is outside the range 70% to 105% (Occupancy < 0.7 or Occupancy > 1.05)
- SQL:
select State, RegId, OrgId, ClusId, ResiId, Occupancy from RESI join ResiOccupancy using(State, RegId, OrgId, ClusId, ResiId) where (Occupancy < 0.7 or Occupancy > 1.05)
- Data Elements:
- Virtual Elements:
1.9.319. ResiPDay24RangeL
- Class:
Exceptional
- Priority:
High
- Message:
Patient Day Cost (
$PDay.dollars
) is outside the range $348 to $1,393 (Occupancy$RESI.ResiOccupancy.perc
, (ResiNBeds$RESI.ResiNBeds.num
ResiExpTotal$RESI.ResiExpTotal.dollars
)- Mark:
RESI.ResiPDay
- Description:
Exceptional Average Patient Day Cost - 24hr staffed Average Patient Day Cost for Residential Service Unit is outside the range $348 to $1,393. The previous year’s national average is $696 (PDay < 348 or PDay > 1393) and HrsStaffed = 24 and ResiNBeds >= 5
- SQL:
select State, RegId, OrgId, ClusId, ResiId, PDay from RESI join ResiPDay using(State, RegId, OrgId, ClusId, ResiId) where (PDay < 348 or PDay > 1393) and HrsStaffed = 24 and ResiNBeds >= 5
- Data Elements:
- Virtual Elements:
1.9.320. ResiPDay24RangeS
- Class:
Exceptional
- Priority:
Low
- Message:
Patient Day Cost (
$PDay.dollars
) is outside the range $348 to $1,393 (Occupancy$RESI.ResiOccupancy.perc
, (ResiNBeds$RESI.ResiNBeds.num
ResiExpTotal$RESI.ResiExpTotal.dollars
)- Mark:
RESI.ResiPDay
- Description:
Exceptional Average Patient Day Cost - 24hr staffed Average Patient Day Cost for Residential Service Unit is outside the range $348 to $1,393. The previous year’s national average is $696 (PDay < 348 or PDay > 1393) and HrsStaffed = 24 and ResiNBeds < 5
- SQL:
select State, RegId, OrgId, ClusId, ResiId, PDay from RESI join ResiPDay using(State, RegId, OrgId, ClusId, ResiId) where (PDay < 348 or PDay > 1393) and HrsStaffed = 24 and ResiNBeds < 5
- Data Elements:
- Virtual Elements:
1.9.321. ResiPDayN24RangeL
- Class:
Exceptional
- Priority:
High
- Message:
Patient Day Cost (
$PDay.dollars
) is outside the range $153 to $610 (Occupancy$RESI.ResiOccupancy.perc
, (ResiNBeds$RESI.ResiNBeds.num
ResiExpTotal$RESI.ResiExpTotal.dollars
)- Mark:
RESI.ResiPDay
- Description:
Exceptional Average Patient Day Cost - non-24hr staffed Average Patient Day Cost for Residential Service Unit is outside the range $153 to $610. The previous year’s national average is $305 (PDay < 153 or PDay > 610) and HrsStaffed < 24 and ResiNBeds >= 5
- SQL:
select State, RegId, OrgId, ClusId, ResiId, PDay from RESI join ResiPDay using(State, RegId, OrgId, ClusId, ResiId) where (PDay < 153 or PDay > 610) and HrsStaffed < 24 and ResiNBeds >= 5
- Data Elements:
- Virtual Elements:
1.9.322. ResiPDayN24RangeS
- Class:
Exceptional
- Priority:
Low
- Message:
Patient Day Cost (
$PDay.dollars
) is outside the range $153 to $610 (Occupancy$RESI.ResiOccupancy.perc
, (ResiNBeds$RESI.ResiNBeds.num
ResiExpTotal$RESI.ResiExpTotal.dollars
)- Mark:
RESI.ResiPDay
- Description:
Exceptional Average Patient Day Cost - non-24hr staffed Average Patient Day Cost for Residential Service Unit is outside the range $153 to $610. The previous year’s national average is $305 (PDay < 153 or PDay > 610) and HrsStaffed < 24 and ResiNBeds < 5
- SQL:
select State, RegId, OrgId, ClusId, ResiId, PDay from RESI join ResiPDay using(State, RegId, OrgId, ClusId, ResiId) where (PDay < 153 or PDay > 610) and HrsStaffed < 24 and ResiNBeds < 5
- Data Elements:
- Virtual Elements:
1.9.323. ResiResiNBedsSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ResiNBeds
- Mark:
RESI.ResiNBeds
- Description:
Non-numbers (spaces) in Number field ResiNBeds
- SQL:
select State, RegId, OrgId, ClusId, ResiId, ResiNBeds from RESI where ResiNBeds IS NULL
- Data Elements:
1.9.324. ResiResiNBedsZero
- Class:
Anomaly
- Priority:
High
- Message:
Zero reported for ResiNBeds
- Mark:
RESI.ResiNBeds
- Description:
Zero reported for Average Available Beds for Residential Mental Health Patients
- SQL:
select State, RegId, OrgId, ClusId, ResiId, ResiNBeds as value from RESI where coalesce(ResiNBeds, 0) = 0
- Data Elements:
1.9.325. ResiResiNameMissing
- Class:
Missing
- Priority:
High
- Message:
Missing data - ResiName
$ResiName.q
- Mark:
RESI.ResiName
- Description:
Missing data - Residential Service Unit Name (ResiName)
- SQL:
select State, RegId, OrgId, ClusId, ResiId, ResiName from RESI where ResiName is null
- Data Elements:
1.9.326. ResiSectorMissing
1.9.327. ResiSectorSklDiffers
- Class:
Skeleton
- Priority:
High
- Message:
Residential Service Unit Sector is
$Sector
, not$skl_Sector
from SKL- Mark:
RESI.Sector
- Description:
Sector Skeleton Differs - Sector value for Residential Service Unit differs between skeleton and current data
- SQL:
select State, RegId, OrgId, ClusId, ResiId, mhe_ent.Sector, skl_ent.Sector as skl_Sector from RESI as mhe_ent join skl.Resi as skl_ent using (State, RegId, OrgId, ClusId, ResiId) where mhe_ent.Sector != skl_ent.Sector
- Data Elements:
1.9.328. ResiStdsReviewNA
- Class:
Anomaly
- Priority:
High
- Message:
StdsReviewSt Code “8” usually not applicable
- Mark:
RESI.StdsReviewSt
- Description:
National Standards for Mental Health Services implementation status code (‘not applicable’) is applicable only to residential service units with older persons target population
- SQL:
select State, RegId, OrgId, ClusId, ResiId, StdsReviewSt, TargetPop, Sector from RESI where StdsReviewSt = '8' and TargetPop != '2' and Sector = '1'
- Data Elements:
1.9.329. ResiStdsReviewStMissing
- Class:
Missing
- Priority:
High
- Message:
Missing data - StdsReviewSt
$StdsReviewSt.q
- Mark:
RESI.StdsReviewSt
- Description:
Missing data - National Standards for Mental Health Services Review Status (StdsReviewSt)
- SQL:
select State, RegId, OrgId, ClusId, ResiId, StdsReviewSt from RESI where StdsReviewSt is null
- Data Elements:
1.9.330. ResiTargetPopMissing
- Class:
Missing
- Priority:
High
- Message:
Missing data - TargetPop
$TargetPop.q
- Mark:
RESI.TargetPop
- Description:
Missing data - Target Population (TargetPop)
- SQL:
select State, RegId, OrgId, ClusId, ResiId, TargetPop from RESI where TargetPop is null
- Data Elements:
1.9.331. ResiTargetPopNA
- Class:
Invalid
- Priority:
High
- Message:
TargetPop Code “7” not applicable on RESI
- Mark:
RESI.TargetPop
- Description:
TargetPop “7” (“Not applicable”) is appropriate only on FTEORG records
- SQL:
select State, RegId, OrgId, ClusId, ResiId from RESI where TargetPop = '7'
- Data Elements:
1.9.332. ResiTargetPopSklDiffers
- Class:
Skeleton
- Priority:
High
- Message:
Residential Service Unit TargetPop is
$TargetPop
, not$skl_TargetPop
from SKL- Mark:
RESI.TargetPop
- Description:
Target Population Skeleton Differs - Target Population value for Residential Service Unit differs between skeleton and current data
- SQL:
select State, RegId, OrgId, ClusId, ResiId, mhe_ent.TargetPop, skl_ent.TargetPop as skl_TargetPop from RESI as mhe_ent join skl.Resi as skl_ent using (State, RegId, OrgId, ClusId, ResiId) where mhe_ent.TargetPop != skl_ent.TargetPop
- Data Elements:
1.9.336. StExpNerAcademicSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerAcademic
- Mark:
ST.ExpNerAcademic
- Description:
Non-numbers (spaces) in Number field ExpNerAcademic
- SQL:
select State, ExpNerAcademic from ST where ExpNerAcademic IS NULL
- Data Elements:
1.9.337. StExpNerInsurSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerInsur
- Mark:
ST.ExpNerInsur
- Description:
Non-numbers (spaces) in Number field ExpNerInsur
- SQL:
select State, ExpNerInsur from ST where ExpNerInsur IS NULL
- Data Elements:
1.9.338. StExpNerMHActSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerMHAct
- Mark:
ST.ExpNerMHAct
- Description:
Non-numbers (spaces) in Number field ExpNerMHAct
- SQL:
select State, ExpNerMHAct from ST where ExpNerMHAct IS NULL
- Data Elements:
1.9.339. StExpNerMHActZero
- Class:
Anomaly
- Priority:
High
- Message:
Zero reported for ExpNerMHAct
- Mark:
ST.ExpNerMHAct
- Description:
Zero reported for Expenditure Not Elsewhere Reported - Mental Health Act Regulation or related legislation
- SQL:
select State, ExpNerMHAct as value from ST where coalesce(ExpNerMHAct, 0) = 0
- Data Elements:
1.9.340. StExpNerOtherSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerOther
- Mark:
ST.ExpNerOther
- Description:
Non-numbers (spaces) in Number field ExpNerOther
- SQL:
select State, ExpNerOther from ST where ExpNerOther IS NULL
- Data Elements:
1.9.341. StExpNerProgAdminSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerProgAdmin
- Mark:
ST.ExpNerProgAdmin
- Description:
Non-numbers (spaces) in Number field ExpNerProgAdmin
- SQL:
select State, ExpNerProgAdmin from ST where ExpNerProgAdmin IS NULL
- Data Elements:
1.9.342. StExpNerProgAdminZero
- Class:
Anomaly
- Priority:
High
- Message:
Zero reported for ExpNerProgAdmin
- Mark:
ST.ExpNerProgAdmin
- Description:
Zero reported for Expenditure Not Elsewhere Reported - Program Administration
- SQL:
select State, ExpNerProgAdmin as value from ST where coalesce(ExpNerProgAdmin, 0) = 0
- Data Elements:
1.9.343. StExpNerPromoSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerPromo
- Mark:
ST.ExpNerPromo
- Description:
Non-numbers (spaces) in Number field ExpNerPromo
- SQL:
select State, ExpNerPromo from ST where ExpNerPromo IS NULL
- Data Elements:
1.9.344. StExpNerPropLeaseSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerPropLease
- Mark:
ST.ExpNerPropLease
- Description:
Non-numbers (spaces) in Number field ExpNerPropLease
- SQL:
select State, ExpNerPropLease from ST where ExpNerPropLease IS NULL
- Data Elements:
1.9.345. StExpNerResearchSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerResearch
- Mark:
ST.ExpNerResearch
- Description:
Non-numbers (spaces) in Number field ExpNerResearch
- SQL:
select State, ExpNerResearch from ST where ExpNerResearch IS NULL
- Data Elements:
1.9.346. StExpNerServDevSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerServDev
- Mark:
ST.ExpNerServDev
- Description:
Non-numbers (spaces) in Number field ExpNerServDev
- SQL:
select State, ExpNerServDev from ST where ExpNerServDev IS NULL
- Data Elements:
1.9.347. StExpNerSuperSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerSuper
- Mark:
ST.ExpNerSuper
- Description:
Non-numbers (spaces) in Number field ExpNerSuper
- SQL:
select State, ExpNerSuper from ST where ExpNerSuper IS NULL
- Data Elements:
1.9.348. StExpNerTotalZero
- Class:
Anomaly
- Priority:
High
- Message:
Zero reported for StExpNerTotal
- Mark:
ST
- Description:
Zero reported for Total Residual Expenditure at State/Territory Level
- SQL:
select State, Total as value from StExpNerTotal where coalesce(Total, 0) = 0
- Data Elements:
- Virtual Elements:
1.9.349. StExpNerTrainingSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerTraining
- Mark:
ST.ExpNerTraining
- Description:
Non-numbers (spaces) in Number field ExpNerTraining
- SQL:
select State, ExpNerTraining from ST where ExpNerTraining IS NULL
- Data Elements:
1.9.350. StExpNerTranspSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerTransp
- Mark:
ST.ExpNerTransp
- Description:
Non-numbers (spaces) in Number field ExpNerTransp
- SQL:
select State, ExpNerTransp from ST where ExpNerTransp IS NULL
- Data Elements:
1.9.351. StExpNerWorkCompSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field ExpNerWorkComp
- Mark:
ST.ExpNerWorkComp
- Description:
Non-numbers (spaces) in Number field ExpNerWorkComp
- SQL:
select State, ExpNerWorkComp from ST where ExpNerWorkComp IS NULL
- Data Elements:
1.9.352. StNHousePlacesGrowth
- Class:
Historical
- Priority:
Medium
- Message:
Number of Public Supported Housing Places has changed by
$percent_change
% from$previous_amount
to$current_amount
.- Mark:
ST
- Description:
Large (>= 20%) historical change in number of Public Supported Housing Places.
- SQL:
select State, previous_amount, current_amount, percent_change from StNHousePlacesGrowthAmt where percent_change >= 20.0
- Data Elements:
- Virtual Elements:
1.9.353. StNHousePlacesSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field NHousePlaces
- Mark:
ST.NHousePlaces
- Description:
Non-numbers (spaces) in Number field NHousePlaces
- SQL:
select State, NHousePlaces from ST where NHousePlaces IS NULL
- Data Elements:
1.9.354. StNHousePlacesZero
- Class:
Anomaly
- Priority:
High
- Message:
Zero reported for NHousePlaces
- Mark:
ST.NHousePlaces
- Description:
Zero reported for Number of Supported Mental Health Housing Places
- SQL:
select State, NHousePlaces as value from ST where coalesce(NHousePlaces, 0) = 0
- Data Elements:
1.9.355. StNgoOtherDeptsSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field NgoOtherDepts
- Mark:
ST.NgoOtherDepts
- Description:
Non-numbers (spaces) in Number field NgoOtherDepts
- SQL:
select State, NgoOtherDepts from ST where NgoOtherDepts IS NULL
- Data Elements:
1.9.356. StNgoTotalUnchanged
- Class:
Historical
- Priority:
High
- Message:
StNgoTotal (
$Total.commas
) is identical to previous year- Mark:
ST.StNgoTotal
- Description:
Total NGO Expenditure at State/Territory Level is identical to the previous year.
- SQL:
select State, New.Total from StNgoTotal as New join hist.StNgoTotal as Old using (State) where New.Total = Old.Total and New.Total > 0
- Data Elements:
- Virtual Elements:
1.9.357. StNgoTotalZeroed
- Class:
Historical
- Priority:
Low
- Message:
StNgoTotal is zero, but was
$Total.commas
last reporting period- Mark:
ST.StNgoTotal
- Description:
Total NGO Expenditure at State/Territory Level is potentially missing.
- SQL:
select State, Old.Total from StNgoSubTotal as New join hist.StNgoSubTotal as Old using (State) where New.Total = 0 and Old.Total > 0
- Data Elements:
- Virtual Elements:
1.9.358. StRevCwlthOtherSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field RevCwlthOther
- Mark:
ST.RevCwlthOther
- Description:
Non-numbers (spaces) in Number field RevCwlthOther
- SQL:
select State, RevCwlthOther from ST where RevCwlthOther IS NULL
- Data Elements:
1.9.359. StRevGtExp
- Class:
Inconsistent
- Priority:
Low
- Message:
ST revenue (
$RevTotal.commas
) is greater than expenditure ($ExpTotal.commas
) by more than 5% ($diff.perc
)- Mark:
ST.RevTotal
- Description:
Total Revenue at State/Territory Level is greater than State/Territory Level Total Expenditure by more than 5%
- SQL:
select * from ( select State, Rev.Total as RevTotal, Exp.Total as ExpTotal, sd_div_safe(abs(Rev.Total - Exp.Total)::NUMERIC, sd_min(Rev.Total, Exp.Total), 3) as diff from StRevTotal as Rev join StExpTotal as Exp using (State) where Rev.Total > Exp.Total ) tmpinner where diff > 0.05
- Data Elements:
- Virtual Elements:
1.9.360. StRevOtherSpaces
1.9.361. StRevPatientsSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field RevPatients
- Mark:
ST.RevPatients
- Description:
Non-numbers (spaces) in Number field RevPatients
- SQL:
select State, RevPatients from ST where RevPatients IS NULL
- Data Elements:
1.9.362. StRevRecovSpaces
1.9.363. StRevStateHealthSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field RevStateHealth
- Mark:
ST.RevStateHealth
- Description:
Non-numbers (spaces) in Number field RevStateHealth
- SQL:
select State, RevStateHealth from ST where RevStateHealth IS NULL
- Data Elements:
1.9.364. StRevStateHealthZero
- Class:
Anomaly
- Priority:
High
- Message:
Zero reported for RevStateHealth
- Mark:
ST.RevStateHealth
- Description:
Zero reported for Revenue - State or Territory Health Authority
- SQL:
select State, RevStateHealth as value from ST where coalesce(RevStateHealth, 0) = 0
- Data Elements:
1.9.365. StRevStateOtherSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field RevStateOther
- Mark:
ST.RevStateOther
- Description:
Non-numbers (spaces) in Number field RevStateOther
- SQL:
select State, RevStateOther from ST where RevStateOther IS NULL
- Data Elements:
1.9.366. StRevTotalZero
- Class:
Anomaly
- Priority:
High
- Message:
Zero reported for StRevTotal
- Mark:
ST
- Description:
Zero reported for Total Revenue at State/Territory Level
- SQL:
select State, Total as value from StRevTotal where coalesce(Total, 0) = 0
- Data Elements:
- Virtual Elements:
1.9.367. StStNerSumUnchanged
- Class:
Historical
- Priority:
High
- Message:
StStNerSum (
$Total.commas
) is identical to previous year- Mark:
ST.StStNerSum
- Description:
Total State/Territory Expenditure (NER) is identical to the previous year.
- SQL:
select State, New.Total from StStNerSum as New join hist.StStNerSum as Old using (State) where New.Total = Old.Total and New.Total > 0
- Data Elements:
- Virtual Elements:
1.9.368. StStateNameMissing
1.9.369. StStdsReviewChange
- Class:
Historical
- Priority:
Medium
- Message:
Current proportion of National Standards for Mental Health Services Review Status code 1 (
$currentPerc
%) is at least 10% less than historical proportion of the same ($prevPerc
%).- Mark:
ST
- Description:
Large (>= 10%) historical decrease in proportion of National Standards for Mental Health Services Review Status code 1.
- SQL:
select State, 100*current.value AS currentPerc, 100*previous.value AS prevPerc from StStdsReviewProp current JOIN hist.StStdsReviewProp previous using (State) where (current.value - previous.value) <= -0.1
- Data Elements:
- Virtual Elements:
1.9.370. StWideNgoSignificantChange
- Class:
Historical
- Priority:
Low
- Message:
Total of all grants has changed by
$PercChange
percent ($oldTotal.commas
->$newTotal.commas
).- Mark:
ST
- Description:
Variation over 25 percent in combined grants
- SQL:
select State, New.Total as newTotal, Old.Total as oldTotal, sd_div_safe(100 * abs(New.Total - Old.Total), greatest(New.Total, Old.Total), 1) as PercChange from StWideNgo as New join hist.StWideNgo as Old using(State) where sd_div_safe(abs(New.Total - Old.Total), greatest(New.Total, Old.Total), 1) > 0.25;
- Data Elements:
- Virtual Elements:
1.9.371. StngoNGONameMissing
1.9.372. StngoeMHNGOEGrantsSpaces
- Class:
Invalid
- Priority:
High
- Message:
Non-numbers (spaces) in Number field MHNGOEGrants
- Mark:
STNGOE.MHNGOEGrants
- Description:
Non-numbers (spaces) in Number field MHNGOEGrants
- SQL:
select State, NGOId, MHNGOServType, MHNGOEGrants from STNGOE where MHNGOEGrants IS NULL
- Data Elements:
1.9.373. UnitUnion
- SQL:
SELECT ADMI.RecType, State, RegId, OrgId, HospId as HospClusId, AdmiId as UnitId, TargetPop, StdsReviewSt, Deprec, ExpNonSalTot, ExpSalTot, HOSP.Sector, HOSP.EstArea, HOSP.NonProfitNGO, AdmiName as UnitName, '1' as Setting FROM ADMI JOIN HOSP USING (State, RegId, OrgId, HospId) UNION SELECT RecType, State, RegId, OrgId, ClusId as HospClusId, ResiId as UnitId, TargetPop, StdsReviewSt, Deprec, ExpNonSalTot, ExpSalTot, Sector, EstArea, NonProfitNGO, ResiName as UnitName, '2' as Setting FROM RESI UNION SELECT RecType, State, RegId, OrgId, ClusId, AmbuId as UnitId, TargetPop, StdsReviewSt, Deprec, ExpNonSalTot, ExpSalTot, Sector, EstArea, NonProfitNGO, AmbuName as UnitName, '3' as Setting FROM AMBU
- Data Elements:
1.9.374. VMOExpAndNoMedFte
- Class:
Inconsistent
- Priority:
High
- Message:
ExpNonSalVMO
$ExpNonSalVMO.dollars
with zero Medical FTE (OrgFteMedSum)- Mark:
ORG.FteMedSum
- Description:
Non-Salary Recurrent Expenditure - Payments to Visiting Medical Officers is greater than zero, but zero Total Medical FTE reported at Organisation Level is reported
- SQL:
select State, RegId, OrgId from ORG join OrgFteMedSum as Fte using (State, RegId, OrgId) where ExpNonSalVMO > 0 and Fte.Total = 0
- Data Elements:
- Virtual Elements:
1.8.495. SocialWkSum
ORG
Total Social Workers salary reported at organisation level