25. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 4/5/2017 4:21:45 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.

25.1 Files compared

# Location File Last Modified
1 C:\working_scrub\Unredacted\eHX Code Base\eHX_Bld2_Source Code_CIF_2017-02-14\NHIN_adapter\AdapterEJB\src\archive\java\gov\va\med\nhin\adapter\adaptergateway\patientdiscovery AdapterGatewayPatientDiscoveryWS.java Fri Feb 10 15:41:44 2017 UTC
2 eHX-CIF.zip\eHX-CIF\eHX Code Base\eHX_Bld2_Source Code_CIF_2017-02-14\NHIN_adapter\AdapterEJB\src\archive\java\gov\va\med\nhin\adapter\adaptergateway\patientdiscovery AdapterGatewayPatientDiscoveryWS.java Mon Apr 3 14:22:53 2017 UTC

25.2 Comparison summary

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

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

25.4 Active regular expressions

No regular expressions were active.

25.5 Comparison detail

  1   package go v.va.med.n hin.adapte r.adapterg ateway.pat ientdiscov ery;
  2  
  3   import jav a.net.URL;
  4  
  5   import jav ax.ejb.EJB ;
  6   import jav ax.ejb.Sta teless;
  7   import jav ax.xml.nam espace.QNa me;
  8  
  9   import org .hl7.v3.Re spondingGa tewayPRPAI N201305UV0 2RequestTy pe;
  10   import org .hl7.v3.Re spondingGa tewayPRPAI N201306UV0 2ResponseT ype;
  11  
  12   import gov .hhs.fha.n hinc.entit ypatientdi scovery.En tityPatien tDiscovery ;
  13   import gov .hhs.fha.n hinc.entit ypatientdi scovery.En tityPatien tDiscovery PortType;
  14   import gov .va.med.nh in.adapter .propertyl ookup.Prop ertyLookup ;
  15   import gov .va.med.nh in.adapter .propertyl ookup.Prop ertyLookup Local;
  16  
  17   /**
  18    *
  19    * @author   DN S      VAZQUD
  20    */
  21   @Stateless (name = "A dapterGate wayPatient DiscoveryW S")
  22   public cla ss Adapter GatewayPat ientDiscov eryWS impl ements Ent ityPatient DiscoveryP ortTypeLoc al
  23   {
  24           pr ivate Prop ertyLookup  propertyL ookup;
  25           pr ivate Enti tyPatientD iscovery s ervice;
  26  
  27           @E JB(beanInt erface = P ropertyLoo kupLocal.c lass, bean Name = "Pr opertyLook up")
  28           pu blic void  setPropert yLookup(Pr opertyLook up propert yLookup)
  29           {
  30                    this .propertyL ookup = pr opertyLook up;
  31           }
  32  
  33           pu blic Respo ndingGatew ayPRPAIN20 1306UV02Re sponseType  respondin gGatewayPR PAIN201305 UV02(Respo ndingGatew ayPRPAIN20 1305UV02Re questType  r)
  34           {
  35                    try
  36                    {
  37                             return  getEntity PatientDis coveryPort ().respond ingGateway PRPAIN2013 05UV02(r);
  38                    }
  39                    catc h(Throwabl e t)
  40                    {
  41                             throw  new Unsupp ortedOpera tionExcept ion("Not s upported y et!");
  42                    }
  43           }
  44  
  45           pr ivate Enti tyPatientD iscoveryPo rtType get EntityPati entDiscove ryPort()
  46           {
  47                    Enti tyPatientD iscoveryPo rtType ret ;
  48  
  49                    try
  50                    {
  51                             if(ser vice == nu ll)
  52                             {
  53                                      String e ntityPatie ntDiscover yWSDL = pr opertyLook up.getProp erty("Enti tyPatientD iscoveryWS DL");
  54                                      URL url  = new URL( entityPati entDiscove ryWSDL);
  55                                      QName qn ame = new  QName("urn :gov:hhs:f ha:nhinc:e ntitypatie ntdiscover y", "Entit yPatientDi scovery");
  56                                      service  = new Enti tyPatientD iscovery(u rl, qname) ;
  57                             }
  58  
  59                             ret =  service.ge tEntityPat ientDiscov eryPortSoa p();
  60                    }
  61                    catc h(Exceptio n e)
  62                    {
  63                             throw  new Runtim eException ("Error ge tting Enti tyPatientD iscoveryPo rt");
  64                    }
  65  
  66                    retu rn ret;
  67           }
  68   }