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\vista-rpc-tests\vistarpc4r\examples | test.rb | Tue Dec 15 14:05:18 2015 UTC |
| 2 | ehmp.zip\ehmp\ehmp\product\tests\vista-rpc-tests\vistarpc4r\examples | test.rb | Tue Oct 3 14:52:39 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 206 |
| 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 '. /../lib/vi starpc4r/r pc_respons e' | |
| 2 | require '. /../lib/vi starpc4r/v ista_rpc' | |
| 3 | require '. /../lib/vi starpc4r/r pc_broker_ connection ' | |
| 4 | require '. /../lib/vi starpc4r/d omains_act ion' | |
| 5 | ||
| 6 | test = Dom ainsView.n ew | |
| 7 | p test.vi ew_patient s_list "9e 7a" | |
| 8 | p test.vi ew_meds "9 e7a;3" | |
| 9 | p test.vi ew_vitals "9e7a;3" | |
| 10 | p test.vi ew_labs "9 e7a;3" | |
| 11 | p test.vi ew_demo "9 e7a;3" | |
| 12 | p test.vi ew_visits "9e7a;3" | |
| 13 | p test.vi ew_detail "9e7a;3" | |
| 14 | p test.vi ew_notific ations "9e 7a;3" | |
| 15 | p test.vi ew_info "9 e7a;3" | |
| 16 | p test.vi ew_problem _list "9e7 a;3" | |
| 17 | p test.vi ew_allergy "9e7a;3" | |
| 18 | p test.vi ew_admissi on_list "9 e7a;3" | |
| 19 | p test.vi ew_appoint ments_list "9e7a;3" | |
| 20 | ||
| 21 | #p test.vi ew_all_pat ients "9e7 a" | |
| 22 | # Medspher e maintain s a public demo Open VistA serv er. It re sets all o f its cont ent every night. | |
| 23 | # Info her e ---> htt ps://medsp here.org/d ocs/DOC-10 03 | |
| 24 | ||
| 25 | ||
| 26 | # broker = VistaRPC4 r::RPCBrok erConnecti on.new(' IP ', PORT , ' REDACT ', ' REDACTED ') | |
| 27 | # broker .connect | |
| 28 | ||
| 29 | # p "The RPC Broke r Connecti on status is #{broke r.isConnec ted}" | |
| 30 | ||
| 31 | # broker .setContex t('OR CPRS GUI CHART ') | |
| 32 | ||
| 33 | # patien t_ien = "9 E7A;3" | |
| 34 | ||
| 35 | ||
| 36 | # def pati ents_list( broker) | |
| 37 | # wardsa rray = bro ker.call_a ("ORQPT WA RDS") | |
| 38 | ||
| 39 | # ward sarray.eac h do |ward | | |
| 40 | # a = ward.spl it("^") | |
| 41 | # pu ts "Ward:" + a[1] | |
| 42 | # wa rdarray = broker.cal l_a("ORQPT WARD PATI ENTS", [a[ 0]]) # wa rd ien | |
| 43 | # wardarray. each do |p atient| | |
| 44 | # b = pati ent.split( "^") | |
| 45 | # puts b[0 ] + ":" + b[1] | |
| 46 | # end | |
| 47 | # end | |
| 48 | # end | |
| 49 | ||
| 50 | # def prob lem_list(b roker, pat ient_ien) | |
| 51 | # # Proble m list | |
| 52 | # puts " Problem li st-------- ---------- ---------- ---------" | |
| 53 | # patien tarray = b roker.call _a("ORQQPL LIST", [p atient_ien , "A"]) | |
| 54 | # pati entarray.e ach do |d| | |
| 55 | # pu ts d | |
| 56 | # end | |
| 57 | # end | |
| 58 | # patient s_list bro ker | |
| 59 | # problem _list brok er, patien t_ien | |
| 60 | ||
| 61 | # | |
| 62 | # # Medica tions | |
| 63 | # puts "Me dications- ---------- ---------- ---------- ------" | |
| 64 | # patienta rray = bro ker.call_a ("ORWPS CO VER", [pat ient_ien]) | |
| 65 | # patienta rray.each do |d| | |
| 66 | # puts d | |
| 67 | # end | |
| 68 | # | |
| 69 | # | |
| 70 | # #Labs | |
| 71 | # puts "La bs-------- ---------- ---------- ---------" | |
| 72 | # patienta rray = bro ker.call_a ("ORWCV LA B", [patie nt_ien]) | |
| 73 | # patienta rray.each do |d| | |
| 74 | # puts d | |
| 75 | # end | |
| 76 | # | |
| 77 | # # Vitals | |
| 78 | # puts "Vi tals------ ---------- ---------- ---------- -" | |
| 79 | # patienta rray = bro ker.call_a ("ORQQVI V ITALS", [p atient_ien ]) | |
| 80 | # patienta rray.each do |d| | |
| 81 | # puts d | |
| 82 | # end | |
| 83 | # | |
| 84 | # # Demo | |
| 85 | # puts "De mographics ---------- ---------- ---------- -------" | |
| 86 | # patienta rray = bro ker.call_a ("ORWPT PT INQ", [pat ient_ien]) | |
| 87 | # patienta rray.each do |d| | |
| 88 | # puts d | |
| 89 | # end | |
| 90 | # | |
| 91 | # #visits | |
| 92 | # puts "Vi sits------ ---------- ---------- ---------- -" | |
| 93 | # patienta rray = bro ker.call_a ("ORWCV VS T", [patie nt_ien]) | |
| 94 | # patienta rray.each do |d| | |
| 95 | # puts d | |
| 96 | # end | |
| 97 | # | |
| 98 | # #provide rs | |
| 99 | # puts "Pr oviders--- ---------- ---------- ---------- " | |
| 100 | # patienta rray = bro ker.call_a ("ORQPT PR OVIDERS") | |
| 101 | # patienta rray.each do |d| | |
| 102 | # puts d | |
| 103 | # end | |
| 104 | # p 'test' |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.