You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The limitation that reporting rules only support a single input causes problems with repeatable rules if the rule requirements multiple inputs.
Repeating rule:
extract enclosingRuleInput [ fooList
then extract
FooReport {
attr1: Attr1Rule, // single input "item" to Attr1Rule
attr2: Attr2Func(item, inputType // 2 inputs, "item" and "enclosingRuleInput", for Attr2Func , so unable to use a rule
}
]
Repeating rule returns a list of FooReport. Each attribute has a rule reference.
type FooReport:
attr1 string (0..1)
[ruleReference Attr1Rule]
attr2 string (0..1)
[ruleReference Attr2Rule] // rule specified here used for regulatoryReference and "as" rule name, but not extract logic
Rules
reporting rule Attr1Rule from Foo:
[regulatoryReference "blah blah blah reg reference for Attr1Rule"]
extract item -> attr1
as "Foo attr1 rule name"
reporting rule Attr2Rule from Foo:
[regulatoryReference "blah blah blah reg reference for Attr2Rule"] // this is used in regulation
empty // unreachable / unused extract code
as "Foo attr2 rule name" // this used in tabulation
The text was updated successfully, but these errors were encountered:
The limitation that reporting rules only support a single input causes problems with repeatable rules if the rule requirements multiple inputs.
Repeating rule:
Repeating rule returns a list of
FooReport
. Each attribute has a rule reference.Rules
The text was updated successfully, but these errors were encountered: