diff --git a/pepper-apis/studybuilder-cli/studies/lms/patches/consent_assent-pdf-v2.conf b/pepper-apis/studybuilder-cli/studies/lms/patches/consent_assent-pdf-v2.conf new file mode 100644 index 0000000000..0a8960137e --- /dev/null +++ b/pepper-apis/studybuilder-cli/studies/lms/patches/consent_assent-pdf-v2.conf @@ -0,0 +1,134 @@ +{ + "pdfs": [ + { + "name": "lmsproject-consent-assent", + "filename": "lmsproject-consent-assent", + "displayName": "LMS parental consent & assent pdf", + "versions": [ + { + "tag": "v2", + "start": null, + "end": null, + "sources": [ + { + "type": "PARTICIPANT" + }, + { + "type": "ACTIVITY", + "activityCode": "CONSENT_ASSENT", + "versionTag": "v2" + } + ], + "files": [ + { + "filepath": "pdfs/consent_parental_v2.pdf", + "type": "CUSTOM", + "substitutions": [ + { + "type": "BOOLEAN", + "field": "blood_draw_yes", + "activityCode": "CONSENT_ASSENT", + "questionStableId": "CONSENT_ASSENT_BLOOD", + "checkIfFalse": false + }, + { + "type": "BOOLEAN", + "field": "blood_draw_no", + "activityCode": "CONSENT_ASSENT", + "questionStableId": "CONSENT_ASSENT_BLOOD", + "checkIfFalse": true + }, + { + "type": "BOOLEAN", + "field": "tissue_sample_yes", + "activityCode": "CONSENT_ASSENT", + "questionStableId": "CONSENT_ASSENT_TISSUE", + "checkIfFalse": false + }, + { + "type": "BOOLEAN", + "field": "tissue_sample_no", + "activityCode": "CONSENT_ASSENT", + "questionStableId": "CONSENT_ASSENT_TISSUE", + "checkIfFalse": true + }, + { + "type": "TEXT", + "field": "child_first_name", + "activityCode": "CONSENT_ASSENT", + "questionStableId": "CONSENT_ASSENT_CHILD_FIRSTNAME" + }, + { + "type": "TEXT", + "field": "child_last_name", + "activityCode": "CONSENT_ASSENT", + "questionStableId": "CONSENT_ASSENT_CHILD_LASTNAME" + }, + { + "type": "TEXT", + "field": "first_name", + "activityCode": "CONSENT_ASSENT", + "questionStableId": "CONSENT_ASSENT_FIRSTNAME" + }, + { + "type": "TEXT", + "field": "last_name", + "activityCode": "CONSENT_ASSENT", + "questionStableId": "CONSENT_ASSENT_LASTNAME" + }, + { + "type": "DATE", + "field": "child_date_of_birth", + "activityCode": "CONSENT_ASSENT", + "questionStableId": "CONSENT_ASSENT_CHILD_DOB" + }, + { + "type": "TEXT", + "field": "relationship", + "activityCode": "CONSENT_ASSENT", + "questionStableId": "CONSENT_ASSENT_RELATIONSHIP" + }, + { + "type": "ACTIVITY_DATE", + "field": "date", + "activityCode": "CONSENT_ASSENT" + } + ] + }, + { + "filepath": "pdfs/consent_parental_contact_v2.pdf", + "type": "MAILING_ADDRESS", + "fields": { + "proxyFirstName": "proxy_first_name", + "proxyLastName": "proxy_last_name", + "country": "country", + "street": "street", + "city": "city", + "state": "state", + "zip": "zip", + "phone": "phone" + } + }, + { + "filepath": "pdfs/consent_assent.pdf", + "type": "CUSTOM", + "substitutions": [ + { + "type": "TEXT", + "field": "child_signature", + "activityCode": "CONSENT_ASSENT", + "questionStableId": "CONSENT_ASSENT_CHILD_SIGNATURE" + }, + { + "type": "ACTIVITY_DATE", + "field": "assent_date", + "activityCode": "CONSENT_ASSENT" + } + ] + }, + ] + } + ] + } + ] +} \ No newline at end of file