4489. EPMO Open Source Coordination Office Redaction File Detail Report

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

4489.1 Files compared

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

4489.2 Comparison summary

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

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

4489.4 Active regular expressions

No regular expressions were active.

4489.5 Comparison detail

        1   <%--
        2       Docume nt   : Inb ound Docum ent Report
        3       Create d By : Dav id Vasquez  / Robert  Snelling
        4       Modifi ed By: Ash a Amritraj
        5   --%>
        6  
        7   <%@taglib  tagdir="/W EB-INF/tag s/formatti ng" prefix ="f" %>
        8   <%@taglib  uri="http: //java.sun .com/jsp/j stl/core"  prefix="c"  %>
        9   <%@taglib  uri="http: //java.sun .com/jsp/j stl/functi ons" prefi x="fn" %>
        10   <%@taglib  tagdir="/W EB-INF/tag s/date" pr efix="date " %>
        11   <%@taglib  tagdir="/W EB-INF/tag s/cpp" pre fix="cpp"  %>
        12  
        13   <f:mainTem plate head erText="Re ceived ${o rganizatio nName} Doc uments Rep ort">
        14       <scrip t language ="JavaScri pt">
        15           $( document). ready(func tion () {
        16                $("#star tDate").da tepicker({
        17                    maxD ate: 0,
        18                    date Format: 'm m/dd/yy',
        19                    onCl ose: funct ion (selec tedDate) {
        20                         $("#endDat e").datepi cker("opti on", "minD ate", sele ctedDate);
        21                    }
        22                });
        23  
        24                $("#endD ate").date picker({
        25                    maxD ate: 0,
        26                    date Format: 'm m/dd/yy',
        27                    onCl ose: funct ion (selec tedDate) {
        28                         $("#startD ate").date picker("op tion", "ma xDate", se lectedDate );
        29                    }
        30                });
        31  
        32                setFocus (inboundDo cumentRepo rtForm.ssn );
        33  
        34                setProce ssingForDa taTable('r eportTable ');
        35  
        36                reportTa ble = $('# reportTabl e').DataTa ble({
        37                    defe rLoading:  0,
        38                    dest roy: true,
        39                    ajax : {
        40                         url: const ructUrl("d oSearch"),
        41                         dataSrc: f unction(js on){
        42                             $('.da taTables_e mpty').rem ove();
        43                             return  json.data ;
        44                         },
        45                         error: fun ction(o){
        46                             handle ErrorsInDa taTable('r eportTable ', o, 12);
        47                         }
        48                    },
        49                    info : true,
        50                    lang uage: {
        51                         emptyTable : "No reco rds found" ,
        52                         loadingRec ords: ""
        53                    },
        54                    pagi ng: true,
        55                    dom:  'liptipr' ,
        56                    leng thMenu: [  10, 25, 50 , 100, 250 , 500 ],
        57                    page Length: 25 ,
        58                    proc essing: tr ue,
        59                    sear ching: fal se,
        60                    serv erSide: tr ue,
        61                    orde r: [[3, "d esc"]],
        62                    scro llX:true,
        63                    init Complete:  function() {
        64                         // Enable  THEAD scro ll bars
        65                         $('.dataTa bles_scrol lHead').cs s('overflo w', 'auto' );
        66  
        67                         // Sync TH EAD scroll ing with T BODY
        68                         $('.dataTa bles_scrol lHead').on ('scroll',  function  () {
        69                             $('.da taTables_s crollBody' ).scrollLe ft($(this) .scrollLef t());
        70                         });
        71                    },
        72                    colu mnDefs: [
        73                         {orderable : false, t argets: [1 0, 11]},
        74                         {
        75                             target s: 11,
        76                             data:  null,
        77                             render : function (data,type ,full,meta ){
        78                                 re turn '<a h ref="#/" o nclick="do cumentView (\''+data[ 12]+'\', \ ''+data[13 ]+'\');">v iew</a>';
        79                             }
        80                         },
        81                         {
        82                             target s: 0,
        83                             data:  null,
        84                             render : function (data,type ,full,meta ){
        85                                 re turn '<a h ref="#/" o nclick="li nkToPatien t(\''+data [11]+'\',  \''+data[1 ]+'\', \'' +data[2]+' \');">'+da ta[0]+'</a >';
        86                             }
        87                         },
        88                         {className : "vap-col -min-80 dt -head-cent er", targe ts: 0},
        89                         {className : "vap-col -min-130 d t-head-cen ter", targ ets: [3,5, 7]},
        90                         {className : "vap-col -min-200 d t-head-cen ter", targ ets: 4},
        91                         {className : "dt-head -center",  targets: [ 1,2,6,8,9, 10,11]}
        92                    ]
        93                });
        94  
        95                // DataT able overr ides
        96                $.fn.dat aTable.ext .errMode =  'none';
        97  
        98                reportTa ble.on('dr aw', funct ion () {
        99                    addA riaToDataT able('repo rtTable',  reportTabl e);
        100                });
        101  
        102                $('#sear chButton') .on('click ', functio n () {
        103                    var  startDate  = $('#star tDate').va l();
        104                    var  endDate =  $('#endDat e').val();
        105  
        106                    var  errorMessa ge = valid ateStartAn dEndDate(s tartDate,  endDate);
        107  
        108                    if ( errorMessa ge != '')
        109                    {
        110                         //we have  an error s o show the  error, an d then don 't send th e ajax req uest
        111                         $('#errorM essage').h tml(errorM essage);
        112                         $('#errorM essage').s how();
        113  
        114                         return fal se;
        115                    } el se {
        116                         //no error , let's ma ke the cal l to popul ate the re port
        117                         $('#result s').show() ;
        118                         reportTabl e.ajax.url (construct Url('doSea rch')).loa d();
        119                    }
        120                });
        121  
        122                $('#star tDate,#end Date').on( 'change',  function ( ) {
        123                    //if  either da te changes , hide the  error mes sage if it s not alre ady hidden
        124                    $('# errorMessa ge').hide( );
        125                });
        126  
        127                $('#resu lts').hide ();
        128           }) ;
        129  
        130           co nstructUrl  = functio n(methodNa me){
        131                var url  = 'Inbound DocumentRe port.do_se c' +
        132                         '?' + meth odName + ' =true' +
        133                         '&ssn=' +  $('#ssn'). val() +
        134                         '&firstNam e=' + $('# firstName' ).val() +
        135                         '&lastName =' + $('#l astName'). val() +
        136                         '&purposeO fUse=' + $ ('#purpose OfUse').va l() +
        137                         '&recordsP erPage=' +  $('#recor dsPerPage' ).val() +
        138                         '&currentP age=' + $( '#currentP age').val( ) +
        139                         '&startDat e=' + $('# startDate' ).val() +
        140                         '&endDate= ' + $('#en dDate').va l() +
        141                         '&userId='  + $('#use rId').val( ) +
        142                         '&organiza tion=' + $ ('#organiz ation').va l() +
        143                         '&organiza tionName='  + $('#org anizationN ame').val( ) +
        144                         '&remoteOr ganization =' + $('#r emoteOrgan ization'). val() +
        145                         '&facility =' + $('#f acility'). val() +
        146                         '&facility Name=' + $ ('#facilit yName').va l() +
        147                         '&patientT ypes=' + $ ('#patient Types').va l() +
        148                         '&sortBy='  + $('#rep ortTable') .dataTable ().fnSetti ngs().aaSo rting[0][0 ] +
        149                         '&sortOrde r=' + $('# reportTabl e').dataTa ble().fnSe ttings().a aSorting[0 ][1];
        150  
        151                if (meth odName ===  'exportTo Csv' || me thodName = == 'export ToExcel')  {
        152                    url  = url + '& totalRows= ' + report Table.page .info().re cordsTotal ;
        153                }
        154                return u rl;
        155           };
        156  
        157           // Used by 'v iew' butto n in excha nge final  table colu mn
        158           fu nction doc umentView( patientIcn , document UniqueID){
        159                    $('# patient-IC N').val(pa tientIcn);
        160                    $('# document-V iew-Unique -Id').val( documentUn iqueID);
        161                    docu ment.getEl ementById( 'documentV iewForm'). submit();
        162           }
        163       </scri pt>
        164  
        165       <div c lass="well ">
        166           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.
        167       </div>
        168  
        169       <cpp:e rrors />
        170  
        171       <div c lass="form -container ">
        172           <f orm name=" inboundDoc umentRepor tForm" act ion="Inbou ndDocument Report.do_ sec" metho d="POST" o nsubmit="r eturn doSu bmit(this) ">
        173                <fieldse t>
        174                    <inp ut type="h idden" nam e="organiz ationName"  id="organ izationNam e">
        175                    <inp ut type="h idden" nam e="facilit yName" id= "facilityN ame">
        176                    <leg end>Search  Details</ legend>
        177                    <div  id="error Message" c lass="bg-w arning pad -15" style ="display:  none;"></ div>
        178                    <div  class="pa d-top-10">
        179                         <label for ="ssn">SSN  <i><span  style="fon t-weight:n ormal;">(# ########)< /span></i> </label>
        180                         <input tit le="Enter  SSN. Enter  numbers o nly no hyp hens" data -tooltip=" <c:out val ue="${desc riptors['s snField']} " />" id=" ssn" name= "ssn" type ="text" ma xlength="9 " size="9"  /> <i><sp an style=" font-weigh t:normal;" > (Enter n umbers onl y, no hyph ens.)</spa n></i> &nb sp;
        181                    </di v>
        182                    <div >
        183                         <label for ="lastName ">Last Nam e</label>
        184                         <input tit le="Enter  Last Name"  data-tool tip="<c:ou t value="$ {descripto rs['lastNa meField']} " />" id=" lastName"  name="last Name" type ="text" ma xlength="2 55" size=" 30" />
        185                    </di v>
        186                    <div >
        187                         <label for ="firstNam e">First N ame</label >
        188                         <input tit le="Enter  First Name " data-too ltip="<c:o ut value=" ${descript ors['first NameField' ]}" />" id ="firstNam e" name="f irstName"  type="text " maxlengt h="255" si ze="30" />
        189                    </di v>
        190                    <div >
        191                         <label for ="userId"  >User ID</ label>
        192                         <input tit le="Enter  User ID" d ata-toolti p="<c:out  value="${d escriptors ['genericU serId']}"  />" id="us erId" name ="userId"  type="text " maxlengt h="255" si ze="30" />
        193                    </di v>
        194                    <div  class="wi dth-450" i d="dateTip " data-too ltip="<c:o ut value=" ${descript ors['start DateEndDat eField']}"  />">
        195                         <div>
        196                             <label  for="star tDate">Sta rt Date</l abel>
        197                             <date: date id="s tartDate"  name="star tDate" val ue="${star tDateDefau lt}"/> <i> mm/dd/yyyy </i>
        198                         </div>
        199                         <div>
        200                             <label  for="endD ate">End D ate</label >
        201                             <date: date id="e ndDate" na me="endDat e" value=" ${endDateD efault}"/>  <i>mm/dd/ yyyy</i>
        202                         </div>
        203                    </di v>
        204                    <c:i f test="${ pouFlag eq  true}">
        205                         <div>
        206                             <label  title="Pu rpose of U se" for="p urposeOfUs e">Purpose  of Use</l abel>
        207                             <selec t id="purp oseOfUse"  name="purp oseOfUse"  data-toolt ip="<c:out  value="${ descriptor s['purpose OfUseField ']}" />">
        208                                 <o ption valu e="">ALL</ option>
        209                                 <c :forEach v ar="pou" i tems="${po us}">
        210                                      <option  value="<c: out value= "${pou.pou Value}" /> "><c:out v alue="${po u.pouValue }" /></opt ion>
        211                                 </ c:forEach>
        212                             </sele ct>
        213                         </div>
        214                    </c: if>
        215                    <div >
        216                         <label tit le="Query  based on P atient Pre ferred Fac ility from  the dropd own list"  for="facil ity">Patie nt Preferr ed Facilit y</label>
        217                         <select id ="facility " name="fa cility" on change="do cument.get ElementByI d('facilit yName').va lue = this .options[t his.select edIndex].t ext;" data -tooltip=" <c:out val ue="${desc riptors['p atientPref erredFacil ityFilter' ]}" />">
        218                             <optio n value=""  >ALL</opt ion>
        219                             <c:for Each var=" f" items=" ${faciliti es}">
        220                                 <o ption valu e="<c:out  value="${f .facilityS tation}" / >"
        221                                          <c:c hoose>
        222                                               <c:when te st="${f.fa cilityStat ion eq def aultUserFa cility.fac ilityStati on}">
        223                                                   select ed
        224                                               </c:when>
        225                                          </c: choose>>
        226                                      <c:choos e>
        227                                          <c:w hen test=" ${f.facili tyName !=  ''}">
        228                                               <c:out val ue="${f.fa cilityName }" />
        229                                          </c: when>
        230                                          <c:o therwise>
        231                                               <c:out val ue="${fn:s plit(f.fac ilityDns,  '.')[0]}"  />
        232                                          </c: otherwise>
        233                                      </c:choo se>
        234                                      (<c:out  value="${f .facilityS tation}" / >)
        235                                 </ option>
        236                             </c:fo rEach>
        237                         </select>
        238                    </di v>
        239                    <div >
        240                         <label tit le="Query  based on < c:out valu e="${organ izationNam e}" /> Org anization  from the d ropdown li st" for="r emoteOrgan ization">e Health Exc hange Orga nization</ label>
        241                         <select id ="remoteOr ganization " name="re moteOrgani zation" on change="do cument.get ElementByI d('organiz ationName' ).value =  this.optio ns[this.se lectedInde x].text;"  data-toolt ip="<c:out  value="${ descriptor s['receive dEHealthEx changeDocu mentsRepor tOrganizat ionField'] }" />">
        242                             <optio n value="" >ALL</opti on>
        243                             <c:for Each var=" r" items=" ${activeOr gs}">
        244                                 <o ption valu e="%<c:out  value="${ r.orgOid}"  />"><c:ou t value="$ {r.orgName }" /></opt ion>
        245                             </c:fo rEach>
        246                             <c:for Each var=" r" items=" ${inactive Orgs}">
        247                                 <o ption valu e="%<c:out  value="${ r.orgOid}"  />">[INAC TIVE] <c:o ut value=" ${r.orgNam e}" /></op tion>
        248                             </c:fo rEach>
        249                         </select>
        250                    </di v>
        251                    <div >
        252                         <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>
        253                         <select id ="patientT ypes" name ="patientT ypes" data -tooltip=" <c:out val ue="${desc riptors['p atientType sField']}"  />">
        254                             <optio n value="3 ">ALL</opt ion>
        255                             <optio n value="1 " selected >Real Pati ents</opti on>
        256                             <optio n value="2 ">Test Pat ients</opt ion>
        257                         </select>
        258                    </di v>
        259                </fields et>
        260           </ form>
        261           <d iv>
        262                <input n ame="searc h" title=" Search" cl ass="butto n" type="s ubmit" val ue="Search " id="sear chButton"  />
        263           </ div>
        264       </div>
        265       <div i d="results ">
        266       <div a lign="righ t" class=" pad-top-5" >
        267           <i nput id="e xcelButton " name="ex celButton"  class="bu tton pad-r ight-5" ty pe="submit " value="E xport To E xcel" />
        268           <i nput id="c svButton"  name="csvB utton" cla ss="button " type="su bmit" valu e="Export  To CSV" />
        269       </div>
        270       <%@inc lude file= "patientLi nkForm.jsp "%>
        271       <div i d="divRepo rtContent" >
        272           <f orm action ="InboundD ocumentRep ort.do_sec " method=" POST" targ et="_blank " onsubmit ="return d oSubmit(th is)" id="d ocumentVie wForm">
        273                <input t ype="hidde n" name="v iew" value ="true">
        274                <input t ype="hidde n" name="p atientICN"   value=""  id="patie nt-ICN">
        275                <input t ype="hidde n" name="d ocumentUni queId" val ue="" id=" document-V iew-Unique -Id">
        276           </ form>
        277           <t able id="r eportTable " class="d isplay" wi dth="100%"  cellspaci ng="0" rol e="present ation">
        278                <thead>
        279                    <tr  role="row" >
        280                         <th role=" columnhead er"><span  data-toolt ip="<c:out  value="${ descriptor s['ssnColu mn']}"/>"  id="ssnHea der">SSN</ span></th>
        281                         <th role=" columnhead er"><span  data-toolt ip="<c:out  value="${ descriptor s['lastNam eColumn']} "/>" id="l astNameHea der">Patie nt Last Na me</span>< /th>
        282                         <th role=" columnhead er"><span  data-toolt ip="<c:out  value="${ descriptor s['firstNa meColumn'] }"/>" id=" firstNameH eader">Pat ient First  Name</spa n></th>
        283                         <th role=" columnhead er"><span  data-toolt ip="<c:out  value="${ descriptor s['eventOc curredColu mn']}"/>"  id="dateRe ceivedHead er">Date R eceived (C T)</span>< /th>
        284                         <th role=" columnhead er"><span  id="docume ntTitleHea der" data- tooltip="< c:out valu e="${descr iptors['do cumentTitl eColumn']} " />">Docu ment Title </span></t h>
        285                         <th role=" columnhead er"><span  id="facili tyHeader"  data-toolt ip="<c:out  value="${ descriptor s['receive dEHealthEx changeDocu mentsRepor tFacilityW ithDefault Field']}"  />">Patien t Preferre d Facility </span></t h>
        286                         <th role=" columnhead er"><span  id="facili tyNumberHe ader" data -tooltip=" <c:out val ue="${desc riptors['p atientPref erredFacil ityStation IdColumn'] }" />">Pat ient Prefe rred Facil ity Statio n ID</span ></th>
        287                         <th role=" columnhead er"><span  id="organi zationHead er" data-t ooltip="<c :out value ="${descri ptors['rec eivedEHeal thExchange DocumentsR eportOrgan izationCol umn']}" /> "><c:out v alue="${or ganization Name}" />  Organizati on</span>< /th>
        288                         <th role=" columnhead er"><span  id="userId Header" da ta-tooltip ="<c:out v alue="${de scriptors[ 'receivedE HealthExch angeDocume ntsReportU serIdColum n']}" />"> User ID</s pan></th>
        289                         <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 >
        290                         <th role=" columnhead er"><span  id="userRo leHeader"  data-toolt ip="<c:out  value="${ descriptor s['receive dEHealthEx changeDocu mentsRepor tUserRoleC olumn']}"  />" data-t ooltip-pos ition="lef t">User Ro le</span>< /th>
        291                         <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>
        292                    </tr >
        293                </thead>
        294           </ table>
        295       </div>
        296       </div>
        297   </f:mainTe mplate>