DingBao-sys / pe

0 stars 0 forks source link

Feature flaw on editing a latest visit that is earlier than the current visit #6

Open DingBao-sys opened 4 months ago

DingBao-sys commented 4 months ago

steps to reproduce:

  1. addv 2 d/25/2/2024 c/High Fever v/High
  2. addv 2 d/25/1/2024 c/High Fever v/High

expected: error message telling me that the latest visit cannot be earlier than the current latest visit

actual: added successfully

my reasoning is that: ideally we want to track the latest visit, and since the app do not allow us to easily undo the command it means that in the event the user accidentally alter the latest visit for the current patient using an earlier date there is no way to recover it,

furthermore latest visit that allows us to add an earlier date does not really qualify as the latest visit

soc-pe-bot commented 4 months ago

Team's Response

Thank you for feedback. This is a great insight and it makes sense that the word "latest" suggests that visits should be sorted by date. However, we believe that the implementation effort required is too much for this iteration. Furthermore, there are cases when the user might want to keep a earlier visit on top for easier access because that particular visit is important.

Items for the Tester to Verify

:question: Issue response

Team chose [response.NotInScope]

Reason for disagreement: [replace this with your explanation]