Skip to content

Conversation

@NogaNHS
Copy link
Contributor

@NogaNHS NogaNHS commented Jan 6, 2026

Overview

Jira ticket: PRMP-1084

Description

Script for review document feature

Checklist

Tasks for all changes:

  • 1. I have linked this PR to its Jira ticket.
  • 2. I have run git pre-commits. (WIP)
  • 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 and e2e tests passing:

@NogaNHS NogaNHS requested review from a team as code owners January 6, 2026 16:47
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 6, 2026

Comment on lines +13 to +20
class DocumentReviewReason(StrEnum):
UNKNOWN_NHS_NUMBER = "Unknown NHS number"
DEMOGRAPHIC_MISMATCHES = "Demographic mismatches"
DUPLICATE_RECORD = "Duplicate records error"
FILE_COUNT_MISMATCH = "More or less files than we expected"
FILE_NAME_MISMATCH = "Filename Naming convention error"
GP2GP_ERROR = "GP2GP failure"
GENERAL_ERROR = "General error"
Copy link
Contributor

@steph-torres-nhs steph-torres-nhs Jan 6, 2026

Choose a reason for hiding this comment

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

can this be imported? or will it break when running from the action?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is not on this branch, waiting for this to be merge to main

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.

4 participants