Page History
The Related Records (RELREC) special-purpose dataset
Jira | ||||||||
---|---|---|---|---|---|---|---|---|
|
Relationships represented in RELREC are collected relationships. The RELREC dataset should be used to represent either:
- explicit relationships, (e.g., concomitant medications taken as a result of an adverse event) or
- information of a nature that necessitates using multiple datasets and that may need to be examined together for analysis or proper interpretation.
Subject records or datasets expressing a relationship are specified using the key variables STUDYID, RDOMAIN (the domain code of the record or dataset in the relationship) with IDVAR (the variable that identifies the related record(s)). Each record in the RELREC special-purpose dataset contains keys that identify a record (or group of records) and an identifier for the relationship which is stored in the RELID variable. The value of RELID is chosen by the applicant and it is recommended that applicants use a standard system or naming convention for RELID (e.g., all letters, all numbers, capitalized).
Relationships Between Records for a Subject
Relationships between records for a subject in different datasets are specified using the key variables STUDYID, RDOMAIN, and USUBJID, along with IDVAR and IDVARVAL (the value of the identifying variable). IDVARVAL will contain the value of the variable described in IDVAR. Single records can be related by using a unique-record-identifier variable such as --SEQ in IDVAR. Groups of records can be related by using grouping variables such as --LNKID or --LNKGRP in IDVAR.
Jira | ||||||||
---|---|---|---|---|---|---|---|---|
|
Relationships Between Datasets
Relationships between datasets are represented using a single record for each related dataset that identifies the key(s) of the dataset that can be used to relate the respective records. Relationships between datasets are specified using the key variables STUDYID, RDOMAIN, and IDVAR only. The values of variables USUBJID and IDVARVAL will be null as relationships between specific subject records will not be identified. The variable RELTYPE will identify the type of relationship between the datasets (e.g., a one-to-one or parent-child relationship). The allowable values for RELTYPE are ONE and MANY per CDISC Controlled Terminology. This information defines how a merge/join would be written, and what would be the result of the merge/join. The possible combinations are:
Metadataspec | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Pagenav |
---|