allscripts_unity_client 1.2.5 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -263,7 +263,13 @@ module AllscriptsUnityClient
|
|
263
263
|
:parameter3 => encounter_id,
|
264
264
|
:parameter4 => medcin_id
|
265
265
|
}
|
266
|
-
magic(magic_parameters)
|
266
|
+
response = magic(magic_parameters)
|
267
|
+
|
268
|
+
unless response.is_a?(Array)
|
269
|
+
response = [ response ]
|
270
|
+
end
|
271
|
+
|
272
|
+
response
|
267
273
|
end
|
268
274
|
|
269
275
|
def get_patients_by_icd9(icd9, start = nil, end_param = nil)
|
@@ -303,7 +309,13 @@ module AllscriptsUnityClient
|
|
303
309
|
:parameter1 => security_filter,
|
304
310
|
:parameter2 => name_filter
|
305
311
|
}
|
306
|
-
magic(magic_parameters)
|
312
|
+
response = magic(magic_parameters)
|
313
|
+
|
314
|
+
unless response.is_a?(Array)
|
315
|
+
response = [ response ]
|
316
|
+
end
|
317
|
+
|
318
|
+
response
|
307
319
|
end
|
308
320
|
|
309
321
|
def get_ref_providers_by_specialty
|
@@ -586,7 +598,14 @@ module AllscriptsUnityClient
|
|
586
598
|
:patientid => patientid,
|
587
599
|
:parameter1 => search
|
588
600
|
}
|
589
|
-
|
601
|
+
|
602
|
+
response = magic(magic_parameters)
|
603
|
+
|
604
|
+
unless response.is_a?(Array)
|
605
|
+
response = [ response ]
|
606
|
+
end
|
607
|
+
|
608
|
+
response
|
590
609
|
end
|
591
610
|
|
592
611
|
def search_patients(search)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: allscripts_unity_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-12-
|
13
|
+
date: 2013-12-10 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: savon
|