Produced by Araxis Merge on 6/9/2017 3:51:23 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:23 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-svc-facility\src\main\java\gov\va\nvap\svc\facility\intf | FacilityService.java | Mon Jun 5 03:34:18 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 68 |
| 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 | /* | |||||
| 2 | * To chan ge this te mplate, ch oose Tools | Templat es | |||||
| 3 | * and ope n the temp late in th e editor. | |||||
| 4 | */ | |||||
| 5 | ||||||
| 6 | package go v.va.nvap. svc.facili ty.intf; | |||||
| 7 | ||||||
| 8 | import gov .va.nvap.s vc.facilit y.data.Fac ility; | |||||
| 9 | import gov .va.nvap.s vc.facilit y.data.Loc ation; | |||||
| 10 | ||||||
| 11 | import jav a.util.Col lection; | |||||
| 12 | ||||||
| 13 | /** | |||||
| 14 | * | |||||
| 15 | * @author vhaiswsas tra | |||||
| 16 | */ | |||||
| 17 | public int erface Fac ilityServi ce { | |||||
| 18 | ||||||
| 19 | /* * | |||||
| 20 | * Gets the list of Al l VistA Fa cilities t hat are a part of th e VA. | |||||
| 21 | * | |||||
| 22 | * @return T he list of all facil ities. | |||||
| 23 | * / | |||||
| 24 | Co llection<F acility> g etAllVistA Facilities (); | |||||
| 25 | ||||||
| 26 | /* * | |||||
| 27 | * Gets the list of Vi stA Facili ties that are curren tly allowe d to | |||||
| 28 | * participa te in the data shari ng pilot. | |||||
| 29 | * | |||||
| 30 | * @return T he list of facilitie s currentl y particip ating. | |||||
| 31 | * / | |||||
| 32 | Co llection<F acility> g etAllowedV istAFacili ties(); | |||||
| 33 | ||||||
| 34 | /* * | |||||
| 35 | * Gets a VA Facility by Station Number.. | |||||
| 36 | * | |||||
| 37 | * @param id A station Number su ch as 983. | |||||
| 38 | * @return A Facility correspond ing to Sta tion Numbe r. | |||||
| 39 | * @throws E ntityDoesN otExistExc eption | |||||
| 40 | * / | |||||
| 41 | pu blic Facil ity getFac ilityBySta tionNumber (String id ) throws E ntityDoesN otExistExc eption, Il legalArgum entExcepti on; | |||||
| 42 | ||||||
| 43 | /* * | |||||
| 44 | * Gets a fa cility bas ed on a VH A User id. A VHA us erID forma t is in th e form | |||||
| 45 | * <VHA><3Ch arLocation Code><Firs t5LastName ><First1Fi rstName> | |||||
| 46 | * Ex: - 3 Char Location code is IS W, for one , M Jordan !! | |||||
| 47 | * In other words this method sh ould extra ct charact ers betwee n 3-6 from the user id. | |||||
| 48 | * An ideal approach w ould've be en to retr ieve a use r facility from LDAP , had that been trac ked. | |||||
| 49 | * | |||||
| 50 | * @param id A Valid V HA User Id . | |||||
| 51 | * @return A Facility associated with the VHA User's id. | |||||
| 52 | * / | |||||
| 53 | Fa cility get VHAUserFac ility(Stri ng vhaUser Id) throws EntityDoe sNotExistE xception, IllegalArg umentExcep tion; | |||||
| 54 | ||||||
| 55 | /* * | |||||
| 56 | * Gets a VA Location by Code. | |||||
| 57 | * | |||||
| 58 | * Each Faci lity can h ave multip le Locatio ns. Here i s a list o f approved VA locati on codes | |||||
| 59 | * - http:// URL.DNS | |||||
| 60 | * | |||||
| 61 | * @param lo cationCode | |||||
| 62 | * A locati on code su ch as ISL, ISW, SLC etc. | |||||
| 63 | * @return A location correspond ing to loc ation code s. | |||||
| 64 | * @throws E ntityDoesN otExistExc eption | |||||
| 65 | * / | |||||
| 66 | pu blic Locat ion getLoc ationByCod e(String l ocationCod e) throws EntityDoes NotExistEx ception, I llegalArgu mentExcept ion; | |||||
| 67 | ||||||
| 68 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.