9. Validation Rules
This document defines validation rules between items and record types. The domain of individual items is defined in Record formats.
9.1. Current Validations
9.1.1. Keys
The following rules apply to the key fields in all records:
All key fields are case sensitive
All key fields must be valid unicode characters
9.1.2. Practitioner
Refer to Keys for Practitioner Key validations
ATSI Cultural Training must only be set to ‘3 - Not required’ where Practitioner Aboriginal and Torres Strait Islander Status is one of
‘1: Aboriginal but not Torres Strait Islander origin’
‘2: Torres Strait Islander but not Aboriginal origin’
‘3: Both Aboriginal and Torres Strait Islander origin’
or
The organisation to which the practitioner belongs has Organisation Type set to ‘8: Aboriginal Health/Medical Service’
Year of Birth must not be before 1 January 1900 and must not be in the future
9.1.3. Client
Refer to Keys for Client Key validations
Date of Birth must not be before 1 January 1900 and must not be in the future
9.1.4. Intake
Refer to Keys for Intake Key validations
The Date referred to other service at Intake conclusion must not be before the Date client contacted Intake
Referrer Organisation Type must be set to ‘98: N/A - Self referral’ if and only if Referrer Profession is also ‘98: N/A - Self referral’
A maximum of one intake that is NOT concluded shall be allowed per client
The Referral Date
must not be before 1 January 2020
and must not be after Organisation End Date
and must not be in the future
The Date client contacted Intake
must not be before 1 January 2020
and must not be before Provider Organisation - Start Date
and must not be after Provider Organisation - End Date
and must not be in the future
The Date referred to other service at Intake conclusion
must not be before 1 January 2020
and must not be before Provider Organisation - Start Date
and must not be after Provider Organisation - End Date
and must not be in the future
If a Referred to Organisation Path is specified, that organisation must be an existing organisation within the PMHC MDS
Organisation type referred to at Intake conclusion will be validated as follows:
If Organisation type referred to at Intake conclusion is one of 97: No Referral or 99: Not stated/Inadequately described, then no other responses can be selected
If Organisation type referred to at Intake conclusion is blank or 97: No Referral, then:
Date referred to other service at Intake conclusion must be blank
Referred to Organisation Path must be blank
If Organisation type referred to at Intake conclusion contains 98: Other, then:
Date referred to other service at Intake conclusion must NOT be blank
If Organisation type referred to at Intake conclusion is 99: Not stated/Inadequately described, then:
Date referred to other service at Intake conclusion must NOT be blank
Referred to Organisation Path must be blank
Any other values for Organisation type referred to at Intake conclusion require both
9.1.5. IAR-DST
Refer to Keys for Measure Key validations
Intake Key must be an existing Intake within the PMHC MDS
Both all 8 domains and the level of care must be provided
The IAR-DST - Recommended Level of Care must be consistent with the 8 domain scores provided
9.1.6. Intake - Episode
If a Intake Organisation Path is specified, that organisation must be an existing organisation within the PMHC MDS
If an Intake Key is specified, a Intake Organisation Path must also be specified
If an Episode Organisation Path is specified, that organisation must be an existing organisation within the PMHC MDS
Episode Key must be an existing PMHC episode within the PMHC MDS
Note: Intake Episode records can be submitted indepentantly of Intake records. The PMHC MDS does not validate that the Intake Key referenced in an Intake Episode record exists, only that the Intake Organisation Path exists.
9.1.7. Episode
Refer to Keys for Episode Key validations
The Episode End Date must not be before the Referral Date
Referrer Organisation Type must be set to ‘98: N/A - Self referral’ if and only if Referrer Profession is also ‘98: N/A - Self referral’
A maximum of one episode shall be open per client
Open episodes must NOT have a response to both Episode End Date and Organisation type referred to at Episode conclusion
Closed episodes must have a response to both Episode End Date and Organisation type referred to at Episode conclusion
On Principal Diagnosis and Additional Diagnosis the values:
‘100: Anxiety disorders (ATAPS)’
‘200: Affective (Mood) disorders (ATAPS)’
‘300: Substance use disorders (ATAPS)’
‘400: Psychotic disorders (ATAPS)’
must only used where data has been migrated from ATAPS. The above responses must only be used under the following conditions:
The Referral Date was before 1 July 2017
The Episode Tags field must contain the
!ATAPS
flagThe ‘4: Complex care package’ response for Principal Focus of Treatment Plan must only be used by selected PHN Lead Sites
The
!ATAPS
tag must only be included in the Episode Tags field where the Referral Date was before 1 July 2017The Episode End Date
must not be before 1 January 2016
and must not be before Organisation Start Date
and must not be after Organisation End Date
and must not be in the future
The Referral Date
must not be before 1 January 2014
and must not be after Organisation End Date
and must not be in the future
Referral Date value of ‘09099999’ cannot be used on new records.
Existing records already containing a Referral Date that is not ‘09099999’ may not be updated to ‘09099999’.
9.1.8. Service Contact
Refer to Keys for Service Contact Key validations
Where Final Service Contact is recorded as ‘1: No further services are planned for the client in the current episode’, the Episode Completion Status must be recorded using one of the ‘Episode closed’ responses (Response items 1-6)
Where Final Service Contact is recorded as ‘1: No further services are planned for the client in the current episode’, the date of the Final Service Contact must be recorded as the Episode End Date
Where an Episode End Date has been recorded, a later Service Contact Date must not be added
If Service Contact Type is ‘0: No contact took place’, No Show must be ‘1: Yes’
If Duration is ‘0: No contact took place’, No Show must be ‘1: Yes’
If Modality is ‘0: No contact took place’, No Show must be ‘1: Yes’
If Modality is ‘1: Face to Face’, Venue must not be ‘98: Not applicable (Service Contact Modality is not face to face)’
On Service Contact Type the value ‘98: ATAPS’ must only be used where data has been migrated from ATAPS. The above response must only be used under the following conditions:
The Service Contact Date was before 30 June 2018
The Service Contact Tags field must contain the
!ATAPS
flagIf Participants is ‘1: Individual client’ Client Participation Indicator must be ‘1: Yes’
The
!ATAPS
tag must only be included in the Service Contact Tags field where the Service Contact Date was before 30 June 2018
must not be before 1 January 2016
and must not be before Organisation Start Date
and must not be after Organisation End Date
and must not be in the future
Start Time value of ‘24:00’ cannot be used on new records.
Existing records already containing a Start Time that is not ‘24:00’ may not be updated to ‘24:00’.
On Funding Source the value ‘27: Way Back Support Service’ must only be used in conjunction with the Wayback Extension.
Where Program Type is recorded as ‘7: Supporting Recovery’, Funding Source must be recorded as ‘73: Other Government Funding - Commonwealth: Other Commonwealth’
Where Funding Source is recorded as ‘73: Other Government Funding - Commonwealth: Other Commonwealth’, Program Type must be ‘7: Supporting Recovery’
9.1.9. Service Contact Practitioner
Refer to Keys for Service Contact Practitioner Key validations
Service Contact Key must be an existing PMHC service contact within the PMHC MDS
Practitioner Key must be an existing PMHC practitioner within the PMHC MDS
One, and only one, Service Contact Practitioner per service contact must be flagged as the Primary Practitioner
9.1.10. Collection Occasion
Refer to Keys for Collection Occasion Key validations
Episode Key must be an existing PMHC episode within the PMHC MDS
must not be before 1 January 2016
and must not be before Episode - Referral Date
and must not be before Provider Organisation - Start Date
and must not be more than 7 days after Episode - End Date
and must not be after Provider Organisation - End Date
and must not be in the future
9.1.11. K10+
Refer to Keys for Measure Key validations
Collection Occasion Key must be an existing Collection Occasion within the PMHC MDS
If both item scores and a total score are specified, the item scores must add up to the total score (as per Scoring the K10+)
9.1.12. K5
Refer to Keys for Measure Key validations
Collection Occasion Key must be an existing Collection Occasion within the PMHC MDS.
If both item scores and a total score are specified, the item scores must add up to the total score (as per Scoring the K5).
9.1.13. SDQ
Refer to Keys for Measure Key validations
Collection Occasion Key must be an existing Collection Occasion within the PMHC MDS.
Use the table at SDQ Data Elements to validate the items that are used in each version of the SDQ
If both item scores and subscales are specified, the sum of the items must agree with the subscales score (as per Scoring the SDQ)
If both subscales and total score are specified, the sum of the subscales must agree with the total score (as per Scoring the SDQ)
9.1.14. Organisation
Refer to Keys for Provider Organisation Key validations
must not be before 1 January 2014 or before a commissioning organisation’s start date
and must not be after the earliest Date client contacted Intake
and must not be after the earliest Date referred to other service at Intake conclusion
and must not be after the earliest Referral Date
and must not be after the earliest Service Contact Date
and must not be after the earliest Collection Occasion Date
and must not be in the future
must not be before 1 January 2014 or after a commissioning organisation’s end date
and must not be before the latest Date client contacted Intake
and must not be before the latest Date referred to other service at Intake conclusion
and must not be before the latest Referral Date
and must not be before the latest Episode End Date
and must not be before the latest Service Contact Date
and must not be before the latest Collection Occasion Date
can be in the future
The ABN must adhere to the format defined by the Australian Business Register at https://abr.business.gov.au/Help/AbnFormat