cdisc-org / cdisc-org/cdisc-rules-engine
Enhancement request: extend is_ordered_set and is_not_ordered_set for accepting arrays (lists)
- Dominant language
- Python
- Stars
- 113
- Forks
- 43
- Avg merge
- 14h 51m
- Merged PRs (30d)
- 14
Description
The current implementation of is_ordered_set and is_not_ordered_set only accepts a single parameter value. This is fine for e.g. checking the order of --SEQ within USUBJID.
It does however not allow to e.g. check SEND rule 130 (https://jira.cdisc.org/browse/CORERULES-577): "The values of SESTDTC provide the chronological order of the actual subject Elements. SESEQ should be assigned to be consistent with the chronological order."
Or otherwise said: within each subject, SESEQ must be ordered by value of SESTDTC.
I think (but am not 100% sure) that overloading the method to also accept arrays would enable the above.
Contributor guide
Assessment
This issue has not been assessed yet.