1013. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 10/3/2017 11:16:08 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.

1013.1 Files compared

# Location File Last Modified
1 ehmp.zip\ehmp\ehmp\product\tests\vista-rpc-tests\vistarpc4r\examples add_vitals.rb Tue Dec 15 14:05:18 2015 UTC
2 ehmp.zip\ehmp\ehmp\product\tests\vista-rpc-tests\vistarpc4r\examples add_vitals.rb Tue Oct 3 14:52:24 2017 UTC

1013.2 Comparison summary

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

1013.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

1013.4 Active regular expressions

No regular expressions were active.

1013.5 Comparison detail

  1   require 'r ubygems'
  2   # require  'vistarpc4 r'
  3  
  4   require '. /../lib/vi starpc4r/r pc_respons e'
  5   require '. /../lib/vi starpc4r/v ista_rpc'
  6   require '. /../lib/vi starpc4r/r pc_broker_ connection '
  7  
  8   broker = V istaRPC4r: :RPCBroker Connection .new(' IP          ',  PORT , ' REDACT ', ' REDACTED ', false)
  9  
  10   broker.con nect
  11   p "The RPC  Broker Co nnection s tatus is # {broker.is Connected} "
  12  
  13   broker.set Context('O R CPRS GUI  CHART')
  14  
  15   #wardsrpc  = VistaRPC 4r::VistaR PC.new("OR QPT WARDS" , VistaRPC 4r::RPCRes ponse::ARR AY)
  16   #wardsresp onse = bro ker.execut e(wardsrpc )
  17   #wardsresp onse.value .each do | d|
  18   #  puts d
  19   #end
  20  
  21  
  22   # preset s ome variab les
  23   dfn = "123 "  # inter nal id of  the patien t, CLINICA L, Male
  24   provider = "100000001 77"  #inte rnal id of  care prov ider Physi can, User
  25   location =  "GEN MED"   # hospit al locatio n  ICU=1 M ED/SURG=2  PSYCH=3
  26   thedate =  "3110525"
  27   thedatetim e = "31105 25.160100"
  28   # Vitals
  29   puts "Vita ls before  adding---- ---------- ---------- ---------- ---"
  30   patientrpc  = VistaRP C4r::Vista RPC.new("O RQQVI VITA LS", Vista RPC4r::RPC Response:: ARRAY)
  31   patientrpc .params[0] =dfn #pati ent ien
  32   patientres ponse = br oker.execu te(patient rpc)
  33   patientres ponse.valu e.each do  |d|
  34     puts d
  35   end
  36  
  37   p "------- ---------- ---"
  38   #  Add a n ew problem
  39   vrpc = Vis taRPC4r::V istaRPC.ne w("ORQQVI2  VITALS VA L & STORE" , VistaRPC 4r::RPCRes ponse::ARR AY)
  40   vrpc.param s[0] = [
  41                      [" 1", "VST^D T^#{thedat etime}"],   # Vital d ate
  42                      [" 2", "VST^P T^#{dfn}"] , # Patien t
  43                      [" 3", "VST^H L^#{locati on}"], # l ocation
  44                      [" 4", "VIT^B P^^^120/16 0^#{provid er}^^#{the datetime}" ]
  45                     ]
  46                     p v rpc
  47   resp=broke r.execute( vrpc)
  48   puts resp
  49  
  50   puts "Vita ls after a dding----- ---------- ---------- ---------- --"
  51   patientrpc  = VistaRP C4r::Vista RPC.new("O RQQVI VITA LS", Vista RPC4r::RPC Response:: ARRAY)
  52   patientrpc .params[0] =dfn #pati ent ien
  53   patientres ponse = br oker.execu te(patient rpc)
  54   patientres ponse.valu e.each do  |d|
  55     puts d
  56   end
  57  
  58   p '[End]'