Produced by Araxis Merge on 10/2/2017 1:40:10 PM 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 | chef-repo.zip\chef-repo\project_cookbooks\vista\providers | patient.rb | Thu Mar 23 16:44:19 2017 UTC |
| 2 | chef-repo.zip\chef-repo\project_cookbooks\vista\providers | patient.rb | Mon Oct 2 15:26:56 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 70 |
| 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 | # | |
| 2 | # Cookbook Name:: vi sta | |
| 3 | # Resource :: patient s | |
| 4 | # | |
| 5 | # creates patients | |
| 6 | # | |
| 7 | ||
| 8 | action :cr eate do | |
| 9 | ||
| 10 | chef_gem 'vistarpc 4r' do | |
| 11 | versio n '0.3.0' | |
| 12 | end | |
| 13 | require 'rubygems' | |
| 14 | require 'vistarpc4 r' | |
| 15 | ||
| 16 | ruby_blo ck "appoin tment:crea te:#{new_r esource}" do | |
| 17 | block do | |
| 18 | ||
| 19 | broker = V istaRPC4r: :RPCBroker Connection .new("127. 0.0.1", 92 10, " REDACTED ", " REDACTED ", false) | |
| 20 | brok er.connect | |
| 21 | brok er.setCont ext('OR CP RS GUI CHA RT') | |
| 22 | ||
| 23 | pati ent_rpc = VistaRPC4r ::VistaRPC .new("ISI IMPORT PAT ", VistaRP C4r::RPCRe sponse::AR RAY) | |
| 24 | pati ent_rpc.pa rams = [[ | |
| 25 | [" 1", "TEMPL ATE^DEFAUL T"], | |
| 26 | [" 2", "IMP_T YPE^I"], | |
| 27 | [" 3", "NAME^ #{new_reso urce.name} "], | |
| 28 | [" 4", "SEX^# {new_resou rce.sex}"] , | |
| 29 | [" 5", "DOB^# {new_resou rce.dob}"] | |
| 30 | ]] | |
| 31 | ||
| 32 | ||
| 33 | brok er.execute (patient_r pc) | |
| 34 | end | |
| 35 | end | |
| 36 | end |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.