Leave a comment at the end of this page or email contact@krishagni.com
Configure collection status for distributed specimens
When the collection protocol has configured the JSON workflow and distributes a specimen, you need to configure the collection status as 'distributed' to display on the specimen overview page.
Refer to https://openspecimen.atlassian.net/wiki/pages/createpage.action?spaceKey=CAT&title=Direct%20distribution%20of%20specimens%20from%20visits%20page&linkCreation=true&fromPageId=1181057029 wiki page for information on distributing specimens via visit overview page.
Add the below code in the dictionary of the JSON file.
{
"name": "calcSpecimen.status",
"caption": "Collection Status",
"type": "span",
"displayExpr": "fns.ifNotNull(specimen.distributionStatus, specimen.distributionStatus, specimen.status)"
}
Refer to a Customize Screens (JSON) | Collection Protocol Level Configuration wiki page for more details about importing JSON into the collection protocol.
Leave a comment at the end of this page or email contact@krishagni.com