The SAS
Clinical Standards Toolkit provides a set of compliance checks for
the data standards that support validation. SAS Clinical Data Integration
imports these compliance checks when you import your data standards.
You can create additional compliance checks and add them to the set.
For more information about compliance or validation, see the
SAS Clinical Standards Toolkit: User's Guide.
The syntax
for the following settings is determined by SAS Clinical Standards
Toolkit:
-
Domain and domain column specifications
-
-
Terminology lookup and reporting
SAS Clinical
Standards Toolkit is invoked by the SAS code that is generated from
a compliance transformation using a check. For more information about
the SAS Clinical Standards Toolkit, see
SAS Clinical Standards
Toolkit: User's Guide.
To create
a customized compliance check, complete the following steps:
-
In the
Manage Compliance Checks wizard, right-click on a compliance
check. Select
Customize. The Customize Compliance
Check wizard opens. The Check Properties page appears. Most fields
on this page default to the values that are used in the selected compliance
check.
-
On the
Check Properties page, edit the values required for your customization.
-
In the
Check ID field, enter an ID that contains at least one
non-whitespace character, but no more than 8 characters. All characters
except single and double quotation marks are permitted. The ID must
be unique among all check IDs for any compliance check belonging to
that data standard.
-
In the
Check Type list, select or enter a check type that contains
at least one non-whitespace character, but no more than 20 characters.
All characters except single and double quotation marks are permitted.
-
In the
Severity list, select or enter a severity that contains
at least one non-whitespace character, but no more than 40 characters.
All characters except single and double quotation marks are permitted.
-
In the
Description field, enter a description that contains
at least one non-whitespace character, but no more than 500 characters.
All characters are permitted, but you cannot use single and double
quotation marks together in the description. You can use only single
quotation marks or only double quotation marks.
-
In the
Initial Status list, the default is always
Draft.
Note: After you test
this check using the compliance transformation, you can set the status
to
Active.
-
Click
Next. The Domains page appears.
Note: If the
Next and
Finish buttons are dimmed,
then one or more of the values on this page are not valid. Review
the criteria for each value, and make any applicable corrections.
-
Edit the
values required for your customization.
Note: To enable the
Domain Specification field for editing, and disable
the
Domains Referenced table, select the
Direct Edit (Advanced) check box.
-
In the
Domains Referenced table, you can edit a row to adjust
the values for the domain.
Note: The
Domains Referenced table might not be displayed depending
on the type of compliance check that you have selected.
-
In the
Domain Specification field, edit the full domain specification
string that is passed to SAS Clinical Standards Toolkit.
Note: If the domain
specification string is not valid, then the
Next and
Finish buttons are dimmed. A domain specification
string might not be valid in the following situations:
-
-
Characters are not letters (A,
B, C, . . . , Z), digits (0 to 9), or underscores.
-
Special characters, except for
the underscore, are included.
-
The
_ALL_
syntax specifier is included.
-
The length exceeds 200 characters.
-
Click
Next. The Domain Columns page appears.
Note: If the
Next and
Finish buttons are dimmed,
then one or more of the values on this page are not valid. Review
the criteria for each value, and make any applicable corrections.
-
Edit the
values required for your customization.
Note: To enable the
Column Specification field for editing, and disable
the
Columns Referenced table, select the
Direct Edit (Advanced) check box.
-
In the
Columns Referenced table, you can edit a row to adjust
the values for the column.
Note: The
Columns Referenced table is displayed only when the
column specification includes one or more column IDs or column specifiers.
-
In the
Column Specification field, edit the full column specification
string that is passed to the SAS Clinical Standards Toolkit.
Note: If the column
specification string is not valid, then the
Next and
Finish buttons are dimmed. A column specification
string might not be valid in the following situations:
-
-
Characters are not letters (A,
B, C, . . . , Z), digits (0 to 9), or underscores.
-
Special characters, except for
the underscore, are included.
-
The
_ALL_
syntax specifier is included.
-
The length exceeds 200 characters.
-
Click
Next. The Check Code page appears.
Note: If the
Next and
Finish buttons are dimmed,
then one or more of the values on this page are not valid. Review
the criteria for each value, and make any applicable corrections.
-
Edit the
values required for your customization.
Note: To enable the
Code Source list for editing, and disable the
Code field, select the
Direct Edit (Advanced) check box.
-
In the
Code Source list, you can select a macro provided by
the SAS Clinical Standards Toolkit. The value must contain at least
one non-whitespace character, but no more than 32 characters. All
characters except single and double quotation marks are permitted.
This step is required.
-
The
Code Source list is displayed only when the column specification includes one
or more column IDs or column specifiers.
-
For more information about selecting
a macro, see the
SAS Clinical Standards Toolkit: User's
Guide.
-
In the
Code field, edit the code string that is passed to the
SAS Clinical Standards Toolkit. SAS Clinical Data Integration does
not validate the syntax in this code string. However, it does validate
for the following criteria:
-
The code string contains no more
than 2000 characters.
-
All characters are permitted, but
you cannot use single and double quotation marks together in the description.
You can use only single quotation marks or only double quotation marks.
Note: Any code that
you enter must be consistent with the selected code source. You must
enter valid SAS code.
-
Click
Next. If the compliance check includes a terminology
lookup, then the Controlled Terminology Lookup page appears.
Note: If the
Next and
Finish buttons are dimmed,
then one or more of the values on this page are not valid. Review
the criteria for each value, and make any applicable corrections.
-
If a terminology
lookup is included in the compliance check, then edit the values required
for your customization.
Note: To enable the
Lookup Type and
Lookup Source lists for editing, select the
Direct Edit (Advanced) check box.
-
In the
Lookup Type list, you can select or enter the type of
terminology lookup. SAS Clinical Data Integration does not validate
whether the type exists. The value must contain at least one non-whitespace
character, but no more than 20 characters. All characters except single
and double quotation marks are permitted. This step is required.
-
In the
Lookup Source list, you can select or enter the source
of the terminology lookup. SAS Clinical Data Integration does not
validate whether the source exists. The value must contain at least
one non-whitespace character, but no more than 20 characters. All
characters except single and double quotation marks are permitted.
This step is required.
-
Click
Next. The Reporting Options page appears.
Note: If the
Next and
Finish buttons are dimmed,
then one or more of the values on this page are not valid. Review
the criteria for each value, and make any applicable corrections.
-
Edit the
values required for your customization.
Note: To enable the
Error Message field for editing, select the
Direct Edit (Advanced) check box.
-
Select
the
Report All Violations check box to specify
that all violations for the compliance check should be reported every
time the validation is run. If you clear this check box, then only
the first violation is reported.
-
In the
Error Message field, specify the text to write to the
data set when a violation is detected. You can use substitution variables
in this field. The text must contain at least one non-whitespace character,
but no more than 500 characters. All characters except single and
double quotation marks are permitted.
-
Note: If the
Next and
Finish buttons are dimmed,
then one or more of the values on this page are not valid. Review
the criteria for each value, and make any applicable corrections.