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

Patient Issues Show Incorrect Dates When Left Blank #1555

Open
maggienegm opened this issue Feb 16, 2020 · 2 comments · May be fixed by #1572
Open

Patient Issues Show Incorrect Dates When Left Blank #1555

maggienegm opened this issue Feb 16, 2020 · 2 comments · May be fixed by #1572

Comments

@maggienegm
Copy link
Contributor

A) Outreachy Username: maggie.negm
B) Issue Title: Patient Issues Show Incorrect Dates When Left Blank
C) Report Date: 2/14/2020
D) Sites Affected: Documentation Site, NHANES
E) OS/Browser Used: Chrome browser in Linux OS
F) EHR Workflow Module: Issues
G) Steps to Reproduce the Issue:

  1. Go to a patient profile.
  • There are many ways to do this. One way is to use the Patient Finder (“Patient/Client” from the main menu > “Finder” under “Patient/Client”) and choose a patient.
  1. Select “Issues” under the patient’s name.
  2. Create any issue by clicking the “Add” button next to an issue section.
  3. Fill out the form and leave the “Begin Date,” “End Date,” or both blank.
  4. Select the “Save” button.

H) Expected Behavior: When no begin or end date is entered during an issue’s creation, no timestamp should show under the date columns (“Begin” and “End”) in the “Issues” summary.
I) What Actually Happened: When no date is entered during an issue’s creation, the “Issues” module shows a specific timestamp. In the Docs server, it shows “1969-12-31 19:00,” and in the NHANES server, it shows “01/01/1970 00:00.”
J) Screenshots with Explanation:
After creating issue(s) within a patient’s profile (using the Docs server), the “Issues” module will list the patient issues in the following format:

issues-w-outline

  • The “asthma” issue was created with a begin date of 01/09/2020 and no end date. The begin date is displayed correctly, but the “End” column shows the timestamp “1969-12-31 19:00.”

  • The “codeine” issue was created with no begin or end date. Both the “Begin” and “End” columns show the timestamp “1969-12-31 19:00.”

  • The “iodine” issue was created with no begin date and an end date of 02/12/2020, and the “Begin” column shows the timestamp “1969-12-31 19:00.” and the “End” column shows the correct date.

The following is the code that displays the form within Chrome Inspector:
patient-stats-console

K) Estimation of Severity: Minor - distracting or confusing but workflow can continue correctly
M) Solution: Display an empty string or some notation, like “N/A,” under the “Begin” and “End” columns to indicate no date was entered when an issue was created.

@xurror
Copy link
Contributor

xurror commented Mar 16, 2020

@mhn94 I'd like to work on this

@maggienegm
Copy link
Contributor Author

Hello @xurror ! Feel free to work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants