Skip to content

Conversation

@carlosmartinez
Copy link
Contributor

Introduces the foundation for gateway integration:

  • GatewayAction model to track worklist actions sent to the screening gateway
  • WorklistItemService to create worklist.create_item actions
  • Actions are created with PENDING status for a separate sender service to process

The payload structure matches what the production gateway expects.

Jira link

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

Review notes

Currently there's no way to see this in action, as triggering the creation of the worklist action and sending it to the gateway are separate tasks. However, the model/service unblock both of those.

Review checklist

  • Check database queries are correctly scoped to current_provider

Introduces the foundation for gateway integration:

  - GatewayAction model to track worklist actions sent to the screening gateway
  - WorklistItemService to create worklist.create_item actions
  - Actions are created with PENDING status for a separate sender service to process

The payload structure matches what the production gateway expects.
@sonarqubecloud
Copy link

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