Validation rules

AMHC is an extension of the Primary Mental Health Care Minimum Data Set (PMHC MDS); the current PMHC MDS Validations rules apply. These are available to be viewed at https://docs.pmhc-mds.com/data-specification/validation-rules.html.

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

Current AMHC validations

1. Intake

  1. The Intake - Outcome Date must not be before the Intake - Contact Date
  2. The Intake - Outcome 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 intake shall be open per client
  5. Where the Intake - Outcome has been recorded using one of the ‘Intake closed’ responses (Response items 1 and 2), the intake must have an Intake - Outcome Date, and/or intakes that have an Intake - Outcome Date must have an Intake - Outcome recorded using one of the ‘Intake closed’ responses (Response items 1 and 2)
  6. The Intake - Outcome Date
  7. The Referral Date

2. Intake Collection Occasion

  1. Intake Key must be an existing PMHC intake within the PMHC MDS.
  2. The Collection Occasion - Date

3. IAR-DST

  1. Intake Collection Occasion Key must be an existing Intake Collection Occasion within the PMHC MDS.
  2. Both all 8 domains and the level of care must be provided.
  3. The level of care must be consistent with the 8 domain scores provided.

4. AMHC - Episode

  1. Episode Key must be an existing PMHC episode within the PMHC MDS.
  2. !amhc tag should be included in the Episode - Tags field of the corresponding PMHC episode, otherwise the system will automatically include it.
  3. If a Intake Organisation Path is specified, that organisation must be an existing organisation within the PMHC MDS.
  4. If a Intake Key is specified, a Intake Organisation Path must also be specified.
  5. Referral Out Organisation Type is a multivalued field.
    • Multivalued fields can not have duplicates, For example, 1 1 1 is not allowed.
    • If 0: None/Not applicable is provided, no other values are permitted.

5. Collection Occasion

  1. Episode Key must be an existing PMHC episode within the PMHC MDS.
  2. The Collection Occasion - Date

6. K10+

  1. Collection Occasion Key must be an existing Collection Occasion within the PMHC MDS.
  2. 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+).

7. K5

  1. Collection Occasion Key must be an existing Collection Occasion within the PMHC MDS.
  2. 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).

8. SDQ

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

  1. AMHC - Service Contact - Practitioner Category is a multivalued field.
    • Multivalued fields can not have duplicates, For example, 1 1 1 is not allowed.
    • If 0: None/Not applicable is provided, no other values are permitted.

Current PMHC validations

AMHC is an extension of the Primary Mental Health Care Minimum Data Set (PMHC MDS); the current PMHC MDS Validations rules may apply, depending on how you add your AMHC data. The current PMHC MDS validations rules are available to be viewed at https://docs.pmhc-mds.com/data-specification/validation-rules.html.