If data are in scope for domain dataset defined in this guide, but not all data points for an observation can be represented using existing variables, then variables may be added from the SDTM or included in a related supplemental dataset.




A custom domain may only be created when data are different in nature and are not in scope for domains described in this guide. Custom domains will be used to represent logically related observations based on the scientific subject matter of the data and will not be created based on:

Prior to creating a custom domain, confirm that none of the existing published domains will fit the need. Once confirmed, drafting a specification upfront, using conventions in Section x.x, How to Read Domain Specifications, is recommended to ensure expectations for the custom domain are clear. Custom domains and corresponding specifications must be created based on the three general observation classes, Interventions, Events, and Findings, described in the SDTM. In most cases, the choice of observation class appropriate to a specific collection of data can be easily determined according to descriptions of these classes in the SDTM. The majority of data, which typically consists of measurements or responses to questions, usually at specific visits or time points, will fit the Findings general observation class. 

The overall process for creating a custom domain is as follows:

  1. Establish a common topic or topics for the data. The common topic or topics will reflect a collection of logically related observations based on the scientific subject matter of the data.
    1. If more than one topic is identified, then more than one domain may be needed.
      1. In such cases, consider whether topics are hierarchical in nature where data for one topic must be observed before data for a second topic can be observed. If a hierarchical relationship between topics exists, then paired domains will be created (e.g., Pharmacokinetics Concentrations (PC) and Pharmakinetics Parameters (PP) is an established domain pair). Relationships between records in paired domains may then be represented in the Related Records (RELREC) dataset as appropriate.
  2. Categorize data within the domain using Grouping Qualifier variables (e.g., --CAT, --SCAT) and identify other Qualifiers applicable to the data (e.g., --METHOD, --SPEC) as appropriate.
  3. Look for a domain within this guide to serve as a prototype. If no domain seems appropriate, choose the general observation class in the SDTM (Interventions, Events, or Findings) that best fits the data given the topic of the observations.
  4. Select variables for the domain from the SDTM. Selection of variables must align with SDTM Usage Restrictions. As illustrated in the following figure, the general approach for selecting variables for a custom domain is to:
    1. Include applicable Identifier variables. Identifier variables STUDYID, USUBJID, DOMAIN, and --SEQ are required in all domains based on the general observation classes. Additional Identifiers may be added as needed.
    2. Include the Topic variable from the SDTM general observation class (e.g., --TESTCD for Findings). 
    3. Include the relevant Qualifier variables from the identified SDTM general observation class.
    4. Include the applicable SDTM Timing variables. In general, the domain must have at least one timing variable.
    5. Determine the two-character domain code.
      1. The domain code add domain naming rules here
    6. Apply the domain code to the appropriate variables in the domain by replacing all variable prefixes (shown in the SDTM as “--“) with the domain code.
    7. Set the order of variables consistent with the order defined in the SDTM for the general observation class.
    8. Adjust the labels of the variables only as appropriate to convey their meaning in the context of the data in the newly created domain. Use title case for all labels.
    9. Ensure that appropriate standard variables are being properly applied by comparing their use in the custom domain to their use in related TIG domains.

    10. Place any non-SDTM variables in a Supplemental Qualifier dataset. 
















If data cannot be represented in a domain dataset defined in this guide, then a custom domain may be used. A custom domain may only be created when data are different in nature and are not in scope for domains described in this guide. Custom domains will be used to represent logically related observations based on the scientific subject matter of the data and will not be created based on:

Prior to creating a custom domain, confirm that none of the existing published domains will fit the need. Once confirmed, drafting a specification upfront, using conventions in Section x.x, How to Read Domain Specifications, is recommended to ensure expectations for the custom domain are clear. Custom domains and corresponding specifications must be created based on the three general observation classes, Interventions, Events, and Findings, described in the SDTM. In most cases, the choice of observation class appropriate to a specific collection of data can be easily determined according to descriptions of these classes in the SDTM. The majority of data, which typically consists of measurements or responses to questions, usually at specific visits or time points, will fit the Findings general observation class. 

The overall process for creating a custom domain is as follows:

  1. Establish a common topic or topics for the data. The common topic or topics will reflect a collection of logically related observations based on the scientific subject matter of the data.
    1. If more than one topic is identified, then more than one domain may be needed.
      1. In such cases, consider whether topics are hierarchical in nature where data for one topic must be observed before data for a second topic can be observed. If a hierarchical relationship between topics exists, then paired domains will be created (e.g., Pharmacokinetics Concentrations (PC) and Pharmakinetics Parameters (PP) is an established domain pair). Relationships between records in paired domains may then be represented in the Related Records (RELREC) dataset as appropriate.
  2. Categorize data within the domain using Grouping Qualifier variables (e.g., --CAT, --SCAT) and identify other Qualifiers applicable to the data (e.g., --METHOD, --SPEC) as appropriate.
  3. Look for a domain within this guide to serve as a prototype. If no domain seems appropriate, choose the general observation class in the SDTM (Interventions, Events, or Findings) that best fits the data given the topic of the observations.
  4. Select variables for the domain from the SDTM. Selection of variables must align with SDTM Usage Restrictions. As illustrated in the following figure, the general approach for selecting variables for a custom domain is to:
    1. Include applicable Identifier variables. Identifier variables STUDYID, USUBJID, DOMAIN, and --SEQ are required in all domains based on the general observation classes. Additional Identifiers may be added as needed.
    2. Include the Topic variable from the SDTM general observation class (e.g., --TESTCD for Findings). 
    3. Include the relevant Qualifier variables from the identified SDTM general observation class.
    4. Include the applicable SDTM Timing variables. In general, the domain must have at least one timing variable.
    5. Determine the two-character domain code.
      1. The domain code add domain naming rules here
    6. Apply the domain code to the appropriate variables in the domain by replacing all variable prefixes (shown in the SDTM as “--“) with the domain code.
    7. Set the order of variables consistent with the order defined in the SDTM for the general observation class.
    8. Adjust the labels of the variables only as appropriate to convey their meaning in the context of the data in the newly created domain. Use title case for all labels.
    9. Ensure that appropriate standard variables are being properly applied by comparing their use in the custom domain to their use in related TIG domains.

    10. Place any non-SDTM variables in a Supplemental Qualifier dataset. 




















How to Read a Domain Specification - SDTMIG v3.4 - Wiki (cdisc.org)

A domain specification table includes rows for all required and expected variables for a domain and for a set of permissible variables. The permissible variables do not include all the variables that are allowed for the domain; they are a set of variables that the SDS Team considered likely to be included. The columns of the table are:


















Variables in the domains should be ordered with identifiers first, followed by the topic, qualifier, and timing variables.


SDTM - The SDTM Standard Domain Models

Final domains will be published only in an SDTM implementation guide (this guide or another implementation guide, e.g., SDTMIG for Medical Devices). Therapeutic-area standards projects and other projects may develop proposals for additional domains. Draft versions of these domains may be made available in the CDISC wiki in the SDTM Draft Domains space (https://wiki.cdisc.org/display/SDD/SDTM+Draft+Domains+Home).

These general rules apply when determining which variables to include in a domain:


SEND

Additional timing variables (see SDTM v1.5 Table 2.2.5; https://www.cdisc.org/standards/foundational/sdtm/) can be added as needed to a standard domain model based on the 3 general observation classes. Timing variables can be added to special-purpose domains only where specified in the SENDIG domain model assumptions. Timing variables cannot be added to SUPP-- datasets or to RELREC (see Section 8, Representing Relationships and Data). Timing variables cannot be added to the Trial Design Model datasets (see Section 7, Trial Design Model Datasets).