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 230 [Amended 2023 v1.3] #762

Closed SLornieCYC closed 6 months ago

SLornieCYC commented 6 months ago

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

Error information

Error code

230

Description to display

Ofsted Unique reference number (URN) is required for any English H5 placements from 28 October 2023.

DfE Long-form description of error

From 28 October 2023, semi-independent living placements (H5) are not valid placement types for children placed in England. From 28 October H5 should be used for supported accommodation providers registered with Ofsted and the provider URN must be reported and should not be ‘XXXXXXX’. These young people may have moved placement from semi-independent living to regulated supported accommodation. If so then provide a new episode for this placement move. If these young people have remained at the same provider, but the provider has and the provider has applied and had their application accepted before 28 October or has completed the registration process and is now registered with Ofsted as a regulated supported accommodation provider, then please provide a new episode recorded as a 'H5 placement', with the provider URN and the relevant reason for new episode of 'T' or 'U'. If the provider has submitted their registration request to Ofsted and are still awaiting the outcome then please submit a bypass request.

DfE suggested coding

Where <PL> = 'H5' and <LA_PLACEMENT> not in (‘WAL’, SCO’, NIR’, ‘NUK’) and <DEC> >= 28 29/10/2023 or missing then <URN> should be provided and should not be ‘XXXXXXX’

For further info, refer to the DfE validation document here

SLornieCYC commented 6 months ago

DFE have further amended this rule to align with recent revisions to rule 217t. I have edited this change into the above description.

image