Skip to content

Rule blocked: CORERULES-9422 #1198

@aniemes

Description

@aniemes
  • Attach test dataset files that can be used to test the new feature
  • Replace the "###" in the issue title with the primary JIRA ticket number for the rule.
  • Fill in the following information

Links to related JIRA Tickets

unit-test-coreid-FB1801-negative_01.xlsx

Rule Information

  • Standard: FDA
  • Rule ID: FB1801/FB1901
  • Rule Description: The length of the variable is longer than the data within the variable

Describe the problem
We need a way to find the largest element of a single variable
We need a way to iterate through the variables in each dataset

Describe the solution
If the engine could search through all elements for a given variable, we could use this to compare this against the variable_size operator. If the engine could iterate through the list of variables we could use the previous check for all of the variables and compare them in this way.

Proposed rule logic

Check:
  all:
    - name: variable_size
      operator: less_than_or_equal_to
      value: $size
....
Operations:
  - id: $size
    operator: largest_variable_value

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions