7. Validation Rules

This document defines validation rules between items and record types. The domain of individual items is defined in Record formats.

7.1. Current Validations

7.1.1. Keys

The following rules apply to the key fields in all records:

  1. All key fields are case sensitive
  2. All key fields must be valid unicode characters
  3. All key fields start with a POSIX alphanumeric character (A-Za-z0-9)

7.1.2. Practitioner

  1. Practitioner - 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 Provider Organisation - Type set to ‘8: Aboriginal Health/Medical Service’

7.1.3. Client

  1. Client - Date of Birth must not be before 1 January 1900 and must not be in the future

7.1.4. Episode

  1. The Episode - End Date must not be before the Episode - Referral Date

  2. Episode - Referrer Organisation Type must be set to ‘98: N/A - Self referral’ if and only if Episode - Referrer Profession is also ‘98: N/A - Self referral’

  3. A maximum of one episode shall be open per client

  4. Where the Episode - Completion Status has been recorded using one of the ‘Episode closed’ responses (Response items 1-6), the episode must have an Episode - End Date, and/or episodes that have an Episode - End Date must have an Episode - Completion Status recorded using one of the ‘Episode closed’ responses (Response items 1-6)

  5. On Episode - Principal Diagnosis and Episode - 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:

  6. The ‘4: Complex care package’ response for Episode - Principal Focus of Treatment Plan must only be used by selected PHN Lead Sites

  7. The !ATAPS tag must only be included in the Episode - Tags field where the Episode - Referral Date was before 1 July 2017

  8. The Episode - End Date

  9. The Episode - Referral Date

7.1.5. Service Contact

  1. Where Service Contact - Final 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)
  2. Where Service Contact - Final is recorded as ‘1: No further services are planned for the client in the current episode’, the date of the Service Contact - Final must be recorded as the Episode End Date
  3. Where an Episode - End Date has been recorded, a later Service Contact - Date must not be added
  4. If Service Contact - Type is ‘0: No contact took place’, Service Contact - No Show must be ‘1: Yes’
  5. If Service Contact - Duration is ‘0: No contact took place’, Service Contact - No Show must be ‘1: Yes’
  6. If Service Contact - Modality is ‘0: No contact took place’, Service Contact - No Show must be ‘1: Yes’
  7. If Service Contact - Modality is not ‘1: Face to Face’, Service Contact - Postcode must be 9999
  8. If Service Contact - Modality is ‘1: Face to Face’, Service Contact - Postcode must not be 9999
  9. If Service Contact - Modality is ‘1: Face to Face’, Service Contact - Venue must not be ‘98: Not applicable (Service Contact Modality is not face to face)’
  10. 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:
  11. If Service Contact - Participants is ‘1: Individual client’ Service Contact - Client Participation Indicator must be ‘1: Yes’
  12. The !ATAPS tag must only be included in the Service Contact - Tags field where the Service Contact - Date was before 30 June 2018
  13. The Service Contact - Date

7.1.6. K10+

  1. 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+)
  2. The Collection Occasion - Measure Date
  3. The K10+ Total Score is calculated as described at K10+ - Score

7.1.7. K5

  1. 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)
  2. The Collection Occasion - Measure Date

7.1.8. SDQ

  1. Use the table at SDQ Data Elements to validate the items that are used in each version of the SDQ

  2. If both item scores and subscales are specified, the sum of the items must agree with the subscales score (as per Scoring the SDQ)

  3. If both subscales and total score are specified, the sum of the subscales must agree with the total score (as per Scoring the SDQ)

  4. The Collection Occasion - Measure Date

7.1.9. Organisation

  1. The Provider Organisation - Start Date
  2. The Provider Organisation - End Date

7.2. Future Validations

There are currently no planned future validations.