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

Patients have no created_date #3977

Closed
mark-prins opened this issue Apr 22, 2021 · 1 comment · Fixed by #3978
Closed

Patients have no created_date #3977

mark-prins opened this issue Apr 22, 2021 · 1 comment · Fixed by #3978
Assignees

Comments

@mark-prins
Copy link
Contributor

Describe the bug

Newly registered patients in Tonga have no created_date

To reproduce

Steps to reproduce the behaviour:

  1. Go to dispensing or vaccinations
  2. Create a patient. Sync to desktop
  3. Use record browser to check the created date

Expected behaviour

Should have a date

Proposed Solution

Add createdDate to schema and populate when creating records.
Add to outgoing sync
Do not update the date when syncing out existing records and note that the date isn't received when looking up patients

Version and device info

  • App version:
  • Tablet model:
  • OS version:

Additional context

Add any other context about the problem here.

@ArpitaSussol
Copy link

Tested in V8.0.3

Testing

Steps to reproduce or otherwise test the changes of this PR:

  • Create a patient through dispensing & sync. Should have a created date on the server
  • Create a patient through vaccinations & sync. Should have a created date on the server
  • Create a patient on desktop in a store other than the current mobile store, adjust the created date to something other than today; look up on tablet via dispensing and sync ( optionally after editing ) Created date on server should not change
  • Create a patient on desktop in a store other than the current mobile store, adjust the created date to something other than today; look up on tablet via vaccinations and sync ( optionally after editing ) Created date on server should not change

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