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 217t [Amended 2023 v1.3] #763

Closed SLornieCYC closed 6 months ago

SLornieCYC commented 6 months ago

Note: Rule previously implemented from issue #632 but rule has been amended in updated guidance. Changes highlighted with bold and strikethrough.

Error information

Error code

217t

Description to display

Placement type 'P2' is not a valid placement type from 28 October 2023

DfE Long-form description of error

Independent living is not a valid placement from 28 October 2023. Any independent living placements must have an end date and must have ended on or before 27 28 October. These young people may have been placed in regulated supported accommodation. If so then this accommodation should be recorded as 'H5' and the provider URN should be provided.

DfE suggested coding

Where <PL> = 'P2'; <DEC> must be present and must be <= 27/10/2023 28/10/2023

For further info, refer to the DfE validation document here

SLornieCYC commented 6 months ago

Aand DFE have now reverted the change to this validation rule following feedback from LAs!

image