primary_connect_client 1.14.1 → 1.16.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 +9 -0
- data/README.md +4 -4
- data/docs/Identifier.md +4 -2
- data/docs/OrderWithEventErrors.md +3 -1
- data/lib/primary_connect_client/models/identifier.rb +15 -5
- data/lib/primary_connect_client/models/order_with_event_errors.rb +15 -4
- data/lib/primary_connect_client/version.rb +1 -1
- data/spec/models/identifier_spec.rb +6 -0
- data/spec/models/order_with_event_errors_spec.rb +6 -0
- metadata +2 -3
- data/primary_connect_client-1.13.0.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e98c0838815d73fe79458fba786957348c69dbd32e5417c1682e8c35fceeeee7
|
|
4
|
+
data.tar.gz: f7263f0ba81dd3e74cfbd0b6b56b8edbf85a33c6c9681173bf5e62950def5279
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2687143d224b9989fec08b090d2d86c26674c41b9cd775e538beb862a620ae3e8d0d34c1de7d23b82aa6b0dfd563f73be0a2f6f872c62e7638040de2233f266d
|
|
7
|
+
data.tar.gz: 17e781b9fb835b97e3aa11e2a6838dba18315131c7cfb50e5db2dc45daa7f7f61d467aa5950a23629fa3282d3f8147636175dff5bd54b5072929647004d53de8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 1.16.0
|
|
4
|
+
|
|
5
|
+
- Added `assigning_authority` to `Identifier` (the CX-4 assigning authority for identifiers parsed from HL7)
|
|
6
|
+
- Documented `Identifier#id_type` as the CX-5 type code (e.g. `MR`, `SR`, `PI`) for identifiers parsed from HL7
|
|
7
|
+
|
|
8
|
+
## 1.15.0
|
|
9
|
+
|
|
10
|
+
- Added `warnings` to `OrderWithEventErrors`
|
|
11
|
+
|
|
3
12
|
## 1.13.0
|
|
4
13
|
|
|
5
14
|
- Added Queries API
|
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.16.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.16.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.16.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.16.0'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
data/docs/Identifier.md
CHANGED
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **id** | **String** | | [optional] |
|
|
8
|
-
| **id_type** | **String** |
|
|
8
|
+
| **id_type** | **String** | The identifier type. For identifiers parsed from HL7 (e.g. IIS query responses), the CX-5 type code from HL7 table 0203, such as MR, SR or PI. Elsewhere, a label such as MRN, EPI, EHRI, NIST, NPI or Payor ID. | [optional] |
|
|
9
|
+
| **assigning_authority** | **String** | The CX-4 assigning authority namespace for identifiers parsed from HL7, such as CAA or NMSIIS. Empty when the sender omits it. | [optional] |
|
|
9
10
|
|
|
10
11
|
## Example
|
|
11
12
|
|
|
@@ -14,7 +15,8 @@ require 'primary_connect_client'
|
|
|
14
15
|
|
|
15
16
|
instance = PrimaryConnectClient::Identifier.new(
|
|
16
17
|
id: null,
|
|
17
|
-
id_type:
|
|
18
|
+
id_type: SR,
|
|
19
|
+
assigning_authority: NMSIIS
|
|
18
20
|
)
|
|
19
21
|
```
|
|
20
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
|
|
|
@@ -17,14 +17,18 @@ module PrimaryConnectClient
|
|
|
17
17
|
class Identifier
|
|
18
18
|
attr_accessor :id
|
|
19
19
|
|
|
20
|
-
#
|
|
20
|
+
# The identifier type. For identifiers parsed from HL7 (e.g. IIS query responses), the CX-5 type code from HL7 table 0203, such as MR, SR or PI. Elsewhere, a label such as MRN, EPI, EHRI, NIST, NPI or Payor ID.
|
|
21
21
|
attr_accessor :id_type
|
|
22
22
|
|
|
23
|
+
# The CX-4 assigning authority namespace for identifiers parsed from HL7, such as CAA or NMSIIS. Empty when the sender omits it.
|
|
24
|
+
attr_accessor :assigning_authority
|
|
25
|
+
|
|
23
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
24
27
|
def self.attribute_map
|
|
25
28
|
{
|
|
26
29
|
:'id' => :'id',
|
|
27
|
-
:'id_type' => :'idType'
|
|
30
|
+
:'id_type' => :'idType',
|
|
31
|
+
:'assigning_authority' => :'assigningAuthority'
|
|
28
32
|
}
|
|
29
33
|
end
|
|
30
34
|
|
|
@@ -37,7 +41,8 @@ module PrimaryConnectClient
|
|
|
37
41
|
def self.openapi_types
|
|
38
42
|
{
|
|
39
43
|
:'id' => :'String',
|
|
40
|
-
:'id_type' => :'String'
|
|
44
|
+
:'id_type' => :'String',
|
|
45
|
+
:'assigning_authority' => :'String'
|
|
41
46
|
}
|
|
42
47
|
end
|
|
43
48
|
|
|
@@ -69,6 +74,10 @@ module PrimaryConnectClient
|
|
|
69
74
|
if attributes.key?(:'id_type')
|
|
70
75
|
self.id_type = attributes[:'id_type']
|
|
71
76
|
end
|
|
77
|
+
|
|
78
|
+
if attributes.key?(:'assigning_authority')
|
|
79
|
+
self.assigning_authority = attributes[:'assigning_authority']
|
|
80
|
+
end
|
|
72
81
|
end
|
|
73
82
|
|
|
74
83
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -90,7 +99,8 @@ module PrimaryConnectClient
|
|
|
90
99
|
return true if self.equal?(o)
|
|
91
100
|
self.class == o.class &&
|
|
92
101
|
id == o.id &&
|
|
93
|
-
id_type == o.id_type
|
|
102
|
+
id_type == o.id_type &&
|
|
103
|
+
assigning_authority == o.assigning_authority
|
|
94
104
|
end
|
|
95
105
|
|
|
96
106
|
# @see the `==` method
|
|
@@ -102,7 +112,7 @@ module PrimaryConnectClient
|
|
|
102
112
|
# Calculates hash code according to all attributes.
|
|
103
113
|
# @return [Integer] Hash code
|
|
104
114
|
def hash
|
|
105
|
-
[id, id_type].hash
|
|
115
|
+
[id, id_type, assigning_authority].hash
|
|
106
116
|
end
|
|
107
117
|
|
|
108
118
|
# Builds the object from hash
|
|
@@ -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
|
|
@@ -37,4 +37,10 @@ describe PrimaryConnectClient::Identifier do
|
|
|
37
37
|
end
|
|
38
38
|
end
|
|
39
39
|
|
|
40
|
+
describe 'test attribute "assigning_authority"' 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
|
|
@@ -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,13 @@
|
|
|
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.16.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-
|
|
10
|
+
date: 2026-11-17 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: typhoeus
|
|
@@ -196,7 +196,6 @@ files:
|
|
|
196
196
|
- lib/primary_connect_client/models/visit_insured.rb
|
|
197
197
|
- lib/primary_connect_client/models/visit_plan.rb
|
|
198
198
|
- lib/primary_connect_client/version.rb
|
|
199
|
-
- primary_connect_client-1.13.0.gem
|
|
200
199
|
- primary_connect_client.gemspec
|
|
201
200
|
- spec/api/default_api_spec.rb
|
|
202
201
|
- spec/api_client_spec.rb
|
|
Binary file
|