Produced by Araxis Merge on 9/15/2018 10:47:53 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_2018.4.0.0.zip\2018.4.0.0\national portal\mhv_source\mhv_integration\mhv-integration-phr\mhv-integration-phrmgr-main\src\main\java\gov\va\med\mhv\integration\phr\service\cds | AllergyClinicalDataDocument.java | Thu Aug 23 21:20:40 2018 UTC |
| 2 | MHV_2018.4.0.0.zip\2018.4.0.0\national portal\mhv_source\mhv_integration\mhv-integration-phr\mhv-integration-phrmgr-main\src\main\java\gov\va\med\mhv\integration\phr\service\cds | AllergyClinicalDataDocument.java | Sat Sep 15 21:37:22 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 96 |
| 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.integra tion.phr.s ervice.cds ; | |
| 5 | ||
| 6 | import gov .va.med.mh v.cds.temp late.mhvin tolerancec onditionre ad40011.Cl inicalData ; | |
| 7 | import gov .va.med.mh v.integrat ion.phr.se rvice.Clin icalDataDo cument; | |
| 8 | import gov .va.med.mh v.integrat ion.phr.se rvice.Erro rSection; | |
| 9 | ||
| 10 | /** | |
| 11 | * @author DNS | |
| 12 | * | |
| 13 | */ | |
| 14 | public cla ss Allergy ClinicalDa taDocument implement s Clinical DataDocume nt { | |
| 15 | ||
| 16 | pr ivate Clin icalData a llergyClin icalData = null; | |
| 17 | ||
| 18 | pu blic Aller gyClinical DataDocume nt(Clinica lData alle rgyClinica lData) { | |
| 19 | if(a llergyClin icalData = = null) { | |
| 20 | throw new Illega lArgumentE xception(" Allergy cl inical dat a is null. "); | |
| 21 | } | |
| 22 | this .allergyCl inicalData = allergy ClinicalDa ta; | |
| 23 | } | |
| 24 | ||
| 25 | @O verride | |
| 26 | pu blic Strin g getReque stedNation alId() { | |
| 27 | retu rn this.al lergyClini calData.ge tPatient() .get(0).ge tRequested NationalId (); | |
| 28 | } | |
| 29 | ||
| 30 | @O verride | |
| 31 | pu blic Error Section ge tErrorSect ion() { | |
| 32 | if(t his.allerg yClinicalD ata.getErr orSection( ) != null) { | |
| 33 | return new Aller gyErrorSec tion(this. allergyCli nicalData. getErrorSe ction()); | |
| 34 | } | |
| 35 | ||
| 36 | retu rn null; | |
| 37 | } | |
| 38 | ||
| 39 | @O verride | |
| 40 | pu blic Boole an isValid () { | |
| 41 | retu rn (this.a llergyClin icalData.g etPatient( ).size() > 0 | |
| 42 | && this. getRequest edNational Id() != nu ll); | |
| 43 | } | |
| 44 | ||
| 45 | @O verride | |
| 46 | pu blic Objec t unwrap() { | |
| 47 | retu rn this.al lergyClini calData; | |
| 48 | } | |
| 49 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.