For Enterprise Edition Only - This feature is available only in the Enterprise Edition

Introduction

Using this plugin, super admins can update any dropdown list values in the application. To access, go to Home → Extras → Dropdown Manager.

Features include:

  1. Add a new dropdown

  2. Add new value

  3. Edit or delete existing values

  4. Import/Export values

  5. Set properties like units for specimen types, abbreviations, etc.

Add a new dropdown

You can add new dropdowns in the dropdown manager.

Users can add a new dropdown altogether. Follow the below steps:

  1. Go to: Home → Extras → Dropdown Manager.

  2. Click on the '+Add' button.

  3. Enter the value of the 3 mandatory fields present on the screen
    Unique ID: The unique attribute name of the dropdown. This is how the dropdown name will be saved in the database.
    This appears in brackets once you click on an existing dropdown

    Name: Name of the dropdown
    Definition: Information regarding the dropdown
    The name and definition appear on the dropdown list page as follows

  4. Fill in all the three values and click on Add.

Add values

After creating the dropdown you can add values to them.

  1. Go to: Home → Extras → Dropdown Manager.

  2. Look for the field of interest.  E.g., 'Collection Container'.

  3. Click on the '+Add' to add new values.

Fields

Description

Parent Dropdown

Used only in the case of 'Specimen Type' fields. This is to configure the parent-child relationship between dropdown values. 

Dropdown value

The value of the field.

Concept code

If you want to assign a code to the value. E.g. SNOMED code, ICD code, or your own code (like 1 for Male, 2 for Female). If the concept code is set, it is displayed in the dropdown for that value. E.g.

This is useful especially in dropdowns like clinical diagnosis which has 1) a lot of values 2) standard vocabulary like SNOMED or ICD etc. During data entry, you can search by concept code rather than free text to avoid errors (since often you get SNOMED codes from the labs rather than text).

In the future, this will be available in the query interface to include the codes in the query results.

Properties

Some fields could have extra properties, like specimen type abbreviations, units, etc. Read the Properties section below.

Add properties to the values

You can add different properties to the values in the dropdown like quantity units, concentration units, abbreviations etc.

  1. Go to: Home → Extras → Dropdown Manager.

  2. Look for the field of interest.  E.g., 'Specimen Type'.

  3. Click on the '+Add' to add new values.

Below are the specimen-type properties

Attribute

Property Name

Property Value

Description

Specimen Type

abbreviation

Abbreviation for the specific specimen type

Used for replacing the value of %SP_TYPE% token for specimen label auto-generation.

Specimen Type

quantity_unit

Quantity units for the specific specimen type

Used to display the units on the specimen pages. Value can only be plain text. If special characters like symbols need to be used, it needs to be specified under quantity_display_unit. For e.g., μg/m3

By default, the units are set at classes level which will apply to all types under it:

  • Tissue: gm

  • Fluid: ml

  • Molecular: µg

  • Cell: count

Specimen Type

quantity_display_unit

Quantity display unit for the specific specimen type

Used to display the units on the specimen pages. For example - µg. If both quantity_unit and quantity_display_unit are specified, quantity_display_unit is used to display unit in all pages.

Specimen Type

concentration_unit

Concentration unit for the specific specimen type

For example - microgram/ml

Specimen Type

concentration_display_unit

Concentration display unit for the specific specimen type

For example - µg/ml.

Similar to quantity unit, concentration_display_unit is only used when special symbols or characters need to be displayed. If its only plain text, then specifying concentration_unit is sufficient.

Edit values

It is also possible to edit and update any of the value in the dropdowns.

Since v6.2, editing of dropdown values is supported via Dropdown manager - even if it is already used. All the records are automatically updated if the value is already used.

To edit, go to the overview page of the dropdown value and click 'Edit'. 

Delete values

You can delete values which you do not want the users to add data for.

Deleting of values is supported only if the value is not used. A value cannot be deleted if it is used in previous records.

To delete, go to the overview page of the dropdown value and click 'Delete'. 

To delete all the values in a dropdown, go to the required dropdown → click on 'Delete All'.

Archive values

The values that are used for data entry cannot be deleted, hence you can archive such value so that they are not visible for future data entry and existing records retain them

From v6.2, it is possible to archive the drop-down values which are no longer in use. To archive, a value, go to the overview page of the value and click 'Archive'. When a parent PV is archived, all its descendants are archived too.

Re-activate the archived values

It is possible to reactivate the archived values and they will be available for the data entry

The archived values can be searched by selecting the activity status as 'Archived' in the search filter. 

To reactivate the archived value search the archived value and click 'Reactivate'.  

Import CSV

To add multiple values, OpenSpecimen supports the upload of these values.

