3873. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/9/2017 3:50:57 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.

3873.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:50:57 2017 UTC
2 eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-server\src\main\java\gov\va\nvap\server\endpoint\mpi\transceiver HL7MLLPTransceiver.java Fri Apr 21 20:03:28 2017 UTC

3873.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 0 0
Changed 0 0
Inserted 1 43
Removed 0 0

3873.3 Comparison options

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

3873.4 Active regular expressions

No regular expressions were active.

3873.5 Comparison detail

        1   package go v.va.nvap. server.end point.mpi. transceive r;
        2  
        3   /**
        4    * Handles  the send  and reciev e from the  MPI.
        5    * 
        6    * @author  Asha Amri traj
        7    * 
        8    */
        9   public cla ss HL7MLLP Transceive r extends
        10                    gov. va.nvap.co mmon.trans ceiver.cli ent.Socket Transceive r {
        11  
        12           st atic publi c final St ring FSCR  = "\u001C\ r";
        13           st atic publi c final St ring VT =  "\u000B";
        14  
        15           @O verride
        16           pr otected St ring forma tIncomingM essage(fin al String  payload) {
        17                    Stri ng ret;
        18                    if ( payload.st artsWith(H L7MLLPTran sceiver.VT )
        19                                      && paylo ad.endsWit h(HL7MLLPT ransceiver .FSCR)) {
        20                             ret =  payload.su bstring(1,  payload.l ength() -  2);
        21                    } el se {
        22                             ret =  payload;
        23                    }
        24                    retu rn ret;
        25           }
        26  
        27           @O verride
        28           pr otected St ring forma tOutgoingM essage(fin al String  payload) {
        29                    // M PI require s these to  parse the  messages.
        30                    retu rn HL7MLLP Transceive r.VT + pay load + HL7 MLLPTransc eiver.FSCR ;
        31           }
        32  
        33           @O verride
        34           pr otected St ring getEn dMarker()  {
        35                    retu rn HL7MLLP Transceive r.FSCR;
        36           }
        37  
        38           @O verride
        39           pr otected in t getEndMa rkerPositi on() {
        40                    retu rn 0;
        41           }
        42  
        43   }