Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions resources/schema/rule-merged/Operations.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@
"required": ["id", "operator"],
"type": "object"
},
{
"properties": {
"operator": {
"const": "related_domain_is_custom",
"markdownDescription": "\nChecks whether the related domain (for example, the parent domain of a SUPP or RELREC dataset) is not present in the set of standard domains for the provided standard and version. This is useful for determining whether relationships point to non-standard or custom domains.\n\nInput\n\nTarget Domain: SUPPEX\n\nProduct: sdtmig\n\nVersion: 3-4\n\n```yaml\nOperations:\n - operator: related_domain_is_custom\n id: $related_domain_is_custom\n```\n\nOutput\n\n```\ntrue\n```\n"
}
},
"required": ["id", "operator"],
"type": "object"
},
{
"properties": {
"operator": {
Expand Down
62 changes: 1 addition & 61 deletions resources/schema/rule-merged/Operator.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,6 @@
"required": ["operator"],
"type": "object"
},
{
"properties": {
"operator": {
"const": "conformant_value_data_type",
"markdownDescription": "\nValue Level Metadata Check against Define XML\n\nTrue if the types in the row match the VLM types specified in the define.xml\n"
}
},
"required": ["operator"],
"type": "object"
},
{
"properties": {
"operator": {
"const": "conformant_value_length",
"markdownDescription": "\nValue Level Metadata Check against Define XML\n\nTrue if the lengths in the row match the VLM lengths specified in the define.xml\n"
}
},
"required": ["operator"],
"type": "object"
},
{
"properties": {
"operator": {
Expand Down Expand Up @@ -171,16 +151,6 @@
"required": ["operator", "ordering", "value", "within"],
"type": "object"
},
{
"properties": {
"operator": {
"const": "does_not_reference_correct_codelist",
"markdownDescription": "\nComplement of `references_correct_codelist`\n"
}
},
"required": ["operator", "value"],
"type": "object"
},
{
"properties": {
"operator": {
Expand Down Expand Up @@ -492,7 +462,7 @@
"properties": {
"operator": {
"const": "is_inconsistent_across_dataset",
"markdownDescription": "\nChecks if a variable maintains consistent values within groups defined by one or more grouping variables. Groups records by specified value(s) and validates that the target variable maintains the same value within each unique combination of grouping variables.\n\nSingle grouping variable - true if the values of BGSTRESU differ within USUBJID:\n\n```yaml\n- name: \"BGSTRESU\"\n operator: is_inconsistent_across_dataset\n value: \"USUBJID\"\n```\n\nMultiple grouping variables - true if the values of --STRESU differ within each combination of --TESTCD, --CAT, --SCAT, --SPEC, and --METHOD:\n\n```yaml\n- name: \"--STRESU\"\n operator: is_inconsistent_across_dataset\n value:\n - \"--TESTCD\"\n - \"--CAT\"\n - \"--SCAT\"\n - \"--SPEC\"\n - \"--METHOD\"\n```\n"
"markdownDescription": "\nChecks if a variable maintains consistent values within groups defined by one or more grouping variables. Groups records by specified value(s) and validates that the target variable maintains the same value within each unique combination of grouping variables. When inconsistency is detected within a group, the operator attempts to identify a majority value. If one value appears more frequently than all others, only the minority records (those not matching the majority value) are flagged. If no single majority exists \u2014 i.e., two or more values are tied for the highest frequency \u2014 all records in that group are flagged.\n\nSingle grouping variable - true if the values of BGSTRESU differ within USUBJID:\n\n```yaml\n- name: \"BGSTRESU\"\n operator: is_inconsistent_across_dataset\n value: \"USUBJID\"\n```\n\nMultiple grouping variables - true if the values of --STRESU differ within each combination of --TESTCD, --CAT, --SCAT, --SPEC, and --METHOD:\n\n```yaml\n- name: \"--STRESU\"\n operator: is_inconsistent_across_dataset\n value:\n - \"--TESTCD\"\n - \"--CAT\"\n - \"--SCAT\"\n - \"--SPEC\"\n - \"--METHOD\"\n```\n"
}
},
"required": ["operator", "value"],
Expand Down Expand Up @@ -558,26 +528,6 @@
"required": ["operator", "value"],
"type": "object"
},
{
"properties": {
"operator": {
"const": "non_conformant_value_data_type",
"markdownDescription": "\nComplement of `conformant_value_data_type`\n"
}
},
"required": ["operator"],
"type": "object"
},
{
"properties": {
"operator": {
"const": "non_conformant_value_length",
"markdownDescription": "\nComplement of `conformant_value_length`\n"
}
},
"required": ["operator"],
"type": "object"
},
{
"properties": {
"operator": {
Expand Down Expand Up @@ -756,16 +706,6 @@
"required": ["operator", "within"],
"type": "object"
},
{
"properties": {
"operator": {
"const": "references_correct_codelist",
"markdownDescription": "\nTrue if the codelist named within `value` is a valid codelist for the variable named within `name` in the define.xml.\n"
}
},
"required": ["operator", "value"],
"type": "object"
},
{
"properties": {
"operator": {
Expand Down
Loading
Loading