-
Notifications
You must be signed in to change notification settings - Fork 248
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
(fix) O3-3571: Use issued
property to determine when test results were issued
#1907
(fix) O3-3571: Use issued
property to determine when test results were issued
#1907
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might want to update some tests
Works as expected. |
Please fix CI |
7eec2cf
to
1a5b44c
Compare
issued
property to determine when test results were issued
@arodidev Ticket O3-3474 is the Epic "Lab Orders: Next." PRs should be attributed to individual tickets, not Epics. Please file a ticket under O3-3474 and link that to this PR instead. Please include some details about how this decision was made—link to conversations in Talk or Slack, name what person or org made the decision, etc. If you made this decision yourself, please include your reasoning with greater detail (why exactly is |
Just to add to this, which Observation property maps to what in OpenMRS Obs? Does the issued map to obs date or order date (if present)? I know we have cases i.e. Viral load tests that take time i.e. a week or so for results to be back and you want to accurately map the result to the date when the order was requested/sample collected. |
Obs date. "Issued" means the date that the data was available in the system, so regardless of when it was ordered, that seems like the right value. I can't understand why you would want to use the order date here... maybe the sample collection date if we tracked that. |
issued
property to determine when test results were issuedissued
property to determine when test results were issued
Thanks @brandones, I've updated the title to reflect the same.
Regarding this, I posted some of my findings on the jira ticket comments. |
Thanks, @ibacher. I know there are time-sensitive tests like viral load at 6 months, 12 months etc which track the result using date of sample collection. Correctly setting the obs date during data entry addresses my concern. Thanks, @arodidev |
Thanks @arodidev , thanks all. |
Actually, on reviewing things, I think this PR is incorrect. Specifically, the |
Requirements
Summary
This pull request updates the
PanelTimelineComponent
to use theissued
property instead ofeffectiveDateTime
for handling timestamps of observations, necessitated by the fact that theissued
property is a more accurate reflector of the date and time in which the order results were submitted.Screenshots
Before:
After:
Related Issue
https://openmrs.atlassian.net/browse/O3-3571
Other