Produced by Araxis Merge on 3/27/2019 4:11:44 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 | JLV_CV_CV_2_9_1_0.zip\CVjMeadows-CCP\test\integration\gov\va\med\jmeadows\dao\patient | VlerDaoTest.java | Wed Mar 20 21:44:54 2019 UTC |
2 | JLV_CV_CV_2_9_1_0.zip\CVjMeadows-CCP\test\integration\gov\va\med\jmeadows\dao\patient | VlerDaoTest.java | Wed Mar 27 19:21:18 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 182 |
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 o.patient; | |
13 | ||
14 | import gov .va.med.jm eadows.com mon.JMeado wsExceptio n; | |
15 | import gov .va.med.jm eadows.dao .beans.JMe adowsQuery ; | |
16 | import gov .va.med.jm eadows.dao .beans.VLE RCCDA; | |
17 | import gov .va.med.vd s.webservi ce.VlerDoc ument; | |
18 | import org .junit.Tes t; | |
19 | ||
20 | import jav a.util.Lis t; | |
21 | ||
22 | import sta tic org.ju nit.Assert .assertTru e; | |
23 | import sta tic org.ju nit.Assert .fail; | |
24 | ||
25 | /** | |
26 | * | |
27 | * @author DNS | |
28 | */ | |
29 | public cla ss VlerDao Test exten ds DaoBase Test | |
30 | { | |
31 | privat e VLERDao vlerDao; | |
32 | ||
33 | public VlerDaoTe st() throw s JMeadows Exception | |
34 | { | |
35 | vl erDao = ne w VLERDao( ); | |
36 | } | |
37 | ||
38 | @Test | |
39 | public void test GetPatient VLERDocLis t() | |
40 | { | |
41 | tr y { | |
42 | JMeadows Query qb = setupQuer y(user, pa tient, sta rtDate, en dDate); | |
43 | ||
44 | patient. setDob("1/ 2/1982"); | |
45 | patient. setSSN("66 6100002"); | |
46 | patient. setICN("10 12638925V2 04624"); | |
47 | patient. setGender( "M"); | |
48 | patient. setName("N WHINZZZTES TPATIENT,N WHINTWO"); | |
49 | List<Vle rDocument> docList = vlerDao.g etVLERDocu mentList(q b); | |
50 | assertTr ue(docList .size() > 0); | |
51 | } catch (JMe adowsExcep tion ex) { | |
52 | fail(ex. getMessage ()); | |
53 | } | |
54 | } | |
55 | ||
56 | @Test | |
57 | public void test GetPatient VLERDoc() | |
58 | { | |
59 | tr y { | |
60 | JMeadows Query qb = setupQuer y(user, pa tient, sta rtDate, en dDate); | |
61 | ||
62 | patient. setDob("1/ 2/1982"); | |
63 | patient. setSSN("66 6100002"); | |
64 | patient. setICN("10 12638925V2 04624"); | |
65 | patient. setGender( "M"); | |
66 | patient. setName("N WHINZZZTES TPATIENT,N WHINTWO"); | |
67 | VlerDocu ment vDoc = new Vler Document() ; | |
68 | vDoc.set HomeCommun ityId("urn :oid:1.3.6 .1.4.1.265 80.10"); | |
69 | vDoc.set DocumentUn iqueId("12 2bd2c8-77f c-4727-b6c 7-2a799411 2058"); | |
70 | vDoc.set Repository UniqueId(" 1.2.840.11 4350.1.13. 111.3.7.2. 688879"); | |
71 | ||
72 | VlerDocu ment outpu tDoc = vle rDao.getVL ERDocument (vDoc, qb) ; | |
73 | assertTr ue(outputD oc.getName () != null ); | |
74 | } catch (JMe adowsExcep tion ex) { | |
75 | fail(ex. getMessage ()); | |
76 | } | |
77 | } | |
78 | ||
79 | @Test | |
80 | public void test GetDODVLER PatientCCD A() | |
81 | { | |
82 | tr y { | |
83 | JMeadows Query qb = setupQuer y(user, pa tient, sta rtDate, en dDate); | |
84 | List<VLE RCCDA> vle rCCDAs = v lerDao.get DODVLERPat ientCCDA(q b); | |
85 | assertTr ue(vlerCCD As.size() > 0); | |
86 | testForB eanMeta(vl erCCDAs); | |
87 | } catch (JMe adowsExcep tion ex) { | |
88 | fail(ex. getMessage ()); | |
89 | } | |
90 | } | |
91 | ||
92 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.