Hi @Maud_He ,
Lets take the Adverse Event Distribution report as an example. Here are the folders that contain the files for the reports in JMP Clinical 7 (JMP Clinical 6 will be similar):
Within C:\Program Files\SASHome\JMPClinical\14\Clinical\ProcessLibrary\, there are two files called :
AEDistribution.sas
AEDistribution.xml
The .sas file contains the code that is run and the .xml file contians the options and layout of the options with the Options section of the Adverse Event Distribution report. The selections within the Options panel are passed along to the code in the .sas file (variables must be declaired within the .sas code that are coming from the .xml file). The .sas file also contains the mechansim to create JSL code for the filtering, plots and tables for the report.
To get the report to show up in the list of reports in the Report Selection window, you will need to modify this file: ReportDefinitions.jsl. It is located within C:\Program Files\SASHome\JMPClinical\14\LifeSciences\JSLFiles\com\jmp\review\.
Look for AEDistribution within the .jsl file. It wil given an example of the kind of code/information that needs to be entered for the new report. Example for Adverse Event Distribution is:
ReportDefinitions:allReportsListMap["AEDistribution"] = [1 => "Events",
2 => "Distribution",
"label" => "Adverse Events Distribution",
"name" => "AEDistribution",
"file" => "/user/clinical/processlibrary/AEDistribution.jsl",
"icon" => "/install/lifesciences/documentation/icons/clinical/RelatedAE.gif"];
and further down in another section
ReportDefinitions:reportListMap["AEDistribution"] = ReportDefinitions:allReportsListMap["AEDistribution"];
with another line in a third section below that looks like
ReportDefinitions:drilldownListMap["AEDistribution"] = ReportDefinitions:allReportsListMap["AEDistribution"];
There is another file that defines the help URL if you would like to change that as well but that would require the documentation to be downloaded to a local location (and moved to a shared location, in JMP Clinical 7, one can configure what the default URL or file path is for the help files) so one can insert their own .html file for the description/help for that particular report. Here is the path and file that would need to be modified
C:\Program Files\SASHome\JMPClinical\14\LifeSciences\APMetaData.jmp
For AEDistribution, the row looks like this:
AEDistribution 3 Clinical PR_C_EV_0003 OP_C_EV_0003 AE Distribution
The headers tell th informatation need. The cell containig OP_ is a references to the name of the HTML file that will be used for the report discription/help and needs to be in the downloaded help file location.
Please use the exisiting reports as examples of types of reports that can be made, then copy one and modify it to suit your needs. Much of the data manipulation is done in the begining of the .sas files.
Best,
Chris Kirchberg, M.S.2
Data Scientist, Life Sciences - Global Technical Enablement
JMP Statistical Discovery, LLC. - Denver, CO
Tel: +1-919-531-9927 ▪ Mobile: +1-303-378-7419 ▪ E-mail: chris.kirchberg@jmp.com
www.jmp.com