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

Death datetime before admission date shouldn't be restricted #6678

Closed
Deepjyoti14 opened this issue Nov 21, 2023 · 3 comments · Fixed by #6458
Closed

Death datetime before admission date shouldn't be restricted #6678

Deepjyoti14 opened this issue Nov 21, 2023 · 3 comments · Fixed by #6458
Assignees

Comments

@Deepjyoti14
Copy link

Is your feature request related to a problem? Please describe.
A patient got admitted at 2am in morning and got expired at 6am. Patient's info was entered in care at 9am (admission datetime). Care not allowing to discharge at time before admission time. This happens as there is a staff storage.

Describe the solution you'd like
Since we are taking current time as admission time, then restriction should be removed. Else the date of admission field should have a time field also.

issue 2
issue

@rithviknishad
Copy link
Member

@Deepjyoti14 The PR #6458 introduces support for capturing Date & Time. Once it is merged, the time part of the Admission Date & Time for existing records would be reset to 12AM (local time).

I hope that'd solve this problem.

cc: @aparnacoronasafe

@Deepjyoti14
Copy link
Author

Ok. Thanks @rithviknishad

@nihal467
Copy link
Member

@Deepjyoti14 As a temporary fix, follow the below steps :

  1. Go to edit consultation
  2. Click on the date of admission field
  3. select the same date again from the calendar
  4. then click on the update consultation button

This will reset the time to 12:00 AM

@rithviknishad rithviknishad moved this from Triage to Up Next in Care Nov 21, 2023
@rithviknishad rithviknishad moved this from Up Next to In Progress in Care Nov 21, 2023
@rithviknishad rithviknishad moved this from In Progress to Review required in Care Nov 21, 2023
@github-project-automation github-project-automation bot moved this from Review required to Done in Care Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants