Produced by Araxis Merge on 4/2/2019 1:06:56 PM 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\ARS_Backend\ars_app\src\main\java\gov\va\med\ewv\model\response | EwvClaimDetailResponse.java | Wed Mar 27 19:22:51 2019 UTC |
2 | C:\AraxisMergeCompare\Pri_re\ARS_Backend\ars_app\src\main\java\gov\va\med\ewv\model\response | EwvClaimDetailResponse.java | Thu Mar 28 17:51:02 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 1122 |
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 | package go v.va.med.e wv.model.r esponse; | |
2 | ||
3 | import jav a.util.Arr ayList; | |
4 | import jav a.util.Lis t; | |
5 | import jav a.util.Str ingJoiner; | |
6 | ||
7 | import com .fasterxml .jackson.a nnotation. JsonIgnore ; | |
8 | ||
9 | import gov .va.med.ew v.codes.Di agnosisCod e; | |
10 | import gov .va.med.ew v.codes.Di agnosisCod esContaine r; | |
11 | import gov .va.med.ew v.codes.EC ode; | |
12 | import gov .va.med.ew v.codes.EC odesContai ner; | |
13 | import gov .va.med.ew v.codes.Pr ocedureCod e; | |
14 | import gov .va.med.ew v.codes.Pr ocedureCod esContaine r; | |
15 | import gov .va.med.ew v.util.Cla imFormat; | |
16 | import gov .va.med.ew v.util.Cla imType; | |
17 | import gov .va.med.ew v.util.Ser viceLine; | |
18 | ||
19 | /** | |
20 | * Contain s Java cla ss represe ntation of the respo nse in JSO N format f or the | |
21 | * "/api/v 1/ewvClaim /{pdiNumbe r}" RESTFu l web Serv ice in the EwvClaimC ontroller | |
22 | * Java cl ass. This class cont ains infor mation ass ociated wi th a Claim in the | |
23 | * EWV dat abase. | |
24 | * | |
25 | * @author DN S PEREZF | |
26 | */ | |
27 | public cla ss EwvClai mDetailRes ponse{ | |
28 | ||
29 | pr ivate Pati entHeaderI nfo patien tHeaderInf o; | |
30 | pr ivate Pati entInfo pa tientInfo; | |
31 | pr ivate Vend orInfo ser viceLocati onInfo; | |
32 | pr ivate Vend orInfo bil lingProvid erInfo; | |
33 | pr ivate Bill ingAndAdmi ssionInfo billingMis cellanous; | |
34 | ||
35 | @J sonIgnore | |
36 | pr ivate Diag nosisCodes Container diagnosisC odesInfo; | |
37 | ||
38 | pr ivate Proc edureCodes Container procedureC odesInfo; | |
39 | ||
40 | @J sonIgnore | |
41 | pr ivate ECod esContaine r e_CodesI nfo; | |
42 | ||
43 | // pr ivate List <String> p x; | |
44 | // pr ivate List <String> d x; | |
45 | // pr ivate List <String> e Codes; | |
46 | pr ivate Heal thCareInfo Response h ealthCareI nfo; | |
47 | pr ivate List <ServiceLi ne> servic eLinesInfo ; | |
48 | pr ivate OhiI nfoContain er ohiInfo ; | |
49 | pr ivate Ambu lanceInfo claimLevel AmbulanceI nfo; | |
50 | ||
51 | /* * | |
52 | * Construct or. | |
53 | * / | |
54 | pu blic EwvCl aimDetailR esponse() { | |
55 | supe r(); | |
56 | // T ODO Auto-g enerated c onstructor stub | |
57 | } | |
58 | ||
59 | /* * | |
60 | * Gets the Patient He ader infor mation of an EWV Cla im. | |
61 | * | |
62 | * @return - the Patie nt Header informatio n of an EW V Claim | |
63 | * / | |
64 | pu blic Patie ntHeaderIn fo getPati entHeaderI nfo() { | |
65 | retu rn patient HeaderInfo ; | |
66 | } | |
67 | ||
68 | /* * | |
69 | * Sets the Patient He ader infor mation of an EWV Cla im. | |
70 | * | |
71 | * @param pa tientHeade rInfo - th e Patient Header inf ormation t hat is to | |
72 | * be set for a n EWV Clai m | |
73 | * / | |
74 | pu blic void setPatient HeaderInfo (PatientHe aderInfo p atientHead erInfo) { | |
75 | this .patientHe aderInfo = patientHe aderInfo; | |
76 | } | |
77 | ||
78 | /* * | |
79 | * Gets the Patient In formation of an EWV Claim. | |
80 | * | |
81 | * @return - the Patie nt Informa tion of an EWV Claim | |
82 | * / | |
83 | pu blic Patie ntInfo get PatientInf o() { | |
84 | retu rn patient Info; | |
85 | } | |
86 | ||
87 | /* * | |
88 | * Sets the Patient In formation of an EWV Claim. | |
89 | * | |
90 | * @param pa tientInfo - the Pati ent Inform ation that is to | |
91 | * be set f or an EWV Claim | |
92 | * / | |
93 | pu blic void setPatient Info(Patie ntInfo pat ientInfo) { | |
94 | this .patientIn fo = patie ntInfo; | |
95 | } | |
96 | ||
97 | /* * | |
98 | * Gets the Service Lo cation Inf ormation o f an EWV C laim. | |
99 | * | |
100 | * @return - the Servi ce Locatio n Informat ion of an EWV Claim | |
101 | * / | |
102 | pu blic Vendo rInfo getS erviceLoca tionInfo() { | |
103 | retu rn service LocationIn fo; | |
104 | } | |
105 | ||
106 | /* * | |
107 | * Sets the Service Lo cation Inf ormation o f an EWV C laim. | |
108 | * | |
109 | * @param se rviceLocat ionInfo - the Servic e Location Informati on | |
110 | * that is to be set fo r an EWV C laim | |
111 | * / | |
112 | pu blic void setService LocationIn fo(VendorI nfo servic eLocationI nfo) { | |
113 | this .serviceLo cationInfo = service LocationIn fo; | |
114 | } | |
115 | ||
116 | /* * | |
117 | * Gets the Billing Pr ovider Inf ormation o f an EWV C laim. | |
118 | * | |
119 | * @return - the the B illing Pro vider Info rmation of an EWV Cl aim | |
120 | * / | |
121 | pu blic Vendo rInfo getB illingProv iderInfo() { | |
122 | retu rn billing ProviderIn fo; | |
123 | } | |
124 | ||
125 | /* * | |
126 | * Sets the Billing Pr ovider Inf ormation o f an EWV C laim. | |
127 | * | |
128 | * @param bi llingProvi derInfo - the Billin g Provider Informati on | |
129 | * that is to be set fo r an EWV C laim | |
130 | * / | |
131 | pu blic void setBilling ProviderIn fo(VendorI nfo billin gProviderI nfo) { | |
132 | this .billingPr oviderInfo = billing ProviderIn fo; | |
133 | } | |
134 | ||
135 | /* * | |
136 | * Gets the Billing Mi scellaneou s informat ion of an EWV Claim. | |
137 | * | |
138 | * @return - the Billi ng Miscell aneous inf ormation o f an EWV C laim | |
139 | * / | |
140 | pu blic Billi ngAndAdmis sionInfo g etBillingM iscellanou s() { | |
141 | retu rn billing Miscellano us; | |
142 | } | |
143 | ||
144 | /* * | |
145 | * Sets the Billing Mi scellaneou s informat ion of an EWV Claim. | |
146 | * | |
147 | * @param bi llingMisce llanous - the Billin g Miscella neous info rmation | |
148 | * that is to be set fo r an EWV C laim | |
149 | * / | |
150 | pu blic void setBilling Miscellano us(Billing AndAdmissi onInfo bil lingMiscel lanous) { | |
151 | this .billingMi scellanous = billing Miscellano us; | |
152 | } | |
153 | ||
154 | /* * | |
155 | * Gets the Diagnosis Codes Info rmation of an EWV Cl aim. | |
156 | * | |
157 | * @return - he Diagno sis Codes Informatio n of an EW V Claim | |
158 | * / | |
159 | pu blic Diagn osisCodesC ontainer g etDiagnosi sCodesInfo () { | |
160 | retu rn diagnos isCodesInf o; | |
161 | } | |
162 | ||
163 | /* * | |
164 | * Sets the Diagnosis Codes Info rmation of an EWV Cl aim. | |
165 | * | |
166 | * @param di agnosisCod esInfo - t he Diagnos is Codes I nformation | |
167 | * t hat is to be set for an EWV Cl aim | |
168 | * / | |
169 | pu blic void setDiagnos isCodesInf o(Diagnosi sCodesCont ainer diag nosisCodes Info) { | |
170 | this .diagnosis CodesInfo = diagnosi sCodesInfo ; | |
171 | } | |
172 | ||
173 | /* * | |
174 | * Gets the Procedure Codes Info rmation of an EWV Cl aim. | |
175 | * | |
176 | * @return - the Proce dure Codes Informati on of an E WV Claim | |
177 | * / | |
178 | pu blic Proce dureCodesC ontainer g etProcedur eCodesInfo () { | |
179 | retu rn procedu reCodesInf o; | |
180 | } | |
181 | ||
182 | /* * | |
183 | * Sets the Procedure Codes Info rmation of an EWV Cl aim. | |
184 | * | |
185 | * @param pr ocedureCod esInfo - t he Procedu re Codes I nformation | |
186 | * t hat is to be set for an EWV Cl aim | |
187 | * / | |
188 | pu blic void setProcedu reCodesInf o(Procedur eCodesCont ainer proc edureCodes Info) { | |
189 | this .procedure CodesInfo = procedur eCodesInfo ; | |
190 | } | |
191 | ||
192 | /* * | |
193 | * Gets the E-Codes In formation of an EWV Claim. | |
194 | * | |
195 | * @return - the E-Cod es Informa tion of an EWV Claim | |
196 | * / | |
197 | pu blic ECode sContainer getE_Code sInfo() { | |
198 | retu rn e_Codes Info; | |
199 | } | |
200 | ||
201 | /* * | |
202 | * Sets the E-Codes In formation of an EWV Claim. | |
203 | * | |
204 | * @param e_ CodesInfo - the E-Co des Inform ation | |
205 | * that is to be set for an EWV Claim | |
206 | * / | |
207 | pu blic void setE_Codes Info(ECode sContainer e_CodesIn fo) { | |
208 | this .e_CodesIn fo = e_Cod esInfo; | |
209 | } | |
210 | ||
211 | /* * | |
212 | * Gets the List of PX associate d with the Procedure Codes | |
213 | * Informati on of an E WV Claim. | |
214 | * | |
215 | * @return - the List of PX asso ciated wit h the Proc edure Code s | |
216 | * Informati on of an E WV Claim; if the Pro cedure Cod es | |
217 | * Informati on of the EWV Claim is null, t hen null i s | |
218 | * returned | |
219 | * / | |
220 | pu blic List< String> ge tPx() { | |
221 | if(p rocedureCo desInfo == null) { | |
222 | return null; | |
223 | } | |
224 | ||
225 | retu rn this.pr ocedureCod esInfo.get Px(); | |
226 | } | |
227 | ||
228 | // /* * | |
229 | // * Sets the List of PX associate d with an EWV Claim. | |
230 | // * | |
231 | // * @param px - the Lis t of PX | |
232 | // * that is to be set for an EW V Claim | |
233 | // * / | |
234 | // pu blic void setPx(List <String> p x) { | |
235 | // this .px = px; | |
236 | // } | |
237 | ||
238 | /* * | |
239 | * Gets the List of DX associate d with the Diagnosis Codes | |
240 | * Informati on of an E WV Claim. | |
241 | * | |
242 | * @return - the List of DX asso ciated wit h the Diag nosis Code s | |
243 | * Informati on of an E WV Claim; if the Dia gnosis Cod es | |
244 | * Informati on of the EWV Claim is null, t hen null i s | |
245 | * returned | |
246 | * / | |
247 | pu blic List< String> ge tDx() { | |
248 | if(d iagnosisCo desInfo == null) { | |
249 | return null; | |
250 | } | |
251 | ||
252 | retu rn this.ge tDiagnosis CodesInfo( ).getDx(); | |
253 | } | |
254 | ||
255 | // /* * | |
256 | // * Sets the List of DX associate d with an EWV Claim. | |
257 | // * | |
258 | // * @param dx - the Lis t of DX | |
259 | // * that is to be set for an EW V Claim | |
260 | // * / | |
261 | // pu blic void setDx(List <String> d x) { | |
262 | // this .dx = dx; | |
263 | // } | |
264 | // | |
265 | /* * | |
266 | * Gets the List of E- Codes asso ciated wit h the E-Co des | |
267 | * Informati on of an E WV Claim. | |
268 | * | |
269 | * @return - the List of E-Codes associate d with the E-Codes | |
270 | * Informati on of an E WV Claim; if the E-C odes | |
271 | * Informati on of the EWV Claim is null, t hen null i s | |
272 | * returned | |
273 | * / | |
274 | pu blic List< String> ge teCodes() { | |
275 | if(e _CodesInfo == null) { | |
276 | return null; | |
277 | } | |
278 | ||
279 | retu rn this.e_ CodesInfo. geteCodes( ); | |
280 | } | |
281 | ||
282 | // /* * | |
283 | // * Sets the List of E- Codes asso ciated wit h an EWV C laim. | |
284 | // * | |
285 | // * @param eC odes - the List of E -Codes | |
286 | // * tha t is to be set for a n EWV Clai m | |
287 | // * / | |
288 | // pu blic void seteCodes( List<Strin g> eCodes) { | |
289 | // this .eCodes = eCodes; | |
290 | // } | |
291 | // | |
292 | /* * | |
293 | * Gets the Health Car e Informat ion Respon se of an E WV Claim. | |
294 | * | |
295 | * @return - the Healt h Care Inf ormation R esponse of an EWV Cl aim | |
296 | * / | |
297 | pu blic Healt hCareInfoR esponse ge tHealthCar eInfo() { | |
298 | retu rn healthC areInfo; | |
299 | } | |
300 | ||
301 | /* * | |
302 | * Sets the Health Car e Informat ion Respon se of an E WV Claim. | |
303 | * | |
304 | * @param he althCareIn fo - the H ealth Care Informati on Respons e | |
305 | * that is to be s et for an EWV Claim | |
306 | * / | |
307 | pu blic void setHealthC areInfo(He althCareIn foResponse healthCar eInfo) { | |
308 | this .healthCar eInfo = he althCareIn fo; | |
309 | } | |
310 | ||
311 | /* * | |
312 | * Gets the Service Li nes Inform ation of a n EWV Clai m. | |
313 | * | |
314 | * @return - the Servi ce Lines I nformation of an EWV Claim | |
315 | * / | |
316 | pu blic List< ServiceLin e> getServ iceLinesIn fo() { | |
317 | retu rn service LinesInfo; | |
318 | } | |
319 | ||
320 | /* * | |
321 | * Sets the Service Li nes Inform ation of a n EWV Clai m. | |
322 | * | |
323 | * @param se rviceLines Info - the Service L ines Infor mation | |
324 | * tha t is to be set for a n EWV Clai m | |
325 | * / | |
326 | pu blic void setService LinesInfo( List<Servi ceLine> se rviceLines Info) { | |
327 | this .serviceLi nesInfo = serviceLin esInfo; | |
328 | } | |
329 | ||
330 | /* * | |
331 | * Gets the OHI Inform ation of a n EWV Clai m. | |
332 | * | |
333 | * @return - the OHI I nformation of an EWV Claim | |
334 | * / | |
335 | pu blic OhiIn foContaine r getOhiIn fo() { | |
336 | retu rn ohiInfo ; | |
337 | } | |
338 | ||
339 | /* * | |
340 | * Sets the OHI Inform ation of a n EWV Clai m. | |
341 | * | |
342 | * @param oh iInfo - th e OHI Info rmation | |
343 | * th at is to b e set for an EWV Cla im | |
344 | * / | |
345 | pu blic void setOhiInfo (OhiInfoCo ntainer oh iInfo) { | |
346 | this .ohiInfo = ohiInfo; | |
347 | } | |
348 | ||
349 | /* * | |
350 | * Gets the Claim Leve l Ambulanc e Informat ion of an EWV Claim. | |
351 | * | |
352 | * @return - the Claim Level Amb ulance Inf ormation o f an EWV C laim | |
353 | * / | |
354 | pu blic Ambul anceInfo g etClaimLev elAmbulanc eInfo() { | |
355 | retu rn claimLe velAmbulan ceInfo; | |
356 | } | |
357 | ||
358 | /* * | |
359 | * Sets the Claim Leve l Ambulanc e Informat ion of an EWV Claim. | |
360 | * | |
361 | * @param cl aimLevelAm bulanceInf o - the C laim Level Ambulance Informati on | |
362 | * that i s to be se t for an E WV Claim | |
363 | * / | |
364 | pu blic void setClaimLe velAmbulan ceInfo(Amb ulanceInfo claimLeve lAmbulance Info) { | |
365 | this .claimLeve lAmbulance Info = cla imLevelAmb ulanceInfo ; | |
366 | } | |
367 | ||
368 | /* * | |
369 | * Construct or. | |
370 | * | |
371 | * @param pa tientHeade rInfo - th e Patient Header Inf ormation t hat is to be set for this EWV Claim | |
372 | * @param pa tientInfo - the Pati ent Inform ation that is to be set for th is EWV Cla im | |
373 | * @param se rviceLocat ionInfo - the Servic e Location Informati on that is to be set for this EWV Claim | |
374 | * @param bi llingProvi derInfo - the Billin g Provider Informati on that is to be set for this EWV Claim | |
375 | * @param bi llingMisce llanous - the Billin g Miscella neous info rmation th at is to b e set for this EWV C laim | |
376 | * @param di agnosisCod esInfo - t he Diagnos is Codes I nformation that is t o be set f or this EW V Claim | |
377 | * @param pr ocedureCod esInfo - t he Procedu re Codes I nformation that is t o be set f or this EW V Claim | |
378 | * @param e_ CodesInfo - the E-Co des Inform ation that is to be set for th is EWV Cla im | |
379 | * @param he althCareIn fo - the H ealth Care Informati on that is to be set for this EWV Claim | |
380 | * @param se rviceLines Info - the Service L ines Infor mation tha t is to be set for t his EWV Cl aim | |
381 | * @param oh iInfo - OH I Informat ion that i s to be se t for this EWV Claim | |
382 | * @param cl aimLevelAm bulanceInf o - the Cl aim Level Ambulance Informatio n that is to be set for this E WV Claim | |
383 | * / | |
384 | pu blic EwvCl aimDetailR esponse(Pa tientHeade rInfo pati entHeaderI nfo, Patie ntInfo pat ientInfo, | |
385 | Vendor Info servi ceLocation Info, Vend orInfo bil lingProvid erInfo, Bi llingAndAd missionInf o billingM iscellanou s, | |
386 | Diagno sisCodesCo ntainer di agnosisCod esInfo, Pr ocedureCod esContaine r procedur eCodesInfo , | |
387 | ECodes Container e_CodesInf o, HealthC areInfoRes ponse heal thCareInfo , List<Ser viceLine> serviceLin esInfo, Oh iInfoConta iner ohiIn fo, | |
388 | Ambula nceInfo cl aimLevelAm bulanceInf o) { | |
389 | supe r(); | |
390 | this .patientHe aderInfo = patientHe aderInfo; | |
391 | this .patientIn fo = patie ntInfo; | |
392 | this .serviceLo cationInfo = service LocationIn fo; | |
393 | this .billingPr oviderInfo = billing ProviderIn fo; | |
394 | this .billingMi scellanous = billing Miscellano us; | |
395 | this .diagnosis CodesInfo = diagnosi sCodesInfo ; | |
396 | this .procedure CodesInfo = procedur eCodesInfo ; | |
397 | this .e_CodesIn fo = e_Cod esInfo; | |
398 | this .healthCar eInfo = he althCareIn fo; | |
399 | this .serviceLi nesInfo = serviceLin esInfo; | |
400 | this .ohiInfo = ohiInfo; | |
401 | this .claimLeve lAmbulance Info = cla imLevelAmb ulanceInfo ; | |
402 | } | |
403 | ||
404 | /* * | |
405 | * Gets a ha sh code va lue for th e object. This metho d is suppo rted for t he benefit of hash t ables such as those provided b y HashMap. | |
406 | * See the h ttps://doc s.oracle.c om/javase/ 8/docs/api /java/lang /Object.ht ml#hashCod e-- web pa ge for det ails. | |
407 | * | |
408 | * @return - a hash co de value f or the obj ect | |
409 | * / | |
410 | @O verride | |
411 | pu blic int h ashCode() { | |
412 | fina l int prim e = 31; | |
413 | int result = 1 ; | |
414 | resu lt = prime * result + ((billin gMiscellan ous == nul l) ? 0 : b illingMisc ellanous.h ashCode()) ; | |
415 | resu lt = prime * result + ((billin gProviderI nfo == nul l) ? 0 : b illingProv iderInfo.h ashCode()) ; | |
416 | resu lt = prime * result + ((claimL evelAmbula nceInfo == null) ? 0 : claimLe velAmbulan ceInfo.has hCode()); | |
417 | resu lt = prime * result + ((diagno sisCodesIn fo == null ) ? 0 : di agnosisCod esInfo.has hCode()); | |
418 | // resu lt = prime * result + ((dx == null) ? 0 : dx.hashC ode()); | |
419 | // resu lt = prime * result + ((eCodes == null) ? 0 : eCod es.hashCod e()); | |
420 | resu lt = prime * result + ((e_Code sInfo == n ull) ? 0 : e_CodesIn fo.hashCod e()); | |
421 | resu lt = prime * result + ((health CareInfo = = null) ? 0 : health CareInfo.h ashCode()) ; | |
422 | resu lt = prime * result + ((ohiInf o == null) ? 0 : ohi Info.hashC ode()); | |
423 | resu lt = prime * result + ((patien tHeaderInf o == null) ? 0 : pat ientHeader Info.hashC ode()); | |
424 | resu lt = prime * result + ((patien tInfo == n ull) ? 0 : patientIn fo.hashCod e()); | |
425 | resu lt = prime * result + ((proced ureCodesIn fo == null ) ? 0 : pr ocedureCod esInfo.has hCode()); | |
426 | // resu lt = prime * result + ((px == null) ? 0 : px.hashC ode()); | |
427 | resu lt = prime * result + ((servic eLinesInfo == null) ? 0 : serv iceLinesIn fo.hashCod e()); | |
428 | resu lt = prime * result + ((servic eLocationI nfo == nul l) ? 0 : s erviceLoca tionInfo.h ashCode()) ; | |
429 | retu rn result; | |
430 | } | |
431 | ||
432 | /* * | |
433 | * Indicates whether s ome other object is "equal to" this one. | |
434 | * See the h ttps://doc s.oracle.c om/javase/ 8/docs/api /java/lang /Object.ht ml#equals- java.lang. Object- we b page for details. | |
435 | * | |
436 | * @return - 1) boolea n true if some other object is "equal to " this one | |
437 | * 2) boolea n false if some othe r object i s not "equ al to" thi s one | |
438 | * / | |
439 | @O verride | |
440 | pu blic boole an equals( Object obj ) { | |
441 | if ( this == ob j) | |
442 | return true; | |
443 | if ( obj == nul l) | |
444 | return false; | |
445 | if ( getClass() != obj.ge tClass()) | |
446 | return false; | |
447 | ||
448 | EwvC laimDetail Response o ther = (Ew vClaimDeta ilResponse ) obj; | |
449 | ||
450 | if ( billingMis cellanous == null) { | |
451 | if (ot her.billin gMiscellan ous != nul l) | |
452 | return f alse; | |
453 | } el se if (!bi llingMisce llanous.eq uals(other .billingMi scellanous )) | |
454 | return false; | |
455 | if ( billingPro viderInfo == null) { | |
456 | if (ot her.billin gProviderI nfo != nul l) | |
457 | return f alse; | |
458 | } el se if (!bi llingProvi derInfo.eq uals(other .billingPr oviderInfo )) | |
459 | return false; | |
460 | if ( claimLevel AmbulanceI nfo == nul l) { | |
461 | if (ot her.claimL evelAmbula nceInfo != null) | |
462 | return f alse; | |
463 | } el se if (!cl aimLevelAm bulanceInf o.equals(o ther.claim LevelAmbul anceInfo)) | |
464 | return false; | |
465 | if ( diagnosisC odesInfo = = null) { | |
466 | if (ot her.diagno sisCodesIn fo != null ) | |
467 | return f alse; | |
468 | } el se if (!di agnosisCod esInfo.equ als(other. diagnosisC odesInfo)) | |
469 | return false; | |
470 | // if ( dx == null ) { | |
471 | // if (ot her.dx != null) | |
472 | // return f alse; | |
473 | // } el se if (!dx .equals(ot her.dx)) | |
474 | // return false; | |
475 | // if ( eCodes == null) { | |
476 | // if (ot her.eCodes != null) | |
477 | // return f alse; | |
478 | // } el se if (!eC odes.equal s(other.eC odes)) | |
479 | // return false; | |
480 | if ( e_CodesInf o == null) { | |
481 | if (ot her.e_Code sInfo != n ull) | |
482 | return f alse; | |
483 | } el se if (!e_ CodesInfo. equals(oth er.e_Codes Info)) | |
484 | return false; | |
485 | if ( healthCare Info == nu ll) { | |
486 | if (ot her.health CareInfo ! = null) | |
487 | return f alse; | |
488 | } el se if (!he althCareIn fo.equals( other.heal thCareInfo )) | |
489 | return false; | |
490 | if ( ohiInfo == null) { | |
491 | if (ot her.ohiInf o != null) | |
492 | return f alse; | |
493 | } el se if (!oh iInfo.equa ls(other.o hiInfo)) | |
494 | return false; | |
495 | if ( patientHea derInfo == null) { | |
496 | if (ot her.patien tHeaderInf o != null) | |
497 | return f alse; | |
498 | } el se if (!pa tientHeade rInfo.equa ls(other.p atientHead erInfo)) | |
499 | return false; | |
500 | if ( patientInf o == null) { | |
501 | if (ot her.patien tInfo != n ull) | |
502 | return f alse; | |
503 | } el se if (!pa tientInfo. equals(oth er.patient Info)) | |
504 | return false; | |
505 | if ( procedureC odesInfo = = null) { | |
506 | if (ot her.proced ureCodesIn fo != null ) | |
507 | return f alse; | |
508 | } el se if (!pr ocedureCod esInfo.equ als(other. procedureC odesInfo)) | |
509 | return false; | |
510 | // if ( px == null ) { | |
511 | // if (ot her.px != null) | |
512 | // return f alse; | |
513 | // } el se if (!px .equals(ot her.px)) | |
514 | // return false; | |
515 | if ( serviceLin esInfo == null) { | |
516 | if (ot her.servic eLinesInfo != null) | |
517 | return f alse; | |
518 | } el se if (!se rviceLines Info.equal s(other.se rviceLines Info)) | |
519 | return false; | |
520 | if ( serviceLoc ationInfo == null) { | |
521 | if (ot her.servic eLocationI nfo != nul l) | |
522 | return f alse; | |
523 | } el se if (!se rviceLocat ionInfo.eq uals(other .serviceLo cationInfo )) | |
524 | return false; | |
525 | retu rn true; | |
526 | } | |
527 | ||
528 | /* * | |
529 | * Returns a string re presentati on of this object. I n general, the toStr ing method | |
530 | * returns a string th at "textua lly repres ents" this object. T he result should be | |
531 | * a concise but infor mative rep resentatio n that is easy for a person to read. | |
532 | * It is rec ommended t hat all su bclasses o verride th is method. | |
533 | * | |
534 | * See the h ttps://doc s.oracle.c om/javase/ 8/docs/api /java/lang /Object.ht ml#toStrin g-- | |
535 | * web page for detail s. | |
536 | * | |
537 | * @return - a string representa tion of an instance of this cl ass | |
538 | * / | |
539 | @O verride | |
540 | pu blic Strin g toString () { | |
541 | // r ecall that ("x=" + n ull) yield s "x=null" , so we do n't have t o do anyth ing specia l. | |
542 | Stri ngJoiner s j = new St ringJoiner (", ", "Ew vClaimDeta ilResponse [", "]"); | |
543 | sj.a dd("patien tHeaderInf o=" + pati entHeaderI nfo); | |
544 | sj.a dd("patien tInfo=" + patientInf o); | |
545 | sj.a dd("servic eLocationI nfo=" + se rviceLocat ionInfo); | |
546 | sj.a dd("billin gProviderI nfo=" + bi llingProvi derInfo); | |
547 | sj.a dd("billin gMiscellan ous=" + bi llingMisce llanous); | |
548 | sj.a dd("diagno sisCodesIn fo=" + dia gnosisCode sInfo); | |
549 | sj.a dd("proced ureCodesIn fo=" + pro cedureCode sInfo); | |
550 | sj.a dd("e_Code sInfo=" + e_CodesInf o); | |
551 | // I 'm not cer tain that these virt ual member s should b e in the s tring. | |
552 | sj.a dd("px=" + getPx()); // virtual m ember | |
553 | sj.a dd("dx=" + getDx()); // virtual m ember | |
554 | sj.a dd("eCodes =" + geteC odes()); // v irtual mem ber | |
555 | sj.a dd("health CareInfo=" + healthC areInfo); | |
556 | sj.a dd("servic eLinesInfo =" + servi ceLinesInf o); | |
557 | sj.a dd("ohiInf o=" + ohiI nfo); | |
558 | sj.a dd("claimL evelAmbula nceInfo=" + claimLev elAmbulanc eInfo); | |
559 | retu rn sj.toSt ring(); | |
560 | } | |
561 | ||
562 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.