40. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 3/29/2017 4:53:21 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.

40.1 Files compared

# Location File Last Modified
1 CTT-DM CIF Submission.zip\code\ISAAC\hl7-messaging\src\main\java\gov\vha\isaac\ochre\deployment\hapi\extension ZRT.java Fri Mar 3 16:20:18 2017 UTC
2 CTT-DM CIF Submission.zip\code\ISAAC\hl7-messaging\src\main\java\gov\vha\isaac\ochre\deployment\hapi\extension ZRT.java Wed Mar 29 16:28:55 2017 UTC

40.2 Comparison summary

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

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

40.4 Active regular expressions

No regular expressions were active.

40.5 Comparison detail

  1   /**
  2    * Copyrig ht Notice
  3    *
  4    * This is  a work of  the U.S.  Government  and is no t subject  to copyrig ht
  5    * protect ion in the  United St ates. Fore ign copyri ghts may a pply.
  6    *
  7    * License d under th e Apache L icense, Ve rsion 2.0  (the "Lice nse");
  8    * you may  not use t his file e xcept in c ompliance  with the L icense.
  9    * You may  obtain a  copy of th e License  at
  10    *
  11    * http:// www.apache .org/licen ses/LICENS E-2.0
  12    *
  13    * Unless  required b y applicab le law or  agreed to  in writing , software
  14    * distrib uted under  the Licen se is dist ributed on  an "AS IS " BASIS,
  15    * WITHOUT  WARRANTIE S OR CONDI TIONS OF A NY KIND, e ither expr ess or imp lied.
  16    * See the  License f or the spe cific lang uage gover ning permi ssions and
  17    * limitat ions under  the Licen se.
  18    */
  19   package go v.vha.isaa c.ochre.de ployment.h api.extens ion;
  20  
  21   import org .apache.lo gging.log4 j.LogManag er;
  22   import org .apache.lo gging.log4 j.Logger;
  23  
  24   import ca. uhn.hl7v2. HL7Excepti on;
  25   import ca. uhn.hl7v2. model.Abst ractSegmen t;
  26   import ca. uhn.hl7v2. model.Grou p;
  27   import ca. uhn.hl7v2. model.Type ;
  28   import ca. uhn.hl7v2. model.v24. datatype.S T;
  29   import ca. uhn.hl7v2. parser.Mod elClassFac tory;
  30  
  31   /**
  32    * @author   DNS
  33    */
  34   public cla ss ZRT ext ends Abstr actSegment
  35   {
  36           pr ivate stat ic Logger  LOG = LogM anager.get Logger(ZRT .class);
  37  
  38           /* *
  39            *  Creates a  Zrt segme nt object  that belon gs to the  given mess age.
  40            * /
  41           @S uppressWar nings("dep recation")
  42           pu blic ZRT(G roup paren t, ModelCl assFactory  factory)  {
  43                    supe r(parent,  factory);
  44                    try  {
  45                             this.a dd(ST.clas s, true, 1 , 50, null );
  46                             this.a dd(ST.clas s, true, 1 , 80, null );
  47                    } ca tch (HL7Ex ception he ) {
  48                             LOG.er ror("Can't  instantia te " + thi s.getClass ().getName (), he);
  49                    }
  50           }
  51  
  52           /* *
  53            *  Returns f ield name
  54            *  
  55            *  @return H API String  type (ST)  name of t he field
  56            * /
  57           pu blic ST ge tFieldName () {
  58                    ST r et = null;
  59                    try  {
  60                             Type t  = this.ge tField(1,  0);
  61                             ret =  (ST) t;
  62                    } ca tch (Class CastExcept ion e) {
  63                             LOG.er ror("Unexp ected prob lem obtain ing field  value.  Th is is a bu g.", e);
  64                    } ca tch (HL7Ex ception e)  {
  65                             LOG.er ror("Unexp ected prob lem obtain ing field  value.  Th is is a bu g.", e);
  66                    }
  67                    retu rn ret;
  68           }
  69  
  70           /* *
  71            *  Returns f ield value
  72            *  
  73            *  @return H API String  type (ST)  value of  the field
  74            * /
  75           pu blic ST ge tFieldValu e() {
  76                    ST r et = null;
  77                    try  {
  78                             Type t  = this.ge tField(2,  0);
  79                             ret =  (ST) t;
  80                    } ca tch (Class CastExcept ion e) {
  81                             LOG.er ror("Unexp ected prob lem obtain ing field  value.  Th is is a bu g.", e);
  82                    } ca tch (HL7Ex ception e)  {
  83                             LOG.er ror("Unexp ected prob lem obtain ing field  value.  Th is is a bu g.", e);
  84                    }
  85                    retu rn ret;
  86           }
  87   }