Versions Compared

Key

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

...

Use case: When you collect the 'PMCT' visit the 'Art der Untersuchung' value should display default as 'PMCT'.

Expand

Add below code in JSON dictionary

Code Block
  {
      "name" : "visit.extensionDetail.attrsMap.art_der_untersuchung",
      "caption" : "Art der Untersuchung",
      "type" : "radio",
      "optional" : true,
      "options" : [ "Klinische Angaben", "Sektion", "PMCT", "PM Ultraschall" ],
      "defaultValue": "field: visit.eventLabel"
    }

Using the above code when you collect the visit the default value will be set.

...