Produced by Araxis Merge on 6/9/2017 3:51:46 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:46 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 | receivedNwHINDocumentSummaryReport.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 | 245 |
| 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 : Rec eived eHea kth Exchan ge Documen t Summary Report | |||||
| 3 | --%> | |||||
| 4 | ||||||
| 5 | <%@page co ntentType= "text/html " pageEnco ding="UTF- 8"%> | |||||
| 6 | <%@taglib uri="http: //java.sun .com/jsp/j stl/core" prefix="c" %> | |||||
| 7 | <%@taglib uri="http: //java.sun .com/jsp/j stl/fmt" p refix="fmt " %> | |||||
| 8 | <%@taglib uri="http: //java.sun .com/jsp/j stl/functi ons" prefi x="fn" %> | |||||
| 9 | <%@taglib tagdir="/W EB-INF/tag s/cpp" pre fix="cpp" %> | |||||
| 10 | <%@taglib tagdir="/W EB-INF/tag s/date" pr efix="date " %> | |||||
| 11 | <%@taglib tagdir="/W EB-INF/tag s/formatti ng" prefix ="f" %> | |||||
| 12 | <%@page im port="java .util.*" % > | |||||
| 13 | ||||||
| 14 | <f:mainTem plate head erText="Re ceived eHe alth Excha nge Docume nts Summar y Report"> | |||||
| 15 | <scrip t language ="JavaScri pt"> | |||||
| 16 | $( document). ready(func tion () { | |||||
| 17 | $("#star tDate").da tepicker({ | |||||
| 18 | maxD ate: 0, | |||||
| 19 | date Format: 'm m/dd/yy', | |||||
| 20 | onCl ose: funct ion (selec tedDate) { | |||||
| 21 | $("#endDat e").datepi cker("opti on", "minD ate", sele ctedDate); | |||||
| 22 | } | |||||
| 23 | }); | |||||
| 24 | ||||||
| 25 | $("#endD ate").date picker({ | |||||
| 26 | maxD ate: 0, | |||||
| 27 | date Format: 'm m/dd/yy', | |||||
| 28 | onCl ose: funct ion (selec tedDate) { | |||||
| 29 | $("#startD ate").date picker("op tion", "ma xDate", se lectedDate ); | |||||
| 30 | } | |||||
| 31 | }); | |||||
| 32 | ||||||
| 33 | var repo rtTable; | |||||
| 34 | ||||||
| 35 | setProce ssingForDa taTable('r eportTable ', -14); | |||||
| 36 | ||||||
| 37 | reportTa ble = $('# reportTabl e').DataTa ble({ | |||||
| 38 | defe rLoading: 0, | |||||
| 39 | dest roy: true, | |||||
| 40 | ajax : { | |||||
| 41 | url: const ructUrl("d oSearch"), | |||||
| 42 | dataSrc: f unction(js on){ | |||||
| 43 | $('.da taTables_e mpty').rem ove(); | |||||
| 44 | return json.data ; | |||||
| 45 | }, | |||||
| 46 | error: fun ction(o){ | |||||
| 47 | handle ErrorsInDa taTable('r eportTable ', o, 4); | |||||
| 48 | } | |||||
| 49 | }, | |||||
| 50 | info : false, | |||||
| 51 | lang uage: { | |||||
| 52 | emptyTable : "No reco rds found" , | |||||
| 53 | loadingRec ords: "" | |||||
| 54 | }, | |||||
| 55 | pagi ng: false, | |||||
| 56 | proc essing: tr ue, | |||||
| 57 | sear ching: fal se, | |||||
| 58 | serv erSide: tr ue, | |||||
| 59 | colu mnDefs: [ | |||||
| 60 | {className : "dt-head -center", targets: [ 0,1,2]}, | |||||
| 61 | {className : "dt-head -center dt -body-righ t", target s: [3]} | |||||
| 62 | ], | |||||
| 63 | scro llX:true, | |||||
| 64 | initC omplete: f unction(){ | |||||
| 65 | // Enable THEAD scro ll bars | |||||
| 66 | $('.dataTa bles_scrol lHead').cs s('overflo w', 'auto' ); | |||||
| 67 | ||||||
| 68 | // Sync TH EAD scroll ing with T BODY | |||||
| 69 | $('.dataTa bles_scrol lHead').on ('scroll', function () { | |||||
| 70 | $('.da taTables_s crollBody' ).scrollLe ft($(this) .scrollLef t()); | |||||
| 71 | }); | |||||
| 72 | }, | |||||
| 73 | "foo terCallbac k": functi on ( row, data, star t, end, di splay ) { | |||||
| 74 | var api = this.api() , data; | |||||
| 75 | ||||||
| 76 | // Update footer | |||||
| 77 | $(api.colu mn(3).foot er() ).htm l( | |||||
| 78 | api.co lumn(3, {p age:'curre nt'}).data ().sum() | |||||
| 79 | ); | |||||
| 80 | } | |||||
| 81 | }); | |||||
| 82 | ||||||
| 83 | //datata ble overri des | |||||
| 84 | $.fn.dat aTable.ext .errMode = 'none'; | |||||
| 85 | ||||||
| 86 | reportTa ble.on('dr aw', funct ion () { | |||||
| 87 | addA riaToDataT able('repo rtTable', reportTabl e); | |||||
| 88 | }); | |||||
| 89 | ||||||
| 90 | function construct Url(method Name){ | |||||
| 91 | var url= 'Rece ivedNwHIND ocumentSum maryReport .do_sec' + | |||||
| 92 | '?' + methodName + '=true' + | |||||
| 93 | '&star tDate=' + $('#startD ate').val( )+ | |||||
| 94 | '&endD ate=' + $( '#endDate' ).val() + | |||||
| 95 | '&user Id=' + $(' #userId'). val() + | |||||
| 96 | '&orga nization=' + $('#org anization' ).val() + | |||||
| 97 | '&orga nizationNa me=' + $(' #orgName') .val() + | |||||
| 98 | '&faci lity=' + $ ('#facilit y').val() + | |||||
| 99 | '&faci lityName=' + $('#fac ilityName' ).val() + | |||||
| 100 | '&pati entTypes=' + $('#pat ientTypes' ).val()+ | |||||
| 101 | '&sort By=' + $(' #reportTab le').dataT able().fnS ettings(). aaSorting[ 0][0] + | |||||
| 102 | '&sort Order=' + $('#report Table').da taTable(). fnSettings ().aaSorti ng[0][1]; | |||||
| 103 | ||||||
| 104 | retu rn url; | |||||
| 105 | } | |||||
| 106 | ||||||
| 107 | $('#sear chButton') .on('click ', functio n () { | |||||
| 108 | var startDate = $('#star tDate').va l(); | |||||
| 109 | var endDate = $('#endDat e').val(); | |||||
| 110 | ||||||
| 111 | var errorMessa ge = valid ateStartAn dEndDate(s tartDate, endDate); | |||||
| 112 | ||||||
| 113 | if ( errorMessa ge != '') | |||||
| 114 | { | |||||
| 115 | //we have an error s o show the error, an d then don 't send th e ajax req uest | |||||
| 116 | $('#errorM essage').h tml(errorM essage); | |||||
| 117 | $('#errorM essage').s how(); | |||||
| 118 | ||||||
| 119 | return fal se; | |||||
| 120 | } el se { | |||||
| 121 | //no error , let's ma ke the cal l to popul ate the re port | |||||
| 122 | $('#result s').show() ; | |||||
| 123 | reportTabl e.ajax.url (construct Url('doSea rch')).loa d(); | |||||
| 124 | } | |||||
| 125 | }); | |||||
| 126 | ||||||
| 127 | $('.expo rtButton') .on('click ', functio n() { | |||||
| 128 | wind ow.locatio n.href = c onstructUr l($(this). data('meth od')); | |||||
| 129 | retu rn false; | |||||
| 130 | }); | |||||
| 131 | ||||||
| 132 | $('#star tDate,#end Date').on( 'change', function ( ) { | |||||
| 133 | //if either da te changes , hide the error mes sage if it s not alre ady hidden | |||||
| 134 | $('# errorMessa ge').hide( ); | |||||
| 135 | }); | |||||
| 136 | ||||||
| 137 | $('#resu lts').hide (); | |||||
| 138 | }) ; | |||||
| 139 | </scri pt> | |||||
| 140 | <div c lass="form -container "> | |||||
| 141 | <f orm name=" receivedNw HINDocumen SummaryRep ortForm" a ction="Rec eivedNwHIN DocumentSu mmaryRepor t.do_sec" method="PO ST" onsubm it="return doSubmit( this)"> | |||||
| 142 | <fieldse t> | |||||
| 143 | <leg end>Search Details</ legend> | |||||
| 144 | <div id="error Message" c lass="bg-w arning pad -15" style ="display: none;"></ div> | |||||
| 145 | <div class="wi dth-450 pa d-top-10" data-toolt ip="<c:out value="${ descriptor s['startDa teEndDateF ield']}"/> "> | |||||
| 146 | <div> | |||||
| 147 | <label for="star tDate">Sta rt Date</l abel> | |||||
| 148 | <date: date id="s tartDate" name="star tDate" val ue="${star tDateDefau lt}"/> <i> mm/dd/yyyy </i> | |||||
| 149 | </div> | |||||
| 150 | <div> | |||||
| 151 | <label for="endD ate">End D ate</label > | |||||
| 152 | <date: date id="e ndDate" na me="endDat e" value=" ${endDateD efault}"/> <i>mm/dd/ yyyy</i> | |||||
| 153 | </div> | |||||
| 154 | </di v> | |||||
| 155 | <div > | |||||
| 156 | <label for ="userId"> User ID</l abel> | |||||
| 157 | <input tit le="Enter User ID" i d="userId" name="use rId" type= "text" max length="25 5" size="3 0" data-to oltip="<c: out value= "${descrip tors['gene ricUserId' ]}" />" /> | |||||
| 158 | </di v> | |||||
| 159 | <div > | |||||
| 160 | <label | |||||
| 161 | title= "Query bas ed on Pati ent Prefer red Facili ty from th e dropdown list" | |||||
| 162 | for="f acility">P atient Pre ferred Fac ility</lab el> | |||||
| 163 | <select da ta-tooltip ="<c:out v alue="${de scriptors[ 'patientPr eferredFac ilityFilte r']}"/>" i d="facilit y" name="f acility" o nchange = "document. getElement ById('faci lityName') .value = t his.option s[this.sel ectedIndex ].text;"> | |||||
| 164 | <optio n value="" >ALL</opti on> | |||||
| 165 | <c:for Each var=" f" items=" ${faciliti es}"> | |||||
| 166 | <o ption valu e="<c:out value="${f .facilityS tation}"/> " | |||||
| 167 | <c:c hoose> | |||||
| 168 | <c:when te st="${f.fa cilityStat ion eq def aultUserFa cility.fac ilityStati on}"> | |||||
| 169 | select ed | |||||
| 170 | </c:when> | |||||
| 171 | </c: choose>> | |||||
| 172 | <c:choos e> | |||||
| 173 | <c:w hen test=" ${f.facili tyName != ''}"> | |||||
| 174 | <c:out val ue="${f.fa cilityName }"/> | |||||
| 175 | </c: when> | |||||
| 176 | <c:o therwise> | |||||
| 177 | <c:out val ue="${fn:s plit(f.fac ilityDns, '.')[0]}" /> | |||||
| 178 | </c: otherwise> | |||||
| 179 | </c:choo se> | |||||
| 180 | (<c:out value="${f .facilityS tation}"/> ) | |||||
| 181 | </ option> | |||||
| 182 | </c:fo rEach> | |||||
| 183 | </select> | |||||
| 184 | <div> | |||||
| 185 | <label | |||||
| 186 | ti tle="Query based on <c:out val ue="${orga nizationNa me}"/> Org anization from the d ropdown li st" | |||||
| 187 | fo r="organiz ation"><c: out value= "${organiz ationName} "/> Organi zation</la bel> | |||||
| 188 | <selec t data-too ltip="<c:o ut value=" ${descript ors['discl osuresSumm aryReportO rganizatio nField']}" />" id="or ganization " name="or ganization " onchange = "docume nt.getElem entById('o rgName').v alue = thi s.options[ this.selec tedIndex]. text;"> | |||||
| 189 | <o ption valu e="externa l" selecte d>ALL</opt ion> | |||||
| 190 | <c :forEach v ar="r" ite ms="${acti veOrgs}"> | |||||
| 191 | <option value="%<c :out value ="${r.orgO id}"/>"> | |||||
| 192 | <c:o ut value=" ${r.orgNam e}"/> | |||||
| 193 | </option > | |||||
| 194 | </ c:forEach> | |||||
| 195 | <c :forEach v ar="r" ite ms="${inac tiveOrgs}" > | |||||
| 196 | <option value="%<c :out value ="${r.orgO id}"/>">[I NACTIVE] < c:out valu e="${r.org Name}"/></ option> | |||||
| 197 | </ c:forEach> | |||||
| 198 | </sele ct> | |||||
| 199 | </div> | |||||
| 200 | </di v> | |||||
| 201 | <div > | |||||
| 202 | <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> | |||||
| 203 | <select da ta-tooltip ="<c:out v alue="${de scriptors[ 'patientTy pesField'] }"/>" id=" patientTyp es" name=" patientTyp es"> | |||||
| 204 | <optio n value="3 ">ALL</opt ion> | |||||
| 205 | <optio n value="1 " selected >Real Pati ents</opti on> | |||||
| 206 | <optio n value="2 ">Test Pat ients</opt ion> | |||||
| 207 | </select> | |||||
| 208 | </di v> | |||||
| 209 | </fields et> | |||||
| 210 | </ form> | |||||
| 211 | <f orm> | |||||
| 212 | <input t ype="hidde n" name="o rgName" id ="orgName" value="<c :out value ="${orgNam e}"/>"> | |||||
| 213 | <input t ype="hidde n" name="f acilityNam e" id="fac ilityName" value="<c :out value ="${facili tyName}"/> "> | |||||
| 214 | </ form> | |||||
| 215 | <d iv> | |||||
| 216 | <input n ame="searc h" title=" Search" cl ass="butto n" type="s ubmit" val ue="Search " id="sear chButton"/ > | |||||
| 217 | </ div> | |||||
| 218 | </div> | |||||
| 219 | <div i d="results "> | |||||
| 220 | <div a lign="righ t" class=" pad-top-5 pad-bottom -15"> | |||||
| 221 | <a href="#"> <button cl ass="expor tButton" d ata-method ="exportTo Excel" tit le="Export to Excel" >Export to Excel</bu tton></a> | |||||
| 222 | </div> | |||||
| 223 | <div i d="divRepo rtContent" > | |||||
| 224 | <t able id="r eportTable " class="d isplay" wi dth=100% c ellspacing ="0" role= "presentat ion"> | |||||
| 225 | <thead> | |||||
| 226 | <tr role="row" > | |||||
| 227 | <th role=" columnhead er"><span id="organi zationHead er" data-t ooltip="<c :out value ="${descri ptors['rec eivedEHeal thExchange DocumentsS ummaryRepo rtOrganiza tionColumn ']}" />">< c:out valu e="${organ izationNam e}" /> Org anization< /span></th > | |||||
| 228 | <th role=" columnhead er"><span id="facili tyHeader" data-toolt ip="<c:out value="${ descriptor s['receive dEHealthEx changeDocu mentsSumma ryReportVA FacilityCo lumn']}" / >">Patient Preferred Facility< /span></th > | |||||
| 229 | <th role=" columnhead er"><span id="facili tyNumberHe ader" data -tooltip=" <c:out val ue="${desc riptors['p atientPref erredFacil ityStation IdColumn'] }" />">Pat ient Prefe rred Facil ity Statio n ID</span ></th> | |||||
| 230 | <th role=" columnhead er"><span id="totalH eader" dat a-tooltip= "<c:out va lue="${des criptors[' receivedEH ealthExcha ngeDocumen tsSummaryR eportTotal Column']}" />" data- tooltip-po sition="le ft">Total< /span></th > | |||||
| 231 | </tr > | |||||
| 232 | </thead> | |||||
| 233 | <tfoot> | |||||
| 234 | <tr role="row" > | |||||
| 235 | <td role=" gridcell" class="tex t-left foo ter-bold-p ad-left-8" >Total:</t d> | |||||
| 236 | <td role=" gridcell"> </td> | |||||
| 237 | <td role=" gridcell"> </td> | |||||
| 238 | <td role=" gridcell" class="tex t-right fo oter-bold- pad-right- 9"></td> | |||||
| 239 | </tr > | |||||
| 240 | </tfoot> | |||||
| 241 | </ table> | |||||
| 242 | <d iv aria-li ve="polite " role="st atus" id=" reportTabl e_info" cl ass="dataT ables_info hidden">S hows entri es for Exc hange</div ><%-- beca use we don 't have th e "Showing x of x" t urned on f or this ta ble, we ne ed this he re to supp ort aria - -%> | |||||
| 243 | </div> | |||||
| 244 | </div> | |||||
| 245 | </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.