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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\hl7\segment | ZEN.java | Fri Dec 7 17:36:40 2018 UTC |
| 2 | v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\hl7\segment | ZEN.java | Wed Dec 12 19:46:45 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 774 |
| 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 | ||
| 5 | package go v.va.med.f w.hl7.segm ent; | |
| 6 | ||
| 7 | // Java cl asses | |
| 8 | import jav a.util.Lis t; | |
| 9 | ||
| 10 | import gov .va.med.fw .hl7.Inval idSegmentE xception; | |
| 11 | import gov .va.med.fw .hl7.Segme nt; | |
| 12 | import gov .va.med.fw .hl7.const ants.Segme ntConstant s; | |
| 13 | ||
| 14 | /** | |
| 15 | * A ZEN s egment con taining in formation about VA s pecific en rollment p rocess | |
| 16 | * | |
| 17 | * @author DN S
|
|
| 18 | * @versio n 1.0 | |
| 19 | */ | |
| 20 | ||
| 21 | public cla ss ZEN ext ends Segme nt { | |
| 22 | ||
| 23 | /* * | |
| 24 | * An instan ce of seri alVersionU ID | |
| 25 | * / | |
| 26 | pr ivate stat ic final l ong serial VersionUID = 5416989 1330291940 69L; | |
| 27 | ||
| 28 | /* * | |
| 29 | * Construct s an empty segment. This const ructor is ususally u sd by deri ved | |
| 30 | * segment c lasses to populate i ts own seg ment data. | |
| 31 | * / | |
| 32 | pu blic ZEN() { | |
| 33 | supe r(); | |
| 34 | setN ame(Segmen tConstants .ZEN); | |
| 35 | } | |
| 36 | ||
| 37 | /* * | |
| 38 | * Construct s a segmen t of eleme nts from a raw data string. Th is constru ctor | |
| 39 | * is usuall y used to construct an inbound message f rom a raw message's | |
| 40 | * segment d ata. | |
| 41 | * | |
| 42 | * @param da ta | |
| 43 | * A raw da ta string | |
| 44 | * @throws I nvalidSegm entExcepti on | |
| 45 | * Thrown if failed to constru ct a segme nt due to missing | |
| 46 | * paramet ers or inv alid segme nt data to parse. | |
| 47 | * / | |
| 48 | pu blic ZEN(S tring data ) throws I nvalidSegm entExcepti on { | |
| 49 | supe r(data); | |
| 50 | } | |
| 51 | ||
| 52 | /* * | |
| 53 | * Construct s a segmen t of eleme nts from a raw data string, an array of | |
| 54 | * valid enc oding char acter stri ngs, and a element d elimiter s tring. Thi s | |
| 55 | * construct or is usua lly used t o construc t an inbou nd message from a ra w | |
| 56 | * message's segment d ata, a spe cific enco ding chara cters, and a field | |
| 57 | * delimiter . | |
| 58 | * | |
| 59 | * @param en codingChar s | |
| 60 | * An array of encodi ng charact ers | |
| 61 | * @param el ementDelim iter | |
| 62 | * A field delimiter | |
| 63 | * @param se gmentData | |
| 64 | * A raw da ta string | |
| 65 | * @throws I nvalidSegm entExcepti on | |
| 66 | * Thrown if failed to constru ct a segme nt due to missing | |
| 67 | * paramet ers or inv alid segme nt data to parse. | |
| 68 | * / | |
| 69 | pu blic ZEN(S tring[] en codingChar s, String elementDel imiter, St ring segme ntData) | |
| 70 | throws InvalidSe gmentExcep tion { | |
| 71 | supe r(encoding Chars, ele mentDelimi ter, segme ntData); | |
| 72 | } | |
| 73 | ||
| 74 | /* * | |
| 75 | * Construct s a segmen t from a s egment nam e and a li st of elem ents. This | |
| 76 | * construct or is usua lly used t o construc t an outbo und messag e from a l ist | |
| 77 | * of specif ic segment elements, and a seg ment name. | |
| 78 | * | |
| 79 | * @param na me | |
| 80 | * A segmen t name | |
| 81 | * @param el ements | |
| 82 | * A list o f segment elements | |
| 83 | * @throws I nvalidSegm entExcepti on | |
| 84 | * Thrown if failed to constru ct a segme nt due to missing | |
| 85 | * paramet ers or inv alid segme nt data to parse. | |
| 86 | * / | |
| 87 | pu blic ZEN(S tring name , List ele ments) thr ows Invali dSegmentEx ception { | |
| 88 | supe r(name, el ements); | |
| 89 | } | |
| 90 | ||
| 91 | /* * | |
| 92 | * Construct s a segmen t from an array of e ncoding ch aracters, a field | |
| 93 | * delimiter , a segmen t name, an d a list o f field da ta. This c onstructor is | |
| 94 | * usually u sed to con struct an outbound m essage fro m a list o f specific | |
| 95 | * segment e lements, e lement del imiter, an d encoding character s. | |
| 96 | * | |
| 97 | * @param en codingChar s | |
| 98 | * An array of encodi ng charact ers | |
| 99 | * @param el ementDelim iter | |
| 100 | * A field delimiter | |
| 101 | * @param se gmentName | |
| 102 | * A segmen t name | |
| 103 | * @param se gmentEleme nts | |
| 104 | * A list o f field da ta | |
| 105 | * @throws I nvalidSegm entExcepti on | |
| 106 | * Thrown if failed to constru ct a segme nt due to missing | |
| 107 | * paramet ers or inv alid segme nt data to parse. | |
| 108 | * / | |
| 109 | pu blic ZEN(S tring[] en codingChar s, String elementDel imiter, St ring segme ntName, | |
| 110 | List s egmentElem ents) thro ws Invalid SegmentExc eption { | |
| 111 | supe r(encoding Chars, ele mentDelimi ter, segme ntName, se gmentEleme nts); | |
| 112 | } | |
| 113 | ||
| 114 | /* * | |
| 115 | * | |
| 116 | * Sequentia l number | |
| 117 | * | |
| 118 | * @param in put | |
| 119 | * A value of SetID | |
| 120 | * / | |
| 121 | pu blic void setSetID(S tring inpu t) { | |
| 122 | setE lement(inp ut, 0); | |
| 123 | } | |
| 124 | ||
| 125 | /* * | |
| 126 | * | |
| 127 | * Sequentia l number | |
| 128 | * | |
| 129 | * @return S tring A va lue of Set ID | |
| 130 | * / | |
| 131 | pu blic Strin g getSetID () { | |
| 132 | retu rn getElem ent(0); | |
| 133 | } | |
| 134 | ||
| 135 | /* * | |
| 136 | * | |
| 137 | * ENROLLMEN T DATE (.1 ) (PRECISE ) | |
| 138 | * | |
| 139 | * @param in put | |
| 140 | * A value of Enrollm entDate | |
| 141 | * / | |
| 142 | pu blic void setEnrollm entDate(St ring input ) { | |
| 143 | setE lement(inp ut, 1); | |
| 144 | } | |
| 145 | ||
| 146 | /* * | |
| 147 | * | |
| 148 | * ENROLLMEN T DATE (.1 ) (PRECISE ) | |
| 149 | * | |
| 150 | * @return S tring A va lue of Enr ollmentDat e | |
| 151 | * / | |
| 152 | pu blic Strin g getEnrol lmentDate( ) { | |
| 153 | retu rn getElem ent(1); | |
| 154 | } | |
| 155 | ||
| 156 | /* * | |
| 157 | * | |
| 158 | * SOURCE OF ENROLLMEN T (.03) 1 = VAMC, 2 = HEC, 3 = OTHER VAM C | |
| 159 | * | |
| 160 | * | |
| 161 | * @param in put | |
| 162 | * A value of Enrollm entSource | |
| 163 | * / | |
| 164 | pu blic void setEnrollm entSource( String inp ut) { | |
| 165 | setE lement(inp ut, 2); | |
| 166 | } | |
| 167 | ||
| 168 | /* * | |
| 169 | * | |
| 170 | * SOURCE OF ENROLLMEN T (.03) 1 = VAMC, 2 = HEC, 3 = OTHER VAM C | |
| 171 | * | |
| 172 | * | |
| 173 | * @return S tring A va lue of Enr ollmentSou rce | |
| 174 | * / | |
| 175 | pu blic Strin g getEnrol lmentSourc e() { | |
| 176 | retu rn getElem ent(2); | |
| 177 | } | |
| 178 | ||
| 179 | /* * | |
| 180 | * | |
| 181 | * ENROLLMEN T STATUS ( .04) | |
| 182 | * | |
| 183 | * @param in put | |
| 184 | * A value of Enrollm entStatus | |
| 185 | * / | |
| 186 | pu blic void setEnrollm entStatus( String inp ut) { | |
| 187 | setE lement(inp ut, 3); | |
| 188 | } | |
| 189 | ||
| 190 | /* * | |
| 191 | * | |
| 192 | * ENROLLMEN T STATUS ( .04) | |
| 193 | * | |
| 194 | * @return S tring A va lue of Enr ollmentSta tus | |
| 195 | * / | |
| 196 | pu blic Strin g getEnrol lmentStatu s() { | |
| 197 | retu rn getElem ent(3); | |
| 198 | } | |
| 199 | ||
| 200 | /* * | |
| 201 | * | |
| 202 | * REASON CA NCELED/DEC LINED (.05 ) | |
| 203 | * | |
| 204 | * @param in put | |
| 205 | * A value of Reason | |
| 206 | * / | |
| 207 | pu blic void setReason( String inp ut) { | |
| 208 | setE lement(inp ut, 4); | |
| 209 | } | |
| 210 | ||
| 211 | /* * | |
| 212 | * | |
| 213 | * REASON CA NCELED/DEC LINED (.05 ) | |
| 214 | * | |
| 215 | * @return S tring A va lue of Rea son | |
| 216 | * / | |
| 217 | pu blic Strin g getReaso n() { | |
| 218 | retu rn getElem ent(4); | |
| 219 | } | |
| 220 | ||
| 221 | /* * | |
| 222 | * | |
| 223 | * CANCELED/ DECLINED R EMARKS (25 ) | |
| 224 | * | |
| 225 | * @param in put | |
| 226 | * A value of Remarks | |
| 227 | * / | |
| 228 | pu blic void setRemarks (String in put) { | |
| 229 | setE lement(inp ut, 5); | |
| 230 | } | |
| 231 | ||
| 232 | /* * | |
| 233 | * | |
| 234 | * CANCELED/ DECLINED R EMARKS (25 ) | |
| 235 | * | |
| 236 | * @return S tring A va lue of Rem arks | |
| 237 | * / | |
| 238 | pu blic Strin g getRemar ks() { | |
| 239 | retu rn getElem ent(5); | |
| 240 | } | |
| 241 | ||
| 242 | /* * | |
| 243 | * | |
| 244 | * FACILITY RECEIVED ( .06) | |
| 245 | * | |
| 246 | * @param in put | |
| 247 | * A value of Facilit yReceived | |
| 248 | * / | |
| 249 | pu blic void setFacilit yReceived( String inp ut) { | |
| 250 | setE lement(inp ut, 6); | |
| 251 | } | |
| 252 | ||
| 253 | /* * | |
| 254 | * | |
| 255 | * FACILITY RECEIVED ( .06) | |
| 256 | * | |
| 257 | * @return S tring A va lue of Fac ilityRecei ved | |
| 258 | * / | |
| 259 | pu blic Strin g getFacil ityReceive d() { | |
| 260 | retu rn getElem ent(6); | |
| 261 | } | |
| 262 | ||
| 263 | /* * | |
| 264 | * | |
| 265 | * PREFERRED FACILITY (#2) (27.0 2) | |
| 266 | * | |
| 267 | * @param in put | |
| 268 | * A value of Preferr edFacility | |
| 269 | * / | |
| 270 | pu blic void setPreferr edFacility (String in put) { | |
| 271 | setE lement(inp ut, 7); | |
| 272 | } | |
| 273 | ||
| 274 | /* * | |
| 275 | * | |
| 276 | * PREFERRED FACILITY (#2) (27.0 2) | |
| 277 | * | |
| 278 | * @return S tring A va lue of Pre ferredFaci lity | |
| 279 | * / | |
| 280 | pu blic Strin g getPrefe rredFacili ty() { | |
| 281 | retu rn getElem ent(7); | |
| 282 | } | |
| 283 | ||
| 284 | /* * | |
| 285 | * | |
| 286 | * ENROLLMEN T PRIORITY (.07) | |
| 287 | * | |
| 288 | * @param in put | |
| 289 | * A value of Enrollm entPriorit y | |
| 290 | * / | |
| 291 | pu blic void setEnrollm entPriorit y(String i nput) { | |
| 292 | setE lement(inp ut, 8); | |
| 293 | } | |
| 294 | ||
| 295 | /* * | |
| 296 | * | |
| 297 | * ENROLLMEN T PRIORITY (.07) | |
| 298 | * | |
| 299 | * @return S tring A va lue of Enr ollmentPri ority | |
| 300 | * / | |
| 301 | pu blic Strin g getEnrol lmentPrior ity() { | |
| 302 | retu rn getElem ent(8); | |
| 303 | } | |
| 304 | ||
| 305 | /* * | |
| 306 | * | |
| 307 | * EFFECTIVE DATE (.08 ) (PRECISE ) | |
| 308 | * | |
| 309 | * @param in put | |
| 310 | * A value of Effecti veDate | |
| 311 | * / | |
| 312 | pu blic void setEffecti veDate(Str ing input) { | |
| 313 | setE lement(inp ut, 9); | |
| 314 | } | |
| 315 | ||
| 316 | /* * | |
| 317 | * | |
| 318 | * EFFECTIVE DATE (.08 ) (PRECISE ) | |
| 319 | * | |
| 320 | * @return S tring A va lue of Eff ectiveDate | |
| 321 | * / | |
| 322 | pu blic Strin g getEffec tiveDate() { | |
| 323 | retu rn getElem ent(9); | |
| 324 | } | |
| 325 | ||
| 326 | /* * | |
| 327 | * | |
| 328 | * ENROLLMEN T APPLICAT ION DATE ( .01) (PREC ISE) | |
| 329 | * | |
| 330 | * @param in put | |
| 331 | * A value of Enrollm entApplica tionDate | |
| 332 | * / | |
| 333 | pu blic void setEnrollm entApplica tionDate(S tring inpu t) { | |
| 334 | setE lement(inp ut, 10); | |
| 335 | } | |
| 336 | ||
| 337 | /* * | |
| 338 | * | |
| 339 | * ENROLLMEN T APPLICAT ION DATE ( .01) (PREC ISE) | |
| 340 | * | |
| 341 | * @return S tring A va lue of Enr ollmentApp licationDa te | |
| 342 | * / | |
| 343 | pu blic Strin g getEnrol lmentAppli cationDate () { | |
| 344 | retu rn getElem ent(10); | |
| 345 | } | |
| 346 | ||
| 347 | /* * | |
| 348 | * | |
| 349 | * ENROLLMEN T END DATE (.11 (PRE CISE) | |
| 350 | * | |
| 351 | * @param in put | |
| 352 | * A value of Enrollm entEndDate | |
| 353 | * / | |
| 354 | pu blic void setEnrollm entEndDate (String in put) { | |
| 355 | setE lement(inp ut, 11); | |
| 356 | } | |
| 357 | ||
| 358 | /* * | |
| 359 | * | |
| 360 | * ENROLLMEN T END DATE (.11 (PRE CISE) | |
| 361 | * | |
| 362 | * @return S tring A va lue of Enr ollmentEnd Date | |
| 363 | * / | |
| 364 | pu blic Strin g getEnrol lmentEndDa te() { | |
| 365 | retu rn getElem ent(11); | |
| 366 | } | |
| 367 | ||
| 368 | /* * | |
| 369 | * | |
| 370 | * ENROLLMEN T SUB-GROU P (.12) | |
| 371 | * | |
| 372 | * @param in put | |
| 373 | * A value of Enrollm entSubGrou p | |
| 374 | * / | |
| 375 | pu blic void setEnrollm entSubGrou p(String i nput) { | |
| 376 | setE lement(inp ut, 12); | |
| 377 | } | |
| 378 | ||
| 379 | /* * | |
| 380 | * | |
| 381 | * ENROLLMEN T SUB-GROU P (.12) | |
| 382 | * | |
| 383 | * @return S tring A va lue of Enr ollmentSub Group | |
| 384 | * / | |
| 385 | pu blic Strin g getEnrol lmentSubGr oup() { | |
| 386 | retu rn getElem ent(12); | |
| 387 | } | |
| 388 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.