get_sdtm_domain_structure
Retrieve complete SDTM domain structures with all variables and attributes from the CDISC Library. Specify domain code, version, and optional codelists for tailored metadata.
Instructions
Get complete domain structure with all variables for an SDTM domain.
Args: domain (str): SDTM domain code (e.g., "DM", "AE", "VS", "LB"). sdtmig_version (str, optional): SDTM-IG version (e.g., "3-4" or "3.4"). If not provided, uses latest version. include_codelists (bool, optional): If True, retrieves full codelist terms for variables. Default False for faster response. headers_ (dict, optional): Custom headers for API request.
Returns: dict: Contains domain metadata and complete list of variables with their attributes.
Example: get_sdtm_domain_structure("DM", "3-4") Returns demographics domain with all required/expected/permissible variables
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| headers_ | No | ||
| sdtmig_version | No | ||
| include_codelists | No |