Versions Compared

Key

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

...

Code Block
{
   "name" : "specimen.extensionDetail.attrsMap.ST2",
   "baseField" : "specimen.extensionDetail.attrsMap.ST2",
   "caption" : "Cell Line ID",
   "defaultValue" : "field: specimen.parent.extensionDetail.attrsMap.ST2",
   "width" : "80px",
   "optional" : false
},



Example 3: By usingĀ "defaultValue" : "field: specimen.parent.initialQty" code inĀ "derivedSpecimens" section, the initial quantity value from the parent specimen will be defaulted to its derived specimens.

Note
titleNote:
  1. To make this code work, you need to create parent specimens first.
  2. Once you create the parent specimen, you can add derivatives/aliquots.


Code Block
{
        "name" : "specimen.initialQty",
        "caption" : "Quantity",
        "type" : "specimen-quantity",
        "defaultValue" : "field: specimen.parent.initialQty",
        "optional" : true
      },

Image Added

Image Added