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

Disallow editing "Decision after consultation" in edit consultation form #6658

Closed
3 tasks
rithviknishad opened this issue Nov 16, 2023 · 1 comment
Closed
3 tasks
Assignees

Comments

@rithviknishad
Copy link
Member

rithviknishad commented Nov 16, 2023

Describe the bug
Suppose a consultation is filed with "Admission" and so the admission date is captured and when we edit a consultation, we are currently allowed to change the decision after consultation. Suppose we change it to Out-Patient (where we wouldn't record an admission date), we now have a consultation record with Out-patient as suggestion and also has an admission date.

To Reproduce
Steps to reproduce the behavior:

  1. Do what was said above

Suggested behavior(s)

  • We shouldn't allow changing decision after consultation
  • We should sanitize and remove the admission date if captured (but changing back to "Admission" due to accidental edit would mean we lost the initially captured admission date
  • Ignore and leave it to the one who extracts data from the records to decide on whether to focus on conditional fields or not
@rithviknishad
Copy link
Member Author

Continued in #6668 #6669

@rithviknishad rithviknishad closed this as not planned Won't fix, can't repro, duplicate, stale Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants