primary_connect_client 1.3.0 → 1.5.0
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 +4 -4
- data/CHANGELOG.md +10 -0
- data/README.md +18 -7
- data/docs/Accession.md +18 -0
- data/docs/AccessionOrder.md +18 -0
- data/docs/DefaultApi.md +275 -0
- data/docs/Device.md +5 -3
- data/docs/Ids.md +18 -0
- data/docs/Measurement.md +22 -0
- data/docs/OrderOrder.md +4 -0
- data/docs/Result.md +3 -1
- data/docs/V2Device.md +5 -3
- data/lib/primary_connect_client/api/default_api.rb +249 -0
- data/lib/primary_connect_client/models/accession.rb +218 -0
- data/lib/primary_connect_client/models/accession_order.rb +219 -0
- data/lib/primary_connect_client/models/demographics.rb +2 -2
- data/lib/primary_connect_client/models/device.rb +21 -12
- data/lib/primary_connect_client/models/ids.rb +221 -0
- data/lib/primary_connect_client/models/measurement.rb +240 -0
- data/lib/primary_connect_client/models/order_order.rb +23 -1
- data/lib/primary_connect_client/models/result.rb +13 -4
- data/lib/primary_connect_client/models/v2_device.rb +21 -12
- data/lib/primary_connect_client/version.rb +1 -1
- data/lib/primary_connect_client.rb +4 -0
- data/primary_connect_client.gemspec +1 -1
- data/spec/api/default_api_spec.rb +45 -0
- data/spec/models/accession_order_spec.rb +34 -0
- data/spec/models/accession_spec.rb +34 -0
- data/spec/models/demographics_spec.rb +1 -1
- data/spec/models/device_spec.rb +7 -1
- data/spec/models/ids_spec.rb +34 -0
- data/spec/models/measurement_spec.rb +46 -0
- data/spec/models/order_order_spec.rb +12 -0
- data/spec/models/result_spec.rb +6 -0
- data/spec/models/v2_device_spec.rb +7 -1
- metadata +22 -6
@@ -60,6 +60,8 @@ module PrimaryConnectClient
|
|
60
60
|
|
61
61
|
attr_accessor :finding_value
|
62
62
|
|
63
|
+
attr_accessor :resulting_device
|
64
|
+
|
63
65
|
class EnumAttributeValidator
|
64
66
|
attr_reader :datatype
|
65
67
|
attr_reader :allowable_values
|
@@ -102,7 +104,8 @@ module PrimaryConnectClient
|
|
102
104
|
:'reference_range' => :'referenceRange',
|
103
105
|
:'observation_method' => :'observationMethod',
|
104
106
|
:'producer_order_id' => :'producerOrderId',
|
105
|
-
:'finding_value' => :'findingValue'
|
107
|
+
:'finding_value' => :'findingValue',
|
108
|
+
:'resulting_device' => :'resultingDevice'
|
106
109
|
}
|
107
110
|
end
|
108
111
|
|
@@ -131,7 +134,8 @@ module PrimaryConnectClient
|
|
131
134
|
:'reference_range' => :'ResultReferenceRange',
|
132
135
|
:'observation_method' => :'CodedValue',
|
133
136
|
:'producer_order_id' => :'String',
|
134
|
-
:'finding_value' => :'CodedValue'
|
137
|
+
:'finding_value' => :'CodedValue',
|
138
|
+
:'resulting_device' => :'Device'
|
135
139
|
}
|
136
140
|
end
|
137
141
|
|
@@ -232,6 +236,10 @@ module PrimaryConnectClient
|
|
232
236
|
if attributes.key?(:'finding_value')
|
233
237
|
self.finding_value = attributes[:'finding_value']
|
234
238
|
end
|
239
|
+
|
240
|
+
if attributes.key?(:'resulting_device')
|
241
|
+
self.resulting_device = attributes[:'resulting_device']
|
242
|
+
end
|
235
243
|
end
|
236
244
|
|
237
245
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -305,7 +313,8 @@ module PrimaryConnectClient
|
|
305
313
|
reference_range == o.reference_range &&
|
306
314
|
observation_method == o.observation_method &&
|
307
315
|
producer_order_id == o.producer_order_id &&
|
308
|
-
finding_value == o.finding_value
|
316
|
+
finding_value == o.finding_value &&
|
317
|
+
resulting_device == o.resulting_device
|
309
318
|
end
|
310
319
|
|
311
320
|
# @see the `==` method
|
@@ -317,7 +326,7 @@ module PrimaryConnectClient
|
|
317
326
|
# Calculates hash code according to all attributes.
|
318
327
|
# @return [Integer] Hash code
|
319
328
|
def hash
|
320
|
-
[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].hash
|
329
|
+
[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].hash
|
321
330
|
end
|
322
331
|
|
323
332
|
# Builds the object from hash
|
@@ -15,8 +15,8 @@ require 'time'
|
|
15
15
|
|
16
16
|
module PrimaryConnectClient
|
17
17
|
class V2Device
|
18
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# List of IDs and types that identify the device
|
19
|
+
attr_accessor :identifiers
|
20
20
|
|
21
21
|
attr_accessor :manufacturer
|
22
22
|
|
@@ -31,16 +31,19 @@ module PrimaryConnectClient
|
|
31
31
|
# Arbitrary key/value pairs for Device specific use
|
32
32
|
attr_accessor :config
|
33
33
|
|
34
|
+
attr_accessor :model_name
|
35
|
+
|
34
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
37
|
def self.attribute_map
|
36
38
|
{
|
37
|
-
:'
|
39
|
+
:'identifiers' => :'identifiers',
|
38
40
|
:'manufacturer' => :'manufacturer',
|
39
41
|
:'model_number' => :'model_number',
|
40
42
|
:'serial_number' => :'serial_number',
|
41
43
|
:'address' => :'address',
|
42
44
|
:'location' => :'location',
|
43
|
-
:'config' => :'config'
|
45
|
+
:'config' => :'config',
|
46
|
+
:'model_name' => :'model_name'
|
44
47
|
}
|
45
48
|
end
|
46
49
|
|
@@ -52,13 +55,14 @@ module PrimaryConnectClient
|
|
52
55
|
# Attribute type mapping.
|
53
56
|
def self.openapi_types
|
54
57
|
{
|
55
|
-
:'
|
58
|
+
:'identifiers' => :'Array<Identifier>',
|
56
59
|
:'manufacturer' => :'String',
|
57
60
|
:'model_number' => :'String',
|
58
61
|
:'serial_number' => :'String',
|
59
62
|
:'address' => :'Address',
|
60
63
|
:'location' => :'Location',
|
61
|
-
:'config' => :'Object'
|
64
|
+
:'config' => :'Object',
|
65
|
+
:'model_name' => :'String'
|
62
66
|
}
|
63
67
|
end
|
64
68
|
|
@@ -83,9 +87,9 @@ module PrimaryConnectClient
|
|
83
87
|
h[k.to_sym] = v
|
84
88
|
}
|
85
89
|
|
86
|
-
if attributes.key?(:'
|
87
|
-
if (value = attributes[:'
|
88
|
-
self.
|
90
|
+
if attributes.key?(:'identifiers')
|
91
|
+
if (value = attributes[:'identifiers']).is_a?(Array)
|
92
|
+
self.identifiers = value
|
89
93
|
end
|
90
94
|
end
|
91
95
|
|
@@ -112,6 +116,10 @@ module PrimaryConnectClient
|
|
112
116
|
if attributes.key?(:'config')
|
113
117
|
self.config = attributes[:'config']
|
114
118
|
end
|
119
|
+
|
120
|
+
if attributes.key?(:'model_name')
|
121
|
+
self.model_name = attributes[:'model_name']
|
122
|
+
end
|
115
123
|
end
|
116
124
|
|
117
125
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -132,13 +140,14 @@ module PrimaryConnectClient
|
|
132
140
|
def ==(o)
|
133
141
|
return true if self.equal?(o)
|
134
142
|
self.class == o.class &&
|
135
|
-
|
143
|
+
identifiers == o.identifiers &&
|
136
144
|
manufacturer == o.manufacturer &&
|
137
145
|
model_number == o.model_number &&
|
138
146
|
serial_number == o.serial_number &&
|
139
147
|
address == o.address &&
|
140
148
|
location == o.location &&
|
141
|
-
config == o.config
|
149
|
+
config == o.config &&
|
150
|
+
model_name == o.model_name
|
142
151
|
end
|
143
152
|
|
144
153
|
# @see the `==` method
|
@@ -150,7 +159,7 @@ module PrimaryConnectClient
|
|
150
159
|
# Calculates hash code according to all attributes.
|
151
160
|
# @return [Integer] Hash code
|
152
161
|
def hash
|
153
|
-
[
|
162
|
+
[identifiers, manufacturer, model_number, serial_number, address, location, config, model_name].hash
|
154
163
|
end
|
155
164
|
|
156
165
|
# Builds the object from hash
|
@@ -17,6 +17,8 @@ require 'primary_connect_client/version'
|
|
17
17
|
require 'primary_connect_client/configuration'
|
18
18
|
|
19
19
|
# Models
|
20
|
+
require 'primary_connect_client/models/accession'
|
21
|
+
require 'primary_connect_client/models/accession_order'
|
20
22
|
require 'primary_connect_client/models/address'
|
21
23
|
require 'primary_connect_client/models/coded_value'
|
22
24
|
require 'primary_connect_client/models/demographics'
|
@@ -26,7 +28,9 @@ require 'primary_connect_client/models/error'
|
|
26
28
|
require 'primary_connect_client/models/event'
|
27
29
|
require 'primary_connect_client/models/events'
|
28
30
|
require 'primary_connect_client/models/identifier'
|
31
|
+
require 'primary_connect_client/models/ids'
|
29
32
|
require 'primary_connect_client/models/location'
|
33
|
+
require 'primary_connect_client/models/measurement'
|
30
34
|
require 'primary_connect_client/models/medication'
|
31
35
|
require 'primary_connect_client/models/medication_administration'
|
32
36
|
require 'primary_connect_client/models/meta'
|
@@ -28,7 +28,7 @@ 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.
|
31
|
+
s.add_runtime_dependency 'primary_connect_proto', '~> 0.17.0', '>= 0.17.0'
|
32
32
|
|
33
33
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
34
34
|
|
@@ -32,6 +32,30 @@ describe 'DefaultApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for accession_order
|
36
|
+
# accession order by ULID
|
37
|
+
# @param id Order ID
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Accession] :accession
|
40
|
+
# @return [nil]
|
41
|
+
describe 'accession_order test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for accession_order_by_specimen_id
|
48
|
+
# accession order by Specimen ID
|
49
|
+
# @param specimen_id Specimen ID
|
50
|
+
# @param [Hash] opts the optional parameters
|
51
|
+
# @option opts [Accession] :accession
|
52
|
+
# @return [nil]
|
53
|
+
describe 'accession_order_by_specimen_id test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
35
59
|
# unit tests for cancel_order
|
36
60
|
# cancel order
|
37
61
|
# @param id Order ID
|
@@ -43,6 +67,16 @@ describe 'DefaultApi' do
|
|
43
67
|
end
|
44
68
|
end
|
45
69
|
|
70
|
+
# unit tests for create_measurement
|
71
|
+
# create Measurement
|
72
|
+
# @param [Hash] opts the optional parameters
|
73
|
+
# @return [Ids]
|
74
|
+
describe 'create_measurement test' do
|
75
|
+
it 'should work' do
|
76
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
46
80
|
# unit tests for create_order
|
47
81
|
# create order
|
48
82
|
# @param [Hash] opts the optional parameters
|
@@ -77,6 +111,17 @@ describe 'DefaultApi' do
|
|
77
111
|
end
|
78
112
|
end
|
79
113
|
|
114
|
+
# unit tests for get_measurement
|
115
|
+
# show measurement
|
116
|
+
# @param id Measurement ID
|
117
|
+
# @param [Hash] opts the optional parameters
|
118
|
+
# @return [Measurement]
|
119
|
+
describe 'get_measurement test' do
|
120
|
+
it 'should work' do
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
80
125
|
# unit tests for get_order
|
81
126
|
# show order
|
82
127
|
# @param id Order ID
|
@@ -0,0 +1,34 @@
|
|
1
|
+
=begin
|
2
|
+
#Primary Connect API V1
|
3
|
+
|
4
|
+
#Client Library to interface with Primary Connect
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v1
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PrimaryConnectClient::AccessionOrder
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe PrimaryConnectClient::AccessionOrder do
|
21
|
+
let(:instance) { PrimaryConnectClient::AccessionOrder.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AccessionOrder' do
|
24
|
+
it 'should create an instance of AccessionOrder' do
|
25
|
+
expect(instance).to be_instance_of(PrimaryConnectClient::AccessionOrder)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "accession_date_time"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
=begin
|
2
|
+
#Primary Connect API V1
|
3
|
+
|
4
|
+
#Client Library to interface with Primary Connect
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v1
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PrimaryConnectClient::Accession
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe PrimaryConnectClient::Accession do
|
21
|
+
let(:instance) { PrimaryConnectClient::Accession.new }
|
22
|
+
|
23
|
+
describe 'test an instance of Accession' do
|
24
|
+
it 'should create an instance of Accession' do
|
25
|
+
expect(instance).to be_instance_of(PrimaryConnectClient::Accession)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "order"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
@@ -56,7 +56,7 @@ describe PrimaryConnectClient::Demographics do
|
|
56
56
|
describe 'test attribute "gender"' do
|
57
57
|
it 'should work' do
|
58
58
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["GENDER_UNKNOWN", "GENDER_FEMALE", "GENDER_MALE", "GENDER_OTHER", "GENDER_NON_BINARY", "GENDER_TRANSGENDER_MALE", "GENDER_TRANSGENDER_FEMALE", "GENDER_PREFER_NOT_TO_DISCLOSE"])
|
59
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["GENDER_UNKNOWN", "GENDER_FEMALE", "GENDER_MALE", "GENDER_OTHER", "GENDER_NON_BINARY", "GENDER_TRANSGENDER_MALE", "GENDER_TRANSGENDER_FEMALE", "GENDER_PREFER_NOT_TO_DISCLOSE", "GENDER_INTERSEX"])
|
60
60
|
# validator.allowable_values.each do |value|
|
61
61
|
# expect { instance.gender = value }.not_to raise_error
|
62
62
|
# end
|
data/spec/models/device_spec.rb
CHANGED
@@ -25,7 +25,7 @@ describe PrimaryConnectClient::Device do
|
|
25
25
|
expect(instance).to be_instance_of(PrimaryConnectClient::Device)
|
26
26
|
end
|
27
27
|
end
|
28
|
-
describe 'test attribute "
|
28
|
+
describe 'test attribute "identifiers"' do
|
29
29
|
it 'should work' do
|
30
30
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
31
|
end
|
@@ -67,4 +67,10 @@ describe PrimaryConnectClient::Device do
|
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
70
|
+
describe 'test attribute "model_name"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
70
76
|
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
=begin
|
2
|
+
#Primary Connect API V1
|
3
|
+
|
4
|
+
#Client Library to interface with Primary Connect
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v1
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PrimaryConnectClient::Ids
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe PrimaryConnectClient::Ids do
|
21
|
+
let(:instance) { PrimaryConnectClient::Ids.new }
|
22
|
+
|
23
|
+
describe 'test an instance of Ids' do
|
24
|
+
it 'should create an instance of Ids' do
|
25
|
+
expect(instance).to be_instance_of(PrimaryConnectClient::Ids)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "ids"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
=begin
|
2
|
+
#Primary Connect API V1
|
3
|
+
|
4
|
+
#Client Library to interface with Primary Connect
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v1
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PrimaryConnectClient::Measurement
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe PrimaryConnectClient::Measurement do
|
21
|
+
let(:instance) { PrimaryConnectClient::Measurement.new }
|
22
|
+
|
23
|
+
describe 'test an instance of Measurement' do
|
24
|
+
it 'should create an instance of Measurement' do
|
25
|
+
expect(instance).to be_instance_of(PrimaryConnectClient::Measurement)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "meta"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "subject"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "metrics"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
end
|
@@ -71,6 +71,12 @@ describe PrimaryConnectClient::OrderOrder do
|
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
74
|
+
describe 'test attribute "accession_date_time"' do
|
75
|
+
it 'should work' do
|
76
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
74
80
|
describe 'test attribute "expiration_date"' do
|
75
81
|
it 'should work' do
|
76
82
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -95,6 +101,12 @@ describe PrimaryConnectClient::OrderOrder do
|
|
95
101
|
end
|
96
102
|
end
|
97
103
|
|
104
|
+
describe 'test attribute "procedures"' do
|
105
|
+
it 'should work' do
|
106
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
98
110
|
describe 'test attribute "ordering_provider"' do
|
99
111
|
it 'should work' do
|
100
112
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/models/result_spec.rb
CHANGED
@@ -145,4 +145,10 @@ describe PrimaryConnectClient::Result do
|
|
145
145
|
end
|
146
146
|
end
|
147
147
|
|
148
|
+
describe 'test attribute "resulting_device"' do
|
149
|
+
it 'should work' do
|
150
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
148
154
|
end
|
@@ -25,7 +25,7 @@ describe PrimaryConnectClient::V2Device do
|
|
25
25
|
expect(instance).to be_instance_of(PrimaryConnectClient::V2Device)
|
26
26
|
end
|
27
27
|
end
|
28
|
-
describe 'test attribute "
|
28
|
+
describe 'test attribute "identifiers"' do
|
29
29
|
it 'should work' do
|
30
30
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
31
|
end
|
@@ -67,4 +67,10 @@ describe PrimaryConnectClient::V2Device do
|
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
70
|
+
describe 'test attribute "model_name"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
70
76
|
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.5.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: 2022-
|
11
|
+
date: 2022-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -36,20 +36,20 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.
|
39
|
+
version: 0.17.0
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.17.0
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.
|
49
|
+
version: 0.17.0
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: 0.
|
52
|
+
version: 0.17.0
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: rspec
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,6 +81,8 @@ files:
|
|
81
81
|
- Gemfile
|
82
82
|
- README.md
|
83
83
|
- Rakefile
|
84
|
+
- docs/Accession.md
|
85
|
+
- docs/AccessionOrder.md
|
84
86
|
- docs/Address.md
|
85
87
|
- docs/CodedValue.md
|
86
88
|
- docs/DefaultApi.md
|
@@ -91,7 +93,9 @@ files:
|
|
91
93
|
- docs/Event.md
|
92
94
|
- docs/Events.md
|
93
95
|
- docs/Identifier.md
|
96
|
+
- docs/Ids.md
|
94
97
|
- docs/Location.md
|
98
|
+
- docs/Measurement.md
|
95
99
|
- docs/Medication.md
|
96
100
|
- docs/MedicationAdministration.md
|
97
101
|
- docs/Meta.md
|
@@ -142,6 +146,8 @@ files:
|
|
142
146
|
- lib/primary_connect_client/api_client.rb
|
143
147
|
- lib/primary_connect_client/api_error.rb
|
144
148
|
- lib/primary_connect_client/configuration.rb
|
149
|
+
- lib/primary_connect_client/models/accession.rb
|
150
|
+
- lib/primary_connect_client/models/accession_order.rb
|
145
151
|
- lib/primary_connect_client/models/address.rb
|
146
152
|
- lib/primary_connect_client/models/coded_value.rb
|
147
153
|
- lib/primary_connect_client/models/demographics.rb
|
@@ -151,7 +157,9 @@ files:
|
|
151
157
|
- lib/primary_connect_client/models/event.rb
|
152
158
|
- lib/primary_connect_client/models/events.rb
|
153
159
|
- lib/primary_connect_client/models/identifier.rb
|
160
|
+
- lib/primary_connect_client/models/ids.rb
|
154
161
|
- lib/primary_connect_client/models/location.rb
|
162
|
+
- lib/primary_connect_client/models/measurement.rb
|
155
163
|
- lib/primary_connect_client/models/medication.rb
|
156
164
|
- lib/primary_connect_client/models/medication_administration.rb
|
157
165
|
- lib/primary_connect_client/models/meta.rb
|
@@ -201,6 +209,8 @@ files:
|
|
201
209
|
- spec/api/default_api_spec.rb
|
202
210
|
- spec/api_client_spec.rb
|
203
211
|
- spec/configuration_spec.rb
|
212
|
+
- spec/models/accession_order_spec.rb
|
213
|
+
- spec/models/accession_spec.rb
|
204
214
|
- spec/models/address_spec.rb
|
205
215
|
- spec/models/coded_value_spec.rb
|
206
216
|
- spec/models/demographics_spec.rb
|
@@ -210,7 +220,9 @@ files:
|
|
210
220
|
- spec/models/event_spec.rb
|
211
221
|
- spec/models/events_spec.rb
|
212
222
|
- spec/models/identifier_spec.rb
|
223
|
+
- spec/models/ids_spec.rb
|
213
224
|
- spec/models/location_spec.rb
|
225
|
+
- spec/models/measurement_spec.rb
|
214
226
|
- spec/models/medication_administration_spec.rb
|
215
227
|
- spec/models/medication_spec.rb
|
216
228
|
- spec/models/meta_destinations_spec.rb
|
@@ -294,10 +306,12 @@ test_files:
|
|
294
306
|
- spec/models/patient_demographics_spec.rb
|
295
307
|
- spec/models/dosage_spec.rb
|
296
308
|
- spec/models/orders_orders_spec.rb
|
309
|
+
- spec/models/accession_order_spec.rb
|
297
310
|
- spec/models/subject_one_of_spec.rb
|
298
311
|
- spec/models/identifier_spec.rb
|
299
312
|
- spec/models/patient_contacts_spec.rb
|
300
313
|
- spec/models/device_spec.rb
|
314
|
+
- spec/models/ids_spec.rb
|
301
315
|
- spec/models/order_ids_spec.rb
|
302
316
|
- spec/models/visit_guarantor_spec.rb
|
303
317
|
- spec/models/v2_dosage_spec.rb
|
@@ -309,6 +323,7 @@ test_files:
|
|
309
323
|
- spec/models/visit_company_spec.rb
|
310
324
|
- spec/models/subject_spec.rb
|
311
325
|
- spec/models/v2_medication_spec.rb
|
326
|
+
- spec/models/measurement_spec.rb
|
312
327
|
- spec/models/medication_spec.rb
|
313
328
|
- spec/models/visit_plan_spec.rb
|
314
329
|
- spec/models/phone_number_spec.rb
|
@@ -332,6 +347,7 @@ test_files:
|
|
332
347
|
- spec/models/order_order_clinical_info_spec.rb
|
333
348
|
- spec/models/v2_medication_administration_spec.rb
|
334
349
|
- spec/models/visit_insurances_spec.rb
|
350
|
+
- spec/models/accession_spec.rb
|
335
351
|
- spec/models/order_order_diagnoses_spec.rb
|
336
352
|
- spec/models/order_order_ordering_facility_spec.rb
|
337
353
|
- spec/models/events_spec.rb
|