Produced by Araxis Merge on 11/28/2017 4:44:48 PM Eastern Standard 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 | admin_portal_reeng_2018.1.0.0.zip\admin portal reeng\mhv_source\mhv_admin\mhv-admin-api\src\main\java\gov\va\med\mhv\admin\util | PatientCorrelationStatusUtils.java | Wed Aug 23 04:11:24 2017 UTC |
2 | admin_portal_reeng_2018.1.0.0.zip\admin portal reeng\mhv_source\mhv_admin\mhv-admin-api\src\main\java\gov\va\med\mhv\admin\util | PatientCorrelationStatusUtils.java | Tue Nov 28 20:28:54 2017 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 136 |
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 | */ | |
4 | package go v.va.med.m hv.admin.u til; | |
5 | ||
6 | import gov .va.med.mh v.common.a pi.dto.Pat ientDTO; | |
7 | ||
8 | import sta tic gov.va .med.mhv.a dmin.enums .PatientCo rrelationS tatus.CORR ELATED; | |
9 | import sta tic gov.va .med.mhv.a dmin.enums .PatientCo rrelationS tatus.CORR ELATIONINV ALID; | |
10 | import sta tic gov.va .med.mhv.a dmin.enums .PatientCo rrelationS tatus.FAIL EDCORRELAT ION; | |
11 | import sta tic gov.va .med.mhv.a dmin.enums .PatientCo rrelationS tatus.FAIL EDUNCORREL ATION; | |
12 | import sta tic gov.va .med.mhv.a dmin.enums .PatientCo rrelationS tatus.MVID ATAMATCH; | |
13 | import sta tic gov.va .med.mhv.a dmin.enums .PatientCo rrelationS tatus.PEND INGCORRELA TION; | |
14 | import sta tic gov.va .med.mhv.a dmin.enums .PatientCo rrelationS tatus.PEND INGUNCORRE LATION; | |
15 | import sta tic gov.va .med.mhv.a dmin.enums .PatientCo rrelationS tatus.UNCO RRELATED; | |
16 | import sta tic gov.va .med.mhv.a dmin.enums .PatientCo rrelationS tatus.MVID ATAMATCH; | |
17 | ||
18 | ||
19 | /** | |
20 | * @author
|
|
21 | * | |
22 | */ | |
23 | public fin al class P atientCorr elationSta tusUtils { | |
24 | ||
25 | ||
26 | public static bo olean isUn correlated (PatientDT O patient) { | |
27 | Pr econdition .assertNot Null("pati ent", pati ent); | |
28 | re turn UNCOR RELATED.eq uals(patie nt.getCorr elationSta tus()); | |
29 | } | |
30 | ||
31 | public static bo olean isCo rrelated(P atientDTO patient) { | |
32 | Pr econdition .assertNot Null("pati ent", pati ent); | |
33 | re turn CORRE LATED.equa ls(patient .getCorrel ationStatu s()); | |
34 | } | |
35 | ||
36 | public static bo olean isPe ndingCorre lation(Pat ientDTO pa tient) { | |
37 | Pr econdition .assertNot Null("pati ent", pati ent); | |
38 | re turn PENDI NGCORRELAT ION.equals (patient.g etCorrelat ionStatus( )); | |
39 | } | |
40 | ||
41 | public static bo olean isPe ndingUncor relation(P atientDTO patient) { | |
42 | Pr econdition .assertNot Null("pati ent", pati ent); | |
43 | re turn PENDI NGUNCORREL ATION.equa ls(patient .getCorrel ationStatu s()); | |
44 | } | |
45 | ||
46 | public static bo olean isFa iledCorrel ation(Pati entDTO pat ient) { | |
47 | Pr econdition .assertNot Null("pati ent", pati ent); | |
48 | re turn FAILE DCORRELATI ON.equals( patient.ge tCorrelati onStatus() ); | |
49 | } | |
50 | ||
51 | public static bo olean isFa iledUncorr elation(Pa tientDTO p atient) { | |
52 | Pr econdition .assertNot Null("pati ent", pati ent); | |
53 | re turn FAILE DUNCORRELA TION.equal s(patient. getCorrela tionStatus ()); | |
54 | } | |
55 | ||
56 | public static bo olean isCo rrelationI nvalid(Pat ientDTO pa tient) { | |
57 | Pr econdition .assertNot Null("pati ent", pati ent); | |
58 | re turn CORRE LATIONINVA LID.equals (patient.g etCorrelat ionStatus( )); | |
59 | } | |
60 | ||
61 | public static bo olean isMv iDataMatch (PatientDT O patient) { | |
62 | Pr econdition .assertNot Null("pati ent", pati ent); | |
63 | re turn MVIDA TAMATCH.eq uals(patie nt.getCorr elationSta tus()); | |
64 | } | |
65 | ||
66 | privat e PatientC orrelation StatusUtil s() { | |
67 | } | |
68 | ||
69 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.