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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | ehmp.zip\ehmp\ehmp\product\tests\data_load_scripts | health_factor.rb | Tue Dec 15 14:05:18 2015 UTC |
| 2 | ehmp.zip\ehmp\ehmp\product\tests\data_load_scripts | health_factor.rb | Tue Oct 3 14:31:08 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 160 |
| 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 'v istarpc4r' | |
| 2 | ||
| 3 | broker = V istaRPC4r: :RPCBroker Connection .new(" IP ", PORT , " REDACTED ", " REDACTED ", true) | |
| 4 | broker.con nect | |
| 5 | broker.set Context('O R CPRS GUI CHART') | |
| 6 | ||
| 7 | ||
| 8 | # save a n ote | |
| 9 | ||
| 10 | ||
| 11 | vrpc = Vis taRPC4r::V istaRPC.ne w("TIU CRE ATE RECORD ", VistaRP C4r::RPCRe sponse::SI NGLE_VALUE ) | |
| 12 | vrpc.param s = [ | |
| 13 | "1 00841", | |
| 14 | "1 6", | |
| 15 | "" , | |
| 16 | "" , | |
| 17 | "" , | |
| 18 | [ | |
| 19 | ["12 02","991"] , | |
| 20 | ["13 01","31504 21.1150"], | |
| 21 | ["12 05","195"] , | |
| 22 | ["17 01",""] | |
| 23 | ], | |
| 24 | "1 95;3140512 .13;A", | |
| 25 | "1 " | |
| 26 | ] | |
| 27 | ||
| 28 | resp = bro ker.execut e(vrpc) | |
| 29 | note_id = resp.value | |
| 30 | ||
| 31 | ||
| 32 | # save som e text to the note | |
| 33 | ||
| 34 | ||
| 35 | vrpc = Vis taRPC4r::V istaRPC.ne w("TIU SET DOCUMENT TEXT", Vis taRPC4r::R PCResponse ::SINGLE_V ALUE) | |
| 36 | vrpc.param s = [ | |
| 37 | "# {note_id}" , | |
| 38 | [ | |
| 39 | ["\" TEXT\",1,0 ","Note Si gned"], | |
| 40 | ["\" HDR\"","1^ 1"] | |
| 41 | ], | |
| 42 | "0 " | |
| 43 | ] | |
| 44 | ||
| 45 | resp = bro ker.execut e(vrpc) | |
| 46 | ||
| 47 | vrpc = Vis taRPC4r::V istaRPC.ne w("ORWPCE SAVE", Vis taRPC4r::R PCResponse ::SINGLE_V ALUE) | |
| 48 | vrpc.param s = [ | |
| 49 | [ | |
| 50 | ["1" ,"HDR^0^^3 2;3150421. 1150;A"], # time = 3 150416.151 35 | |
| 51 | ["2" ,"VST^DT^3 150421.115 0"], # vis it time | |
| 52 | ["3" ,"VST^PT^1 00841"], # patient i cn | |
| 53 | ["4" ,"VST^HL^3 2"], # loc ation, pri mary care | |
| 54 | ["5" ,"VST^VC^A "], # ???? | |
| 55 | ["6" ,"PRV^991^ ^^PROVIDER ,EIGHT^1"] , # provid er | |
| 56 | ["7" ,"PED+^612 055^^HTN E XERCISE^@^ ^^^^1"], # ed | |
| 57 | ["8" ,"COM^1^@" ], | |
| 58 | ["9" ,"HF+^2^^C URRENT SMO KER^H^^^^^ 1^"], # he alth facto r | |
| 59 | ["10 ","COM^2^@ "], | |
| 60 | ["11 ","HF+^5^^ CURRENT SM OKER^H^^^^ ^1^"], # h ealth fact or | |
| 61 | ["12 ","COM^3^@ "] | |
| 62 | ], | |
| 63 | "# {note_id}" , | |
| 64 | "3 2" | |
| 65 | ] | |
| 66 | ||
| 67 | resp = bro ker.execut e(vrpc) | |
| 68 | ||
| 69 | puts resp | |
| 70 | ||
| 71 | # sign me! !! | |
| 72 | ||
| 73 | vrpc = Vis taRPC4r::V istaRPC.ne w("TIU SIG N RECORD", VistaRPC4 r::RPCResp onse::SING LE_VALUE) | |
| 74 | vrpc.param s = [ | |
| 75 | "# {note_id}" , | |
| 76 | "% KpV7x&*p0" | |
| 77 | ] | |
| 78 | ||
| 79 | resp = bro ker.execut e(vrpc) | |
| 80 | ||
| 81 | puts resp |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.