How to set the Default value for the custom field at the individual SR level?
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

How to set the Default value for the custom field at the individual SR level?

In studies, for planned specimens, users want to default the value for certain specimen custom fields, for example, Additive = EDTA for Whole Blood.

These impacts data entry in 2 ways:

  1. Forcing users to create custom workflows/ configure the Nth step

  2. Create multiple custom workflows/ add complex logic for defaulting values in individual steps

Defaulting values in Specimen Requirements (SRs) automatically update these values without showing fields during data entry in System Workflows. These values are shown as default values in custom workflow steps. This feature helps end users with easier maintenance, a less complex workflow setup.

  • Navigate to Collection Protocol → Events → Specimen Requirement → Edit the SR-> Add the JSON code in the 'Custom Field Default Values' field.

image-20250605-040302.png

Syntax to be used:

{ “Form_field_variable_name1”: “Value to be defaulted”, “Form_field_Variable_name2”: “Value to be defaulted” }

Example Code

{ "another_additive": "Glycerol", "collection_approved": "Yes", "req_reference_id": "GAS28712", "analysis_type": "Genomics", "tube_type": "Matrix 0.5ml tube with screw caps", "additional_comments": "Confirmed Cancer samples by lab", "media_volume": "1", "processing_type": [ "Plasma Extraction" ], "equipment_used": [ "Janus G3 Expanded" ], "cold_ischemia_by": "current_user", "cold_ischemia_start_time": "current_date", "cold_ischemia_at": "Saurav_Biobank" }

Note: The default values won’t be visible in the system workflows while doing data entry. However, it will be visible for custom workflows

 

Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com