46. EPMO Open Source Coordination Office Redaction File Detail Report

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

46.1 Files compared

# Location File Last Modified
1 ehealth_xchange_cif.zip\NHIN_adapter\AdapterEJB\src\main\java\gov\va\med\nhin\adapter\patientdiscovery VapConsentManagement.java Thu Feb 22 14:26:26 2018 UTC
2 ehealth_xchange_cif.zip\NHIN_adapter\AdapterEJB\src\main\java\gov\va\med\nhin\adapter\patientdiscovery VapConsentManagement.java Tue Feb 27 14:24:36 2018 UTC

46.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 3 240
Changed 2 4
Inserted 0 0
Removed 0 0

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

46.4 Active regular expressions

No regular expressions were active.

46.5 Comparison detail

  1   package go v.va.med.n hin.adapte r.patientd iscovery;
  2  
  3   import gov .va.nvap.p rivacy.Con sentDirect iveAuthori zationRequ estType;
  4   import gov .va.nvap.p rivacy.Con sentDirect iveAuthori zationResp onseType;
  5   import gov .va.nvap.p rivacy.Con sentDirect iveDocumen tRetrieveR equestType ;
  6   import gov .va.nvap.p rivacy.Con sentDirect iveDocumen tRetrieveR esponseTyp e;
  7   import gov .va.nvap.p rivacy.Con sentDirect iveExpirat ionRequest Type;
  8   import gov .va.nvap.p rivacy.Con sentDirect iveExpirat ionRespons eType;
  9   import gov .va.nvap.p rivacy.Con sentDirect iveQueryRe questType;
  10   import gov .va.nvap.p rivacy.Con sentDirect iveQueryRe sponseType ;
  11   import gov .va.nvap.p rivacy.Con sentDirect iveRevocat ionRequest Type;
  12   import gov .va.nvap.p rivacy.Con sentDirect iveRevocat ionRespons eType;
  13   import gov .va.nvap.p rivacy.Org anizationT rustedSour ceRequestT ype;
  14   import gov .va.nvap.p rivacy.Org anizationT rustedSour ceResponse Type;
  15   import gov .va.nvap.p rivacy.Org anizations QueryReque stType;
  16   import gov .va.nvap.p rivacy.Org anizations QueryRespo nseType;
  17   import gov .va.nvap.p rivacy.Res trictionsQ ueryReques tType;
  18   import gov .va.nvap.p rivacy.Res trictionsQ ueryRespon seType;
  19   import gov .va.nvap.p rivacy.Sta tusQueryRe questType;
  20   import gov .va.nvap.p rivacy.Sta tusQueryRe sponseType ;
  21  
  22   import jav ax.ejb.EJB ;
  23   import jav ax.ejb.*;
  24   import jav ax.jws.Web Service;
  25  
  26   import org .slf4j.Log ger;
  27   import org .slf4j.Log gerFactory ;
  28  
  29   import pri vacy.servi ce.nvap. DNS     .ConsentMa nagementSe rviceFault Message;
  30  
  31   /**
  32    *
  33    * @author  Zack Pete rson
  34    */
  35   @WebServic e(serviceN ame = "Con sentManage mentServic e", portNa me = "Cons entManagem entPortTyp e", endpoi ntInterfac e = "priva cy.service .nvap. DNS     .ConsentMa nagementPo rtType", t argetNames pace = "ht tp://gov.v a.nvap.ser vice.priva cy/")
  36   @Transacti onAttribut e(value =  Transactio nAttribute Type.SUPPO RTS)
  37   @Stateless (name = "V apConsentM anagement" )
  38   public cla ss VapCons entManagem ent implem ents VapCo nsentManag ementPortT ypeLocal
  39   {
  40           pr ivate stat ic final L ogger logg er = Logge rFactory.g etLogger(V apConsentM anagement. class.getN ame());
  41  
  42           pr ivate CMPr oxy cmProx y;
  43  
  44           @E JB(beanInt erface = C MProxy.cla ss, beanNa me = "CMPr oxyVAP")
  45           pu blic void  setCMProxy (CMProxy c mProxy)
  46           {
  47                    this .cmProxy =  cmProxy;
  48           }
  49  
  50           pu blic Conse ntDirectiv eQueryResp onseType g etConsentD irectives( ConsentDir ectiveQuer yRequestTy pe consent DirectiveQ ueryReques t) throws  ConsentMan agementSer viceFaultM essage
  51           {
  52                    logg er.debug(" getConsent Directives  {}", cons entDirecti veQueryReq uest);
  53  
  54                    Cons entDirecti veQueryRes ponseType  response =  cmProxy.g etConsentD irectives( consentDir ectiveQuer yRequest);
  55  
  56                    retu rn respons e;
  57           }
  58  
  59           pu blic Conse ntDirectiv eExpiratio nResponseT ype getExp iringConse ntDirectiv es(Consent DirectiveE xpirationR equestType  consentDi rectiveExp irationReq uest) thro ws Consent Management ServiceFau ltMessage
  60           {
  61                    thro w new Unsu pportedOpe rationExce ption("Not  supported  yet.");
  62           }
  63  
  64           pu blic Conse ntDirectiv eExpiratio nResponseT ype getExp iringDetai ledConsent Directives (ConsentDi rectiveExp irationReq uestType c onsentDire ctiveExpir ationReque st) throws  ConsentMa nagementSe rviceFault Message
  65           {
  66                    thro w new Unsu pportedOpe rationExce ption("Not  supported  yet.");
  67           }
  68  
  69           pu blic Conse ntDirectiv eExpiratio nResponseT ype getAut horizedCon sentForSum mary(Conse ntDirectiv eExpiratio nRequestTy pe consent DirectiveA uthorizedR equest) th rows Conse ntManageme ntServiceF aultMessag e
  70           {
  71                    thro w new Unsu pportedOpe rationExce ption("Not  supported  yet.");
  72           }
  73  
  74           pu blic Conse ntDirectiv eDocumentR etrieveRes ponseType  getConsent DirectiveD ocuments(C onsentDire ctiveDocum entRetriev eRequestTy pe consent DirectiveD ocumentRet rieveReque st) throws  ConsentMa nagementSe rviceFault Message
  75           {
  76                    thro w new Unsu pportedOpe rationExce ption("Not  supported  yet.");
  77           }
  78  
  79           pu blic Conse ntDirectiv eAuthoriza tionRespon seType pro cessConsen tDirective Update(Con sentDirect iveRevocat ionRequest Type conse ntDirectiv eUpdateReq uest) thro ws Consent Management ServiceFau ltMessage
  80           {
  81                    thro w new Unsu pportedOpe rationExce ption("Not  supported  yet.");
  82           }
  83  
  84           pu blic Conse ntDirectiv eAuthoriza tionRespon seType pro cessConsen tDirective Authorizat ion(Consen tDirective Authorizat ionRequest Type conse ntDirectiv eAuthoriza tionReques t) throws  ConsentMan agementSer viceFaultM essage
  85           {
  86                    logg er.debug(" processCon sentDirect iveAuthori zation {}" , consentD irectiveAu thorizatio nRequest);
  87  
  88                    Cons entDirecti veAuthoriz ationRespo nseType re sponse = c mProxy.pro cessConsen tDirective Authorizat ion(consen tDirective Authorizat ionRequest );
  89  
  90                    retu rn respons e;
  91           }
  92  
  93           pu blic Conse ntDirectiv eRevocatio nResponseT ype proces sConsentDi rectiveRev ocation(Co nsentDirec tiveRevoca tionReques tType cons entDirecti veRevocati onRequest)  throws Co nsentManag ementServi ceFaultMes sage
  94           {
  95                    logg er.debug(" processCon sentDirect iveRevocat ion {}", c onsentDire ctiveRevoc ationReque st);
  96  
  97                    Cons entDirecti veRevocati onResponse Type respo nse = cmPr oxy.proces sConsentDi rectiveRev ocation(co nsentDirec tiveRevoca tionReques t);
  98  
  99                    retu rn respons e;
  100           }
  101  
  102           pu blic Organ izationsQu eryRespons eType getO rganizatio ns(Organiz ationsQuer yRequestTy pe organiz ationsQuer yRequest)  throws Con sentManage mentServic eFaultMess age
  103           {
  104                    thro w new Unsu pportedOpe rationExce ption("Not  supported  yet.");
  105           }
  106  
  107       public  Organizat ionTrusted SourceResp onseType g etIsOrgani zationTrus tedSource( Organizati onTrustedS ourceReque stType org anizationT rustedSour ceRequest)  throws Co nsentManag ementServi ceFaultMes sage {
  108           lo gger.debug ("getIsOrg anizationT rustedSour ce {}", or ganization TrustedSou rceRequest );
  109  
  110           Or ganization TrustedSou rceRespons eType resp onse = cmP roxy.getIs Organizati onTrustedS ource(orga nizationTr ustedSourc eRequest);
  111  
  112           re turn respo nse;
  113       }
  114  
  115       public  Restricti onsQueryRe sponseType  getRestri ctions(Res trictionsQ ueryReques tType rest rictionsQu eryRequest ) throws C onsentMana gementServ iceFaultMe ssage {
  116           th row new Un supportedO perationEx ception("N ot support ed yet.");
  117       }
  118  
  119       public  StatusQue ryResponse Type getSt atus(Statu sQueryRequ estType st atusQueryR equest) th rows Conse ntManageme ntServiceF aultMessag e {
  120           th row new Un supportedO perationEx ception("N ot support ed yet.");
  121       }
  122   }