4473. EPMO Open Source Coordination Office Redaction File Detail Report

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

4473.1 Files compared

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

4473.2 Comparison summary

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

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

4473.4 Active regular expressions

No regular expressions were active.

4473.5 Comparison detail

        1   <%--
        2       Docume nt   : Dis closure Su mmary Repo rt
        3   --%>
        4  
        5   <%@taglib  uri="http: //java.sun .com/jsp/j stl/core"  prefix="c" %>
        6   <%@taglib  uri="http: //java.sun .com/jsp/j stl/fmt" p refix="fmt "%>
        7   <%@taglib  uri="http: //java.sun .com/jsp/j stl/functi ons" prefi x="fn"%>
        8   <%@taglib  tagdir="/W EB-INF/tag s/cpp" pre fix="cpp"% >
        9   <%@taglib  tagdir="/W EB-INF/tag s/date" pr efix="date "%>
        10   <%@taglib  tagdir="/W EB-INF/tag s/formatti ng" prefix ="f" %>
        11   <%@page im port="java .util.*"%>
        12  
        13   <f:mainTem plate head erText="Di sclosures  Summary Re port">
        14       <scrip t language ="JavaScri pt">
        15           $( document). ready(func tion () {
        16                setFocus (disclosur eSummaryRe portForm.s ource);
        17  
        18                $('#sour ce').on('c hange', fu nction ()  {
        19                    hand leSourceCh ange();
        20                });
        21  
        22                $("#star tDate").da tepicker({
        23                    maxD ate: 0,
        24                    date Format: 'm m/dd/yy',
        25                    onCl ose: funct ion (selec tedDate) {
        26                         $("#endDat e").datepi cker("opti on", "minD ate", sele ctedDate);
        27                    }
        28                });
        29  
        30                $("#endD ate").date picker({
        31                    maxD ate: 0,
        32                    date Format: 'm m/dd/yy',
        33                    onCl ose: funct ion (selec tedDate) {
        34                         $("#startD ate").date picker("op tion", "ma xDate", se lectedDate );
        35                    }
        36                });
        37  
        38                var repo rtTable;
        39  
        40                setFocus (disclosur eSummaryRe portForm.s ource);
        41  
        42                //call t able with  default va lues on ar rival
        43                buildTab le(true);
        44  
        45                //initia l data tab le setup a nd call fo r the firs t recordse t
        46                $.fn.dat aTable.ext .errMode =  'none';
        47  
        48                reportTa ble.on('dr aw', funct ion () {
        49                    addA riaToDataT able('exch angeReport Table', re portTable) ;
        50                    addA riaToDataT able('dire ctReportTa ble', repo rtTable);
        51                });
        52  
        53                function  buildTabl e(loadingP age) {
        54                    if ( loadingPag e) {
        55                         setProcess ingForData Table('exc hangeRepor tTable', - 14);
        56  
        57                         reportTabl e = $('#ex changeRepo rtTable'). DataTable( {
        58                             deferL oading: 0,
        59                             destro y: true,
        60                             ajax:  {
        61                                 ur l: constru ctUrl("doS earch"),
        62                                 da taSrc: fun ction(json ){
        63                                      $('.data Tables_emp ty').remov e();
        64                                      return j son.data;
        65                                 },
        66                                 er ror: funct ion(o){
        67                                      handleEr rorsInData Table('exc hangeRepor tTable', o , 3);
        68                                 }
        69                             },
        70                             info:  false,
        71                             langua ge: {
        72                                 em ptyTable:  "No record s found",
        73                                 lo adingRecor ds: ""
        74                             },
        75                             paging : false,
        76                             proces sing: true ,
        77                             search ing: false ,
        78                             server Side: true ,
        79                             column Defs: [
        80                                 {c lassName:  "dt-head-c enter", ta rgets: [0, 1,2]},
        81                                 {c lassName:  "dt-head-c enter dt-b ody-right" , targets:  [3]}
        82                             ],
        83                             scroll X:true,
        84                             initCo mplete: fu nction(){
        85                                 //  Enable TH EAD scroll  bars
        86                                 $( '.dataTabl es_scrollH ead').css( 'overflow' , 'auto');
        87  
        88                                 //  Sync THEA D scrollin g with TBO DY
        89                                 $( '.dataTabl es_scrollH ead').on(' scroll', f unction ()  {
        90                                      $('.data Tables_scr ollBody'). scrollLeft ($(this).s crollLeft( ));
        91                                 }) ;
        92                             },
        93                             "foote rCallback" : function  ( row, da ta, start,  end, disp lay) {
        94                                 va r api = th is.api(),  data;
        95  
        96                                 //  Update fo oter
        97                                 $(  api.colum n( 0 ).foo ter() ).ht ml(
        98                                      '<strong >Total:</s trong>'
        99                                 );
        100  
        101                                 $( api.column (3).footer () ).html(
        102                                      '<strong >' + api.c olumn(3, { page:'curr ent'}).dat a().sum()  + '</stron g>'
        103                                 );
        104                             }
        105                         });
        106                    } el se if ($(' #source'). val() ===  'Exchange' ) {
        107                         setProcess ingForData Table('exc hangeRepor tTable', - 14);
        108  
        109                         reportTabl e = $('#ex changeRepo rtTable'). DataTable( {
        110                             destro y: true,
        111                             ajax:  {
        112                                 ur l: constru ctUrl("doS earch"),
        113                                 da taSrc: fun ction(json ){
        114                                      $('.data Tables_emp ty').remov e();
        115                                      return j son.data;
        116                                 },
        117                                 er ror: funct ion(o){
        118                                      handleEr rorsInData Table('exc hangeRepor tTable', o , 3);
        119                                 }
        120                             },
        121                             info:  false,
        122                             langua ge: {
        123                                 em ptyTable:  "No record s found",
        124                                 lo adingRecor ds: ""
        125                             },
        126                             paging : false,
        127                             proces sing: true ,
        128                             search ing: false ,
        129                             server Side: true ,
        130                             column Defs: [
        131                                 {c lassName:  "dt-head-c enter", ta rgets: [0, 1,2]},
        132                                 {c lassName:  "dt-head-c enter dt-b ody-right" , targets:  [3]}
        133                             ],
        134                             scroll X:true,
        135                             initCo mplete: fu nction(){
        136                                 //  Enable TH EAD scroll  bars
        137                                 $( '.dataTabl es_scrollH ead').css( 'overflow' , 'auto');
        138  
        139                                 //  Sync THEA D scrollin g with TBO DY
        140                                 $( '.dataTabl es_scrollH ead').on(' scroll', f unction ()  {
        141                                      $('.data Tables_scr ollBody'). scrollLeft ($(this).s crollLeft( ));
        142                                 }) ;
        143                             },
        144                             "foote rCallback" : function  ( row, da ta, start,  end, disp lay ) {
        145                                 va r api = th is.api(),  data;
        146  
        147                                 //  Update fo oter
        148                                 $(  api.colum n( 0 ).foo ter() ).ht ml(
        149                                      '<strong >Total:</s trong>'
        150                                 );
        151  
        152                                 $( api.column (3).footer () ).html(
        153                                      '<strong >' + api.c olumn(3, { page:'curr ent'}).dat a().sum()  + '</stron g>'
        154                                 );
        155                             }
        156                         });
        157                    } el se {
        158                         setProcess ingForData Table('dir ectReportT able');
        159  
        160                         reportTabl e = $('#di rectReport Table').Da taTable({
        161                             destro y: true,
        162                             ajax:  {
        163                                 ur l: constru ctUrl("doS earch"),
        164                                 da taSrc: fun ction(json ){
        165                                      $('.data Tables_emp ty').remov e();
        166                                      return j son.data;
        167                                 },
        168                                 er ror: funct ion(o){
        169                                      handleEr rorsInData Table('dir ectReportT able', o,  2);
        170                                 }
        171                             },
        172                             info:  false,
        173                             langua ge: {
        174                                 em ptyTable:  "No record s found",
        175                                 lo adingRecor ds: ""
        176                             },
        177                             paging : false,
        178                             proces sing: true ,
        179                             search ing: false ,
        180                             server Side: true ,
        181                             column Defs: [
        182                                 {c lassName:  "dt-head-c enter", ta rgets: [0] },
        183                                 {c lassName:  "dt-head-c enter dt-b ody-right" , targets:  [1]}
        184                             ],
        185                             scroll X:true,
        186                             initCo mplete: fu nction(){
        187                                 //  Enable TH EAD scroll  bars
        188                                 $( '.dataTabl es_scrollH ead').css( 'overflow' , 'auto');
        189  
        190                                 //  Sync THEA D scrollin g with TBO DY
        191                                 $( '.dataTabl es_scrollH ead').on(' scroll', f unction ()  {
        192                                      $('.data Tables_scr ollBody'). scrollLeft ($(this).s crollLeft( ));
        193                                 }) ;
        194                             },
        195                             "foote rCallback" : function  ( row, da ta, start,  end, disp lay ) {
        196                                 va r api = th is.api(),  data;
        197  
        198                                 //  Update fo oter
        199                                 $( api.column (1).footer () ).html(
        200                                      api.colu mn(1, {pag e:'current '}).data() .sum()
        201                                 );
        202                             }
        203                         });
        204                    }
        205                }
        206  
        207                function  construct Url(method Name){
        208                    var  url= 'Disc losureSumm aryReport. do_sec' +
        209                             '?' +  methodName  + '=true'  +
        210                             '&sour ce=' + $(' #source'). val() +
        211                             '&star tDate=' +  $('#startD ate').val( ) +
        212                             '&endD ate=' + $( '#endDate' ).val() +
        213                             '&orga nization='  + $('#org anization' ).val() +
        214                             '&orga nizationNa me=' + $(' #orgName') .val() +
        215                             '&faci lity=' + $ ('#facilit y').val()  +
        216                             '&faci lityName='  + $('#fac ilityName' ).val() +
        217                             '&pati entTypes='  + $('#pat ientTypes' ).val();
        218  
        219                    if($ ('#source' ).val() == = 'Exchang e') {
        220                         url = url  + '&sortBy =' + $('#e xchangeRep ortTable') .dataTable ().fnSetti ngs().aaSo rting[0][0 ] +
        221                         '&sortOrde r=' + $('# exchangeRe portTable' ).dataTabl e().fnSett ings().aaS orting[0][ 1];
        222                    } el se {
        223                         url = url  + '&sortBy =' + $('#d irectRepor tTable').d ataTable() .fnSetting s().aaSort ing[0][0]  +
        224                         '&sortOrde r=' + $('# directRepo rtTable'). dataTable( ).fnSettin gs().aaSor ting[0][1] ;
        225                    }
        226  
        227                    retu rn url;
        228                }
        229  
        230                $('#sear chButton') .on('click ', functio n () {
        231                    var  startDate  = $('#star tDate').va l();
        232                    var  endDate =  $('#endDat e').val();
        233  
        234                    var  errorMessa ge = valid ateStartAn dEndDate(s tartDate,  endDate);
        235  
        236                    if ( errorMessa ge != '')  {
        237                         //we have  an error s o show the  error, an d then don 't send th e ajax req uest
        238                         $('#errorM essage').h tml(errorM essage);
        239                         $('#errorM essage').s how();
        240  
        241                         return fal se;
        242                    } el se {
        243                         //no error , let's ma ke the cal l to popul ate the re port
        244                         $('#result s').show() ;
        245                         buildTable (false);
        246                    }
        247                });
        248  
        249                $('.expo rtButton') .on('click ', functio n() {
        250                    wind ow.locatio n.href = c onstructUr l($(this). data('meth od'));
        251                    retu rn false;
        252                });
        253  
        254                $('#star tDate,#end Date').on( 'change',  function ( ) {
        255                    //if  either da te changes , hide the  error mes sage if it s not alre ady hidden
        256                    $('# errorMessa ge').hide( );
        257                });
        258  
        259                handleSo urceChange ();
        260           }) ;
        261  
        262           fu nction han dleSourceC hange() {
        263                if ($('# source').v al() === ' Exchange')  {
        264                    $('# extrafilte rs').show( );
        265                    $("# exchangeRe portTable_ wrapper"). show();
        266                    $("# exchangeRe portTable" ).show();
        267                    $("# directRepo rtTable_wr apper").hi de();
        268                    $("# directRepo rtTable"). hide();
        269                } else {
        270                    $('# extrafilte rs').hide( );
        271                    $("# exchangeRe portTable_ wrapper"). hide();
        272                    $("# exchangeRe portTable" ).hide();
        273                    $("# directRepo rtTable_wr apper").sh ow();
        274                    $("# directRepo rtTable"). show();
        275                }
        276                $('#resu lts').hide ();
        277           };
        278       </scri pt>
        279  
        280       <div c lass="form -container ">
        281           <f orm name=" disclosure SummaryRep ortForm" a ction="Dis closureSum maryReport .do_sec" m ethod="POS T" onsubmi t="return  doSubmit(t his)">
        282                <fieldse t>
        283                    <leg end>Search  Details</ legend>
        284                    <inp ut type="h idden" nam e="orgName " id="orgN ame" value ="<c:out v alue="${or gName}"/>"  />
        285                    <inp ut type="h idden" nam e="facilit yName" id= "facilityN ame" value ="<c:out v alue="${fa cilityName }"/>" />
        286  
        287                    <div  id="error Message" c lass="bg-w arning pad -15" style ="display:  none;"></ div>
        288                    <div  class="pa d-top-10">
        289                         <label tit le="Select  the discl osure sour ce" for="s ource">Dis closure So urce</labe l>
        290                         <select da ta-tooltip ="<c:out v alue="${de scriptors[ 'disclosur eSourceFie ld']}"/>"  id="source " name="so urce">
        291                             <optio n value="E xchange" s elected>Ex change</op tion>
        292                             <optio n value="D irect">Dir ect</optio n>
        293                         </select>
        294                    </di v>
        295                    <div  class="wi dth-450" d ata-toolti p="<c:out  value="${d escriptors ['startDat eEndDateFi eld']}"/>" >
        296                         <div>
        297                             <label  for="star tDate">Sta rt Date</l abel>
        298                             <date: date id="s tartDate"  name="star tDate" val ue="${star tDateDefau lt}"/> <i> mm/dd/yyyy </i>
        299                         </div>
        300                         <div>
        301                             <label  for="endD ate">End D ate</label >
        302                             <date: date id="e ndDate" na me="endDat e" value=" ${endDateD efault}"/>  <i>mm/dd/ yyyy</i>
        303                         </div>
        304                    </di v>
        305                    <spa n id="extr afilters">
        306                         <div>
        307                             <label
        308                                 al t="Query b ased on Pa tient Pref erred Faci lity from  the dropdo wn list"
        309                                 fo r="facilit y">Patient  Preferred  Facility< /label>
        310                             <selec t data-too ltip="<c:o ut value=" ${descript ors['patie ntPreferre dFacilityF ilter']}"/ >" id="fac ility" nam e="facilit y" onchang e = "docum ent.getEle mentById(' facilityNa me').value  = this.op tions[this .selectedI ndex].text ;">
        311                                 <o ption valu e="">ALL</ option>
        312                                 <c :forEach v ar="f" ite ms="${faci lities}">
        313                                      <option  value="<c: out value= "${f.facil ityStation }"/>"
        314                                               <c:choose>
        315                                                   <c:whe n test="${ f.facility Station eq  defaultUs erFacility .facilityS tation}">
        316                                                       se lected
        317                                                   </c:wh en>
        318                                               </c:choose >>
        319                                          <c:c hoose>
        320                                               <c:when te st="${f.fa cilityName  != ''}">
        321                                                   <c:out  value="${ f.facility Name}"/>
        322                                               </c:when>
        323                                               <c:otherwi se>
        324                                                   <c:out  value="${ fn:split(f .facilityD ns, '.')[0 ]}" />
        325                                               </c:otherw ise>
        326                                          </c: choose>
        327                                          (<c: out value= "${f.facil ityStation }"/>)
        328                                      </option >
        329                                 </ c:forEach>
        330                             </sele ct>
        331                         </div>
        332  
        333                         <div>
        334  
        335                             <label
        336                                 al t="Query b ased on <c :out value ="${organi zationName }"/> Organ ization fr om the dro pdown list "
        337                                 fo r="organiz ation"><c: out value= "${organiz ationName} "/> Organi zation</la bel>
        338                             <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;">
        339                                 <o ption valu e="externa l" selecte d>ALL</opt ion>
        340                                 <c :forEach v ar="r" ite ms="${acti veOrgs}">
        341                                      <option  value="%<c :out value ="${r.orgO id}"/>">
        342                                          <c:o ut value=" ${r.orgNam e}"/>
        343                                      </option >
        344                                 </ c:forEach>
        345                                 <c :forEach v ar="r" ite ms="${inac tiveOrgs}" >
        346                                      <option  value="%<c :out value ="${r.orgO id}"/>">[I NACTIVE] < c:out valu e="${r.org Name}"/></ option>
        347                                 </ c:forEach>
        348                             </sele ct>
        349                         </div>
        350                             <div>
        351                             <label  for="pati entTypes"> Patient Ty pes<span s tyle="disp lay:none;" >"Choose w hether you  would lik e to filte r by real  patients o nly, test  patients o nly, or bo th."</span ></label>
        352                             <selec t data-too ltip="<c:o ut value=" ${descript ors['patie ntTypesFie ld']}"/>"  id="patien tTypes" na me="patien tTypes">
        353                                 <o ption valu e="3">ALL< /option>
        354                                 <o ption valu e="1" sele cted>Real  Patients</ option>
        355                                 <o ption valu e="2">Test  Patients< /option>
        356                             </sele ct>
        357                             </div>
        358                    </sp an>
        359                </fields et>
        360           </ form>
        361           <d iv>
        362                <input n ame="searc h" title=" Search" cl ass="butto n" type="s ubmit" val ue="Search " id="sear chButton"/ >
        363           </ div>
        364       </div>
        365       <div i d="results ">
        366       <div a lign="righ t" class=" pad-top-5  pad-bottom -15">
        367           <a  href="#"> <button cl ass="expor tButton" d ata-method ="exportTo Excel" tit le="Export  to Excel" >Export to  Excel</bu tton></a>
        368       </div>
        369       <div i d="divRepo rtContent" >
        370           <t able id="e xchangeRep ortTable"  class="dis play" widt h="100%" c ellspacing ="0" role= "presentat ion">
        371                <thead>
        372                    <tr  role="row" >
        373                         <th role=" columnhead er"><span  data-toolt ip="<c:out  value="${ descriptor s['disclos ureSummary ReportOrga nizationCo lumn']}"/> "><c:out v alue="${or ganization Name}"/> O rganizatio n</span></ th>
        374                         <th role=" columnhead er"><span  data-toolt ip="<c:out  value="${ descriptor s['disclos ureSummary ReportFaci lityColumn ']}"/>">Pa tient Pref erred Faci lity</span ></th>
        375                         <th role=" columnhead er"><span  data-toolt ip="<c:out  value="${ descriptor s['patient PreferredF acilitySta tionIdColu mn']}"/>"> Patient Pr eferred Fa cility Sta tion ID</s pan></th>
        376                         <th role=" columnhead er"><span  data-toolt ip="<c:out  value="${ descriptor s['disclos ureSummary ReportTota lColumn']} "/>" data- tooltip-po sition="le ft">Total< /span></th >
        377                    </tr >
        378                </thead>
        379                <tfoot>
        380                    <tr  role="row" >
        381                         <%--Filled  in by dat atables--% >
        382                         <td role=" gridcell"  class="tex t-left foo ter-bold-p ad-left-8" ></td>
        383                         <td role=" gridcell"> </td>
        384                         <td role=" gridcell"> </td>
        385                         <td role=" gridcell"  class="tex t-right fo oter-bold- pad-right- 9"></td>
        386                    </tr >
        387                </tfoot>
        388           </ table>
        389           <d iv aria-li ve="polite " role="st atus" id=" exchangeRe portTable_ info" clas s="dataTab les_info h idden">Sho ws entries  for Excha nge</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 --% >
        390           <t able id="d irectRepor tTable" cl ass="displ ay" width= "100%" cel lspacing=" 0" role="p resentatio n">
        391                <thead>
        392                    <tr  role="row" >
        393                         <th role=" columnhead er"><span  data-toolt ip="<c:out  value="${ descriptor s['disclos ureSummary ReportOrga nizationCo lumn']}"/> ">Direct E ndpoint</s pan></th>
        394                         <th role=" columnhead er"><span  data-toolt ip="<c:out  value="${ descriptor s['disclos ureSummary ReportTota lColumn']} "/>" data- tooltip-po sition="le ft">Total< /span></th >
        395                    </tr >
        396                </thead>
        397                <tfoot>
        398                    <tr  role="row" >
        399                         <%--Filled  in by dat atables--% >
        400                         <td role=" gridcell"  class="tex t-left foo ter-bold-p ad-left-8" >Total:</t d>
        401                         <td role=" gridcell"  class="tex t-right fo oter-bold- pad-right- 9"></td>
        402                    </tr >
        403                </tfoot>
        404           </ table>
        405           <d iv aria-li ve="polite " role="st atus" id=" directRepo rtTable_in fo" class= "dataTable s_info hid den">Shows  entries f or Direct< /div><%--  because we  don't hav e the "Sho wing x of  x" turned  on for thi s table, w e need thi s here to  support ar ia --%>
        406       </div>
        407       </div>
        408   </f:mainTe mplate>