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

CNDE-1902: Legacy Investigation Update (Pre-Processing) #83

Merged
merged 6 commits into from
Nov 19, 2024

Conversation

upasanapattnaik-eq
Copy link
Collaborator

@upasanapattnaik-eq upasanapattnaik-eq commented Nov 14, 2024

Notes

Update sp_investigation_event to pull in observations associated to legacy investigation pages. The scope of nrt_investigation_observation is expanded accomodate public_health_case_uid, first level observation_ids- Lab_Report, PHCInvForm and Notification ids, followed by their downstream observation_uids (branch_ids). Additionally, type_cd for root and branch ids are included.

Schema updates to:

  • nrt_investigation
  • nrt_investigation_observation

Downstream stored procedure refactored to account for update from 1:1 mapping to 1:many:

  • sp_d_morbidity_report_postprocessing
  • sp_d_labtest_result_postprocessing
  • sp_hepatitis_datamart_postprocessing

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?

@upasanapattnaik-eq upasanapattnaik-eq marked this pull request as ready for review November 15, 2024 22:41
@upasanapattnaik-eq upasanapattnaik-eq changed the title CNDE-1902: Legacy Investigation Update CNDE-1902: Legacy Investigation Update (Pre-Processing) Nov 15, 2024
Copy link
Collaborator

@sveselev sveselev left a comment

Choose a reason for hiding this comment

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

LGTM!

@upasanapattnaik-eq upasanapattnaik-eq merged commit e98c5fd into main Nov 19, 2024
2 checks passed
@upasanapattnaik-eq upasanapattnaik-eq deleted the CNDE-1902 branch November 19, 2024 14:38
@upasanapattnaik-eq upasanapattnaik-eq mentioned this pull request Nov 21, 2024
12 tasks
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.

2 participants