Got feedback or spotted a mistake?
Leave a comment at the end of this page or email contact@krishagni.com
Calculated Fields on Overview Page
- 1 Example 1: Display participant concatenated first name and last name
- 2 Example 2: Display Visit Clinical Diagnosis Values concatenated with their Concept code
- 3 Example 3: Display age as of today
- 4 Example 4: Display age at the time of visit
- 5 Example 5: Display age at the time of specimen creation
- 6 Example 6: Display the multiplication of 2 Custom fields
- 7 Example 7: Adding 2 Number fields
- 8 Example 8: Average of 2 Number fields
- 9 Example 9: Return the array of substring and display it on child specimen overview page
- 10 Example 10: Display quantity (ug) field on the specimen overview page
- 11 Example 11: Display if the patient consented or not based on consent responses
- 12 Example 12: Display BMI of participant
- 13 Example 13: Display Participant custom field on Visit/Specimen Overview Page as Read-Only
- 14 Example 14: Display Participant Yes/No and Date custom field on Specimen Overview Page as Read-Only
- 15 Example 15: Display Visit default field on Specimen Overview Page as Read-Only
- 16 Example 16: Display Visit custom field on Specimen Overview Page as Read-Only
- 17 Example 17: Display age as of today in Months
- 18 Example 18: Calculating the months remaining after counting the completed years
- 19 Example 19: Calculating the Cohort field based on the consent signature date.
- 20 Example 20: Calculating the Field based on Custom Number field divided by user input value.
- 21 Example 21: Calculating Age of Dead participants and alive participants.
- 22 Inbuilt Functions
OpenSpecimen allows configuring calculated fields to be displayed on overview pages.
Note
We do not recommend storing any calculated field values since it is duplicate information.
You can configure the code in JSON workflow within the 'Dictionary' section.
Example 1: Display participant concatenated first name and last name
Example 2: Display Visit Clinical Diagnosis Values concatenated with their Concept code
Example 3: Display age as of today
Example 4: Display age at the time of visit
Example 5: Display age at the time of specimen creation
Example 6: Display the multiplication of 2 Custom fields
Example 7: Adding 2 Number fields
Example 8: Average of 2 Number fields
Example 9: Return the array of substring and display it on child specimen overview page
Example 10: Display quantity (ug) field on the specimen overview page
Example 11: Display if the patient consented or not based on consent responses
Example 12: Display BMI of participant
Example 13: Display Participant custom field on Visit/Specimen Overview Page as Read-Only
Example 14: Display Participant Yes/No and Date custom field on Specimen Overview Page as Read-Only
Example 15: Display Visit default field on Specimen Overview Page as Read-Only
Example 16: Display Visit custom field on Specimen Overview Page as Read-Only
Example 17: Display age as of today in Months
Example 18: Calculating the months remaining after counting the completed years
Example 19: Calculating the Cohort field based on the consent signature date.
Example 20: Calculating the Field based on Custom Number field divided by user input value.
Example 21: Calculating Age of Dead participants and alive participants.
Inbuilt Functions
Example JSON Download
Got feedback or spotted a mistake?
Leave a comment at the end of this page or email contact@krishagni.com