Skip to content

Err/app 311/resolve rtr incorrect lab rpt last update by#677

Merged
eliSkylight merged 13 commits intomainfrom
err/APP-311/resolve-rtr-incorrect-lab_rpt_last_update_by
Mar 2, 2026
Merged

Err/app 311/resolve rtr incorrect lab rpt last update by#677
eliSkylight merged 13 commits intomainfrom
err/APP-311/resolve-rtr-incorrect-lab_rpt_last_update_by

Conversation

@eliSkylight
Copy link
Contributor

@eliSkylight eliSkylight commented Feb 25, 2026

Notes

The change extracts the Result observation uid from the Order observation payload in the post processing service. The conditions are that the incoming uid in the event message belongs to the Order record, it is a Lab Report, and it's an ELR. The extracted result uid is added to the observation cache to be processed later.

When an ELR is imported there are 2 records created in NBS, then processed in RTR. Those are the corresponding Order and Result records in the ODSE Observation table. Changes to the Lab Report via UI such as the action "Mark as Reviewed", only update the Order record on the Observation table. As a result, Debezium captures no changes in the Result record and the RTR pipeline never sees it - except for the very first time the ELR is imported.

I also add 2 README files. One for observation service and one for post processing service so that developers can run and debug them on their host machine to increase productivity.

JIRA

Checklist

Types of changes

What types of changes does this PR introduces?

  • Bugfix
  • New feature
  • Breaking change

Testing

  • Does this PR has >90% code coverage?
  • Is the screenshot attached for code coverage?
  • Does the gradle build pass in your local?
  • Is the gradle build logs attached?

Build logs

Screenshot 2026-02-25 at 6 00 06 PM

…y' of github.com:CDCgov/NEDSS-DataReporting into err/APP-311/resolve-rtr-incorrect-lab_rpt_last_update_by
Copy link
Contributor

@mpeels mpeels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test and build succeed locally. I will spend some time today looking into why the test is failing in Github.

@eliSkylight eliSkylight requested a review from mpeels March 2, 2026 15:26
@eliSkylight eliSkylight merged commit f259ce3 into main Mar 2, 2026
1 check passed
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 this pull request may close these issues.

3 participants