Open davidmpickett opened 1 month ago
@dsasser @mmiddaugh @FranECross I took a first pass at drafting up this Drupal implementation ticket. Might need a little tweaking in the tasks and ACs, but pretty confident that the basic story is there.
Point estimate: 1 (Using the below solution)
We can achieve this using existing contrib module (already in use in the site), Entity Reference Validators. Below shows the configuration options for the pre-requisite field that the module provides:
And this is the result when the constraint is triggered:
Status
[2024-07-31] [Fran] Asked Daniel via Slack to async refine.
User Story or Problem Statement
AS AN Editor of the VA Benefit Taxonomy I NEED a safeguard to prevent the possibility of indicating a benefit relationship that is impossible in the real world
Examples: Valid Pre-requisite relationships
These are from 18165
Model: Pre-requisite benefits
Example: VA health care
Counter Example: Housebound allowance
Proposed steps for Implementation
Term1
if it lists as Pre-Requisite aTerm2
which already listsTerm1
as Pre-requisiteAcceptance Criteria