6. Validation Rules
This document defines validation rules between items and record types. The domain of individual items is defined in Record formats.
6.1. Current Validations
6.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
6.1.2. 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 Collection 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 Collection 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
6.1.3. Survey
Refer to Keys for Survey Key validations
The Collection Date must not be in the future
6.1.4. YES PHN
Refer to Keys for Instrument Key validations
If both question scores and subscales are specified, the sum of the items must agree with the subscales score (as per Scoring the YES PHN Experience Scale and Scoring the YES PHN Outcome Scale)