pharmaverse / admiral-adamig-wg

admiral R package and ADaM Implementation Guide Working Group
https://pharmaverse.github.io/admiral/
2 stars 1 forks source link

3.3.9 Datapoint Traceability Variables #40

Open bms63 opened 2 months ago

cpiraux commented 2 weeks ago

SRCDOM, SRCSEQ with U- prefix

It may be helpful to have a function to combine two SDTM datasets in accordance with this CDISC implementation (OCCDS 1.1):

Use of the 'U-' prefix when stacking multiple SDTM datasets into a single ADaM dataset. For example, AESTDTC and CESTDTC are combined into a single variable, USTDTC, with SRCDOM and SRCSEQ used to identify the source record.

cpiraux commented 2 weeks ago

SRCDOM, SRCVAL, SRCSEQ - BDS TTE user guide

Those variables are implemented as expected according to the ADaM IG in the function.

In the BDS TTE user guide, SRSEQ is sometimes not included in the code. However, I suggest adding it whenever the source dataset is not ADSL; otherwise, data point traceability will not be achieved.

image

image

bms63 commented 2 weeks ago

SRCDOM, SRCSEQ with U- prefix

It may be helpful to have a function to combine two SDTM datasets in accordance with this CDISC implementation (OCCDS 1.1):

Use of the 'U-' prefix when stacking multiple SDTM datasets into a single ADaM dataset. For example, AESTDTC and CESTDTC are combined into a single variable, USTDTC, with SRCDOM and SRCSEQ used to identify the source record.

This U-prefix - I have never seen this done.

bms63 commented 2 weeks ago

This is discussed in the OCCDS 1.1 Guide