4297. EPMO Open Source Coordination Office Redaction File Detail Report

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

4297.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:51:26 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-web\src\main\java\gov\va\nvap\web\patient PatientCommentDAO.java Fri Apr 21 20:03:30 2017 UTC

4297.2 Comparison summary

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

4297.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

4297.4 Active regular expressions

No regular expressions were active.

4297.5 Comparison detail

        1   package go v.va.nvap. web.patien t;
        2  
        3   import jav a.util.Lis t;
        4   import jav ax.persist ence.Entit yManager;
        5   import jav ax.persist ence.Persi stenceCont ext;
        6   import jav ax.persist ence.Query ;
        7   import org .springfra mework.tra nsaction.a nnotation. Transactio nal;
        8  
        9   /**
        10    *
        11    * @author  Johann So nnenberg
        12    * @author  Darren He nderson
        13    */
        14   public cla ss Patient CommentDAO  {
        15  
        16       /**
        17        * Ent ity Manage r instance .
        18        */
        19       @Persi stenceCont ext
        20       privat e EntityMa nager em;
        21  
        22       @Trans actional
        23       public  PatientCo mment crea te(Patient Comment co mment) {
        24           em .persist(c omment);
        25           re turn comme nt;
        26       }
        27  
        28       public  List<Pati entComment > getComme ntsByPatie ntIen(Stri ng patient Ien) {
        29           Qu ery query  = em.creat eQuery("SE LECT c FRO M PatientC omment c W HERE c.pat ientIen =  :patientIe n ORDER BY  c.dateAdd ed DESC");
        30           qu ery.setPar ameter("pa tientIen",  patientIe n);
        31  
        32           re turn (List <PatientCo mment>) qu ery.getRes ultList();
        33       }
        34  
        35       /**
        36        * Set  the entit y manager  (Injected  by Spring) .
        37        *
        38        * @pa ram em Ent ity manage r to be st ored
        39        */
        40       public  void setE ntityManag er(final E ntityManag er em) {
        41           th is.em = em ;
        42       }
        43   }