Skip to content

Amend create worklist item response when item already exists - #106

Merged
steventux merged 2 commits into
mainfrom
DTOSS-12877-amend-mwl-response-when-worklist-item-exists
May 11, 2026
Merged

Amend create worklist item response when item already exists#106
steventux merged 2 commits into
mainfrom
DTOSS-12877-amend-mwl-response-when-worklist-item-exists

Conversation

@steventux

@steventux steventux commented May 7, 2026

Copy link
Copy Markdown
Contributor

Description

We'll be adding functionality to Manage to allow clinicians to retry the creation of worklist items.
Attempting to re-create an existing worklist item should be a no-op.

Changes the status we return in JSON when a worklist item already exists to exists.

Amends the create worklist item test to use a test db instead of mocking.

Jira link

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

Review notes

Review checklist

  • Check database queries are correctly scoped to current_provider

@steventux
steventux requested a review from carlosmartinez May 7, 2026 15:52

@carlosmartinez carlosmartinez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@steventux
steventux merged commit f5e86e4 into main May 11, 2026
9 checks passed
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.

2 participants