pharmaverse / admiral

ADaM in R Asset Library
https://pharmaverse.github.io/admiral
Apache License 2.0
227 stars 64 forks source link

update ADPC template: ATPT="Pre-dose" assigned 3 different values of ATPTN #2328

Closed kaz462 closed 9 months ago

kaz462 commented 9 months ago

Background Information

Issues raised by @botsp from pharmaverseadam: https://github.com/pharmaverse/pharmaverseadam/issues/58

ADPC: ATPT="Pre-dose" assigned 3 different values of ATPTN(-0.5,24,48).

image

Definition of Done

change ATPT from "Pre-dose" to "xxh Post-dose" when ATPTN =24/48 and DTYPE="COPY" by updating the assignment below:

https://github.com/pharmaverse/admiral/blob/16671ee64d124e9eff26bfa7a776442ad610ed84/inst/templates/ad_adpc.R#L424

bms63 commented 9 months ago

@jeffreyad do you find fixing this issue while making your updates to ADPC/ADPP templates? please and many thanks you!!!

jeffreyad commented 9 months ago

@jeffreyad do you find fixing this issue while making your updates to ADPC/ADPP templates? please and many thanks you!!!

@bms63 sure, I will take a look.

jeffreyad commented 9 months ago

@kaz462 thanks. The ATPT should be Pre-dose for these records since they are for "Duplicated Records for Analysis." However, I could update ATPTN to -.5 to match the original values of PCTPTNUM for the Pre-dose records. See page 19 of CDISC ADaMIG for Non-compartmental Analysis Input Data v1.0.

image

https://www.cdisc.org/standards/foundational/adam/adamig-non-compartmental-analysis-input-data-v1-0

kaz462 commented 9 months ago

@jeffreyad good to know, thanks for the background information!