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 | BHS.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 | BHS.java | Mon Jun 10 19:27:47 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 336 |
| 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 BHS 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 = -842857 5070091894 677L; | |
| 23 | ||
| 24 | /* * | |
| 25 | * @param da ta | |
| 26 | * @throws I nvalidSegm entExcepti on | |
| 27 | * / | |
| 28 | pu blic BHS() { | |
| 29 | supe r(); | |
| 30 | setN ame(Segmen tConstants .BHS); | |
| 31 | } | |
| 32 | ||
| 33 | /* * | |
| 34 | * @param da ta | |
| 35 | * @throws I nvalidSegm entExcepti on | |
| 36 | * / | |
| 37 | pu blic BHS(S tring data ) throws I nvalidSegm entExcepti on { | |
| 38 | supe r(data); | |
| 39 | } | |
| 40 | ||
| 41 | /* * | |
| 42 | * @param en codingChar s | |
| 43 | * @param el ementDelim iter | |
| 44 | * @param se gmentData | |
| 45 | * @throws I nvalidSegm entExcepti on | |
| 46 | * / | |
| 47 | pu blic BHS(S tring[] en codingChar s, String elementDel imiter, St ring segme ntData) | |
| 48 | throws InvalidSe gmentExcep tion { | |
| 49 | supe r(encoding Chars, ele mentDelimi ter, segme ntData); | |
| 50 | } | |
| 51 | ||
| 52 | /* * | |
| 53 | * @param na me | |
| 54 | * @param el ements | |
| 55 | * @throws I nvalidSegm entExcepti on | |
| 56 | * / | |
| 57 | pu blic BHS(S tring name , List ele ments) thr ows Invali dSegmentEx ception { | |
| 58 | supe r(name, el ements); | |
| 59 | } | |
| 60 | ||
| 61 | /* * | |
| 62 | * @param en codingChar s | |
| 63 | * @param el ementDelim iter | |
| 64 | * @param se gmentName | |
| 65 | * @param se gmentEleme nts | |
| 66 | * @throws I nvalidSegm entExcepti on | |
| 67 | * / | |
| 68 | pu blic BHS(S tring[] en codingChar s, String elementDel imiter, St ring segme ntName, | |
| 69 | List s egmentElem ents) thro ws Invalid SegmentExc eption { | |
| 70 | supe r(encoding Chars, ele mentDelimi ter, segme ntName, se gmentEleme nts); | |
| 71 | } | |
| 72 | ||
| 73 | pu blic void setFieldSe parator(St ring input ) { | |
| 74 | setE lement(inp ut, 0); | |
| 75 | setE lementDeli miter(inpu t); | |
| 76 | } | |
| 77 | ||
| 78 | pu blic Strin g getField Separator( ) { | |
| 79 | retu rn getElem ent(0); | |
| 80 | } | |
| 81 | ||
| 82 | pu blic void setEncodin gCharacter s(String i nput) { | |
| 83 | setE lement(inp ut, 1); | |
| 84 | } | |
| 85 | ||
| 86 | pu blic Strin g getEncod ingCharact ers() { | |
| 87 | retu rn getElem ent(1); | |
| 88 | } | |
| 89 | ||
| 90 | pu blic void setSending Applicatio n(String i nput) { | |
| 91 | setE lement(inp ut, 2); | |
| 92 | } | |
| 93 | ||
| 94 | pu blic Strin g getSendi ngApplicat ion() { | |
| 95 | retu rn getElem ent(2); | |
| 96 | } | |
| 97 | ||
| 98 | pu blic void setSending Facility(S tring inpu t) { | |
| 99 | setE lement(inp ut, 3); | |
| 100 | } | |
| 101 | ||
| 102 | pu blic Strin g getSendi ngFacility () { | |
| 103 | retu rn getElem ent(3); | |
| 104 | } | |
| 105 | ||
| 106 | pu blic void setReceivi ngApplicat ion(String input) { | |
| 107 | setE lement(inp ut, 4); | |
| 108 | } | |
| 109 | ||
| 110 | pu blic Strin g getRecei vingApplic ation() { | |
| 111 | retu rn getElem ent(4); | |
| 112 | } | |
| 113 | ||
| 114 | pu blic void setReceivi ngFacility (String in put) { | |
| 115 | setE lement(inp ut, 5); | |
| 116 | } | |
| 117 | ||
| 118 | pu blic Strin g getRecei vingFacili ty() { | |
| 119 | retu rn getElem ent(5); | |
| 120 | } | |
| 121 | ||
| 122 | pu blic void setCreatio nDate(Stri ng input) { | |
| 123 | setE lement(inp ut, 6); | |
| 124 | } | |
| 125 | ||
| 126 | pu blic Strin g getCreat ionDate() { | |
| 127 | retu rn getElem ent(6); | |
| 128 | } | |
| 129 | ||
| 130 | pu blic void setSecurit y(String i nput) { | |
| 131 | setE lement(inp ut, 7); | |
| 132 | } | |
| 133 | ||
| 134 | pu blic Strin g getSecur ity() { | |
| 135 | retu rn getElem ent(7); | |
| 136 | } | |
| 137 | ||
| 138 | pu blic void setNameIDT ype(String input) { | |
| 139 | setE lement(inp ut, 8); | |
| 140 | } | |
| 141 | ||
| 142 | pu blic Strin g getNameI DType() { | |
| 143 | retu rn getElem ent(8); | |
| 144 | } | |
| 145 | ||
| 146 | pu blic void setComment (String in put) { | |
| 147 | setE lement(inp ut, 9); | |
| 148 | } | |
| 149 | ||
| 150 | pu blic Strin g getComme nt() { | |
| 151 | retu rn getElem ent(9); | |
| 152 | } | |
| 153 | ||
| 154 | pu blic void setControl ID(String input) { | |
| 155 | setE lement(inp ut, 10); | |
| 156 | } | |
| 157 | ||
| 158 | pu blic Strin g getContr olID() { | |
| 159 | retu rn getElem ent(10); | |
| 160 | } | |
| 161 | ||
| 162 | pu blic void setReferen ceControlI D(String i nput) { | |
| 163 | setE lement(inp ut, 11); | |
| 164 | } | |
| 165 | ||
| 166 | pu blic Strin g getRefer enceContro lID() { | |
| 167 | retu rn getElem ent(11); | |
| 168 | } | |
| 169 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.