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 | ExtractTypeUtils.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 | ExtractTypeUtils.java | Fri Mar 24 20:45:13 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 88 |
| 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 .ExtractTy pe.ALLERGY ; | |
| 7 | import sta tic gov.va .med.mhv.u sermgmt.co mmon.enums .ExtractTy pe.APPOINT MENTS; | |
| 8 | import sta tic gov.va .med.mhv.u sermgmt.co mmon.enums .ExtractTy pe.CHEMIST RYHEMATOLO GY; | |
| 9 | ||
| 10 | import gov .va.med.mh v.usermgmt .common.en ums.Extrac tType; | |
| 11 | ||
| 12 | /** | |
| 13 | * @author
|
|
| 14 | * | |
| 15 | */ | |
| 16 | public fin al class E xtractType Utils { | |
| 17 | ||
| 18 | public static bo olean isCh emistryHem atology(Ex tractType extractTyp e) { | |
| 19 | Pr econdition .assertNot Null("extr actType", extractTyp e); | |
| 20 | re turn CHEMI STRYHEMATO LOGY.equal s(extractT ype); | |
| 21 | } | |
| 22 | ||
| 23 | public static bo olean isAl lergy(Extr actType ex tractType) { | |
| 24 | Pr econdition .assertNot Null("extr actType", extractTyp e); | |
| 25 | re turn ALLER GY.equals( extractTyp e); | |
| 26 | } | |
| 27 | ||
| 28 | public static bo olean isAp pointments (ExtractTy pe extract Type) { | |
| 29 | Pr econdition .assertNot Null("extr actType", extractTyp e); | |
| 30 | re turn APPOI NTMENTS.eq uals(extra ctType); | |
| 31 | } | |
| 32 | ||
| 33 | public static bo olean isAp pointments (String ex tractType) { | |
| 34 | Pr econdition .assertNot Null("extr actType", extractTyp e); | |
| 35 | re turn APPOI NTMENTS.ge tName().eq uals(extra ctType); | |
| 36 | } | |
| 37 | ||
| 38 | pu blic stati c ExtractT ype[] getA llExtractT ypes() { | |
| 39 | re turn Extra ctType.val ues(); | |
| 40 | } | |
| 41 | ||
| 42 | privat e ExtractT ypeUtils() { | |
| 43 | } | |
| 44 | ||
| 45 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.