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

1018.1 Files compared

# Location File Last Modified
1 ehmp.zip\ehmp\ehmp\product\tests\vistarpc4r\examples new_add_vitals.rb Tue Jan 10 16:20:50 2017 UTC
2 ehmp.zip\ehmp\ehmp\product\tests\vistarpc4r\examples new_add_vitals.rb Tue Oct 3 14:55:15 2017 UTC

1018.2 Comparison summary

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

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

1018.4 Active regular expressions

No regular expressions were active.

1018.5 Comparison detail

  1   # require  'rubygems'
  2   # # requir e 'vistarp c4r'
  3  
  4   # require  './../lib/ vistarpc4r /rpc_respo nse'
  5   # require  './../lib/ vistarpc4r /vista_rpc '
  6   # require  './../lib/ vistarpc4r /rpc_broke r_connecti on'
  7  
  8   # path = F ile.expand _path '..' , __FILE__
  9   # $LOAD_PA TH.unshift  path unle ss $LOAD_P ATH.includ e?(path)
  10   # path = F ile.expand _path '../ ../../../a cceptance- tests/feat ures/steps ', __FILE_ _
  11   # p path
  12   # $LOAD_PA TH.unshift  path unle ss $LOAD_P ATH.includ e?(path)
  13  
  14   # # requir e "TestSup port.rb"
  15   # require  "httparty"
  16   # ppp
  17  
  18   # broker =  VistaRPC4 r::RPCBrok erConnecti on.new(' IP          ',  PORT , ' REDACT ', ' REDACTED ', false)
  19  
  20   # broker.c onnect
  21   # p "The R PC Broker  Connection  status is  #{broker. isConnecte d}"
  22  
  23   # broker.s etContext( 'OR CPRS G UI CHART')
  24  
  25   # #wardsrp c = VistaR PC4r::Vist aRPC.new(" ORQPT WARD S", VistaR PC4r::RPCR esponse::A RRAY)
  26   # #wardsre sponse = b roker.exec ute(wardsr pc)
  27   # #wardsre sponse.val ue.each do  |d|
  28   # #  puts  d
  29   # #end
  30  
  31  
  32   # # preset  some vari ables
  33   # dfn = "1 23"  # int ernal id o f the pati ent, CLINI CAL, Male
  34   # provider  ="1000000 0177"  #in ternal id  of care pr ovider Phy sican, Use r
  35   # location  = "GEN ME D"  # hosp ital locat ion  ICU=1  MED/SURG= 2 PSYCH=3
  36   # thedate  = "3110525 "
  37   # thedatet ime = "311 0525.16010 0"
  38   # # Vitals
  39   # puts "Vi tals befor e adding-- ---------- ---------- ---------- -----"
  40   # patientr pc = Vista RPC4r::Vis taRPC.new( "ORQQVI VI TALS", Vis taRPC4r::R PCResponse ::ARRAY)
  41   # patientr pc.params[ 0]=dfn #pa tient ien
  42   # # p pati entrpc
  43   # patientr esponse =  broker.exe cute(patie ntrpc)
  44   # patientr esponse.va lue.each d o |d|
  45     # puts d
  46   # end
  47  
  48   # p "----- ---------- -----1st"
  49   # broker.s etContext( 'HMP UI CO NTEXT')
  50   # data_vit als = {}
  51   # #  Add a  new probl em
  52   # # vrpc =  VistaRPC4 r::VistaRP C.new("HMP  PUT OPERA TIONAL DAT A", VistaR PC4r::RPCR esponse::A RRAY)
  53   # vrpc = V istaRPC4r: :VistaRPC. new("HMP P UT OPERATI ONAL DATA" , VistaRPC 4r::RPCRes ponse::SIN GLE_VALUE)
  54   # # vrpc.p arams[0]=  0
  55   # # vrpc.p arams[1]=  123
  56   # # p data _vitals["d omain"] =  "vitals"
  57   # # p data _vitals["d ata"] = "3 150616.090 0^123^1;12 0/60;^67^5 *2:38:50:7 5"
  58                    # #  # [
  59                      #  # # ["1",  "VST^DT^#{ thedatetim e}"],  # V ital date
  60                      #  # # ["2",  "VST^PT^#{ dfn}"], #  Patient
  61                      #  # # ["3",  "VST^HL^#{ location}" ], # locat ion
  62                      #  # # ["4",  "VIT^BP^^^ 120/60^#{p rovider}^^ #{thedatet ime}"]
  63                     # #  # ]
  64                     # #  p data_vi tals
  65   # # vrpc.p arams[2] =  data_vita ls
  66   # # vrpc.p arams = [
  67     # # 0,
  68     # # 123,
  69     # # [
  70       # # [' "domain"', 'vitals'],
  71       # # [' "data"', ' 3150616.09 00^123^1;1 20/60;^67^ 5*2:38:50: 75']
  72     # # ]
  73   # # ]
  74  
  75         # vr pc.params[ 0] = "0"
  76         # vr pc.params[ 1] = "123"
  77         # vr pc.params[ 2] = [
  78                      #  ["\"domain \"", "vita ls"],
  79                      #  ["\"data\" ", "315070 1^123^1;12 0/80;^23^1 0000000224 *2:38:50:7 5"]
  80                     # ]
  81   # p vrpc
  82   # resp=bro ker.execut e(vrpc)
  83   # p "*"*10
  84   # puts res p
  85   # puts res p.class
  86   # puts t =  resp.valu e
  87   # puts t.c lass
  88   # json_obj ect = JSON .parse(t.b ody)
  89  
  90   # # puts t  = resp.to _s
  91   # # puts t 1 = t.spli t(",")
  92   # p "*"*10
  93  
  94   # puts "Vi tals after  adding--- ---------- ---------- ---------- ----"
  95   # broker.s etContext( 'OR CPRS G UI CHART')
  96   # patientr pc = Vista RPC4r::Vis taRPC.new( "ORQQVI VI TALS", Vis taRPC4r::R PCResponse ::ARRAY)
  97   # patientr pc.params[ 0]=dfn #pa tient ien
  98   # patientr esponse =  broker.exe cute(patie ntrpc)
  99   # patientr esponse.va lue.each d o |d|
  100     # puts d
  101   # end
  102  
  103   # p '[End] '