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
Flag an error if MIDS is in the dataset currently being evaluated and the TM domain is not present in the study
907
+
908
+
```yaml
909
+
Rule Type: Domain Presence Check
910
+
Check:
911
+
all:
912
+
- name: $MIDS_EXISTS
913
+
operator: equal_to
914
+
value: true
915
+
- name: TM
916
+
operator: not_exists
917
+
Operations:
918
+
- id: $MIDS_EXISTS
919
+
name: MIDS
920
+
operator: variable_exists
921
+
```
922
+
923
+
## variable_is_null
924
+
925
+
True if variable is missing or if all values within a variable are null or empty string
926
+
927
+
## variable_names
928
+
929
+
Return the set of variable names from the library for the given standard
930
+
931
+
## variable_value_count
932
+
933
+
Given a variable `name`, returns a mapping of variable values to the number of times that value appears in the variable within all datasets in the study.
934
+
878
935
# External Dictionary Validation Operations
879
936
880
937
## Supported External Dictionary Types
@@ -1087,95 +1144,3 @@ Operations:
1087
1144
- id: $valid_whodrug_codes
1088
1145
operator: whodrug_code_hierarchy
1089
1146
```
1090
-
1091
-
## variable_count
1092
-
1093
-
Returns a mapping of variable names to the number of times that variable appears in a domain within the study.
Flag an error if MIDS is in the dataset currently being evaluated and the TM domain is not present in the study
1120
-
1121
-
```yaml
1122
-
Rule Type: Domain Presence Check
1123
-
Check:
1124
-
all:
1125
-
- name: $MIDS_EXISTS
1126
-
operator: equal_to
1127
-
value: true
1128
-
- name: TM
1129
-
operator: not_exists
1130
-
Operations:
1131
-
- id: $MIDS_EXISTS
1132
-
name: MIDS
1133
-
operator: variable_exists
1134
-
```
1135
-
1136
-
## variable_is_null
1137
-
1138
-
True if variable is missing or if all values within a variable are null or empty string
1139
-
1140
-
## variable_names
1141
-
1142
-
Return the set of variable names from the library for the given standard
1143
-
1144
-
## variable_library_metadata
1145
-
1146
-
Get the metadata value from the library for all variables in the current dataset. Metadata attribute is specified by the `name`.
1147
-
1148
-
Result
1149
-
1150
-
```json
1151
-
{
1152
-
"STUDYID": "Req",
1153
-
"DOMAIN": "Req",
1154
-
"AEGRPID": "Perm",
1155
-
"AETERM": "Req",
1156
-
"AELLT": "Exp",
1157
-
"...": "..."
1158
-
}
1159
-
```
1160
-
1161
-
> Condition: Variable Core Status = Required
1162
-
1163
-
> Rule: Variable ^= null
1164
-
1165
-
```yaml
1166
-
Check:
1167
-
any:
1168
-
- all:
1169
-
- operator: variable_metadata_equal_to
1170
-
value: Req
1171
-
metadata: $var_perm
1172
-
- operator: empty
1173
-
Operations:
1174
-
- id: $var_perm
1175
-
operator: variable_library_metadata
1176
-
name: core
1177
-
```
1178
-
1179
-
## variable_value_count
1180
-
1181
-
Given a variable `name`, returns a mapping of variable values to the number of times that value appears in the variable within all datasets in the study.
0 commit comments