8. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 3/8/2018 10:11:21 AM Eastern Standard 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.

8.1 Files compared

# Location File Last Modified
1 PRE_PPS-N_v3.0.1.zip\PS_PPS_common\src\main\java\gov\va\med\pharmacy\peps\common\vo\validator DrugDrugInteractionValidator.java Fri Jan 12 15:43:46 2018 UTC
2 PRE_PPS-N_v3.0.1.zip\PS_PPS_common\src\main\java\gov\va\med\pharmacy\peps\common\vo\validator DrugDrugInteractionValidator.java Tue Mar 6 18:55:02 2018 UTC

8.2 Comparison summary

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

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

8.4 Active regular expressions

No regular expressions were active.

8.5 Comparison detail

  1   package go v.va.med.p harmacy.pe ps.common. vo.validat or;
  2  
  3  
  4   import gov .va.med.ph armacy.pep s.common.v o.DrugDrug Interactio nVo;
  5   import gov .va.med.ph armacy.pep s.common.v o.FieldKey ;
  6  
  7  
  8  
  9   /**
  10    * @author         DNS
  11    * 
  12    * validat or for dru g drug int eraction.
  13    *
  14    */
  15   public cla ss DrugDru gInteracti onValidato r extends  AbstractVa lidator<Dr ugDrugInte ractionVo>  {
  16  
  17       /**
  18        * Val idates dru g drug int eraction.
  19        */
  20       @Overr ide
  21       public  void vali date(DrugD rugInterac tionVo val ue, Errors  errors) {
  22  
  23           re jectIfTrue (isNull(va lue.getIng redient1() ), ErrorKe y.DDI_INGR EDIENT1_NO T_SELECTED , errors,   FieldKey. DRUG_INGRE DIENT_1);
  24  
  25           re jectIfTrue (isNull(va lue.getIng redient2() ), ErrorKe y.DDI_INGR EDIENT2_NO T_SELECTED , errors,   FieldKey. DRUG_INGRE DIENT_2);
  26  
  27           re jectIfTrue (isNull(va lue.getDru gSeverity( )), ErrorK ey.DDI_SEV ERITY_NOT_ SELECTED,  errors,  F ieldKey.SE VERITY);
  28  
  29  
  30       }
  31   }