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

You can set HBA1c and blood pressure dates without values #505

Closed
mbarton opened this issue Jan 22, 2025 · 4 comments
Closed

You can set HBA1c and blood pressure dates without values #505

mbarton opened this issue Jan 22, 2025 · 4 comments
Assignees
Labels
bug Something isn't working medium medium priority (no usage limits) user interface Improvements or fixes here mainly to the user interface

Comments

@mbarton
Copy link
Member

mbarton commented Jan 22, 2025

We should probably flag this as a validation error for both CSV uploads and the questionnaire?

@mbarton mbarton changed the title You can set HBA1c and blood pressure date without values You can set HBA1c and blood pressure dates without values Jan 22, 2025
@eatyourpeas
Copy link
Member

This I think is important having played with it. Each question is atomic (eg weight should also have a date) and should trigger a validation error if not all of the elements of the question are supplied. Our validations have been too permissive and should flag if a question is incomplete.
It is also possible to save a visit without a date which feels to me also a never event.

@mbarton
Copy link
Member Author

mbarton commented Feb 3, 2025

It is also possible to save a visit without a date which feels to me also a never event.

Ah thanks, I was going to raise an issue for that but I wasn't sure whether it should be supported for adding some of the fields that are not filled in on every visit

@mbarton mbarton added user interface Improvements or fixes here mainly to the user interface bug Something isn't working labels Feb 3, 2025
@eatyourpeas
Copy link
Member

So this is something that has puzzled me from the start actually. There are dates for some measures but not for others, which is fine but it means that it is possible to submit for example a coeliac screen result and it's date but forget to fill the visit date. It is designed the way it is though because children come to clinic and that is the place and time decisions are made. The dates for the other things are there because it is recognized that these things often don't always happen in clinic. The visit though really only has the visit date as the closest to a unique ID. So the options we have are:

  1. Allow the visit to be saved without a date
  2. fill the date automatically if not supplied with the current date
  3. Prevent the form being submitted without a visit date (as we do with the csv upload)

My preference is for option 3. What do we reckon?

@mbarton mbarton added the medium medium priority (no usage limits) label Feb 6, 2025
@eatyourpeas eatyourpeas self-assigned this Feb 6, 2025
@eatyourpeas
Copy link
Member

I think this is now fixed. Can I check @mbarton there is nothing further here to do from your point of view?

@mbarton mbarton closed this as completed Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working medium medium priority (no usage limits) user interface Improvements or fixes here mainly to the user interface
Projects
None yet
Development

No branches or pull requests

2 participants