Scripts and configuration files that allow Neurobagel communities to define custom standardized vocabularies used among their studies or sites and make them available for use within the Neurobagel tool ecosystem.
Note
Imaging modality terms are handled separately from community configs:
The imaging_modalities.json file is used by all communities,
and so we store it only in the Neurobagel community configuration.
Do not copy this file into a community as it will be ignored.
Neurobagel expects each community-curated vocabulary to be maintained in a single Google Sheets table.
-
Use this template Google Sheet for creating a Neurobagel community vocabulary curation table. Make a copy of the template (File > Make a copy) and give it a descriptive name, e.g., "<community NAME> Assessment Vocabulary".
-
Open the Share settings and set the access permissions for your Google Sheet to Anyone with the link can view. We strongly recommend restricting editor permissions by explicitly adding email addresses of community members.
-
Populate the sheet with information about your community's assessment terms. Guidelines for each column can be found in the spreadsheet comments or in the vocabulary curation table reference below.
-
Once the terms have been finalized by your community, share the ID of your Google Sheet with the Neurobagel team. You can find it in the spreadsheet's URL, after the
/d/part. e.g.,1aBcD2EfGh1234567890is the spreadsheet ID for https://docs.google.com/spreadsheets/d/1aBcD2EfGh1234567890/edit#gid=0.
| id | name | abbreviation | description |
|---|---|---|---|
| trm_001 | Beck's Depression Inventory | BDI | 21-item self-report questionnaire for depressive symptoms |
| trm_002 | Hamilton Rating Scale for Depression | HRDS | Clinician-administered scale for depressive symptom severity |
| ... | ... | ... | ... |
For more information on each column, see the vocabulary curation table reference.
Each row in the table describes a unique assessment used by studies or sites in your community.
Columns supported by Neurobagel are listed below. Required/optional refers to a whether a value must be provided for each row. Column names are case-insensitive.
id(required)- A unique identifier for the assessment term, containing only alphanumeric characters (A–Z, a–z, 0–9), underscores (_), and hyphens (-). This acts as a stable tag for the assessment that is used internally by Neurobagel, allowing the concept to be referenced consistently even if its name or other details are updated.
- We recommend using an abstract identifier (e.g.,
trm_followed by a numeric ID) rather than the term name or abbreviation, to ensure identifier uniqueness within your vocabulary.
name(required)- The full name of the assessment, as it should appear to users in the annotation tool.
abbreviation(optional)- The short abbreviation or acronym for the assessment, if one is used. If provided, the abbreviation will be included in the user-facing label in the annotation tool and allow the assessment to be found by abbreviation.
description(optional)- A brief description of the assessment.
invalid_reason(optional):- Reason or community-defined code indicating why a term must be excluded (e.g.,
duplicate,deprecated). Any row with a non-empty value in this column will be automatically excluded from the final vocabulary.
- Reason or community-defined code indicating why a term must be excluded (e.g.,
Warning
Once your community vocabulary has been integrated into Neurobagel, do not modify IDs of existing assessment terms.
Changing a term's ID can create duplicates or conflicts with existing data dictionaries, potentially causing them to stop working correctly.
To deprecate a term, use the invalid_reason column instead.
Important
Your spreadsheet must include at least the columns id, name, abbreviation, and description.
We recommend filling out all four of these columns whenever possible for optimal clarity and documentation.
You may also add more columns to your curation table beyond those listed above for community-specific use.
Additional columns will be safely ignored by Neurobagel.