Open cicdguy opened 3 years ago
Hmm I looked very quickly but it looks like at least LBSTRESN and ANRIND are required to be non-missing. I'm not sure about the other vars mentioned above.
I looked further and I think it's a bit wrong what is done there. For example, ANRIND normally is not even based on LBSTRESN, it's based on AVAL, I think we should replace the references to SDTM variables to ADaM variables and then it will be fine. Suppose we have some derived tests in ADLB for which LBTESTCD and LBCAT are missing. Then this code will return an error although nothing is really wrong.
Provenance:
Creator: bahatsky
Patient profile module tests that ADLB is unique by: "USUBJID", "STUDYID", "ANRIND", "LBSEQ", "PARAMCD", "BASETYPE", "ADT", "AVISITN", "LBSTRESN", "LBCAT", "LBTESTCD" So in case any of these variables are missing, the LB plot is not created.
Provenance: