Skip to content

[CDAPI-150]: Added validation ensuring an empty string cannot be prov…#105

Draft
nhsd-jack-wainwright wants to merge 1 commit intofeature/CDAPI-110from
feature/CDAPI-150
Draft

[CDAPI-150]: Added validation ensuring an empty string cannot be prov…#105
nhsd-jack-wainwright wants to merge 1 commit intofeature/CDAPI-110from
feature/CDAPI-150

Conversation

@nhsd-jack-wainwright
Copy link
Copy Markdown
Collaborator

Description

Bug fix to ensure empty strings cannot be provided as either the subject or ODS code as part of a provided Test Result.

Context

This change fixes the validation around the publication of a Test Result to prevent an empty string being provided as either the subject identifier or ODS code.

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 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
  • Exceptions/Exclusions to coding standards (e.g. #noqa or #NOSONAR) are included within this Pull Request.

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.

@sonarqubecloud
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Deployment Complete

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.

1 participant