How to create "New Study with pre-defined timepoints"

LabKey Support Forum
How to create "New Study with pre-defined timepoints" Mark2  2015-02-19 12:49
Status: Closed
 
https://www.labkey.org/wiki/home/Documentation/page.view?name=setUpDatasets

I am trying to set up a new "Study" and am having some issues as below, can someone help please?

For the "Demographics" file instead of having a start date I have predefined time points so instead of the following:

101344    2008-04-27    2008-04-27    Germany    English    f    ARV    Group 1: Acute HIV-1           
103505    2008-04-24    2008-04-24    Germany    French    f    ARV    Group 1: Acute HIV-1           
103866    2008-04-21    2008-04-21    USA    German    m    Natural Controller    Group 1: Acute HIV-1            69

I have my files formatted as below where the dates are replace with the actual timepoint eg "Day 0" or "0" as below

101344    Day0    Day0    Germany    English    f    ARV    Group 1: Acute HIV-1           
103505    Day0    Day0    Germany    French    f    ARV    Group 1: Acute HIV-1           
103866 Day0    Day0    0    USA    German    m    Natural Controller    Group 1: Acute HIV-1            69

And then for each assay I have results with the pre-defined timepoints (Day0,1,2,5) and not dates like below eg HIV test Results:

103866    Group 1: Acute HIV-1    USA    m    Day0    69    9               
103866    Group 1: Acute HIV-1    USA    m    Day1    69    37
103866    Group 1: Acute HIV-1    USA    m    Day2    69    65
103866    Group 1: Acute HIV-1    USA    m    Day5    69    93

Can someone show me how to create a new "Study"    with pre-defined timepoints


Thanks very much
 
 
Jon (LabKey DevOps) responded:  2015-02-20 08:04
Hi Mark,

Just to make sure we're on the same page, these pre-defined timepoints are not actually based on time, right?

So if two people come in for Day Zero, they may not necessarily be on the same day or even the same month, right? So person #1 might have their Day Zero on January 29th, 2015 while person #2's Day Zero could have been a year ago. Is that more accurate to what you're trying to do?

Regards,

Jon
 
Mark2 responded:  2015-02-20 10:43
Hi Jon

Thanks for your reply.

"these pre-defined timepoints are not actually based on time, right?"

Correct

"So if two people come in for Day Zero, they may not necessarily be on the same day or even the same month, right? So person #1 might have their Day Zero on January 29th, 2015 while person #2's Day Zero could have been a year ago. Is that more accurate to what you're trying to do?"

This is correct
In most cases we dont even know the date (or would take a lot of effort to dig up that date) we just have results for this subject at Day 0, Day1, Day 5 etc thats why for this particular study I want to avoid using dates "January 29th, 2015" but pre-defined timepoints like Day 0 etc.

Thanks for your help again, much appreciated.
 
Jon (LabKey DevOps) responded:  2015-02-20 11:57
Hi Mark,

So it sounds like you might want to use a visit-based study instead of a time-based one.

Since visits are organized by sequences rather than date ranges, this would fit your needs best due to not knowing the date of when someone's Day was.

Take a look at our comparison page regarding using Visits vs Timepoints for more information.

https://www.labkey.org/wiki/home/Documentation/page.view?name=visits

Let us know if you have any further questions.

Regards,

Jon
 
Mark2 responded:  2015-02-25 12:16
Thanks Jon

That works for me.