Hide/Unhide ‘Aliquot Details' and 'Multiple Specimens’

If you do not create aliquots while creating the primary specimens from the unplanned specimen page, or if you only create one primary sample at a time, then you can hide/unhide the 'Aliquot Details' and 'Multiple Specimens' options from the collection page.

The “allowMultipleSpecimens“ and “showCreateAliquots” needs to be defined in the ”Common” section.

1 2 3 4 5 6 7 8 9 { "name": "common", "data": { "addSpecimen": { "allowMultipleSpecimens": false, "showCreateAliquots": false } } }

Screenshot before configuration

Screenshot after configuration

Example JSON