primary_connect_client 1.13.0 → 1.15.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 +0 -9
- data/README.md +5 -5
- data/docs/Candidates.md +2 -0
- data/docs/DefaultApi.md +4 -4
- data/docs/ImmunizationQueryResponse.md +22 -0
- data/docs/OrderWithEventErrors.md +3 -1
- data/lib/primary_connect_client/api/default_api.rb +3 -3
- data/lib/primary_connect_client/models/candidates.rb +11 -1
- data/lib/primary_connect_client/models/{immunizations.rb → immunization_query_response.rb} +30 -12
- data/lib/primary_connect_client/models/order_order.rb +2 -2
- data/lib/primary_connect_client/models/order_with_event_errors.rb +15 -4
- data/lib/primary_connect_client/version.rb +1 -1
- data/lib/primary_connect_client.rb +1 -1
- data/primary_connect_client-1.11.0.gem +0 -0
- data/primary_connect_client-1.12.0.gem +0 -0
- data/spec/api/default_api_spec.rb +1 -1
- data/spec/models/candidates_spec.rb +6 -0
- data/spec/models/immunization_query_response_spec.rb +46 -0
- data/spec/models/order_order_spec.rb +1 -1
- data/spec/models/order_with_event_errors_spec.rb +6 -0
- metadata +12 -7
- data/docs/Immunizations.md +0 -18
- data/spec/models/immunizations_spec.rb +0 -34
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 917199ef80a660b3a10b02a7af8c9f4dd9bc8b6a5715ba73c648d22999099fed
|
|
4
|
+
data.tar.gz: 53f252fbe25bcdef8cb78782225e6ce8affd5b840b3f4b997192496040b35276
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dbccc49e41d6629117776013c2dd0a0a7ae1fb50311b2c3519ea8540e7e114a2dc64de762b4c12768d3c075836b869d5b54ce68ed8eb256b07c53e0c53218e1f
|
|
7
|
+
data.tar.gz: '02808bcb2a977311cc4a36448ceed0337155e98a7401f3ff4cc8558450722b61497cf13200194da78c438e25020e3ba917db549d8989d0b0ee909f7cec9260d4'
|
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.15.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.15.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.15.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.15.0'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -116,7 +116,7 @@ Class | Method | HTTP request | Description
|
|
|
116
116
|
- [PrimaryConnectClient::Events](docs/Events.md)
|
|
117
117
|
- [PrimaryConnectClient::Identifier](docs/Identifier.md)
|
|
118
118
|
- [PrimaryConnectClient::Ids](docs/Ids.md)
|
|
119
|
-
- [PrimaryConnectClient::
|
|
119
|
+
- [PrimaryConnectClient::ImmunizationQueryResponse](docs/ImmunizationQueryResponse.md)
|
|
120
120
|
- [PrimaryConnectClient::Location](docs/Location.md)
|
|
121
121
|
- [PrimaryConnectClient::Measurement](docs/Measurement.md)
|
|
122
122
|
- [PrimaryConnectClient::Medication](docs/Medication.md)
|
data/docs/Candidates.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **error** | **String** | Error message | [optional] |
|
|
7
8
|
| **candidates** | [**Array<Patient>**](Patient.md) | List of possible matches for the query | [optional] |
|
|
8
9
|
|
|
9
10
|
## Example
|
|
@@ -12,6 +13,7 @@
|
|
|
12
13
|
require 'primary_connect_client'
|
|
13
14
|
|
|
14
15
|
instance = PrimaryConnectClient::Candidates.new(
|
|
16
|
+
error: null,
|
|
15
17
|
candidates: null
|
|
16
18
|
)
|
|
17
19
|
```
|
data/docs/DefaultApi.md
CHANGED
|
@@ -989,7 +989,7 @@ nil (empty response body)
|
|
|
989
989
|
|
|
990
990
|
## send_query
|
|
991
991
|
|
|
992
|
-
> <
|
|
992
|
+
> <ImmunizationQueryResponse> send_query(opts)
|
|
993
993
|
|
|
994
994
|
send query
|
|
995
995
|
|
|
@@ -1022,7 +1022,7 @@ end
|
|
|
1022
1022
|
|
|
1023
1023
|
This returns an Array which contains the response data, status code and headers.
|
|
1024
1024
|
|
|
1025
|
-
> <Array(<
|
|
1025
|
+
> <Array(<ImmunizationQueryResponse>, Integer, Hash)> send_query_with_http_info(opts)
|
|
1026
1026
|
|
|
1027
1027
|
```ruby
|
|
1028
1028
|
begin
|
|
@@ -1030,7 +1030,7 @@ begin
|
|
|
1030
1030
|
data, status_code, headers = api_instance.send_query_with_http_info(opts)
|
|
1031
1031
|
p status_code # => 2xx
|
|
1032
1032
|
p headers # => { ... }
|
|
1033
|
-
p data # => <
|
|
1033
|
+
p data # => <ImmunizationQueryResponse>
|
|
1034
1034
|
rescue PrimaryConnectClient::ApiError => e
|
|
1035
1035
|
puts "Error when calling DefaultApi->send_query_with_http_info: #{e}"
|
|
1036
1036
|
end
|
|
@@ -1044,7 +1044,7 @@ end
|
|
|
1044
1044
|
|
|
1045
1045
|
### Return type
|
|
1046
1046
|
|
|
1047
|
-
[**
|
|
1047
|
+
[**ImmunizationQueryResponse**](ImmunizationQueryResponse.md)
|
|
1048
1048
|
|
|
1049
1049
|
### Authorization
|
|
1050
1050
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# PrimaryConnectClient::ImmunizationQueryResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **meta** | [**Meta**](Meta.md) | | [optional] |
|
|
8
|
+
| **patient** | [**Patient**](Patient.md) | | [optional] |
|
|
9
|
+
| **medication_administrations** | [**Array<MedicationAdministration>**](MedicationAdministration.md) | List of Medication Administrations | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'primary_connect_client'
|
|
15
|
+
|
|
16
|
+
instance = PrimaryConnectClient::ImmunizationQueryResponse.new(
|
|
17
|
+
meta: null,
|
|
18
|
+
patient: null,
|
|
19
|
+
medication_administrations: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **order** | [**Order**](Order.md) | | [optional] |
|
|
8
8
|
| **errors** | **Array<String>** | | [optional] |
|
|
9
|
+
| **warnings** | **Array<String>** | | [optional] |
|
|
9
10
|
|
|
10
11
|
## Example
|
|
11
12
|
|
|
@@ -14,7 +15,8 @@ require 'primary_connect_client'
|
|
|
14
15
|
|
|
15
16
|
instance = PrimaryConnectClient::OrderWithEventErrors.new(
|
|
16
17
|
order: null,
|
|
17
|
-
errors: null
|
|
18
|
+
errors: null,
|
|
19
|
+
warnings: null
|
|
18
20
|
)
|
|
19
21
|
```
|
|
20
22
|
|
|
@@ -905,7 +905,7 @@ module PrimaryConnectClient
|
|
|
905
905
|
# send query
|
|
906
906
|
# @param [Hash] opts the optional parameters
|
|
907
907
|
# @option opts [Query] :query
|
|
908
|
-
# @return [
|
|
908
|
+
# @return [ImmunizationQueryResponse]
|
|
909
909
|
def send_query(opts = {})
|
|
910
910
|
data, _status_code, _headers = send_query_with_http_info(opts)
|
|
911
911
|
data
|
|
@@ -914,7 +914,7 @@ module PrimaryConnectClient
|
|
|
914
914
|
# send query
|
|
915
915
|
# @param [Hash] opts the optional parameters
|
|
916
916
|
# @option opts [Query] :query
|
|
917
|
-
# @return [Array<(
|
|
917
|
+
# @return [Array<(ImmunizationQueryResponse, Integer, Hash)>] ImmunizationQueryResponse data, response status code and response headers
|
|
918
918
|
def send_query_with_http_info(opts = {})
|
|
919
919
|
if @api_client.config.debugging
|
|
920
920
|
@api_client.config.logger.debug 'Calling API: DefaultApi.send_query ...'
|
|
@@ -942,7 +942,7 @@ module PrimaryConnectClient
|
|
|
942
942
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'query'])
|
|
943
943
|
|
|
944
944
|
# return_type
|
|
945
|
-
return_type = opts[:debug_return_type] || '
|
|
945
|
+
return_type = opts[:debug_return_type] || 'ImmunizationQueryResponse'
|
|
946
946
|
|
|
947
947
|
# auth_names
|
|
948
948
|
auth_names = opts[:debug_auth_names] || ['bearer_auth']
|
|
@@ -15,12 +15,16 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module PrimaryConnectClient
|
|
17
17
|
class Candidates
|
|
18
|
+
# Error message
|
|
19
|
+
attr_accessor :error
|
|
20
|
+
|
|
18
21
|
# List of possible matches for the query
|
|
19
22
|
attr_accessor :candidates
|
|
20
23
|
|
|
21
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
25
|
def self.attribute_map
|
|
23
26
|
{
|
|
27
|
+
:'error' => :'error',
|
|
24
28
|
:'candidates' => :'candidates'
|
|
25
29
|
}
|
|
26
30
|
end
|
|
@@ -33,6 +37,7 @@ module PrimaryConnectClient
|
|
|
33
37
|
# Attribute type mapping.
|
|
34
38
|
def self.openapi_types
|
|
35
39
|
{
|
|
40
|
+
:'error' => :'String',
|
|
36
41
|
:'candidates' => :'Array<Patient>'
|
|
37
42
|
}
|
|
38
43
|
end
|
|
@@ -58,6 +63,10 @@ module PrimaryConnectClient
|
|
|
58
63
|
h[k.to_sym] = v
|
|
59
64
|
}
|
|
60
65
|
|
|
66
|
+
if attributes.key?(:'error')
|
|
67
|
+
self.error = attributes[:'error']
|
|
68
|
+
end
|
|
69
|
+
|
|
61
70
|
if attributes.key?(:'candidates')
|
|
62
71
|
if (value = attributes[:'candidates']).is_a?(Array)
|
|
63
72
|
self.candidates = value
|
|
@@ -83,6 +92,7 @@ module PrimaryConnectClient
|
|
|
83
92
|
def ==(o)
|
|
84
93
|
return true if self.equal?(o)
|
|
85
94
|
self.class == o.class &&
|
|
95
|
+
error == o.error &&
|
|
86
96
|
candidates == o.candidates
|
|
87
97
|
end
|
|
88
98
|
|
|
@@ -95,7 +105,7 @@ module PrimaryConnectClient
|
|
|
95
105
|
# Calculates hash code according to all attributes.
|
|
96
106
|
# @return [Integer] Hash code
|
|
97
107
|
def hash
|
|
98
|
-
[candidates].hash
|
|
108
|
+
[error, candidates].hash
|
|
99
109
|
end
|
|
100
110
|
|
|
101
111
|
# Builds the object from hash
|
|
@@ -14,14 +14,20 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PrimaryConnectClient
|
|
17
|
-
class
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
class ImmunizationQueryResponse
|
|
18
|
+
attr_accessor :meta
|
|
19
|
+
|
|
20
|
+
attr_accessor :patient
|
|
21
|
+
|
|
22
|
+
# List of Medication Administrations
|
|
23
|
+
attr_accessor :medication_administrations
|
|
20
24
|
|
|
21
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
26
|
def self.attribute_map
|
|
23
27
|
{
|
|
24
|
-
:'
|
|
28
|
+
:'meta' => :'meta',
|
|
29
|
+
:'patient' => :'patient',
|
|
30
|
+
:'medication_administrations' => :'medicationAdministrations'
|
|
25
31
|
}
|
|
26
32
|
end
|
|
27
33
|
|
|
@@ -33,7 +39,9 @@ module PrimaryConnectClient
|
|
|
33
39
|
# Attribute type mapping.
|
|
34
40
|
def self.openapi_types
|
|
35
41
|
{
|
|
36
|
-
:'
|
|
42
|
+
:'meta' => :'Meta',
|
|
43
|
+
:'patient' => :'Patient',
|
|
44
|
+
:'medication_administrations' => :'Array<MedicationAdministration>'
|
|
37
45
|
}
|
|
38
46
|
end
|
|
39
47
|
|
|
@@ -47,20 +55,28 @@ module PrimaryConnectClient
|
|
|
47
55
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
48
56
|
def initialize(attributes = {})
|
|
49
57
|
if (!attributes.is_a?(Hash))
|
|
50
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PrimaryConnectClient::
|
|
58
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PrimaryConnectClient::ImmunizationQueryResponse` initialize method"
|
|
51
59
|
end
|
|
52
60
|
|
|
53
61
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
54
62
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
55
63
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
56
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PrimaryConnectClient::
|
|
64
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PrimaryConnectClient::ImmunizationQueryResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
57
65
|
end
|
|
58
66
|
h[k.to_sym] = v
|
|
59
67
|
}
|
|
60
68
|
|
|
61
|
-
if attributes.key?(:'
|
|
62
|
-
|
|
63
|
-
|
|
69
|
+
if attributes.key?(:'meta')
|
|
70
|
+
self.meta = attributes[:'meta']
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
if attributes.key?(:'patient')
|
|
74
|
+
self.patient = attributes[:'patient']
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
if attributes.key?(:'medication_administrations')
|
|
78
|
+
if (value = attributes[:'medication_administrations']).is_a?(Array)
|
|
79
|
+
self.medication_administrations = value
|
|
64
80
|
end
|
|
65
81
|
end
|
|
66
82
|
end
|
|
@@ -83,7 +99,9 @@ module PrimaryConnectClient
|
|
|
83
99
|
def ==(o)
|
|
84
100
|
return true if self.equal?(o)
|
|
85
101
|
self.class == o.class &&
|
|
86
|
-
|
|
102
|
+
meta == o.meta &&
|
|
103
|
+
patient == o.patient &&
|
|
104
|
+
medication_administrations == o.medication_administrations
|
|
87
105
|
end
|
|
88
106
|
|
|
89
107
|
# @see the `==` method
|
|
@@ -95,7 +113,7 @@ module PrimaryConnectClient
|
|
|
95
113
|
# Calculates hash code according to all attributes.
|
|
96
114
|
# @return [Integer] Hash code
|
|
97
115
|
def hash
|
|
98
|
-
[
|
|
116
|
+
[meta, patient, medication_administrations].hash
|
|
99
117
|
end
|
|
100
118
|
|
|
101
119
|
# Builds the object from hash
|
|
@@ -322,7 +322,7 @@ module PrimaryConnectClient
|
|
|
322
322
|
# Check to see if the all the properties in the model are valid
|
|
323
323
|
# @return true if the model is valid
|
|
324
324
|
def valid?
|
|
325
|
-
status_validator = EnumAttributeValidator.new('String', ["STATUS_UNKNOWN", "STATUS_UPDATE", "STATUS_CANCEL", "STATUS_RESULTED", "STATUS_NEW", "STATUS_REPORTED", "STATUS_SHIPPED"])
|
|
325
|
+
status_validator = EnumAttributeValidator.new('String', ["STATUS_UNKNOWN", "STATUS_UPDATE", "STATUS_CANCEL", "STATUS_RESULTED", "STATUS_NEW", "STATUS_REPORTED", "STATUS_SHIPPED", "STATUS_NOT_REPORTED"])
|
|
326
326
|
return false unless status_validator.valid?(@status)
|
|
327
327
|
priority_validator = EnumAttributeValidator.new('String', ["PRIORITY_UNKNOWN", "PRIORITY_ASAP", "PRIORITY_ROUTINE", "PRIORITY_PREOPERATIVE", "PRIORITY_TIMING_CRITICAL", "PRIORITY_STAT"])
|
|
328
328
|
return false unless priority_validator.valid?(@priority)
|
|
@@ -336,7 +336,7 @@ module PrimaryConnectClient
|
|
|
336
336
|
# Custom attribute writer method checking allowed values (enum).
|
|
337
337
|
# @param [Object] status Object to be assigned
|
|
338
338
|
def status=(status)
|
|
339
|
-
validator = EnumAttributeValidator.new('String', ["STATUS_UNKNOWN", "STATUS_UPDATE", "STATUS_CANCEL", "STATUS_RESULTED", "STATUS_NEW", "STATUS_REPORTED", "STATUS_SHIPPED"])
|
|
339
|
+
validator = EnumAttributeValidator.new('String', ["STATUS_UNKNOWN", "STATUS_UPDATE", "STATUS_CANCEL", "STATUS_RESULTED", "STATUS_NEW", "STATUS_REPORTED", "STATUS_SHIPPED", "STATUS_NOT_REPORTED"])
|
|
340
340
|
unless validator.valid?(status)
|
|
341
341
|
fail ArgumentError, "invalid value for \"status\", must be one of #{validator.allowable_values}."
|
|
342
342
|
end
|
|
@@ -19,11 +19,14 @@ module PrimaryConnectClient
|
|
|
19
19
|
|
|
20
20
|
attr_accessor :errors
|
|
21
21
|
|
|
22
|
+
attr_accessor :warnings
|
|
23
|
+
|
|
22
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
25
|
def self.attribute_map
|
|
24
26
|
{
|
|
25
27
|
:'order' => :'order',
|
|
26
|
-
:'errors' => :'errors'
|
|
28
|
+
:'errors' => :'errors',
|
|
29
|
+
:'warnings' => :'warnings'
|
|
27
30
|
}
|
|
28
31
|
end
|
|
29
32
|
|
|
@@ -36,7 +39,8 @@ module PrimaryConnectClient
|
|
|
36
39
|
def self.openapi_types
|
|
37
40
|
{
|
|
38
41
|
:'order' => :'Order',
|
|
39
|
-
:'errors' => :'Array<String>'
|
|
42
|
+
:'errors' => :'Array<String>',
|
|
43
|
+
:'warnings' => :'Array<String>'
|
|
40
44
|
}
|
|
41
45
|
end
|
|
42
46
|
|
|
@@ -70,6 +74,12 @@ module PrimaryConnectClient
|
|
|
70
74
|
self.errors = value
|
|
71
75
|
end
|
|
72
76
|
end
|
|
77
|
+
|
|
78
|
+
if attributes.key?(:'warnings')
|
|
79
|
+
if (value = attributes[:'warnings']).is_a?(Array)
|
|
80
|
+
self.warnings = value
|
|
81
|
+
end
|
|
82
|
+
end
|
|
73
83
|
end
|
|
74
84
|
|
|
75
85
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -91,7 +101,8 @@ module PrimaryConnectClient
|
|
|
91
101
|
return true if self.equal?(o)
|
|
92
102
|
self.class == o.class &&
|
|
93
103
|
order == o.order &&
|
|
94
|
-
errors == o.errors
|
|
104
|
+
errors == o.errors &&
|
|
105
|
+
warnings == o.warnings
|
|
95
106
|
end
|
|
96
107
|
|
|
97
108
|
# @see the `==` method
|
|
@@ -103,7 +114,7 @@ module PrimaryConnectClient
|
|
|
103
114
|
# Calculates hash code according to all attributes.
|
|
104
115
|
# @return [Integer] Hash code
|
|
105
116
|
def hash
|
|
106
|
-
[order, errors].hash
|
|
117
|
+
[order, errors, warnings].hash
|
|
107
118
|
end
|
|
108
119
|
|
|
109
120
|
# Builds the object from hash
|
|
@@ -30,7 +30,7 @@ require 'primary_connect_client/models/event'
|
|
|
30
30
|
require 'primary_connect_client/models/events'
|
|
31
31
|
require 'primary_connect_client/models/identifier'
|
|
32
32
|
require 'primary_connect_client/models/ids'
|
|
33
|
-
require 'primary_connect_client/models/
|
|
33
|
+
require 'primary_connect_client/models/immunization_query_response'
|
|
34
34
|
require 'primary_connect_client/models/location'
|
|
35
35
|
require 'primary_connect_client/models/measurement'
|
|
36
36
|
require 'primary_connect_client/models/medication'
|
|
Binary file
|
|
Binary file
|
|
@@ -199,7 +199,7 @@ describe 'DefaultApi' do
|
|
|
199
199
|
# send query
|
|
200
200
|
# @param [Hash] opts the optional parameters
|
|
201
201
|
# @option opts [Query] :query
|
|
202
|
-
# @return [
|
|
202
|
+
# @return [ImmunizationQueryResponse]
|
|
203
203
|
describe 'send_query test' do
|
|
204
204
|
it 'should work' do
|
|
205
205
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -25,6 +25,12 @@ describe PrimaryConnectClient::Candidates do
|
|
|
25
25
|
expect(instance).to be_instance_of(PrimaryConnectClient::Candidates)
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
|
+
describe 'test attribute "error"' 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
|
+
|
|
28
34
|
describe 'test attribute "candidates"' do
|
|
29
35
|
it 'should work' do
|
|
30
36
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -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::ImmunizationQueryResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PrimaryConnectClient::ImmunizationQueryResponse do
|
|
21
|
+
let(:instance) { PrimaryConnectClient::ImmunizationQueryResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ImmunizationQueryResponse' do
|
|
24
|
+
it 'should create an instance of ImmunizationQueryResponse' do
|
|
25
|
+
expect(instance).to be_instance_of(PrimaryConnectClient::ImmunizationQueryResponse)
|
|
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 "patient"' 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 "medication_administrations"' 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
|
|
@@ -40,7 +40,7 @@ describe PrimaryConnectClient::OrderOrder do
|
|
|
40
40
|
describe 'test attribute "status"' do
|
|
41
41
|
it 'should work' do
|
|
42
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["STATUS_UNKNOWN", "STATUS_UPDATE", "STATUS_CANCEL", "STATUS_RESULTED", "STATUS_NEW", "STATUS_REPORTED", "STATUS_SHIPPED"])
|
|
43
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["STATUS_UNKNOWN", "STATUS_UPDATE", "STATUS_CANCEL", "STATUS_RESULTED", "STATUS_NEW", "STATUS_REPORTED", "STATUS_SHIPPED", "STATUS_NOT_REPORTED"])
|
|
44
44
|
# validator.allowable_values.each do |value|
|
|
45
45
|
# expect { instance.status = value }.not_to raise_error
|
|
46
46
|
# end
|
|
@@ -37,4 +37,10 @@ describe PrimaryConnectClient::OrderWithEventErrors do
|
|
|
37
37
|
end
|
|
38
38
|
end
|
|
39
39
|
|
|
40
|
+
describe 'test attribute "warnings"' 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
|
+
|
|
40
46
|
end
|
metadata
CHANGED
|
@@ -1,13 +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.15.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
|
+
autorequire:
|
|
8
9
|
bindir: bin
|
|
9
10
|
cert_chain: []
|
|
10
|
-
date: 2026-
|
|
11
|
+
date: 2026-04-21 00:00:00.000000000 Z
|
|
11
12
|
dependencies:
|
|
12
13
|
- !ruby/object:Gem::Dependency
|
|
13
14
|
name: typhoeus
|
|
@@ -75,7 +76,7 @@ files:
|
|
|
75
76
|
- docs/Events.md
|
|
76
77
|
- docs/Identifier.md
|
|
77
78
|
- docs/Ids.md
|
|
78
|
-
- docs/
|
|
79
|
+
- docs/ImmunizationQueryResponse.md
|
|
79
80
|
- docs/Location.md
|
|
80
81
|
- docs/Measurement.md
|
|
81
82
|
- docs/Medication.md
|
|
@@ -146,7 +147,7 @@ files:
|
|
|
146
147
|
- lib/primary_connect_client/models/events.rb
|
|
147
148
|
- lib/primary_connect_client/models/identifier.rb
|
|
148
149
|
- lib/primary_connect_client/models/ids.rb
|
|
149
|
-
- lib/primary_connect_client/models/
|
|
150
|
+
- lib/primary_connect_client/models/immunization_query_response.rb
|
|
150
151
|
- lib/primary_connect_client/models/location.rb
|
|
151
152
|
- lib/primary_connect_client/models/measurement.rb
|
|
152
153
|
- lib/primary_connect_client/models/medication.rb
|
|
@@ -194,6 +195,8 @@ files:
|
|
|
194
195
|
- lib/primary_connect_client/models/visit_insured.rb
|
|
195
196
|
- lib/primary_connect_client/models/visit_plan.rb
|
|
196
197
|
- lib/primary_connect_client/version.rb
|
|
198
|
+
- primary_connect_client-1.11.0.gem
|
|
199
|
+
- primary_connect_client-1.12.0.gem
|
|
197
200
|
- primary_connect_client.gemspec
|
|
198
201
|
- spec/api/default_api_spec.rb
|
|
199
202
|
- spec/api_client_spec.rb
|
|
@@ -211,7 +214,7 @@ files:
|
|
|
211
214
|
- spec/models/events_spec.rb
|
|
212
215
|
- spec/models/identifier_spec.rb
|
|
213
216
|
- spec/models/ids_spec.rb
|
|
214
|
-
- spec/models/
|
|
217
|
+
- spec/models/immunization_query_response_spec.rb
|
|
215
218
|
- spec/models/location_spec.rb
|
|
216
219
|
- spec/models/measurement_spec.rb
|
|
217
220
|
- spec/models/medication_administration_spec.rb
|
|
@@ -269,6 +272,7 @@ homepage: https://openapi-generator.tech
|
|
|
269
272
|
licenses:
|
|
270
273
|
- Unlicense
|
|
271
274
|
metadata: {}
|
|
275
|
+
post_install_message:
|
|
272
276
|
rdoc_options: []
|
|
273
277
|
require_paths:
|
|
274
278
|
- lib
|
|
@@ -283,7 +287,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
283
287
|
- !ruby/object:Gem::Version
|
|
284
288
|
version: '0'
|
|
285
289
|
requirements: []
|
|
286
|
-
rubygems_version: 3.
|
|
290
|
+
rubygems_version: 3.2.15
|
|
291
|
+
signing_key:
|
|
287
292
|
specification_version: 4
|
|
288
293
|
summary: Primary Connect API V1 Ruby Gem
|
|
289
294
|
test_files:
|
|
@@ -296,7 +301,6 @@ test_files:
|
|
|
296
301
|
- spec/models/meta_transmission_spec.rb
|
|
297
302
|
- spec/models/results_spec.rb
|
|
298
303
|
- spec/models/v2_device_spec.rb
|
|
299
|
-
- spec/models/immunizations_spec.rb
|
|
300
304
|
- spec/models/meta_provenances_spec.rb
|
|
301
305
|
- spec/models/result_ids_spec.rb
|
|
302
306
|
- spec/models/meta_destination_spec.rb
|
|
@@ -324,6 +328,7 @@ test_files:
|
|
|
324
328
|
- spec/models/measurement_spec.rb
|
|
325
329
|
- spec/models/medication_spec.rb
|
|
326
330
|
- spec/models/order_patient_contacts_spec.rb
|
|
331
|
+
- spec/models/immunization_query_response_spec.rb
|
|
327
332
|
- spec/models/visit_plan_spec.rb
|
|
328
333
|
- spec/models/phone_number_spec.rb
|
|
329
334
|
- spec/models/order_order_specimen_spec.rb
|
data/docs/Immunizations.md
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# PrimaryConnectClient::Immunizations
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **immunizations** | [**Array<MedicationAdministration>**](MedicationAdministration.md) | List of Immunizations | [optional] |
|
|
8
|
-
|
|
9
|
-
## Example
|
|
10
|
-
|
|
11
|
-
```ruby
|
|
12
|
-
require 'primary_connect_client'
|
|
13
|
-
|
|
14
|
-
instance = PrimaryConnectClient::Immunizations.new(
|
|
15
|
-
immunizations: null
|
|
16
|
-
)
|
|
17
|
-
```
|
|
18
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
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::Immunizations
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe PrimaryConnectClient::Immunizations do
|
|
21
|
-
let(:instance) { PrimaryConnectClient::Immunizations.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of Immunizations' do
|
|
24
|
-
it 'should create an instance of Immunizations' do
|
|
25
|
-
expect(instance).to be_instance_of(PrimaryConnectClient::Immunizations)
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
describe 'test attribute "immunizations"' 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
|