Produced by Araxis Merge on 3/25/2019 8:58:08 AM Central 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 | C:\AraxisMergeCompare\Pri_un\IMAG_Source\VISA\Java\VistaImagingDataSourceProvider\main\src\java\gov\va\med\imaging\vistaimagingdatasource | VistaImagingExternalPackageDataSourceServiceV6.java | Mon Mar 18 20:39:06 2019 UTC |
2 | C:\AraxisMergeCompare\Pri_re\IMAG_Source\VISA\Java\VistaImagingDataSourceProvider\main\src\java\gov\va\med\imaging\vistaimagingdatasource | VistaImagingExternalPackageDataSourceServiceV6.java | Tue Mar 19 12:04:24 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 184 |
Changed | 1 | 2 |
Inserted | 0 | 0 |
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 | * | |
3 | Package: MAG - Vis tA Imaging | |
4 | WARNING: Per VHA D irective 2 004-038, t his routin e should n ot be modi fied. | |
5 | Date Cre ated: June , 2018 | |
6 | Site Nam e: Washin gton OI Fi eld Office , Silver S pring, MD | |
7 | Developer: DNS tjahjb | |
8 | ;; +-------- ---------- ---------- ---------- ---------- ---------- ---------- + | |
9 | ;; Property of the US Government . | |
10 | ;; No permis sion to co py or redi stribute t his softwa re is give n. | |
11 | ;; Use of un released v ersions of this soft ware requi res the us er | |
12 | ;; to execu te a writt en test ag reement wi th the Vis tA Imaging | |
13 | ;; Developm ent Office of the De partment o f Veterans Affairs, | |
14 | ;; telephon e (301) 73 4-0100. | |
15 | ;; | |
16 | ;; The Food and Drug A dministrat ion classi fies this software a s | |
17 | ;; a Class I I medical device. A s such, it may not b e changed | |
18 | ;; in any wa y. Modifi cations to this soft ware may r esult in a n | |
19 | ;; adulterat ed medical device un der 21CFR8 20, the us e of which | |
20 | ;; is consid ered to be a violati on of US F ederal Sta tutes. | |
21 | ;; +-------- ---------- ---------- ---------- ---------- ---------- ---------- + | |
22 | ||
23 | */ | |
24 | package go v.va.med.i maging.vis taimagingd atasource; | |
25 | ||
26 | import jav a.util.Lis t; | |
27 | ||
28 | import gov .va.med.Ro utingToken ; | |
29 | import gov .va.med.im aging.arti factsource .ResolvedA rtifactSou rce; | |
30 | import gov .va.med.im aging.core .interface s.exceptio ns.Connect ionExcepti on; | |
31 | import gov .va.med.im aging.core .interface s.exceptio ns.MethodE xception; | |
32 | import gov .va.med.im aging.exch ange.busin ess.WorkIt em; | |
33 | import gov .va.med.im aging.vist adatasourc e.common.V istaCommon Utilities; | |
34 | import gov .va.med.im aging.vist aimagingda tasource.c ommon.Vist aImagingCo mmonUtilit ies; | |
35 | import gov .va.med.im aging.vist aimagingda tasource.w orklist.Wo rkItemDAO; | |
36 | ||
37 | public cla ss VistaIm agingExter nalPackage DataSource ServiceV6 | |
38 | extends Vi staImaging ExternalPa ckageDataS ourceServi ceV5 | |
39 | { | |
40 | pu blic final static St ring MAG_R EQUIRED_VE RSION = "3 .0P197"; | |
41 | ||
42 | pu blic Vista ImagingExt ernalPacka geDataSour ceServiceV 6(Resolved ArtifactSo urce resol vedArtifac tSource, S tring prot ocol) | |
43 | { | |
44 | supe r(resolved ArtifactSo urce, prot ocol); | |
45 | } | |
46 | ||
47 | /* (non-Java doc) | |
48 | * @see gov. va.med.ima ging.vista datasource .AbstractB aseVistaEx ternalPack ageDataSou rceService #getRequir edVistaIma gingVersio n() | |
49 | * / | |
50 | @O verride | |
51 | pr otected St ring getRe quiredVist aImagingVe rsion() | |
52 | { | |
53 | retu rn VistaIm agingCommo nUtilities .getVistaD ataSourceI magingVers ion( | |
54 | VistaIma gingDataSo urceProvid er.getVist aConfigura tion(), th is.getClas s(), | |
55 | MAG_REQU IRED_VERSI ON); | |
56 | } | |
57 | ||
58 | @O verride | |
59 | pr otected St ring getDa taSourceVe rsion() | |
60 | { | |
61 | retu rn "6"; | |
62 | } | |
63 | ||
64 | ||
65 | @O verride | |
66 | pu blic List< WorkItem> getRemoteW orkItemLis tFromDataS ource( | |
67 | Routin gToken glo balRouting Token, | |
68 | String idType, | |
69 | String patientId , | |
70 | String cptCode) | |
71 | th rows Metho dException , Connecti onExceptio n | |
72 | { | |
73 | getL ogger().de bug("...ex ecuting ge tRemoteWor kItemListF romDataSou rce method in V6."); | |
74 | Vist aCommonUti lities.set DataSource MethodAndV ersion("ge tRemoteWor kItemListF romDataSou rce", getD ataSourceV ersion()); | |
75 | ||
76 | Work ItemDAO da o = new Wo rkItemDAO( this); | |
77 | retu rn dao.fin dByCpt(idT ype, patie ntId, cptC ode); | |
78 | } | |
79 | ||
80 | @O verride | |
81 | pu blic boole an deleteR emoteWorkI temFromDat aSource( | |
82 | Routin gToken glo balRouting Token, | |
83 | String id) | |
84 | th rows Metho dException , Connecti onExceptio n | |
85 | { | |
86 | getL ogger().de bug("...ex ecuting de leteRemote WorkItemFr omDataSour ce method in V6."); | |
87 | Vist aCommonUti lities.set DataSource MethodAndV ersion("de letePreCac heRemoteWo rkItem", g etDataSour ceVersion( )); | |
88 | ||
89 | Work ItemDAO da o = new Wo rkItemDAO( this); | |
90 | dao. delete(Int eger.value Of(id)); | |
91 | retu rn true; | |
92 | } | |
93 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.