Got feedback or spotted a mistake?

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

Enabling Site based Participant Access

If you have enabled the 'Site based Participant Access' setting at the system-level and there is a JSON workflow attached to your CP, you need to make sure and update MRN site value with the below-mentioned code. If it is not configured, the MRN site dropdown will display all sites across the system.

The below configuration needs to be included in the CP workflow within the 'dictionary' section.


{
  "name": "cpr.participant.pmis",
  "type": "collection",
  "fields": [
    {
      "name": "siteName",
      "caption": "Site",
      "type": "dropdown",
      "multiple": false,
      "optional": false,
      "listSource": {
        "apiUrl": "sites",
        "displayProp": "name",
        "selectProp": "name",
        "queryParams": {
          "dynamic": {
            "operation": "op"
          },
          "static": {
            "resource": "ParticipantPhi"
          },
		 "search": "name"
        }
      }
    },
	{
      "name": "mrn",
      "caption": "MRN",
      "type": "text",
      "optional": true
     }
  ]
}


Example JSON

Download

Got feedback or spotted a mistake?

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