...
The following variable may need to be updated based on specific study design naming conventions -
SampleWeight
🔸Reagent Multiplier🔸
🔸Additive Amount🔸
should be updated to the desired amount to be calculated based on volume/weight (eg. 0.02)
Code Block | ||
---|---|---|
| ||
var repeatKey = itemJson.item.itemGroupRepeatKey; var SampleWeight = findFirstItemByName(formJson, 'Sample Volume', null, repeatKey); var SampleWeightValue = SampleWeight.value; var Additive = SampleWeightValue * 🔸Reagent🔸Additive Multiplier🔸Amount🔸; return Additive.toFixed(4); |
...