Genrating letters which include data | Jon (LabKey DevOps) | 2015-01-28 17:27 |
Status: Closed | ||
Anders, Thanks for the clarification. There's a few different ways to approach this, but it is possible to do what you want via Javascript. I'm tinkering around with some javascript code at the moment, but my personal idea is where you would setup wiki page where you have your standard extra text and have that page embed the participant report information within it using the selectRows query (https://www.labkey.org/download/clientapi_docs/javascript-api/symbols/LABKEY.Query.html#.selectRows) and from the Customize Participant View, have a link that will point to that wiki page and pass along the participant ID. The Participant ID number would get passed into the wiki page and the selectRows query would extract only specific values you want from the participant and populate the letter for your clinician to use. Does that make sense? Regards, Jon |
||