Versions Compared

Key

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

On enabling If you have enabled the 'Site based Participant Access' setting at the system-level setting to restrict access to participants based on the user's sites, the 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.

Info

The below configuration needs to be included in the

...

CP workflow within the '

...

dictionary' section.


Code Block
{
  "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
     }
  ]
}

...