Skip to content

Conversation

@Akol125
Copy link
Contributor

@Akol125 Akol125 commented Sep 24, 2025

Summary

  • Routine Change
  • ❗ Breaking Change
  • 🤖 Operational or Infrastructure Change
  • ✨ New Feature
  • ⚠️ Potential issues that might be caused by this change

Add any other relevant notes or explanations here. Remove this line if you have nothing to add.

Reviews Required

  • Dev
  • Test
  • Tech Author
  • Product Owner

Review Checklist

ℹ️ This section is to be filled in by the reviewer.

  • I have reviewed the changes in this PR and they fill all or part of the acceptance criteria of the ticket, and the code is in a mergeable state.
  • If there were infrastructure, operational, or build changes, I have made sure there is sufficient evidence that the changes will work.
  • I have ensured the changelog has been updated by the submitter, if necessary.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 24, 2025

This branch is working on a ticket in the NHS England VED JIRA Project. Here's a handy link to the ticket:

VED-813

@NHSDigital NHSDigital deleted a comment from sonarqubecloud bot Sep 25, 2025
@Akol125 Akol125 changed the title log resources VED-813-Fix-NHS-Number-Change Sep 25, 2025
@Akol125 Akol125 changed the title VED-813-Fix-NHS-Number-Change VED-813-Fix NHS-Number-Change Sep 25, 2025
JamesW1-NHS
JamesW1-NHS previously approved these changes Sep 25, 2025
try:
patient_resource_parsed = json.loads(patient_resource)
except json.JSONDecodeError:
logger.warning("Failed to decode patient_resource JSON string")
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be error. Means we have somehow persisted bad data to our events DB.

logger.exception("process_nhs_number: failed to fetch demographic details: %s", e)
return make_status(str(e), nhs_number, "error")

logger.debug("Fetched PDS details: %s", pds_patient_resource)
Copy link
Contributor

Choose a reason for hiding this comment

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

Are we permitted to log PID? If we enable debug logs, then this will come out.

Copy link
Contributor

@dlzhry2nhs dlzhry2nhs left a comment

Choose a reason for hiding this comment

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

Looks okay.

dlzhry2nhs
dlzhry2nhs previously approved these changes Sep 25, 2025
@Akol125 Akol125 dismissed stale reviews from dlzhry2nhs and JamesW1-NHS via c4b261a September 25, 2025 10:58
@sonarqubecloud
Copy link

@Akol125 Akol125 merged commit 00fa09b into master Sep 25, 2025
7 checks passed
@Akol125 Akol125 deleted the VED-000-NHS-Number-Change branch September 25, 2025 11:27
mfjarvis pushed a commit that referenced this pull request Oct 22, 2025
Fix Bug NHS Number Change
mfjarvis pushed a commit that referenced this pull request Oct 27, 2025
Fix Bug NHS Number 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 this pull request may close these issues.

3 participants