Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Default OpenSpecimen field values or custom dropdown field values can be configured per CP. The fields can be dropdown, radio button, multi-select.

Use case: A study is dedicated for participants that cases of cancer relapse. The PI does not want users to add participant for any other clinical status and should only be allowed to select 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 in the dictionary.

clinical_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"
    ]
  }
}
  • No labels