Premium Feature — Available in the Enterprise Edition. Learn more or contact LabKey.

A metadata file written in JSON is used to configure the fields and categories for abstraction. The file configures the field categories and lists available, as well as what type of values are permitted for each field.

Example

Download this sample file for a simple example:

Here, a Pathology category is defined, with table and field level groupings, and two tables with simple fields, "ClassifiedDiseaseGroup" and "Field1", a boolean.

{
"pathology": {
"groupings": [
{
"level": "table",
"order": "alpha",
"orientation": "horizontal"
},
{
"level": "field",
"order": "alpha",
"orientation": "horizontal"
}
],
"tables":[
{"table":"EngineReportInfo",
"fields":[
{"field":"ClassifiedDiseaseGroup",
"datatype":"string",
"closedClass":"False",
"diseaseProperties":
[
{"diseaseGroup":["*"],
"values":["disease1","disease2","disease3"]
}
]
}
]
},
{"table":"Table1",
"fields":[
{"field":"Field1",
"datatype":"string",
"closedClass":"True",
"diseaseProperties":
[
{"diseaseGroup":["*"],
"values":["Yes","No"]
}
]
}
]
}
]
}
}

Enable Multiple Values per Field

To allow an abstractor to multiselect values from a pulldown menu, which will be shown in the field value separated by || (double pipes), include the following in the field definition:

“multiValue” : “True”

Discussion

Was this content helpful?

Log in or register an account to provide feedback


previousnext
 
expand all collapse all