Skip to content

Rule blocked: CORERULES-1676 (2) #362

Description

@JDenHerder

Related to rule CDISC.ADAMIG.AD0047
Could we use Scope - Data_Structures to include/exclude certain ADAM Data Structures for rule checking?

{
"Datasets": {
"Include": [
"ADSL"
]
},
"Data_Structures": {
"Include": [
"SUBJECT LEVEL ANALYSIS DATASET"
]
}
}

Links to related JIRA Tickets

https://jira.cdisc.org/projects/CORERULES/issues/CORERULES-1676
Rule Information

Standard: ADAMIG
Rule ID: 47
Rule Description: "Variable SITEID should be present in dataset ADSL"
Describe the bug

A clear and concise description of what the bug is.

Error returned from Rule Engine

[
{
"executionStatus": "execution_error",
"domain": "ADVS",
"variables": [],
"message": "rule execution error",
"errors": [
{
"error": "An unknown exception has occurred",
"message": "Output variables: ['SITEID'] not found in dataset"
}
]
}
]

Describe the problem
Could we use Scope - DataStructure to include/exclude certain ADAM Data Structures for rule checking?

Describe the solution
First the Data structure of all ADaM datasets needs to get identified.

  • SUBJECT LEVEL ANALYSIS DATASET: dataset name='ADSL'
  • BASIC DATA STRUCTURE: dataset name starts with 'AD' and contains variables PARAM/PARAMCD and/or AVAL/AVALC
  • OCCURRENCE DATA STRUCTURE: dataset name starts with 'AD' and contains variables *TRT, *DECOD and not contains PARAM/PARAMCD. [with * being any character(s) ].
  • ADAM OTHER: dataset name starts with 'AD' but none of the above structures.
    For more info: see attached document.
    Identifying ADaM data structures.docx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions