PDF configuration
Launch a PDF preview from a defined HTML structure and Questionnaire Responses that contains data to be populated into the PDF. App user then can save that previewed PDF into their device as a file.
info
The PDF Generation feature is responsible in populating data from Questionnaire Response to HTML.
Sample JSON
{
"trigger": "ON_CLICK",
"workflow": "LAUNCH_PDF_GENERATION",
"pdfConfig": {
"title": "Depression Report",
"titleSuffix": "James",
"structureReference": "Binary/b1234",
"subjectReference": "Patient/p1234",
"questionnaireReferences": [
"Questionnaire/q1",
"Questionnaire/q2",
"Questionnaire/q3",
"Questionnaire/q4"
]
}
}