Produced by Araxis Merge on 6/9/2017 3:51:26 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Fri Jun 9 19:51:26 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\java\gov\va\nvap\web\patient | PatientSearchResults.java | Fri Apr 21 20:03:30 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 57 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 1 | package go v.va.nvap. web.patien t; | |||||
| 2 | ||||||
| 3 | import gov .va.nvap.c ommon.vali dation.Nul lChecker; | |||||
| 4 | import gov .va.nvap.w eb.app.Res ponseDispa tcherHttpS ervlet; | |||||
| 5 | ||||||
| 6 | import jav a.io.IOExc eption; | |||||
| 7 | ||||||
| 8 | import jav ax.servlet .ServletEx ception; | |||||
| 9 | import jav ax.servlet .http.Http ServletReq uest; | |||||
| 10 | import jav ax.servlet .http.Http ServletRes ponse; | |||||
| 11 | import jav ax.servlet .http.Http Session; | |||||
| 12 | ||||||
| 13 | /** | |||||
| 14 | * Search results af ter search ing a pati ent and wh en there a re no/mult iple | |||||
| 15 | * results from the MPI. | |||||
| 16 | * | |||||
| 17 | * @author David Vaz quez Modif ied By: As ha Amritra j | |||||
| 18 | */ | |||||
| 19 | public cla ss Patient SearchResu lts extend s Response Dispatcher HttpServle t { | |||||
| 20 | /* * | |||||
| 21 | * Serial UI D. | |||||
| 22 | * / | |||||
| 23 | pr ivate stat ic final l ong serial VersionUID = 4867841 7203197666 61L; | |||||
| 24 | ||||||
| 25 | pu blic void select(fin al HttpSer vletReques t request, | |||||
| 26 | final HttpServle tResponse response) throws Ser vletExcept ion, | |||||
| 27 | IOExce ption { | |||||
| 28 | fina l HttpSess ion sessio n = reques t.getSessi on(false); | |||||
| 29 | fina l String i cn = reque st.getPara meter("icn "); | |||||
| 30 | Stri ng icnAttr ibuteName = this.get ServletCon fig().getI nitParamet er( | |||||
| 31 | "icnAttr ibuteName" ); | |||||
| 32 | ||||||
| 33 | if ( NullChecke r.isNullOr Empty(icnA ttributeNa me)) { | |||||
| 34 | icnAtt ributeName = "icn"; | |||||
| 35 | } | |||||
| 36 | ||||||
| 37 | if ( this.valid ate(reques t, respons e, "select ")) { | |||||
| 38 | sessio n.setAttri bute(icnAt tributeNam e, icn); | |||||
| 39 | this.f orward(req uest, resp onse, "sel ect"); | |||||
| 40 | } el se { | |||||
| 41 | this.f orward(req uest, resp onse, "val idate"); | |||||
| 42 | } | |||||
| 43 | } | |||||
| 44 | ||||||
| 45 | @O verride | |||||
| 46 | pu blic void unspecifie d(final Ht tpServletR equest req uest, | |||||
| 47 | final HttpServle tResponse response) throws Ser vletExcept ion, | |||||
| 48 | IOExce ption { | |||||
| 49 | fina l HttpSess ion sessio n = reques t.getSessi on(false); | |||||
| 50 | ||||||
| 51 | if ( session.ge tAttribute ("patients ") != null ) { | |||||
| 52 | this.f orward(req uest, resp onse, "sho w"); | |||||
| 53 | } el se { | |||||
| 54 | this.f orward(req uest, resp onse, "nos how"); | |||||
| 55 | } | |||||
| 56 | } | |||||
| 57 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.