primary_connect_client 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +4 -4
- data/docs/Result.md +3 -1
- data/lib/primary_connect_client/models/result.rb +14 -4
- data/lib/primary_connect_client/version.rb +1 -1
- data/primary_connect_client.gemspec +0 -1
- data/spec/models/result_spec.rb +6 -0
- metadata +3 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc7c8d64d34288e19f3be0333f90299472f061ac3479970b6de8bf5a62d15f4b
|
4
|
+
data.tar.gz: abadc44e5964ac49d732947e68d9b12231c617c549d57960d55bf2e8031a8549
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4390f1caf05f6341f6717d4998aac5bd50d85aa3e0db39fafcf315ad039afde47a568a0ad87e2749001ae9a4af95fa006c422d72b0a70270916bed2f3bf3902d
|
7
|
+
data.tar.gz: 2368fb916550e41c397a39c85ebaa1191ec7178cd5dd8aa490144462bdde681d1583845ee74a58ec4ac69799f0a284075fe899b6659a0c908305a65a1571ada8
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Client Library to interface with Primary Connect
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v1
|
10
|
-
- Package version: 1.
|
10
|
+
- Package version: 1.12.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,16 +23,16 @@ gem build primary_connect_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./primary_connect_client-1.
|
26
|
+
gem install ./primary_connect_client-1.12.0.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./primary_connect_client-1.
|
29
|
+
(for development, run `gem install --dev ./primary_connect_client-1.12.0.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'primary_connect_client', '~> 1.
|
35
|
+
gem 'primary_connect_client', '~> 1.12.0'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
data/docs/Result.md
CHANGED
@@ -24,6 +24,7 @@
|
|
24
24
|
| **finding_value** | [**CodedValue**](CodedValue.md) | | [optional] |
|
25
25
|
| **resulting_device** | [**Device**](Device.md) | | [optional] |
|
26
26
|
| **procedure** | [**CodedValue**](CodedValue.md) | | [optional] |
|
27
|
+
| **suppress** | **Boolean** | Controls provider/patient notification. Default `false` which will notify. | [optional] |
|
27
28
|
|
28
29
|
## Example
|
29
30
|
|
@@ -50,7 +51,8 @@ instance = PrimaryConnectClient::Result.new(
|
|
50
51
|
producer_order_id: 12345678,
|
51
52
|
finding_value: null,
|
52
53
|
resulting_device: null,
|
53
|
-
procedure: null
|
54
|
+
procedure: null,
|
55
|
+
suppress: null
|
54
56
|
)
|
55
57
|
```
|
56
58
|
|
@@ -64,6 +64,9 @@ module PrimaryConnectClient
|
|
64
64
|
|
65
65
|
attr_accessor :procedure
|
66
66
|
|
67
|
+
# Controls provider/patient notification. Default `false` which will notify.
|
68
|
+
attr_accessor :suppress
|
69
|
+
|
67
70
|
class EnumAttributeValidator
|
68
71
|
attr_reader :datatype
|
69
72
|
attr_reader :allowable_values
|
@@ -108,7 +111,8 @@ module PrimaryConnectClient
|
|
108
111
|
:'producer_order_id' => :'producerOrderId',
|
109
112
|
:'finding_value' => :'findingValue',
|
110
113
|
:'resulting_device' => :'resultingDevice',
|
111
|
-
:'procedure' => :'procedure'
|
114
|
+
:'procedure' => :'procedure',
|
115
|
+
:'suppress' => :'suppress'
|
112
116
|
}
|
113
117
|
end
|
114
118
|
|
@@ -139,7 +143,8 @@ module PrimaryConnectClient
|
|
139
143
|
:'producer_order_id' => :'String',
|
140
144
|
:'finding_value' => :'CodedValue',
|
141
145
|
:'resulting_device' => :'Device',
|
142
|
-
:'procedure' => :'CodedValue'
|
146
|
+
:'procedure' => :'CodedValue',
|
147
|
+
:'suppress' => :'Boolean'
|
143
148
|
}
|
144
149
|
end
|
145
150
|
|
@@ -248,6 +253,10 @@ module PrimaryConnectClient
|
|
248
253
|
if attributes.key?(:'procedure')
|
249
254
|
self.procedure = attributes[:'procedure']
|
250
255
|
end
|
256
|
+
|
257
|
+
if attributes.key?(:'suppress')
|
258
|
+
self.suppress = attributes[:'suppress']
|
259
|
+
end
|
251
260
|
end
|
252
261
|
|
253
262
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -323,7 +332,8 @@ module PrimaryConnectClient
|
|
323
332
|
producer_order_id == o.producer_order_id &&
|
324
333
|
finding_value == o.finding_value &&
|
325
334
|
resulting_device == o.resulting_device &&
|
326
|
-
procedure == o.procedure
|
335
|
+
procedure == o.procedure &&
|
336
|
+
suppress == o.suppress
|
327
337
|
end
|
328
338
|
|
329
339
|
# @see the `==` method
|
@@ -335,7 +345,7 @@ module PrimaryConnectClient
|
|
335
345
|
# Calculates hash code according to all attributes.
|
336
346
|
# @return [Integer] Hash code
|
337
347
|
def hash
|
338
|
-
[code, related_group_id, specimen, value, value_type, completion_date_time, report, units, notes, abnormal_flag, status, primary_results_interpreter, producer, performer, reference_range, observation_method, producer_order_id, finding_value, resulting_device, procedure].hash
|
348
|
+
[code, related_group_id, specimen, value, value_type, completion_date_time, report, units, notes, abnormal_flag, status, primary_results_interpreter, producer, performer, reference_range, observation_method, producer_order_id, finding_value, resulting_device, procedure, suppress].hash
|
339
349
|
end
|
340
350
|
|
341
351
|
# Builds the object from hash
|
@@ -28,7 +28,6 @@ Gem::Specification.new do |s|
|
|
28
28
|
s.required_ruby_version = ">= 2.4"
|
29
29
|
|
30
30
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
31
|
-
s.add_runtime_dependency 'primary_connect_proto', '~> 0.23.0', '>= 0.23.0'
|
32
31
|
|
33
32
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
34
33
|
|
data/spec/models/result_spec.rb
CHANGED
@@ -157,4 +157,10 @@ describe PrimaryConnectClient::Result do
|
|
157
157
|
end
|
158
158
|
end
|
159
159
|
|
160
|
+
describe 'test attribute "suppress"' do
|
161
|
+
it 'should work' do
|
162
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
160
166
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: primary_connect_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -30,26 +30,6 @@ dependencies:
|
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.0.1
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: primary_connect_proto
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - "~>"
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 0.23.0
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: 0.23.0
|
43
|
-
type: :runtime
|
44
|
-
prerelease: false
|
45
|
-
version_requirements: !ruby/object:Gem::Requirement
|
46
|
-
requirements:
|
47
|
-
- - "~>"
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: 0.23.0
|
50
|
-
- - ">="
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: 0.23.0
|
53
33
|
- !ruby/object:Gem::Dependency
|
54
34
|
name: rspec
|
55
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -296,7 +276,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
296
276
|
- !ruby/object:Gem::Version
|
297
277
|
version: '0'
|
298
278
|
requirements: []
|
299
|
-
rubygems_version: 3.
|
279
|
+
rubygems_version: 3.4.13
|
300
280
|
signing_key:
|
301
281
|
specification_version: 4
|
302
282
|
summary: Primary Connect API V1 Ruby Gem
|