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@msh.org

Skype: wilsonrandy_us

Stronger health systems. Greater health impact.

www.msh.org