Developing an IBIS-Q Query Module
description
Transcript of Developing an IBIS-Q Query Module
Developing an IBIS-Q Query Module
Files Maintained by PH Staff: IBIS-Q
IBIS-Admin
IBIS-View
IBIS-Q
Files Maintained by PH Staff: Indicator Reports
IBIS-Admin
IBIS-View
IBIS-Q
IBIS-Q, Back- end file structure
Back- end Query Module Files
IBIS-Q Back End
SAS datasetsibisq\sasData\final\NJBir04.sas7bdat
IBIS Module.cfg fileibisq\qModules\birth\Birth.CFG
.DEF filesibisq\qModules\birth\TotFertRate.DEF
.MAP files
.HEAD and .TAIL files
Birth.cfg
Birth.cfg
Variable Mapping Table
#value name_sas name_html name_pop prompt type1 type2 length
21 bbthyear Year year Year num 0 4
31 magegrp MomAgeGrp magegrp Mother's&Age num 0 4
32 medugrp MomEdu null Mother's&Education num 0 4
33 mmarital MomMar null Mother's&Marital&Status num 0 4
34 btobacyn MomTobaccoUse null Mother's&Tobacco&Use num 0 4
35 balchoyn MomAlcoholUse null Mother's&Alcohol&Use num 0 4
72 brescnty GeoCnty county County num 0 4
Comments Inside Each .CFG File
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.
Example .MAP File
XMLPercentNumerDenomLCLUCL.MAP
Front-end, Interface Files: Module.XML Files
View Application (Interface) XML File Structure
C:\Tomcat\webapps\ibisph-view\xml\query\module\birth
Module.xml Files
Selection Page .XML fileBirthSelection.XML
Module.XML filesBirthBirthCnty.XMLBirthPopCnty.XMLAdolBirth15_17.XMLPNCTri1.XMLetc. …
…xml\query\module\birth\BirthSelection.XML
…xml\query\module\birth\AdolBirth15_17.Cnty.XML
…xml\query\module\birth\AdolBirth15_17.Cnty.XML
…xml\query\module\birth\section\Geo.XML
Dimension/GeoCnty.xml
Quick Review
IBIS-Q Custom Query System
html
IBIS-Admin
IBIS-View
IBIS-Q
The Query URL
http://255.255.255.0/cgi-bin/hi_iq_func.exe? config=C:\ibisq\qModules\birth\Birth.cfg &sas=0&test=0&data_where=magegrp=2&pop_where=magegrp=2&YearProxy=Year&func=AdolBirth.def&Year=2004&GeoProxy=GeoCnty&cross1=GeoProxy
http://255.255.255.0/cgi-bin/hi_iq_func.exe?config=C:\ibisq\qModules\birth\Birth.cfg&sas=0&test=0&data_where=magegrp=2&pop_where=magegrp=2&YearProxy=Year&func=AdolBirth.def&Year=2004&GeoProxy=GeoCnty&cross1=GeoProxy
IBIS-Q Custom Query System
IBIS-Admin
IBIS-View
IBIS-Q
IBIS-Q Custom Query System htmlhtml
IBIS-Admin
IBIS-View
IBIS-Q
Resources on the IBIS Community of Practice Website: www.ibisph.org
These powerpoint slides may be found here:http://www.ibisph.org/trac/browser/trunk/training
/ query/CreatingAQueryModule
“Getting Started” practice dataset and instructions for setting up your local development environment are here:http://www.ibisph.org/trac/browser/trunk/training
/ query/Getting%20started
Resources (cont’d)…IBIS Web forum for getting technical assistance.http://www.ibisph.org/forums/
IBIS Documentation Websitehttp://ibis.health.utah.gov/docs/home/Welcome.html
New Mexico training materials (10/07)http://www.ibisph.org/trac/browser/trunk
/ adopters/nm/training
Questions?