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

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

4462.2 Comparison summary

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

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

4462.4 Active regular expressions

No regular expressions were active.

4462.5 Comparison detail

        1   <%-- DEPRE CATED - us e consentH istory.jsp  instead - -%>
        2   <%--
        3           Do cument   :  Show the  consent di rective hi story
        4           Au thor     :  Asha Amri traj
        5   --%>
        6   <%@page im port="java .util.Date "%>
        7   <%@page co ntentType= "text/html " pageEnco ding="UTF- 8"%>
        8   <%@page er rorPage="e rror.jsp"% >
        9   <%@taglib  uri="http: //java.sun .com/jsp/j stl/core"  prefix="c" %>
        10   <%@taglib  uri="http: //java.sun .com/jsp/j stl/functi ons" prefi x="fn"%>
        11   <%@taglib  uri="http: //java.sun .com/jsp/j stl/fmt" p refix="fmt "%>
        12   <%@taglib  tagdir="/W EB-INF/tag s/cpp" pre fix="cpp"% >
        13  
        14  
        15  
        16   <table cla ss="box-ta ble-a">
        17       <thead >
        18           <t r>
        19                <th scop e="col">Ty pe of Cons ent Direct ive</th>
        20                <th scop e="col">Pu rpose</th>
        21                <th scop e="col">Au thorizatio n/Revocati on</th>
        22                <th scop e="col">En try Date</ th>
        23                <th scop e="col">Ex piration D ate</th>
        24                <th scop e="col">In activation  Date</th>
        25                <th scop e="col" st yle="width : 90px;">M ail Date(s )</th>
        26                <th scop e="col">St atus</th>
        27                <th scop e="col">En tered By</ th>
        28                <th scop e="col">Co mments</th >
        29                <th scop e="col">
        30                    <c:c hoose>
        31                         <c:when te st="${isFo rmUploadAl lowed}">Up load/</c:w hen>
        32                    </c: choose> Vi ew Consent  Form 
        33                    <c:c hoose>
        34                         <c:when te st="${isFo rmUploadAl lowed}">
        35                             <br />
        36                             <i><sp an style=" font-weigh t: normal; ">(Max fil e size: ${ maxFileUpl oadSize/10 00000} meg abytes)</s pan> </i>
        37                         </c:when>
        38                    </c: choose>
        39                </th>
        40           </ tr>
        41       </thea d>
        42       <tbody >
        43           <c :forEach v ar="r" ite ms="${cons ents}" var Status="i" >
        44                <c:choos e>
        45  
        46                    <%--  Check if  this is a  delayed au thorizatio n --%>
        47                    <c:w hen test=" ${not empt y r.delaye dConsent}" >
        48                         <tr>
        49                             <td>
        50                                 De layed ${r. consentDis playName}
        51                             </td>
        52                             <td>
        53                                 <c :choose>
        54                                      <c:when  test="${r. delayedCon sent.conse ntTypeId.n ame eq 'SS A Authoriz ation'}">
        55                                          COVE RAGE
        56                                      </c:when >
        57                                      <c:other wise>
        58                                          TREA TMENT
        59                                      </c:othe rwise>
        60                                 </ c:choose>
        61                             </td>
        62                             <td>
        63                                 <c :choose>
        64                                      <c:when  test="${r. delayedCon sent.conse ntTypeId.n ame eq 'SS A Authoriz ation'}">
        65                                          Auth orized acc ess to Soc ial Securi ty Adminis tration
        66                                      </c:when >
        67                                      <c:when
        68                                          test ="${r.dela yedConsent .consentTy peId.name  eq 'NwHIN  Organizati on Restric tion Autho rization'} ">
        69                                          Rest ricted sel ect Provid ers and Or ganization s
        70                                      </c:when >
        71                                      <c:when  test="${r. delayedCon sent.conse ntTypeId.n ame eq 'Nw HIN Author ization'}" >
        72                                          Auth orized acc ess to Pro viders and  Organizat ions
        73                                      </c:when >
        74                                 </ c:choose>
        75                             </td>
        76                             <td><f mt:formatD ate patter n="MM/dd/y yyy" value ="${r.dela yedConsent .dateAdded }" /></td>
        77                             <td></ td>
        78                             <td>
        79                                 <c :if test=" ${r.delaye dConsent.s tatus eq ' CANCELED'} ">
        80                                      <fmt:for matDate pa ttern="MM/ dd/yyyy" v alue="${r. delayedCon sent.resol utionDate} " />
        81                                 </ c:if>
        82                             </td>
        83                             <td>
        84                                 <! -- mail da te(s) -->
        85                                 <c :set var=" dateCount"  value="1"  />
        86                                 <c :forEach v ar="m" ite ms="${r.ma ilNotifica tions}" va rStatus="i ">
        87                                      <fmt:for matDate pa ttern="MM/ dd/yyyy" v alue="${m. sentDate}"  /><br />
        88                                 </ c:forEach>
        89                                      <a href= "#" class= "vap-old-m odal" data -title="Ed it Mail No tification  Dates" 
        90                                         data- delayed-co nsent-id=" ${r.delaye dConsent.d elayedCons entId}" da ta-consent -type="del ayed"
        91                                         title ="Edit not ification  dates for  this delay ed authori zation">
        92                                          <i c lass="fa f a-pencil-s quare-o fa -lg" aria- hidden="tr ue" style= "margin-to p: 5px;">< /i>
        93                                      </a>
        94                             </td>
        95                             <td>${ r.delayedC onsent.sta tus}
        96                                 <c :if test=" ${r.delaye dConsent.s tatus eq ' PENDING'}" >
        97                                      -
        98                                      <c:forEa ch var="v"  items="${ r.delayedC onsent.del ayReasonCo llection}"  varStatus ="loop">
        99                                          ${v. name}<c:if  test="${f n:length(r .delayedCo nsent.dela yReasonCol lection) g t 1 and (l oop.index  lt
        100                                            fn :length(r. delayedCon sent.delay ReasonColl ection) -  1)}">, </c :if>
        101                                      </c:forE ach>
        102                                 </ c:if>
        103                             </td>
        104                             <td>
        105                                 ${ r.delayedC onsent.use rId}
        106                             </td>
        107                             <td>
        108                                 <c :forEach v ar="c" ite ms="${r.co mments}">
        109                                      <c:if te st="${c.de layedConse ntId == r. delayedCon sent.delay edConsentI d}">
        110                                          <p>< fmt:format Date patte rn="MM/dd/ yyyy hh:mm :ss aa" va lue="${c.d ateAdded}" /> CT <b>$ {c.userId} </b>: ${c. comments}< /p>
        111                                      </c:if>
        112                                 </ c:forEach>
        113                                 <p >
        114                                      <a href= "PatientDe tails.do_s ec?addComm entForm=tr ue&delayed ConsentId= ${r.delaye dConsent.d elayedCons entId}&con sentType=$ {r.delayed Consent.co nsentTypeI d.name}" t itle="Add  Comment"
        115                                         oncli ck="if (ch eckReadySt ate()) {
        116                                                      Mod albox.show (this.href , {title:  this.title , width: 6 43, height : 180, aft erHide: fu nction ()  {
        117                                                               windo w.location .href = wi ndow.locat ion.href;
        118                                                           }});
        119                                                      ret urn false;
        120                                                  } else  {
        121                                                      ret urn false;
        122                                                  }">Add  Comment</a >
        123                                 </ p>
        124                             </td>
        125                             <td></ td>
        126                         </c:when>
        127  
        128                         <%-- Proce ss normal  consents - -%>
        129                         <c:otherwi se>
        130                             <c:cho ose>
        131                                 <% -- Check i f this was  an opt-ou t --%>
        132                                 <c :when test ="${r.isRe voked}">
        133                                 <t r>
        134                                      <td>
        135                                          ${r. consentDis playName}
        136                                      </td>
        137                                      <td>
        138                                          ${r. normalCons ent.purpos eOfUse}
        139                                      </td>
        140                                      <td>
        141                                          <c:c hoose>
        142                                               <c:when te st="${r.no rmalConsen t.optoutCo nsentType. value eq ' SSA Revoca tion'}">
        143                                                   Revoke d access t o Social S ecurity Ad ministrati on
        144                                               </c:when>
        145                                               <c:when te st="${r.no rmalConsen t.optoutCo nsentType. value eq ' NwHIN Orga nization R estriction  Revocatio n'}">
        146                                                   Revoke d restrict ion to sel ect Provid ers and Or ganization s
        147                                               </c:when>
        148                                               <c:when te st="${r.no rmalConsen t.optoutCo nsentType. value eq ' NwHIN Revo cation'}">
        149                                                   Revoke d authoriz ation to a ll Provide rs and Org anizations
        150                                               </c:when>
        151                                          </c: choose>
        152                                      </td>
        153                                      <td>
        154                                          <fmt :formatDat e pattern= "MM/dd/yyy y" value=" ${r.normal Consent.op toutTS}" / >
        155                                      </td>
        156                                      <td>&nbs p;</td>
        157                                      <td>&nbs p;</td>
        158                                      <td>
        159                                          <c:c hoose>
        160                                               <c:when te st="${r.no rmalConsen t.optoutCo nsentType. value eq ' NwHIN Revo cation'}">
        161                                                   <!-- m ail date(s ) -->
        162                                                   <c:for Each var=" m" items=" ${r.mailNo tification s}" varSta tus="i">
        163                                                       <f mt:formatD ate patter n="MM/dd/y yyy" value ="${m.sent Date}" />< br />
        164                                                   </c:fo rEach>
        165                                                       <a  href="#"  class="vap -old-modal " data-tit le="Edit M ail Notifi cation Dat es" 
        166                                                           data-cons ent-dir-id ="${r.norm alConsent. consentDir Id}" data- consent-ty pe="eHeath ExchangeRe vocation"
        167                                                           title="Ed it notific ation date s for this  eHealth E xchange Au thorizatio n revocati on">
        168                                                            <i class ="fa fa-pe ncil-squar e-o fa-lg"  aria-hidd en="true"  style="mar gin-top: 5 px;"></i>< /a>
        169                                                       <a  href="Pat ientDetail s.do_sec?p rintLetter =true&cons entId=${r. normalCons ent.consen tDirId}"
        170                                                            title="G enerate no tification  letter fo r this eHe alth Excha nge Author ization re vocation"
        171                                                            onclick= "Modalbox. show(this. href, {tit le: this.t itle, 
        172                                                            width:90 0, height: 'auto'});  return fal se;">
        173                                                            <i class ="fa fa-pr int fa-lg"  aria-hidd en="true"  style="mar gin-top: 5 px;"></i>
        174                                                       </ a>
        175                                               </c:when>
        176                                               <c:otherwi se>
        177                                                   &nbsp;
        178                                               </c:otherw ise>
        179                                          </c: choose>
        180                                      </td>
        181                                      <td>&nbs p;</td>
        182                                      <td>
        183                                          ${r. user}
        184                                      </td>
        185                                      <td>
        186                                          <c:f orEach var ="c" items ="${r.comm ents}">
        187                                               <c:if test ="${c.cons entType eq  r.normalC onsent.opt outConsent Type.value }">
        188                                                   <p><fm t:formatDa te pattern ="MM/dd/yy yy hh:mm:s s aa" valu e="${c.dat eAdded}"/>  CT <b>${c .userId}</ b>: ${c.co mments}</p >
        189                                               </c:if>
        190                                          </c: forEach>
        191                                          <p>
        192                                               <a href="P atientDeta ils.do_sec ?addCommen tForm=true &consentId =${r.norma lConsent.c onsentDirI d}&consent Type=${r.n ormalConse nt.optoutC onsentType .value}" t itle="Add  Comment"
        193                                               onclick="i f(checkRea dyState()) {Modalbox. show(this. href, {tit le: this.t itle, widt h:643, hei ght:180, a fterHide:  function()  {window.l ocation.hr ef = windo w.location .href; }}) ; return f alse;} els e {return  false;}">A dd Comment </a>
        194                                          </p>
        195                                      </td>
        196                                      <td>
        197                                          <c:c hoose>
        198                                               <c:when te st="${r.no rmalConsen t.optoutRe ason.value  eq 'Revok ed'}">
        199                                                   <c:cho ose>
        200                                                       <c :when test ="${r.optO utDocument Attachment }">
        201                                                            <c:url v ar="url" v alue="Pati entDetails .do_sec">
        202                                                                <c:p aram name= "history"  value="tru e" />
        203                                                                <c:p aram name= "documentT ype" value ="Revoke"  />
        204                                                                <c:p aram name= "consentDi rId" value ="${r.norm alConsent. consentDir Id}" />
        205                                                            </c:url>
        206                                                            <a href= "${url}">V iew/Print< /a>
        207                                                       </ c:when>
        208                                                       <c :otherwise >
        209                                                            <c:choos e>
        210                                                                <c:w hen test=" ${isFormUp loadAllowe d}">
        211                                                                     <form name ="upload"  action="Pa tientDetai ls.do_sec"
        212                                                                         method ="POST" on submit="re turn doSub mit(this)"
        213                                                                         enctyp e="multipa rt/form-da ta">
        214                                                                         <input  type="hid den" name= "consentDi rId"
        215                                                                             va lue="${r.n ormalConse nt.consent DirId}" />  <input ty pe="hidden "
        216                                                                             na me="docume ntType" va lue="Revok e" /> 
        217                                                                         <label  for="file "></label>  
        218                                                                         <input  alt="Brow se and Upl oad Consen t Form"
        219                                                                             na me="upload ed" type=" file" size ="6" id="f ile"
        220                                                                             ac cept="appl ication/pd f" />&nbsp
        221                                                                         <input  alt="Uplo ad revocat ion form"  class="but ton" type= "submit"
        222                                                                             va lue="Uploa d" name="u pload" />
        223                                                                     </form>
        224                                                                </c: when>
        225                                                            </c:choo se>
        226                                                       </ c:otherwis e>
        227                                                   </c:ch oose>
        228                                               </c:when>
        229                                          </c: choose>
        230                                      </td>
        231                                 </ tr>
        232                             </c:wh en>  
        233                                 
        234                             <%-- O therwise t his was an  opt-in -- %>
        235                             <c:oth erwise>
        236                                 <t r>
        237                                      <td>
        238                                          ${r. consentDis playName}
        239                                      </td>
        240                                      <td>
        241                                          ${r. normalCons ent.purpos eOfUse}
        242                                      </td>
        243                                      <td>
        244                                          <c:c hoose>
        245                                               <c:when te st="${r.no rmalConsen t.optinCon sentType.v alue eq 'S SA Authori zation'}">
        246                                                   Author ized acces s to Socia l Security  Administr ation
        247                                               </c:when>
        248                                               <c:when te st="${r.no rmalConsen t.optinCon sentType.v alue eq 'N wHIN Organ ization Re striction  Authorizat ion'}">
        249                                                   Restri cted selec t Provider s and Orga nizations
        250                                               </c:when>
        251                                               <c:when te st="${r.no rmalConsen t.optinCon sentType.v alue eq 'N wHIN Autho rization'} ">
        252                                                   Author ized acces s to Provi ders and O rganizatio ns
        253                                               </c:when>
        254                                          </c: choose>
        255                                      </td>
        256                                      <td>
        257                                          <fmt :formatDat e pattern= "MM/dd/yyy y" value=" ${r.normal Consent.op tinTS}" />
        258                                      </td>
        259                                      <td>
        260                                          <fmt :formatDat e pattern= "MM/dd/yyy y" value=" ${r.normal Consent.ex pirationDa te}" />
        261                                      </td>
        262                                      <td>
        263                                          <c:i f test="${ !empty r.n ormalConse nt.optoutT S}">
        264                                               <fmt:forma tDate patt ern="MM/dd /yyyy" val ue="${r.no rmalConsen t.optoutTS }" />
        265                                          </c: if>
        266                                      </td>
        267                                      <td>
        268                                          <c:c hoose>
        269                                               <c:when te st="${empt y r.normal Consent.op toutTS and  r.normalC onsent.opt inConsentT ype.value  != 'NwHIN  Organizati on Restric tion Autho rization'} ">
        270                                                   <!-- m ail date(s ) -->
        271                                                   <c:for Each var=" m" items=" ${r.mailNo tification s}" varSta tus="i">
        272                                                       <f mt:formatD ate patter n="MM/dd/y yyy" value ="${m.sent Date}" />< br />
        273                                                   </c:fo rEach>
        274                                                       <a  href="#"  class="vap -old-modal " data-tit le="Edit M ail Notifi cation Dat es" 
        275                                                           data-cons ent-dir-id ="${r.norm alConsent. consentDir Id}" data- consent-ty pe="${r.no rmalConsen t.optinCon sentType}"
        276                                                           title="Ed it notific ation date s for this  expiring  authorizat ion">
        277                                                            <i class ="fa fa-pe ncil-squar e-o fa-lg"  aria-hidd en="true"  style="mar gin-top: 5 px;"></i>< /a>
        278                                                       <a  href="Pat ientDetail s.do_sec?p rintLetter =true&cons entId=${r. normalCons ent.consen tDirId}"
        279                                                            title="G enerate no tification  letter fo r this exp iring auth orization"
        280                                                            onclick= "Modalbox. show(this. href, {tit le: this.t itle, 
        281                                                            width:90 0, height: 'auto'});  return fal se;">
        282                                                            <i class ="fa fa-pr int fa-lg"  aria-hidd en="true"  style="mar gin-top: 5 px;"></i>
        283                                                       </ a>
        284                                               </c:when>
        285                                               <c:otherwi se>
        286                                                   &nbsp;
        287                                               </c:otherw ise>
        288                                          </c: choose>     
        289                                      </td>
        290                                      <td>
        291                                          <c:c hoose>
        292                                               <c:when te st="${!emp ty r.norma lConsent.o ptoutTS}">
        293                                                   INACTI VE - ${r.n ormalConse nt.optoutR eason.valu e}
        294                                               </c:when>
        295                                               <c:otherwi se>
        296                                                   <c:cho ose>
        297                                                       <c :when test ="${r.norm alConsent. optinConse ntType.val ue eq 'NwH IN Organiz ation Rest riction Au thorizatio n'}">
        298                                                            <c:choos e>                                                                        
        299                                                                <c:w hen test=" ${empty r. normalCons ent.optout TS}">
        300                                                                     ACTIVE
        301                                                                </c: when>
        302                                                                <c:o therwise>
        303                                                                     INACTIVE
        304                                                                </c: otherwise>
        305                                                            </c:choo se>
        306                                                       </ c:when>
        307                                                       <c :otherwise >
        308                                                            <fmt:for matDate pa ttern="yyy yMMdd" val ue="${r.no rmalConsen t.expirati onDate}" v ar="expire Date" />
        309                                                            <jsp:use Bean id="d ateValue"  class="jav a.util.Dat e"/>
        310                                                            <fmt:for matDate pa ttern="yyy yMMdd" val ue="${date Value}" va r="todayDa te" />
        311                                                            <c:choos e>
        312                                                                <c:w hen test=" ${expireDa te lt toda yDate}">
        313                                                                     INACTIVE -  Authoriza tion Expir ed
        314                                                                </c: when>
        315                                                                <c:o therwise>
        316                                                                     ACTIVE
        317                                                                </c: otherwise>
        318                                                            </c:choo se>
        319                                                       </ c:otherwis e>
        320                                                   </c:ch oose>
        321                                               </c:otherw ise>
        322                                          </c: choose>
        323                                      </td>
        324                                      <td>
        325                                          ${r. user}
        326                                      </td>
        327                                      <td>
        328                                          <c:f orEach var ="c" items ="${r.comm ents}">
        329                                               <c:if test ="${c.cons entType eq  r.normalC onsent.opt inConsentT ype.value} ">
        330                                                   <p><fm t:formatDa te pattern ="MM/dd/yy yy hh:mm:s s aa" valu e="${c.dat eAdded}"/>  CT <b>${c .userId}</ b>: ${c.co mments}</p >
        331                                               </c:if>
        332                                          </c: forEach>
        333                                          <p>
        334                                               <a href="P atientDeta ils.do_sec ?addCommen tForm=true &consentId =${r.norma lConsent.c onsentDirI d}&consent Type=${r.n ormalConse nt.optinCo nsentType. value}" ti tle="Add C omment"
        335                                                  onclick ="if (chec kReadyStat e()) {
        336                                                               Modal box.show(t his.href,  {title: th is.title,  width: 643 , height:  180, after Hide: func tion () {
        337                                                                        window. location.h ref = wind ow.locatio n.href; }} );
        338                                                               retur n false;}  else {
        339                                                               retur n false;
        340                                                           }">Add Co mment</a>
        341                                          </p>
        342                                      </td>
        343                                      <td>
        344                                          <c:c hoose>
        345                                               <c:when te st="${r.op tInDocumen tAttachmen t}">
        346                                                   <c:url  var="url"  value="Pa tientDetai ls.do_sec" >
        347                                                       <c :param nam e="history " value="t rue" />
        348                                                       <c :param nam e="documen tType" val ue="Author ize" />
        349                                                       <c :param nam e="consent DirId" val ue="${r.no rmalConsen t.consentD irId}" />
        350                                                   </c:ur l>
        351                                                   <a hre f="${url}" >View/Prin t</a>
        352                                               </c:when>    
        353                                               <c:otherwi se>
        354                                                   <c:cho ose>
        355                                                       <c :when test ="${isForm UploadAllo wed}">
        356                                                            <form na me="upload " action=" PatientDet ails.do_se c"
        357                                                                meth od="POST"  onsubmit=" return doS ubmit(this )"
        358                                                                enct ype="multi part/form- data">
        359                                                                <inp ut type="h idden" nam e="consent DirId"
        360                                                                     value="${r .normalCon sent.conse ntDirId}"  /> <input  type="hidd en"
        361                                                                     name="docu mentType"  value="Aut horize" />  <label fo r="file">
        362                                                                </la bel><input  alt="Brow se and Upl oad Consen t Form" na me="upload ed"
        363                                                                     type="file " size="6"  id="file"  accept="a pplication /pdf" />&n bsp;
        364                                                                <INP UT class=" button" TY PE="SUBMIT " VALUE="U pload"
        365                                                                     name="uplo ad" alt="U pload Auth orization  form" />
        366                                                            </form>
        367                                                       </ c:when>
        368                                                   </c:ch oose>
        369                                               </c:otherw ise>
        370                                          </c: choose>
        371                                      </td>
        372                                 </ tr>
        373                             </c:ot herwise>
        374                         </c:choose >
        375                    </c: otherwise>    
        376                </c:choo se>
        377                    </c: forEach>
        378           </ tbody>
        379   </table>