dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #11883
Can you filter a JasperReport on a custom parameter through the API
I have created a JasperReport that pulls data from several tables to print
a lab request id (userinfo - for contact information, phone number of data
manager, tracked entity info, as well lab request info from a program
stage).
I'd like to be able to print the data for a single lab request using a
JasperReport parameter I've created, something like this:
https://hmis.moh.gov.rw/hietest/api/reports/XCjNnscZ3w2/data.pdf?ParamLabRequestid=L24-151-001
Current it the api ignores the parameter and just displays all of the lab
requests as a pdf file. Unfortunately the print button in tracker capture
only seems to print program registration attributes - not the data from
andy of the stages that are being entered.
--
*Randy Wilson*
*Team Leader: **Knowledge Management, Data Use and Research*
Rwanda Health System Strengthening Activity
Management Sciences for Health
Rwanda-Kigali
Direct: +250 788308835
E-mail: rwilson@xxxxxxx
Skype: wilsonrandy_us
<http://www.msh.org/>
Stronger health systems. Greater health impact.
<https://www.facebook.com/ManagementSciencesForHealth>
<https://twitter.com/MSHHealthImpact>
<https://www.youtube.com/user/MSHHealthImpact>
www.msh.org
--
*This message and its attachments are confidential and solely for the
intended recipients. If received in error, please delete them and notify
the sender via reply e-mail immediately.*