Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"moodhappinessBefore": "ChildInformationTab.moodhappinessBefore",
"bookingReference": "ChildInformationTab.bookingReference",
"consentForResearchEvaluation": "CaseInformationTab.consentForResearchEvaluation",
"dataProcessingAndStorage": "CaseInformationTab.dataProcessingAndStorage",
"ip": "CaseInformationTab.ip"
},
"survey":{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,25 @@
}
],
"isPII": false
},
{
"name": "dataProcessingAndStorage",
"label": "Consent for Data Storage and Processing",
"type": "select",
"options": [
{
"value": "",
"label": ""
},
{
"value": "Yes",
"label": "Yes"
},
{
"value": "No",
"label": "No"
}
],
"isPII": false
}
]
21 changes: 18 additions & 3 deletions webchat/configurations/ukmh-staging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,28 @@ const preEngagementConfig: PreEngagementFormDefinition = {
},
},
{
type: 'checkbox',
type: 'select',
name: 'dataProcessingAndStorage',
label:
'I consent to the processing of my personal data (including sensitive data relating to matters such as my mental health and wellbeing) by MHI (parent organisation of The Mix and Shout) for the purpose of providing me with the PeerChat Service.',
'I consent to the processing of my personal data (including any sensitive data I disclose) by MHI (parent organisation of The Mix) for the purposes of data analytics to improve the PeerChat Service. I can withdraw my consent at any time by emailing dataprotection@mhiuk.org.',
defaultValue: '',
options: [
{
value: "",
label: ""
},
{
value: 'Yes',
label: 'Yes',
},
{
value: 'No',
label: 'No',
},
],
required: {
value: true,
message: "Sorry, if you don't consent to have your data being processed and stored we can't provide counselling to you.",
message: "Sorry, you need to select one of the options",
},
},
{
Expand Down
Loading