Table of Contents
Using custom configuration, users can set the default value for the child based on the value of the parent/primary specimen.
Note |
---|
Add the code in the dictionary after the "fields" section. This code is only works on the Add Specimen page where you are creating the child specimen and on nth step |
Example 1: Set default value for custom field 'Biobank Technician' at child specimens level based on selection of value at primary specimens level
Expand | ||
---|---|---|
Screenshot when the user selects the 'Biobank Technician' at Parent/Primary specimen level: Screenshot when Biobank Technician automatically copied from primary/parent specimen level to aliquot level: |
Example 2: Blank out related fields when updating the value for another field
Expand | ||
---|---|---|
Added the value for TubeType= 'Serum Separator Vacutainer' and assigned the values below two fields. 1. "Cardiac Troponin I (ng/L)" = 'Test Data To Be Blanked' 2. "Cardiac Troponin T (ng/L)"= 'Test Data To Be Blanked' Now I have to edit the specimen and change the 'TubeType' to ='EDTA Vacutainer', the values added for the above two fields get blanked using the below code.
|
...