Versions Compared

Key

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

...

You can configure background and font colors per specimen type or class in the container map view. This is aimed at making it easy to understand the type types of specimens in the box quickly.

...

List of Colors

You can refer to the supported list of colors here.

Details of each attribute to set color coding for containers in OpenSpecimen are explained in the below table:

Attribute

Description

container_color_code

Property used to set container map view color coding.

backgroundBackground

Value used to set the background color.color

Color

Value used to set the font color.

opacityOpacity

Value used to set the opacity of background color.

Set Color at Specimen Class Level

You can set the color-coding at the specimen class level (I.e., Molecular, Fluid, Cell, and Tissue). All the types under that class will inherit this. This can be overridden at the individual type level.

Expand
  • Log in as a Super Admin.

  • Navigate to Extras → Dropdown Manager.

  • Go to 'Specimen Type' and select any class (molecular, fluid, cell, or tissue).

Image Removed
  • Click on 'Edit'.

Image RemovedImage Added
  • Under ‘Properties', add ‘container_color_code’ under ‘Name’ and ‘background= yellow, color= red, opacity= 0.86’ under 'Value’.

Image Added
Info
  • You can add any color for the background and font in this format.

  • If you set the color at specimen class level, all specimen types under the ‘Cell' class will be displayed in 'Deep Pink’ Yellow’ color with an opacity of 60%.

Image RemovedImage Removed
Image Added
  • Similarly, another example to have the inner test tube image colored is to add under ‘Properties', add ‘container_color_code’ under ‘Name’ and ‘background=crimson, color=black, opacity=0.6 'Value’.

  • All the fluid samples will now have the inner test tube in black color.

Image Added

Set Color at Specimen Type Level

You can set a color code for a specimen type level. E.g., whole blood, urine, saliva, etc. This will override any specimen class level setting.

Expand
  • Log in as a Super Admin.

  • Navigate to Extras → Dropdown Manager.

  • Go to 'Specimen Type' and select any specimen type (whole blood, urine, saliva, and so on).

Image Removed
  • Click on 'Edit'

Image RemovedImage Added

  • Under ‘Properties', add ‘container_color_code’ under ‘Name’ and ‘background=blackred, opacity=0.8’ under 'Value’.

Image RemovedImage Removed
Image Added
  • Whole Blood specimens will be seen in red color.

Image Added

View Color Coding Legend

  • Go to the map view of the container where the specimens are stored and click on the 'View Color Coding' link

...

  • .

...

  • A pop-up window will be displayed with the details of the color set for different specimen types stored in the particular box.

...