get_cdashig_domain_structure
Retrieve the complete CDASH domain structure with all data collection fields for any domain code, optionally specifying CDASHIG version and including codelist terms.
Instructions
Get complete domain structure with all fields for a CDASH domain.
Args: domain (str): CDASH domain code (e.g., "DM", "AE", "VS", "CM"). cdashig_version (str, optional): CDASHIG version (e.g., "2-3" or "2.3"). If not provided, uses latest version. include_codelists (bool, optional): If True, retrieves full codelist terms for fields. Default False for faster response. headers_ (dict, optional): Custom headers for API request.
Returns: dict: Contains domain metadata and complete list of fields with their attributes.
Example: get_cdash_domain_structure("CM", "2-3") Returns concomitant medications domain with all data collection fields
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| headers_ | No | ||
| cdashig_version | No | ||
| include_codelists | No |