Produced by Araxis Merge on 5/28/2019 3:28:34 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 | CV_src.zip\CVjMeadows-CCP\src\main\java\gov\va\med\jmeadows\dataservicehandler | BHIERelayServiceHandler.java | Wed May 1 18:46:27 2019 UTC |
2 | CV_src.zip\CVjMeadows-CCP\src\main\java\gov\va\med\jmeadows\dataservicehandler | BHIERelayServiceHandler.java | Sat May 25 18:37:00 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 1112 |
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 | * Janus 4 .0 (c) | |
3 | * Copyrig ht (c) 201 1 Hawaii R esource Gr oup LLC. A ll Rights Reserved. | |
4 | * Develop ed for the Pacific T elehealth & Technolo gy Hui and the Pacif ic Joint I nformation Technolog y Center | |
5 | * Contrib utors: | |
6 | * Hon orable Sen ator Danie l K. Inouy e | |
7 | * VA Pacific Is lands Heal th Care Sy stem | |
8 | * Tri pler Army Medical Ce nter | |
9 | */ | |
10 | ||
11 | ||
12 | package go v.va.med.j meadows.da taserviceh andler; | |
13 | ||
14 | import gov .va.med.bh ie.*; | |
15 | import gov .va.med.jm eadows.com mon.JMeado wsExceptio n; | |
16 | import org .slf4j.Log ger; | |
17 | import org .slf4j.Log gerFactory ; | |
18 | ||
19 | import jav ax.xml.nam espace.QNa me; | |
20 | import jav ax.xml.ws. BindingPro vider; | |
21 | import jav ax.xml.ws. soap.MTOMF eature; | |
22 | import jav a.net.Malf ormedURLEx ception; | |
23 | ||
24 | /** | |
25 | * BHIESer viceHandle r | |
26 | */ | |
27 | public cla ss BHIERel ayServiceH andler ext ends DataS erviceHand ler { | |
28 | privat e BHIERela yService b hieRelaySe rvice; | |
29 | privat e static f inal Logge r LOGGER = LoggerFac tory.getLo gger(BHIER elayServic eHandler.c lass); | |
30 | ||
31 | public BHIERelay ServiceHan dler(Strin g url) { | |
32 | su per(); | |
33 | ||
34 | se rviceURL = url; | |
35 | se rviceName = "BHIERel ayService" ; | |
36 | serviceNam espace = " http:// DNS . URL /"; | |
37 | qS erviceName = new QNa me(service Namespace, serviceNa me); | |
38 | ||
39 | se rviceUsern ame = APP_ CONFIG.get BHIERelayS erviceUser name(); | |
40 | se rvicePassw ord = APP_ CONFIG.get BHIERelayS ervicePass word(); | |
41 | ||
42 | ||
43 | } | |
44 | ||
45 | privat e BHIERela y getBHIER elayPort() throws Ma lformedURL Exception { | |
46 | re turn getBH IERelayPor t(false); | |
47 | } | |
48 | ||
49 | privat e BHIERela y getBHIER elayPort(b oolean inc ludeMTOMFe ature) thr ows Malfor medURLExce ption | |
50 | { | |
51 | if (bhieRela yService = = null) { | |
52 | createSe rvice(); | |
53 | } | |
54 | ||
55 | BH IERelay po rt = null; | |
56 | ||
57 | if (includeM TOMFeature ) { | |
58 | port = b hieRelaySe rvice.getB HIERelayPo rt(new MTO MFeature() ); | |
59 | } else { | |
60 | port = b hieRelaySe rvice.getB HIERelayPo rt(); | |
61 | } | |
62 | ||
63 | // set port e ndpoint ad dress | |
64 | Bi ndingProvi der prov = (BindingP rovider) p ort; | |
65 | pr ov.getRequ estContext ().put(Bin dingProvid er.ENDPOIN T_ADDRESS_ PROPERTY, serviceURL ); | |
66 | pr ov.getRequ estContext ().put(Bin dingProvid er.USERNAM E_PROPERTY , serviceU sername); | |
67 | pr ov.getRequ estContext ().put(Bin dingProvid er.PASSWOR D_PROPERTY , serviceP assword); | |
68 | pr ov.getRequ estContext ().put("co m.sun.xml. internal.w s.connect. timeout", serviceCon nectionTim eoutMS); | |
69 | pr ov.getRequ estContext ().put("co m.sun.xml. internal.w s.request. timeout", serviceReq uestTimeou tMS); | |
70 | pr ov.getRequ estContext ().put("co m.sun.xml. ws.connect .timeout", serviceCo nnectionTi meoutMS); | |
71 | pr ov.getRequ estContext ().put("co m.sun.xml. ws.request .timeout", serviceRe questTimeo utMS); | |
72 | ||
73 | re turn port; | |
74 | } | |
75 | ||
76 | privat e synchron ized void createServ ice() { | |
77 | if (bhieRela yService = = null) { | |
78 | try { | |
79 | bhie RelayServi ce = new B HIERelaySe rvice(); | |
80 | } catch (Exception e) { | |
81 | logE rror(e); | |
82 | thro w new Runt imeExcepti on(e); | |
83 | } | |
84 | } | |
85 | } | |
86 | ||
87 | public V4ResultC ollection getPatient Admissions (QueryBean queryBean ) throws J MeadowsExc eption { | |
88 | tr y { | |
89 | return g etBHIERela yPort().ge tPatientAd missions(q ueryBean); | |
90 | } catch (Exc eption e) { | |
91 | logError (e); | |
92 | throw ne w JMeadows Exception( e); | |
93 | } | |
94 | } | |
95 | ||
96 | public V4ResultC ollection getPatient Allergies( QueryBean queryBean) throws JM eadowsExce ption { | |
97 | tr y { | |
98 | return g etBHIERela yPort().ge tPatientAl lergies(qu eryBean); | |
99 | } catch (Exc eption e) { | |
100 | logError (e); | |
101 | throw ne w JMeadows Exception( e); | |
102 | } | |
103 | } | |
104 | ||
105 | public V4ResultC ollection getPatient Immunizati ons(QueryB ean queryB ean) throw s JMeadows Exception { | |
106 | tr y { | |
107 | return g etBHIERela yPort().ge tPatientIm munization s(queryBea n); | |
108 | } catch (Exc eption e) { | |
109 | logError (e); | |
110 | throw ne w JMeadows Exception( e); | |
111 | } | |
112 | } | |
113 | ||
114 | public V4ResultC ollection getPatient ProblemLis t(QueryBea n queryBea n) throws JMeadowsEx ception { | |
115 | tr y { | |
116 | return g etBHIERela yPort().ge tPatientPr oblemList( queryBean) ; | |
117 | } catch (Exc eption e) { | |
118 | logError (e); | |
119 | throw ne w JMeadows Exception( e); | |
120 | } | |
121 | } | |
122 | ||
123 | public V4ResultC ollection getPatient RadiologyR eports(Que ryBean que ryBean) th rows JMead owsExcepti on { | |
124 | tr y { | |
125 | return g etBHIERela yPort().ge tPatientRa diologyRep orts(query Bean); | |
126 | } catch (Exc eption e) { | |
127 | logError (e); | |
128 | throw ne w JMeadows Exception( e); | |
129 | } | |
130 | } | |
131 | ||
132 | public V4ResultC ollection getPatient Vitals(Que ryBean que ryBean) th rows JMead owsExcepti on { | |
133 | tr y { | |
134 | return g etBHIERela yPort().ge tPatientVi tals(query Bean); | |
135 | } catch (Exc eption e) { | |
136 | logError (e); | |
137 | throw ne w JMeadows Exception( e); | |
138 | } | |
139 | } | |
140 | ||
141 | public V4ResultC ollection getPatient Appointmen ts(QueryBe an queryBe an) throws JMeadowsE xception { | |
142 | tr y { | |
143 | return g etBHIERela yPort().ge tPatientAp pointments (queryBean ); | |
144 | } catch (Exc eption e) { | |
145 | logError (e); | |
146 | throw ne w JMeadows Exception( e); | |
147 | } | |
148 | } | |
149 | ||
150 | public V4ResultC ollection getPatient Encounters (QueryBean queryBean ) throws J MeadowsExc eption { | |
151 | tr y { | |
152 | return g etBHIERela yPort().ge tPatientEn counters(q ueryBean); | |
153 | } catch (Exc eption e) { | |
154 | logError (e); | |
155 | throw ne w JMeadows Exception( e); | |
156 | } | |
157 | } | |
158 | ||
159 | public V4ResultC ollection getEncount erNotes(Qu eryBean qu eryBean) t hrows JMea dowsExcept ion { | |
160 | tr y { | |
161 | return g etBHIERela yPort().ge tEncounter Notes(quer yBean); | |
162 | } catch (Exc eption e) { | |
163 | logError (e); | |
164 | throw ne w JMeadows Exception( e); | |
165 | } | |
166 | } | |
167 | ||
168 | public V4ResultC ollection getPatient Notes(Quer yBean quer yBean) thr ows JMeado wsExceptio n { | |
169 | tr y { | |
170 | return g etBHIERela yPort().ge tPatientNo tes(queryB ean); | |
171 | } catch (Exc eption e) { | |
172 | logError (e); | |
173 | throw ne w JMeadows Exception( e); | |
174 | } | |
175 | } | |
176 | ||
177 | public NoteImage getNoteIm age(String url) thro ws JMeadow sException { | |
178 | tr y { | |
179 | return g etBHIERela yPort(true ).getNoteI mageFromUr l(url); | |
180 | } catch (Exc eption e) { | |
181 | logError (e); | |
182 | throw ne w JMeadows Exception( e); | |
183 | } | |
184 | } | |
185 | ||
186 | public NoteImage getNoteAt tachment(S tring url) throws JM eadowsExce ption { | |
187 | tr y { | |
188 | return g etBHIERela yPort(true ).getNoteA ttachmentF romUrl(url ); | |
189 | } catch (Exc eption e) { | |
190 | logError (e); | |
191 | throw ne w JMeadows Exception( e); | |
192 | } | |
193 | } | |
194 | ||
195 | public V4ResultC ollection getPatient InpatientN otes(Query Bean query Bean) thro ws JMeadow sException { | |
196 | tr y { | |
197 | return g etBHIERela yPort().ge tPatientIn patientNot es(queryBe an); | |
198 | } catch (Exc eption e) { | |
199 | throw ne w JMeadows Exception( e); | |
200 | } | |
201 | } | |
202 | ||
203 | public V4ResultC ollection getPatient DischargeS ummaries(Q ueryBean q ueryBean) throws JMe adowsExcep tion { | |
204 | tr y { | |
205 | return g etBHIERela yPort().ge tPatientDi schargeSum maries(que ryBean); | |
206 | } catch (Exc eption e) { | |
207 | logError (e); | |
208 | throw ne w JMeadows Exception( e); | |
209 | } | |
210 | } | |
211 | ||
212 | public V4ResultC ollection getPatient DentalNote s(QueryBea n queryBea n) throws JMeadowsEx ception { | |
213 | tr y { | |
214 | return g etBHIERela yPort().ge tPatientDe ntalNotes( queryBean) ; | |
215 | } catch (Exc eption e) { | |
216 | throw ne w JMeadows Exception( e); | |
217 | } | |
218 | } | |
219 | ||
220 | // publ ic V4Resul tCollectio n getInpat ientNotes( QueryBean queryBean) throws JM eadowsExce ption { | |
221 | // try { | |
222 | // return getBHIERe layPort(). getInpatie ntNotes(qu eryBean); | |
223 | // } catch (E xception e ) { | |
224 | // throw new JMeado wsExceptio n(e); | |
225 | // } | |
226 | // } | |
227 | ||
228 | public V4ResultC ollection getPatient Consults(Q ueryBean q ueryBean) throws JMe adowsExcep tion { | |
229 | tr y { | |
230 | return g etBHIERela yPort().ge tPatientCo nsults(que ryBean); | |
231 | } catch (Exc eption e) { | |
232 | logError (e); | |
233 | throw ne w JMeadows Exception( e); | |
234 | } | |
235 | } | |
236 | ||
237 | //getP atientAler ts | |
238 | public V4ResultC ollection getPatient Management (QueryBean queryBean ) throws J MeadowsExc eption { | |
239 | tr y { | |
240 | return g etBHIERela yPort().ge tPatientMa nagement(q ueryBean); | |
241 | } catch (Exc eption e) { | |
242 | logError (e); | |
243 | throw ne w JMeadows Exception( e); | |
244 | } | |
245 | } | |
246 | ||
247 | public V4ResultC ollection getPatient Medication s(QueryBea n queryBea n) throws JMeadowsEx ception { | |
248 | tr y { | |
249 | return g etBHIERela yPort().ge tPatientMe dications( queryBean) ; | |
250 | } catch (Exc eption e) { | |
251 | logError (e); | |
252 | throw ne w JMeadows Exception( e); | |
253 | } | |
254 | } | |
255 | ||
256 | public V4ResultC ollection getPatient LabChemist ries(Query Bean query Bean) thro ws JMeadow sException { | |
257 | tr y { | |
258 | return g etBHIERela yPort().ge tPatientLa bChemistri es(queryBe an); | |
259 | } catch (Exc eption e) { | |
260 | logError (e); | |
261 | throw ne w JMeadows Exception( e); | |
262 | } | |
263 | } | |
264 | ||
265 | public V4ResultC ollection getPatient LabMicrobi ologies(Qu eryBean qu eryBean) t hrows JMea dowsExcept ion { | |
266 | tr y { | |
267 | return g etBHIERela yPort().ge tPatientLa bMicrobiol ogies(quer yBean); | |
268 | } catch (Exc eption e) { | |
269 | logError (e); | |
270 | throw ne w JMeadows Exception( e); | |
271 | } | |
272 | } | |
273 | ||
274 | public V4ResultC ollection getPatient LabAnatomi cPathologi es(QueryBe an queryBe an) throws JMeadowsE xception { | |
275 | tr y { | |
276 | return g etBHIERela yPort().ge tPatientLa bAnatomicP athologies (queryBean ); | |
277 | } catch (Exc eption e) { | |
278 | logError (e); | |
279 | throw ne w JMeadows Exception( e); | |
280 | } | |
281 | } | |
282 | ||
283 | public V4ResultC ollection getPatient Demographi cs(QueryBe an queryBe an) throws JMeadowsE xception { | |
284 | tr y { | |
285 | return g etBHIERela yPort().ge tPatientDe mographics (queryBean ); | |
286 | } catch (Exc eption e) { | |
287 | logError (e); | |
288 | throw ne w JMeadows Exception( e); | |
289 | } | |
290 | } | |
291 | ||
292 | public V4ResultC ollection getPatient SocialHist ory(QueryB ean queryB ean) throw s JMeadows Exception { | |
293 | tr y { | |
294 | return g etBHIERela yPort().ge tPatientSo cialHistor y(queryBea n); | |
295 | } catch (Exc eption e) { | |
296 | logError (e); | |
297 | throw ne w JMeadows Exception( e); | |
298 | } | |
299 | } | |
300 | ||
301 | public V4ResultC ollection getPatient OtherHisto ry(QueryBe an queryBe an) throws JMeadowsE xception { | |
302 | tr y { | |
303 | return g etBHIERela yPort().ge tPatientOt herHistory (queryBean ); | |
304 | } catch (Exc eption e) { | |
305 | logError (e); | |
306 | throw ne w JMeadows Exception( e); | |
307 | } | |
308 | } | |
309 | ||
310 | public V4ResultC ollection getPatient FamilyHist ory(QueryB ean queryB ean) throw s JMeadows Exception { | |
311 | tr y { | |
312 | return g etBHIERela yPort().ge tPatientFa milyHistor y(queryBea n); | |
313 | } catch (Exc eption e) { | |
314 | logError (e); | |
315 | throw ne w JMeadows Exception( e); | |
316 | } | |
317 | } | |
318 | ||
319 | public V4ResultC ollection getPatient Orders(Que ryBean que ryBean) th rows JMead owsExcepti on { | |
320 | tr y { | |
321 | return g etBHIERela yPort().ge tPatientOr ders(query Bean); | |
322 | } catch (Exc eption e) { | |
323 | logError (e); | |
324 | throw ne w JMeadows Exception( e); | |
325 | } | |
326 | } | |
327 | ||
328 | public V4ResultC ollection getPatient Insurances (QueryBean queryBean ) throws J MeadowsExc eption | |
329 | { | |
330 | tr y { | |
331 | return g etBHIERela yPort().ge tPatientIn surances(q ueryBean); | |
332 | } catch (Exc eption e) { | |
333 | logError (e); | |
334 | throw ne w JMeadows Exception( e); | |
335 | } | |
336 | } | |
337 | ||
338 | public V4ResultC ollection getPatient Questionna ires(Query Bean query Bean) thro ws JMeadow sException { | |
339 | tr y { | |
340 | return g etBHIERela yPort().ge tPatientQu estionnair es(queryBe an); | |
341 | } catch (Exc eption e) { | |
342 | logError (e); | |
343 | throw ne w JMeadows Exception( e); | |
344 | } | |
345 | } | |
346 | ||
347 | public V4ResultC ollection getDeploym entForms(Q ueryBean q ueryBean) throws JMe adowsExcep tion { | |
348 | tr y { | |
349 | return g etBHIERela yPort().ge tDeploymen tForms(que ryBean); | |
350 | } catch (Exc eption e) { | |
351 | logError (e); | |
352 | throw ne w JMeadows Exception( e); | |
353 | } | |
354 | } | |
355 | ||
356 | public V4ResultC ollection getOutpati entProcedu res(QueryB ean queryB ean) throw s JMeadows Exception { | |
357 | tr y { | |
358 | return g etBHIERela yPort().ge tOutpatien tProcedure s(queryBea n); | |
359 | } catch (Exc eption e) { | |
360 | logError (e); | |
361 | throw ne w JMeadows Exception( e); | |
362 | } | |
363 | } | |
364 | ||
365 | public V4ResultC ollection getVLERPat ientAllerg ies(QueryB ean queryB ean) throw s JMeadows Exception { | |
366 | tr y { | |
367 | return g etBHIERela yPort().ge tVLERPatie ntAllergie s(queryBea n); | |
368 | } catch (Exc eption e) { | |
369 | logError (e); | |
370 | throw ne w JMeadows Exception( e); | |
371 | } | |
372 | } | |
373 | ||
374 | public V4ResultC ollection getVLERPat ientImmuni zations(Qu eryBean qu eryBean) t hrows JMea dowsExcept ion { | |
375 | tr y { | |
376 | return g etBHIERela yPort().ge tVLERPatie ntImmuniza tions(quer yBean); | |
377 | } catch (Exc eption e) { | |
378 | logError (e); | |
379 | throw ne w JMeadows Exception( e); | |
380 | } | |
381 | } | |
382 | ||
383 | public V4ResultC ollection getVLERPat ientProble ms(QueryBe an queryBe an) throws JMeadowsE xception { | |
384 | tr y { | |
385 | return g etBHIERela yPort().ge tVLERPatie ntProblemL ist(queryB ean); | |
386 | } catch (Exc eption e) { | |
387 | logError (e); | |
388 | throw ne w JMeadows Exception( e); | |
389 | } | |
390 | } | |
391 | ||
392 | public V4ResultC ollection getVLERPat ientProced ures(Query Bean query Bean) thro ws JMeadow sException { | |
393 | tr y { | |
394 | return g etBHIERela yPort().ge tVLERPatie ntProcedur es(queryBe an); | |
395 | } catch (Exc eption e) { | |
396 | logError (e); | |
397 | throw ne w JMeadows Exception( e); | |
398 | } | |
399 | } | |
400 | ||
401 | public V4ResultC ollection getVLERPat ientInsura nces(Query Bean query Bean) thro ws JMeadow sException { | |
402 | tr y { | |
403 | return g etBHIERela yPort().ge tVLERPatie ntInsuranc es(queryBe an); | |
404 | } catch (Exc eption e) { | |
405 | logError (e); | |
406 | throw ne w JMeadows Exception( e); | |
407 | } | |
408 | } | |
409 | ||
410 | public V4ResultC ollection getVLERPat ientVitals (QueryBean queryBean ) throws J MeadowsExc eption { | |
411 | tr y { | |
412 | return g etBHIERela yPort().ge tVLERPatie ntVitals(q ueryBean); | |
413 | } catch (Exc eption e) { | |
414 | logError (e); | |
415 | throw ne w JMeadows Exception( e); | |
416 | } | |
417 | } | |
418 | ||
419 | public V4ResultC ollection getVLERPat ientDemogr aphics(Que ryBean que ryBean) th rows JMead owsExcepti on { | |
420 | tr y { | |
421 | return g etBHIERela yPort().ge tVLERPatie ntDemograp hics(query Bean); | |
422 | } catch (Exc eption e) { | |
423 | logError (e); | |
424 | throw ne w JMeadows Exception( e); | |
425 | } | |
426 | } | |
427 | ||
428 | public V4ResultC ollection getVLERPat ientCCDA(Q ueryBean q ueryBean) throws JMe adowsExcep tion { | |
429 | tr y { | |
430 | return g etBHIERela yPort().ge tVLERPatie ntCCDA(que ryBean); | |
431 | } catch (Exc eption e) { | |
432 | logError (e); | |
433 | throw ne w JMeadows Exception( e); | |
434 | } | |
435 | } | |
436 | ||
437 | public V4ResultC ollection getHAIMSDo cuments(Qu eryBean qu eryBean) t hrows JMea dowsExcept ion { | |
438 | tr y { | |
439 | return g etBHIERela yPort().ge tHAIMSDocu ments(quer yBean); | |
440 | } catch (Exc eption e) { | |
441 | logError (e); | |
442 | throw ne w JMeadows Exception( e); | |
443 | } | |
444 | } | |
445 | ||
446 | public V4ResultC ollection getHaimsAd vanceDirec tives(Quer yBean quer yBean) thr ows JMeado wsExceptio n { | |
447 | tr y { | |
448 | return g etBHIERela yPort().ge tHAIMSAdva nceDirecti ves(queryB ean); | |
449 | } catch (Exc eption e) { | |
450 | logError (e); | |
451 | throw ne w JMeadows Exception( e); | |
452 | } | |
453 | } | |
454 | ||
455 | public V4ResultC ollection getGenesis AdvanceDir ectives(Qu eryBean qu eryBean) t hrows JMea dowsExcept ion { | |
456 | tr y { | |
457 | return g etBHIERela yPort().ge tGenesisAd vanceDirec tives(quer yBean); | |
458 | } catch (Exc eption e) { | |
459 | logError (e); | |
460 | throw ne w JMeadows Exception( e); | |
461 | } | |
462 | } | |
463 | ||
464 | public V4ResultC ollection getHAIMSDA SDocuments (QueryBean queryBean ) throws J MeadowsExc eption { | |
465 | tr y { | |
466 | return g etBHIERela yPort().ge tHAIMSDASD ocuments(q ueryBean); | |
467 | } catch (Exc eption e) { | |
468 | logError (e); | |
469 | throw ne w JMeadows Exception( e); | |
470 | } | |
471 | } | |
472 | ||
473 | public V4ResultC ollection getMhsGene sisDocumen ts(QueryBe an queryBe an) throws JMeadowsE xception { | |
474 | tr y { | |
475 | return g etBHIERela yPort().ge tMhsGenesi sDocuments (queryBean ); | |
476 | } catch (Exc eption e) { | |
477 | logError (e); | |
478 | throw ne w JMeadows Exception( e); | |
479 | } | |
480 | } | |
481 | ||
482 | public V4ResultC ollection getGenesis Encounters (QueryBean queryBean ) throws J MeadowsExc eption { | |
483 | tr y { | |
484 | return g etBHIERela yPort().ge tGenesisEn counters(q ueryBean); | |
485 | } catch (Exc eption e) { | |
486 | logError (e); | |
487 | throw ne w JMeadows Exception( e); | |
488 | } | |
489 | } | |
490 | ||
491 | public V4ResultC ollection getGenesis Consults(Q ueryBean q ueryBean) throws JMe adowsExcep tion { | |
492 | tr y { | |
493 | return g etBHIERela yPort().ge tGenesisCo nsults(que ryBean); | |
494 | } catch (Exc eption e) { | |
495 | logError (e); | |
496 | throw ne w JMeadows Exception( e); | |
497 | } | |
498 | } | |
499 | ||
500 | public V4ResultC ollection getGenesis InpatientS ummaries(Q ueryBean q ueryBean) throws JMe adowsExcep tion { | |
501 | tr y { | |
502 | return g etBHIERela yPort().ge tGenesisIn patientSum maries(que ryBean); | |
503 | } catch (Exc eption e) { | |
504 | logError (e); | |
505 | throw ne w JMeadows Exception( e); | |
506 | } | |
507 | } | |
508 | ||
509 | public V4ResultC ollection getGenesis Procedures (QueryBean queryBean ) throws J MeadowsExc eption { | |
510 | tr y { | |
511 | return g etBHIERela yPort().ge tGenesisPr ocedures(q ueryBean); | |
512 | } catch (Exc eption e) { | |
513 | logError (e); | |
514 | throw ne w JMeadows Exception( e); | |
515 | } | |
516 | } | |
517 | ||
518 | public V4ResultC ollection getGenesis Documents( QueryBean queryBean) throws JM eadowsExce ption { | |
519 | tr y { | |
520 | return g etBHIERela yPort().ge tGenesisDo cuments(qu eryBean); | |
521 | } catch (Exc eption e) { | |
522 | logError (e); | |
523 | throw ne w JMeadows Exception( e); | |
524 | } | |
525 | } | |
526 | ||
527 | public V4ResultC ollection getGenesis DentalSumm aries(Quer yBean quer yBean) thr ows JMeado wsExceptio n { | |
528 | tr y { | |
529 | return g etBHIERela yPort().ge tGenesisDe ntalSummar ies(queryB ean); | |
530 | } catch (Exc eption e) { | |
531 | logError (e); | |
532 | throw ne w JMeadows Exception( e); | |
533 | } | |
534 | } | |
535 | ||
536 | public V4ResultC ollection getDocumen ts(QueryBe an queryBe an) throws JMeadowsE xception { | |
537 | tr y { | |
538 | return g etBHIERela yPort().ge tDocuments (queryBean ); | |
539 | } catch (Exc eption e) { | |
540 | logError (e); | |
541 | throw ne w JMeadows Exception( e); | |
542 | } | |
543 | } | |
544 | ||
545 | public SnareUser getSnarew orksUser(S tring cert ificate, S tring user , String c redential) throws JM eadowsExce ption { | |
546 | tr y { | |
547 | return g etBHIERela yPort().ge tSnarework sUser(cert ificate, u ser, crede ntial); | |
548 | } catch (Exc eption e) { | |
549 | logError (e); | |
550 | throw ne w JMeadows Exception( e); | |
551 | } | |
552 | } | |
553 | ||
554 | privat e void log Error(Exce ption e){ | |
555 | LO GGER.error ("BHIERela yService E RROR: " + e.getMessa ge(), e); | |
556 | } | |
557 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.