4509. EPMO Open Source Coordination Office Redaction File Detail Report

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.

4509.1 Files compared

# 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 optInOptOutSummaryReport.jsp Fri Apr 21 20:15:58 2017 UTC

4509.2 Comparison summary

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

4509.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

4509.4 Active regular expressions

No regular expressions were active.

4509.5 Comparison detail

        1   <%--
        2       Docume nt   : Opt -in/Opt-ou t Summary  Report
        3       Create d By : Dav id Vasquez  / Robert  Snelling
        4       Modifi ed By: Ash a Amritraj
        5   --%>
        6   <%@page im port="gov. va.nvap.sv c.facility .data.Faci lity"%>
        7   <%@page im port="java .util.Hash Map"%>
        8   <%@page co ntentType= "text/html " pageEnco ding="UTF- 8"%>
        9   <%@taglib  uri="http: //java.sun .com/jsp/j stl/core"  prefix="c"  %>
        10   <%@taglib  uri="http: //java.sun .com/jsp/j stl/fmt" p refix="fmt " %>
        11   <%@taglib  uri="http: //java.sun .com/jsp/j stl/functi ons" prefi x="fn" %>
        12   <%@taglib  tagdir="/W EB-INF/tag s/cpp" pre fix="cpp"  %>
        13   <%@taglib  tagdir="/W EB-INF/tag s/date" pr efix="date " %>
        14   <%@taglib  tagdir="/W EB-INF/tag s/formatti ng" prefix ="f" %>
        15  
        16   <%
        17       HashMa p tips = ( HashMap) s ession.get Attribute( "descripto rs");
        18       String  facilityF ilterToolt ip = (Stri ng) tips.g et("authen ticatingFa cilityFiel d");
        19       Facili ty default UserFacili ty = (Faci lity) sess ion.getAtt ribute("de faultUserF acility");
        20       String  defaultUs erFacility Name = def aultUserFa cility ==  null ? ""  : defaultU serFacilit y.getFacil ityName();
        21       String  defaultUs erFacility Station =  defaultUse rFacility  == null ?  "" : defau ltUserFaci lity.getFa cilityStat ion();
        22       pageCo ntext.setA ttribute(" facilityFi lterToolti p", facili tyFilterTo oltip);
        23       pageCo ntext.setA ttribute(" defaultUse rFacility" , defaultU serFacilit y);
        24       pageCo ntext.setA ttribute(" defaultUse rFacilityN ame", defa ultUserFac ilityName) ;
        25       pageCo ntext.setA ttribute(" defaultUse rFacilityS tation", d efaultUser FacilitySt ation);
        26   %>
        27  
        28   <!DOCTYPE  HTML PUBLI C "-//W3C/ /DTD HTML  4.01 Trans itional//E N"
        29       "http: //www.w3.o rg/TR/html 4/loose.dt d">
        30  
        31   <f:mainTem plate head erText="Co nsent Dire ctive Summ ary Report ">
        32       <scrip t language ="JavaScri pt">
        33           $( document). ready(func tion () {
        34                $("#star tDate").da tepicker({
        35                    maxD ate: 0,
        36                    date Format: 'm m/dd/yy',
        37                    onCl ose: funct ion (selec tedDate) {
        38                         $("#endDat e").datepi cker("opti on", "minD ate", sele ctedDate);
        39                    }
        40                });
        41  
        42                $("#endD ate").date picker({
        43                    maxD ate: 0,
        44                    date Format: 'm m/dd/yy',
        45                    onCl ose: funct ion (selec tedDate) {
        46                         $("#startD ate").date picker("op tion", "ma xDate", se lectedDate );
        47                    }
        48                });
        49  
        50                setProce ssingForDa taTable('r eportTable ', -14);
        51  
        52                var repo rtTable =  $('#report Table').Da taTable({
        53                    defe rLoading:  0,
        54                    dest roy: true,
        55                    ajax : construc tUrl("doSe arch"),
        56                    info : false,
        57                    lang uage: {
        58                         emptyTable : "No reco rds found" ,
        59                         loadingRec ords: ""
        60                    },
        61                    orde ring: true ,
        62                    pagi ng: false,
        63                    proc essing: tr ue,
        64                    sear ching: fal se,
        65                    serv erSide: tr ue,
        66                    colu mnDefs: [
        67                         {className : "width-3 50 dt-head -center",  targets: [ 0]},
        68                         {className : "dt-head -center dt -body-righ t", target s: [1,2,3, 4,5,6]}
        69                    ],
        70                    scro llX:true,
        71                    init Complete:  function() {
        72                         // Enable  THEAD scro ll bars
        73                         $('.dataTa bles_scrol lHead').cs s('overflo w', 'auto' );
        74  
        75                         // Sync TH EAD scroll ing with T BODY
        76                         $('.dataTa bles_scrol lHead').on ('scroll',  function  () {
        77                             $('.da taTables_s crollBody' ).scrollLe ft($(this) .scrollLef t());
        78                         });
        79                    },
        80                    "foo terCallbac k": functi on ( row,  data, star t, end, di splay ) {
        81                         var api =  this.api() , data;
        82  
        83                         // Update  footers
        84                         $(api.colu mn(1).foot er() ).htm l(
        85                             api.co lumn(1, {p age:'curre nt'}).data ().sum()
        86                         );
        87  
        88                         $(api.colu mn(2).foot er() ).htm l(
        89                             api.co lumn(2, {p age:'curre nt'}).data ().sum()
        90                         );
        91  
        92                         $(api.colu mn(3).foot er() ).htm l(
        93                             api.co lumn(3, {p age:'curre nt'}).data ().sum()
        94                         );
        95  
        96                         $(api.colu mn(4).foot er() ).htm l(
        97                             api.co lumn(4, {p age:'curre nt'}).data ().sum()
        98                         );
        99  
        100                         $(api.colu mn(5).foot er() ).htm l(
        101                             api.co lumn(5, {p age:'curre nt'}).data ().sum()
        102                         );
        103  
        104                         $(api.colu mn(6).foot er() ).htm l(
        105                             api.co lumn(6, {p age:'curre nt'}).data ().sum()
        106                         );
        107                    }
        108                });
        109  
        110                //datata ble overri des
        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                $('#sear chButton') .on('click ', functio n () {
        118                    var  startDate  = $('#star tDate').va l();
        119                    var  endDate =  $('#endDat e').val();
        120  
        121                    var  errorMessa ge = valid ateStartAn dEndDate(s tartDate,  endDate);
        122  
        123                    if ( errorMessa ge != '')
        124                    {
        125                         //we have  an error s o show the  error, an d then don 't send th e ajax req uest
        126                         $('#errorM essage').h tml(errorM essage);
        127                         $('#errorM essage').s how();
        128  
        129                         return fal se;
        130                    } el se {
        131                         //no error , let's ma ke the cal l to popul ate the re port
        132                         $('#result s').show() ;
        133                         reportTabl e.ajax.url (construct Url('doSea rch')).loa d();
        134                    }
        135                });
        136  
        137                $('.expo rtButton') .on('click ', functio n () {
        138                    wind ow.locatio n.href = c onstructUr l($(this). data('meth od'));
        139                    retu rn false;
        140                });
        141  
        142                function  construct Url(method Name) {
        143                    var  url = 'Opt InOptOutSu mmaryRepor t.do_sec'  +
        144                         '?' + meth odName + ' =true' +
        145                         '&startDat e=' + $('# startDate' ).val() +
        146                         '&endDate= ' + $('#en dDate').va l() +
        147                         '&actionTy pe=' + $(' #actionTyp e').val()  +
        148                         '&stationN umbers=' +  facilitie sDialog.ge tSelectedS tationNumb ers() +
        149                         '&patientT ypes=' + $ ('#patient Types').va l() +
        150                         '&enteredB y=' + $('# enteredBy' ).val() +
        151                         '&includeU nknownVisn =' + facil itiesDialo g.getInclu deUnknownV isn() +
        152                         '&aggregat eAtFacilit yLevel=' +  facilitie sDialog.ge tAggregate AtFacility Level()+
        153                         '&sortBy='  + $('#rep ortTable') .dataTable ().fnSetti ngs().aaSo rting[0][0 ] +
        154                         '&sortOrde r=' + $('# reportTabl e').dataTa ble().fnSe ttings().a aSorting[0 ][1];
        155                    retu rn url;
        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  
        167       <div c lass="well ">
        168           Fi ll in the  fields bel ow to narr ow your se arch. All  dates will  be includ ed if Star t Date and  End Date  are left b lank.
        169       </div>
        170       <div c lass="form -container ">
        171           <f orm name=" optInOptOu tSummaryRe portForm">
        172                <fieldse t>
        173                    <inp ut type="h idden" id= "consentTy peName" na me="consen tTypeName"  />
        174                    <leg end>Search  Details</ legend>
        175                    <div  id="error Message" c lass="bg-w arning pad -15" style ="display:  none;"></ div>
        176                    <div  class="wi dth-450 pa d-top-10"  id="dateTi p" data-to oltip="<c: out value= "${descrip tors['star tDateEndDa teField']} "/>">
        177                         <div>
        178                             <label  for="star tDate">Sta rt Date</l abel>
        179                             <date: date id="s tartDate"  name="star tDate" val ue="${star tDateDefau lt}"/> <i> mm/dd/yyyy </i>
        180                         </div>
        181                         <div>
        182                             <label  for="endD ate">End D ate</label >
        183                             <date: date id="e ndDate" na me="endDat e"  value= "${endDate Default}"  /> <i>mm/d d/yyyy</i>
        184                         </div>
        185                    </di v>
        186                    <jsp :include p age="repor ting/commo n/faciliti esFilter.j sp">
        187                         <jsp:param  name="def aultUserFa cility" va lue="${def aultUserFa cility}" / >
        188                         <jsp:param  name="def aultUserFa cilityName " value="$ {defaultUs erFacility Name}" />
        189                         <jsp:param  name="def aultUserFa cilityStat ion" value ="${defaul tUserFacil ityStation }" />
        190                         <jsp:param  name="fac ilityFilte rTooltip"  value="${f acilityFil terTooltip }" />
        191                    </js p:include>
        192                    <div >
        193                         <label for ="enteredB y">Entered  By<span s tyle="disp lay:none;" >"Partial  or full ID  of the us er that en tered or s ubmitted t he consent "</span></ label>
        194                         <input tit le="Entere d By" id=" enteredBy"  name="ent eredBy" ty pe="text"  maxlength= "255" size ="30" data -tooltip=" <c:out val ue="${desc riptors['e nteredByFi eld']}" /> "/>
        195                    </di v>
        196                    <div >
        197                         <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>
        198                         <select id ="patientT ypes" name ="patientT ypes" data -tooltip=" <c:out val ue="${desc riptors['p atientType sField']}"  />">
        199                             <optio n value="3 ">ALL</opt ion>
        200                             <optio n value="1 " selected >Real Pati ents</opti on>
        201                             <optio n value="2 ">Test Pat ients</opt ion>
        202                         </select>
        203                    </di v>
        204                </fields et>
        205           </ form>
        206           <d iv>
        207                <input n ame="searc h" title=" Search" cl ass="butto n" type="s ubmit" val ue="Search " id="sear chButton"/ >
        208           </ div>
        209       </div>
        210       <div i d="results ">
        211       <div a lign="righ t" class=" pad-top-5  pad-bottom -15">
        212           <a  href="#"> <button cl ass="expor tButton" d ata-method ="exportTo Excel" tit le="Export  to Excel" >Export to  Excel</bu tton></a>
        213       </div>
        214       <div i d="divRepo rtContent" >
        215           <t able id="r eportTable " class="d isplay" wi dth="100%"  cellspaci ng="0" rol e="present ation">
        216                <thead>
        217                    <tr  role="row" >
        218                         <th role=" columnhead er"><span  id="authFa cilityHead er" data-t ooltip="<c :out value ="${descri ptors['aut henticatin gFacilityC olumn']}"  />">Authen ticating F acility</s pan></th>
        219                         <th role=" columnhead er"><span  data-toolt ip="<c:out  value="${ descriptor s['consent DirectiveS ummaryAuth orizations ']}" />">$ {organizat ionName} A uthorizati ons</span> </th>
        220                         <th role=" columnhead er"><span  data-toolt ip="<c:out  value="${ descriptor s['consent DirectiveS ummaryRevo cations']} " />">${or ganization Name} Revo cations</s pan></th>
        221                         <th role=" columnhead er"><span  data-toolt ip="<c:out  value="${ descriptor s['consent DirectiveS ummaryRest rictions'] }" />">${o rganizatio nName} Res trictions< /span></th >
        222                         <th role=" columnhead er"><span  data-toolt ip="<c:out  value="${ descriptor s['consent DirectiveS ummaryRest rictionRev ocations'] }" />">${o rganizatio nName} Res triction R evocations </span></t h>
        223                         <th role=" columnhead er"><span  data-toolt ip="<c:out  value="${ descriptor s['consent DirectiveS ummarySSAA uthorizati ons']}" /> ">SSA Auth orizations </span></t h>
        224                         <th role=" columnhead er"><span  data-toolt ip="<c:out  value="${ descriptor s['consent DirectiveS ummarySSAR evocations ']}" />" d ata-toolti p-position ="left" >S SA Revocat ions</span ></th>
        225                    </tr >
        226                </thead>
        227                <tfoot>
        228                    <tr  role="row" >
        229                         <td role=" gridcell"  class="foo ter-bold-p ad-left-8  text-left" >Total:</t d>
        230                         <td role=" gridcell"  class="foo ter-bold-p ad-right-9  text-righ t"></td>
        231                         <td role=" gridcell"  class="foo ter-bold-p ad-right-9  text-righ t"></td>
        232                         <td role=" gridcell"  class="foo ter-bold-p ad-right-9  text-righ t"></td>
        233                         <td role=" gridcell"  class="foo ter-bold-p ad-right-9  text-righ t"></td>
        234                         <td role=" gridcell"  class="foo ter-bold-p ad-right-9  text-righ t"></td>
        235                         <td role=" gridcell"  class="foo ter-bold-p ad-right-9  text-righ t"></td>
        236                    </tr >
        237                </tfoot>
        238           </ table>
        239           <d iv aria-li ve="polite " role="st atus" id=" reportTabl e_info" cl ass="dataT ables_info  hidden">S hows conse nt directi ve summary  data</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 - -%>
        240       </div>
        241       </div>
        242   </f:mainTe mplate>