Leave a comment at the end of this page or email contact@krishagni.com
Derivative Page Configuration
Introduction
To establish the derivative page, users must incorporate the "derivedSpecimens" section within the "data" block as outlined in the JSON provided below.
Screenshot: Create Derived specimens page/workflow after JSON configured columns.
Additional Feature
1. Add the create aliquots checkbox in the 'Create Derivatives' page
The user can add the create aliquot checkbox in the derivative page to allow the user to decide whether they want to create aliquots or not.
Code:
{
"name": "specimen.createAliquots",
"caption": "Create Aliquots?",
"icon": "fa fa-share-alt",
"type": "toggle-checkbox",
"width": "30px"
}
2. Copy the parent value and show the readOnly field in the derived page.
In the below example, the field is defaulted to its parent value and hidden from the data entry screen.
From version 11, the hideColumn feature no longer hides fields but displays them in read-only mode. This ensures users cannot update the fields, fulfilling the feature's purpose.
Example JSON
{
"name" : "specimen.extensionDetail.attrsMap.ST4",
"baseField" : "specimen.extensionDetail.attrsMap.ST4",
"defaultValue" : "field: specimen.parent.extensionDetail.attrsMap.ST4",
"hideColumn" : true
}, Leave a comment at the end of this page or email contact@krishagni.com