To add multiple values follow steps mentioned below

  1. Click on 'Extras' → 'Dropdown Manager'.

  2. Click Import → Dropdown values.

  3. Download the template CSV file.

  4. Enter the details as mentioned in the below table. 

  5. Upload the file and click ' Validate and import'. 

Example CSV

Fields description

Column name

Description

Attribute

Attribute the name for which the value is to be added

Value

Value to be added

Parent Value

In the case of specimen type, mention the class (parent)

Property#1#Name

Property#1#Value

Activity Status

Should be 'Active' while adding a value 

To delete: set to 'Disabled'.

To archive: set to 'Closed'

Properties - For some fields, there are extra properties that can be set. Please refer to the 'Add properties to the values' section

Export CSV (New in v6.1)

You can download all the values from the application to a CSV file

This is useful to move the dropdown values from test to production servers or use for reference during bulk imports. 

To export values for one or more fields, select the fields from the list and click on the 'Export' option:

Update Dropdown Values

You can update the dropdown values based on the identifier and even the properties based on the value

Update Concept Code (CSV)

To bulk update the concept code of existing PVs:

  1. Navigate to Extras → Dropdown. Export the PVs of one or more selected attributes.

  2. In the downloaded CSV file, change the values for the concept code.

  3. Click on Import → Dropdown Value → Upload the file as an update option.

Update Properties (CSV)

To bulk update the properties of existing PVs:

  1. Export the PVs of one or more selected attributes.

  2. In the downloaded CSV file, change the values or properties of PVs.

  3. Upload the file as PV update option.

Example file: Update_DropDown.CSV

Do not delete any columns from the exported file when importing for the update operation.

Bulk Delete

If you want to delete values in bulk, you can use a file import to disable them.

To bulk delete the value on the basis of identifier set activity status as 'Disabled' in the exported file.

  1. Navigate to Extras → Dropdown. Export the dropdown whose values need to be deleted.

  2. In the downloaded CSV file, change the Activity Status to disabled → Import using Update Option.

Example file: Delete_Dropdown_Values.CSV

Changing Specimen Type's Units

  • Go to 'Dropdown Manager'. Select 'Specimen Type'

  • Search for the type 'Fixed Tissue Slide'

  • Click on it and 'Edit'

  • Add a new property for 'quantity_unit' and set it to 'microns' like below:

  • Once you update the type, refresh the data entry page once if you don't see the new values.

Adding new Specimen Classes (v10.3)

Before v10.3, only 4 specimen class (Fluid, Molecular, Tissue and Cell) were supported. From v10.3 onwards you can different specimen class like plants, microbes etc depending on your requirement.

You can now add new specimen classes from v10.3 onwards

  • Go to 'Dropdown Manager'. Select 'Specimen Type'

  • Click on 'Add'

  • Enter the Class name in ‘Dropdown value', leaving 'Parent Dropdown’ blank.

  • Add the mandatory properties: ‘quantity_unit', ‘concentration_unit’, and ’container_color_coding’:

    Once new class is added, this can be used as ‘Parent Dropdown' for new specimen types.

Below are the specimen-type properties

Attribute

Property Name

Property Value

Description

Specimen Type

quantity_unit

Quantity units for the specific specimen type

Used to display the units on the specimen pages. Value can only be plain text. If special characters like symbols need to be used, it needs to be specified under quantity_display_unit. For e.g., μg/m3

By default, the units are set at classes level which will apply to all types under it:

  • Tissue: gm

  • Fluid: ml

  • Molecular: µg

  • Cell: count

Specimen Type

concentration_unit

Concentration unit for the specific specimen type

For example - microgram/ml

Specimen Type

container_color_coding

The color representing the specimen class in the container location view

For example - background=red,opacity=0.5

Default values

To download a list of default values for different dropdowns like anatomic site, clinical diagnosis, see below

Below are the default values during installation. 

Name

Coding

Permissible Values

Anatomic Site

ICD-O-3

Permissible values for anatomic site

Specimen Type

Permissible values for specimen class-type

Clinical Diagnosis

ICD-10

Permissible Values File - SNOMED (before v2.2)

Permissible Values File - ICD 10 (since v2.2)

Frozen Event Methods

Permissible values


Vital Status Properties(v10.0)

In the previous version, OpenSpecimen allowed entering the Death Date only when the 'Vital Status = Dead'. From version v10.0, any PV can be used to indicate the dead patients - Dead, Deceased, Expired, Gone, No More etc as long as the PV prop 'dead' is set to true.

Follow steps mentioned below to set vital status of a dead property

  1. Navigate to the Extras → Dropdown → Vital Status

  2. Add the property dead=true

Now, when a user selects the Deceased value while registering the participant, OpenSpecimen will allow entering the Death Date value.