-
Notifications
You must be signed in to change notification settings - Fork 27
#1194 Add domain suffix extraction and standard domains operation for domain validation #1439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… DOMAIN substring comparison
|
Also, can you provide a sample rule and test data to completely test CG0663. You can attach to this PR. (it will also help with your demo) |
Here are the dataset files and Rule file I used for testing: local-rule.yaml |
…in DatasetMetadataDefineDatasetBuilder._get_dataset_dataframe()
…and remove redundant extract_metadata code
…AP domain test cases
Implements the ability to extract domain suffixes from AP-related domain names and compare them against valid SDTM domains. This adds a
domain_suffixoption to theextract_metadataoperation that extracts characters 3-4 from domain names (e.g., "FA" from "APFA"), and introduces a newstandard_domainsoperation that returns a sorted list of valid SDTM domain names from the CDISC Library metadata. These changes enable rule CG0663 to validate that Associated Persons (AP) Core Domains have a 4-character length beginning with 'AP' and ending with a valid 2-character SDTM domain.