4454. EPMO Open Source Coordination Office Redaction File Detail Report

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

4454.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:51:39 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 batchAnnounceQuery.jspf Fri Apr 21 20:03:30 2017 UTC

4454.2 Comparison summary

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

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

4454.4 Active regular expressions

No regular expressions were active.

4454.5 Comparison detail

        1   <%-- DEPRE CATED: the  entire co ntents of  this file  have been  added to b atchAnnoun ce.jsp --% >
        2   <%--
        3           Do cument   :  Display B atch Annou nce Query  Page
        4           Au thor     :  Stephen S chrank
        5   --%>
        6  
        7   <%@taglib  uri="http: //java.sun .com/jsp/j stl/core"  prefix="c" %>
        8   <%@taglib  tagdir="/W EB-INF/tag s/date" pr efix="date "%>
        9  
        10   <script ty pe="text/j avascript" >
        11       functi on clearSe lectedFile () {
        12           do cument.get ElementByI d("fileCon t").innerH TML = docu ment.getEl ementById( "fileCont" ).innerHTM L;
        13           do cument.get ElementByI d("clear") .style.dis play = "no ne";
        14       }
        15  
        16       functi on isFormV alid() {
        17           if  (document .getElemen tsByName(" list2")[0] .children. length ===  0) {
        18                alert("P lease sele ct at leas t one orga nization." );
        19                return f alse;
        20           }
        21           if  (document .getElemen tById("bat 1").checke d) {
        22                // TODO  validate d ates
        23           }  else {
        24                // Batch  announcin g using an  uploaded  file
        25                if (docu ment.getEl ementById( "fileName" ).value == = "") {
        26                    aler t("Please  select a f ile to upl oad.");
        27                    retu rn false;
        28                }
        29           }
        30           re turn true;
        31       }
        32  
        33       functi on onBatch AnnounceTy peChange(r b) {
        34           do cument.get ElementByI d("startDa te").disab led = rb.v alue === " 2";
        35           do cument.get ElementByI d("endDate ").disable d = rb.val ue === "2" ;
        36           do cument.get ElementByI d("reannou nce").disa bled = rb. value ===  "2";
        37           do cument.get ElementByI d("fileNam e").disabl ed = rb.va lue === "1 ";
        38           do cument.get ElementByI d("clear") .disabled  = rb.value  === "1";
        39       }
        40  
        41       functi on validat eFileExt(f ileName) {
        42           va r validExt s = new Ar ray(".xlsx ", ".xls",  ".csv");
        43           va r fileExt  = fileName .substring (fileName. lastIndexO f('.')).to LowerCase( );
        44           if  (validExt s.indexOf( fileExt) <  0) {
        45                alert("Y ou selecte d an inval id file. P lease sele ct an Exce l or CSV f ile");
        46                clearSel ectedFile( );
        47           }  else {
        48                document .getElemen tById("cle ar").style .display =  "table-ce ll";
        49           }
        50       }
        51  
        52       $(docu ment).read y(function  () {
        53           // tooltips
        54           $( '#dateTip' ).qtip($.e xtend(tipO ptions, {
        55                content:  "${descri ptors["sta rtDateEndD ateField"] }"
        56           }) );
        57           $( '#tipReann ounce').qt ip($.exten d(tipOptio ns, {
        58                content:  "${descri ptors["reA nnounceChe ckbox"]}"
        59           }) );
        60           $( '#list1'). qtip($.ext end(tipOpt ions, {
        61                content:  "${descri ptors["bat chAnnounce PatientsAl lOrganizat ionsField" ]}"
        62           }) );
        63           $( '#list2'). qtip($.ext end(tipOpt ions, {
        64                content:  "${descri ptors["bat chAnnounce PatientsOr ganization sToAnnounc eToField"] }"
        65           }) );
        66           $( '#tipBatch OptedIn'). qtip($.ext end(tipOpt ions, {
        67                content:  "${descri ptors["bat chAnnounce PatientsOp tedInField "]}"
        68           }) );
        69           $( '#tipBatch CSV').qtip ($.extend( tipOptions , {
        70                content:  "${descri ptors["bat chAnnounce PatientsIn ExcelOrCSV FileField" ]}"
        71           }) );
        72           $( '#fileName ').qtip($. extend(tip Options, {
        73                content:  "${descri ptors["bat chAnnounce PatientsFi leNameFiel d"]}"
        74           }) );
        75       });
        76   </script>
        77  
        78   <div class ="message" >
        79       <c:cho ose>
        80           <c :when test ="${outcom e} == 'suc cess'">
        81                <strong> Batch Anno unce messa ge has bee n enqueued .</strong>
        82           </ c:when>
        83           <c :when test ="${outcom e} == 'fai led'">
        84                <strong> Batch Anno unce messa ge enqueue  failed.</ strong>
        85           </ c:when>
        86           <c :otherwise >
        87                &nbsp;
        88           </ c:otherwis e>
        89       </c:ch oose>
        90   </div>
        91  
        92   <div class ="well">
        93       <p>
        94           Se lect one o r more org anizations  to send t he announc ements to.
        95       </p>
        96       <p>
        97           Th e <i>Start  Date</i>  and <i>End  Date</i>  are based  on the dat e that the  patient o pted in or  out. If o nly <i>Sta rt Date</i > is enter ed, patien ts opting  in
        98           or  out on or  after the  date ente red will b e announce d. If only  <i>End Da te</i> is  entered, p atients op ting in or  out prior  to and in cluding th e date
        99           en tered will  be announ ced. If <i >Start Dat e</i> and  <i>End Dat e</i> are  left blank , all pati ents will  be conside red for an nouncement s.
        100       </p>
        101       <p>
        102           If  the <i>Re -announce< /i> check  box is sel ected, pat ients that  have prev iously bee n announce d to a sel ected orga nization w ill be ann ounced aga in.
        103       </p>
        104   </div>
        105  
        106   <div class ="form-con tainer">
        107       <form  name="batc hAnnounceF orm" id="b atchAnnoun ceForm" ac tion="Batc hAnnounce. do_sec" me thod="POST " enctype= "multipart /form-data " onsubmit ="return i sFormValid (this);">
        108           <i nput type= "hidden" n ame="newLe ft" value= "" />
        109           <i nput type= "hidden" n ame="remot eOrganizat ion" value ="" />
        110           <f ieldset>
        111                <legend> Batch Anno unce Crite ria</legen d>
        112                <div id= "multiSele ctAuthoriz eForm">
        113                    <tab le>
        114                         <tr>
        115                             <td>
        116                                 <l abel><span  style="di splay:none ;">"This t able has t wo list bo xes:All Or ganization s list box  and Organ izations t o whom you  want to a nnounce pa tients lis t box. Cho ose and mo ve the Org anizations  from the  first list  box to th e next."</ span></lab el> <br/>
        117                             </td>
        118                             <td>&n bsp;&nbsp; &nbsp;&nbs p;</td>
        119                         </tr>
        120                         <tr>
        121                             <td>
        122                                 <l abel for=" list1">All  Organizat ions</labe l><br/><br />
        123                                 <s elect titl e="All Org anizations  list box"  style="wi dth: 310px ;" class=" listSelect " name="li st1" id="l ist1" mult iple="true " size="10 " onDblCli ck="opt.tr ansferRigh t()">
        124                                      <c:if te st="${!emp ty organiz ations}">
        125                                          <c:f orEach var ="r" items ="${organi zations}"  varStatus= "i">
        126                                               <option va lue="${r.o rgOid}">${ r.orgName} &nbsp;&nbs p;&nbsp;&n bsp;&nbsp; </option>
        127                                          </c: forEach>
        128                                      </c:if>
        129                                 </ select>
        130                             </td>
        131                             <td va lign="midd le" align= "left">
        132                                 <i nput style ="width: 1 25px; heig ht: 30px;"  type="but ton" title ="Move all  the Organ izations t o the righ t box" cla ss="midBut ton" name= "right" va lue="Move  All &gt;&g t;" onclic k="opt.tra nsferAllRi ght()" />
        133                                 <b r />
        134                                 <i nput type= "button" t itle="Move  the Selec ted Organi zations to  the right  box" clas s="midButt on" style= "width: 12 5px; heigh t: 30px;"  name="righ t" value=" Move Selec ted &gt;"  onclick="o pt.transfe rRight()"  />
        135                                 <b r /> <br / >
        136                                 <i nput type= "button" t itle="Move  the selec ted Organi zations to  the left  box" class ="midButto nLeft" sty le="width:  125px; he ight: 30px ;" name="l eft" value ="&lt; Mov e Selected " onclick= "opt.trans ferLeft()"  />
        137                                 <b r />
        138                                 <i nput type= "button" t itle="Clea r all sele ctions" cl ass="midBu tton" name ="left" st yle="width : 125px; h eight: 30p x;" value= "Clear" on click="opt .transferA llLeft()">
        139                             </td>
        140  
        141                             <td>
        142                                 <l abel for=" list2">Org anizations  to whom y ou want to  announce  patients.< /label>
        143                                 <b r /><br />
        144                                 <s elect titl e="Organiz ations to  whom you w ant to ann ounce pati ents list  box" name= "list2" cl ass="listS elect" mul tiple="tru e" size="1 0" id="lis t2" style= "width: 31 0px;" onDb lClick="op t.transfer Left()"></ select>
        145                             </td>
        146                         </tr>
        147                    </ta ble>
        148                </div>
        149                <div id= "tipBatchO ptedIn" cl ass="width -350">
        150                    <div  style="di splay:tabl e-cell;">
        151                         <input typ e="radio"  aria-label ledby="rad ioLabel" i d="bat1" n ame="batch AnnounceTy pe" value= "1" title= "Batch ann ounce pati ents that  are opted- in" style= "margin-to p: 20px;"  onclick="o nBatchAnno unceTypeCh ange(this) ;" checked >
        152                    </di v>
        153                    <div  style="di splay:tabl e-cell;">
        154                         <label nam e="radioLa bel" id="r adioLabel" for="bat1"  style="fo nt-weight:  normal; w hite-space : nowrap;" >Batch ann ounce pati ents that  have opted -in</label >
        155                    </di v>
        156                </div>
        157                <div cla ss="width- 350" id="d ateTip">
        158                    <div >
        159                         <label for ="startDat e">Start D ate <i><sp an style=" font-weigh t:normal;" >(mm/dd/yy yy)</span> </i></labe l>
        160                         <date:date  id="start Date" name ="startDat e" value=" ${startDat e}"/>
        161                    </di v>
        162                    <div >
        163                         <label for ="endDate" >End Date  <i><span s tyle="font -weight:no rmal;">(mm /dd/yyyy)< /span></i> </label>
        164                         <date:date  id="endDa te" name=" endDate" v alue="${en dDate}"/>
        165                    </di v>
        166                </div>
        167                <div id= "tipReanno unce" clas s="width-3 50">
        168                    <lab el for="re announce"> Re-announc e</label>
        169                    <inp ut id="rea nnounce" t ype="check box" name= "reannounc e" value=" reannounce " <c:if te st="${rean nounce}">c hecked="tr ue" </c:if > title="C heck to Re announce"/ >
        170                    </di v>
        171                    <div  id="tipBa tchCSV" cl ass="width -350">
        172                         <div style ="display: table-cell ;">
        173                             <input  type="rad io" aria-l abelledby= "radioLabe l" id="bat 2" name="b atchAnnoun ceType" va lue="2" ti tle="Batch  announce  patients l isted in a n Excel or  CSV file"  style="ma rgin-top:  20px;" onc lick="onBa tchAnnounc eTypeChang e(this);">
        174                         </div>
        175                         <div style ="display: table-cell ;">
        176                             <label  for="bat2 " style="f ont-weight : normal;  white-spac e: nowrap; ">Batch an nounce pat ients list ed in an E xcel or CS V file</la bel>
        177                         </div>
        178                    </di v>
        179                    <div >
        180                         <label for ="fileName ">File Nam e</label>
        181                         <div id="f ileCont" s tyle="disp lay:table- row;">
        182                             <input  type="fil e" id="fil eName" nam e="fileNam e" accept= ".xlsx,.xl s,.csv" si ze="60" st yle="displ ay:table-c ell;" disa bled="true " onchange ="validate FileExt(th is.value); "/>
        183                             <input  type="but ton" id="c lear" name ="clear" t itle="Clea r" title=" Clear sele cted file"  style="di splay:none " onclick= "clearSele ctedFile() ;" value=" Clear"/>
        184                         </div>
        185                    </di v>
        186                </fields et>
        187                <div>
        188                    <inp ut name="q uery" titl e="Query f or the ann ouncements " class="b utton" typ e="submit"  value="Qu ery"/>
        189                </div>
        190           </ form>
        191       </div>