Produced by Araxis Merge on 6/9/2017 3:51:40 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:40 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 | delayedConsentReport.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 | 237 |
| 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 : del ayedConsen tReport | |||||
| 3 | Create d on : Apr 5, 2016, 2:13:02 PM | |||||
| 4 | Author : Ira kli Kakush adze | |||||
| 5 | --%> | |||||
| 6 | ||||||
| 7 | <%@taglib tagdir="/W EB-INF/tag s/formatti ng" prefix ="f" %> | |||||
| 8 | <%@page im port="java .util.Hash Map"%> | |||||
| 9 | <%@page im port="gov. va.nvap.sv c.facility .data.Faci lity"%> | |||||
| 10 | <%@page co ntentType= "text/html " pageEnco ding="UTF- 8"%> | |||||
| 11 | <%@taglib uri="http: //java.sun .com/jsp/j stl/core" prefix="c" %> | |||||
| 12 | <%@taglib uri="http: //java.sun .com/jsp/j stl/functi ons" prefi x="fn" %> | |||||
| 13 | ||||||
| 14 | <% | |||||
| 15 | HashMa p tips = ( HashMap) s ession.get Attribute( "descripto rs"); | |||||
| 16 | String facilityF ilterToolt ip = (Stri ng) tips.g et("authen ticatingFa cilityFiel d"); | |||||
| 17 | Facili ty default UserFacili ty = (Faci lity) sess ion.getAtt ribute("de faultUserF acility"); | |||||
| 18 | String defaultUs erFacility Name = def aultUserFa cility == null ? "" : defaultU serFacilit y.getFacil ityName(); | |||||
| 19 | String defaultUs erFacility Station = defaultUse rFacility == null ? "" : defau ltUserFaci lity.getFa cilityStat ion(); | |||||
| 20 | pageCo ntext.setA ttribute(" facilityFi lterToolti p", facili tyFilterTo oltip); | |||||
| 21 | pageCo ntext.setA ttribute(" defaultUse rFacility" , defaultU serFacilit y); | |||||
| 22 | pageCo ntext.setA ttribute(" defaultUse rFacilityN ame", defa ultUserFac ilityName) ; | |||||
| 23 | pageCo ntext.setA ttribute(" defaultUse rFacilityS tation", d efaultUser FacilitySt ation); | |||||
| 24 | %> | |||||
| 25 | ||||||
| 26 | <f:mainTem plate head erText="De layed Cons ent Detail Report"> | |||||
| 27 | <scrip t language ="JavaScri pt"> | |||||
| 28 | $( document). ready(func tion () { | |||||
| 29 | // Check the ALL c heckbox fo r the reas ons on ini tial load | |||||
| 30 | $('.alla bleCheckbo x[value=AL L]').prop( 'checked', true); | |||||
| 31 | ||||||
| 32 | // Initi al data re quest. | |||||
| 33 | $.fn.dat aTable.ext .errMode = 'none'; | |||||
| 34 | ||||||
| 35 | setProce ssingForDa taTable('r eportTable '); | |||||
| 36 | ||||||
| 37 | reportTa ble = $('# reportTabl e').DataTa ble({ | |||||
| 38 | defe rLoading: 0, | |||||
| 39 | dest roy: true, | |||||
| 40 | sear ching: fal se, | |||||
| 41 | proc essing: tr ue, | |||||
| 42 | serv erSide: tr ue, | |||||
| 43 | orde r: [[0, 'd esc']], | |||||
| 44 | colu mnDefs: [ | |||||
| 45 | {orderable : false, t argets: [7 , 10]}, | |||||
| 46 | {width: '8 0', target s: 2}, | |||||
| 47 | {className : 'vap-rep ort-nowrap dt-head-c enter', ta rgets: 2}, | |||||
| 48 | {className : "vap-col -min-130 d t-head-cen ter", targ ets: [0,9] }, | |||||
| 49 | {className : "dt-head -center", targets: [ 1,3,4,5,6, 7,8,10]} | |||||
| 50 | ], | |||||
| 51 | ajax : 'Delayed ConsentRep ort.do_sec ?doSearch= true', | |||||
| 52 | dom: 'liptipr' , | |||||
| 53 | lang uage: { | |||||
| 54 | emptyTable : "No reco rds found" , | |||||
| 55 | loadingRec ords: "" | |||||
| 56 | }, | |||||
| 57 | leng thMenu: [ 10, 25, 50 , 100, 250 , 500 ], | |||||
| 58 | page Length: 25 , | |||||
| 59 | scro llX:true, | |||||
| 60 | init Complete: function() { | |||||
| 61 | // Enable THEAD scro ll bars | |||||
| 62 | $('.dataTa bles_scrol lHead').cs s('overflo w', 'auto' ); | |||||
| 63 | ||||||
| 64 | // Sync TH EAD scroll ing with T BODY | |||||
| 65 | $('.dataTa bles_scrol lHead').on ('scroll', function () { | |||||
| 66 | $('.da taTables_s crollBody' ).scrollLe ft($(this) .scrollLef t()); | |||||
| 67 | }); | |||||
| 68 | }, | |||||
| 69 | orde r: [[0, "d esc"]] | |||||
| 70 | }); | |||||
| 71 | ||||||
| 72 | reportTa ble.on('dr aw', funct ion () { | |||||
| 73 | addA riaToDataT able('repo rtTable', reportTabl e); | |||||
| 74 | }); | |||||
| 75 | ||||||
| 76 | $('#sear chButton') .on('click ', functio n () { | |||||
| 77 | // V alidate da ta before submitting to the se rver. | |||||
| 78 | $('# errorMessa ge').hide( ); | |||||
| 79 | if ( validateSs ns($('#ssn '))) { | |||||
| 80 | $('#result s').show() ; | |||||
| 81 | reportTabl e.ajax.url (construct Url('doSea rch')).loa d(); | |||||
| 82 | } el se { | |||||
| 83 | showSsnErr or(); | |||||
| 84 | return fal se; | |||||
| 85 | } | |||||
| 86 | }); | |||||
| 87 | ||||||
| 88 | function validateS sns(field) { | |||||
| 89 | var sansWhiteS pace = fie ld.val().r eplace(/ / g, ''); | |||||
| 90 | if ( sansWhiteS pace !== n ull) { | |||||
| 91 | if (/^\d{9 }(,\d{9})* $/.test(sa nsWhiteSpa ce) || san sWhiteSpac e === '') { | |||||
| 92 | field. val(sansWh iteSpace); | |||||
| 93 | return true; | |||||
| 94 | } else { | |||||
| 95 | return false; | |||||
| 96 | } | |||||
| 97 | } | |||||
| 98 | }; | |||||
| 99 | ||||||
| 100 | function showSsnEr ror() { | |||||
| 101 | $('# errorMessa ge').html( 'Please en ter valid nine digit SSN numbe rs only, n o hyphens. If enteri ng multipl e SSNs, se parate the m by comma s.'); | |||||
| 102 | $('# errorMessa ge').show( ); | |||||
| 103 | }; | |||||
| 104 | ||||||
| 105 | $('#resu lts').hide (); | |||||
| 106 | }) ; | |||||
| 107 | ||||||
| 108 | co nstructUrl = functio n (methodN ame) { | |||||
| 109 | var reas onsForDela y = []; | |||||
| 110 | $('.alla bleCheckbo x:checkbox :checked') .each(func tion () { | |||||
| 111 | reas onsForDela y.push($(t his).val() ); | |||||
| 112 | }); | |||||
| 113 | ||||||
| 114 | var url = 'Delayed ConsentRep ort.do_sec ' + | |||||
| 115 | '?' + meth odName + ' =true' + | |||||
| 116 | '&ssn=' + $('#ssn'). val() + | |||||
| 117 | '&lastName =' + $('#l astName'). val() + | |||||
| 118 | '&firstNam e=' + $('# firstName' ).val() + | |||||
| 119 | '&stationN umbers=' + facilitie sDialog.ge tSelectedS tationNumb ers() + | |||||
| 120 | '&includeU nknownVisn =' + facil itiesDialo g.getInclu deUnknownV isn() + | |||||
| 121 | '&reasonsF orDelay=' + reasonsF orDelay.to String() + | |||||
| 122 | '&daysSinc eDelayed=' + $('#day sSinceDela yed').val( ) + | |||||
| 123 | '&consentT ype=' + $( '#consentT ype').val( ) + | |||||
| 124 | '&sortBy=' + $('#rep ortTable') .dataTable ().fnSetti ngs().aaSo rting[0][0 ] + | |||||
| 125 | '&sortOrde r=' + $('# reportTabl e').dataTa ble().fnSe ttings().a aSorting[0 ][1] + | |||||
| 126 | '&patientT ypes=' + $ ('#patient Types').va l() + | |||||
| 127 | '&enteredB y=' + $('# enteredBy' ).val(); | |||||
| 128 | ||||||
| 129 | if (meth odName === 'exportTo Csv' || me thodName = == 'export ToExcel') { | |||||
| 130 | url = url + '& totalRows= ' + report Table.page .info().re cordsTotal ; | |||||
| 131 | } | |||||
| 132 | return u rl; | |||||
| 133 | }; | |||||
| 134 | </scri pt> | |||||
| 135 | <%@inc lude file= "patientLi nkForm.jsp "%> | |||||
| 136 | ||||||
| 137 | <div c lass="form -container "> | |||||
| 138 | <f orm name=" searchForm "> | |||||
| 139 | <fieldse t> | |||||
| 140 | <leg end>Search Details</ legend> | |||||
| 141 | <div id="error Message" c lass="erro rs" style= "display: none;"></d iv> | |||||
| 142 | <div > | |||||
| 143 | <label for ="ssn">SSN (s)</label > | |||||
| 144 | <input dat a-tooltip= "<c:out va lue="${des criptors[' delayedCon sentDetail ReportSSNF ield']}" / >" title=" Enter SSN. Enter num bers only no hyphens " id="ssn" name="ssn " type="te xt" size=" 30" /> <i> <span styl e="font-we ight:norma l;"> (Ente r one or m ore SSN's, with no h yphens, se parated by commas)</ span></i> | |||||
| 145 | </di v> | |||||
| 146 | <div > | |||||
| 147 | <label for ="lastName ">Last Nam e</label> | |||||
| 148 | <input dat a-tooltip= "<c:out va lue="${des criptors[' lastNameFi eld']}" /> " title="E nter Last Name" id=" lastName" name="last Name" type ="text" ma xlength="2 55" size=" 30" /> | |||||
| 149 | </di v> | |||||
| 150 | <div > | |||||
| 151 | <label for ="firstNam e">First N ame</label > | |||||
| 152 | <input dat a-tooltip= "<c:out va lue="${des criptors[' firstNameF ield']}" / >" title=" Enter Firs t Name" id ="firstNam e" name="f irstName" type="text " maxlengt h="255" si ze="30" /> | |||||
| 153 | </di v> | |||||
| 154 | <jsp :include p age="repor ting/commo n/faciliti esFilter.j sp"> | |||||
| 155 | <jsp:param name="def aultUserFa cility" va lue="${def aultUserFa cility}" / > | |||||
| 156 | <jsp:param name="def aultUserFa cilityName " value="$ {defaultUs erFacility Name}" /> | |||||
| 157 | <jsp:param name="def aultUserFa cilityStat ion" value ="${defaul tUserFacil ityStation }" /> | |||||
| 158 | <jsp:param name="fac ilityFilte rTooltip" value="${f acilityFil terTooltip }" /> | |||||
| 159 | </js p:include> | |||||
| 160 | <div > | |||||
| 161 | <label for ="reasonsF orDelay">R eason(s) f or Delay</ label> | |||||
| 162 | <div style ="padding- left: 238p x !importa nt;"> | |||||
| 163 | <span data-toolt ip="<c:out value="${ descriptor s['reasons ForDelayFi eld']}" /> " id="reas onsForDela yTip"> | |||||
| 164 | <i nput type= "checkbox" value="AL L" class=" allableChe ckbox" id= "all"><lab el class=" vap-reg-la bel" for=" all">ALL</ label><br /> | |||||
| 165 | <c :forEach v ar="r" ite ms="${reas ons}" varS tatus="i"> | |||||
| 166 | <input t ype="check box" value ="<c:out v alue="${r. delayReaso nId}" />" id="<c:out value="${ fn:replace (r.name, ' ', '')}" />" class= "allableCh eckbox" /> <label cla ss="vap-re g-label" f or="<c:out value="${ fn:replace (r.name, ' ', '')}" />"><c:out value="${ r.name}" / ></label>< br /> | |||||
| 167 | </ c:forEach> | |||||
| 168 | </span > | |||||
| 169 | </div> | |||||
| 170 | </di v> | |||||
| 171 | <div > | |||||
| 172 | <label for ="daysSinc eDelayed"> Days Since Delayed</ label> | |||||
| 173 | <select da ta-tooltip ="<c:out v alue="${de scriptors[ 'daysSince DelayedFie ld']}" />" id="daysS inceDelaye d" name="d aysSinceDe layed"> | |||||
| 174 | <optio n value="A LL">ALL</o ption> | |||||
| 175 | <optio n value="0 ">0-5 days </option> | |||||
| 176 | <optio n value="5 ">> 5 d ays</optio n> | |||||
| 177 | <optio n value="1 0">> 10 days</opt ion> | |||||
| 178 | <optio n value="1 5">> 15 days</opt ion> | |||||
| 179 | <optio n value="3 0">> 30 days</opt ion> | |||||
| 180 | <optio n value="6 0">> 60 days</opt ion> | |||||
| 181 | <optio n value="9 0">> 90 days</opt ion> | |||||
| 182 | <optio n value="1 20">> 1 20 days</o ption> | |||||
| 183 | </select> | |||||
| 184 | </di v> | |||||
| 185 | <div > | |||||
| 186 | <label for ="consentT ype">Conse nt Type</l abel> | |||||
| 187 | <select da ta-tooltip ="<c:out v alue="${de scriptors[ 'delayedCo nsentDetai lReportCon sentTypeFi eld']}" /> " id="cons entType" n ame="conse ntType"> | |||||
| 188 | <optio n value="A LL">ALL</o ption> | |||||
| 189 | <optio n value="N wHIN Autho rization"> <c:out val ue="${orga nizationNa me} Author izations" /></option > | |||||
| 190 | <optio n value="S SA Authori zation">SS A Authoriz ations</op tion> | |||||
| 191 | </select> | |||||
| 192 | </di v> | |||||
| 193 | <div > | |||||
| 194 | <label for ="patientT ypes">Pati ent Types< /label> | |||||
| 195 | <select da ta-tooltip ="<c:out v alue="${de scriptors[ 'patientTy pesField'] }" />" id= "patientTy pes" name= "patientTy pes"> | |||||
| 196 | <optio n value="3 ">ALL</opt ion> | |||||
| 197 | <optio n value="1 "selected> Real Patie nts</optio n> | |||||
| 198 | <optio n value="2 ">Test Pat ients</opt ion> | |||||
| 199 | </select> | |||||
| 200 | </di v> | |||||
| 201 | <div > | |||||
| 202 | <label for ="enteredB y">Entered By</label > | |||||
| 203 | <input dat a-tooltip= "<c:out va lue="${des criptors[' delayedCon sentDetail ReportEnte redByField ']}" />" t itle="Ente red By" id ="enteredB y" name="e nteredBy" type="text " maxlengt h="255" si ze="30" /> | |||||
| 204 | </di v> | |||||
| 205 | </fields et> | |||||
| 206 | <div> | |||||
| 207 | <inp ut name="s earchButto n" id="sea rchButton" title="Se arch" clas s="button" type="but ton" value ="Search" /> | |||||
| 208 | </div> | |||||
| 209 | </ form> | |||||
| 210 | </div> | |||||
| 211 | <div i d="results "> | |||||
| 212 | <div a lign="righ t" class=" pad-top-5" > | |||||
| 213 | <i nput id="e xcelButton " name="ex celButton" class="bu tton" type ="submit" value="Exp ort To Exc el" /> | |||||
| 214 | &n bsp; | |||||
| 215 | <i nput id="c svButton" name="csvB utton" cla ss="button " type="su bmit" valu e="Export To CSV" /> | |||||
| 216 | </div> | |||||
| 217 | <div i d="divRepo rtContent" > | |||||
| 218 | <t able id="r eportTable " class="d isplay" wi dth="100%" cellspaci ng="0" rol e="present ation"> | |||||
| 219 | <thead> | |||||
| 220 | <tr role="row" > | |||||
| 221 | <th role=" columnhead er"><span data-toolt ip="<c:out value="${ descriptor s['eventOc curredColu mn']}" />" id="dateE nteredHead er">Date E ntered (CT )</span></ th> | |||||
| 222 | <th role=" columnhead er"><span data-toolt ip="<c:out value="${ descriptor s['icnColu mn']}" />" id="icnHe ader">ICN< /span></th > | |||||
| 223 | <th role=" columnhead er"><span data-toolt ip="<c:out value="${ descriptor s['ssnColu mn']}" />" id="ssnHe ader">SSN< /span></th > | |||||
| 224 | <th role=" columnhead er"><span data-toolt ip="<c:out value="${ descriptor s['lastNam eColumn']} " />" id=" lastNameHe ader">Last Name</spa n></th> | |||||
| 225 | <th role=" columnhead er"><span data-toolt ip="<c:out value="${ descriptor s['firstNa meColumn'] }" />" id= "firstName Header">Fi rst Name</ span></th> | |||||
| 226 | <th role=" columnhead er"><span data-toolt ip="<c:out value="${ descriptor s['middleN ameColumn' ]}" />" id ="middleNa meHeader"> Middle Nam e</span></ th> | |||||
| 227 | <th role=" columnhead er"><span data-toolt ip="<c:out value="${ descriptor s['delayed ConsentDet ailReportC onsentType Column']}" />" id="c onsentType Header">Co nsent Type </span></t h> | |||||
| 228 | <th role=" columnhead er"><span data-toolt ip="<c:out value="${ descriptor s['reasons ForDelayCo lumn']}" / >" id="rea sonsForDel ayHeader"> Reason(s) for Delay< /span></th > | |||||
| 229 | <th role=" columnhead er"><span data-toolt ip="<c:out value="${ descriptor s['delayed ConsentDet ailReportE nteredByCo lumn']}" / >" id="ent eredByHead er">Entere d By</span ></th> | |||||
| 230 | <th role=" columnhead er"><span data-toolt ip="<c:out value="${ descriptor s['delayed ConsentDet ailReportA uthenticat ingFacilit yColumn']} " />" id=" authFacili tyHeader"> Authentica ting Facil ity</span> </th> | |||||
| 231 | <th role=" columnhead er"><span data-toolt ip="<c:out value="${ descriptor s['delayed ConsentDet ailReporMa iledDatesC olumn']}" />" data-t ooltip-pos ition="lef t" id="mai ledDatesHe ader">Mail ed Dates</ span></th> | |||||
| 232 | </tr > | |||||
| 233 | </thead> | |||||
| 234 | </ table> | |||||
| 235 | </div> | |||||
| 236 | </div> | |||||
| 237 | </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.