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¶
- The Intake - Outcome Date must not be before the Intake - Contact Date
- The Intake - Outcome 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 intake shall be open per client
- 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)
- The Intake - Outcome Date
- 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 Referral Date
- 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
2. Intake Collection Occasion¶
- Intake Key must be an existing PMHC intake within the PMHC MDS.
- The Collection Occasion - Date
- must not be before 1 January 2020
- and must not be before Episode - Referral Date
- and must not be before Provider Organisation - Start Date
- and must not be after Episode - End Date
- and must not be after Provider Organisation - End Date
- and must not be in the future
3. IAR-DST¶
- Intake Collection Occasion Key must be an existing Intake Collection Occasion within the PMHC MDS.
- Both all 8 domains and the level of care must be provided.
- The level of care must be consistent with the 8 domain scores provided.
4. AMHC - Episode¶
- Episode Key must be an existing PMHC episode within the PMHC MDS.
!amhc
tag should be included in the Episode - Tags field of the corresponding PMHC episode, otherwise the system will automatically include it.- If a Intake Organisation Path is specified, that organisation must be an existing organisation within the PMHC MDS.
- If a Intake Key is specified, a Intake Organisation Path must also be specified.
- 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.
- Multivalued fields can not have duplicates, For example,
5. Collection Occasion¶
- Episode Key must be an existing PMHC episode within the PMHC MDS.
- The Collection Occasion - Date
- 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 after Episode - End Date
- and must not be after Provider Organisation - End Date
- and must not be in the future
6. K10+¶
- 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+).
7. K5¶
- 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).
8. SDQ¶
- 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. AMHC - Service Contact¶
- 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.
- Multivalued fields can not have duplicates, For example,
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.