allscripts_unity_client 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -1
- data/lib/allscripts_unity_client/client.rb +10 -0
- data/lib/allscripts_unity_client/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Allscripts Unity Client [![Build Status](https://travis-ci.org/healthfinch/allscripts-unity-client.png?branch=version1)](https://travis-ci.org/healthfinch/allscripts-unity-client) [![Coverage Status](https://coveralls.io/repos/healthfinch/allscripts-unity-client/badge.png?branch=version1)](https://coveralls.io/r/healthfinch/allscripts-unity-client?branch=version1)
|
2
2
|
|
3
|
-
The `allscripts_unity_client` gem is a Ruby client for the Allscripts Unity API.
|
3
|
+
The `allscripts_unity_client` gem is a Ruby client for the Allscripts Unity API. See http://remotecentral.allscripts.com/UnityAPIReference for more documentation on the API.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -108,6 +108,7 @@ A number of helper methods exist that abstract away the details of the Magic ope
|
|
108
108
|
- `get_dictionary(dictionary_name, userid = nil, site = nil)`
|
109
109
|
- `get_encounter_list(userid, patientid, encounter_type, when_param = nil, nostradamus = nil, show_past_flag = nil, billing_provider_user_name = nil)`
|
110
110
|
- `get_medication_by_trans_id(userid, patientid, transaction_id)`
|
111
|
+
- `get_medication_info(userid, ddid, patientid = nil)`
|
111
112
|
- `get_patient(userid, patientid, includepix = nil)`
|
112
113
|
- `get_patient_activity(userid, patientid)`
|
113
114
|
- `get_patient_problems(patientid, show_by_encounter_flag = nil, assessed = nil, encounter_id = nil, medcin_id = nil)`
|
@@ -191,6 +191,16 @@ module AllscriptsUnityClient
|
|
191
191
|
magic(magic_parameters)
|
192
192
|
end
|
193
193
|
|
194
|
+
def get_medication_info(userid, ddid, patientid = nil)
|
195
|
+
magic_parameters = {
|
196
|
+
:action => "GetMedicationInfo",
|
197
|
+
:userid => userid,
|
198
|
+
:patientid => patientid,
|
199
|
+
:parameter1 => ddid
|
200
|
+
}
|
201
|
+
magic(magic_parameters)
|
202
|
+
end
|
203
|
+
|
194
204
|
def get_order_history
|
195
205
|
raise NotImplementedError, "GetOrderHistory magic action not implemented"
|
196
206
|
end
|
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.3.
|
4
|
+
version: 1.3.1
|
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: 2014-01-
|
13
|
+
date: 2014-01-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: savon
|