OpenSpecimen allows specimens to be collected as per a specific event calendar for clinical trial based protocols. This allows you to pre-define specimens in CP and collect planned specimens as shown below:
However, this page does not have all fields that might be required for a specific protocol. Using CP workflows configuration, you can configure additional fields to be captured after this step.
Example JSON to configure the setup that is shown in the screenshot below:
The subform field is not supported in the nth step. This is because the sub-form is a 1:many relation with the main form, and it is not possible to display the 1:many field in the nth step.
A radio button is not supported on the nth step.
Once the workflow is uploaded, refresh your browser page once and then collect samples.
The nth step page will appear after the default specimen collection page.
Example: Show ‘Processed By' and ‘Processed Time’ fields only for 'PBMC’ and 'Plasma' samples.
Configure Visit Fields on nth Step
The visit fields - 'Clinical Diagnoses', 'Clinical Status', 'Surgical Pathology Number' etc. are not displayed on the specimen collection page when collecting planned samples. The specimen collection page is currently not configurable to add visit level fields. These fields can be configured on the nth step (page after specimen collection).
'visitFields' section is used to add visit fields on the specimen collection page.
Example: The processing event information for child specimens needs to be derived from its parent specimen automatically. Previously, to achieve that, you would have to show that fields/table in the step. As a resolution, now you will be able to hide the fields and tables on the step.
See the below example screenshot:
Before hiding the 'Aliquot: Processing Details' section in the speciemenCollection page.