Skip to content

Commit

Permalink
consent and exit survey options for Northwestern IRB: summary_stateme…
Browse files Browse the repository at this point in the history
…nt optional field in consent templates 5+, showDatabraryOptions field in exp-lookit-exit-survey
  • Loading branch information
Kim Scott committed Jan 13, 2021
1 parent f82ef3c commit 19b9165
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 29 deletions.
2 changes: 1 addition & 1 deletion app/components/consent-template005/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<br>
<div class="video-consent-body">

<p> {{t "consent-template-5.intro-sentence" name=PIName institution=institution experiment=experiment.name }}</p>
<p> {{t "consent-template-5.intro-sentence" name=PIName institution=institution experiment=experiment.name }} {{ exp-format summary_statement }} </p>

<h2> {{t "consent-template-5.purpose-header" }}</h2>
<p> {{ exp-format purpose }} </p>
Expand Down
8 changes: 8 additions & 0 deletions app/components/exp-lookit-exit-survey/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ export default ExpFrameBaseComponent.extend(Validations, {
type: 'string',
default: '',
description: 'Additional text to display under "Use of video clips and images:", before listing options'
},
showDatabraryOptions: {
type: 'boolean',
default: true,
description: 'Whether to show the Databrary sharing option question - please only disable if required by IRB'
}
},
frameSchemaRequired: ['debriefing'],
Expand Down Expand Up @@ -170,5 +175,8 @@ export default ExpFrameBaseComponent.extend(Validations, {
// Alternate study ID method
// let studyID = window.location.href.split('/').filter(piece => !!piece).slice(-2)[0];
this.set('sharelink', 'https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Flookit.mit.edu%2Fstudies%2F' + this.get('experiment').get('id') + '%2F');
if (!this.get('showDatabraryOptions')) {
this.set('databraryShare', 'NA');
}
}
});
7 changes: 4 additions & 3 deletions app/components/exp-lookit-exit-survey/doc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ debriefing [Object]
showShareButton [Boolean | ``true``]
Whether to show a 'share this study on Facebook' button

showDatabraryOptions [Boolean | ``true``]
Whether to show the question about Databrary sharing. Please do not change this unless your IRB requires it and you have checked with Lookit staff - in general all studies should ask for permission to share on Databrary, even if you do not have active plans to do so or even an account on Databrary.

additionalVideoPrivacyText [String]
Optional additional text to display under the header "Use of video clips and images", above the options. This may
be used, for example, if you have separately asked for permission to use the videos as stimuli for other parents and want
Expand All @@ -117,11 +120,9 @@ The fields added specifically for this frame type are:

birthDate [String]
Child's birthdate as entered into exit survey; timestamp string starting YYYY-mm-dd.
@attribute birthDate

databraryShare [String]
Whether data can be shared with Databrary: 'yes' or 'no'
@attribute databraryShare
Whether data can be shared with Databrary: 'yes' or 'no', or 'NA' if the question was not shown

useOfMedia [String]
Video privacy level: 'private', 'scientific', or 'public'
Expand Down
54 changes: 29 additions & 25 deletions app/components/exp-lookit-exit-survey/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -24,34 +24,38 @@
<hr>

<fieldset disabled={{withdrawal}} class={{if withdrawal "text-muted"}}>
<label>
<i class="fa fa-star"></i> {{ t "exp-lookit-exit-survey.q-databrary" }}
</label>
<div class="radio">
<label>
<span class="radio-holder">
{{radio-button value="no" checked=databraryShare name="databraryShare"}}
</span>
{{ t "No" }}
</label>
</div>
<div class="radio">

{{#if showDatabraryOptions}}
<label>
<span class="radio-holder">
{{radio-button value="yes" checked=databraryShare name="databraryShare"}}
</span>
{{ t "Yes" }}
<i class="fa fa-star"></i> {{ t "exp-lookit-exit-survey.q-databrary" }}
</label>
</div>
<div class="extra-info">
{{ t "exp-lookit-exit-survey.databrary-info" htmlSafe=true }}
</div>
{{#if showValidation}}
<p class="text text-danger">
{{validations.attrs.databraryShare.messages}}
</p>
<div class="radio">
<label>
<span class="radio-holder">
{{radio-button value="no" checked=databraryShare name="databraryShare"}}
</span>
{{ t "No" }}
</label>
</div>
<div class="radio">
<label>
<span class="radio-holder">
{{radio-button value="yes" checked=databraryShare name="databraryShare"}}
</span>
{{ t "Yes" }}
</label>
</div>
<div class="extra-info">
{{ t "exp-lookit-exit-survey.databrary-info" htmlSafe=true }}
</div>
{{#if showValidation}}
<p class="text text-danger">
{{validations.attrs.databraryShare.messages}}
</p>
{{/if}}
<hr>
{{/if}}
<hr>

<label><i class="fa fa-star"></i> {{ t "exp-lookit-exit-survey.acceptable-use-header" }}:</label>
{{#if additionalVideoPrivacyText}}
<p>
Expand Down
6 changes: 6 additions & 0 deletions app/components/exp-lookit-video-consent/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,12 @@ export default ExpFrameBaseComponent.extend(VideoRecord, {
default: 'What are the risks?'
},

summary_statement: {
type: 'string',
description: 'Summary of consent form if required by IRB',
default: ''
},

template: {
type: 'string',
enum: ['consent_001', 'consent_002', 'consent_003', 'consent_004', 'consent_005'],
Expand Down
3 changes: 3 additions & 0 deletions app/components/exp-lookit-video-consent/doc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ risk_header [String | ``'What are the risks?'``]
risk_statement [String]
[Templates 5+ only] Optional statement; if provided, it is displayed under a header "Are there any risks if you participate?".

summary_statement [String]
[Templates 5+ only] Statement inserted at the beginning of the consent form, right after "Researchers led by ... are running this study ... on Lookit." Please only use this if your IRB *requires* particular information to be included at the beginning of the form; information is usually easier for participants to find under the appropriate header rather than inserted here!

voluntary_participation [String]
[Templates 5+ only] Optional additional text for under header "Participation is voluntary". E.g., "There are two sessions in this study; you will be invited to complete another session next month. It is okay not to do both sessions!"

Expand Down
1 change: 1 addition & 0 deletions app/components/exp-lookit-video-consent/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
@additional_video_privacy_statement={{additional_video_privacy_statement}}
@risk_header={{risk_header}}
@benefits_header={{benefits_header}}
@summary_statement={{summary_statement}}
/>

{{/if}}
Expand Down

0 comments on commit 19b9165

Please sign in to comment.