...
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 |
---|
|
- To make this code work, you need to create parent specimens first.
- 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