4441. EPMO Open Source Coordination Office Redaction File Detail Report

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

4441.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:51:38 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\reporting\common facilitiesDialogAjax.jsp Fri Apr 21 20:03:30 2017 UTC

4441.2 Comparison summary

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

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

4441.4 Active regular expressions

No regular expressions were active.

4441.5 Comparison detail

        1   <%--
        2       Docume nt   : fac ilitiesFil terAjaxRes ults
        3       Create d on : May  18, 2016
        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.su n.com/jsp/ jstl/funct ions" pref ix="fn" %>
        9  
        10   <style>
        11  
        12   .fd-a {
        13       positi on: relati ve;
        14       float:  right;
        15   }
        16  
        17   .fd-checkb ox-facilit y{}
        18  
        19   .fd-checkb ox-station {}
        20  
        21   .fd-label  {
        22       font-w eight: nor mal;
        23   }
        24  
        25   .fd-div-ch eckbox {
        26       white- space: now rap;
        27   }
        28  
        29   .fd-div-ch eckbox-ind ented {
        30       margin -left: 25p x;
        31       white- space: now rap;
        32   }
        33  
        34   .fd-label- visn {
        35       font-s ize: large ;
        36       font-w eight: bol d;
        37       margin -left: 100 px;
        38   }
        39  
        40   .fd-list {
        41           bo rder: 1px  solid gray ;
        42           he ight: 436p x;
        43       overfl ow-x: auto ;
        44           ov erflow-y:  auto;
        45       paddin g-left: 3p x;
        46   }
        47  
        48   .fd-listit em-facilit y {}
        49  
        50   .fd-listit em-station  {}
        51  
        52   .fd-listit em-visn {
        53       margin -top: 18px ;
        54   }
        55  
        56   </style>
        57  
        58   <table>
        59  
        60       <tr>
        61           <t d>
        62                <b>Show  VISNs:</b>
        63                <a class ="fd-a" hr ef="#" dat a-containe r="fd-visn List" data -select=""  style="ma rgin: 0 20 px 0 10px; ">Unselect  all</a>
        64                <a class ="fd-a" hr ef="#" dat a-containe r="fd-visn List" data -select="t rue">Selec t all</a>
        65           </ td>
        66           <t d>
        67                <b>Show  facilities :</b>
        68                <a class ="fd-a" hr ef="#" dat a-containe r="fd-faci lityList"  data-selec t="" style ="margin:  0 50px 0 1 0px;">Unse lect all</ a>
        69                <a class ="fd-a" hr ef="#" dat a-containe r="fd-faci lityList"  data-selec t="true">S elect all< /a>
        70           </ td>
        71           <t d>
        72                <b>Your  selection: </b>
        73                <a class ="fd-a" hr ef="#" dat a-containe r="fd-stat ionList" d ata-select ="" style= "margin: 0  0 0 10px; ">Unselect  all</a>
        74                <a class ="fd-a" hr ef="#" dat a-containe r="fd-stat ionList" d ata-select ="true">Se lect all</ a>
        75           </ td>
        76       </tr>
        77  
        78       <tr>
        79           <t d>
        80                <div id= "fd-visnLi st" class= "fd-list"  style="mar gin-right:  20px; wid th: 322px; ">
        81                    <c:f orEach var ="visn" it ems="${vis ns}">
        82                         <div class ="fd-div-c heckbox">
        83                             <input  type="che ckbox" id= "v<c:out v alue="${vi sn.id}"/>"  checked=" checked"/>
        84                             <label  class="fd -label" fo r="v<c:out  value="${ visn.id}"/ >"><c:out  value="${v isn.visnNa me}"/></la bel>
        85                             <br>
        86                         </div>
        87                    </c: forEach>
        88                </div>
        89           </ td>
        90           <t d>
        91                <c:set v ar="visnId " value="" />
        92                <c:set v ar="groupe dOrder" va lue="0"/>
        93                <div cla ss="fd-lis t" style=" margin-rig ht: 50px;  width: 310 px;">
        94                    <div  id="fd-fa cilityList " style="m argin-top:  -16px;">
        95                         <%--<c:for Each var=" facility"  items="${f acilities} " varStatu s="fStatus ">
        96                             <c:if  test="${fa cility.vis nId ne vis nId}">
        97                                 <c :set var=" visnId" va lue="${fac ility.visn Id}"/>
        98                                 <c :set var=" groupedOrd er" value= "${grouped Order + 1} "/>
        99                                 <d iv class=" fd-listite m-visn" da ta-grouped Order="${1 0000 + gro upedOrder} " data-vis nId="${vis nId}">
        100                                      <label c lass="fd-l abel-visn" >
        101                                          <c:c hoose>
        102                                               <c:when te st="${empt y visnId}" >
        103                                                   Unknow n VISN
        104                                               </c:when>
        105                                               <c:otherwi se>
        106                                                   VISN $ {visnId}
        107                                               </c:otherw ise>
        108                                          </c: choose>
        109                                      </label>
        110                                 </ div>
        111                             </c:if >
        112                             <c:set  var="grou pedOrder"  value="${g roupedOrde r + 1}"/>
        113                             <div c lass="fd-d iv-checkbo x fd-listi tem-facili ty" data-g roupedOrde r="${10000  + grouped Order}" da ta-text="$ {facility. facilityNa me}">
        114                                 <i nput check ed="checke d" class=" fd-checkbo x-facility " data-fac ilityName= "${facilit y.facility Name}" dat a-visnId=" ${facility .visnId}"  id="f${fac ility.faci lityStatio n}" type=" checkbox"/ >
        115                                 <l abel class ="fd-label " for="f${ facility.f acilitySta tion}">${f acility.fa cilityName }</label>
        116                                 <b r>
        117                             </div>
        118                         </c:forEac h>--%>
        119                    </di v>
        120                </div>
        121           </ td>
        122           <t d>
        123                <c:set v ar="visnId " value="" />
        124                <c:set v ar="groupe dOrder" va lue="0"/>
        125                <div cla ss="fd-lis t" style=" width: 310 px;">
        126                    <div  id="fd-st ationList"  style="ma rgin-top:  -16px;">
        127                         <%--<c:for Each var=" facility"  items="${f acilities} " varStatu s="sStatus ">
        128                             <c:if  test="${fa cility.vis nId ne vis nId}">
        129                                 <c :set var=" visnId" va lue="${fac ility.visn Id}"/>
        130                                 <c :set var=" groupedOrd er" value= "${grouped Order + 1} "/>
        131                                 <d iv class=" fd-listite m-visn" da ta-grouped Order="${1 0000 + gro upedOrder} " data-vis nId="${vis nId}">
        132                                      <label c lass="fd-l abel-visn" >
        133                                          <c:c hoose>
        134                                               <c:when te st="${empt y visnId}" >
        135                                                   Unknow n VISN
        136                                               </c:when>
        137                                               <c:otherwi se>
        138                                                   VISN $ {visnId}
        139                                               </c:otherw ise>
        140                                          </c: choose>
        141                                      </label>
        142                                 </ div>
        143                             </c:if >
        144                             <c:set  var="grou pedOrder"  value="${g roupedOrde r + 1}"/>
        145                             <div c lass="fd-d iv-checkbo x fd-listi tem-statio n" data-gr oupedOrder ="${10000  + groupedO rder}" dat a-text="${ facility.f acilityNam e}">
        146                                 <i nput check ed="checke d" class=" fd-checkbo x-facility " data-fac ilityName= "${facilit y.facility Name}" dat a-facility Station="$ {facility. facilitySt ation}" da ta-station Number="${ facility.f acilitySta tion}" dat a-visnId=" ${facility .visnId}"  id="s${fac ility.faci lityStatio n}" type=" checkbox"/ >
        147                                 <l abel class ="fd-label " for="s${ facility.f acilitySta tion}">${f acility.fa cilityName }</label>
        148                                 <b r>
        149                                 <c :forEach v ar="statio n" items=" ${stations }" varStat us="sStatu s">
        150                                      <c:if te st="${fn:s ubstring(s tation.fac ilityStati on, 0, 3)  eq facilit y.facility Station}">
        151                                          <div  class="fd -div-check box-indent ed">
        152                                               <input che cked="chec ked" class ="fd-check box-statio n" data-fa cilityName ="${statio n.facility Name}" dat a-facility Station="$ {facility. facilitySt ation}" da ta-station Number="${ station.fa cilityStat ion}" data -visnId="$ {station.v isnId}" id ="s${stati on.facilit yStation}"  type="che ckbox"/>
        153                                               <label cla ss="fd-lab el" for="s ${station. facilitySt ation}">${ station.fa cilityName }</label>
        154                                               <br>
        155                                          </di v>
        156                                      </c:if>
        157                                 </ c:forEach>
        158                             </div>
        159                         </c:forEac h>--%>
        160                    </di v>
        161                </div>
        162           </ td>
        163       </tr>
        164  
        165   </table>
        166  
        167   <script>
        168  
        169       $(docu ment).read y(function  () {
        170           se tTimeout(f unction()  {
        171                var faci lities = [ ];
        172                var stat ions = [];
        173                <c:set v ar="bad" v alue="'" / >
        174                <c:set v ar="good"  value="//' " />
        175                <c:forEa ch var="fa cility" it ems="${fac ilities}"> facilities .push({fac ilityStati on:'<c:out  value="${ facility.f acilitySta tion}"/>',  facilityN ame:'<c:ou t value="$ {fn:replac e(facility .facilityN ame, bad,  good)}"/>' , visnId:' <c:out val ue="${faci lity.visnI d}"/>'});
        176                </c:forE ach>
        177                <c:forEa ch var="st ation" ite ms="${stat ions}">sta tions.push ({facility Station:'< c:out valu e="${stati on.facilit yStation}" />', facil ityName:'< c:out valu e="${fn:re place(stat ion.facili tyName, ba d, good)}" />', visnI d:'<c:out  value="${s tation.vis nId}"/>'}) ;
        178                </c:forE ach>
        179  
        180                html = ' ';
        181                var visn Id = '';
        182                var grou pedOrder =  0;
        183  
        184                for (var  i = 0; i  < faciliti es.length;  i++) {
        185                    var  facility =  facilitie s[i];
        186                    if ( facility.v isnId !==  visnId) {
        187                         visnId = f acility.vi snId;
        188                         groupedOrd er++;
        189                         html += '< div class= "fd-listit em-visn" d ata-groupe dOrder="'  + (10000 +  groupedOr der) + '"  data-visnI d="' + vis nId + '">' ;
        190                         html += '< label clas s="fd-labe l-visn">';
        191                         html += (v isnId ===  '' ? 'Unkn own VISN'  : 'VISN '  + visnId);
        192                         html += '< /label>';
        193                         html += '< /div>';
        194                    }
        195  
        196                    grou pedOrder++ ;
        197                    html  += '<div  class="fd- div-checkb ox fd-list item-facil ity" data- groupedOrd er="' + (1 0000 + gro upedOrder)  + '" data -text="' +  facility. facilityNa me + '">';
        198                    html  += '<inpu t checked= "checked"  class="fd- checkbox-f acility" d ata-facili tyName="'  + facility .facilityN ame + '"';
        199                    html  += ' data -visnId="'  + facilit y.visnId +  '" id="f'  + facilit y.facility Station +  '" type="c heckbox"/> ';
        200                    html  += '<labe l class="f d-label" f or="f' + f acility.fa cilityStat ion + '">'  + facilit y.facility Name + ' ( ' + facili ty.facilit yStation +  ')</label >';
        201                    html  += '<br>' ;
        202                    html  += '</div >';
        203                }
        204  
        205                $('#fd-f acilityLis t').html(h tml);
        206  
        207                html = ' ';
        208                visnId =  '';
        209                groupedO rder = 0;
        210                for (var  i = 0; i  < faciliti es.length;  i++) {
        211                    var  facility =  facilitie s[i];
        212                    if ( facility.v isnId !==  visnId) {
        213                         visnId = f acility.vi snId;
        214                         groupedOrd er++;
        215                         html += '< div class= "fd-listit em-visn" d ata-groupe dOrder="'  + (10000 +  groupedOr der) + '"  data-visnI d="' + vis nId + '">' ;
        216                         html += '< label clas s="fd-labe l-visn">';
        217                         html += (v isnId ===  '' ? 'Unkn own VISN'  : 'VISN '  + visnId);
        218                         html += '< /label>';
        219                         html += '< /div>';
        220                    }
        221  
        222                    grou pedOrder++ ;
        223                    html  += '<div  class="fd- div-checkb ox fd-list item-stati on" data-g roupedOrde r="' + (10 000 + grou pedOrder)  + '" data- text="' +  facility.f acilityNam e + '">';
        224                    html  += '<inpu t checked= "checked"  class="fd- checkbox-f acility" d ata-facili tyName="'  + facility .facilityN ame + '" d ata-facili tyStation= "' + facil ity.facili tyStation  + '"';
        225                    html  += ' data -stationNu mber="' +  facility.f acilitySta tion + '"  data-visnI d="' + fac ility.visn Id + '" id ="s' + fac ility.faci lityStatio n + '" typ e="checkbo x"/>';
        226                    html  += '<labe l class="f d-label" f or="s' + f acility.fa cilityStat ion + '">'  + facilit y.facility Name + ' ( ' + facili ty.facilit yStation +  ')</label >';
        227                    html  += '<br>' ;
        228                    for  (var j = 0 ; j < stat ions.lengt h; j++) {
        229                         var statio n = statio ns[j];
        230                         if (statio n.facility Station.to String().s ubstr(0, 3 ) === faci lity.facil ityStation ) {
        231                             html + = '<div cl ass="fd-di v-checkbox -indented" >';
        232                             html + = '<input  checked="c hecked" cl ass="fd-ch eckbox-sta tion" data -facilityN ame="' + s tation.fac ilityName  + '" data- facilitySt ation="' +  facility. facilitySt ation + '" ';
        233                             html + = ' data-s tationNumb er="' + st ation.faci lityStatio n + '" dat a-visnId=" ' + statio n.visnId +  '" id="s'  + station .facilityS tation + ' " type="ch eckbox"/>' ;
        234                             html + = '<label  class="fd- label" for ="s' + sta tion.facil ityStation  + '">' +  station.fa cilityName  + ' (' +  station.fa cilityStat ion + ')</ label>';
        235                             html + = '<br>';
        236                             html + = '</div>' ;
        237                         }
        238                    }
        239                    html  += '</div >';
        240                }
        241  
        242                $('#fd-s tationList ').html(ht ml);
        243  
        244                if ($('# fd-selecte dFacilitie s').childr en(':first ').val() ! == 'ALL')  {
        245                    <%--  Default f acility is  selected  --%>
        246                    var  selectedSt ation = $( 'input[nam e="station Numbers"]' ).val().to String();
        247                    var  selectedFa cility = ' ';
        248                    var  selectedVi sn = '';
        249                    $('# fd-station List input [type=chec kbox]').ea ch(functio n() {
        250                         if ($(this ).prop('id ') === 's'  + selecte dStation)  {
        251                             select edFacility  = $(this) .closest(' .fd-listit em-station ').childre n(':first' ).attr('da ta-facilit yStation') ;
        252                             select edVisn = $ (this).clo sest('.fd- listitem-s tation').c hildren(': first').at tr('data-v isnId');
        253                             $(this ).prop('ch ecked', tr ue);
        254                         } else {
        255                             $(this ).prop('ch ecked', fa lse);
        256                         }
        257                    });
        258  
        259                    $('# fd-visnLis t input[ty pe=checkbo x]').each( function()  {
        260                         $(this).pr op('checke d', $(this ).prop('id ') === 'v'  + selecte dVisn);
        261                    });
        262  
        263                    $('# fd-facilit yList inpu t[type=che ckbox]').e ach(functi on() {
        264                         $(this).pr op('checke d', $(this ).prop('id ') === 'f'  + selecte dFacility) ;
        265                    });
        266                }
        267                faciliti esDialog.u pdateCheck boxes(true );
        268                $('#fd-f acilitiesD ialog').di alog('open ');
        269           },  400);
        270       });
        271       
        272       $('.fd -a').on('c lick', fun ction() {
        273           va r containe rId = $(th is).attr(' data-conta iner');
        274           va r checked  = $(this). attr('data -select');
        275           $( '#' + cont ainerId +  ' input[ty pe=checkbo x]').each( function()  {
        276                $(this). prop('chec ked', chec ked);
        277           }) ;
        278           fa cilitiesDi alog.updat eCheckboxe s(false);
        279       });
        280  
        281       $('#fd -facilitie sContainer ').on('cli ck', 'inpu t', functi on() {
        282           va r aggregat e = $('#fd -checkbox- aggregateA tFacilityL evel').is( ':checked' );
        283           if  (aggregat e) {
        284                $('#fd-s tationList  .fd-check box-facili ty').each( function()  {
        285                    var  checked =  $(this).is (':checked ');
        286                    $('. fd-checkbo x-station' , $(this). parent()). each(funct ion () {
        287                         $(this).pr op('checke d', checke d);
        288                    });
        289                });
        290           }
        291           
        292           fa cilitiesDi alog.updat eCheckboxe s(false);
        293       });
        294  
        295       facili tiesDialog .updateChe ckboxes =  function ( loading) {
        296           <% -- Update  facility c heckboxes  --%>
        297           $( '#fd-facil ityList in put[type=c heckbox]') .each(func tion() {
        298                var vid  = 'v' + $( this).attr ('data-vis nId');
        299                var visi ble = $('# ' + vid).i s(':checke d');
        300                $(this). parent().t oggle(visi ble);
        301           }) ;
        302  
        303           <% -- Update  facility V ISN header s --%>
        304           $( '#fd-facil ityList .f d-listitem -visn').ea ch(functio n() {
        305                if ($('# fd-groupBy Visn').is( ':checked' )) {
        306                    var  vid = 'v'  + $(this). attr('data -visnId');
        307                    $('# ' + vid).i s(':checke d') ? $(th is).show()  : $(this) .hide();
        308                } else {
        309                    $(th is).hide() ;
        310                }
        311           }) ;
        312  
        313           <% -- Update  station ch eckboxes - -%>
        314           vi snHeadersT oShow = [] ;
        315           $( '#fd-stati onList inp ut[type=ch eckbox]'). each(funct ion() {
        316                var fid  = 'f' + $( this).attr ('data-fac ilityStati on');
        317                var visi ble = ($(' #' + fid). is(':visib le') || lo ading) &&  $('#' + fi d).is(':ch ecked');
        318                $(this). next().css ({'font-we ight': $(t his).is(': checked')  ? 'bold' :  'normal'} );
        319                $(this). parent().t oggle(visi ble);
        320                if (visi ble) {
        321                    var  visnId = $ (this).att r('data-vi snId');
        322                    visn HeadersToS how[visnId ] = 'show' ;
        323                }
        324           }) ;
        325  
        326           <% -- Update  station VI SN headers  --%>
        327           $( '#fd-stati onList .fd -listitem- visn').eac h(function () {
        328                if ($('# fd-groupBy Visn').is( ':checked' )) {
        329                    var  visnId = $ (this).att r('data-vi snId');
        330                    visn HeadersToS how[visnId ] === 'sho w' ? $(thi s).show()  : $(this). hide();
        331                } else {
        332                    $(th is).hide() ;
        333                }
        334           }) ;
        335       };
        336  
        337   </script>