Skip to content

Conversation

@MatMoore
Copy link
Contributor

@MatMoore MatMoore commented Nov 17, 2025

Description

This field is supposed to be an ArrayField. On the form to add breast screening history, it's going to be a set of checkboxes, with an exclusive "No systemic treatments" option so that the user can explicitly mark when there are no systemic treatments. This will match how we're handling the treatments associated with right/left breast.

Jira link

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

Review notes

Please double check the arguments to ArrayField, and that the migration works ok. 🙏🏻

Review checklist

  • Check database queries are correctly scoped to current_provider

@MatMoore MatMoore requested a review from a team as a code owner November 17, 2025 16:38
@MatMoore MatMoore force-pushed the dtos-114466-fix-systemic-treatments branch from 5663a8f to 24c997b Compare November 17, 2025 16:42
@MatMoore MatMoore force-pushed the dtos-114466-fix-systemic-treatments branch from 24c997b to 048bf3c Compare November 19, 2025 09:40
Copy link
Contributor

@swebberuk swebberuk left a comment

Choose a reason for hiding this comment

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

👍

validators=[
ExcludesOtherOptionsValidator(
SystemicTreatment.NO_SYSTEMIC_TREATMENTS.label,
SystemicTreatment.NO_SYSTEMIC_TREATMENTS.label,
Copy link
Contributor

Choose a reason for hiding this comment

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

Duplicate line?

@MatMoore MatMoore force-pushed the dtos-114466-fix-systemic-treatments branch from 048bf3c to 23728d3 Compare November 19, 2025 10:06
We actually want to allow multiple options for this.
@MatMoore MatMoore force-pushed the dtos-114466-fix-systemic-treatments branch from 23728d3 to 56899b9 Compare November 19, 2025 10:08
@MatMoore MatMoore merged commit 9b193b1 into main Nov 19, 2025
12 checks passed
@MatMoore MatMoore deleted the dtos-114466-fix-systemic-treatments branch November 19, 2025 10:53
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.

3 participants