4524. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/9/2017 3:51:45 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.

4524.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:51:45 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 patientDiscoverySummaryReport.jsp Fri Apr 21 20:15:58 2017 UTC

4524.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 0 0
Changed 0 0
Inserted 1 280
Removed 0 0

4524.3 Comparison options

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

4524.4 Active regular expressions

No regular expressions were active.

4524.5 Comparison detail

        1   <%--
        2       Docume nt   : pat ientDiscov erySummary Report
        3       Create d on : Jun  5, 2015,  12:04:48 P M
        4       Author      : Ira kli Kakush adze
        5   --%>
        6  
        7   <%@taglib  uri="http: //java.sun .com/jsp/j stl/core"  prefix="c" %>
        8   <%@taglib  uri="http: //java.sun .com/jsp/j stl/fmt" p refix="fmt "%>
        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/date" pr efix="date "%>
        12   <%@taglib  tagdir="/W EB-INF/tag s/formatti ng" prefix ="f" %>
        13   <%@page im port="java .util.*"%>
        14  
        15   <f:mainTem plate head erText="Pa tient Disc overy Audi t Summary  Report">
        16       <scrip t language ="JavaScri pt">
        17           $( document). ready(func tion () {
        18                $("#star tDate").da tepicker({
        19                    maxD ate: 0,
        20                    date Format: 'm m/dd/yy',
        21                    onCl ose: funct ion (selec tedDate) {
        22                         $("#endDat e").datepi cker("opti on", "minD ate", sele ctedDate);
        23                    }
        24                });
        25  
        26                $("#endD ate").date picker({
        27                    maxD ate: 0,
        28                    date Format: 'm m/dd/yy',
        29                    onCl ose: funct ion (selec tedDate) {
        30                         $("#startD ate").date picker("op tion", "ma xDate", se lectedDate );
        31                    }
        32                });
        33  
        34                var repo rtTable;
        35  
        36                setProce ssingForDa taTable('r eportTable ', -14);
        37  
        38                //update s datatabl es with aj axed data  along with  audit cou nt
        39                reportTa ble = $('# reportTabl e').DataTa ble({
        40                    defe rLoading:  0,
        41                    dest roy: true,
        42                    ajax : {
        43                         url: const ructUrl("d oSearch"),
        44                         dataSrc: f unction(js on){
        45                             $('.da taTables_e mpty').rem ove();
        46                             return  json.data ;
        47                         },
        48                         error: fun ction(o){
        49                             handle ErrorsInDa taTable('r eportTable ', o, 9);
        50                         }
        51                    },
        52                    info : false,
        53                    lang uage: {
        54                         emptyTable : "No reco rds found" ,
        55                         loadingRec ords: ""
        56                    },
        57                    orde ring: true ,
        58                    pagi ng: false,
        59                    proc essing: tr ue,
        60                    sear ching: fal se,
        61                    serv erSide: tr ue,
        62                    colu mnDefs: [
        63                         {className : "width-2 00 dt-head -center",  targets: [ 0,1]},
        64                         {className : "width-1 00 dt-body -right dt- head-cente r", target s: [2,3,4, 5,6,7,8]}
        65                    ],
        66                    scro llX:true,
        67                    init Complete:  function() {
        68                         // Enable  THEAD scro ll bars
        69                         $('.dataTa bles_scrol lHead').cs s('overflo w', 'auto' );
        70  
        71                         // Sync TH EAD scroll ing with T BODY
        72                         $('.dataTa bles_scrol lHead').on ('scroll',  function  () {
        73                             $('.da taTables_s crollBody' ).scrollLe ft($(this) .scrollLef t());
        74                         });
        75                    },
        76                    "foo terCallbac k": functi on ( row,  data, star t, end, di splay ) {
        77                         var api =  this.api() , data;
        78  
        79                         // Update  footer
        80                         $(api.colu mn(2).foot er() ).htm l(
        81                             api.co lumn(2, {p age:'curre nt'}).data ().sum()
        82                         );
        83  
        84                         $(api.colu mn(3).foot er() ).htm l(
        85                             api.co lumn(3, {p age:'curre nt'}).data ().sum()
        86                         );
        87  
        88                         $(api.colu mn(4).foot er() ).htm l(
        89                             api.co lumn(4, {p age:'curre nt'}).data ().sum()
        90                         );
        91  
        92                         $(api.colu mn(5).foot er() ).htm l(
        93                             api.co lumn(5, {p age:'curre nt'}).data ().sum()
        94                         );
        95  
        96                         $(api.colu mn(6).foot er() ).htm l(
        97                             api.co lumn(6, {p age:'curre nt'}).data ().sum()
        98                         );
        99  
        100                         $(api.colu mn(7).foot er() ).htm l(
        101                             api.co lumn(7, {p age:'curre nt'}).data ().sum()
        102                         );
        103  
        104                         $(api.colu mn(8).foot er() ).htm l(
        105                             api.co lumn(8, {p age:'curre nt'}).data ().sum()
        106                         );
        107                    }
        108                });
        109  
        110                // DataT able overr ides
        111                $.fn.dat aTable.ext .errMode =  'none';
        112  
        113                reportTa ble.on('dr aw', funct ion () {
        114                    addA riaToDataT able('repo rtTable',  reportTabl e);
        115                });
        116  
        117                function  construct Url(method Name){
        118                    var  url= 'Pati entDiscove rySummaryR eport.do_s ec' +
        119                         '?' + meth odName + ' =true' +
        120                         '&startDat e=' + $('# startDate' ).val()+
        121                         '&endDate= ' + $('#en dDate').va l() +
        122                         '&userId='  + $('#use rId').val( ) +
        123                         '&organiza tion=' + $ ('#organiz ation').va l() +
        124                         '&organiza tionName='  + $('#org Name').val () +
        125                         '&facility =' + $('#f acility'). val() +
        126                         '&facility Name=' + $ ('#facilit yName').va l() +
        127                         '&patientT ypes=' + $ ('#patient Types').va l() +
        128                         '&sortBy='  + $('#rep ortTable') .dataTable ().fnSetti ngs().aaSo rting[0][0 ] +
        129                         '&sortOrde r=' + $('# reportTabl e').dataTa ble().fnSe ttings().a aSorting[0 ][1];
        130                    retu rn url;
        131                }
        132  
        133                $('#sear chButton') .on('click ', functio n () {
        134                    var  startDate  = $('#star tDate').va l();
        135                    var  endDate =  $('#endDat e').val();
        136  
        137                    var  errorMessa ge = valid ateStartAn dEndDate(s tartDate,  endDate);
        138  
        139                    if ( errorMessa ge != '')
        140                    {
        141                         //we have  an error s o show the  error, an d then don 't send th e ajax req uest
        142                         $('#errorM essage').h tml(errorM essage);
        143                         $('#errorM essage').s how();
        144  
        145                         return fal se;
        146                    } el se {
        147                         //no error , let's ma ke the cal l to popul ate the re port
        148                         $('#result s').show() ;
        149                         reportTabl e.ajax.url (construct Url('doSea rch')).loa d();
        150                    }
        151                });
        152  
        153                $('.expo rtButton') .on('click ', functio n() {
        154                    wind ow.locatio n.href = c onstructUr l($(this). data('meth od'));
        155                    retu rn false;
        156                });
        157  
        158                $('#star tDate,#end Date').on( 'change',  function ( ) {
        159                    //if  either da te changes , hide the  error mes sage if it s not alre ady hidden
        160                    $('# errorMessa ge').hide( );
        161                });
        162  
        163                $('#resu lts').hide ();
        164           }) ;
        165       </scri pt>
        166       <div c lass="form -container ">
        167           <f orm name=" patientDis coverySumm aryReportF orm">
        168                <fieldse t>
        169                    <leg end>Search  Details</ legend>
        170                    <div  id="error Message" c lass="bg-w arning pad -15" style ="display:  none;"></ div>
        171                    <div  class="wi dth-450 pa d-top-10"  data-toolt ip="<c:out  value="${ descriptor s['startDa teEndDateF ield']}"/> ">
        172                         <div>
        173                             <label  for="star tDate">Sta rt Date</l abel>
        174                             <date: date id="s tartDate"  name="star tDate" val ue="${star tDateDefau lt}"/> <i> mm/dd/yyyy </i>
        175                         </div>
        176                         <div>
        177                             <label  for="endD ate">End D ate</label >
        178                             <date: date id="e ndDate" na me="endDat e" value=" ${endDateD efault}"/>  <i>mm/dd/ yyyy</i>
        179                         </div>
        180                    </di v>
        181                    <div >
        182                         <label for ="userId"> User ID</l abel>
        183                         <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' ]}" />" />
        184                    </di v>
        185                    <div >
        186                         <label
        187                             title= "Query bas ed on Pati ent Prefer red Facili ty from th e dropdown  list"
        188                             for="f acility">P atient Pre ferred Fac ility</lab el>
        189                         <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;">
        190                             <optio n value="" >ALL</opti on>
        191                             <c:for Each var=" f" items=" ${faciliti es}">
        192                                 <o ption valu e="<c:out  value="${f .facilityS tation}"/> "
        193                                          <c:c hoose>
        194                                               <c:when te st="${f.fa cilityStat ion eq def aultUserFa cility.fac ilityStati on}">
        195                                                   select ed
        196                                               </c:when>
        197                                          </c: choose>>
        198                                      <c:choos e>
        199                                          <c:w hen test=" ${f.facili tyName !=  ''}">
        200                                               <c:out val ue="${f.fa cilityName }"/>
        201                                          </c: when>
        202                                          <c:o therwise>
        203                                               <c:out val ue="${fn:s plit(f.fac ilityDns,  '.')[0]}"  />
        204                                          </c: otherwise>
        205                                      </c:choo se>
        206                                      (<c:out  value="${f .facilityS tation}"/> )
        207                                 </ option>
        208                             </c:fo rEach>
        209                         </select>
        210                         <div>
        211                             <label
        212                                 ti tle="Query  based on  <c:out val ue="${orga nizationNa me}"/> Org anization  from the d ropdown li st"
        213                                 fo r="organiz ation"><c: out value= "${organiz ationName} "/> Organi zation</la bel>
        214                             <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;">
        215                                 <o ption valu e="" selec ted>ALL</o ption>
        216                                 <c :forEach v ar="r" ite ms="${acti veOrgs}">
        217                                      <option  value="%<c :out value ="${r.orgO id}"/>">
        218                                          <c:o ut value=" ${r.orgNam e}"/>
        219                                      </option >
        220                                 </ c:forEach>
        221                                 <c :forEach v ar="r" ite ms="${inac tiveOrgs}" >
        222                                      <option  value="%<c :out value ="${r.orgO id}"/>">[I NACTIVE] < c:out valu e="${r.org Name}"/></ option>
        223                                 </ c:forEach>
        224                             </sele ct>
        225                         </div>
        226                    </di v>
        227                    <div >
        228                         <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>
        229                         <select da ta-tooltip ="<c:out v alue="${de scriptors[ 'patientTy pesField'] }"/>" id=" patientTyp es" name=" patientTyp es">
        230                             <optio n value="3 ">ALL</opt ion>
        231                             <optio n value="1 " selected >Real Pati ents</opti on>
        232                             <optio n value="2 ">Test Pat ients</opt ion>
        233                         </select>
        234                    </di v>
        235                </fields et>
        236                <input t ype="hidde n" name="o rgName" id ="orgName"  value="<c :out value ="${orgNam e}"/>">
        237                <input t ype="hidde n" name="f acilityNam e" id="fac ilityName"  value="<c :out value ="${facili tyName}"/> ">
        238           </ form>
        239           <d iv>
        240                <input n ame="searc h" title=" Search" cl ass="butto n" type="s ubmit" val ue="Search " id="sear chButton"/ >
        241           </ div>
        242       </div>
        243       <div i d="results ">
        244       <div a lign="righ t" class=" pad-top-5  pad-bottom -15">
        245           <a  href="#"> <button cl ass="expor tButton" d ata-method ="exportTo Excel" tit le="Export  to Excel" >Export to  Excel</bu tton></a>
        246       </div>
        247       <div i d="divRepo rtContent" >
        248           <t able id="r eportTable " class="d isplay" wi dth=100% c ellspacing ="0" role= "presentat ion">
        249                <thead>
        250                    <tr  role="row" >
        251                         <th role=" columnhead er"><span  id="orgHea der" data- tooltip="< c:out valu e="${descr iptors['eH ealthExcha ngeOrganiz ationColum n']}" />"> <c:out val ue="${orga nizationNa me}" /> Or ganization </span></t h>
        252                         <th role=" columnhead er"><span  id="facili tyHeader"  data-toolt ip="<c:out  value="${ descriptor s['vaFacil ityColumn' ]}" />">Pa tient Pref erred Faci lity</span ></th>
        253                         <th role=" columnhead er"><span  id="audits Header" da ta-tooltip ="<c:out v alue="${de scriptors[ 'auditsCol umn']}" /> ">Audits</ span></th>
        254                         <th role=" columnhead er"><span  id="unique RealPatien tsHeader"  data-toolt ip="<c:out  value="${ descriptor s['uniqueR ealPatient sCountColu mn']}" />" >Unique Re al Patient s</span></ th>
        255                         <th role=" columnhead er"><span  id="matche sFoundReal PatientsHe ader" data -tooltip=" <c:out val ue="${desc riptors['m atchesFoun dForRealPa tientsCoun tColumn']} " />">Matc hes Found  for Real P atients</s pan></th>
        256                         <th role=" columnhead er"><span  id="matchF ailsRealPa tientsHead er" data-t ooltip="<c :out value ="${descri ptors['fai lsForRealP atientsCou ntColumn'] }" />">Mat ch Fails f or Real Pa tients</sp an></th>
        257                         <th role=" columnhead er"><span  id="unique TestPatien tsHeader"  data-toolt ip="<c:out  value="${ descriptor s['uniqueT estPatient sCountColu mn']}" />" >Unique Te st Patient s</span></ th>
        258                         <th role=" columnhead er"><span  id="matche sFoundTest PatientsHe ader" data -tooltip=" <c:out val ue="${desc riptors['m atchesFoun dForTestPa tientsCoun tColumn']} " />">Matc hes Found  for Test P atients</s pan></th>
        259                         <th role=" columnhead er"><span  id="matchF ailsTestPa tientsHead er" data-t ooltip="<c :out value ="${descri ptors['fai lsForTestP atientsCou ntColumn'] }" />" dat a-tooltip- position=" left">Matc h Fails fo r Test Pat ients</spa n></th>
        260                    </tr >
        261                </thead>
        262                <tfoot>
        263                    <tr  role="row" >
        264                         <%--Filled  in by dat atables, t otal--%>
        265                         <td role=" gridcell"  class="tex t-left foo ter-bold-p ad-left-8" >Total:</t d>
        266                         <td role=" gridcell"> </td>
        267                         <td role=" gridcell"  class="tex t-right fo oter-bold- pad-right- 9"></td>
        268                         <td role=" gridcell"  class="tex t-right fo oter-bold- pad-right- 9"></td>
        269                         <td role=" gridcell"  class="tex t-right fo oter-bold- pad-right- 9"></td>
        270                         <td role=" gridcell"  class="tex t-right fo oter-bold- pad-right- 9"></td>
        271                         <td role=" gridcell"  class="tex t-right fo oter-bold- pad-right- 9"></td>
        272                         <td role=" gridcell"  class="tex t-right fo oter-bold- pad-right- 9"></td>
        273                         <td role=" gridcell"  class="tex t-right fo oter-bold- pad-right- 9"></td>
        274                    </tr >
        275                </tfoot>
        276           </ table>
        277           <d iv aria-li ve="polite " role="st atus" id=" reportTabl e_info" cl ass="dataT ables_info  hidden">S hows audit  summary d ata</div>< %-- becaus e we don't  have the  "Showing x  of x" tur ned on for  this tabl e, we need  this here  to suppor t aria --% >
        278       </div>
        279       </div>
        280   </f:mainTe mplate>