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\segment | MSH.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\segment | MSH.java | Mon Jun 10 19:27:47 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 414 |
| 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 go v.va.med.f w.hl7.segm ent; | |
| 5 | ||
| 6 | // Java cl asses | |
| 7 | import jav a.util.Lis t; | |
| 8 | ||
| 9 | import gov .va.med.fw .hl7.Inval idSegmentE xception; | |
| 10 | import gov .va.med.fw .hl7.Segme nt; | |
| 11 | import gov .va.med.fw .hl7.const ants.Segme ntConstant s; | |
| 12 | ||
| 13 | /** | |
| 14 | * @author DN S
|
|
| 15 | * @versio n 1.0 | |
| 16 | */ | |
| 17 | public cla ss MSH ext ends Segme nt { | |
| 18 | ||
| 19 | /* * | |
| 20 | * An instan ce of seri alVersionU ID | |
| 21 | * / | |
| 22 | pr ivate stat ic final l ong serial VersionUID = 5657149 2483462859 5L; | |
| 23 | ||
| 24 | /* * | |
| 25 | * @throws I nvalidSegm entExcepti on | |
| 26 | * / | |
| 27 | pu blic MSH() { | |
| 28 | supe r(); | |
| 29 | setN ame(Segmen tConstants .MSH); | |
| 30 | } | |
| 31 | ||
| 32 | /* * | |
| 33 | * @param da ta | |
| 34 | * @throws I nvalidSegm entExcepti on | |
| 35 | * / | |
| 36 | pu blic MSH(S tring data ) throws I nvalidSegm entExcepti on { | |
| 37 | supe r(data); | |
| 38 | } | |
| 39 | ||
| 40 | /* * | |
| 41 | * @param en codingChar s | |
| 42 | * @param el ementDelim iter | |
| 43 | * @param se gmentData | |
| 44 | * @throws I nvalidSegm entExcepti on | |
| 45 | * / | |
| 46 | pu blic MSH(S tring[] en codingChar s, String elementDel imiter, St ring segme ntData) | |
| 47 | throws InvalidSe gmentExcep tion { | |
| 48 | supe r(encoding Chars, ele mentDelimi ter, segme ntData); | |
| 49 | } | |
| 50 | ||
| 51 | /* * | |
| 52 | * @param na me | |
| 53 | * @param el ements | |
| 54 | * @throws I nvalidSegm entExcepti on | |
| 55 | * / | |
| 56 | pu blic MSH(S tring name , List ele ments) thr ows Invali dSegmentEx ception { | |
| 57 | supe r(name, el ements); | |
| 58 | } | |
| 59 | ||
| 60 | /* * | |
| 61 | * @param en codingChar s | |
| 62 | * @param el ementDelim iter | |
| 63 | * @param se gmentName | |
| 64 | * @param se gmentEleme nts | |
| 65 | * @throws I nvalidSegm entExcepti on | |
| 66 | * / | |
| 67 | pu blic MSH(S tring[] en codingChar s, String elementDel imiter, St ring segme ntName, | |
| 68 | List s egmentElem ents) thro ws Invalid SegmentExc eption { | |
| 69 | supe r(encoding Chars, ele mentDelimi ter, segme ntName, se gmentEleme nts); | |
| 70 | } | |
| 71 | ||
| 72 | pu blic void setFieldSe parator(St ring input ) { | |
| 73 | setE lement(inp ut, 0); | |
| 74 | setE lementDeli miter(inpu t); | |
| 75 | } | |
| 76 | ||
| 77 | pu blic Strin g getField Separator( ) { | |
| 78 | retu rn getElem ent(0); | |
| 79 | } | |
| 80 | ||
| 81 | pu blic void setEncodin gCharacter s(String i nput) { | |
| 82 | setE lement(inp ut, 1); | |
| 83 | } | |
| 84 | ||
| 85 | pu blic Strin g getEncod ingCharact ers() { | |
| 86 | retu rn getElem ent(1); | |
| 87 | } | |
| 88 | ||
| 89 | pu blic void setSending Applicatio n(String i nput) { | |
| 90 | setE lement(inp ut, 2); | |
| 91 | } | |
| 92 | ||
| 93 | pu blic Strin g getSendi ngApplicat ion() { | |
| 94 | retu rn getElem ent(2); | |
| 95 | } | |
| 96 | ||
| 97 | pu blic void setSending Facility(S tring inpu t) { | |
| 98 | setE lement(inp ut, 3); | |
| 99 | } | |
| 100 | ||
| 101 | pu blic Strin g getSendi ngFacility () { | |
| 102 | retu rn getElem ent(3); | |
| 103 | } | |
| 104 | ||
| 105 | pu blic void setReceivi ngApplicat ion(String input) { | |
| 106 | setE lement(inp ut, 4); | |
| 107 | } | |
| 108 | ||
| 109 | pu blic Strin g getRecei vingApplic ation() { | |
| 110 | retu rn getElem ent(4); | |
| 111 | } | |
| 112 | ||
| 113 | pu blic void setReceivi ngFacility (String in put) { | |
| 114 | setE lement(inp ut, 5); | |
| 115 | } | |
| 116 | ||
| 117 | pu blic Strin g getRecei vingFacili ty() { | |
| 118 | retu rn getElem ent(5); | |
| 119 | } | |
| 120 | ||
| 121 | pu blic void setCreatio nDate(Stri ng input) { | |
| 122 | setE lement(inp ut, 6); | |
| 123 | } | |
| 124 | ||
| 125 | pu blic Strin g getCreat ionDate() { | |
| 126 | retu rn getElem ent(6); | |
| 127 | } | |
| 128 | ||
| 129 | pu blic void setSecurit y(String i nput) { | |
| 130 | setE lement(inp ut, 7); | |
| 131 | } | |
| 132 | ||
| 133 | pu blic Strin g getSecur ity() { | |
| 134 | retu rn getElem ent(7); | |
| 135 | } | |
| 136 | ||
| 137 | pu blic void setMessage Type(Strin g input) { | |
| 138 | setE lement(inp ut, 8); | |
| 139 | } | |
| 140 | ||
| 141 | pu blic Strin g getMessa geType() { | |
| 142 | retu rn getElem ent(8); | |
| 143 | } | |
| 144 | ||
| 145 | pu blic void setControl ID(String input) { | |
| 146 | setE lement(inp ut, 9); | |
| 147 | } | |
| 148 | ||
| 149 | pu blic Strin g getContr olID() { | |
| 150 | retu rn getElem ent(9); | |
| 151 | } | |
| 152 | ||
| 153 | pu blic void setProcess ingID(Stri ng input) { | |
| 154 | setE lement(inp ut, 10); | |
| 155 | } | |
| 156 | ||
| 157 | pu blic Strin g getProce ssingID() { | |
| 158 | retu rn getElem ent(10); | |
| 159 | } | |
| 160 | ||
| 161 | pu blic void setVersion ID(String input) { | |
| 162 | setE lement(inp ut, 11); | |
| 163 | } | |
| 164 | ||
| 165 | pu blic Strin g getVersi onID() { | |
| 166 | retu rn getElem ent(11); | |
| 167 | } | |
| 168 | ||
| 169 | pu blic void setSequenc eNumber(St ring input ) { | |
| 170 | setE lement(inp ut, 12); | |
| 171 | } | |
| 172 | ||
| 173 | pu blic Strin g getSeque nceNumber( ) { | |
| 174 | retu rn getElem ent(12); | |
| 175 | } | |
| 176 | ||
| 177 | pu blic void setContinu ationPoint er(String input) { | |
| 178 | setE lement(inp ut, 13); | |
| 179 | } | |
| 180 | ||
| 181 | pu blic Strin g getConti nuationPoi nter() { | |
| 182 | retu rn getElem ent(13); | |
| 183 | } | |
| 184 | ||
| 185 | pu blic void setAcceptA ckType(Str ing input) { | |
| 186 | setE lement(inp ut, 14); | |
| 187 | } | |
| 188 | ||
| 189 | pu blic Strin g getAccep tAckType() { | |
| 190 | retu rn getElem ent(14); | |
| 191 | } | |
| 192 | ||
| 193 | pu blic void setApplica tionAckTyp e(String i nput) { | |
| 194 | setE lement(inp ut, 15); | |
| 195 | } | |
| 196 | ||
| 197 | pu blic Strin g getAppli cationAckT ype() { | |
| 198 | retu rn getElem ent(15); | |
| 199 | } | |
| 200 | ||
| 201 | pu blic void setCountry Code(Strin g input) { | |
| 202 | setE lement(inp ut, 16); | |
| 203 | } | |
| 204 | ||
| 205 | pu blic Strin g getCount ryCode() { | |
| 206 | retu rn getElem ent(16); | |
| 207 | } | |
| 208 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.