Versions Compared

Key

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

In v6.0 and above, the default value for 'Increment parent's freeze-thaw?' is 'Yes'. The freeze-thaw values for the child specimens are populated as the freeze-thaw cycle of parent +1.

...

Expand
titleClick here to view CP/system level configuraiton

JSON code for a set default value for freeze-thaw and increment freeze-thaw:

Code Block
{
     "name": "common",
     "data": {
       "incrementFreezeThawCycles": false,
       ...
     }
   }

Before configuring the JSON, derivative and aliquot field "freeze-thaw cycles" is set as parent's freeze-thaw cycles+1:
Primary Specimen:

Image Modified

Derivative:

Image Modified

Aliquot of the derivative:

Image Modified


After configuring the JSON, on the primary collection, derivative and aliquot overview page we can set the default value for the field 'Freeze-thaw cycle'.

Image Modified


Image Modified

Image Modified


Expand
titleClick here to view derivative/aliquot page configuration

Add the below code block in the derivatives and aliquots section, refer to Configure derivative and aliquot page for more details

Code Block
languagexml
titleCode block
{
   "name" : "specimen.incrParentFreezeThaw",
   "caption" : "Increment Freeze thaw",
   "type" : "toggle-checkbox",
   "width" : "60px",
  "defaultValue" : true
}

Parent specimen page where the freeze thaw is not yet set.

Image Added

Once the JSON is configured, the create derivative will have a checkbox for 'Increment Freeze thaw'. If checked, the freeze thaw for the derivative and the parent will be updated to 1. The field can be set to checked/unchecked as default in the code using "defaultValue" : true/false

Image Added

After the derivative is created, the freeze thaw cycle for parent =1

Image Added

Derivative sample

Image Added

The aliquot creation page can also be configured to add the 'Increment Freeze thaw' field like below.

Image Added

After aliquot creation, the derivative freeze thaw cycle is updated to 2

Image Added

The aliquots freeze thaw cycle is also 2.

Image Added