cdisc-org / cdisc-org/cdisc-rules-engine
Rule blocked: CORERULES-1704
- Dominant language
- Python
- Stars
- 113
- Forks
- 43
- Avg merge
- 14h 51m
- Merged PRs (30d)
- 14
Description
[request.txt](https://github.com/cdisc-org/cdisc-rules-engine/files/11437982/request.txt)
**Links to related JIRA Tickets**
- https://jira.cdisc.org/browse/CORERULES-1704
**Rule Information**
- **Standard**: ADaMIG
- **Rule ID**: 88
- **Rule Description**: Raise an error when STUDYID is not present
**Describe the bug**
The error show regardless of wether STUDYID is present in the dataset or not. Also the message "Output variables: ['STUDYID'] not found in dataset" does not make any sense. since no output variables is specified. I think this is a schema problem.
**Error returned from Rule Engine**
```json
{
"ADSL": [
{
"executionStatus": "execution_error",
"domain": "ADSL",
"variables": [],
"message": "rule execution error",
"errors": [
{
"error": "An unknown exception has occurred",
"message": "Output variables: ['STUDYID'] not found in dataset"
}
]
}
]
}
```
**Expected behavior**
In case STUDYID is missing from the dataset, I expect my message "STUDYID is not present" to be displayed instead of "An unknown exception has occurred".
**Screenshots**

Contributor guide
Assessment
This issue has not been assessed yet.