Download presentation
Presentation is loading. Please wait.
Published byDustin Williams Modified over 9 years ago
1
Developing QueryContent for IBIS-PH
2
Let’s check a few things. 1.Do you have a “Q:\” drive mapped to the backend ibis-q server?
3
2.Do you have an apache-tomcat-7.0.42 folder on your C:\ drive?
4
Open the webapps folder, and then the ibisph- view folder.
5
3.Do you have a Tomcat startup icon on your desktop? What happens when you click on it?
6
4.Open a browser window and put this in the address bar: http://localhost:8080 What happens?
7
HOW IT WORKS
8
Files Maintained by PH Staff: IBIS-Q IBIS-Admin IBIS-View IBIS-Q
9
Web Basics web Client / Internet User… …sends request (URL)… … to Web server. …to Client / Internet User. …sends response (HTML)… Web server http://ibis.health.utah.gov IBIS-PH Welcome to IBIS-PH; Utah's Public Health Data Resource...
10
10 System/Software Components ibisph-view interface IBIS XML, XSLT files IBIS CGI app IBIS-Q CGI App SAS SAS for server Data SAS Data Sets web IBIS System Back-end SAS/IBIS-q Server ibisph-view on Tomcat app Server
12
NM Data Users 2013 New Mexico Department of Health 12
13
13 System/Software Components ibisph-view interface IBIS XML, XSLT files IBIS CGI app IBIS-Q CGI App SAS SAS for server Data SAS Data Sets web IBIS System Back-end SAS/IBIS-q Server ibisph-view on Tomcat app Server
14
IBIS-Q Custom Query System html IBIS-Admin IBIS-View IBIS-Q
17
17 System/Software Components ibisph-view interface IBIS XML, XSLT files IBIS CGI app IBIS-Q CGI App SAS SAS for server Data SAS Data Sets web IBIS System Back-end SAS/IBIS-q Server ibisph-view on Tomcat app Server
18
The Query URL http://10.135.2.142/cgi-bin/hi_iq_func.exehttp://10.135.2.142/cgi-bin/hi_iq_func.exe? config=E%3A%5Cibisq%5CqModules%5Cbirth%5CBirth 12.cfg &sas=0&test=0&func=NM_BirthRate.def &data_where=15%3C%3Dmage%3C%3D17 &pop_where=16%3C%3Dagegrp35%3C%3D18+and+sex %3D2+and+1990%3C%3DYear%3C%3D2012 &GeoProxy=GeoCnty &Year=2012&GeoRes=1&cross1=GeoProxy http://10.135.2.142/cgi-bin/hi_iq_func.exe?config=E%3A%5Cibisq%5CqModules%5Cbirth%5CBirth12.cfg&sas=0&test=0 http://10.135.2.142/cgi-bin/hi_iq_func.exe?config=E%3A%5Cibisq%5CqModules%5Cbirth%5CBirth12.cfg&sas=0&test=0 &func=NM_BirthRate.def&data_where=15%3C%3Dmage%3C%3D17&pop_where=16%3C%3Dagegrp35%3C%3D18+and+s ex%3D2+and+1990%3C%3DYear%3C%3D2012&GeoProxy=GeoCnty&Year=2012&GeoRes=1&cross1=GeoProxy
19
IBIS-Q Custom Query System IBIS-Admin IBIS-View IBIS-Q
20
IBIS-Q Custom Query System IBIS-Admin IBIS-View IBIS-Q html
21
Results include query filter criteria, a data table...
23
Quick Review
24
Web Basics web Client / Internet User… …sends request (URL)… … to Web server. …to Client / Internet User. …sends response (HTML)… Web server http://ibis.health.utah.gov IBIS-PH Welcome to IBIS-PH; Utah's Public Health Data Resource...
25
25 System/Software Components ibisph-view interface IBIS XML, XSLT files IBIS CGI app IBIS-Q CGI App SAS SAS for server Data SAS Data Sets web IBIS System Back-end SAS/IBIS-q Server ibisph-view on Tomcat app Server
27
A CLOSER LOOK AT THE IBIS-Q BACK-END FILES
28
IBIS-Q, Back- end file structure
29
Back- end Query Module Files
30
HANDS-ON creating a CFG file
31
IBIS-Q Modules Directory Module.CFG file (crosswalk between IBIS-view, IBIS-q and SAS) e.g., ibisq\qModules\mort\ MortUSET11.cfg.DEF files (SAS templates) e.g., ibisq\qModules\mort\Count.def.MAP files (define content of SAS output for IBIS-q to create xml version) e.g., XMLCount.map.HEAD and.TAIL files (xml wrapper elements) XMLResponse.head XMLResponse.tail
32
Birth.cfg
34
Variable Mapping Table #valuename_sasname_htmlname_popprompttype1type2length 21bbthyearYearyearYearnum04 31magegrpMomAgeGrpmagegrpMother's&Agenum04 32medugrpMomEdunullMother's&Educationnum04 33mmaritalMomMarnullMother's&Marital&Statusnum04 34btobacynMomTobaccoUsenullMother's&Tobacco&Usenum04 35balchoynMomAlcoholUsenullMother's&Alcohol&Usenum04 72brescntyGeoCntycountyCountynum04
35
Comments Inside Each.CFG File
36
TotalFertRate.DEF This is an excerpt from the SAS template (.DEF) file that runs the total fertility rate measure. The CGI App creates a SAS program from this template and the additional information in the query URL and Module.cfg file.
37
Example.MAP File XMLPercentNumerDenomLCLUCL.MAP
38
Front-end, Interface Files: Module.XML Files
39
View Application (Interface) XML File Structure C:\apache-tomcat-7.0.42\webapps\ibisph-view\WEB-INF\xml\query\module\mort
40
Module.xml Files Selection Page.XML file BirthSelection.XML Module.XML files BirthBirthCnty.XML BirthPopCnty.XML AdolBirth15_17.XML PNCTri1.XML etc. …
41
…xml\query\module\birth\ BirthSelection.XML
43
…xml\query\module\birth\ AdolBirthCnty.xml
44
…xml\query\module\birth\section\Geo.xml
45
Dimension/GeoCnty.xml
49
Questions?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.