interactive visualization of clinical laboratory
play

Interactive Visualization of Clinical Laboratory Parameters with SAS - PowerPoint PPT Presentation

Interactive Visualization of Clinical Laboratory Parameters with SAS Stored Processes and jQuery AJAX PhUSE Conference 2017, Edinburgh October 9, 2017 / Volker Harm Motivation Fundamental steps The dashboard structure The data


  1. Interactive Visualization of Clinical Laboratory Parameters with SAS Stored Processes and jQuery AJAX PhUSE Conference 2017, Edinburgh October 9, 2017 / Volker Harm

  2. • Motivation • Fundamental steps • The dashboard structure • The data Agenda • The selections • The graph • Some refinements • Autocomplete selection with jQuery AJAX • One step beyond Page 2 Interactive Visualization of Clinical LaboratoryParameters

  3. Motivation Innovation initiatives at Bayer • Visualizing data is one of the hot topics What could be the part of our Research and Clinical Sciences Statistics department? • Idea of my boss: • Could we use the SAS Stored Processes to present Clinical Laboratory Data in a “dashboard” interactively on the intranet? • As a prerequisite he had a tool collect the data in one standardized SAS data set. • Typical Phase I studies are small and results are examined carefully for each patient and parameter. • A presentation on screen should much more convenient than wading through a pile of tables and figures on paper. Page 3 Interactive Visualization of Clinical LaboratoryParameters

  4. And here is the requirements document: Page 4 Interactive Visualization of Clinical LaboratoryParameters

  5. And this is, what I found with Google Page 5 Interactive Visualization of Clinical LaboratoryParameters

  6. Let’s start: SAS Sample 43723 The main SAS Stored Process Page 6 Interactive Visualization of Clinical LaboratoryParameters

  7. The first request The dashboard structure Page 7 Interactive Visualization of Clinical LaboratoryParameters

  8. The second request The selection form Page 8 Interactive Visualization of Clinical LaboratoryParameters

  9. Clinical Laboratory Parameter Data Individual measurements (LBSTRESN, LBSTRESU) • For each treatment (TRTP, TRTPN) • For each parameter (LBTEST, LBTESTCD) • For each subject (USUBJID) • For each visit (VISIT, VISITNUM) Summary data over subjects • For each treatment • For each parameter • For each visit For sake of brevity we will concentrate on individual measurements. Page 9 Interactive Visualization of Clinical LaboratoryParameters

  10. Structure of Laboratory Data Set cp. Shostack, Jack.2014. SAS Programming in the Pharmaceutical Industry, Second Edition. Cary, NC: SAS Institute Inc Page 10 Interactive Visualization of Clinical LaboratoryParameters

  11. Creation of selection tags with SAS Page 11 Interactive Visualization of Clinical LaboratoryParameters

  12. The third request The report for the selected parameters Page 12 Interactive Visualization of Clinical LaboratoryParameters

  13. Visualization dashboard Page 13 Interactive Visualization of Clinical LaboratoryParameters

  14. Autocomplete selection with jQuery AJAX Page 14 Interactive Visualization of Clinical LaboratoryParameters

  15. The jQuery script Code for the SAS Stored Process lookupParameters is not presented. Page 15 Interactive Visualization of Clinical LaboratoryParameters

  16. The code for the layout Page 16 Interactive Visualization of Clinical LaboratoryParameters

  17. One step beyond Page 17 Interactive Visualization of Clinical LaboratoryParameters

  18. Use plotly.js present the graph Page 18 Interactive Visualization of Clinical LaboratoryParameters

  19. Did I meet the requirements Page 19 Interactive Visualization of Clinical LaboratoryParameters

  20. Take home The structure of SAS Sample 43723 provides a means to produce basic dashboards. • It is not easy to understand, how it works. • The internet says it is outdated, so there is no documentation. • But: It works! And there many, many ways to enhance it. jQuery AJAX is mainly addressed at web page builder. • You have to become one, if you want to use it effectively. Wait for the paper! • The paper contains code for fully worked out example and a long list of recommended reading. If you are using SAS Stored Processes: Try out plotly.js! If you are interested in all this stuff: Go to presentation AD02! Page 20 Interactive Visualization of Clinical LaboratoryParameters

  21. Thank you!

Recommend


More recommend