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: e87b6b46729f09f5e1b92cdf3bacef4bba0a183c633a1c726cbceaef758cd404
4
- data.tar.gz: 468de746b6c2b1356f0fcdefb5e6c6e519e03b1ab69510d754517d4cf2381f81
3
+ metadata.gz: 8eb6ffa58999d69653320905fd1e3cf3c10a2ed882e92fd3957169555a288c42
4
+ data.tar.gz: abfeac15d3027a9128762fe34e53a48e622900dd5ede138b0ccdd159e30faa4c
5
5
  SHA512:
6
- metadata.gz: '04911ee8af4e1b9dea35838e678bfaec57763c5238773b22bc317889be48723771289f79f869716e3a35f18be74ba1ba0f71b8f2081461bf18b1a024f9305345'
7
- data.tar.gz: fa94fac6084a89eb5b99c1b20dbb92eae4c850d0414f608ae8ecd1e60ba3ed4be5c8ed78eeccede69c00668954c53138b7c5b4473ab05eb11425bd85e41bc665
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 = @connection.post(build_uri('GetToken'), MultiJson.dump(request_data.to_hash))
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
@@ -1,3 +1,3 @@
1
1
  module AllscriptsUnityClient
2
- VERSION = '6.0.5'.freeze
2
+ VERSION = '6.0.7'.freeze
3
3
  end
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.5
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-06-13 00:00:00.000000000 Z
11
+ date: 2025-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday