-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PEPPER-123. LMS consent_assent pdf template update.
- Loading branch information
Sampath K. Settipalli
committed
Oct 10, 2024
1 parent
d0a6b3f
commit 52eb66b
Showing
1 changed file
with
134 additions
and
0 deletions.
There are no files selected for viewing
134 changes: 134 additions & 0 deletions
134
pepper-apis/studybuilder-cli/studies/lms/patches/consent_assent-pdf-v2.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
] | ||
}, | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |