|
před 4 roky | |
---|---|---|
META-INF | před 5 roky | |
config | před 4 roky | |
img | před 4 roky | |
scripts | před 5 roky | |
setup | před 4 roky | |
views | před 4 roky | |
web | před 4 roky | |
README.md | před 4 roky |
CRFs are always part of a study. So, create study as you would normally do, keep subject identifier to ParticipantId, which is the default.
Once you do, you should enable CRF module. See LabKey documentation on how to enable a module.
In Study setup, select Edit additional properties. New fields should be:
The initial set of setup lists is part of the distribution. Copy archive locally and import list archive to Labkey in the study. You will get list of lists by clicking on setup wheel at the top of the screen and selecting Manage lists.
Create demographicData dataset. It can have no fields.
Add a tab (Wheel->Page Admin Mode, click on a + tab). Add CRF Portal web part. It should appear empty. This will show all forms that we will create.
Create a dataset as a list. Go to Wheel->Manage Lists and Create List. Setup fields as you would normally do. Three additional fields are required:
Here is an example. Open the inputLists list and add the name of the new list as a new entry. Open the Forms list. Add new entry. Some fields can only have the default value:
Form name can be any string, including spaces. Setup query is still to be created, but it should name in Setup to distinguish it from others, say demographicsSetup. The last field, master query is to be set to the created dataset list. Master queries must contain a participantCode field, and that is the field that will be used as the assignment field.
Finally, create the setup list. It should contain the fields in the image
An example is shown in the next figure
Set Query Name to the dataset list. Title can be any string. For a more complex layout, the dataset might have a flag which indicates a sub-list, say list of medications. The name of the flag, which is a variable in the dataset, must be given as showFlag, the value where list is to be filled is the showFlagValue, and showQuery is the sublist query which will be shown. In our case, this three fields are to be set to a NONE String, which indicates that no sublist is required.