Skip to content

feat: Postcode dummy codes validation#1818

Merged
Warren-Pitterson merged 27 commits intomainfrom
feat/DTOSS-12099-Rule-12-Investigation
Mar 2, 2026
Merged

feat: Postcode dummy codes validation#1818
Warren-Pitterson merged 27 commits intomainfrom
feat/DTOSS-12099-Rule-12-Investigation

Conversation

@Warren-Pitterson
Copy link
Contributor

@Warren-Pitterson Warren-Pitterson commented Jan 26, 2026

Description

Previous Postcode Dummy code was failing validation if it didn't have a suffix, 'ZZ99' would fail but 'ZZ99 ABC' would pass, also added 2 more valid postcodes to validation,

Added Unit tests

Context

https://nhsd-jira.digital.nhs.uk/browse/DTOSS-12099

**Test Evidence **

image image image

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@github-actions
Copy link

github-actions bot commented Jan 26, 2026

Unit Test Results

✔️ Tests 1014 / 1014 - passed in 70.1s
📝 Coverage 47.1%
📏 4780 / 10450 lines covered 🌿 1171 / 2186 branches covered
🔍 click here for more details

✏️ updated for commit 05a8f5d

@Warren-Pitterson Warren-Pitterson changed the title feat: dummy codes validation feat: Postcode dummy codes validation Jan 28, 2026
@Warren-Pitterson Warren-Pitterson marked this pull request as ready for review February 4, 2026 14:47
@stephhou stephhou added the Deployment 1.1.0 Release scheduled for February 2026 label Feb 6, 2026
stephhou
stephhou previously approved these changes Feb 25, 2026
MWClayson-NHS
MWClayson-NHS previously approved these changes Feb 25, 2026
stephhou
stephhou previously approved these changes Feb 26, 2026
@Warren-Pitterson Warren-Pitterson added this pull request to the merge queue Mar 2, 2026
Merged via the queue into main with commit 6ea054d Mar 2, 2026
2 checks passed
@Warren-Pitterson Warren-Pitterson deleted the feat/DTOSS-12099-Rule-12-Investigation branch March 2, 2026 16:47
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 2, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Deployment 1.1.0 Release scheduled for February 2026

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants