Thanks so much! It helps a lot, as currently our model just takes the nested list and go from there.
But just curious if I want to take a look at the NLP approach and do the padding (2D) for both code length of a single visit and number of visits for each patient, would you mind pointing me to relevant materials (links) ?
Thank you <3