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 | labs.rb | Tue Jan 10 16:20:50 2017 UTC |
| 2 | ehmp.zip\ehmp\ehmp\product\tests\data_load_scripts\domain_loaders | labs.rb | Mon Oct 2 20:10:16 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 256 |
| 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 | labs_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, /Do you wa nt an expa nded list/ i) do |pro cess, matc h_data| | |
| 14 | console << "\n" | |
| 15 | end | |
| 16 | ||
| 17 | console.on (:output, /Is the te st one of the above/ i) do |pro cess, matc h_data| | |
| 18 | console << "\n" | |
| 19 | end | |
| 20 | ||
| 21 | console.on (:output, /Do You re ally want another/i) do |proce ss, match_ data| | |
| 22 | console << "Y\n" | |
| 23 | end | |
| 24 | ||
| 25 | ||
| 26 | console.on (:output, /CHOOSE/i) do |proce ss, match_ data| | |
| 27 | console << "1\n" | |
| 28 | end | |
| 29 | ||
| 30 | ||
| 31 | console.on (:output, /-Lab Orde r/i) do |p rocess, ma tch_data| | |
| 32 | console << "^\n" | |
| 33 | end | |
| 34 | ||
| 35 | ||
| 36 | console.on (:output, /Press RET URN to con tinue/i) d o |process , match_da ta| | |
| 37 | console << "\n" | |
| 38 | end | |
| 39 | ||
| 40 | ||
| 41 | console.on (:output, /ORDER COP Y DEVICE/i ) do |proc ess, match _data| | |
| 42 | console << "\n" | |
| 43 | end | |
| 44 | ||
| 45 | ||
| 46 | console.st art! | |
| 47 | ||
| 48 | console.wa it_for(:ou tput, /pas sword:/i) | |
| 49 | console << "vagrant\ n" | |
| 50 | ||
| 51 | console.wa it_for(:ou tput, /$/i ) | |
| 52 | console << "sudo cse ssion cach e -U VISTA \n" | |
| 53 | ||
| 54 | console.wa it_for(:ou tput, /VIS TA>/i) | |
| 55 | console << "s DUZ=20 365\n" | |
| 56 | ||
| 57 | console.wa it_for(:ou tput, /VIS TA>/i) | |
| 58 | console << "d ^XUP\n " | |
| 59 | ||
| 60 | console.wa it_for(:ou tput, /OPT ION NAME:/ i) | |
| 61 | console << "Laborato ry DHCP Me nu\n" | |
| 62 | ||
| 63 | console.wa it_for(:ou tput, /Sel ect Labora tory DHCP Menu/i) | |
| 64 | console << "Accessio ning menu\ n" | |
| 65 | ||
| 66 | console.wa it_for(:ou tput, /to continue/i ) | |
| 67 | console << "\n" | |
| 68 | ||
| 69 | labs_amoun t.times do | |
| 70 | ||
| 71 | ||
| 72 | console. wait_for(: output, /S elect Acce ssioning m enu/i) | |
| 73 | console << "bypass normal da ta entry\n " | |
| 74 | ||
| 75 | console. wait_for(: output, /S elect Perf orming Lab oratory/i) | |
| 76 | console << "\n" | |
| 77 | ||
| 78 | console. wait_for(: output, /D o you want to enter draw times /i) | |
| 79 | console << "\n" | |
| 80 | ||
| 81 | console. wait_for(: output, /S elect Pati ent Name/i ) | |
| 82 | console << "#{pati ent_name}\ n" | |
| 83 | ||
| 84 | console. wait_for(: output, /P ATIENT LOC ATION/i) | |
| 85 | console << "\n" | |
| 86 | ||
| 87 | console. wait_for(: output, /S pecimen co llected ho w/i) | |
| 88 | console << "\n" | |
| 89 | ||
| 90 | console. wait_for(: output, /P ROVIDER/i) | |
| 91 | console << "\n" | |
| 92 | ||
| 93 | console. wait_for(: output, /S elect URGE NCY/i) | |
| 94 | console << "\n" | |
| 95 | ||
| 96 | console. wait_for(: output, /S elect LABO RATORY TES T NAME/i) | |
| 97 | console << "CALCIU M\n" | |
| 98 | ||
| 99 | console. wait_for(: output, /C orrect sam ple/i) | |
| 100 | console << "\n" | |
| 101 | ||
| 102 | console. wait_for(: output, /N ature of O rder/i) | |
| 103 | console << "\n" | |
| 104 | ||
| 105 | ||
| 106 | ||
| 107 | prng = R andom.new | |
| 108 | number = prng.rand (98..123) | |
| 109 | ||
| 110 | ||
| 111 | console. wait_for(: output, /C ALCIUM/i) | |
| 112 | console << "#{numb er}\n" | |
| 113 | ||
| 114 | console. wait_for(: output, /S elect COMM ENT/i) | |
| 115 | console << "Test\n " | |
| 116 | ||
| 117 | console. wait_for(: output, /S elect COMM ENT/i) | |
| 118 | console << "\n" | |
| 119 | ||
| 120 | console. wait_for(: output, /S ELECT/i) | |
| 121 | console << "\n" | |
| 122 | ||
| 123 | console. wait_for(: output, /A pprove for release b y entering your init ials/i) | |
| 124 | console << "LE\n" | |
| 125 | ||
| 126 | console. wait_for(: output, /t o continue /i) | |
| 127 | console << "\n" | |
| 128 | ||
| 129 | end |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.