Questions about the study module

LabKey Support Forum
Questions about the study module eva pujadas  2020-09-25 09:06
Status: Active
 

Dear LabKey supporters,

We are using LabKey Server 19.3.7.

  1. Is it possible to have the PrticipantId filed to be of type integer? By default it is text, and it does not sort properly when the IDs are numbers. See attached screenshot "participant_id_sorting.png").

  2. When inserting a new record from the Participant view of a particular participant ID (see screenshot "insert_demographic_record_1.png"), shouldn't the form field for the participant ID be already populated with the ID? (see screenshot "insert_demographic_record_2.png").
    It seems this to be expected behavior, also because the URL to the insert form contains the participant ID as parameter. E.g. : ....dataset-insert.view?datasetId=5019&quf_ParticipantId=455585

Thank you and regards,
Eva

 
 
chetc (LabKey Support) responded:  2020-10-12 14:37
Status: Closed

Hello Eva,

It's sorting properly given that it defaults to a type of text. As far as I know you can't change the field type of participantID, the field is locked both during creation and editing.

Thanks,
Chet