4505. EPMO Open Source Coordination Office Redaction File Detail Report

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

4505.1 Files compared

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

4505.2 Comparison summary

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

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

4505.4 Active regular expressions

No regular expressions were active.

4505.5 Comparison detail

        1   <%--
        2       Docume nt   : Opt -in/Opt-ou t Report
        3       Create d By : Dav id Vasquez  / Robert  Snelling
        4       Modifi ed By: Ash a Amritraj , Stephen  Miller, Da rren Hende rson
        5   --%>
        6   <%@page im port="gov. va.nvap.sv c.facility .data.Faci lity"%>
        7   <%@page im port="java .util.Hash Map"%>
        8   <%@page tr imDirectiv eWhitespac es="true"  %>
        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   <f:mainTem plate head erText="Co nsent Dire ctive Repo rt">
        29       <scrip t language ="JavaScri pt">
        30           // Used by 'v iew' butto n in excha nge final  table colu mn
        31           fu nction doc umentView( documentUn iqueID){
        32                $('#docu mentUnique Id').val(d ocumentUni queID);
        33                document .getElemen tById('doc umentViewF orm').subm it();
        34           }
        35  
        36           $( document). ready(func tion () {
        37                $("#star tDate").da tepicker({
        38                    maxD ate: 0,
        39                    date Format: 'm m/dd/yy',
        40                    onCl ose: funct ion (selec tedDate) {
        41                         $("#endDat e").datepi cker("opti on", "minD ate", sele ctedDate);
        42                    }
        43                });
        44  
        45                $("#endD ate").date picker({
        46                    maxD ate: 0,
        47                    date Format: 'm m/dd/yy',
        48                    onCl ose: funct ion (selec tedDate) {
        49                         $("#startD ate").date picker("op tion", "ma xDate", se lectedDate );
        50                    }
        51                });
        52  
        53                $('#ssn' ).focus();
        54  
        55                $('#cons entType'). on('change ', functio n (e) {
        56                    if ( $(this).va l().toLowe rCase().in dexOf('rev ocations')  > -1) {
        57                         $('#inacti vationReas onDiv').sh ow();
        58                    } el se {
        59                         $('#inacti vationReas onDiv').hi de();
        60                         $('#inacti vationReas on').val(' ');
        61                    }
        62                });
        63  
        64                setProce ssingForDa taTable('r eportTable ');
        65  
        66                reportTa ble = $('# reportTabl e').DataTa ble({
        67                    defe rLoading:  0,
        68                    dest roy: true,
        69                    ajax :{
        70                         url: const ructUrl('d oSearch')
        71                    },
        72                    dom:  'liptipr' ,
        73                    serv erSide: tr ue,
        74                    proc essing: tr ue,
        75                    sear ching: fal se,
        76                    lang uage: {
        77                         emptyTable : "No reco rds found" ,
        78                         loadingRec ords: ""
        79                    },
        80                    leng thMenu: [  10, 25, 50 , 100, 250 , 500 ],
        81                    colu mnDefs: [
        82                         {orderable : false, t argets: [1 2]},
        83                         {
        84                             target s: 0,
        85                             data:  null,
        86                             render : function (data,type ,full,meta ){
        87                                 re turn '<a h ref="#/" o nclick="li nkToPatien t(\''+data [13]+'\',  \''+data[1 ]+'\', \'' +data[2]+' \');">'+da ta[0]+'</a >';
        88                             }
        89                         },
        90                         {
        91                             target s: 12,
        92                             data:  null,
        93                             render : function (data,type ,full,meta ){
        94                                 // Not all ro ws have at tachments  so display  nothing i f thats th e case
        95                                 if (data[14]  && "true"  === data[1 4]){
        96                                      return ' <a href="# /" onclick ="document View(\''+d ata[12]+'\ ');">view< /a>';
        97                                 }  else {
        98                                      return " ";
        99                                 }
        100                             }
        101                         },
        102                         {className : "vap-col -min-80 dt -head-cent er", targe ts: [0,7]} ,
        103                         {className : "vap-col -min-100 d t-head-cen ter", targ ets: 6},
        104                         {className : "vap-col -min-130 d t-head-cen ter", targ ets: [3,9] },
        105                         {className : "vap-col -min-150 d t-head-cen ter", targ ets: 11},
        106                         {className : "dt-head -center",  targets: [ 1,2,4,5,8, 10,12]}
        107                    ],
        108                    page Length: 25 ,
        109                    scro llX:true,
        110                    init Complete:  function() {
        111                         // Enable  THEAD scro ll bars
        112                         $('.dataTa bles_scrol lHead').cs s('overflo w', 'auto' );
        113  
        114                         // Sync TH EAD scroll ing with T BODY
        115                         $('.dataTa bles_scrol lHead').on ('scroll',  function  () {
        116                             $('.da taTables_s crollBody' ).scrollLe ft($(this) .scrollLef t());
        117                         });
        118                    },
        119                    orde r: [[3, "d esc"]]
        120                 });
        121  
        122                // DataT able overr ides
        123                $.fn.dat aTable.ext .errMode =  'none';
        124  
        125                reportTa ble.on('dr aw', funct ion () {
        126                    addA riaToDataT able('repo rtTable',  reportTabl e);
        127                });
        128  
        129                $('#sear chButton') .on('click ', functio n () {
        130                    var  startDate  = $('#star tDate').va l();
        131                    var  endDate =  $('#endDat e').val();
        132  
        133                    var  errorMessa ge = valid ateStartAn dEndDate(s tartDate,  endDate);
        134  
        135                    if ( errorMessa ge != '')
        136                    {
        137                         //we have  an error s o show the  error, an d then don 't send th e ajax req uest
        138                         $('#errorM essage').h tml(errorM essage);
        139                         $('#errorM essage').s how();
        140  
        141                         return fal se;
        142                    } el se {
        143                         //no error , let's ma ke the cal l to popul ate the re port
        144                         $('#result s').show() ;
        145                         reportTabl e.ajax.url (construct Url('doSea rch')).loa d();
        146                    }
        147                });
        148  
        149                $('#star tDate,#end Date').on( 'change',  function ( ) {
        150                    //if  either da te changes , hide the  error mes sage if it s not alre ady hidden
        151                    $('# errorMessa ge').hide( );
        152                });
        153  
        154                $('#resu lts').hide ();
        155           }) ;
        156  
        157           co nstructUrl  = functio n(methodNa me){
        158                var url  = 'OptInOp tOutReport .do_sec?'  + methodNa me +'=true ' +
        159                         '&ssn=' +  $('#ssn'). val() +
        160                         '&lastName =' + $('#l astName'). val() +
        161                         '&firstNam e=' + $('# firstName' ).val() +
        162                         '&userId='  + $('#ent eredBy').v al() +
        163                         '&startDat e=' + $('# startDate' ).val() +
        164                         '&endDate= ' + $('#en dDate').va l() +
        165                         '&patientT ypes=' + $ ('#patient Types').va l() +
        166                         '&consentT ype=' + $( '#consentT ype').val( ) +
        167                         '&stationN umbers=' +  facilitie sDialog.ge tSelectedS tationNumb ers() +
        168                         '&inactiva tionReason =' + $('#i nactivatio nReason'). val() +
        169                         '&consentT ypeName='  + $('#cons entTypeNam e').val()+
        170                         '&includeU nknownVisn =' + facil itiesDialo g.getInclu deUnknownV isn() +
        171                         '&sortBy='  + $('#rep ortTable') .dataTable ().fnSetti ngs().aaSo rting[0][0 ] +
        172                         '&sortOrde r=' + $('# reportTabl e').dataTa ble().fnSe ttings().a aSorting[0 ][1] +
        173                         '&enteredB y=' + $('# enteredBy' ).val();
        174  
        175                if (meth odName ===  'exportTo Csv' || me thodName = == 'export ToExcel')  {
        176                    url  = url + '& totalRows= ' + report Table.page .info().re cordsTotal ;
        177                }
        178                return u rl;
        179           };
        180       </scri pt>
        181  
        182       <div c lass="well ">
        183           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.
        184       </div>
        185  
        186       <cpp:e rrors />
        187  
        188       <div c lass="form -container ">
        189           <f orm name=" optInOptOu tReportFor m" action= "OptInOptO utReport.d o_sec" met hod="POST"  onsubmit= "return do Submit(thi s)">
        190                <fieldse t>
        191                    <inp ut type="h idden" id= "consentTy peName" na me="consen tTypeName" >
        192                    <leg end>Search  Details</ legend>
        193                    <div  id="error Message" c lass="bg-w arning pad -15" style ="display:  none;"></ div>
        194                    <div  class="pa d-top-10">
        195                         <label for ="ssn">SSN  <i><span  style="fon t-weight:n ormal;">(# ########)< /span></i> </label>
        196                         <input tit le="Enter  SSN. Enter  numbers o nly no hyp hens" id=" ssn" name= "ssn" type ="text" ma xlength="9 " size="9"  data-tool tip="<c:ou t value="$ {descripto rs['ssnFie ld']}" />" /> <i><spa n style="f ont-weight :normal;">  (Enter nu mbers only , no hyphe ns.)</span ></i> &nbs p;
        197                    </di v>
        198                    <div >
        199                         <label for ="lastName ">Last Nam e</label>
        200                         <input tit le="Enter  Last Name"  id="lastN ame" name= "lastName"  type="tex t" maxleng th="255" s ize="30" d ata-toolti p="<c:out  value="${d escriptors ['lastName Field']}"  />"/>
        201                    </di v>
        202                    <div >
        203                         <label for ="firstNam e">First N ame</label >
        204                         <input tit le="Enter  First Name " id="firs tName" nam e="firstNa me" type=" text" maxl ength="255 " size="30 " data-too ltip="<c:o ut value=" ${descript ors['first NameField' ]}" />"/>
        205                    </di v>
        206                    <div  class="wi dth-450" i d="dateTip " data-too ltip="<c:o ut value=" ${descript ors['start DateEndDat eField']}" />">
        207                         <div>
        208                             <label  for="star tDate">Sta rt Date</l abel>
        209                             <date: date id="s tartDate"  name="star tDate" val ue="${star tDateDefau lt}"/> <i> mm/dd/yyyy </i>
        210                         </div>
        211                         <div>
        212                             <label  for="endD ate">End D ate</label >
        213                             <date: date id="e ndDate" na me="endDat e" value=" ${endDateD efault}"/>  <i>mm/dd/ yyyy</i>
        214                         </div>
        215                    </di v>
        216                    <jsp :include p age="repor ting/commo n/faciliti esFilter.j sp">
        217                         <jsp:param  name="def aultUserFa cility" va lue="${def aultUserFa cility}" / >
        218                         <jsp:param  name="def aultUserFa cilityName " value="$ {defaultUs erFacility Name}" />
        219                         <jsp:param  name="def aultUserFa cilityStat ion" value ="${defaul tUserFacil ityStation }" />
        220                         <jsp:param  name="fac ilityFilte rTooltip"  value="${f acilityFil terTooltip }" />
        221                    </js p:include>
        222                    <div >
        223                         <label for ="consentT ype">Conse nt Type <s pan style= "display:n one;">"Que ry based o n consent  type from  the dropdo wn list"</ span></lab el>
        224                         <select id ="consentT ype" name= "consentTy pe"
        225                                 do cument.get ElementByI d('consent TypeName') .value = t his.option s[this.sel ectedIndex ].text;" d ata-toolti p="<c:out  value="${d escriptors ['consentT ypeField'] }" />">
        226                             <optio n value=""  selected> ALL</optio n>
        227                             <optio n value="a llAuthoriz ations">AL L Authoriz ations</op tion>
        228                             <optio n value="a llRevocati ons" >ALL  Revocation s</option>
        229                             <optio n value="N wHINAuthor izations"  ><c:out va lue="${org anizationN ame}"/> Au thorizatio ns</option >
        230                             <optio n value="S SAAuthoriz ations" >S SA Authori zations</o ption>
        231                             <optio n value="N wHINRevoca tions" ><c :out value ="${organi zationName }"/> Revoc ations</op tion>
        232                             <optio n value="S SARevocati ons" >SSA  Revocation s</option>
        233                             <optio n value="N wHINRestri ctions" >< c:out valu e="${organ izationNam e}"/> Rest rictions</ option>
        234                             <optio n value="N wHINRestri ctionRevoc ations" >< c:out valu e="${organ izationNam e}"/> Rest riction Re vocations< /option>
        235                         </select>
        236                    </di v>
        237                    <div  id="inact ivationRea sonDiv" st yle="displ ay: none;" >
        238                         <label for ="inactiva tionReason ">Inactiva tion Reaso n<span sty le="displa y:none;">" Query base d on Autho rization o r Revocati on from th e dropdown  list"</sp an></label >
        239                         <select id ="inactiva tionReason " name="in activation Reason">
        240                             <optio n value=""  selected> ALL</optio n>
        241                             <optio n value="N ew Authori zation">Ne w Authoriz ation</opt ion>
        242                             <optio n value="P atient Dec eased" >Pa tient Dece ased</opti on>
        243                             <optio n value="E ntered in  Error" >En tered in E rror</opti on>
        244                             <optio n value="A uthorizati on Expired " >Authori zation Exp ired</opti on>
        245                             <optio n value="R evoked" >R evoked</op tion>
        246                         </select>
        247                    </di v>
        248                    <div >
        249                         <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>
        250                         <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']}" /> "/>
        251                    </di v>
        252                    <div >
        253                         <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>
        254                         <select id ="patientT ypes" name ="patientT ypes" data -tooltip=" <c:out val ue="${desc riptors['p atientType sField']}"  />">
        255                             <optio n value="3 ">ALL</opt ion>
        256                             <optio n value="1 " selected >Real Pati ents</opti on>
        257                             <optio n value="2 ">Test Pat ients</opt ion>
        258                         </select>
        259                    </di v>
        260                </fields et>
        261           </ form>
        262           <d iv>
        263                <input n ame="searc h" title=" Search" cl ass="butto n" type="s ubmit" val ue="Search " id="sear chButton"/ >
        264           </ div>
        265       </div>
        266       <div i d="results ">
        267       <div a lign="righ t" class=" pad-top-5" >
        268           <i nput id="e xcelButton " name="ex celButton"  class="bu tton" type ="submit"  value="Exp ort To Exc el" />
        269           &n bsp;&nbsp;
        270           <i nput id="c svButton"  name="csvB utton" cla ss="button " type="su bmit" valu e="Export  To CSV" />
        271       </div>
        272       <div i d="divRepo rtContent" >
        273           <% @include f ile="patie ntLinkForm .jsp"%>
        274           <f orm action ="OptInOpt OutReport. do_sec" me thod="POST " target=" _blank" on submit="re turn doSub mit(this)"  id="docum entViewFor m">
        275                <input t ype="hidde n" name="v iew" value ="true">
        276                <input t ype="hidde n" name="d ocumentUni queId" val ue="" id=" documentUn iqueId">
        277           </ form>
        278           <t able id="r eportTable " class="d isplay" wi dth="100%"  cellspaci ng="0" rol e="present ation">
        279                <thead>
        280                    <tr  role="row" >
        281                         <th role=" columnhead er"><span  id="ssnHea der" data- tooltip="< c:out valu e="${descr iptors['ss nColumn']} " />">SSN< /span></th >
        282                         <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>
        283                         <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>
        284                         <th role=" columnhead er"><span  id="timeOf EventHeade r" data-to oltip="<c: out value= "${descrip tors['even tOccurredC olumn']}"  />">Time o f Event (C T)</span>< /th>
        285                         <th role=" columnhead er"><span  id="patien tSignature Header" da ta-tooltip ="<c:out v alue="${de scriptors[ 'consentDi rectiveDet ailedRepor tPatientSi gnatureDat eColumn']} " />">Pati ent Signat ure/<br /> Patient De ceased Dat e</span></ th>
        286                         <th role=" columnhead er"><span  id="pouHea der" data- tooltip="< c:out valu e="${descr iptors['pu rposeOfUse Column']}"  />">Purpo se of Use< /span></th >
        287                         <th role=" columnhead er"><span  id="consen tTypeHeade r" data-to oltip="<c: out value= "${descrip tors['cons entTypeSan sAllColumn ']}" />">C onsent Typ e</span></ th>
        288                         <th role=" columnhead er"><span  id="inacti vationReas onHeader"  data-toolt ip="<c:out  value="${ descriptor s['consent DirectiveD etailedRep ortInactiv ationReaso nColumn']} " />">Inac tivation R eason</spa n></th>
        289                         <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>
        290                         <th role=" columnhead er"><span  id="facili tyHeader"  data-toolt ip="<c:out  value="${ descriptor s['consent DirectiveD etailedRep ortAuthent icatingFac ilityColum n']}" />"> Authentica ting Facil ity</span> </th>
        291                         <th role=" columnhead er"><span  id="facili tyIdHeader " data-too ltip="<c:o ut value=" ${descript ors['conse ntDirectiv eDetailedR eportAuthe nticatingF acilitySta tionIdColu mn']}" />" >Authentic ating Faci lity Stati on ID</spa n></th>
        292                         <th role=" columnhead er"><span  id="visnHe ader" data -tooltip=" <c:out val ue="${desc riptors['v isnForAuth enticating FacilityCo lumn']}" / >" data-to oltip-posi tion="left ">VISN</sp an></th>
        293                         <th role=" columnhead er"><span  id="viewHe ader" data -tooltip=" <c:out val ue="${desc riptors['g enericView Column']}"  />" data- tooltip-po sition="le ft">View</ span></th>
        294                    </tr >
        295                </thead>
        296           </ table>
        297       </div>
        298       </div>
        299   </f:mainTe mplate>