Leave a comment at the end of this page or email contact@krishagni.com
Skip Specimen Collection Page
When collecting planned or unplanned samples, you are taken to the below default specimen collection page. It is now possible to skip the step and navigate to a configurable data entry step directly.
The fields on this page are limited and not configurable. If you don't need all fields on the default collection page, this page can be hidden and directly taken to the configurable data entry page (nth step). This gives you more flexibility to add the fields that are required and remove unwanted fields.
Example: Below JSON code allows you to hide the default specimen collection page and add required fields in the nth step like the anatomic site, frozen event etc.
To add the JSON using the 'REST API Invoker Plugin' from OpenSpecimen, refer to https://openspecimen.atlassian.net/wiki/x/G4DgB.
URL | http://<host>:<port>/ openspecimen/rest/ng/collection-protocols/{id}/workflows |
Method | PUT |
Request | application/json |
- Along with the below code block, having a dictionary section is mandatory, including definitions for all the fields used in this section.
- Add the below-mentioned code block in the JSON workflow in the "specimenCollection" section.