3882. EPMO Open Source Coordination Office Redaction File Detail Report

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

3882.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:50:57 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-server\src\main\java\gov\va\nvap\server\endpoint\pip PolicyInformationPointFacade.java Fri Apr 21 20:03:28 2017 UTC

3882.2 Comparison summary

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

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

3882.4 Active regular expressions

No regular expressions were active.

3882.5 Comparison detail

        1   package go v.va.nvap. server.end point.pip;
        2  
        3   import gov .va.nvap.p rivacy.Con sentDirect iveDetaile dExpiratio nRequest;
        4   import gov .va.nvap.s vc.consent mgmt.PIPIn terface;
        5   import gov .va.nvap.s vc.consent mgmt.Polic yConstrain ts;
        6   import gov .va.nvap.s vc.consent mgmt.stub. adapter.an nounce.dat a.Announce ment;
        7   import gov .va.nvap.s vc.consent mgmt.stub. adapter.an nounce.dat a.Announce mentOrg;
        8   import gov .va.nvap.s vc.consent mgmt.stub. data.Conse ntDirectiv e;
        9   import gov .va.nvap.s vc.consent mgmt.stub. data.Conse ntType;
        10   import gov .va.nvap.s vc.consent mgmt.stub. data.Detai ledConsent Directive;
        11   import gov .va.nvap.s vc.consent mgmt.stub. data.Expir ingConsent Configurat ion;
        12   import gov .va.nvap.s vc.consent mgmt.stub. data.Facil ity;
        13   import gov .va.nvap.s vc.consent mgmt.stub. data.Facil ityOptInCo nsent;
        14   import gov .va.nvap.s vc.consent mgmt.stub. data.Funct ionalRole;
        15   import gov .va.nvap.s vc.consent mgmt.stub. data.Locat ion;
        16   import gov .va.nvap.s vc.consent mgmt.stub. data.Optou tReason;
        17   import gov .va.nvap.s vc.consent mgmt.stub. data.Organ ization;
        18   import gov .va.nvap.s vc.consent mgmt.stub. data.Patie ntDocument ;
        19   import gov .va.nvap.s vc.consent mgmt.stub. data.Patie ntDocument Type;
        20   import gov .va.nvap.s vc.consent mgmt.stub. data.Purpo seOfUse;
        21   import jav a.util.Col lection;
        22   import jav ax.ejb.Sta teless;
        23   import jav ax.interce ptor.Inter ceptors;
        24   import org .springfra mework.bea ns.factory .annotatio n.Autowire d;
        25   import org .springfra mework.bea ns.factory .annotatio n.Qualifie r;
        26   import org .springfra mework.bea ns.factory .annotatio n.Required ;
        27   import org .springfra mework.ejb .intercept or.SpringB eanAutowir ingInterce ptor;
        28  
        29   /**
        30    * A facad e for the  Policy Inf ormation P oint (PIP) . Used by  the GUI.
        31    *
        32    * @author  Asha Amri traj
        33    *
        34    */
        35   @Stateless (name = "P ipService" , mappedNa me = "PipS ervice")
        36   @javax.ejb .Remote(PI PInterface .class)
        37   @Intercept ors(Spring BeanAutowi ringInterc eptor.clas s)
        38   public cla ss PolicyI nformation PointFacad e implemen ts PIPInte rface {
        39  
        40       /**
        41        * Spr ing inject ion, so th at all the  dependenc ies are in jected.
        42        */
        43       @Autow ired
        44       @Quali fier(value  = "Policy Informatio nPoint")
        45       PIPInt erface pip ;
        46  
        47       @Overr ide
        48       public  ConsentDi rective ge tActiveCon sentDirect ive(
        49           fi nal Collec tion<Strin g> patient Iens, fina l ConsentT ype consen tType) {
        50           re turn this. pip.getAct iveConsent Directive( patientIen s, consent Type);
        51       }
        52  
        53       @Overr ide
        54       public  Collectio n<ConsentD irective>  getActiveC onsentDire ctives(
        55           fi nal Collec tion<Strin g> patient Iens) {
        56           re turn this. pip.getAct iveConsent Directives (patientIe ns);
        57       }
        58  
        59       @Overr ide
        60       public  Collectio n<Function alRole> ge tAllowedFu nctionalRo les() {
        61           re turn this. pip.getAll owedFuncti onalRoles( );
        62       }
        63  
        64       @Overr ide
        65       public  Collectio n<Organiza tion> getA llowedOrga nizations( ) {
        66           re turn this. pip.getAll owedOrgani zations();
        67       }
        68  
        69       @Overr ide
        70       public  Boolean g etIsOrgani zationTrus tedSource( String org anizationI d) {
        71           re turn this. pip.getIsO rganizatio nTrustedSo urce(organ izationId) ;
        72       }
        73  
        74       @Overr ide
        75       public  Collectio n<PurposeO fUse> getA llowedPurp oseOfUse()  {
        76           re turn this. pip.getAll owedPurpos eOfUse();
        77       }
        78  
        79       @Overr ide
        80       public  Collectio n<Facility > getAllow edVistAFac ilities()  {
        81           re turn this. pip.getAll owedVistAF acilities( );
        82       }
        83  
        84       @Overr ide
        85       public  String ge tAuthority Name(final  String oi d) {
        86           re turn this. pip.getAut horityName (oid);
        87       }
        88  
        89       @Overr ide
        90       public  PatientDo cument get ConsentDir ectiveDocu mentByType (
        91           fi nal Consen tDirective  consentDi rective,
        92           fi nal Patien tDocumentT ype patien tDocumentT ype) {
        93           re turn this. pip.getCon sentDirect iveDocumen tByType(co nsentDirec tive,
        94                patientD ocumentTyp e);
        95       }
        96  
        97       @Overr ide
        98       public  Collectio n<PatientD ocument> g etConsentD irectiveDo cuments(
        99           fi nal Consen tDirective  consentDi rective) {
        100           re turn this. pip.getCon sentDirect iveDocumen ts(consent Directive) ;
        101       }
        102  
        103       @Overr ide
        104       public  Collectio n<ConsentD irective>  getConsent History(
        105           fi nal Collec tion<Strin g> patient Ien) {
        106           re turn this. pip.getCon sentHistor y(patientI en);
        107       }
        108  
        109       @Overr ide
        110       public  ConsentTy pe getCons entTypeByN ame(final  String nam e) {
        111           re turn this. pip.getCon sentTypeBy Name(name) ;
        112       }
        113  
        114       @Overr ide
        115       public  Facility  getFacilit yByStation Id(final S tring stat ionId) {
        116           re turn (this .pip.getFa cilityBySt ationId(st ationId));
        117       }
        118  
        119       @Overr ide
        120       public  Location  getLocatio nByCode(fi nal String  locationC ode) {
        121           re turn this. pip.getLoc ationByCod e(location Code);
        122       }
        123  
        124       @Overr ide
        125       public  Collectio n<OptoutRe ason> getO ptoutReaso ns() {
        126           re turn this. pip.getOpt outReasons ();
        127       }
        128  
        129       @Overr ide
        130       public  Organizat ion getOrg anizationB yId(final  Long id) {
        131           re turn this. pip.getOrg anizationB yId(id);
        132       }
        133  
        134       @Overr ide
        135       public  Organizat ion getOrg anizationB yOid(final  String oi d) {
        136           re turn this. pip.getOrg anizationB yOid(oid);
        137       }
        138  
        139       @Overr ide
        140       public  Collectio n<PatientD ocumentTyp e> getPati entDocumen tTypes() {
        141           re turn this. pip.getPat ientDocume ntTypes();
        142       }
        143  
        144       @Overr ide
        145       public  PolicyCon straints g etPolicyCo nstraints(
        146           fi nal Collec tion<Strin g> patient Iens, fina l ConsentT ype consen tType) {
        147           re turn this. pip.getPol icyConstra ints(patie ntIens, co nsentType) ;
        148       }
        149  
        150       @Requi red
        151       public  void setP ip(final P IPInterfac e pip) {
        152           th is.pip = p ip;
        153       }
        154  
        155       @Overr ide
        156       public  void stor eConsentDi rective(fi nal Consen tDirective  consentDi rective) {
        157           th is.pip.sto reConsentD irective(c onsentDire ctive);
        158       }
        159  
        160       @Overr ide
        161       public  void stor eOrganizat ion(final  Organizati on organiz ation) {
        162           th is.pip.sto reOrganiza tion(organ ization);
        163       }
        164  
        165       @Overr ide
        166       public  void stor ePatientDo cument(fin al Patient Document p atientDocu ment) {
        167           th is.pip.sto rePatientD ocument(pa tientDocum ent);
        168       }
        169  
        170       @Overr ide
        171       public  void upda tePatientD ocument(fi nal Patien tDocument  patientDoc ument) {
        172           th is.pip.upd atePatient Document(p atientDocu ment);
        173       }
        174  
        175       @Overr ide
        176       public  Collectio n<ConsentD irective>  getExpirin gPatientCo nsentDirec tives(
        177           Co llection<S tring> pat ientIens,  ConsentDir ectiveDeta iledExpira tionReques t consentD irectiveEx pirationRe quest) {
        178           re turn pip.g etExpiring PatientCon sentDirect ives(patie ntIens, co nsentDirec tiveExpira tionReques t);
        179       }
        180  
        181       @Overr ide
        182       public  PurposeOf Use getPur poseOfUseB yValue(Str ing name)  {
        183           re turn this. pip.getPur poseOfUseB yValue(nam e);
        184       }
        185  
        186       @Overr ide
        187       public  Collectio n<Organiza tion> getA llowedNonC onsumerOnl yOrganizat ions() {
        188           re turn this. getAllowed NonConsume rOnlyOrgan izations() ;
        189       }
        190  
        191       @Overr ide
        192       public  Collectio n<Organiza tion> getA llowedCons umerOnlyOr ganization s() {
        193           re turn this. getAllowed ConsumerOn lyOrganiza tions();
        194       }
        195  
        196       @Overr ide
        197       public  ExpiringC onsentConf iguration  getExpirin gConsentCo nfiguratio n() {
        198           re turn this. pip.getExp iringConse ntConfigur ation();
        199       }
        200  
        201       @Overr ide
        202       public  void upda teExpiring ConsentCon figuration (
        203           Ex piringCons entConfigu ration con fig) {
        204           th is.pip.upd ateExpirin gConsentCo nfiguratio n(config);
        205       }
        206  
        207       @Overr ide
        208       public  Collectio n<Detailed ConsentDir ective> ge tExpiringP atientDeta iledConsen tDirective s(ConsentD irectiveDe tailedExpi rationRequ est consen tDirective Expiration Request) {
        209           re turn pip.g etExpiring PatientDet ailedConse ntDirectiv es(consent DirectiveE xpirationR equest);
        210       }
        211  
        212       @Overr ide
        213       public  Collectio n<Facility OptInConse nt> getAut horizedCon sentForSum mary() {
        214           re turn pip.g etAuthoriz edConsentF orSummary( );
        215       }
        216  
        217       @Overr ide
        218       public  Collectio n<Announce mentOrg> g etAllAnnou ncementOrg s() {
        219           re turn pip.g etAllAnnou ncementOrg s();
        220       }
        221  
        222       @Overr ide
        223       public  Collectio n<Announce mentOrg> g etAnnounce mentOrgsBy Announceme nt(Announc ement anno uncement)  {
        224           re turn pip.g etAnnounce mentOrgsBy Announceme nt(announc ement);
        225       }
        226  
        227       @Overr ide
        228       public  void stor eAnnouncem entOrg(Ann ouncementO rg announc eOrg) {
        229           th is.pip.sto reAnnounce mentOrg(an nounceOrg) ;
        230       }
        231  
        232       @Overr ide
        233       public  void upda teAnnounce mentOrg(An nouncement Org announ ceOrg) {
        234           th is.pip.upd ateAnnounc ementOrg(a nnounceOrg );
        235       }
        236  
        237       @Overr ide
        238       public  Collectio n<ConsentD irective>  getRecentl yExpiredCo nsent() {
        239           re turn this. pip.getRec entlyExpir edConsent( );
        240       }
        241  
        242       @Overr ide
        243       public  ConsentDi rective ge tConsentDi rective(Lo ng id) {
        244           re turn this. pip.getCon sentDirect ive(id);
        245       }
        246  
        247       @Overr ide
        248       public  Facility  getFacilit yByName(St ring facil ityName) {
        249           re turn this. pip.getFac ilityByNam e(facility Name);
        250       }
        251  
        252   }