/
library_report_get_page ( session, report, page )
library_report_get_page ( session, report, page )
library_report_get_page (session, report, section)
This function get a XML with information of specific question in a template. | |
Input parameters: | session: is the session id obtained in the session_init call report: contains: activity_id, report_template_id, program_id & workplan_id (example: ACTIVITY/14398/REPORT/23/353|12406): activity_id: task id of activity report_template_id: template id of report template program_id: id of program workplan_id: id of workplan page: section of report template (FIRST_PAGE, LAST_PAGE, DEFAULT_PAGE) |
Output parameters: |
|
Request sample: | library_report_get_page(LC5649bbaa6eab89.11967233, TASK/11361/REPORT/11809/PAGE/DEFAULT_PAGE, DEFAULT_PAGE)
|
Response sample: | <?xml version="1.0" encoding="UTF-8"?> <page> <report> <ref>TASK/11361/REPORT/11809/SECTION/HEADER</ref> </report> <ref>DEFAULT_PAGE</ref> <description>Default Page</description> <sections> <section> <code>HEADER</code> <description>Header template content</description> <value>HOSPITAL DEL MAR - {{today.date}}</value> </section> <section> <code>BODY</code> <description>Body template content</description> <value>PATIENT - {CASE.NAME} AGE - {CASE.AGE} ADMISSION DATE - {ADMISSION.DATE}</value> </section> <section> <code>FOOTER</code> <description>Footer template content</description> <value>Page {Page.current} of {Page.total}</value> </section> </sections> </page> |
Notes: |
, multiple selections available,
Related content
library_report_get_preview (session, report, page, section)
library_report_get_preview (session, report, page, section)
More like this
library_report_get_section (session, report, section)
library_report_get_section (session, report, section)
More like this
library_report_get ()
library_report_get ()
More like this
report_get ()
report_get ()
More like this
library_report_set_section ()
library_report_set_section ()
More like this
* library_form_get_question ( session, form_id, question )
* library_form_get_question ( session, form_id, question )
More like this