CDCgov / prime-reportstream

ReportStream is a public intermediary tool for delivery of data between different parts of the healthcare ecosystem.
https://reportstream.cdc.gov
Creative Commons Zero v1.0 Universal
67 stars 39 forks source link

Update settings validation to mutex condition filters #14622

Open thetaurean opened 1 month ago

thetaurean commented 1 month ago

User Story

As a user configuring ReportStream I want validation to catch invalid configurations that are syntactically correct so that I can avoid misconfiguring ReportStream components intentionally or otherwise.

Description/Use Case

The conditionFilter supersedes the mappedConditionFilter in specificity; therefore these filters are mutually exclusive to avoid compound condition filters leading to unexpected filtering outcomes. This is checked when evaluating the filters, but we should also prevent them from being configured.

Risks/Impacts/Considerations

We may want to reconsider if there is ever a valid scenario for having both filters configured.

Dev Notes

Acceptance Criteria

Andrey-Glazkv commented 1 month ago

Hey team! Please add your planning poker estimate with Zenhub @adegolier @arnejduranovic @brick-green @david-navapbc @jack-h-wang @jalbinson @JFisk42 @mkalish @thetaurean