Produced by Araxis Merge on 6/9/2017 3:51:44 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Fri Jun 9 19:51:44 2017 UTC | ||
| 2 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-web\src\main\webapp\WEB-INF\web | optInReport.jsp | Fri Apr 21 20:15:58 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 181 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | <%-- | |||||
| 2 | Docume nt : opt InReport | |||||
| 3 | Create d on : Dec 1, 2014 | |||||
| 4 | Author : Ira kli Kakush adze | |||||
| 5 | --%> | |||||
| 6 | <%@page im port="gov. va.nvap.sv c.facility .data.Faci lity"%> | |||||
| 7 | <%@page im port="java .util.Hash Map"%> | |||||
| 8 | <%@taglib uri="http: //java.sun .com/jsp/j stl/core" prefix="c" %> | |||||
| 9 | <%@taglib uri="http: //java.sun .com/jsp/j stl/functi ons" prefi x="fn"%> | |||||
| 10 | <%@taglib tagdir="/W EB-INF/tag s/cpp" pre fix="cpp"% > | |||||
| 11 | <%@taglib tagdir="/W EB-INF/tag s/formatti ng" prefix ="f" %> | |||||
| 12 | ||||||
| 13 | <% | |||||
| 14 | HashMa p tips = ( HashMap) s ession.get Attribute( "descripto rs"); | |||||
| 15 | String facilityF ilterToolt ip = (Stri ng) tips.g et("authen ticatingFa cilityFiel d"); | |||||
| 16 | Facili ty default UserFacili ty = (Faci lity) sess ion.getAtt ribute("de faultUserF acility"); | |||||
| 17 | String defaultUs erFacility Name = def aultUserFa cility == null ? "" : defaultU serFacilit y.getFacil ityName(); | |||||
| 18 | String defaultUs erFacility Station = defaultUse rFacility == null ? "" : defau ltUserFaci lity.getFa cilityStat ion(); | |||||
| 19 | pageCo ntext.setA ttribute(" facilityFi lterToolti p", facili tyFilterTo oltip); | |||||
| 20 | pageCo ntext.setA ttribute(" defaultUse rFacility" , defaultU serFacilit y); | |||||
| 21 | pageCo ntext.setA ttribute(" defaultUse rFacilityN ame", defa ultUserFac ilityName) ; | |||||
| 22 | pageCo ntext.setA ttribute(" defaultUse rFacilityS tation", d efaultUser FacilitySt ation); | |||||
| 23 | %> | |||||
| 24 | ||||||
| 25 | <f:mainTem plate head erText="Op t-In Patie nts Report "> | |||||
| 26 | <scrip t type="te xt/javascr ipt"> | |||||
| 27 | $( document). ready(func tion () { | |||||
| 28 | ||||||
| 29 | setProce ssingForDa taTable('r eportTable '); | |||||
| 30 | ||||||
| 31 | reportTa ble = $('# reportTabl e').DataTa ble({ | |||||
| 32 | defe rLoading: 0, | |||||
| 33 | dest roy: true, | |||||
| 34 | ajax :{ | |||||
| 35 | url: const ructUrl('d oSearch'), | |||||
| 36 | dataSrc: f unction(js on){ | |||||
| 37 | return json.data ; | |||||
| 38 | } | |||||
| 39 | }, | |||||
| 40 | dom: 'liptipr' , | |||||
| 41 | serv erSide: tr ue, | |||||
| 42 | proc essing: tr ue, | |||||
| 43 | sear ching: fal se, | |||||
| 44 | lang uage: { | |||||
| 45 | emptyTable : "No reco rds found" , | |||||
| 46 | loadingRec ords: "" | |||||
| 47 | }, | |||||
| 48 | leng thMenu: [ 10, 25, 50 , 100, 250 , 500 ], | |||||
| 49 | colu mnDefs: [ | |||||
| 50 | { | |||||
| 51 | target s: 0, | |||||
| 52 | data: null, | |||||
| 53 | render : function (data,type ,full,meta ){ | |||||
| 54 | re turn '<a h ref="#/" o nclick="li nkToPatien t(\''+data [9]+'\', \ ''+data[1] +'\', \''+ data[2]+'\ ');">'+dat a[0]+'</a> '; | |||||
| 55 | } | |||||
| 56 | }, | |||||
| 57 | {className : "vap-col -min-80 dt -head-cent er", targe ts: 0}, | |||||
| 58 | {className : "vap-col -min-200 d t-head-cen ter", targ ets: [6,8] }, | |||||
| 59 | {className : "dt-head -center", targets: [ 1,2,3,4,5, 7]} | |||||
| 60 | ], | |||||
| 61 | page Length: 25 , | |||||
| 62 | scro llX:true, | |||||
| 63 | init Complete: function() { | |||||
| 64 | // Enable THEAD scro ll bars | |||||
| 65 | $('.dataTa bles_scrol lHead').cs s('overflo w', 'auto' ); | |||||
| 66 | ||||||
| 67 | // Sync TH EAD scroll ing with T BODY | |||||
| 68 | $('.dataTa bles_scrol lHead').on ('scroll', function () { | |||||
| 69 | $('.da taTables_s crollBody' ).scrollLe ft($(this) .scrollLef t()); | |||||
| 70 | }); | |||||
| 71 | }, | |||||
| 72 | orde r: [[4, "d esc"]] | |||||
| 73 | }); | |||||
| 74 | ||||||
| 75 | // DataT able overr ides | |||||
| 76 | $.fn.dat aTable.ext .errMode = 'none'; | |||||
| 77 | ||||||
| 78 | reportTa ble.on('dr aw', funct ion () { | |||||
| 79 | addA riaToDataT able('repo rtTable', reportTabl e); | |||||
| 80 | }); | |||||
| 81 | ||||||
| 82 | $('#sear chButton') .on('click ', functio n () { | |||||
| 83 | $('# results'). show(); | |||||
| 84 | repo rtTable.aj ax.url(con structUrl( 'doSearch' )).load(); | |||||
| 85 | }); | |||||
| 86 | ||||||
| 87 | $('#resu lts').hide (); | |||||
| 88 | }) ; | |||||
| 89 | ||||||
| 90 | co nstructUrl = functio n(methodNa me){ | |||||
| 91 | var url = 'OptInRe port.do_se c?' + meth odName +'= true' + | |||||
| 92 | '&op tInReport= true' + | |||||
| 93 | '&en teredBy=' + $('#ente redBy').va l() + | |||||
| 94 | '&pa tientTypes =' + $('#p atientType s').val() + | |||||
| 95 | '&st ationNumbe rs=' + fac ilitiesDia log.getSel ectedStati onNumbers( ) + | |||||
| 96 | '&co nsentTypeN ame=' + $( '#consentT ypeName'). val() + | |||||
| 97 | '&in cludeUnkno wnVisn=' + facilitie sDialog.ge tIncludeUn knownVisn( ) + | |||||
| 98 | '&so rtBy=' + $ ('#reportT able').dat aTable().f nSettings( ).aaSortin g[0][0] + | |||||
| 99 | '&so rtOrder=' + $('#repo rtTable'). dataTable( ).fnSettin gs().aaSor ting[0][1] ; | |||||
| 100 | ||||||
| 101 | if (meth odName === 'exportTo Csv' || me thodName = == 'export ToExcel') { | |||||
| 102 | url = url + '& totalRows= ' + report Table.page .info().re cordsTotal ; | |||||
| 103 | } | |||||
| 104 | ||||||
| 105 | return u rl; | |||||
| 106 | }; | |||||
| 107 | </scri pt> | |||||
| 108 | ||||||
| 109 | <div c lass="well "> | |||||
| 110 | Fi ll in the fields bel ow to narr ow your se arch. | |||||
| 111 | </div> | |||||
| 112 | ||||||
| 113 | <cpp:e rrors/> | |||||
| 114 | ||||||
| 115 | <div c lass="form -container "> | |||||
| 116 | <f orm name=" optInRepor tForm" act ion="OptIn Report.do_ sec" metho d="POST" o nsubmit="r eturn doSu bmit(this) "> | |||||
| 117 | <fieldse t> | |||||
| 118 | <leg end>Search Details</ legend> | |||||
| 119 | <jsp :include p age="repor ting/commo n/faciliti esFilter.j sp"> | |||||
| 120 | <jsp:param name="def aultUserFa cility" va lue="${def aultUserFa cility}" / > | |||||
| 121 | <jsp:param name="def aultUserFa cilityName " value="$ {defaultUs erFacility Name}" /> | |||||
| 122 | <jsp:param name="def aultUserFa cilityStat ion" value ="${defaul tUserFacil ityStation }" /> | |||||
| 123 | <jsp:param name="fac ilityFilte rTooltip" value="${f acilityFil terTooltip }" /> | |||||
| 124 | <jsp:param name="opt InReport" value="tru e" /> | |||||
| 125 | </js p:include> | |||||
| 126 | <div > | |||||
| 127 | <label for ="consentT ypeName">C onsent Typ e<span sty le="displa y:none;">" Query base d on conse nt type fr om the dro pdown list "</span></ label> | |||||
| 128 | <select id ="consentT ypeName" n ame="conse ntTypeName " data-too ltip="<c:o ut value=" ${descript ors['conse ntTypeFiel d']}" />"> | |||||
| 129 | <optio n value="" selected> ALL Author izations</ option> | |||||
| 130 | <optio n value="N wHIN Autho rization"> <c:out val ue="${orga nizationNa me}"/> Aut horization s</option> | |||||
| 131 | <optio n value="S SA Authori zation">SS A Authoriz ations</op tion> | |||||
| 132 | </select> | |||||
| 133 | </di v> | |||||
| 134 | <div > | |||||
| 135 | <label for ="enteredB y">Entered By<span s tyle="disp lay:none;" >"Query ba sed on who m entered informatio n from the dropdown list"</spa n></label> | |||||
| 136 | <select id ="enteredB y" name="e nteredBy" data-toolt ip="<c:out value="${ descriptor s['entered ByField']} " />"> | |||||
| 137 | <optio n value="" selected> ALL</optio n> | |||||
| 138 | <optio n value="e Benefits"> eBenefits< /option> | |||||
| 139 | <optio n value="e mployee">E mployee</o ption> | |||||
| 140 | </select> | |||||
| 141 | </di v> | |||||
| 142 | <div > | |||||
| 143 | <label for ="patientT ypes">Pati ent Types< span style ="display: none;">"Ch oose wheth er you wou ld like to filter by real pati ents only, test pati ents only, or both." </span></l abel> | |||||
| 144 | <select id ="patientT ypes" name ="patientT ypes" data -tooltip=" <c:out val ue="${desc riptors['p atientType sField']}" />"> | |||||
| 145 | <optio n value="3 ">ALL</opt ion> | |||||
| 146 | <optio n value="1 " selected >Real Pati ents</opti on> | |||||
| 147 | <optio n value="2 ">Test Pat ients</opt ion> | |||||
| 148 | </select> | |||||
| 149 | </di v> | |||||
| 150 | </fields et> | |||||
| 151 | </ form> | |||||
| 152 | <d iv> | |||||
| 153 | <input i d="searchB utton" nam e="search" title="Se arch" clas s="button" type="sub mit" value ="Search"/ > | |||||
| 154 | </ div> | |||||
| 155 | </div> | |||||
| 156 | <div i d="results "> | |||||
| 157 | <div a lign="righ t" class=" pad-top-5" > | |||||
| 158 | <i nput id="e xcelButton " name="ex celButton" class="bu tton" type ="submit" value="Exp ort To Exc el" /> | |||||
| 159 | &n bsp; | |||||
| 160 | <i nput id="c svButton" name="csvB utton" cla ss="button " type="su bmit" valu e="Export To CSV" /> | |||||
| 161 | </div> | |||||
| 162 | <div i d="divRepo rtContent" > | |||||
| 163 | <% @include f ile="patie ntLinkForm .jsp"%> | |||||
| 164 | <t able id="r eportTable " class="d isplay" wi dth="100%" cellspaci ng="0" rol e="present ation"> | |||||
| 165 | <thead> | |||||
| 166 | <tr role="row" > | |||||
| 167 | <th role=" columnhead er"><span id="ssnHea der" data- tooltip="< c:out valu e="${descr iptors['ss nColumn']} " />">SSN< /span></th > | |||||
| 168 | <th role=" columnhead er"><span id="lastNa meHeader" data-toolt ip="<c:out value="${ descriptor s['lastNam eColumn']} " />">Pati ent Last N ame</span> </th> | |||||
| 169 | <th role=" columnhead er"><span id="firstN ameHeader" data-tool tip="<c:ou t value="$ {descripto rs['firstN ameColumn' ]}" />">Pa tient Firs t Name</sp an></th> | |||||
| 170 | <th role=" columnhead er"><span id="middle NameHeader " data-too ltip="<c:o ut value=" ${descript ors['middl eNameColum n']}" />"> Patient Mi ddle Name< /span></th > | |||||
| 171 | <th role=" columnhead er"><span id="optInD ateHeader" data-tool tip="<c:ou t value="$ {descripto rs['optInP atientsRep ortOptInDa teColumn'] }" />">Opt In Date</ span></th> | |||||
| 172 | <th role=" columnhead er"><span id="expDat eHeader" d ata-toolti p="<c:out value="${d escriptors ['optInPat ientsRepor tExpiratio nDateColum n']}" />"> Expiration Date</spa n></th> | |||||
| 173 | <th role=" columnhead er"><span id="consen tTypeHeade r" data-to oltip="<c: out value= "${descrip tors['cons entTypeCol umn']}" /> ">Consent Type</span ></th> | |||||
| 174 | <th role=" columnhead er"><span id="entere dByHeader" data-tool tip="<c:ou t value="$ {descripto rs['entere dByManualO rSystemCol umn']}" /> ">Entered By</span>< /th> | |||||
| 175 | <th role=" columnhead er"><span id="authFa cilityHead er" data-t ooltip="<c :out value ="${descri ptors['opt InPatients ReportAuth enticating FacilityCo lumn']}" / >" data-to oltip-posi tion="left ">Authenti cating Fac ility</spa n></th> | |||||
| 176 | </tr > | |||||
| 177 | </thead> | |||||
| 178 | </ table> | |||||
| 179 | </div> | |||||
| 180 | </div> | |||||
| 181 | </f:mainTe mplate> |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.