248. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/13/2018 10:35:26 AM Eastern 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.

248.1 Files compared

# Location File Last Modified
1 v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\hl7 HL7SegmentParser.java Fri Dec 7 17:36:24 2018 UTC
2 v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\hl7 HL7SegmentParser.java Wed Dec 12 19:46:45 2018 UTC

248.2 Comparison summary

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

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

248.4 Active regular expressions

No regular expressions were active.

248.5 Comparison detail

  1   /********* ********** ********** ********** ********** ********** *********
  2    * Copyrii ght 2004 V HA. All ri ghts reser ved
  3    ********* ********** ********** ********** ********** ********** *********/
  4   package go v.va.med.f w.hl7;
  5  
  6   import jav a.util.Lis t;
  7  
  8   import gov .va.med.fw .hl7.const ants.Segme ntConstant s;
  9   import gov .va.med.fw .hl7.segme nt.BHS;
  10   import gov .va.med.fw .hl7.segme nt.MSA;
  11   import gov .va.med.fw .hl7.segme nt.MSH;
  12   import gov .va.med.fw .hl7.segme nt.PID;
  13   import gov .va.med.fw .hl7.segme nt.ZEL;
  14   import gov .va.med.fw .hl7.segme nt.ZEN;
  15   import gov .va.med.fw .hl7.segme nt.ZIE;
  16   import gov .va.med.fw .hl7.segme nt.ZIO;
  17   import gov .va.med.fw .hl7.segme nt.ZPD;
  18   import gov .va.med.fw .hl7.segme nt.ZSP;
  19  
  20   /**
  21    * HL7Segm entParser  created on  Jul 26, 2 006
  22    * 
  23    * @author   DN S
  24    */
  25   public cla ss HL7Segm entParser  {
  26  
  27           /* *
  28            *  @param me ssage
  29            *  @return
  30            *  @throws I nvalidMess ageExcepti on
  31            * /
  32           pu blic stati c PID getP IDSegment( Message me ssage) thr ows Invali dMessageEx ception {
  33                    Segm ent s = me ssage != n ull ? mess age.getSeg ment(Segme ntConstant s.PID) : n ull;
  34                    retu rn s insta nceof PID  ? (PID) s  : null;
  35           }
  36  
  37           /* *
  38            *  @param me ssage
  39            *  @return
  40            *  @throws I nvalidMess ageExcepti on
  41            * /
  42           pu blic stati c ZPD getZ PDSegment( Message me ssage) thr ows Invali dMessageEx ception {
  43                    Segm ent s = me ssage != n ull ? mess age.getSeg ment(Segme ntConstant s.ZPD) : n ull;
  44                    retu rn s insta nceof ZPD  ? (ZPD) s  : null;
  45           }
  46  
  47           /* *
  48            *  @param me ssage
  49            *  @return
  50            *  @throws I nvalidMess ageExcepti on
  51            * /
  52           pu blic stati c ZEN getZ ENSegment( Message me ssage) thr ows Invali dMessageEx ception {
  53                    Segm ent s = me ssage != n ull ? mess age.getSeg ment(Segme ntConstant s.ZEN) : n ull;
  54                    retu rn s insta nceof ZEN  ? (ZEN) s  : null;
  55           }
  56  
  57           /* *
  58            *  @param me ssage
  59            *  @return
  60            *  @throws I nvalidMess ageExcepti on
  61            * /
  62           pu blic stati c ZEL getZ ELSegment( Message me ssage) thr ows Invali dMessageEx ception {
  63                    Segm ent s = me ssage != n ull ? mess age.getSeg ment(Segme ntConstant s.ZEL) : n ull;
  64                    retu rn s insta nceof ZEL  ? (ZEL) s  : null;
  65           }
  66  
  67           /* *
  68            *  @param me ssage
  69            *  @return
  70            *  @throws I nvalidMess ageExcepti on
  71            * /
  72           pu blic stati c MSH getM SHSegment( Message me ssage) thr ows Invali dMessageEx ception {
  73                    Segm ent s = me ssage != n ull ? mess age.getSeg ment(Segme ntConstant s.MSH) : n ull;
  74                    retu rn s insta nceof MSH  ? (MSH) s  : null;
  75           }
  76  
  77           /* *
  78            *  @param me ssage
  79            *  @return
  80            *  @throws I nvalidMess ageExcepti on
  81            * /
  82           pu blic stati c MSA getM SASegment( Message me ssage) thr ows Invali dMessageEx ception {
  83                    Segm ent s = me ssage != n ull ? mess age.getSeg ment(Segme ntConstant s.MSA) : n ull;
  84                    retu rn s insta nceof MSA  ? (MSA) s  : null;
  85           }
  86  
  87           /* *
  88            *  @param me ssage
  89            *  @return
  90            *  @throws I nvalidMess ageExcepti on
  91            * /
  92           pu blic stati c ZIO getZ IOSegment( Message me ssage) thr ows Invali dMessageEx ception {
  93                    Segm ent s = me ssage != n ull ? mess age.getSeg ment(Segme ntConstant s.ZIO) : n ull;
  94                    retu rn s insta nceof ZIO  ? (ZIO) s  : null;
  95           }
  96  
  97           /* *
  98            *  @param me ssage
  99            *  @return
  100            *  @throws I nvalidMess ageExcepti on
  101            * /
  102           pu blic stati c ZSP getZ SPSegment( Message me ssage) thr ows Invali dMessageEx ception {
  103                    Segm ent s = me ssage != n ull ? mess age.getSeg ment(Segme ntConstant s.ZSP) : n ull;
  104                    retu rn s insta nceof ZSP  ? (ZSP) s  : null;
  105           }
  106  
  107           /* *
  108            *  @param me ssage
  109            *  @return
  110            *  @throws I nvalidMess ageExcepti on
  111            * /
  112           pu blic stati c ZIE getZ IESegment( Message me ssage) thr ows Invali dMessageEx ception {
  113                    Segm ent s = me ssage != n ull ? mess age.getSeg ment(Segme ntConstant s.ZIE) : n ull;
  114                    retu rn s insta nceof ZIE  ? (ZIE) s  : null;
  115           }
  116  
  117           /* *
  118            *  @param me ssage
  119            *  @return
  120            *  @throws I nvalidMess ageExcepti on
  121            * /
  122           pu blic stati c List get ZMHSegment s(Message  message) t hrows Inva lidMessage Exception  {
  123                    retu rn message  != null ?  message.g etSegments (SegmentCo nstants.ZM H) : null;
  124           }
  125  
  126           /* *
  127            *  @param me ssage
  128            *  @return
  129            *  @throws I nvalidMess ageExcepti on
  130            * /
  131           pu blic stati c List get ZEMSegment s(Message  message) t hrows Inva lidMessage Exception  {
  132                    retu rn message  != null ?  message.g etSegments (SegmentCo nstants.ZE M) : null;
  133           }
  134  
  135           /* *
  136            *  @param me ssage
  137            *  @return
  138            *  @throws I nvalidMess ageExcepti on
  139            * /
  140           pu blic stati c List get ZRDSegment s(Message  message) t hrows Inva lidMessage Exception  {
  141                    retu rn message  != null ?  message.g etSegments (SegmentCo nstants.ZR D) : null;
  142           }
  143  
  144           /* *
  145            *  @param me ssage
  146            *  @return
  147            *  @throws I nvalidMess ageExcepti on
  148            * /
  149           pu blic stati c String g etAcknowle dgmentCode (Message m essage) th rows Inval idMessageE xception {
  150                    MSA  segment =  HL7Segment Parser.get MSASegment (message);
  151                    retu rn segment  != null ?  segment.g etAcknowle dgementCod e() : null ;
  152           }
  153  
  154           /* *
  155            *  @param me ssage
  156            *  @return
  157            *  @throws I nvalidMess ageExcepti on
  158            * /
  159           pu blic stati c String g etAcknowle dgmentText Message(Me ssage mess age)
  160                             throws  InvalidMe ssageExcep tion {
  161                    MSA  segment =  HL7Segment Parser.get MSASegment (message);
  162                    retu rn segment  != null ?  segment.g etTextMess age() : nu ll;
  163           }
  164  
  165           /* *
  166            *  @param me ssage
  167            *  @return
  168            *  @throws I nvalidMess ageExcepti on
  169            * /
  170           pu blic stati c BHS getB HSSegment( Message me ssage) thr ows Invali dMessageEx ception {
  171                    Segm ent s = me ssage != n ull ? mess age.getSeg ment(Segme ntConstant s.BHS) : n ull;
  172                    retu rn s insta nceof BHS  ? (BHS) s  : null;
  173           }
  174  
  175   }