NPA-7488: Fix misalignment of misuse status reason - #394
Merged
ehallam merged 1 commit intoSep 17, 2026
Merged
Conversation
|
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Bump the schema version to reflect the public contract change.
Pull request overview
Updates the OpenAPI contract to correct the misuse status-reason code and documentation.
Changes:
- Renames the enum value to
ROLE_DEACTIVATED_SYSTEM_MISUSE. - Updates its documented display mapping.
File summaries
| File | Description |
|---|---|
specification/validated-relationships-service-api.yaml |
Corrects the status-reason enum and documentation. |
Review details
Suppressed comments (1)
specification/validated-relationships-service-api.yaml:2498
- This changes the public
StatusReasonCodeableConceptenum, butinfo.versionremains1.28.0. The repository's release guidance requires updating the schema version for a new schema contract; without that, published documentation and generated clients cannot distinguish this corrected enum from the previous contract. Please bump the specification version as part of this change.
- ROLE_DEACTIVATED_SYSTEM_MISUSE
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
ellie-bound1-NHSD
approved these changes
Sep 17, 2026
ehallam
deleted the
task/NPA-7488/fix-misalignment-of-misuse-status-reason-bug
branch
September 17, 2026 14:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Pull Request
🧾 Ticket Link
https://nhsd-jira.digital.nhs.uk/browse/NPA-7488
📄 Description/Summary of Changes
🧪 Developer Testing Carried Out
📋 PR Principles
🏷️ Naming Conventions Reminder
Please ensure the following naming conventions are followed:
NPA-XXXX: <short-description><type>/NPA-XXXX/<short-description>NPA-XXXX: <short-description>