Produced by Araxis Merge on 6/11/2019 10:54:12 AM 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\fw\hl7 | HL7Message.java | Wed May 29 15:26:00 2019 UTC |
| 2 | HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\fw\hl7 | HL7Message.java | Mon Jun 10 19:27:47 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 308 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 1 | /********* ********** ********** ********** ********** ********** ********* | |
| 2 | * Copyrii ght 2004 V HA. All ri ghts reser ved | |
| 3 | ********* ********** ********** ********** ********** ********** *********/ | |
| 4 | // Package | |
| 5 | package go v.va.med.f w.hl7; | |
| 6 | ||
| 7 | // Java cl asses | |
| 8 | import jav a.util.Lis t; | |
| 9 | ||
| 10 | import org .apache.co mmons.lang .Validate; | |
| 11 | ||
| 12 | import gov .va.med.fw .hl7.segme nt.BHS; | |
| 13 | import gov .va.med.fw .hl7.segme nt.MSA; | |
| 14 | import gov .va.med.fw .hl7.segme nt.MSH; | |
| 15 | import gov .va.med.fw .hl7.segme nt.PID; | |
| 16 | import gov .va.med.fw .hl7.segme nt.ZEL; | |
| 17 | import gov .va.med.fw .hl7.segme nt.ZEN; | |
| 18 | import gov .va.med.fw .hl7.segme nt.ZIE; | |
| 19 | import gov .va.med.fw .hl7.segme nt.ZIO; | |
| 20 | import gov .va.med.fw .hl7.segme nt.ZPD; | |
| 21 | import gov .va.med.fw .hl7.segme nt.ZSP; | |
| 22 | ||
| 23 | // ESR cla sses | |
| 24 | ||
| 25 | /** | |
| 26 | * Provide s methods to access HL7 segmen t directly | |
| 27 | * | |
| 28 | * Project : Framewor k</br> Cre ated on: 2 :09:16 PM </br> | |
| 29 | * | |
| 30 | * @author DN S
|
|
| 31 | */ | |
| 32 | public cla ss HL7Mess age extend s Message { | |
| 33 | ||
| 34 | /* * | |
| 35 | * An instan ce of seri alVersionU ID | |
| 36 | * / | |
| 37 | pr ivate stat ic final l ong serial VersionUID = -760889 0089088074 678L; | |
| 38 | ||
| 39 | /* * | |
| 40 | * A default construct or | |
| 41 | * / | |
| 42 | pu blic HL7Me ssage(Mess age messag e) { | |
| 43 | Vali date.notNu ll(message , "An HL7 message mu st not be null"); | |
| 44 | this .setMessag eData(mess age.getMes sageData() ); | |
| 45 | this .setType(m essage.get Type()); | |
| 46 | } | |
| 47 | ||
| 48 | /* * | |
| 49 | * A default construct or | |
| 50 | * | |
| 51 | * @param da ta | |
| 52 | * @throws I nvalidMess ageExcepti on | |
| 53 | * / | |
| 54 | pu blic HL7Me ssage(Stri ng data) t hrows Inva lidMessage Exception { | |
| 55 | supe r(data); | |
| 56 | } | |
| 57 | ||
| 58 | /* * | |
| 59 | * A default construct or | |
| 60 | * | |
| 61 | * @param da ta | |
| 62 | * @param ty pe | |
| 63 | * @throws I nvalidMess ageExcepti on | |
| 64 | * / | |
| 65 | pu blic HL7Me ssage(Stri ng data, S tring type ) throws I nvalidMess ageExcepti on { | |
| 66 | supe r(data, ty pe); | |
| 67 | } | |
| 68 | ||
| 69 | /* * | |
| 70 | * A default construct or | |
| 71 | * | |
| 72 | * @param se gments | |
| 73 | * @throws I nvalidMess ageExcepti on | |
| 74 | * / | |
| 75 | pu blic HL7Me ssage(List segments) throws In validMessa geExceptio n { | |
| 76 | supe r(segments ); | |
| 77 | } | |
| 78 | ||
| 79 | /* * | |
| 80 | * A default construct or | |
| 81 | * | |
| 82 | * @param se gments | |
| 83 | * @param ty pe | |
| 84 | * @throws I nvalidMess ageExcepti on | |
| 85 | * / | |
| 86 | pu blic HL7Me ssage(List segments, String ty pe) throws InvalidMe ssageExcep tion { | |
| 87 | supe r(segments , type); | |
| 88 | } | |
| 89 | ||
| 90 | /* * | |
| 91 | * @see gov. va.med.fw. hl7.HL7Seg mentAware# getPIDSegm ent() | |
| 92 | * / | |
| 93 | pu blic PID g etPIDSegme nt() throw s InvalidM essageExce ption { | |
| 94 | retu rn HL7Segm entParser. getPIDSegm ent(this); | |
| 95 | } | |
| 96 | ||
| 97 | /* * | |
| 98 | * @see gov. va.med.fw. hl7.HL7Seg mentAware# getZPDSegm ent() | |
| 99 | * / | |
| 100 | pu blic ZPD g etZPDSegme nt() throw s InvalidM essageExce ption { | |
| 101 | retu rn HL7Segm entParser. getZPDSegm ent(this); | |
| 102 | } | |
| 103 | ||
| 104 | pu blic ZEN g etZENSegme nt() throw s InvalidM essageExce ption { | |
| 105 | retu rn HL7Segm entParser. getZENSegm ent(this); | |
| 106 | } | |
| 107 | ||
| 108 | pu blic ZEL g etZELSegme nt() throw s InvalidM essageExce ption { | |
| 109 | retu rn HL7Segm entParser. getZELSegm ent(this); | |
| 110 | } | |
| 111 | ||
| 112 | pu blic MSH g etMSHSegme nt() throw s InvalidM essageExce ption { | |
| 113 | retu rn HL7Segm entParser. getMSHSegm ent(this); | |
| 114 | } | |
| 115 | ||
| 116 | pu blic MSA g etMSASegme nt() throw s InvalidM essageExce ption { | |
| 117 | retu rn HL7Segm entParser. getMSASegm ent(this); | |
| 118 | } | |
| 119 | ||
| 120 | pu blic ZIO g etZIOSegme nt() throw s InvalidM essageExce ption { | |
| 121 | retu rn HL7Segm entParser. getZIOSegm ent(this); | |
| 122 | } | |
| 123 | ||
| 124 | pu blic ZSP g etZSPSegme nt() throw s InvalidM essageExce ption { | |
| 125 | retu rn HL7Segm entParser. getZSPSegm ent(this); | |
| 126 | } | |
| 127 | ||
| 128 | pu blic ZIE g etZIESegme nt() throw s InvalidM essageExce ption { | |
| 129 | retu rn HL7Segm entParser. getZIESegm ent(this); | |
| 130 | } | |
| 131 | ||
| 132 | pu blic List getZMHSegm ents() thr ows Invali dMessageEx ception { | |
| 133 | retu rn HL7Segm entParser. getZMHSegm ents(this) ; | |
| 134 | } | |
| 135 | ||
| 136 | pu blic List getZEMSegm ents() thr ows Invali dMessageEx ception { | |
| 137 | retu rn HL7Segm entParser. getZEMSegm ents(this) ; | |
| 138 | } | |
| 139 | ||
| 140 | pu blic List getZRDSegm ents() thr ows Invali dMessageEx ception { | |
| 141 | retu rn HL7Segm entParser. getZRDSegm ents(this) ; | |
| 142 | } | |
| 143 | ||
| 144 | pu blic Strin g getAckno wledgmentC ode() thro ws Invalid MessageExc eption { | |
| 145 | retu rn HL7Segm entParser. getAcknowl edgmentCod e(this); | |
| 146 | } | |
| 147 | ||
| 148 | pu blic Strin g getAckno wledgmentT extMessage () throws InvalidMes sageExcept ion { | |
| 149 | retu rn HL7Segm entParser. getAcknowl edgmentTex tMessage(t his); | |
| 150 | } | |
| 151 | ||
| 152 | pu blic BHS g etBHSSegme nt() throw s InvalidM essageExce ption { | |
| 153 | retu rn HL7Segm entParser. getBHSSegm ent(this); | |
| 154 | } | |
| 155 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.