rcpch / rcpch-audit-engine

Epilepsy12 Audit Platform
https://e12.rcpch.ac.uk/
GNU Affero General Public License v3.0
5 stars 4 forks source link

Eatyourpeas/address-date-validations #961

Closed eatyourpeas closed 2 months ago

eatyourpeas commented 2 months ago

Overview

Addresses date validations for all dates. Does not change any validation code, but alters some of the earliest allowable dates for some measures as current settings are not practice. For example, may people will have an MRI performed for other reasons or a comorbidity diagnosed prior to epilepsy diagnosis.

Code changes

Update the earliest_allowable_date parameter in the validation call for all the dates across the code base

Create new docs to summarise date validation and what the minimum dates allowed are (sanctioned by E12)

Documentation changes (done or required as a result of this PR)

As above

Related Issues

Closes #956 and #940