Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can configure the derivative/aliquot page based on the different criteria. This helps you eliminate the unwanted fields that are not needed on derivative/aliquot pages.

...

Code Block
{
    ...
    "aliquotsCollection": [
      ...
      {
        "title": ...,
        ...,
        "hideCopyFirstToAll": true
        ...
      },
      ...
    ],

   "derivedSpecimens": [
      ...
      {
        "title": ...,
        ...,
        "hideCopyFirstToAll": true
        ...
      },
      ...
    ],
    ...
  }

Before configuring the JSON, the "Copy first to all" button is present on Create derivative page:

After configuring the JSON, "Copy first to all" button is hidden on Create derivative page:

Image Modified

After configuring the JSON, "Copy first to all" button is hidden on Create aliquot page:

Image Modified

Add ability to create aliquots from the 'Create Derivatives' page

...

To configure the'Create Aliquot' page with the Barcode field, use the below code in the aliquotsCollection under the common section.  

...

Example Barcode field in aliquots page.json

This Difference between the specimen. barcode field in dictionary and specimen.barcodes in common section:

  • The ‘specimen.barcodes’ field in the aliquot section is a textarea field similar to the labels field for aliquots, where

...

  • you can scan the comma/newline/tab-delimited barcodes

...

  • . Each barcode corresponds to one aliquot. This field will basically create the aliquots.

  • The ‘specimen.barcode’ field in the dictionary section is the text field which will specify only one barcode corresponding to one specimen. Thus, the barcode entered on the create aliquot page will be stored and displayed on the overview page.