allscripts_unity_client 2.1.4 → 2.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/README.md +1 -0
- data/lib/allscripts_unity_client/client.rb +7 -2
- data/lib/allscripts_unity_client/version.rb +1 -1
- data/spec/client_spec.rb +1 -4
- metadata +41 -41
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc5073d400a91cc9c727c894f3fcff07d7ea0650
|
4
|
+
data.tar.gz: 4d9eeec44fe3484e56fed4e8bfe1702e5ad3cd55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9838a612e6b3fa17ac01b0aafee7f2f1992b251f57b4b38655a500b2fe158ec36f6a845df7de8a4f9b1ed4cddcad2ba9fdeee21c391ea88db56c95bd920e9405
|
7
|
+
data.tar.gz: eacbfcf1967a3c14d7398bd601f0ba855703260af3196f311ef49f52e4abea6b6b8e1f8a30582eb6c6fc1a62d0f42298f88bdbd42516ea6998973f5af9d5b0d1
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -162,6 +162,7 @@ A number of helper methods exist that abstract away the details of the Magic ope
|
|
162
162
|
- `get_patient(userid, patientid, includepix = nil)`
|
163
163
|
- `get_patient_activity(userid, patientid)`
|
164
164
|
- `get_patient_problems(patientid, show_by_encounter_flag = nil, assessed = nil, encounter_id = nil, medcin_id = nil)`
|
165
|
+
- `get_patient_by_mrn(userid, mrn)`
|
165
166
|
- `get_patients_by_icd9(icd9, start = nil, end_param = nil)`
|
166
167
|
- `get_provider(provider_id = nil, user_name = nil)`
|
167
168
|
- `get_providers(security_filter = nil, name_filter = nil)`
|
@@ -242,8 +242,13 @@ module AllscriptsUnityClient
|
|
242
242
|
magic(magic_parameters)
|
243
243
|
end
|
244
244
|
|
245
|
-
def get_patient_by_mrn
|
246
|
-
|
245
|
+
def get_patient_by_mrn(userid, mrn)
|
246
|
+
magic_parameters = {
|
247
|
+
action: 'GetPatientByMRN',
|
248
|
+
userid: userid,
|
249
|
+
parameter1: mrn
|
250
|
+
}
|
251
|
+
magic(magic_parameters)
|
247
252
|
end
|
248
253
|
|
249
254
|
def get_patient_cda
|
data/spec/client_spec.rb
CHANGED
@@ -144,10 +144,7 @@ describe AllscriptsUnityClient::Client do
|
|
144
144
|
|
145
145
|
describe '#get_patient'
|
146
146
|
describe '#get_patient_activity'
|
147
|
-
|
148
|
-
describe '#get_patient_by_mrn' do
|
149
|
-
it { expect { subject.get_patient_by_mrn }.to raise_error(NotImplementedError) }
|
150
|
-
end
|
147
|
+
describe '#get_patient_by_mrn'
|
151
148
|
|
152
149
|
describe '#get_patient_cda' do
|
153
150
|
it { expect { subject.get_patient_cda }.to raise_error(NotImplementedError) }
|
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: 2.1.
|
4
|
+
version: 2.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ash Gupta
|
@@ -9,236 +9,236 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-07
|
12
|
+
date: 2014-08-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: savon
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - ~>
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: 2.6.0
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - ~>
|
25
|
+
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: 2.6.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: faraday
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - ~>
|
32
|
+
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: 0.9.0
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - ~>
|
39
|
+
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: 0.9.0
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: em-http-request
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - ~>
|
46
|
+
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: 1.1.2
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - ~>
|
53
|
+
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: 1.1.2
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: tzinfo
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- -
|
60
|
+
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '0'
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: nokogiri
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- - <
|
74
|
+
- - "<"
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '1.6'
|
77
|
-
- -
|
77
|
+
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
79
|
version: 1.4.0
|
80
80
|
type: :runtime
|
81
81
|
prerelease: false
|
82
82
|
version_requirements: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
|
-
- - <
|
84
|
+
- - "<"
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '1.6'
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 1.4.0
|
90
90
|
- !ruby/object:Gem::Dependency
|
91
91
|
name: nori
|
92
92
|
requirement: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - ~>
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 2.4.0
|
97
97
|
type: :runtime
|
98
98
|
prerelease: false
|
99
99
|
version_requirements: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - ~>
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: 2.4.0
|
104
104
|
- !ruby/object:Gem::Dependency
|
105
105
|
name: american_date
|
106
106
|
requirement: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - ~>
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 1.1.0
|
111
111
|
type: :runtime
|
112
112
|
prerelease: false
|
113
113
|
version_requirements: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - ~>
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: 1.1.0
|
118
118
|
- !ruby/object:Gem::Dependency
|
119
119
|
name: oj
|
120
120
|
requirement: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - ~>
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: 2.9.8
|
125
125
|
type: :runtime
|
126
126
|
prerelease: false
|
127
127
|
version_requirements: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - ~>
|
129
|
+
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: 2.9.8
|
132
132
|
- !ruby/object:Gem::Dependency
|
133
133
|
name: rubyntlm
|
134
134
|
requirement: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - ~>
|
136
|
+
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: 0.4.0
|
139
139
|
type: :runtime
|
140
140
|
prerelease: false
|
141
141
|
version_requirements: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - ~>
|
143
|
+
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: 0.4.0
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
147
|
name: factory_girl
|
148
148
|
requirement: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - ~>
|
150
|
+
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: 4.4.0
|
153
153
|
type: :development
|
154
154
|
prerelease: false
|
155
155
|
version_requirements: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - ~>
|
157
|
+
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: 4.4.0
|
160
160
|
- !ruby/object:Gem::Dependency
|
161
161
|
name: rake
|
162
162
|
requirement: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- - ~>
|
164
|
+
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: 10.3.1
|
167
167
|
type: :development
|
168
168
|
prerelease: false
|
169
169
|
version_requirements: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- - ~>
|
171
|
+
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: 10.3.1
|
174
174
|
- !ruby/object:Gem::Dependency
|
175
175
|
name: faker
|
176
176
|
requirement: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- - ~>
|
178
|
+
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: 1.4.2
|
181
181
|
type: :development
|
182
182
|
prerelease: false
|
183
183
|
version_requirements: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
|
-
- - ~>
|
185
|
+
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
187
|
version: 1.4.2
|
188
188
|
- !ruby/object:Gem::Dependency
|
189
189
|
name: rspec
|
190
190
|
requirement: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
|
-
- - ~>
|
192
|
+
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: 3.0.0
|
195
195
|
type: :development
|
196
196
|
prerelease: false
|
197
197
|
version_requirements: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
|
-
- - ~>
|
199
|
+
- - "~>"
|
200
200
|
- !ruby/object:Gem::Version
|
201
201
|
version: 3.0.0
|
202
202
|
- !ruby/object:Gem::Dependency
|
203
203
|
name: simplecov
|
204
204
|
requirement: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
|
-
- - ~>
|
206
|
+
- - "~>"
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: 0.8.2
|
209
209
|
type: :development
|
210
210
|
prerelease: false
|
211
211
|
version_requirements: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
|
-
- - ~>
|
213
|
+
- - "~>"
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: 0.8.2
|
216
216
|
- !ruby/object:Gem::Dependency
|
217
217
|
name: webmock
|
218
218
|
requirement: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
|
-
- - ~>
|
220
|
+
- - "~>"
|
221
221
|
- !ruby/object:Gem::Version
|
222
222
|
version: 1.18.0
|
223
223
|
type: :development
|
224
224
|
prerelease: false
|
225
225
|
version_requirements: !ruby/object:Gem::Requirement
|
226
226
|
requirements:
|
227
|
-
- - ~>
|
227
|
+
- - "~>"
|
228
228
|
- !ruby/object:Gem::Version
|
229
229
|
version: 1.18.0
|
230
230
|
- !ruby/object:Gem::Dependency
|
231
231
|
name: coveralls
|
232
232
|
requirement: !ruby/object:Gem::Requirement
|
233
233
|
requirements:
|
234
|
-
- - ~>
|
234
|
+
- - "~>"
|
235
235
|
- !ruby/object:Gem::Version
|
236
236
|
version: 0.7.0
|
237
237
|
type: :development
|
238
238
|
prerelease: false
|
239
239
|
version_requirements: !ruby/object:Gem::Requirement
|
240
240
|
requirements:
|
241
|
-
- - ~>
|
241
|
+
- - "~>"
|
242
242
|
- !ruby/object:Gem::Version
|
243
243
|
version: 0.7.0
|
244
244
|
description: Provides a simple interface to the Allscripts Unity API using JSON or
|
@@ -250,8 +250,8 @@ executables: []
|
|
250
250
|
extensions: []
|
251
251
|
extra_rdoc_files: []
|
252
252
|
files:
|
253
|
-
- .gitignore
|
254
|
-
- .travis.yml
|
253
|
+
- ".gitignore"
|
254
|
+
- ".travis.yml"
|
255
255
|
- Gemfile
|
256
256
|
- LICENSE
|
257
257
|
- README.md
|
@@ -329,17 +329,17 @@ require_paths:
|
|
329
329
|
- lib
|
330
330
|
required_ruby_version: !ruby/object:Gem::Requirement
|
331
331
|
requirements:
|
332
|
-
- -
|
332
|
+
- - ">"
|
333
333
|
- !ruby/object:Gem::Version
|
334
334
|
version: 1.9.3
|
335
335
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
336
336
|
requirements:
|
337
|
-
- -
|
337
|
+
- - ">="
|
338
338
|
- !ruby/object:Gem::Version
|
339
339
|
version: '0'
|
340
340
|
requirements: []
|
341
341
|
rubyforge_project:
|
342
|
-
rubygems_version: 2.
|
342
|
+
rubygems_version: 2.2.2
|
343
343
|
signing_key:
|
344
344
|
specification_version: 4
|
345
345
|
summary: Allscripts Unity API client
|