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 | AbstractBaseChemistryQueryService.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 | AbstractBaseChemistryQueryService.java | Sat Sep 15 21:37:14 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 78 |
| 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.integrat ion.phr.da o.PhrBaseD AO; | |
| 7 | import gov .va.med.mh v.integrat ion.phr.da o.PhrChemi stryDAOImp l; | |
| 8 | import gov .va.med.mh v.integrat ion.phr.en umeration. ExtractTyp e; | |
| 9 | import gov .va.med.mh v.integrat ion.phr.me ssage.Mess ageSelecto r; | |
| 10 | import gov .va.med.mh v.integrat ion.phr.se rvice.Quer yService; | |
| 11 | import gov .va.med.mh v.integrat ion.phr.se rvice.vist aweb.cache .CacheHand ler; | |
| 12 | import gov .va.med.mh v.integrat ion.phr.tr ansfer.Que ryRequest; | |
| 13 | ||
| 14 | import jav a.util.Dat e; | |
| 15 | import jav a.util.Has htable; | |
| 16 | ||
| 17 | /** | |
| 18 | * @author DNS | |
| 19 | * | |
| 20 | * We need this base class bec ause we're doing som e special caching of the | |
| 21 | * history of the ch emistry da ta. | |
| 22 | * | |
| 23 | * TODO: N eed to det ermine how this is u sed and wh ether it's needed or not. | |
| 24 | */ | |
| 25 | @MessageSe lector(mes sageName=Q ueryServic e.messageN ame, extra ctType= Ex tractType. CHEMISTRY) | |
| 26 | public abs tract clas s Abstract BaseChemis tryQuerySe rvice exte nds Abstra ctBaseCdsQ ueryServic e { | |
| 27 | ||
| 28 | @O verride | |
| 29 | pr otected vo id updateC acheHandle r(QueryReq uest reque st, PhrBas eDAO phrDa o) { | |
| 30 | supe r.updateCa cheHandler (request, phrDao); | |
| 31 | ||
| 32 | if(p hrDao inst anceof Phr ChemistryD AOImpl) | |
| 33 | { | |
| 34 | PhrChe mistryDAOI mpl phrChe mDao = (Ph rChemistry DAOImpl)ph rDao; | |
| 35 | Hashta ble<String , Date>che mHistMap = phrChemDa o.fetchPHR ChemistryH istory(Cac heHandler. getInstanc e().getPat ientId(req uest.getIc n())); | |
| 36 | CacheH andler.get Instance() .setChemis tryHistory (chemHistM ap); | |
| 37 | } | |
| 38 | } | |
| 39 | ||
| 40 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.