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:

  1. All key fields are case sensitive
  2. All key fields must be valid unicode characters

9.1.2. Practitioner

  1. Refer to Keys for Practitioner Key validations

  2. 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’

  3. Year of Birth must not be before 1 January 1900 and must not be in the future

9.1.3. Client

  1. Refer to Keys for Client Key validations
  2. Date of Birth must not be before 1 January 1900 and must not be in the future

9.1.4. Intake

  1. Refer to Keys for Intake Key validations

  2. The Date referred to other service at Intake conclusion must not be before the Date client contacted Intake

  3. 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’

  4. A maximum of one intake shall be open per client

  5. 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
  6. The Date client contacted Intake

  7. The Date referred to other service at Intake conclusion

  8. If a Referred to Organisation Path is specified, that organisation must be an existing organisation within the PMHC MDS

  9. Organisation type referred to at Intake conclusion will be validated as follows:

    1. 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

    2. If Organisation type referred to at Intake conclusion is blank or 97: No Referral, then:

    3. If Organisation type referred to at Intake conclusion contains 98: Other, then:

    4. If Organisation type referred to at Intake conclusion is 99: Not stated/Inadequately described, then:

    5. Any other values for Organisation type referred to at Intake conclusion require both

9.1.5. IAR-DST

  1. Refer to Keys for Measure Key validations
  2. Intake Key must be an existing Intake within the PMHC MDS
  3. Both all 8 domains and the level of care must be provided
  4. The level of care must be consistent with the 8 domain scores provided

9.1.6. Intake - Episode

  1. If a Intake Organisation Path is specified, that organisation must be an existing organisation within the PMHC MDS
  2. If an Intake Key is specified, a Intake Organisation Path must also be specified
  3. If an Episode Organisation Path is specified, that organisation must be an existing organisation within the PMHC MDS
  4. Episode Key must be an existing PMHC episode within the PMHC MDS

9.1.7. Episode

  1. Refer to Keys for Episode Key validations

  2. The Episode End Date must not be before the Referral Date

  3. 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’

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

  5. Open episodes are those with Episode Completion Status recorded as open (Response item 0).

    Open episodes must NOT have a response to both Episode End Date and Organisation type referred to at Episode conclusion.

  6. Closed episodes are those with Episode Completion Status recorded using one of the ‘Episode closed’ responses (Response items 1-6).

    Closed episodes must have a response to both Episode End Date and Organisation type referred to at Episode conclusion.

  7. 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:

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

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

  10. The Episode End Date

  11. 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
  12. Referral Date value of ‘09099999’ cannot be used on new records.

  13. Existing records already containing a Referral Date that is not ‘09099999’ may not be updated to ‘09099999’.

9.1.8. Service Contact

  1. Refer to Keys for Service Contact Key validations
  2. 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)
  3. 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
  4. Where an Episode End Date has been recorded, a later Service Contact Date must not be added
  5. If Service Contact Type is ‘0: No contact took place’, No Show must be ‘1: Yes’
  6. If Duration is ‘0: No contact took place’, No Show must be ‘1: Yes’
  7. If Modality is ‘0: No contact took place’, No Show must be ‘1: Yes’
  8. If Modality is not ‘1: Face to Face’, Postcode must be 9999
  9. If Modality is ‘1: Face to Face’, Postcode must not be 9999
  10. If Modality is ‘1: Face to Face’, Venue must not be ‘98: Not applicable (Service Contact Modality is not face to face)’
  11. 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:
  12. If Participants is ‘1: Individual client’ Client Participation Indicator must be ‘1: Yes’
  13. The !ATAPS tag must only be included in the Service Contact Tags field where the Service Contact Date was before 30 June 2018
  14. The Service Contact Date
  15. Start Time value of ‘24:00’ cannot be used on new records.
  16. Existing records already containing a Start Time that is not ‘24:00’ may not be updated to ‘24:00’.
  17. On Funding Source the value ‘27: Way Back Support Service’ must only be used in conjunction with the Wayback Extension.

9.1.9. Service Contact Practitioner

  1. Refer to Keys for Service Contact Practitioner Key validations
  2. Service Contact Key must be an existing PMHC service contact within the PMHC MDS
  3. Practitioner Key must be an existing PMHC practitioner within the PMHC MDS
  4. One, and only one, Service Contact Practitioner per service contact must be flagged as the Primary Practitioner

9.1.10. Collection Occasion

  1. Refer to Keys for Collection Occasion Key validations
  2. Episode Key must be an existing PMHC episode within the PMHC MDS
  3. The Collection Occasion Date

9.1.11. K10+

  1. Refer to Keys for Measure Key validations
  2. Collection Occasion Key must be an existing Collection Occasion within the PMHC MDS
  3. 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

  1. Refer to Keys for Measure Key validations
  2. Collection Occasion Key must be an existing Collection Occasion within the PMHC MDS.
  3. 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

  1. Refer to Keys for Measure Key validations
  2. Collection Occasion Key must be an existing Collection Occasion within the PMHC MDS.
  3. Use the table at SDQ Data Elements to validate the items that are used in each version of the SDQ
  4. If both item scores and subscales are specified, the sum of the items must agree with the subscales score (as per Scoring the SDQ)
  5. 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

  1. Refer to Keys for Provider Organisation Key validations
  2. The Organisation Start Date
  3. The Organisation End Date