980. EPMO Open Source Coordination Office Redaction File Detail Report

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.

980.1 Files compared

# Location File Last Modified
1 ehmp.zip\ehmp\ehmp\product\tests\data_load_scripts\domain_loaders inpatient_meds.rb Tue Jan 10 16:20:50 2017 UTC
2 ehmp.zip\ehmp\ehmp\product\tests\data_load_scripts\domain_loaders inpatient_meds.rb Mon Oct 2 20:10:16 2017 UTC

980.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 306
Changed 1 2
Inserted 0 0
Removed 0 0

980.3 Comparison options

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

980.4 Active regular expressions

No regular expressions were active.

980.5 Comparison detail

  1   require 'g reenletter s'
  2  
  3   # options
  4   #--------- ---------- ---------- -------
  5   serve_ip =  " IP          "
  6   meds_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,  /Press Ret urn to con tinue/i) d o |process , match_da ta|
  14     console  << "\n"
  15   end
  16  
  17   console.on (:output,  /Enter RET URN to con tinue/i) d o |process , match_da ta|
  18     console  << "\n"
  19   end
  20  
  21   console.on (:output,  /NO ALLERG Y ASSESSME NT/i) do | process, m atch_data|
  22     console  << "\n"
  23   end
  24  
  25   console.on (:output,  /PROVIDER: /i) do |pr ocess, mat ch_data|
  26     console  << "PROVID ER,EIGHT\n "
  27     console  << "1\n"
  28   end
  29  
  30   console.on (:output,  /RECOMMEND ATION/i) d o |process , match_da ta|
  31     console  << "1\n"
  32   end
  33  
  34   console.on (:output,  /CLINIC LO CATION:/i)  do |proce ss, match_ data|
  35     console  << "CARDIO LOGY\n"
  36   end
  37  
  38  
  39   console.on (:output,  /CHOOSE/i)  do |proce ss, match_ data|
  40     console  << "1\n"
  41   end
  42  
  43   console.on (:output,  /Do you wi sh to cont inue/i) do  |process,  match_dat a|
  44     console  << "YES\n"
  45   end
  46  
  47  
  48   console.on (:output,  /Do you wi sh to view  active pa tient reco rd flag de tails/i) d o |process , match_da ta|
  49     console  << "No\n"
  50   end
  51  
  52  
  53   console.st art!
  54  
  55   console.wa it_for(:ou tput, /pas sword:/i)
  56   console <<  "vagrant\ n"
  57  
  58   console.wa it_for(:ou tput, /$/i )
  59   console <<  "sudo cse ssion cach e -U VISTA \n"
  60  
  61   console.wa it_for(:ou tput, /VIS TA>/i)
  62   console <<  "s DUZ=1\ n"
  63  
  64   console.wa it_for(:ou tput, /VIS TA>/i)
  65   console <<  "d ^XUP\n "
  66  
  67   console.wa it_for(:ou tput, /Sel ect OPTION  NAME/i)
  68   console <<  "PHARMACY  MASTER ME NU\n"
  69  
  70  
  71   console.wa it_for(:ou tput, /Sel ect PHARMA CY MASTER  MENU/i)
  72   console <<  "PSIV\n"
  73  
  74  
  75   console.wa it_for(:ou tput, /Sel ect IV ROO M NAME/i)
  76   console <<  "ALBANY I V ROOM\n"
  77  
  78  
  79   console.wa it_for(:ou tput, /Ent er IV LABE L device/i )
  80   console <<  "\n"
  81  
  82   console.wa it_for(:ou tput, /Ent er IV REPO RT device/ i)
  83   console <<  "\n"
  84  
  85   console.wa it_for(:ou tput, /Sel ect IV Men u/i)
  86   console <<  "Order En try\n"
  87  
  88   console.wa it_for(:ou tput, /Sel ect PATIEN T/i)
  89   # console  << "BCMA,e \n"
  90   console <<  "#{patien t_name}\n"
  91  
  92  
  93   console.wa it_for(:ou tput, /Sel ect Action /i)
  94   console <<  "NO\r"
  95  
  96  
  97   meds_amoun t.times do
  98         cons ole.wait_f or(:output , /Select  IV TYPE/i)
  99         cons ole << "PI GGYBACK\n"
  100  
  101         cons ole.wait_f or(:output , /Select  ADDITIVE/i )
  102         cons ole << "SO DIUM ACETA TE\n"
  103  
  104         cons ole.wait_f or(:output , /Strengt h/i)
  105         cons ole << "2\ n"
  106  
  107         cons ole.wait_f or(:output , /Select  ADDITIVE/i )
  108         cons ole << "\n "
  109  
  110         cons ole.wait_f or(:output , /Select  SOLUTION/i )
  111         cons ole << "AM INO ACID S OLUTION 8. 5%\n"
  112  
  113         cons ole.wait_f or(:output , /INFUSIO N RATE/i)
  114         cons ole << "10 \n"
  115  
  116         cons ole.wait_f or(:output , /MED ROU TE/i)
  117         cons ole << "IN TRA-ARTICU LAR\n"
  118  
  119         cons ole.wait_f or(:output , /SCHEDUL E/i)
  120         cons ole << "Q2 4H\n"
  121  
  122         cons ole.wait_f or(:output , /ADMINIS TRATION TI MES/i)
  123         cons ole << "\n "
  124  
  125  
  126  
  127         cons ole.wait_f or(:output , /REMARKS /i)
  128         cons ole << "di abetic\n"
  129  
  130  
  131         cons ole.wait_f or(:output , /1>/i)
  132         cons ole << "\n "
  133  
  134         cons ole.wait_f or(:output , /START D ATE/i)
  135         cons ole << "\n "
  136  
  137         cons ole.wait_f or(:output , /STOP DA TE/i)
  138         cons ole << "\n "
  139  
  140         cons ole.wait_f or(:output , /Is this  O.K./i)
  141         cons ole << "\n "
  142  
  143         cons ole.wait_f or(:output , /NATURE  OF ORDER/i )
  144         cons ole << "\n "
  145  
  146         cons ole.wait_f or(:output , /Select  Item/i)
  147         cons ole << "Ve rify\r"
  148  
  149         cons ole.wait_f or(:output , /Action/ i)
  150         cons ole << "\n "
  151  
  152         cons ole.wait_f or(:output , /# of la bels/i)
  153         cons ole << "\n "
  154   end