Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

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

...

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 below table:

Attribute

Description

container_color_code

Property used to set container map view color coding.

background

Value used to set the background color.

color

Value used to set the font color.

opacity

Value used to set the opacity of background color.

Set Color at Specimen Class 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).

  • Click on 'Edit'.

  • Under ‘Properties', add ‘containercontainer_color_code’ codeunder ‘Name’ and ‘background=deeppinkbackground= yellow, color= red, opacity= 0.6’ 8under 'Value’.

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’ color with an opacity of 60%.

Image RemovedImage AddedImage Added

Set Color at Specimen Type Level

...

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).

  • Click on 'Edit'

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

Image RemovedImage AddedImage 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.

...