Produced by Araxis Merge on 4/23/2019 12:14:49 PM Central 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 | C:\AraxisMergeCompare\Pri_un\CCRS\CCRS-BUSRULES-v6.3\CCRS-BUSRULES-v6.3\mvi\src\main\java\gov\va\ccrs\mviclient\mockservice | MviServiceImpl.java | Wed Mar 27 19:38:08 2019 UTC |
| 2 | C:\AraxisMergeCompare\Pri_re\CCRS\CCRS-BUSRULES-v6.3\CCRS-BUSRULES-v6.3\mvi\src\main\java\gov\va\ccrs\mviclient\mockservice | MviServiceImpl.java | Wed Apr 17 02:51:50 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 144 |
| 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 | package go v.va.ccrs. mviclient. mockservic e; | |
| 3 | ||
| 4 | import jav a.math.Big Integer; | |
| 5 | ||
| 6 | import jav ax.jws.Web Service; | |
| 7 | import jav ax.xml.bin d.JAXBElem ent; | |
| 8 | ||
| 9 | import org .hl7.v3.*; | |
| 10 | ||
| 11 | ||
| 12 | ||
| 13 | ||
| 14 | @WebServic e(endpoint Interface = "gov.va. ccrs.mvicl ient.mocks ervice.Mvi Service", targetName space="htt p:// URL . DOMAIN . EXT ") | |
| 15 | public cla ss MviServ iceImpl im plements M viService { | |
| 16 | ||
| 17 | public static fi nal String TEST_ICN= "100871301 6V776783"; | |
| 18 | ||
| 19 | ||
| 20 | public MviRespon seMessage fetchMviNu mber(MviRe questMessa ge request ){ | |
| 21 | Sy stem.err.p rintln("Cr eating moc k MVI resp onse ...") ; | |
| 22 | Mv iResponseM essage res ponse=new MviRespons eMessage() ; | |
| 23 | re sponse.set ITSVersion ( "test" ) ; | |
| 24 | va r ack= new MCCIMT000 300UV01Ack nowledgeme nt(); | |
| 25 | CS cs = new CS(); | |
| 26 | cs .setCode(" AA"); | |
| 27 | ac k.setTypeC ode(cs); | |
| 28 | re sponse.get Acknowledg ement().ad d(ack); | |
| 29 | ||
| 30 | va r controlA ctProcess= new PRPAIN 201306UV02 MFMIMT7007 11UV01Cont rolActProc ess(); | |
| 31 | va r queryAck = new MFMI MT700711UV 01QueryAck (); | |
| 32 | ||
| 33 | qu eryAck.set QueryRespo nseCode(ge tCode("OK" )); | |
| 34 | qu eryAck.set ResultCurr entQuantit y(getInt(1 )); | |
| 35 | co ntrolActPr ocess.setQ ueryAck(qu eryAck); | |
| 36 | re sponse.set ControlAct Process(co ntrolActPr ocess); | |
| 37 | ||
| 38 | va r subject= new PRPAIN 201306UV02 MFMIMT7007 11UV01Subj ect1(); | |
| 39 | va r registra tionEvent= new PRPAI N201306UV0 2MFMIMT700 711UV01Reg istrationE vent(); | |
| 40 | ||
| 41 | su bject.setR egistratio nEvent(reg istrationE vent); | |
| 42 | va r subject1 = new PRPA IN201306UV 02MFMIMT70 0711UV01Su bject2(); | |
| 43 | ||
| 44 | va r patient= new PRPAMT 201310UV02 Patient(); | |
| 45 | II id=new II (); | |
| 46 | id .setExtens ion(TEST_I CN+"^NI^20 0M^USVHA^P "); | |
| 47 | pa tient.getI d().add(id ); | |
| 48 | ||
| 49 | JA XBElement< PRPAMT2013 10UV02Pers on> jaxbPa tientPerso n=patient. getPatient Person(); | |
| 50 | pa tient.setP atientPers on(jaxbPat ientPerson );; | |
| 51 | ||
| 52 | su bject1.set Patient(pa tient); | |
| 53 | ||
| 54 | re gistration Event.setS ubject1(su bject1); | |
| 55 | ||
| 56 | co ntrolActPr ocess.getS ubject().a dd(subject ); | |
| 57 | ||
| 58 | re turn respo nse; | |
| 59 | } | |
| 60 | ||
| 61 | privat e CS getCo de(String codeVal) { | |
| 62 | CS cs = new CS(); | |
| 63 | cs .setCode(c odeVal); | |
| 64 | re turn cs; | |
| 65 | } | |
| 66 | ||
| 67 | privat e INT getI nt(int int Val) { | |
| 68 | IN T i=new IN T(); | |
| 69 | i. setValue(B igInteger. valueOf(in tVal)); | |
| 70 | re turn i; | |
| 71 | } | |
| 72 | } | |
| 73 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.