Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

‘Specimen Type’ is an important dropdown. Each specimen type belongs to a 'Specimen class,' such as Fluid, Molecular, Tissue, Cell, and others. In the recent versions, OpenSpecimen has implemented customizations, like added the ability to create custom specimen classes and support for multiple specimen units per specimen type per Collection Protocol.

...

Expand
titleClick to view steps to add new specimen class
  • Go to 'Dropdown Manager'. Select

  • Click on the 'Specimen Type' value

  • 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 the new class is added, this can be used as a ‘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, then it needs to be specified under quantity_display_unit. E.g., μg/m3

By default, the units are set at class 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

 

...