special-purpose-domains

Standardize creation of Special Purpose SDTM domains with CDISC-compliant validation.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/siddharthchauhan/ETL --skill special-purpose-domains
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: special-purpose-domains
Source: https://github.com/siddharthchauhan/ETL/tree/main/sdtm_pipeline/deepagents/skills/special-purpose-domains
Command: npx skills add https://github.com/siddharthchauhan/ETL --skill special-purpose-domains

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Special Purpose SDTM domains (DM, CO, SE, SV) have unique structures that complicate standard observation-class workflows. This skill provides a structured guide and reference for designing, validating, and transforming these domains to ensure CDISC compliance and data integrity.

Core Features & Use Cases

  • Domain-specific templates for DM, CO, SE, SV with required and permissible variables aligned to SDTMIG.
  • Validation guidance to ensure proper USUBJID construction, CT application, and date logic, with recommended transformation patterns.
  • Reference and guidance for linkage between DM, SV, SE, and CO, including handling of visits, demographics, and comments in clinical data pipelines.
  • Use Case: A data team mapping trial demographics to DM and aligning visit data in SV while capturing study elements in SE.

Quick Start

Install or load the Special Purpose Domains guidance in your SDTM project, then consult the sample variable definitions and transformation examples to begin constructing your DM, SV, SE, and CO domains consistently.

Frequently Asked Questions about special-purpose-domains

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create SDTM special purpose domains that comply with CDISC guidelines?

To create compliant SDTM special purpose domains, follow a structured workflow that builds the DM domain first, ensures SV completeness, and applies robust date logic. This enforces CDISC SDTMIG guidelines for proper structure and validation.

What is the correct order for constructing DM, SV, SE, and CO domains in clinical trials?

The correct order for constructing these special purpose domains starts with building DM first, followed by aligning visit data in SV, capturing study elements in SE, and managing comments in CO to ensure proper domain linkage.

How do I validate USUBJID construction and controlled terminology in SDTM domains?

You validate USUBJID construction and controlled terminology by applying recommended validation guidance and transformation patterns. This ensures proper CT application and data integrity across the DM, SV, SE, and CO domains.

What variables are required for SDDM demographics and subject visits domains?

Required and permissible variables for SDTM demographics and visits are provided as domain-specific templates aligned to the SDTMIG. These templates define the necessary structure for DM and SV domains.

Can I use this SDTM domain guidance for mapping trial demographics and visit data simultaneously?

Yes, you can use this guidance to map trial demographics to DM while simultaneously aligning visit data in SV. It supports data analysts handling these linked structures across clinical trials.

Why does my SV domain validation fail when study element dates are missing?

SV domain validation fails because the workflow enforces SV completeness and robust date logic. Missing study element dates break the required linkage between DM, SV, and SE domains.