Skip to content

Commit

Permalink
PEPPER-123. LMS consent_assent pdf template update.
Browse files Browse the repository at this point in the history
  • 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.
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"
}
]
},
]
}
]
}
]
}

0 comments on commit 52eb66b

Please sign in to comment.