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

4443.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 facilitiesFilter.jspf Fri Apr 21 20:03:30 2017 UTC

4443.2 Comparison summary

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

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

4443.4 Active regular expressions

No regular expressions were active.

4443.5 Comparison detail

        1   <%-- DEPRE CATED: Use  facilitie sFilter.js p instead.  --%>
        2   <%--
        3       Docume nt   : fac ilitiesFil ter
        4       Create d on : May  18, 2016
        5       Author      : Ira kli Kakush adze
        6   --%>
        7  
        8   <%@ taglib  prefix="c " uri="htt p://java.s un.com/jsp /jstl/core " %>
        9   <div style ="overflow : auto;">
        10       <input  type="hid den" id="a ggregateAt FacilityLe vel" name= "aggregate AtFacility Level">
        11       <input  type="hid den" id="i ncludeUnkn ownVisn" n ame="inclu deUnknownV isn">
        12       <label  for="fd-s electedFac ilities">A uthenticat ing Facili ties</labe l>
        13       <div s tyle="disp lay: inlin e; padding : 0;">
        14           <d iv style=" float: lef t; padding : 0;">
        15                <select  id="fd-sel ectedFacil ities" nam e="fd-sele ctedFacili ties" mult iple="mult iple" styl e="height:  86px; ove rflow-x: a uto; overf low-y: aut o; width:  400px;">
        16                    <opt ion>ALL</o ption>
        17                </select >
        18           </ div>
        19           <d iv style=" float: lef t; margin- left: 5px;  padding:  0;">
        20                <button  id="fd-sel ectFacilit ies" alt=" Select one  or more f acilities"  style="ve rtical-ali gn: top;"> Select...< /button><b r>
        21                <button  id="fd-sel ectAll" al t="Select  all facili ties" styl e="margin- top: 5px;  vertical-a lign: top; ">Select A LL</button ><br>
        22           </ div>
        23           <d iv style=" padding: 0 ;">
        24                <input i d="fd-stat ionNumbers " name="st ationNumbe rs" type=" hidden"
        25                    <c:c hoose>
        26                         <c:when te st="${empt y defaultU serFacilit y}">value= "ALL"</c:w hen>
        27                         <c:otherwi se>value=" ${defaultU serFacilit y.facility Station}"< /c:otherwi se>
        28                    </c: choose>
        29                >
        30           </ div>
        31       </div>
        32   </div>
        33  
        34   <div id="f d-faciliti esDialog"  title="Sel ect Facili ties">
        35       <p>Sel ect one or  more faci lities for  filtering  your repo rt results . Use the  left two l ists to <b >narrow do wn</b> the  selection  list on t he right.
        36           Yo u can sele ct all ava ilable fac ilities or  all facil ities with in specifi c VISNs by  clicking  "Select al l" links.< /p>
        37       <div i d="fd-faci litiesCont ainer"></d iv>
        38       <div s tyle="disp lay: inlin e-block; m argin-left : 3px; wid th: 347px; ">
        39           <i nput id="f d-checkbox -includeUn knownVisn"  type="che ckbox"/>
        40           <l abel class ="fd-label " for="fd- checkbox-i ncludeUnkn ownVisn">I nclude con sents with  unknown V ISN</label >
        41       </div>
        42       <div s tyle="disp lay: inlin e-block; w idth: 367p x;">
        43           <i nput check ed="checke d" id="fd- groupByVis n" type="c heckbox"/>
        44           <l abel class ="fd-label " for="fd- groupByVis n">Display  facilitie s grouped  by VISN</l abel>
        45       </div>
        46       <div s tyle="disp lay: inlin e-block;">
        47           <i nput id="f d-checkbox -aggregate AtFacility Level" typ e="checkbo x"/>
        48           <l abel class ="fd-label " for="fd- checkbox-a ggregateAt FacilityLe vel">Aggre gate data  at the fac ility leve l</label>
        49       </div>
        50       <butto n id="fd-r estoreLast Selection"  alt="Rest ore last s election"  style="mar gin-top: 5 px; vertic al-align:  top;">Rest ore last s election</ button>
        51   </div>
        52  
        53   <script>
        54  
        55       var fa cilitiesDi alog = {};
        56  
        57       <c:if  test="${no t empty de faultUserF acility}">
        58           $( '#fd-selec tedFacilit ies').empt y();
        59           $( '#fd-selec tedFacilit ies').appe nd('<optio n>${defaul tUserFacil ity.facili tyName}</o ption>');
        60           $( 'input[nam e="station Numbers"]' ).val('${d efaultUser Facility.f acilitySta tion}');
        61           
        62           $( '#fd-check box-includ eUnknownVi sn').prop( 'checked',  false);
        63           $( '#includeU nknownVisn ').val('fa lse');
        64           
        65           $( '#fd-check box-aggreg ateAtFacil ityLevel') .prop('che cked', fal se);
        66           $( '#aggregat eAtFacilit yLevel').v al('false' );
        67       </c:if >
        68       
        69       $('#fd -checkbox- aggregateA tFacilityL evel').on( 'click', f unction ()  {
        70           fa cilitiesDi alog.handl eAggregati on();
        71       });
        72  
        73       $('#fd -facilitie sDialog'). dialog({
        74           au toOpen: fa lse,
        75           bu ttons: [
        76                {
        77                    clic k: functio n() {
        78                         var aggreg ate = $('# fd-checkbo x-aggregat eAtFacilit yLevel').i s(':checke d');
        79                         var statio nNames = [ ];
        80                         var statio nNumbers =  [];
        81                         $('#fd-sta tionList i nput[type= checkbox]' ).each(fun ction() {
        82                             if ($( this).is(' :visible')  && $(this ).is(':che cked')) {
        83                                 va r stationN umber = $( this).attr ('data-sta tionNumber ');
        84                                 va r stationN ame = $(th is).attr(' data-facil ityName')  + ' (' + s tationNumb er + ')';
        85                                 if  (aggregat e) {
        86                                      if (stat ionNumber. length ===  3) {
        87                                          stat ionNames.p ush(statio nName);
        88                                          stat ionNumbers .push(stat ionNumber) ;
        89                                      }
        90                                 }  else {
        91                                      if (stat ionNumber. length > 3 ) {
        92                                          stat ionName =  '&nbsp;&nb sp;&nbsp;& nbsp;' + s tationName ;
        93                                      }
        94                                      stationN ames.push( stationNam e);
        95                                      stationN umbers.pus h(stationN umber);
        96                                 }
        97                             }
        98                         });
        99  
        100                         if (aggreg ate) {
        101                             if (st ationNames .length == = $('#fd-f acilityLis t input[ty pe=checkbo x]').lengt h) {
        102                                 <% -- All fac ilities ar e checked,  so we wil l treat th e selectio n as 'ALL'  --%>
        103                                 va r stationN ames = ['A LL'];
        104                                 va r stationN umbers = [ 'ALL'];
        105                             }
        106                         } else {
        107                             if (st ationNames .length == = $('#fd-s tationList  input[typ e=checkbox ]').length ) {
        108                                 <% -- All fac ilities ar e checked,  so we wil l treat th e selectio n as 'ALL'  --%>
        109                                 va r stationN ames = ['A LL'];
        110                                 va r stationN umbers = [ 'ALL'];
        111                             }
        112                         }
        113  
        114                         $('#fd-sel ectedFacil ities').em pty();
        115                         for (var i  in statio nNames) {
        116                             $('#fd -selectedF acilities' ).append(' <option>'  + stationN ames[i] +  '</option> ');
        117                         }
        118                         $('input[n ame="stati onNumbers" ]').val(st ationNumbe rs.join(', '));  
        119  
        120                         <%-- Store  the curre nt state o f the dial og so that  we can re store it o n demand.  --%>
        121                         facilities Dialog.sto reState();
        122  
        123                         $('#includ eUnknownVi sn').val($ ('#fd-chec kbox-inclu deUnknownV isn').is(' :checked') );
        124                         $('#aggreg ateAtFacil ityLevel') .val($('#f d-checkbox -aggregate AtFacility Level').is (':checked '));
        125                        
        126                         $(this).di alog('clos e');
        127                    },
        128                    text : 'OK'
        129                },
        130                {
        131                    clic k: functio n() {
        132                         $(this).di alog('clos e');
        133                    },
        134                    text : 'Cancel'
        135                }
        136           ],
        137           mo dal: true,
        138           op en: functi on () {
        139                if (wind ow.locatio n.pathname .indexOf(' SummaryRep ort') < 0)  {
        140                    $('# fd-checkbo x-aggregat eAtFacilit yLevel').p arent().hi de();
        141                }
        142           },
        143           sh ow: {
        144                effect:  'blind',
        145                duration : 300
        146           },
        147           wi dth: 1064
        148       });
        149  
        150       $('#fd -groupByVi sn').on('c lick', fun ction () {
        151           if  ($(this). is(':check ed')) {
        152                faciliti esDialog.s ortFacilit iesGrouped ();
        153           }  else {
        154                faciliti esDialog.s ortFacilit iesFlat();
        155           }
        156       });
        157  
        158       $('#fd -restoreLa stSelectio n').on('cl ick', func tion () {
        159           va r state =  sessionSto rage.getIt em('filter DialogStat e');
        160           if  (state != = null) {
        161                var chec kboxes = s tate.split (',');
        162                for (var  i in chec kboxes) {
        163                    var  values = c heckboxes[ i].split(' :');
        164                    var  id = value s[0];
        165                    var  checked =  values[1]  === '1';
        166                    $('# ' + id).pr op('checke d', checke d);
        167                }
        168                faciliti esDialog.h andleAggre gation();
        169                faciliti esDialog.u pdateCheck boxes(fals e);
        170           }
        171       });
        172  
        173       $('#fd -selectAll ').click(f unction (e vent) {
        174           ev ent.preven tDefault() ;
        175           $( '#fd-selec tedFacilit ies').empt y();
        176           $( '#fd-selec tedFacilit ies').appe nd('<optio n>ALL</opt ion>');
        177           $( 'input[nam e="station Numbers"]' ).val(['AL L']);
        178  
        179           $( '#fd-visnL ist input[ type=check box]').eac h(function () {
        180               $(this).p rop('check ed', true) ;
        181           }) ;
        182           
        183           $( '#fd-facil ityList in put[type=c heckbox]') .each(func tion() {
        184                $(this). prop('chec ked', true );
        185           }) ;
        186           
        187           $( '#fd-stati onList inp ut[type=ch eckbox]'). each(funct ion() {
        188                $(this). prop('chec ked', true );
        189           }) ;
        190       });
        191  
        192       $('#fd -selectFac ilities'). click(func tion (even t) {
        193           ev ent.preven tDefault() ;
        194           if  ($('#fd-s tationList ').length)  {
        195                <%-- Dia log has al ready been  loaded, s o we simpl y open it.  --%>
        196                $('#fd-f acilitiesD ialog').di alog('open ');
        197           }  else {
        198                $.get('F acilitiesD ialog.do_s ec?getFaci litiesDial og=true',
        199                    {},
        200                    func tion(resul t) {
        201                         $('#fd-fac ilitiesCon tainer').h tml(result );
        202                    }
        203                ).fail(f unction(ev ent) {
        204                    aler t('failed' );
        205                    cons ole.log(ev ent.toStri ng());
        206                });
        207           }
        208       });
        209  
        210       facili tiesDialog .getAggreg ateAtFacil ityLevel =  function  () {
        211           re turn $('#a ggregateAt FacilityLe vel').val( );
        212       };
        213  
        214       facili tiesDialog .getInclud eUnknownVi sn = funct ion () {
        215           re turn $('#i ncludeUnkn ownVisn'). val();
        216       };
        217  
        218       facili tiesDialog .getSelect edStationN umbers = f unction ()  {
        219           re turn $('in put[name=" stationNum bers"]').v al();
        220       };
        221  
        222       facili tiesDialog .handleAgg regation =  function  () {
        223           va r aggregat eAtFacilit yLevel = $ ('#fd-chec kbox-aggre gateAtFaci lityLevel' ).is(':che cked');
        224           $( '#fd-stati onList .fd -listitem- station'). each(funct ion() {
        225                var faci lityChecke d = $(this ).children (0).is(':c hecked');
        226                $(this). children(' .fd-div-ch eckbox-ind ented').ea ch(functio n() {
        227                    var  checkbox =  $(this).c hildren('i nput');
        228                    var  label = $( this).chil dren('labe l');
        229                    if ( aggregateA tFacilityL evel) {
        230                         checkbox.p rop('check ed', facil ityChecked );
        231                    }
        232                    chec kbox.prop( 'disabled' , aggregat eAtFacilit yLevel);
        233                    labe l.css('col or', aggre gateAtFaci lityLevel  ? '#767676 ' : 'black ');
        234                    labe l.css('fon t-weight',  checkbox. is(':check ed') ? 'bo ld' : 'nor mal');
        235                    labe l.prop('di sabled', a ggregateAt FacilityLe vel);
        236                });
        237           }) ;
        238       };
        239       
        240       facili tiesDialog .sortFacil itiesGroup ed = funct ion () {
        241           <% -- Sort fa cility lis t. --%>
        242           va r items =  $('#fd-fac ilityList' ).children ('.fd-list item-facil ity, .fd-l istitem-vi sn').sort( function(a , b) {
        243                var text A = a.attr ibutes['da ta-grouped Order'].va lue;
        244                var text B = b.attr ibutes['da ta-grouped Order'].va lue;
        245                return t extA.toLow erCase() >  textB.toL owerCase()  ? 1 : -1;
        246           }) ;
        247           $( '#fd-facil ityList'). append(ite ms);
        248  
        249           <% -- Sort st ation list . --%>
        250           va r items =  $('#fd-sta tionList') .children( '.fd-listi tem-statio n, .fd-lis titem-visn ').sort(fu nction(a,  b) {
        251                var text A = a.attr ibutes['da ta-grouped Order'].va lue;
        252                var text B = b.attr ibutes['da ta-grouped Order'].va lue;
        253                return t extA.toLow erCase() >  textB.toL owerCase()  ? 1 : -1;
        254           }) ;
        255           $( '#fd-stati onList').a ppend(item s);
        256  
        257           <% -- To show /hide the  VISN heade rs, we can  simply up date the c heckboxes.  --%>
        258           fa cilitiesDi alog.updat eCheckboxe s(false);
        259  
        260           <% -- Get rid  of the em pty space  on top of  the top-mo st VISN he ader. --%>
        261           $( '#fd-facil ityList'). css('margi n-top', '- 16px');
        262           $( '#fd-stati onList').c ss('margin -top', '-1 6px');
        263       };
        264  
        265       facili tiesDialog .sortFacil itiesFlat  = function  () {
        266           <% -- Sort fa cility lis t. --%>
        267           va r items =  $('#fd-fac ilityList' ).children ('.fd-list item-facil ity').sort (function( a, b) {
        268                var text A = a.attr ibutes['da ta-text']. value;
        269                var text B = b.attr ibutes['da ta-text']. value;
        270                return t extA.toLow erCase() >  textB.toL owerCase()  ? 1 : -1;
        271           }) ;
        272           $( '#fd-facil ityList'). append(ite ms);
        273  
        274           <% -- Sort st ation list . --%>
        275           va r items =  $('#fd-sta tionList') .children( '.fd-listi tem-statio n').sort(f unction(a,  b) {
        276                var text A = a.attr ibutes['da ta-text']. value;
        277                var text B = b.attr ibutes['da ta-text']. value;
        278                return t extA.toLow erCase() >  textB.toL owerCase()  ? 1 : -1;
        279           }) ;
        280           $( '#fd-stati onList').a ppend(item s);
        281  
        282           <% -- We're s howing a f lat list,  so we need  to hide a ll VISN he aders. --% >
        283           $( '#fd-facil itiesConta iner .fd-l istitem-vi sn').each( function()  {
        284                $(this). hide();
        285           }) ;
        286  
        287           <% -- Since w e're not s howing VIS N headers  we need to  get rid o f the top  margin adj ustment. - -%>
        288           $( '#fd-facil ityList'). css('margi n-top', '0 px');
        289           $( '#fd-stati onList').c ss('margin -top', '0p x');
        290       };
        291  
        292       facili tiesDialog .storeStat e = functi on () {
        293           va r state =  [];
        294           
        295           $( '#fd-visnL ist input[ type=check box]').eac h(function () {
        296                state.pu sh($(this) .prop('id' ) + ':' +  ($(this).i s(':checke d') ? '1'  : '0'));
        297           }) ;
        298           
        299           $( '#fd-facil ityList in put[type=c heckbox]') .each(func tion() {
        300                state.pu sh($(this) .prop('id' ) + ':' +  ($(this).i s(':checke d') ? '1'  : '0'));
        301           }) ;
        302           
        303           $( '#fd-stati onList inp ut[type=ch eckbox]'). each(funct ion() {
        304                state.pu sh($(this) .prop('id' ) + ':' +  ($(this).i s(':checke d') ? '1'  : '0'));
        305           }) ;
        306           
        307           st ate.push(' fd-checkbo x-includeU nknownVisn ' + ':' +  ($('#fd-ch eckbox-inc ludeUnknow nVisn').is (':checked ') ? '1' :  '0'));
        308           
        309           st ate.push(' fd-checkbo x-aggregat eAtFacilit yLevel' +  ':' + ($(' #fd-checkb ox-aggrega teAtFacili tyLevel'). is(':check ed') ? '1'  : '0'));
        310           
        311           se ssionStora ge.setItem ('filterDi alogState' , state.to String());
        312       };
        313  
        314   </script>