Versions Compared

Key

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

...

Use case: A study is dedicated for to the participants that cases of cancer relapse. The PI does not want Principal Investigator (PI) wants users to add participant for any other clinical status and should only be allowed to select participants for only clinical status values - "Relapse, Distant Site", "Relapse, Not Specified" and "Relapse, Primary Site". These values will be configured in the CP specific JSON like below  

Info

Add the below code in the dictionary section of the JSON workflow.


Code Block
titleclinical_status
{
  "name": "visit.clinicalStatus",
  "caption": "Clinical Status",
  "type": "dropdown",
  "optional": false,
  "defaultValue": "Not Specified",
  "showIf": {
    "op": "AND",
    "rules": [
      {
        "field": "visit.status",
        "op": "!=",
        "value": "'Missed Collection'"
      }
    ]
  },
  "listSource": {
    "options": [
    "Relapse, Distant Site",
    "Relapse, Primary Site",
    "Relapse, Not Specified"
    ]
  }
}

Image Added

Example JSON

Download