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

990.1 Files compared

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

990.2 Comparison summary

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

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

990.4 Active regular expressions

No regular expressions were active.

990.5 Comparison detail

  1   require 'v istarpc4r'
  2  
  3   @broker =  VistaRPC4r ::RPCBroke rConnectio n.new(" IP          ",  PORT , " REDACTED ", " REDACTED ", false)
  4   @broker.co nnect
  5   @broker.se tContext(' OR CPRS GU I CHART')
  6  
  7   all_types  = []
  8   last_type  = ""
  9  
  10   def get_ty pes(last_t ype, all_t ypes)
  11  
  12           vr pc = Vista RPC4r::Vis taRPC.new( "TIU LONG  LIST OF TI TLES", Vis taRPC4r::R PCResponse ::ARRAY)
  13  
  14           vr pc.params  = [
  15                    "3",
  16                    last _type,
  17                    "1",
  18           ]
  19  
  20           re sp = @brok er.execute (vrpc)
  21  
  22  
  23           re sp.value.e ach do |d|
  24                    arra y = d.spli t('^')
  25  
  26                    unle ss array[1 ].nil?
  27                             unless  array[1]. include?(' <')
  28                                      all_type s << "#{ar ray[1]} -  #{array[0] }"
  29                             end
  30                    end
  31           en d
  32  
  33           #  resp.value .each do | d|
  34           #        puts  d
  35           #  end
  36  
  37           if  resp.valu e.count >  0
  38                    last  = resp.va lue.last.s plit('^')
  39                    last _type = la st[1]
  40  
  41                    get_ types(last _type, all _types)
  42           en d
  43   end
  44  
  45   get_types( last_type,  all_types )
  46  
  47   puts all_t ypes
  48  
  49  
  50  
  51  
  52  
  53  
  54  
  55   # TIU LONG  LIST OF T ITLES
  56  
  57   # Params - ---------- ---------- ---------- ---------- ---------- ---------- -----
  58   # literal        3
  59   # literal
  60   # literal        1
  61  
  62  
  63  
  64  
  65  
  66   # save a n ote
  67  
  68  
  69   # vrpc = V istaRPC4r: :VistaRPC. new("TIU C REATE RECO RD", Vista RPC4r::RPC Response:: SINGLE_VAL UE)
  70   # vrpc.par ams = [
  71   #       "1 00841", #p atient id
  72   #       "1 6", # note  type
  73   #       "" ,
  74   #       "" ,
  75   #       "" ,
  76   #       [
  77   #                ["12 02","991"] , #provide r id
  78   #                ["13 01","31504 21.1150"],  # time
  79   #                ["12 05","195"] , #locatio n
  80   #                ["17 01",""]
  81   #       ],
  82   #       "1 95;3140512 .13;A", #  time and l ocation
  83   #       "1 "
  84   # ]
  85  
  86   # resp = b roker.exec ute(vrpc)
  87   # note_id  = resp.val ue
  88  
  89  
  90   # # save s ome text t o the note
  91  
  92  
  93   # vrpc = V istaRPC4r: :VistaRPC. new("TIU S ET DOCUMEN T TEXT", V istaRPC4r: :RPCRespon se::SINGLE _VALUE)
  94   # vrpc.par ams = [
  95   #       "# {note_id}" ,
  96   #       [
  97   #                ["\" TEXT\",1,0 ","Note Si gned"],
  98   #                ["\" HDR\"","1^ 1"]
  99   #       ],
  100   #       "0 "
  101   # ]
  102  
  103   # resp = b roker.exec ute(vrpc)
  104  
  105   # vrpc = V istaRPC4r: :VistaRPC. new("ORWPC E SAVE", V istaRPC4r: :RPCRespon se::SINGLE _VALUE)
  106   # vrpc.par ams = [
  107   #       [
  108   #                ["1" ,"HDR^0^^3 2;3150421. 1150;A"],  # time = 3 150416.151 35
  109   #                ["2" ,"VST^DT^3 150421.115 0"], # vis it time
  110   #                ["3" ,"VST^PT^1 00841"], #  patient i cn
  111   #                ["4" ,"VST^HL^3 2"], # loc ation, pri mary care
  112   #                ["5" ,"VST^VC^A "], # ????
  113   #                ["6" ,"PRV^991^ ^^PROVIDER ,EIGHT^1"] , # provid er
  114   #                ["7" ,"PED+^612 055^^HTN E XERCISE^@^ ^^^^1"], #  ed
  115   #                ["8" ,"COM^1^@" ],
  116   #                ["9" ,"HF+^2^^C URRENT SMO KER^H^^^^^ 1^"], # he alth facto r
  117   #                ["10 ","COM^2^@ "],
  118   #                ["11 ","HF+^5^^ CURRENT SM OKER^H^^^^ ^1^"], # h ealth fact or
  119   #                ["12 ","COM^3^@ "]
  120   #       ],
  121   #       "# {note_id}" ,
  122   #       "3 2"
  123   # ]
  124  
  125   # resp = b roker.exec ute(vrpc)
  126  
  127   # puts res p
  128  
  129   # # sign m e!!!
  130  
  131   # vrpc = V istaRPC4r: :VistaRPC. new("TIU S IGN RECORD ", VistaRP C4r::RPCRe sponse::SI NGLE_VALUE )
  132   # vrpc.par ams = [
  133   #       "# {note_id}" ,
  134   #       "% KpV7x&*p0"
  135   # ]
  136  
  137   # resp = b roker.exec ute(vrpc)
  138  
  139   # puts res p
  140  
  141   @broker.cl ose