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

Capture time of admission #6141

Closed
aparnacoronasafe opened this issue Aug 23, 2023 · 6 comments
Closed

Capture time of admission #6141

aparnacoronasafe opened this issue Aug 23, 2023 · 6 comments

Comments

@aparnacoronasafe
Copy link
Member

Is your feature request related to a problem? Please describe.
We are not capturing the time of admission.

Describe the solution you'd like
In the consultation form, there is a field for "Date of admission". change it to "Date and Time of Admission". Use the usual time picker along with the date picker. The default date and time shall be the current date and time.

@github-project-automation github-project-automation bot moved this to Triage in Care Aug 23, 2023
@aparnacoronasafe aparnacoronasafe added the P1 breaking issue or vital feature label Aug 23, 2023
@github-actions
Copy link

⚠️ Refrain from assigning this issue to yourself if you have another P1 issue assigned that is not yet closed.

@rithviknishad
Copy link
Member

The admission_date field seems to be marked as deprecated in the backend but is still being used in the front-end and is doing a required field validation in the serializer.

cc: @gigincg

@nihal467 nihal467 moved this from Triage to Up Next in Care Aug 29, 2023
@rithviknishad
Copy link
Member

rithviknishad commented Aug 30, 2023

We should be renaming

  • admission_date field to encounter_start_date (DateTimeField)
  • discharge_date to encounter_end_date (DateTimeField)

And following changes are to be made in front end:

  • Allow Admission Date / Home Isolation start to be a DateTime input.

@rithviknishad rithviknishad added Backend Frontend P2 and removed P1 breaking issue or vital feature discussion required labels Aug 30, 2023
@aeswibon aeswibon self-assigned this Sep 9, 2023
@github-actions
Copy link

Hi, @gigincg, @nihal467, @khavinshankar, @mathew-alex, @aparnacoronasafe, This issue has been automatically marked as stale because it has not had any recent activity.

@nihal467
Copy link
Member

nihal467 commented Sep 26, 2023

@cp-coder unassigning you from this (P2) PR due to inactivity

@khavinshankar
Copy link
Member

This issue is tracked in different pr #6280

cc: @nihal467 @rithviknishad

@github-project-automation github-project-automation bot moved this from Up Next to Done in Care Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

5 participants