Versions Compared

Key

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

The specimens are grouped into one section on the nth step and only one row is displayed. When user enters you enter the value for the first one, the same value is copied over to all the specimens in the group.

By default, the sections are displayed in collapsed mode. When in collapsed mode user You will see an option to view all specimens ‘+Show all’.

...

When user clicks you click on show all, then the ‘Copy First to All’ button appears in order to copy values from the first row to all if needed.

...

When the user wishes you wish to enter different values for all the specimens in the section, then one you can show the items of the section in expanded mode.

For this

...

set ‘enableCofrc'

...

to false in the 'specimenCollection’ section of the JSON workflow.

...

Use of enableCofrc : 

Code Blockcode
languagejson
{
      "name": "specimenCollection",
      "data": {
        "fieldGroups": [
          {
            "title": "Anatomic Site",
            "enableCofrc" : false,
            "criteria": {
      "enableCofrc" : true,

"fields" : [

... 

]

}        "rules": [
                {
                  "field": "specimen.lineage",
                  "op": "==",
                  "value": "'New'"
                }
              ]
            },
            "fields": [
              .
              .
              .
            ]}

...

Example JSON

Download