data-to-insight / csc-validator-be-903

Python-side code for the Quality LAC Data Beta frontend
https://903.datatoinsight.org
MIT License
8 stars 4 forks source link

Error code 1016 [Added 2023 v1.2] #693

Closed SLornieCYC closed 5 months ago

SLornieCYC commented 11 months ago

Note: This rule was added by DFE in the 2023/24 v1.2 validation check document.

Error information

Error code

1016

Description to display

Care leaver information is not required for 17- or 18-year olds who cease to be looked after, after their birthday

DfE Long-form description of error

If the child ceases to be looked after in the year, but is still looked after on or after their 17th or on their 18th birthday, then information on their activity and accommodation is not required. Please delete the OC3 information.

DfE suggested coding

If <DOB> < 19 and >= to 17 years prior to <COLLECTION_END_DATE> and current episode <DEC> is present and after the birthdate then <IN_TOUCH>, <ACTIV> and <ACCOM> should not be provided

For further info, refer to the DfE validation document here