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