allscripts_unity_client 6.0.5 → 6.0.7
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8eb6ffa58999d69653320905fd1e3cf3c10a2ed882e92fd3957169555a288c42
|
4
|
+
data.tar.gz: abfeac15d3027a9128762fe34e53a48e622900dd5ede138b0ccdd159e30faa4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7683a41dbd9b77d154ef5ce5d9204e2bff84e4a2a2977cd43b004fa58b04992a11f47bcad2175fb058cc180d0ad055c58d54c3d38136df9598e2ae71b1accb7b
|
7
|
+
data.tar.gz: 4ec784ecf570244eaffa65b173b694c468ce60c27c310bb70fa83794e7e042a6d13d8e68b9d166d4d70990892fc05b18362cbadcff0fd4f0b7f070280870c6dd
|
@@ -146,13 +146,16 @@ module AllscriptsUnityClient
|
|
146
146
|
magic(magic_parameters)
|
147
147
|
end
|
148
148
|
|
149
|
-
def get_clinical_summary(userid, patientid, extra_med_data = false)
|
149
|
+
def get_clinical_summary(userid, patientid, extra_med_data = false, lookback_months= nil)
|
150
150
|
magic_parameters = {
|
151
151
|
action: 'GetClinicalSummary',
|
152
152
|
userid: userid,
|
153
153
|
patientid: patientid,
|
154
154
|
parameter3: unity_true_or_blank_parameter(extra_med_data)
|
155
155
|
}
|
156
|
+
|
157
|
+
magic_parameters.merge!(parameter4: lookback_months) if lookback_months
|
158
|
+
|
156
159
|
response = magic(magic_parameters)
|
157
160
|
|
158
161
|
unless response.is_a?(Array)
|
@@ -22,6 +22,14 @@ module AllscriptsUnityClient
|
|
22
22
|
conn.options.open_timeout = @options.timeout || 90
|
23
23
|
conn.proxy = @options.proxy if @options.proxy
|
24
24
|
end
|
25
|
+
|
26
|
+
@text_connection = Faraday.new do |conn|
|
27
|
+
conn.request :json
|
28
|
+
conn.adapter Faraday.default_adapter
|
29
|
+
conn.options.timeout = @options.timeout || 90
|
30
|
+
conn.options.open_timeout = @options.timeout || 90
|
31
|
+
conn.proxy = @options.proxy if @options.proxy
|
32
|
+
end
|
25
33
|
end
|
26
34
|
|
27
35
|
def build_uri(request_location)
|
@@ -90,7 +98,7 @@ module AllscriptsUnityClient
|
|
90
98
|
}
|
91
99
|
|
92
100
|
start_timer
|
93
|
-
response = @
|
101
|
+
response = @text_connection.post(build_uri('GetToken'), MultiJson.dump(request_data.to_hash))
|
94
102
|
end_timer
|
95
103
|
|
96
104
|
log_get_security_token
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: allscripts_unity_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.
|
4
|
+
version: 6.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- healthfinch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|