Hide Derivatives in Visit and Specimen pages
Got feedback or spotted a mistake?

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

Hide Derivatives in Visit and Specimen pages

Hiding derivatives on visit and specimen pages is no longer supported in version 11.x, but it is supported from v12 onwards.

Derivatives can be hidden on the visit and specimen pages if it is not relevant to the end users.

{ "name": "specimenTree", "data": { "fields": ..., "hideDerivatives": true } }

ExampleThe code has to be configured in workflow JSON in the new section "specimenTree".

{ "name" : "specimenTree", "view" : null, "ctrl" : null, "data" : { "hideDerivatives" : true, "fields" : [ { "name" : "specimen", "caption" : "Description", "type" : "specimen-description", "width" : "40%" }, { "name" : "specimen.pathology", "baseField" : "specimen.pathology" }, { "name" : "specimen.initialQty", "baseField" : "specimen.initialQty" }, { "name" : "specimen.availableQty", "baseField" : "specimen.availableQty" }, { "name" : "specimen.storageLocation", "baseField" : "specimen.storageLocation" } ] } }

Before configuring the JSON, the derivatives are visible in the specimen tree:

image-20250724-034941.png

After configuring the JSON, the derivatives are hidden in the specimen tree, and aliquots are shown as immediate children:

image-20250724-034851.png

Example JSON

Download

Got feedback or spotted a mistake?

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