Produced by Araxis Merge on 10/3/2017 11:16:07 AM Central 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 | ehmp.zip\ehmp\ehmp\product\tests\data_load_scripts\domain_loaders | surgical_path.rb | Tue Jan 10 16:20:50 2017 UTC |
| 2 | ehmp.zip\ehmp\ehmp\product\tests\data_load_scripts\domain_loaders | surgical_path.rb | Mon Oct 2 20:10:22 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 466 |
| 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 | require 'g reenletter s' | |
| 2 | ||
| 3 | # options | |
| 4 | #--------- ---------- ---------- ------- | |
| 5 | serve_ip = " IP " | |
| 6 | path_amoun t = 10 | |
| 7 | # patient_ id = 10084 1 #alpha t est | |
| 8 | patient_na me = "alph atest" | |
| 9 | #--------- ---------- ---------- ------- | |
| 10 | ||
| 11 | console = Greenlette rs::Proces s.new("ssh vagrant@# {serve_ip} ",:transcr ipt => $st dout, :tim eout => 20 ) | |
| 12 | ||
| 13 | console.on (:output, /CHOOSE/i) do |proce ss, match_ data| | |
| 14 | console << "1\n" | |
| 15 | end | |
| 16 | ||
| 17 | console.st art! | |
| 18 | ||
| 19 | console.wa it_for(:ou tput, /pas sword:/i) | |
| 20 | console << "vagrant\ n" | |
| 21 | ||
| 22 | console.wa it_for(:ou tput, /$/i ) | |
| 23 | console << "sudo cse ssion cach e -U VISTA \n" | |
| 24 | ||
| 25 | console.wa it_for(:ou tput, /VIS TA>/i) | |
| 26 | console << "s DUZ=20 365\n" | |
| 27 | ||
| 28 | console.wa it_for(:ou tput, /VIS TA>/i) | |
| 29 | console << "d ^XUP\n " | |
| 30 | ||
| 31 | console.wa it_for(:ou tput, /OPT ION NAME:/ i) | |
| 32 | console << "LRAP\n" | |
| 33 | ||
| 34 | ||
| 35 | path_amoun t.times do | |
| 36 | co nsole.wait _for(:outp ut, /Selec t Anatomic pathology /i) | |
| 37 | co nsole << " L\n" | |
| 38 | ||
| 39 | co nsole.wait _for(:outp ut, /Selec t Log-in m enu, anat path/i) | |
| 40 | co nsole << " LI\n" | |
| 41 | ||
| 42 | co nsole.wait _for(:outp ut, /Selec t ANATOMIC PATHOLOGY SECTION/i ) | |
| 43 | co nsole << " SP\n" | |
| 44 | ||
| 45 | co nsole.wait _for(:outp ut, /Log-I n for/i) | |
| 46 | co nsole << " \n" | |
| 47 | ||
| 48 | co nsole.wait _for(:outp ut, /Selec t Patient Name/i) | |
| 49 | co nsole << " #{patient_ name}\n" | |
| 50 | ||
| 51 | co nsole.wait _for(:outp ut, /PATIE NT LOCATIO N/i) | |
| 52 | co nsole << " LAB\n" | |
| 53 | ||
| 54 | co nsole.wait _for(:outp ut, /Assig n SURGICAL PATHOLOGY \(SP\) ac cession #: /i) | |
| 55 | ||
| 56 | ||
| 57 | co ntents = c onsole.out put_buffer .string | |
| 58 | re gex = /(As sign SURGI CAL PATHOL OGY \(SP\) accession #: )(?<ac cession>\d *)\?/ | |
| 59 | ||
| 60 | ac cession = "" | |
| 61 | co ntents.gsu b(regex){ |match| | |
| 62 | accession = match.gs ub(regex, '\k<access ion>') | |
| 63 | } | |
| 64 | ||
| 65 | co nsole << " \n" | |
| 66 | ||
| 67 | # read acces sion numbe r | |
| 68 | ||
| 69 | # Assign SUR GICAL PATH OLOGY (SP) accession #: 1? YES // | |
| 70 | ||
| 71 | ||
| 72 | ||
| 73 | ||
| 74 | ||
| 75 | co nsole.wait _for(:outp ut, /time Specimen t aken/i) | |
| 76 | co nsole << " \n" | |
| 77 | ||
| 78 | co nsole.wait _for(:outp ut, /PHYSI CIAN/i) | |
| 79 | co nsole << " provider,e ight\n" | |
| 80 | ||
| 81 | co nsole.wait _for(:outp ut, /SPECI MEN SUBMIT TED BY/i) | |
| 82 | co nsole << " NURSE-\n" | |
| 83 | ||
| 84 | co nsole.wait _for(:outp ut, /Selec t SPECIMEN /i) | |
| 85 | co nsole << " Liver\n" | |
| 86 | ||
| 87 | co nsole.wait _for(:outp ut, /SPECI MEN TOPOGR APHY/i) | |
| 88 | co nsole << " liv\n" | |
| 89 | ||
| 90 | ||
| 91 | co nsole.wait _for(:outp ut, /COLLE CTION SAMP LE/i) | |
| 92 | co nsole << " BIOPSY\n" | |
| 93 | ||
| 94 | co nsole.wait _for(:outp ut, /Selec t SPECIMEN /i) | |
| 95 | co nsole << " \n" | |
| 96 | ||
| 97 | co nsole.wait _for(:outp ut, /TIME SPECIMEN R ECEIVED/i) | |
| 98 | co nsole << " \n" | |
| 99 | ||
| 100 | co nsole.wait _for(:outp ut, /PATHO LOGIST/i) | |
| 101 | co nsole << " prov\n" | |
| 102 | ||
| 103 | co nsole.wait _for(:outp ut, /Selec t COMMENT/ i) | |
| 104 | co nsole << " Testing\n" | |
| 105 | ||
| 106 | co nsole.wait _for(:outp ut, /Selec t COMMENT/ i) | |
| 107 | co nsole << " \n" | |
| 108 | ||
| 109 | co nsole.wait _for(:outp ut, /Selec t LABORATO RY TEST/i) | |
| 110 | co nsole << " su\n" | |
| 111 | ||
| 112 | ||
| 113 | co nsole.wait _for(:outp ut, /Selec t Patient Name/i) | |
| 114 | co nsole << " \n" | |
| 115 | ||
| 116 | ||
| 117 | co nsole.wait _for(:outp ut, /Selec t Log-in m enu/i) | |
| 118 | co nsole << " \n" | |
| 119 | ||
| 120 | co nsole.wait _for(:outp ut, /Selec t Anatomic pathology /i) | |
| 121 | co nsole << " D\n" | |
| 122 | ||
| 123 | co nsole.wait _for(:outp ut, /Selec t Data ent ry/i) | |
| 124 | co nsole << " GI\n" | |
| 125 | ||
| 126 | ||
| 127 | co nsole.wait _for(:outp ut, /Selec t ANATOMIC PATHOLOGY SECTION/i ) | |
| 128 | co nsole << " Sur\n" | |
| 129 | ||
| 130 | ||
| 131 | co nsole.wait _for(:outp ut, /Data entry for/ i) | |
| 132 | co nsole << " \n" | |
| 133 | ||
| 134 | ||
| 135 | co nsole.wait _for(:outp ut, /Selec t one/i) | |
| 136 | co nsole << " \n" | |
| 137 | ||
| 138 | co nsole.wait _for(:outp ut, /Enter Accession Number/i) | |
| 139 | co nsole << " #{accessio n}\n" | |
| 140 | ||
| 141 | ||
| 142 | co nsole.wait _for(:outp ut, /GROSS DESCRIPTI ON/i) | |
| 143 | co nsole << " Received f resh, subs equently f ixed in fo rmalin lab eled\n" | |
| 144 | co nsole << " \"liver bi opsy\" are multiple red-brown irregular to cylindr ical tissu e fragment s which ha ve an aggr egate meas urement of 1.2 x 0.4 x cm. pecimens are entir ely submit ted in one \n" | |
| 145 | co nsole << " \n" | |
| 146 | ||
| 147 | co nsole.wait _for(:outp ut, /EDIT Option:/i) | |
| 148 | co nsole << " \n" | |
| 149 | ||
| 150 | co nsole.wait _for(:outp ut, /MICRO SCOPIC DES CRIPTION/i ) | |
| 151 | co nsole << " A&B:\n" | |
| 152 | co nsole << " Histologic type: Inv asive aden ocarcinoma , not othe rwise spec ified. His tologic gr ade: Moder ately diff erentiated .\n" | |
| 153 | co nsole << " Primary tu mor (pT): Tumor inva des throug h muscular is propria in two pe ricolonic fat (pT3). \n" | |
| 154 | co nsole << " Proximal m argin: Neg ative for tumor.\n" | |
| 155 | co nsole << " Distal mar gin: Negat ive for tu mor.\n" | |
| 156 | co nsole << " Circumfere ntial (rad ial) margi n: Negativ e for tumo r.\n" | |
| 157 | co nsole << " Distance o f tumor fr om closest margin: 5 .7 cm from both prox imal and d istal marg in.\n" | |
| 158 | co nsole << " Vascular i nvasion: N ot identif ied.\n" | |
| 159 | co nsole << " Regional l ymph nodes (pN): 21 lymph node s are all negative f or metasta tic tumor (pN0).\n" | |
| 160 | co nsole << " Non-lymph node peric olonic tum or: Not id entified.\ n" | |
| 161 | co nsole << " Distant me tastasis ( pM): Metas tatic carc inoma is i dentified in the liv er core bi opsy in sp ecimen B ( pM1).\n" | |
| 162 | co nsole << " Other find ings: The attached o mentum is negative f or tumor. The backgr ound colon ic mucosa was unrema rkable.\n" | |
| 163 | co nsole << " \n" | |
| 164 | ||
| 165 | co nsole.wait _for(:outp ut, /EDIT Option:/i) | |
| 166 | co nsole << " \n" | |
| 167 | ||
| 168 | co nsole.wait _for(:outp ut, /PATHO LOGIST:/i) | |
| 169 | co nsole << " \n" | |
| 170 | ||
| 171 | co nsole.wait _for(:outp ut, /DATE REPORT COM PLETED/i) | |
| 172 | co nsole << " t\n" | |
| 173 | ||
| 174 | co nsole.wait _for(:outp ut, /Selec t ICD DIAG NOSIS/i) | |
| 175 | co nsole << " liver\n" | |
| 176 | ||
| 177 | co nsole.wait _for(:outp ut, /Selec t 1-8/i) | |
| 178 | co nsole << " 4\n" | |
| 179 | ||
| 180 | ||
| 181 | co nsole.wait _for(:outp ut, /Selec t 1-4/i) | |
| 182 | co nsole << " 3\n" | |
| 183 | ||
| 184 | ||
| 185 | co nsole.wait _for(:outp ut, /Selec t ICD DIAG NOSIS/i) | |
| 186 | co nsole << " \n" | |
| 187 | ||
| 188 | ||
| 189 | co nsole.wait _for(:outp ut, /Desig nate perfo rming labo ratory for /i) | |
| 190 | co nsole << " \n" | |
| 191 | ||
| 192 | ||
| 193 | co nsole.wait _for(:outp ut, /Selec t Performi ng Laborat ory/i) | |
| 194 | co nsole << " \n" | |
| 195 | ||
| 196 | ||
| 197 | co nsole.wait _for(:outp ut, /Sure you want t o add this record/i) | |
| 198 | co nsole << " YES\n" | |
| 199 | ||
| 200 | co nsole.wait _for(:outp ut, /Desig nate perfo rming labo ratory for /i) | |
| 201 | co nsole << " \n" | |
| 202 | ||
| 203 | ||
| 204 | co nsole.wait _for(:outp ut, /Enter CPT codin g/i) | |
| 205 | co nsole << " \n" | |
| 206 | ||
| 207 | ||
| 208 | co nsole.wait _for(:outp ut, /Selec t one/i) | |
| 209 | co nsole << " \n" | |
| 210 | ||
| 211 | co nsole.wait _for(:outp ut, /Enter Accession Number/i) | |
| 212 | co nsole << " \n" | |
| 213 | ||
| 214 | ||
| 215 | co nsole.wait _for(:outp ut, /Selec t Data ent ry/i) | |
| 216 | co nsole << " \n" | |
| 217 | ||
| 218 | co nsole.wait _for(:outp ut, /Selec t Anatomic pathology /i) | |
| 219 | co nsole << " v\n" | |
| 220 | ||
| 221 | ||
| 222 | co nsole.wait _for(:outp ut, /relea se menu/i) | |
| 223 | co nsole << " rr\n" | |
| 224 | ||
| 225 | ||
| 226 | co nsole.wait _for(:outp ut, /Selec t ANATOMIC PATHOLOGY SECTION/i ) | |
| 227 | co nsole << " \n" | |
| 228 | ||
| 229 | ||
| 230 | co nsole.wait _for(:outp ut, /relea se menu/i) | |
| 231 | co nsole << " \n" | |
| 232 | end | |
| 233 | ||
| 234 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.