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

13.1 Files compared

# Location File Last Modified
1 ehealth_xchange_cif.zip\NHIN_adapter\AdapterCommonEJB\src\main\java\gov\va\med\nhin\adapter\audit AuditsReport.java Thu Feb 22 14:27:46 2018 UTC
2 ehealth_xchange_cif.zip\NHIN_adapter\AdapterCommonEJB\src\main\java\gov\va\med\nhin\adapter\audit AuditsReport.java Tue Feb 27 14:22:58 2018 UTC

13.2 Comparison summary

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

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

13.4 Active regular expressions

No regular expressions were active.

13.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   DN S      VAZQUD
  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       @Colum n(name = " CLASS_CODE ")
  110       privat e String c lassCode;
  111       @Colum n(name = " TITLE")
  112       privat e String t itle;
  113       @Colum n(name = " RAW_DATA_S IZE")
  114       privat e String r awDataSize ;
  115       
  116       
  117       public  String ge tDocSpecTy pe() {
  118                    retu rn docSpec Type;
  119           }
  120  
  121           pu blic void  setDocSpec Type(Strin g docSpecT ype) {
  122                    this .docSpecTy pe = docSp ecType;
  123           }
  124  
  125           pu blic Audit sReport()
  126       {
  127       }
  128  
  129       public  AuditsRep ort(BigInt eger optou tReasonId)
  130       {
  131           th is.optoutR easonId =  optoutReas onId;
  132       }
  133  
  134       public  AuditsRep ort(BigInt eger optou tReasonId,  String ac tionName,  Date audit Time)
  135       {
  136           th is.optoutR easonId =  optoutReas onId;
  137           th is.actionN ame = acti onName;
  138           th is.auditTi me = audit Time;
  139       }
  140  
  141       public  BigIntege r getAudit Id()
  142       {
  143           re turn audit Id;
  144       }
  145  
  146       public  void setA uditId(Big Integer au ditId)
  147       {
  148           th is.auditId  = auditId ;
  149       }
  150  
  151       public  String ge tActionNam e()
  152       {
  153           re turn actio nName;
  154       }
  155  
  156       public  void setA ctionName( String act ionName)
  157       {
  158           th is.actionN ame = acti onName;
  159       }
  160  
  161       public  String ge tUserId()
  162       {
  163           re turn userI d;
  164       }
  165  
  166       public  void setU serId(Stri ng userId)
  167       {
  168           th is.userId  = userId;
  169       }
  170       
  171       public  String ge tSystemId( )
  172       {
  173           re turn syste mId;
  174       }
  175  
  176       public  void setS ystemId(St ring syste mId)
  177       {
  178           th is.systemI d = system Id;
  179       }
  180  
  181       public  String ge tOrganizat ionId()
  182       {
  183           re turn organ izationId;
  184       }
  185  
  186       public  void setO rganizatio nId(String  organizat ionId)
  187       {
  188           th is.organiz ationId =  organizati onId;
  189       }
  190  
  191       public  String ge tPatientId ()
  192       {
  193           re turn patie ntId;
  194       }
  195  
  196       public  void setP atientId(S tring pati entId)
  197       {
  198           th is.patient Id = patie ntId;
  199       }
  200  
  201       public  String ge tPurposeFo rUse()
  202       {
  203           re turn purpo seForUse;
  204       }
  205  
  206       public  void setP urposeForU se(String  purposeFor Use)
  207       {
  208           th is.purpose ForUse = p urposeForU se;
  209       }
  210  
  211       public  String ge tDocumentI d()
  212       {
  213           re turn docum entId;
  214       }
  215  
  216       public  void setD ocumentId( String doc umentId)
  217       {
  218           th is.documen tId = docu mentId;
  219       }
  220  
  221       public  Date getA uditTime()
  222       {
  223           re turn audit Time;
  224       }
  225  
  226       public  void setA uditTime(D ate auditT ime)
  227       {
  228           th is.auditTi me = audit Time;
  229       }
  230  
  231       public  BigIntege r getOptou tReasonId( )
  232       {
  233           re turn optou tReasonId;
  234       }
  235  
  236       public  void setO ptoutReaso nId(BigInt eger optou tReasonId)
  237       {
  238           th is.optoutR easonId =  optoutReas onId;
  239       }
  240  
  241       public  String ge tRemoteOrg anizationI d()
  242       {
  243           re turn remot eOrganizat ionId;
  244       }
  245  
  246       public  void setR emoteOrgan izationId( String rem oteOrganiz ationId)
  247       {
  248           th is.remoteO rganizatio nId = remo teOrganiza tionId;
  249       }
  250  
  251       public  String ge tRemoteDoc Repository Id()
  252       {
  253           re turn remot eDocReposi toryId;
  254       }
  255  
  256       public  void setR emoteDocRe positoryId (String re moteDocRep ositoryId)
  257       {
  258           th is.remoteD ocReposito ryId = rem oteDocRepo sitoryId;
  259       }
  260  
  261       public  String ge tRemoteDoc Id()
  262       {
  263           re turn remot eDocId;
  264       }
  265  
  266       public  void setR emoteDocId (String re moteDocId)
  267       {
  268           th is.remoteD ocId = rem oteDocId;
  269       }
  270  
  271       public  String ge tDetails()
  272       {
  273           re turn detai ls;
  274       }
  275  
  276       public  void setD etails(Str ing detail s)
  277       {
  278           th is.details  = details ;
  279       }
  280  
  281       public  String ge tPatientLa stName()
  282       {
  283           re turn patie ntLastName ;
  284       }
  285  
  286       public  void setP atientLast Name(Strin g patientL astName)
  287       {
  288           th is.patient LastName =  patientLa stName;
  289       }
  290  
  291       public  String ge tPatientGi venName()
  292       {
  293           re turn patie ntGivenNam e;
  294       }
  295  
  296       public  void setP atientGive nName(Stri ng patient GivenName)
  297       {
  298           th is.patient GivenName  = patientG ivenName;
  299       }
  300  
  301       public  String ge tPatientMi ddleName()
  302       {
  303           re turn patie ntMiddleNa me;
  304       }
  305  
  306       public  void setP atientMidd leName(Str ing patien tMiddleNam e)
  307       {
  308           th is.patient MiddleName  = patient MiddleName ;
  309       }
  310  
  311       public  String ge tUserName( )
  312       {
  313           re turn userN ame;
  314       }
  315  
  316       public  void setU serName(St ring userN ame)
  317       {
  318           th is.userNam e = userNa me;
  319       }
  320  
  321       public  String ge tPatientFa cilityNumb er()
  322       {
  323           re turn patie ntFacility Number;
  324       }
  325  
  326       public  void setP atientFaci lityNumber (String pa tientFacil ityNumber)
  327       {
  328           th is.patient FacilityNu mber = pat ientFacili tyNumber;
  329       }
  330  
  331       public  String ge tPatientSS N()
  332       {
  333           re turn patie ntSSN;
  334       }
  335  
  336       public  void setP atientSSN( String pat ientSSN)
  337       {
  338           th is.patient SSN = pati entSSN;
  339       }
  340  
  341       public  String ge tPatientFa cilityName ()
  342       {
  343           re turn patie ntFacility Name;
  344       }
  345  
  346       public  void setP atientFaci lityName(S tring pati entFacilit yName)
  347       {
  348           th is.patient FacilityNa me = patie ntFacility Name;
  349       }
  350  
  351       public  String ge tUserFacil ityNumber( )
  352       {
  353           re turn userF acilityNum ber;
  354       }
  355  
  356       public  void setU serFacilit yNumber(St ring userF acilityNum ber)
  357       {
  358           th is.userFac ilityNumbe r = userFa cilityNumb er;
  359       }
  360  
  361       public  String ge tUserFacil ityName()
  362       {
  363           re turn userF acilityNam e;
  364       }
  365  
  366       public  void setU serFacilit yName(Stri ng userFac ilityName)
  367       {
  368           th is.userFac ilityName  = userFaci lityName;
  369       }
  370  
  371       public  String ge tUserRole( )
  372       {
  373           re turn userR ole;
  374       }
  375  
  376       public  void setU serRole(St ring userR ole)
  377       {
  378           th is.userRol e = userRo le;
  379       }
  380  
  381       public  Occupatio n getOccup ation() {
  382           re turn occup ation;
  383       }
  384  
  385       public  void setO ccupation( Occupation  occupatio n) {
  386           th is.occupat ion = occu pation;
  387       }
  388       
  389       public  String ge tOrganizat ionName()
  390       {
  391           re turn organ izationNam e;
  392       }
  393  
  394       public  void setO rganizatio nName(Stri ng organiz ationName)
  395       {
  396           th is.organiz ationName  = organiza tionName;
  397       }
  398  
  399       public  String ge tRemoteOrg anizationN ame()
  400       {
  401           re turn remot eOrganizat ionName;
  402       }
  403  
  404       public  void setR emoteOrgan izationNam e(String r emoteOrgan izationNam e)
  405       {
  406           th is.remoteO rganizatio nName = re moteOrgani zationName ;
  407       }
  408  
  409       public  String ge tOptOutRea sonText()
  410       {
  411           re turn optOu tReasonTex t;
  412       }
  413  
  414       public  void setO ptOutReaso nText(Stri ng text)
  415       {
  416           th is.optOutR easonText  = text;
  417       }
  418  
  419       public  String ge tDocumentT itle()
  420       {
  421           re turn docum entTitle;
  422       }
  423  
  424       public  void setD ocumentTit le(String  title)
  425       {
  426           th is.documen tTitle = t itle;
  427       }
  428  
  429       public  String ge tDocumentS ourcePatie ntId()
  430       {
  431           re turn docum entSourceP atientId;
  432       }
  433  
  434       public  void setD ocumentSou rcePatient Id(String  sourcePati entId)
  435       {
  436           th is.documen tSourcePat ientId = s ourcePatie ntId;
  437       }
  438  
  439       public  String ge tPatientSs nEx()
  440       {
  441           re turn patie ntSsnEx;
  442       }
  443  
  444       public  void setP atientSsnE x(String p atientSsnE x)
  445       {
  446           th is.patient SsnEx = pa tientSsnEx ;
  447       }
  448  
  449       public  String ge tMatchFoun d()
  450       {
  451           re turn match Found;
  452       }
  453  
  454       public  void setM atchFound( String mat chFound)
  455       {
  456           th is.matchFo und = matc hFound;
  457       }
  458  
  459       public  String ge tMatchFail ed()
  460       {
  461           re turn match Failed;
  462       }
  463  
  464       public  void setM atchFailed (String ma tchFailed)
  465       {
  466           th is.matchFa iled = mat chFailed;
  467       }
  468  
  469       public  String ge tIsTestPat ient()
  470       {
  471           re turn isTes tPatient;
  472       }
  473  
  474       public  void setI sTestPatie nt(String  isTestPati ent)
  475       {
  476           th is.isTestP atient = i sTestPatie nt;
  477       }
  478  
  479       public  String ge tHieTransa ctionId()
  480       {
  481           re turn hieTr ansactionI d;
  482       }
  483  
  484       public  void setH ieTransati onId(Strin g hieTrans actionId)
  485       {
  486           th is.hieTran sactionId  = hieTrans actionId;
  487       }
  488  
  489        publi c String g etClassCod e()
  490       {
  491           re turn class Code;
  492       }
  493  
  494       public  void setC lassCode(S tring clas sCode)
  495       {
  496           th is.classCo de = class Code;
  497       }
  498  
  499       public  String ge tTitle()
  500       {
  501           re turn title ;
  502       }
  503  
  504       public  void setT itle(Strin g title)
  505       {
  506           th is.title =  title;
  507       }
  508  
  509       public  String ge tRawDataSi ze()
  510       {
  511           re turn rawDa taSize;
  512       }
  513  
  514       public  void setR awDataSize (String ra wDataSize)
  515       {
  516           th is.rawData Size = raw DataSize;
  517       }
  518  
  519       @Overr ide
  520       public  int hashC ode()
  521       {
  522           in t hash = 0 ;
  523           ha sh += (opt outReasonI d != null  ? optoutRe asonId.has hCode() :  0);
  524           re turn hash;
  525       }
  526  
  527       @Overr ide
  528       public  boolean e quals(Obje ct object)
  529       {
  530           //  TODO: War ning - thi s method w on't work  in the cas e the id f ields are  not set
  531           if  (!(object  instanceo f AuditsRe port)) {
  532                return f alse;
  533           }
  534           Au ditsReport  other = ( AuditsRepo rt)object;
  535           if  ((this.op toutReason Id == null  && other. optoutReas onId != nu ll) || (th is.optoutR easonId !=  null && ! this.optou tReasonId. equals(oth er.optoutR easonId)))  {
  536                return f alse;
  537           }
  538           re turn true;
  539       }
  540  
  541       @Overr ide
  542       public  String to String()
  543       {
  544           re turn "gov. va.med.nhi n.adapter. audit.Audi tsReport[  optoutReas onId=" + o ptoutReaso nId + " ]" ;
  545       }
  546       
  547   }