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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | ehmp.zip\ehmp\ehmp\product\tests\vistarpc4r\examples | add_vitals.rb | Tue Jan 10 16:20:50 2017 UTC |
| 2 | ehmp.zip\ehmp\ehmp\product\tests\vistarpc4r\examples | add_vitals.rb | Tue Oct 3 14:55:04 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 114 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 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 | # broker = VistaRPC4 r::RPCBrok erConnecti on.new(' IP ', PORT , ' REDACT ', ' REDACTED ', false) | |
| 9 | # | |
| 10 | # broker.c onnect | |
| 11 | # p "The R PC Broker Connection status is #{broker. isConnecte d}" | |
| 12 | # | |
| 13 | # broker.s etContext( 'OR CPRS G UI CHART') | |
| 14 | # | |
| 15 | # #wardsrp c = VistaR PC4r::Vist aRPC.new(" ORQPT WARD S", VistaR PC4r::RPCR esponse::A RRAY) | |
| 16 | # #wardsre sponse = b roker.exec ute(wardsr pc) | |
| 17 | # #wardsre sponse.val ue.each do |d| | |
| 18 | # # puts d | |
| 19 | # #end | |
| 20 | # | |
| 21 | # | |
| 22 | # # preset some vari ables | |
| 23 | # dfn = "1 23" # int ernal id o f the pati ent, CLINI CAL, Male | |
| 24 | # provider ="1000000 0177" #in ternal id of care pr ovider Phy sican, Use r | |
| 25 | # location = "GEN ME D" # hosp ital locat ion ICU=1 MED/SURG= 2 PSYCH=3 | |
| 26 | # thedate = "3110525 " | |
| 27 | # thedatet ime = "311 0525.16010 0" | |
| 28 | # # Vitals | |
| 29 | # puts "Vi tals befor e adding-- ---------- ---------- ---------- -----" | |
| 30 | # patientr pc = Vista RPC4r::Vis taRPC.new( "ORQQVI VI TALS", Vis taRPC4r::R PCResponse ::ARRAY) | |
| 31 | # patientr pc.params[ 0]=dfn #pa tient ien | |
| 32 | # patientr esponse = broker.exe cute(patie ntrpc) | |
| 33 | # patientr esponse.va lue.each d o |d| | |
| 34 | # puts d | |
| 35 | # end | |
| 36 | # | |
| 37 | # p "----- ---------- -----" | |
| 38 | # # Add a new probl em | |
| 39 | # vrpc = V istaRPC4r: :VistaRPC. new("ORQQV I2 VITALS VAL & STOR E", VistaR PC4r::RPCR esponse::A RRAY) | |
| 40 | # vrpc.par ams[0] = [ | |
| 41 | # ["1", "VST ^DT^#{thed atetime}"] , # Vital date | |
| 42 | # ["2", "VST ^PT^#{dfn} "], # Pati ent | |
| 43 | # ["3", "VST ^HL^#{loca tion}"], # location | |
| 44 | # ["4", "VIT ^BP^^^120/ 160^#{prov ider}^^#{t hedatetime }"] | |
| 45 | # ] | |
| 46 | # p vrpc | |
| 47 | # resp=bro ker.execut e(vrpc) | |
| 48 | # puts res p | |
| 49 | # | |
| 50 | # puts "Vi tals after adding--- ---------- ---------- ---------- ----" | |
| 51 | # patientr pc = Vista RPC4r::Vis taRPC.new( "ORQQVI VI TALS", Vis taRPC4r::R PCResponse ::ARRAY) | |
| 52 | # patientr pc.params[ 0]=dfn #pa tient ien | |
| 53 | # patientr esponse = broker.exe cute(patie ntrpc) | |
| 54 | # patientr esponse.va lue.each d o |d| | |
| 55 | # puts d | |
| 56 | # end | |
| 57 | # | |
| 58 | # p '[End] ' |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.