Specimens dataset customization

LabKey Support Forum
Specimens dataset customization Edward  2018-02-27 06:58
Status: Closed
 
Hi,

I have a specimen dataset with the following fields:

global_unique_specimen_id   
specimen_number   
draw_timestamp   
visit_value   
ptid   
Sample_Taken_Status   
Sample_Type   
Sample_Arrive_Date   
Sample_Freeze_Date   
Sample_Freeze_Time   
Location

If I use the default labkey specimen template then I labkey does not add the last 6 fields. Is there a way to define these as specimen columns and then whenever I upload specimen data, the data is mapped on to these columns??
 
 
Jon (LabKey DevOps) responded:  2018-03-02 17:31
Hi Edward,

It looks like you're using the standard specimen repository, which is not customizable. If you would like to have additional fields to be added, the repository would need to be switched to being an Advanced repository.

Once this is done, you can update the Specimen repository to hold additional fields, then switch back to a basic repository so your basic spreadsheet template will import.

Alternatively, if you don't want to mess around with that, you could use the Sample Sets option in LabKey as a Specimen Repository instead:

https://www.labkey.org/Documentation/wiki-page.view?name=studySamples

Regards,

Jon
 
Edward responded:  2018-03-05 02:02
Hi Jon,

Thank you for your kind reply.
I liked your suggestion of using Sample Sets instead of Specimen Repository. However, I could not find the option of choosing sample sets instead of specimen in my study folder settings. Can you guide me here in from where can I activate sample sets to be used in a study?

Thank you!
 
Jon (LabKey DevOps) responded:  2018-03-05 13:13
Hi Edward,

The Sample Sets is a webpart you can enable on any container.

Click on the Gear Icon > Page Admin Mode and you'll see the webpart dropdowns at the bottom of the page and then pick Sample Sets.

Sample Sets are independent of Studies, which is why that option isn't appearing in your Study Settings.

For more details and information on Sample Sets, please checkout our following docs:

https://www.labkey.org/Documentation/wiki-page.view?name=samplesets
https://www.labkey.org/Documentation/wiki-page.view?name=lkSampleSets

Regards,

Jon