Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a more comprehensive system/code/display system #66

Open
mikix opened this issue Dec 2, 2024 · 0 comments
Open

Add a more comprehensive system/code/display system #66

mikix opened this issue Dec 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mikix
Copy link
Contributor

mikix commented Dec 2, 2024

We have a few places where we manually convert a system/code to a display value (race, ethnicity, attachment format).

But it's all ad-hoc and could be more robust / easier to do for new systems. And we have several more places where we are showing codes but we should be using display values.

(I have avoided pulling the display value from the source, because (a) we want to allow better comparison between sites running this metric and (b) that field is properly allowed to be blank - I'd rather not rely on it.)

So for this ticket, maybe do a thing where we load display codes from a file into a table and join that. And then use that in more places.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant