/
Configure Consents in Participant overview page
Got feedback or spotted a mistake?

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

Configure Consents in Participant overview page

Using JSON, the consent fields can be displayed as read-only fields on the participant overview page. The code block should be added in the dictionary section of the JSON. There are 2 ways in which the consent data can be displayed on the UI:

Method 1 – Display consent as along with the other participant fields

Below-mentioned code block will display the consent statement and its response on the participant overview page as displayed in the screenshot

Consent
{
  "name": "consents.witness",
  "caption": "Witness", 
  "type": "user",
  "optional": true  
},
{
  "name": "consents.consentSignatureDate",
  "caption": "Consent Date",
  "type": "date",
  "optional": true
},                  
{ 
  "name": "consents.C1",          // C1 is consent statement code
  "caption": "Question 1",        // Customised consent statement for display on overview page
  "type": "text",
  "optional": true  
},                  
{ 
  "name": "consents.C2",          // C2 is consent statement code
  "caption": "Question 2",        // Customised consent statement for display on overview page
  "type": "text",
  "optional": true  
}

Method 2 – Display consent in a tabular format

Users can also display the consent statement and responses in a tabular format using the code block mentioned below as displayed in the screenshot

Consent in tabular format
{
  "name": "consents.responses",   // Collection of all consent responses
  "caption": "Consent Responses",
  "type": "collection",           // display in tabular format
  "fields": [                     // with following columns      
    {
      "name": "statement",        // statement as first column
      "caption": "Statement",                   
      "type": "text",
      "optional": true                  
    },                                  
    {
      "name": "response",         // response as second column
      "caption": "Response",                    
      "type": "text",
      "optional": true                  
    }                           
  ]
}

Related content

Moving Setup from Test to Prod
Moving Setup from Test to Prod
Read with this
Consents CSV
Consents CSV
More like this
Add consent type to consent tier statements
Add consent type to consent tier statements
Read with this
Consent Data Entry
Consent Data Entry
More like this
Coded Consents
Coded Consents
Read with this
How to add consent status mapping for HL7 message?
How to add consent status mapping for HL7 message?
More like this
Got feedback or spotted a mistake?

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