Produced by Araxis Merge on 6/5/2018 10:24:06 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 | patch_205_build_9.zip\Java\AwivClientWebApp\main\src\java\gov\va\med\imaging\awiv\business | Patient.java | Wed May 30 14:35:24 2018 UTC |
2 | patch_205_build_9.zip\Java\AwivClientWebApp\main\src\java\gov\va\med\imaging\awiv\business | Patient.java | Wed May 30 20:05:45 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 3 | 324 |
Changed | 2 | 4 |
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: Nov 4, 2011 | |
6 | Site Nam e: Washin gton OI Fi eld Office , Silver S pring, MD | |
7 | Developer: PI I
|
|
8 | Descript ion: | |
9 | ||
10 | ;; +-------- ---------- ---------- ---------- ---------- ---------- ---------- + | |
11 | ;; Property of the US Government . | |
12 | ;; No permis sion to co py or redi stribute t his softwa re is give n. | |
13 | ;; Use of un released v ersions of this soft ware requi res the us er | |
14 | ;; to execu te a writt en test ag reement wi th the Vis tA Imaging | |
15 | ;; Developm ent Office of the De partment o f Veterans Affairs, | |
16 | ;; telephon e (301) 73 4-0100. | |
17 | ;; | |
18 | ;; The Food and Drug A dministrat ion classi fies this software a s | |
19 | ;; a Class I I medical device. A s such, it may not b e changed | |
20 | ;; in any wa y. Modifi cations to this soft ware may r esult in a n | |
21 | ;; adulterat ed medical device un der 21CFR8 20, the us e of which | |
22 | ;; is consid ered to be a violati on of US F ederal Sta tutes. | |
23 | ;; +-------- ---------- ---------- ---------- ---------- ---------- ---------- + | |
24 | ||
25 | */ | |
26 | package go v.va.med.i maging.awi v.business ; | |
27 | ||
28 | import jav a.io.Seria lizable; | |
29 | import jav a.util.Dat e; | |
30 | ||
31 | import com .google.gw t.i18n.cli ent.DateTi meFormat; | |
32 | import com .google.gw t.user.cli ent.rpc.Is Serializab le; | |
33 | ||
34 | /** | |
35 | * @author PI I
|
|
36 | * | |
37 | */ | |
38 | public cla ss Patient | |
39 | implements Serializa ble, IsSer ializable | |
40 | { | |
41 | ||
42 | pr ivate stat ic final l ong serial VersionUID = 6100706 0321520622 77L; | |
43 | ||
44 | pr ivate fina l static S tring date Format = " MM/dd/yyyy "; | |
45 | ||
46 | pr ivate Stri ng name; | |
47 | pr ivate Stri ng icn; | |
48 | pr ivate Stri ng ssn; | |
49 | pr ivate Stri ng veteran Status; | |
50 | pr ivate Date dob; | |
51 | pr ivate bool ean sensit ive; | |
52 | pr ivate int agreedSens itiveCode = 0; | |
53 | ||
54 | pu blic Patie nt() | |
55 | { | |
56 | supe r(); | |
57 | } | |
58 | ||
59 | pu blic Patie nt(String name, Stri ng icn, St ring ssn, String vet eranStatus , | |
60 | Date d ob, boolea n sensitiv e) | |
61 | { | |
62 | supe r(); | |
63 | this .name = na me; | |
64 | this .icn = icn ; | |
65 | this .ssn = ssn ; | |
66 | this .veteranSt atus = vet eranStatus ; | |
67 | this .dob = dob ; | |
68 | this .sensitive = sensiti ve; | |
69 | } | |
70 | ||
71 | pu blic Strin g getName( ) | |
72 | { | |
73 | retu rn name; | |
74 | } | |
75 | ||
76 | pu blic void setName(St ring name) | |
77 | { | |
78 | this .name = na me; | |
79 | } | |
80 | ||
81 | pu blic Strin g getIcn() | |
82 | { | |
83 | retu rn icn; | |
84 | } | |
85 | ||
86 | pu blic void setIcn(Str ing icn) | |
87 | { | |
88 | this .icn = icn ; | |
89 | } | |
90 | ||
91 | pu blic Strin g getSsn() | |
92 | { | |
93 | retu rn ssn; | |
94 | } | |
95 | ||
96 | pu blic void setSsn(Str ing ssn) | |
97 | { | |
98 | this .ssn = ssn ; | |
99 | } | |
100 | ||
101 | pu blic Strin g getVeter anStatus() | |
102 | { | |
103 | retu rn veteran Status; | |
104 | } | |
105 | ||
106 | pu blic void setVeteran Status(Str ing vetera nStatus) | |
107 | { | |
108 | this .veteranSt atus = vet eranStatus ; | |
109 | } | |
110 | ||
111 | pu blic Date getDob() | |
112 | { | |
113 | retu rn dob; | |
114 | } | |
115 | ||
116 | pu blic Strin g getDobFo rmatted() | |
117 | { | |
118 | Date TimeFormat dtf = Dat eTimeForma t.getForma t(dateForm at); | |
119 | retu rn dtf.for mat(this.d ob); | |
120 | } | |
121 | ||
122 | pu blic void setDob(Dat e dob) | |
123 | { | |
124 | this .dob = dob ; | |
125 | } | |
126 | ||
127 | /* * | |
128 | * @return t he sensiti ve | |
129 | * / | |
130 | pu blic boole an isSensi tive() | |
131 | { | |
132 | retu rn sensiti ve; | |
133 | } | |
134 | ||
135 | /* * | |
136 | * @param se nsitive th e sensitiv e to set | |
137 | * / | |
138 | pu blic void setSensiti ve(boolean sensitive ) | |
139 | { | |
140 | this .sensitive = sensiti ve; | |
141 | } | |
142 | ||
143 | /* * | |
144 | * @return t he agreedS ensitiveCo de | |
145 | * / | |
146 | pu blic int g etAgreedSe nsitiveCod e() | |
147 | { | |
148 | retu rn agreedS ensitiveCo de; | |
149 | } | |
150 | ||
151 | /* * | |
152 | * @param ag reedSensit iveCode th e agreedSe nsitiveCod e to set | |
153 | * / | |
154 | pu blic void setAgreedS ensitiveCo de(int agr eedSensiti veCode) | |
155 | { | |
156 | this .agreedSen sitiveCode = agreedS ensitiveCo de; | |
157 | } | |
158 | ||
159 | pu blic void updateAgre edSensitiv eCode(int newCode) | |
160 | { | |
161 | if(n ewCode > a greedSensi tiveCode) | |
162 | agreed SensitiveC ode = newC ode; | |
163 | } | |
164 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.