Skip to content

[NDR-436] Use Core table#1185

Open
jameslinnell wants to merge 35 commits intomainfrom
NDR-436
Open

[NDR-436] Use Core table#1185
jameslinnell wants to merge 35 commits intomainfrom
NDR-436

Conversation

@jameslinnell
Copy link
Contributor

Overview

Jira ticket: NDR-436

Description

Set CORE table to use ID as it's PK

Context

Checklist

Tasks for all changes:

  • 1. I have linked this PR to its Jira ticket.
  • 2. I have run git pre-commits.
  • 3. I have added and/or updated relevant tests.
  • 4. I have updated relevant documentation.
  • 5. I have considered the cross-team impact (and have PR approval from both Core & Demographics if necessary).
  • 6. I have successfully deployed this change to a sandbox and witnessed unit, e2e and smoke tests passing:

@jameslinnell jameslinnell requested review from a team as code owners March 17, 2026 10:15
@github-actions
Copy link

Code security issues found

View full details here.

@sonarqubecloud
Copy link

search_condition = [nhs_number, document_key]
if len(documents) > 1:
logger.warning(
f"Multiple documents found for key {document_key}, using first one",
Copy link
Contributor

Choose a reason for hiding this comment

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

is there anything more identifiable that could be added to the log to help pinpoint which one is used?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is only used during a LG request. It's moved from line 136. I'm reluctant to change log messages that are associated with LG

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