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

978.1 Files compared

# Location File Last Modified
1 ehmp.zip\ehmp\ehmp\product\tests\data_load_scripts\domain_loaders allergy.rb Tue Jan 10 16:20:50 2017 UTC
2 ehmp.zip\ehmp\ehmp\product\tests\data_load_scripts\domain_loaders allergy.rb Tue Oct 3 14:27:04 2017 UTC

978.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 3 96
Changed 2 4
Inserted 0 0
Removed 0 0

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

978.4 Active regular expressions

No regular expressions were active.

978.5 Comparison detail

  1   require 'v istarpc4r'
  2  
  3   # options
  4   #--------- ---------- ---------- -------
  5   serve_ip =  " IP          "
  6   allergy_am ount = 212  # up to 2 12
  7   patient_id  = "100841 " # alpha  test
  8   #--------- ---------- ---------- -------
  9  
  10  
  11   broker = V istaRPC4r: :RPCBroker Connection .new(serve _ip, 9210,  " REDACTED ", " REDACTED !", false)
  12   broker.con nect
  13   broker.set Context('O R CPRS GUI  CHART')
  14  
  15  
  16   # get the  SSN for th e patient
  17   patient_rp c = VistaR PC4r::Vist aRPC.new(" ORWPT ID I NFO", Vist aRPC4r::RP CResponse: :SINGLE_VA LUE)
  18   patient_rp c.params =  [
  19           pa tient_id
  20   ]
  21  
  22   patient_re sp = broke r.execute( patient_rp c)
  23   social = p atient_res p.value.sp lit("^")[0 ]
  24  
  25  
  26   rpc = Vist aRPC4r::Vi staRPC.new ("ISI IMPO RT ALLERGY ", VistaRP C4r::RPCRe sponse::AR RAY)
  27  
  28   count = 0
  29   File.open( "./allergi es.txt", " r") do |f|
  30     f.each_l ine do |li ne|
  31           rp c.params =  [[
  32                    ["1" ,"PAT_SSN^ #{social}" ],
  33                    ["2" , "HISTORI C^1"],
  34                    ["3" , "ALLERGE N^#{line.s trip}"],
  35                    ["4" , "SYMPTOM ^ITCHING"] ,
  36                    ["5" , "SYMPTOM ^ITCHING,W ATERING EY ES"],
  37                    ["6" , "ORIG_DA TE^T-#{cou nt}"],
  38                    ["7" , "ORIGINT R^PROVIDER ,ONE"]
  39           ]]
  40  
  41  
  42           br oker.execu te(rpc)
  43  
  44           co unt = coun t + 1
  45           if  count >=  allergy_am ount
  46                    brea k
  47           en d
  48     end
  49     f.close
  50   end