rcpch / national-paediatric-diabetes-audit

A django application to audit the care of children and young people with diabetes in England and Wales.
0 stars 1 forks source link

Data model review #132

Open anchit-chandran opened 1 week ago

anchit-chandran commented 1 week ago

is npda_user.organisation_employer == ods_code specifically? If so, was thinking we should rename this, as could have confusion between that and just e.g. organisation name

eatyourpeas commented 1 week ago

ODS code is better than organisation name because that has a tendency to change over time, where as the code does not. We currently use the code to look up the organisation details from the our API and that in turn tells us which PDU they are part of.

anchit-chandran commented 1 week ago

Yep agreed - could we change the field name to e.g. organisation_ods_code? Better to do so earlier rather than later