25. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 3/1/2018 12:13:14 PM Central 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.

25.1 Files compared

# Location File Last Modified
1 ehealth_xchange_cif.zip\NHIN_adapter\AdapterEJB\src\archive\java\gov\va\med\nhin\adapter\adaptergateway\patientdiscovery AdapterGatewayPatientDiscoveryWS.java Thu Feb 22 14:25:42 2018 UTC
2 ehealth_xchange_cif.zip\NHIN_adapter\AdapterEJB\src\archive\java\gov\va\med\nhin\adapter\adaptergateway\patientdiscovery AdapterGatewayPatientDiscoveryWS.java Tue Feb 27 14:23:57 2018 UTC

25.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 136
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.*;
  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   @Transacti onAttribut e(value =  Transactio nAttribute Type.SUPPO RTS)
  22   @Stateless (name = "A dapterGate wayPatient DiscoveryW S")
  23   public cla ss Adapter GatewayPat ientDiscov eryWS impl ements Ent ityPatient DiscoveryP ortTypeLoc al
  24   {
  25           pr ivate Prop ertyLookup  propertyL ookup;
  26           pr ivate Enti tyPatientD iscovery s ervice;
  27  
  28           @E JB(beanInt erface = P ropertyLoo kupLocal.c lass, bean Name = "Pr opertyFile Lookup")
  29           pu blic void  setPropert yLookup(Pr opertyLook up propert yLookup)
  30           {
  31                    this .propertyL ookup = pr opertyLook up;
  32           }
  33  
  34           pu blic Respo ndingGatew ayPRPAIN20 1306UV02Re sponseType  respondin gGatewayPR PAIN201305 UV02(Respo ndingGatew ayPRPAIN20 1305UV02Re questType  r)
  35           {
  36                    try
  37                    {
  38                             return  getEntity PatientDis coveryPort ().respond ingGateway PRPAIN2013 05UV02(r);
  39                    }
  40                    catc h(Throwabl e t)
  41                    {
  42                             throw  new Unsupp ortedOpera tionExcept ion("Not s upported y et!");
  43                    }
  44           }
  45  
  46           pr ivate Enti tyPatientD iscoveryPo rtType get EntityPati entDiscove ryPort()
  47           {
  48                    Enti tyPatientD iscoveryPo rtType ret ;
  49  
  50                    try
  51                    {
  52                             if(ser vice == nu ll)
  53                             {
  54                                      String e ntityPatie ntDiscover yWSDL = pr opertyLook up.getProp erty("Enti tyPatientD iscoveryWS DL");
  55                                      URL url  = new URL( entityPati entDiscove ryWSDL);
  56                                      QName qn ame = new  QName("urn :gov:hhs:f ha:nhinc:e ntitypatie ntdiscover y", "Entit yPatientDi scovery");
  57                                      service  = new Enti tyPatientD iscovery(u rl, qname) ;
  58                             }
  59  
  60                             ret =  service.ge tEntityPat ientDiscov eryPortSoa p();
  61                    }
  62                    catc h(Exceptio n e)
  63                    {
  64                             throw  new Runtim eException ("Error ge tting Enti tyPatientD iscoveryPo rt");
  65                    }
  66  
  67                    retu rn ret;
  68           }
  69   }