7. EPMO Open Source Coordination Office Redaction File Detail Report

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

7.1 Files compared

# Location File Last Modified
1 eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\eHXE_Build3_2017-05-04.zip\NHIN_adapter\AdapterCommonEJB\src\main\java\gov\va\med\nhin\adapter\audit AuditsReport.java Wed May 3 15:58:46 2017 UTC
2 eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\eHXE_Build3_2017-05-04.zip\NHIN_adapter\AdapterCommonEJB\src\main\java\gov\va\med\nhin\adapter\audit AuditsReport.java Thu Jun 1 21:18:50 2017 UTC

7.2 Comparison summary

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

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

7.4 Active regular expressions

No regular expressions were active.

7.5 Comparison detail

  1   package go v.va.med.n hin.adapte r.audit;
  2  
  3   import jav a.io.Seria lizable;
  4   import jav a.math.Big Integer;
  5   import jav a.util.Dat e;
  6   import jav ax.persist ence.Basic ;
  7   import jav ax.persist ence.Colum n;
  8   import jav ax.persist ence.Entit y;
  9   import jav ax.persist ence.Id;
  10   import jav ax.persist ence.JoinC olumn;
  11   import jav ax.persist ence.ManyT oOne;
  12   import jav ax.persist ence.Named Queries;
  13   import jav ax.persist ence.Named Query;
  14   import jav ax.persist ence.Table ;
  15   import jav ax.persist ence.Tempo ral;
  16   import jav ax.persist ence.Tempo ralType;
  17  
  18   /**
  19    *
  20    * @author  
D NS    
  21    */
  22   @Entity
  23   @Table(nam e = "AUDIT S_REPORT")
  24   @NamedQuer ies({
  25       @Named Query(name  = "Audits Report.fin dAll", que ry = "SELE CT a FROM  AuditsRepo rt a"),
  26       @Named Query(name  = "Audits Report.fin dBySystemI d", query= "SELECT a  FROM Audit sReport a  WHERE a.sy stemId=:sy stemId")
  27   })
  28   public cla ss AuditsR eport impl ements Ser ializable
  29   {
  30       privat e static f inal long  serialVers ionUID = 1 L;
  31       @Id
  32       @Basic (optional  = false)
  33       @Colum n(name = " AUDIT_ID")
  34       privat e BigInteg er auditId ;
  35       @Basic (optional  = false)
  36       @Colum n(name = " ACTION_NAM E")
  37       privat e String a ctionName;
  38       @Colum n(name = " USER_ID")
  39       privat e String u serId;
  40       @Colum n(name = " SYSTEM_ID" )
  41       privat e String s ystemId;
  42       @Colum n(name = " ORGANIZATI ON_ID")
  43       privat e String o rganizatio nId;
  44       @Colum n(name = " PATIENT_ID ")
  45       privat e String p atientId;
  46       @Colum n(name = " PURPOSE_FO R_USE")
  47       privat e String p urposeForU se;
  48       @Colum n(name = " DOCUMENT_I D")
  49       privat e String d ocumentId;
  50       @Basic (optional  = false)
  51       @Colum n(name = " AUDIT_TIME ")
  52       @Tempo ral(Tempor alType.TIM ESTAMP)
  53       privat e Date aud itTime;
  54       @Colum n(name = " OPTOUT_REA SON_ID")
  55       privat e BigInteg er optoutR easonId;
  56       @Colum n(name = " REMOTE_ORG ANIZATION_ ID")
  57       privat e String r emoteOrgan izationId;
  58       @Colum n(name = " REMOTE_DOC _REPOSITOR Y_ID")
  59       privat e String r emoteDocRe positoryId ;
  60       @Colum n(name = " REMOTE_DOC _ID")
  61       privat e String r emoteDocId ;
  62       @Colum n(name = " DETAILS")
  63       privat e String d etails;
  64       @Colum n(name = " PATIENT_LA ST_NAME")
  65       privat e String p atientLast Name;
  66       @Colum n(name = " PATIENT_GI VEN_NAME")
  67       privat e String p atientGive nName;
  68       @Colum n(name = " USER_NAME" )
  69       privat e String u serName;
  70       @Colum n(name = " PATIENT_FA CILITY_NUM BER")
  71       privat e String p atientFaci lityNumber ;
  72       @Colum n(name = " PATIENT_SS N")
  73       privat e String p atientSSN;
  74       @Colum n(name = " PATIENT_FA CILITY_NAM E")
  75       privat e String p atientFaci lityName;
  76       @Colum n(name = " USER_FACIL ITY_NUMBER ")
  77       privat e String u serFacilit yNumber;
  78       @Colum n(name = " USER_FACIL ITY_NAME")
  79       privat e String u serFacilit yName;
  80       @Colum n(name = " USER_ROLE" )
  81       privat e String u serRole;
  82       @ManyT oOne(optio nal = true )
  83       @JoinC olumn(name  = "USER_R OLE", refe rencedColu mnName = " USER_ROLE" , insertab le = false , updatabl e = false)
  84       privat e Occupati on occupat ion;
  85       @Colum n(name = " ORGANIZATI ON_NAME")
  86       privat e String o rganizatio nName;
  87       @Colum n(name = " REMOTE_ORG ANIZATION_ NAME")
  88       privat e String r emoteOrgan izationNam e;
  89       @Colum n(name = " OPTOUT_REA SON_TEXT")
  90       privat e String o ptOutReaso nText;
  91       @Colum n(name = " DOCUMENT_T ITLE")
  92       privat e String d ocumentTit le;
  93       @Colum n(name = " DOCUMENT_S OURCE_PATI ENT_ID")
  94       privat e String d ocumentSou rcePatient Id;
  95       @Colum n(name = " PATIENT_MI DDLE_NAME" )
  96       privat e String p atientMidd leName;
  97       @Colum n(name = " DOC_SPEC_T YPE")
  98       privat e String d ocSpecType ;
  99       @Colum n(name = " PATIENT_SS N_EX")
  100       privat e String p atientSsnE x;
  101       @Colum n(name = " MATCH_FOUN D")
  102       privat e String m atchFound;
  103       @Colum n(name = " MATCH_FAIL ED")
  104       privat e String m atchFailed ;
  105       @Colum n(name = " IS_TEST_PA TIENT")
  106       privat e String i sTestPatie nt;
  107       @Colum n(name = " HIE_TRANSA CTION_ID")
  108       privat e String h ieTransact ionId;
  109       
  110       
  111       public  String ge tDocSpecTy pe() {
  112                    retu rn docSpec Type;
  113           }
  114  
  115           pu blic void  setDocSpec Type(Strin g docSpecT ype) {
  116                    this .docSpecTy pe = docSp ecType;
  117           }
  118  
  119           pu blic Audit sReport()
  120       {
  121       }
  122  
  123       public  AuditsRep ort(BigInt eger optou tReasonId)
  124       {
  125           th is.optoutR easonId =  optoutReas onId;
  126       }
  127  
  128       public  AuditsRep ort(BigInt eger optou tReasonId,  String ac tionName,  Date audit Time)
  129       {
  130           th is.optoutR easonId =  optoutReas onId;
  131           th is.actionN ame = acti onName;
  132           th is.auditTi me = audit Time;
  133       }
  134  
  135       public  BigIntege r getAudit Id()
  136       {
  137           re turn audit Id;
  138       }
  139  
  140       public  void setA uditId(Big Integer au ditId)
  141       {
  142           th is.auditId  = auditId ;
  143       }
  144  
  145       public  String ge tActionNam e()
  146       {
  147           re turn actio nName;
  148       }
  149  
  150       public  void setA ctionName( String act ionName)
  151       {
  152           th is.actionN ame = acti onName;
  153       }
  154  
  155       public  String ge tUserId()
  156       {
  157           re turn userI d;
  158       }
  159  
  160       public  void setU serId(Stri ng userId)
  161       {
  162           th is.userId  = userId;
  163       }
  164       
  165       public  String ge tSystemId( )
  166       {
  167           re turn syste mId;
  168       }
  169  
  170       public  void setS ystemId(St ring syste mId)
  171       {
  172           th is.systemI d = system Id;
  173       }
  174  
  175       public  String ge tOrganizat ionId()
  176       {
  177           re turn organ izationId;
  178       }
  179  
  180       public  void setO rganizatio nId(String  organizat ionId)
  181       {
  182           th is.organiz ationId =  organizati onId;
  183       }
  184  
  185       public  String ge tPatientId ()
  186       {
  187           re turn patie ntId;
  188       }
  189  
  190       public  void setP atientId(S tring pati entId)
  191       {
  192           th is.patient Id = patie ntId;
  193       }
  194  
  195       public  String ge tPurposeFo rUse()
  196       {
  197           re turn purpo seForUse;
  198       }
  199  
  200       public  void setP urposeForU se(String  purposeFor Use)
  201       {
  202           th is.purpose ForUse = p urposeForU se;
  203       }
  204  
  205       public  String ge tDocumentI d()
  206       {
  207           re turn docum entId;
  208       }
  209  
  210       public  void setD ocumentId( String doc umentId)
  211       {
  212           th is.documen tId = docu mentId;
  213       }
  214  
  215       public  Date getA uditTime()
  216       {
  217           re turn audit Time;
  218       }
  219  
  220       public  void setA uditTime(D ate auditT ime)
  221       {
  222           th is.auditTi me = audit Time;
  223       }
  224  
  225       public  BigIntege r getOptou tReasonId( )
  226       {
  227           re turn optou tReasonId;
  228       }
  229  
  230       public  void setO ptoutReaso nId(BigInt eger optou tReasonId)
  231       {
  232           th is.optoutR easonId =  optoutReas onId;
  233       }
  234  
  235       public  String ge tRemoteOrg anizationI d()
  236       {
  237           re turn remot eOrganizat ionId;
  238       }
  239  
  240       public  void setR emoteOrgan izationId( String rem oteOrganiz ationId)
  241       {
  242           th is.remoteO rganizatio nId = remo teOrganiza tionId;
  243       }
  244  
  245       public  String ge tRemoteDoc Repository Id()
  246       {
  247           re turn remot eDocReposi toryId;
  248       }
  249  
  250       public  void setR emoteDocRe positoryId (String re moteDocRep ositoryId)
  251       {
  252           th is.remoteD ocReposito ryId = rem oteDocRepo sitoryId;
  253       }
  254  
  255       public  String ge tRemoteDoc Id()
  256       {
  257           re turn remot eDocId;
  258       }
  259  
  260       public  void setR emoteDocId (String re moteDocId)
  261       {
  262           th is.remoteD ocId = rem oteDocId;
  263       }
  264  
  265       public  String ge tDetails()
  266       {
  267           re turn detai ls;
  268       }
  269  
  270       public  void setD etails(Str ing detail s)
  271       {
  272           th is.details  = details ;
  273       }
  274  
  275       public  String ge tPatientLa stName()
  276       {
  277           re turn patie ntLastName ;
  278       }
  279  
  280       public  void setP atientLast Name(Strin g patientL astName)
  281       {
  282           th is.patient LastName =  patientLa stName;
  283       }
  284  
  285       public  String ge tPatientGi venName()
  286       {
  287           re turn patie ntGivenNam e;
  288       }
  289  
  290       public  void setP atientGive nName(Stri ng patient GivenName)
  291       {
  292           th is.patient GivenName  = patientG ivenName;
  293       }
  294  
  295       public  String ge tPatientMi ddleName()
  296       {
  297           re turn patie ntMiddleNa me;
  298       }
  299  
  300       public  void setP atientMidd leName(Str ing patien tMiddleNam e)
  301       {
  302           th is.patient MiddleName  = patient MiddleName ;
  303       }
  304  
  305       public  String ge tUserName( )
  306       {
  307           re turn userN ame;
  308       }
  309  
  310       public  void setU serName(St ring userN ame)
  311       {
  312           th is.userNam e = userNa me;
  313       }
  314  
  315       public  String ge tPatientFa cilityNumb er()
  316       {
  317           re turn patie ntFacility Number;
  318       }
  319  
  320       public  void setP atientFaci lityNumber (String pa tientFacil ityNumber)
  321       {
  322           th is.patient FacilityNu mber = pat ientFacili tyNumber;
  323       }
  324  
  325       public  String ge tPatientSS N()
  326       {
  327           re turn patie ntSSN;
  328       }
  329  
  330       public  void setP atientSSN( String pat ientSSN)
  331       {
  332           th is.patient SSN = pati entSSN;
  333       }
  334  
  335       public  String ge tPatientFa cilityName ()
  336       {
  337           re turn patie ntFacility Name;
  338       }
  339  
  340       public  void setP atientFaci lityName(S tring pati entFacilit yName)
  341       {
  342           th is.patient FacilityNa me = patie ntFacility Name;
  343       }
  344  
  345       public  String ge tUserFacil ityNumber( )
  346       {
  347           re turn userF acilityNum ber;
  348       }
  349  
  350       public  void setU serFacilit yNumber(St ring userF acilityNum ber)
  351       {
  352           th is.userFac ilityNumbe r = userFa cilityNumb er;
  353       }
  354  
  355       public  String ge tUserFacil ityName()
  356       {
  357           re turn userF acilityNam e;
  358       }
  359  
  360       public  void setU serFacilit yName(Stri ng userFac ilityName)
  361       {
  362           th is.userFac ilityName  = userFaci lityName;
  363       }
  364  
  365       public  String ge tUserRole( )
  366       {
  367           re turn userR ole;
  368       }
  369  
  370       public  void setU serRole(St ring userR ole)
  371       {
  372           th is.userRol e = userRo le;
  373       }
  374  
  375       public  Occupatio n getOccup ation() {
  376           re turn occup ation;
  377       }
  378  
  379       public  void setO ccupation( Occupation  occupatio n) {
  380           th is.occupat ion = occu pation;
  381       }
  382       
  383       public  String ge tOrganizat ionName()
  384       {
  385           re turn organ izationNam e;
  386       }
  387  
  388       public  void setO rganizatio nName(Stri ng organiz ationName)
  389       {
  390           th is.organiz ationName  = organiza tionName;
  391       }
  392  
  393       public  String ge tRemoteOrg anizationN ame()
  394       {
  395           re turn remot eOrganizat ionName;
  396       }
  397  
  398       public  void setR emoteOrgan izationNam e(String r emoteOrgan izationNam e)
  399       {
  400           th is.remoteO rganizatio nName = re moteOrgani zationName ;
  401       }
  402  
  403       public  String ge tOptOutRea sonText()
  404       {
  405           re turn optOu tReasonTex t;
  406       }
  407  
  408       public  void setO ptOutReaso nText(Stri ng text)
  409       {
  410           th is.optOutR easonText  = text;
  411       }
  412  
  413       public  String ge tDocumentT itle()
  414       {
  415           re turn docum entTitle;
  416       }
  417  
  418       public  void setD ocumentTit le(String  title)
  419       {
  420           th is.documen tTitle = t itle;
  421       }
  422  
  423       public  String ge tDocumentS ourcePatie ntId()
  424       {
  425           re turn docum entSourceP atientId;
  426       }
  427  
  428       public  void setD ocumentSou rcePatient Id(String  sourcePati entId)
  429       {
  430           th is.documen tSourcePat ientId = s ourcePatie ntId;
  431       }
  432  
  433       public  String ge tPatientSs nEx()
  434       {
  435           re turn patie ntSsnEx;
  436       }
  437  
  438       public  void setP atientSsnE x(String p atientSsnE x)
  439       {
  440           th is.patient SsnEx = pa tientSsnEx ;
  441       }
  442  
  443       public  String ge tMatchFoun d()
  444       {
  445           re turn match Found;
  446       }
  447  
  448       public  void setM atchFound( String mat chFound)
  449       {
  450           th is.matchFo und = matc hFound;
  451       }
  452  
  453       public  String ge tMatchFail ed()
  454       {
  455           re turn match Failed;
  456       }
  457  
  458       public  void setM atchFailed (String ma tchFailed)
  459       {
  460           th is.matchFa iled = mat chFailed;
  461       }
  462  
  463       public  String ge tIsTestPat ient()
  464       {
  465           re turn isTes tPatient;
  466       }
  467  
  468       public  void setI sTestPatie nt(String  isTestPati ent)
  469       {
  470           th is.isTestP atient = i sTestPatie nt;
  471       }
  472  
  473       public  String ge tHieTransa ctionId()
  474       {
  475           re turn hieTr ansactionI d;
  476       }
  477  
  478       public  void setH ieTransati onId(Strin g hieTrans actionId)
  479       {
  480           th is.hieTran sactionId  = hieTrans actionId;
  481       }
  482  
  483       @Overr ide
  484       public  int hashC ode()
  485       {
  486           in t hash = 0 ;
  487           ha sh += (opt outReasonI d != null  ? optoutRe asonId.has hCode() :  0);
  488           re turn hash;
  489       }
  490  
  491       @Overr ide
  492       public  boolean e quals(Obje ct object)
  493       {
  494           //  TODO: War ning - thi s method w on't work  in the cas e the id f ields are  not set
  495           if  (!(object  instanceo f AuditsRe port)) {
  496                return f alse;
  497           }
  498           Au ditsReport  other = ( AuditsRepo rt)object;
  499           if  ((this.op toutReason Id == null  && other. optoutReas onId != nu ll) || (th is.optoutR easonId !=  null && ! this.optou tReasonId. equals(oth er.optoutR easonId)))  {
  500                return f alse;
  501           }
  502           re turn true;
  503       }
  504  
  505       @Overr ide
  506       public  String to String()
  507       {
  508           re turn "gov. va.med.nhi n.adapter. audit.Audi tsReport[  optoutReas onId=" + o ptoutReaso nId + " ]" ;
  509       }
  510       
  511   }