primary_connect_client 1.10.0 → 1.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd7391c6b1517f3521294db427b0e52c5330d5b3f1a1cbf2914f5bc961a21cff
4
- data.tar.gz: d37eeaeee176c2fef882ad3ac89bcd71cb75d278bac08bb66f2149b92e4fc1ce
3
+ metadata.gz: 5b567b470f58e5932d1510049b7120bf6f3cf2c523978fc0bdff9c7811985467
4
+ data.tar.gz: 766d4dc4d3ebe941b5655959217df7db5de81efb4fcad33d28f2289fbbbd9665
5
5
  SHA512:
6
- metadata.gz: ad22731bab6615ceda33f0f4d4142fc943d13cbb15540072d216fefc3804c6a45ad7060b9af72c79e5479214cd7888e83ef5577bb642cf24e4a48aa98c040cef
7
- data.tar.gz: 655925c17ae2edf5c65c35db48bf7df97860753225335800654a108541db20ae2458e2b26c2a46a38a1c56a737e71fbbdd61ce8e7c98bec43c32d1c0a09eec64
6
+ metadata.gz: 2bfcc1f9d7367e72f70aaed064b919cc3d7919888c679b20da2181efb957f7bb66b68d4ab7a9b185486dbd3f5a594fc31876c9aed0dcf6cc9db2c0c2d62aa254
7
+ data.tar.gz: 48652b2d4fbcaa92929623cc11a45b70f2a07b736539e83501a4f79c56192288e06a873525c088324bda9fa2241c9332605c20188cbe6463d2bb64e3229f5e0a
data/CHANGELOG.md CHANGED
@@ -1,4 +1,7 @@
1
1
  # Change Log
2
+ ## 1.11.0
3
+
4
+ - Updated dependency on `primary_connect_proto` 0.23.0
2
5
 
3
6
  ## 1.10.0
4
7
 
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.0
10
+ - Package version: 1.11.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.10.0.gem
26
+ gem install ./primary_connect_client-1.11.0.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./primary_connect_client-1.10.0.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./primary_connect_client-1.11.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.10.0'
35
+ gem 'primary_connect_client', '~> 1.11.0'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -95,6 +95,8 @@ Class | Method | HTTP request | Description
95
95
  *PrimaryConnectClient::DefaultApi* | [**list_events**](docs/DefaultApi.md#list_events) | **GET** /api/v1/events | list events
96
96
  *PrimaryConnectClient::DefaultApi* | [**list_orders**](docs/DefaultApi.md#list_orders) | **GET** /api/v1/orders | list orders
97
97
  *PrimaryConnectClient::DefaultApi* | [**list_results**](docs/DefaultApi.md#list_results) | **GET** /api/v1/orders/{order_id}/results | list results
98
+ *PrimaryConnectClient::DefaultApi* | [**reroute_order**](docs/DefaultApi.md#reroute_order) | **POST** /api/v1/orders/reroute | reroute Order identified in the payload
99
+ *PrimaryConnectClient::DefaultApi* | [**reroute_order_by_ulid**](docs/DefaultApi.md#reroute_order_by_ulid) | **POST** /api/v1/orders/{id}/reroute | Reroute order by ULID
98
100
  *PrimaryConnectClient::DefaultApi* | [**update_order**](docs/DefaultApi.md#update_order) | **PUT** /api/v1/orders/{id} | update order
99
101
 
100
102
 
data/docs/DefaultApi.md CHANGED
@@ -16,6 +16,8 @@ All URIs are relative to *https://connect.primary.health*
16
16
  | [**list_events**](DefaultApi.md#list_events) | **GET** /api/v1/events | list events |
17
17
  | [**list_orders**](DefaultApi.md#list_orders) | **GET** /api/v1/orders | list orders |
18
18
  | [**list_results**](DefaultApi.md#list_results) | **GET** /api/v1/orders/{order_id}/results | list results |
19
+ | [**reroute_order**](DefaultApi.md#reroute_order) | **POST** /api/v1/orders/reroute | reroute Order identified in the payload |
20
+ | [**reroute_order_by_ulid**](DefaultApi.md#reroute_order_by_ulid) | **POST** /api/v1/orders/{id}/reroute | Reroute order by ULID |
19
21
  | [**update_order**](DefaultApi.md#update_order) | **PUT** /api/v1/orders/{id} | update order |
20
22
 
21
23
 
@@ -840,6 +842,144 @@ end
840
842
  - **Accept**: application/json
841
843
 
842
844
 
845
+ ## reroute_order
846
+
847
+ > reroute_order(opts)
848
+
849
+ reroute Order identified in the payload
850
+
851
+ ### Examples
852
+
853
+ ```ruby
854
+ require 'time'
855
+ require 'primary_connect_client'
856
+ # setup authorization
857
+ PrimaryConnectClient.configure do |config|
858
+ # Configure Bearer authorization: bearer_auth
859
+ config.access_token = 'YOUR_BEARER_TOKEN'
860
+ end
861
+
862
+ api_instance = PrimaryConnectClient::DefaultApi.new
863
+ opts = {
864
+ order: PrimaryConnectClient::Order.new # Order |
865
+ }
866
+
867
+ begin
868
+ # reroute Order identified in the payload
869
+ api_instance.reroute_order(opts)
870
+ rescue PrimaryConnectClient::ApiError => e
871
+ puts "Error when calling DefaultApi->reroute_order: #{e}"
872
+ end
873
+ ```
874
+
875
+ #### Using the reroute_order_with_http_info variant
876
+
877
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
878
+
879
+ > <Array(nil, Integer, Hash)> reroute_order_with_http_info(opts)
880
+
881
+ ```ruby
882
+ begin
883
+ # reroute Order identified in the payload
884
+ data, status_code, headers = api_instance.reroute_order_with_http_info(opts)
885
+ p status_code # => 2xx
886
+ p headers # => { ... }
887
+ p data # => nil
888
+ rescue PrimaryConnectClient::ApiError => e
889
+ puts "Error when calling DefaultApi->reroute_order_with_http_info: #{e}"
890
+ end
891
+ ```
892
+
893
+ ### Parameters
894
+
895
+ | Name | Type | Description | Notes |
896
+ | ---- | ---- | ----------- | ----- |
897
+ | **order** | [**Order**](Order.md) | | [optional] |
898
+
899
+ ### Return type
900
+
901
+ nil (empty response body)
902
+
903
+ ### Authorization
904
+
905
+ [bearer_auth](../README.md#bearer_auth)
906
+
907
+ ### HTTP request headers
908
+
909
+ - **Content-Type**: application/json
910
+ - **Accept**: Not defined
911
+
912
+
913
+ ## reroute_order_by_ulid
914
+
915
+ > reroute_order_by_ulid(id, opts)
916
+
917
+ Reroute order by ULID
918
+
919
+ ### Examples
920
+
921
+ ```ruby
922
+ require 'time'
923
+ require 'primary_connect_client'
924
+ # setup authorization
925
+ PrimaryConnectClient.configure do |config|
926
+ # Configure Bearer authorization: bearer_auth
927
+ config.access_token = 'YOUR_BEARER_TOKEN'
928
+ end
929
+
930
+ api_instance = PrimaryConnectClient::DefaultApi.new
931
+ id = '01FGD44Q6MVCG2VNSMC4ZMOTQM' # String | Order ID
932
+ opts = {
933
+ order: PrimaryConnectClient::Order.new # Order |
934
+ }
935
+
936
+ begin
937
+ # Reroute order by ULID
938
+ api_instance.reroute_order_by_ulid(id, opts)
939
+ rescue PrimaryConnectClient::ApiError => e
940
+ puts "Error when calling DefaultApi->reroute_order_by_ulid: #{e}"
941
+ end
942
+ ```
943
+
944
+ #### Using the reroute_order_by_ulid_with_http_info variant
945
+
946
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
947
+
948
+ > <Array(nil, Integer, Hash)> reroute_order_by_ulid_with_http_info(id, opts)
949
+
950
+ ```ruby
951
+ begin
952
+ # Reroute order by ULID
953
+ data, status_code, headers = api_instance.reroute_order_by_ulid_with_http_info(id, opts)
954
+ p status_code # => 2xx
955
+ p headers # => { ... }
956
+ p data # => nil
957
+ rescue PrimaryConnectClient::ApiError => e
958
+ puts "Error when calling DefaultApi->reroute_order_by_ulid_with_http_info: #{e}"
959
+ end
960
+ ```
961
+
962
+ ### Parameters
963
+
964
+ | Name | Type | Description | Notes |
965
+ | ---- | ---- | ----------- | ----- |
966
+ | **id** | **String** | Order ID | |
967
+ | **order** | [**Order**](Order.md) | | [optional] |
968
+
969
+ ### Return type
970
+
971
+ nil (empty response body)
972
+
973
+ ### Authorization
974
+
975
+ [bearer_auth](../README.md#bearer_auth)
976
+
977
+ ### HTTP request headers
978
+
979
+ - **Content-Type**: application/json
980
+ - **Accept**: Not defined
981
+
982
+
843
983
  ## update_order
844
984
 
845
985
  > <OrderIds> update_order(id, opts)
@@ -767,6 +767,132 @@ module PrimaryConnectClient
767
767
  return data, status_code, headers
768
768
  end
769
769
 
770
+ # reroute Order identified in the payload
771
+ # @param [Hash] opts the optional parameters
772
+ # @option opts [Order] :order
773
+ # @return [nil]
774
+ def reroute_order(opts = {})
775
+ reroute_order_with_http_info(opts)
776
+ nil
777
+ end
778
+
779
+ # reroute Order identified in the payload
780
+ # @param [Hash] opts the optional parameters
781
+ # @option opts [Order] :order
782
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
783
+ def reroute_order_with_http_info(opts = {})
784
+ if @api_client.config.debugging
785
+ @api_client.config.logger.debug 'Calling API: DefaultApi.reroute_order ...'
786
+ end
787
+ # resource path
788
+ local_var_path = '/api/v1/orders/reroute'
789
+
790
+ # query parameters
791
+ query_params = opts[:query_params] || {}
792
+
793
+ # header parameters
794
+ header_params = opts[:header_params] || {}
795
+ # HTTP header 'Content-Type'
796
+ content_type = @api_client.select_header_content_type(['application/json'])
797
+ if !content_type.nil?
798
+ header_params['Content-Type'] = content_type
799
+ end
800
+
801
+ # form parameters
802
+ form_params = opts[:form_params] || {}
803
+
804
+ # http body (model)
805
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'order'])
806
+
807
+ # return_type
808
+ return_type = opts[:debug_return_type]
809
+
810
+ # auth_names
811
+ auth_names = opts[:debug_auth_names] || ['bearer_auth']
812
+
813
+ new_options = opts.merge(
814
+ :operation => :"DefaultApi.reroute_order",
815
+ :header_params => header_params,
816
+ :query_params => query_params,
817
+ :form_params => form_params,
818
+ :body => post_body,
819
+ :auth_names => auth_names,
820
+ :return_type => return_type
821
+ )
822
+
823
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
824
+ if @api_client.config.debugging
825
+ @api_client.config.logger.debug "API called: DefaultApi#reroute_order\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
826
+ end
827
+ return data, status_code, headers
828
+ end
829
+
830
+ # Reroute order by ULID
831
+ # @param id [String] Order ID
832
+ # @param [Hash] opts the optional parameters
833
+ # @option opts [Order] :order
834
+ # @return [nil]
835
+ def reroute_order_by_ulid(id, opts = {})
836
+ reroute_order_by_ulid_with_http_info(id, opts)
837
+ nil
838
+ end
839
+
840
+ # Reroute order by ULID
841
+ # @param id [String] Order ID
842
+ # @param [Hash] opts the optional parameters
843
+ # @option opts [Order] :order
844
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
845
+ def reroute_order_by_ulid_with_http_info(id, opts = {})
846
+ if @api_client.config.debugging
847
+ @api_client.config.logger.debug 'Calling API: DefaultApi.reroute_order_by_ulid ...'
848
+ end
849
+ # verify the required parameter 'id' is set
850
+ if @api_client.config.client_side_validation && id.nil?
851
+ fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.reroute_order_by_ulid"
852
+ end
853
+ # resource path
854
+ local_var_path = '/api/v1/orders/{id}/reroute'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
855
+
856
+ # query parameters
857
+ query_params = opts[:query_params] || {}
858
+
859
+ # header parameters
860
+ header_params = opts[:header_params] || {}
861
+ # HTTP header 'Content-Type'
862
+ content_type = @api_client.select_header_content_type(['application/json'])
863
+ if !content_type.nil?
864
+ header_params['Content-Type'] = content_type
865
+ end
866
+
867
+ # form parameters
868
+ form_params = opts[:form_params] || {}
869
+
870
+ # http body (model)
871
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'order'])
872
+
873
+ # return_type
874
+ return_type = opts[:debug_return_type]
875
+
876
+ # auth_names
877
+ auth_names = opts[:debug_auth_names] || ['bearer_auth']
878
+
879
+ new_options = opts.merge(
880
+ :operation => :"DefaultApi.reroute_order_by_ulid",
881
+ :header_params => header_params,
882
+ :query_params => query_params,
883
+ :form_params => form_params,
884
+ :body => post_body,
885
+ :auth_names => auth_names,
886
+ :return_type => return_type
887
+ )
888
+
889
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
890
+ if @api_client.config.debugging
891
+ @api_client.config.logger.debug "API called: DefaultApi#reroute_order_by_ulid\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
892
+ end
893
+ return data, status_code, headers
894
+ end
895
+
770
896
  # update order
771
897
  # @param id [String] Order ID
772
898
  # @param [Hash] opts the optional parameters
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.3.0
11
11
  =end
12
12
 
13
13
  module PrimaryConnectClient
14
- VERSION = '1.10.0'
14
+ VERSION = '1.11.0'
15
15
  end
@@ -0,0 +1,39 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ =begin
4
+ #Primary Connect API V1
5
+
6
+ #Client Library to interface with Primary Connect
7
+
8
+ The version of the OpenAPI document: v1
9
+
10
+ Generated by: https://openapi-generator.tech
11
+ OpenAPI Generator version: 5.3.0
12
+
13
+ =end
14
+
15
+ $:.push File.expand_path("../lib", __FILE__)
16
+ require "primary_connect_client/version"
17
+
18
+ Gem::Specification.new do |s|
19
+ s.name = "primary_connect_client"
20
+ s.version = PrimaryConnectClient::VERSION
21
+ s.platform = Gem::Platform::RUBY
22
+ s.authors = ["OpenAPI-Generator"]
23
+ s.email = [""]
24
+ s.homepage = "https://openapi-generator.tech"
25
+ s.summary = "Primary Connect API V1 Ruby Gem"
26
+ s.description = "Client Library to interface with Primary Connect"
27
+ s.license = "Unlicense"
28
+ s.required_ruby_version = ">= 2.4"
29
+
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
+
33
+ s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
34
+
35
+ s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
36
+ s.test_files = `find spec/*`.split("\n")
37
+ s.executables = []
38
+ s.require_paths = ["lib"]
39
+ end
@@ -169,6 +169,29 @@ describe 'DefaultApi' do
169
169
  end
170
170
  end
171
171
 
172
+ # unit tests for reroute_order
173
+ # reroute Order identified in the payload
174
+ # @param [Hash] opts the optional parameters
175
+ # @option opts [Order] :order
176
+ # @return [nil]
177
+ describe 'reroute_order test' do
178
+ it 'should work' do
179
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
180
+ end
181
+ end
182
+
183
+ # unit tests for reroute_order_by_ulid
184
+ # Reroute order by ULID
185
+ # @param id Order ID
186
+ # @param [Hash] opts the optional parameters
187
+ # @option opts [Order] :order
188
+ # @return [nil]
189
+ describe 'reroute_order_by_ulid test' do
190
+ it 'should work' do
191
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
192
+ end
193
+ end
194
+
172
195
  # unit tests for update_order
173
196
  # update order
174
197
  # @param id Order ID
@@ -86,7 +86,7 @@ describe PrimaryConnectClient::Demographics do
86
86
  describe 'test attribute "race_details"' do
87
87
  it 'should work' do
88
88
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
89
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["RACE_DETAIL_UNKNOWN", "RACE_DETAIL_ASIAN_INDIAN", "RACE_DETAIL_CHINESE", "RACE_DETAIL_CAMBODIAN", "RACE_DETAIL_FILIPINO", "RACE_DETAIL_JAPANESE", "RACE_DETAIL_KOREAN", "RACE_DETAIL_LAOTIAN", "RACE_DETAIL_VIETNAMESE", "RACE_DETAIL_OTHER_ASIAN", "RACE_DETAIL_NATIVE_HAWAIIAN", "RACE_DETAIL_GUAMIAN_OR_CHAMORRO", "RACE_DETAIL_SAMOAN", "RACE_DETAIL_OTHER_PACIFIC_ISLANDER", "RACE_DETAIL_PREFER_NOT_TO_DISCLOSE"])
89
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["RACE_DETAIL_UNKNOWN", "RACE_DETAIL_ASIAN_INDIAN", "RACE_DETAIL_CHINESE", "RACE_DETAIL_CAMBODIAN", "RACE_DETAIL_FILIPINO", "RACE_DETAIL_JAPANESE", "RACE_DETAIL_KOREAN", "RACE_DETAIL_LAOTIAN", "RACE_DETAIL_VIETNAMESE", "RACE_DETAIL_OTHER_ASIAN", "RACE_DETAIL_NATIVE_HAWAIIAN", "RACE_DETAIL_GUAMIAN_OR_CHAMORRO", "RACE_DETAIL_SAMOAN", "RACE_DETAIL_OTHER_PACIFIC_ISLANDER", "RACE_DETAIL_PREFER_NOT_TO_DISCLOSE", "RACE_DETAIL_BANGLADESHI", "RACE_DETAIL_HMONG", "RACE_DETAIL_INDONESIAN", "RACE_DETAIL_MALAYSIAN", "RACE_DETAIL_PAKISTANI", "RACE_DETAIL_SRI_LANKAN", "RACE_DETAIL_THAI", "RACE_DETAIL_TAIWANESE", "RACE_DETAIL_GUAMANIAN", "RACE_DETAIL_FIJIAN", "RACE_DETAIL_TONGAN"])
90
90
  # validator.allowable_values.each do |value|
91
91
  # expect { instance.race_details = value }.not_to raise_error
92
92
  # 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.10.0
4
+ version: 1.11.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-06-12 00:00:00.000000000 Z
11
+ date: 2023-10-24 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.22.0
39
+ version: 0.23.0
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: 0.22.0
42
+ version: 0.23.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.22.0
49
+ version: 0.23.0
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 0.22.0
52
+ version: 0.23.0
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: rspec
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -77,11 +77,6 @@ executables: []
77
77
  extensions: []
78
78
  extra_rdoc_files: []
79
79
  files:
80
- - ".openapi-generator-ignore"
81
- - ".openapi-generator/FILES"
82
- - ".openapi-generator/VERSION"
83
- - ".rspec"
84
- - ".rubocop.yml"
85
80
  - CHANGELOG.md
86
81
  - Gemfile
87
82
  - Gemfile.lock
@@ -214,6 +209,7 @@ files:
214
209
  - lib/primary_connect_client/models/visit_insured.rb
215
210
  - lib/primary_connect_client/models/visit_plan.rb
216
211
  - lib/primary_connect_client/version.rb
212
+ - primary_connect_client.gemspec
217
213
  - spec/api/default_api_spec.rb
218
214
  - spec/api_client_spec.rb
219
215
  - spec/configuration_spec.rb
@@ -300,7 +296,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
300
296
  - !ruby/object:Gem::Version
301
297
  version: '0'
302
298
  requirements: []
303
- rubygems_version: 3.4.13
299
+ rubygems_version: 3.2.15
304
300
  signing_key:
305
301
  specification_version: 4
306
302
  summary: Primary Connect API V1 Ruby Gem
@@ -1,189 +0,0 @@
1
- .gitignore
2
- .openapi-generator-ignore
3
- .rspec
4
- .rubocop.yml
5
- .travis.yml
6
- Gemfile
7
- README.md
8
- Rakefile
9
- docs/Accession.md
10
- docs/AccessionOrder.md
11
- docs/Address.md
12
- docs/CodedValue.md
13
- docs/DefaultApi.md
14
- docs/Demographics.md
15
- docs/Device.md
16
- docs/Dosage.md
17
- docs/Error.md
18
- docs/Event.md
19
- docs/Events.md
20
- docs/Identifier.md
21
- docs/Ids.md
22
- docs/Location.md
23
- docs/Measurement.md
24
- docs/Medication.md
25
- docs/MedicationAdministration.md
26
- docs/Meta.md
27
- docs/MetaDestination.md
28
- docs/MetaDestinations.md
29
- docs/MetaMessage.md
30
- docs/MetaProvenances.md
31
- docs/MetaSource.md
32
- docs/MetaTransmission.md
33
- docs/Name.md
34
- docs/Order.md
35
- docs/OrderIds.md
36
- docs/OrderOrder.md
37
- docs/OrderOrderClinicalInfo.md
38
- docs/OrderOrderDiagnoses.md
39
- docs/OrderOrderOrderingFacility.md
40
- docs/OrderPatient.md
41
- docs/OrderPatientContacts.md
42
- docs/OrderWithEventErrors.md
43
- docs/Orders.md
44
- docs/OrdersOrders.md
45
- docs/Patient.md
46
- docs/PhoneNumber.md
47
- docs/Provider.md
48
- docs/Result.md
49
- docs/ResultIds.md
50
- docs/ResultReferenceRange.md
51
- docs/ResultReport.md
52
- docs/Results.md
53
- docs/Specimen.md
54
- docs/Subject.md
55
- docs/V2Device.md
56
- docs/V2Dosage.md
57
- docs/V2Medication.md
58
- docs/V2MedicationAdministration.md
59
- docs/Visit.md
60
- docs/VisitCompany.md
61
- docs/VisitGuarantor.md
62
- docs/VisitGuarantorEmployer.md
63
- docs/VisitInsurances.md
64
- docs/VisitInsured.md
65
- docs/VisitPlan.md
66
- git_push.sh
67
- lib/primary_connect_client.rb
68
- lib/primary_connect_client/api/default_api.rb
69
- lib/primary_connect_client/api_client.rb
70
- lib/primary_connect_client/api_error.rb
71
- lib/primary_connect_client/configuration.rb
72
- lib/primary_connect_client/models/accession.rb
73
- lib/primary_connect_client/models/accession_order.rb
74
- lib/primary_connect_client/models/address.rb
75
- lib/primary_connect_client/models/coded_value.rb
76
- lib/primary_connect_client/models/demographics.rb
77
- lib/primary_connect_client/models/device.rb
78
- lib/primary_connect_client/models/dosage.rb
79
- lib/primary_connect_client/models/error.rb
80
- lib/primary_connect_client/models/event.rb
81
- lib/primary_connect_client/models/events.rb
82
- lib/primary_connect_client/models/identifier.rb
83
- lib/primary_connect_client/models/ids.rb
84
- lib/primary_connect_client/models/location.rb
85
- lib/primary_connect_client/models/measurement.rb
86
- lib/primary_connect_client/models/medication.rb
87
- lib/primary_connect_client/models/medication_administration.rb
88
- lib/primary_connect_client/models/meta.rb
89
- lib/primary_connect_client/models/meta_destination.rb
90
- lib/primary_connect_client/models/meta_destinations.rb
91
- lib/primary_connect_client/models/meta_message.rb
92
- lib/primary_connect_client/models/meta_provenances.rb
93
- lib/primary_connect_client/models/meta_source.rb
94
- lib/primary_connect_client/models/meta_transmission.rb
95
- lib/primary_connect_client/models/name.rb
96
- lib/primary_connect_client/models/order.rb
97
- lib/primary_connect_client/models/order_ids.rb
98
- lib/primary_connect_client/models/order_order.rb
99
- lib/primary_connect_client/models/order_order_clinical_info.rb
100
- lib/primary_connect_client/models/order_order_diagnoses.rb
101
- lib/primary_connect_client/models/order_order_ordering_facility.rb
102
- lib/primary_connect_client/models/order_patient.rb
103
- lib/primary_connect_client/models/order_patient_contacts.rb
104
- lib/primary_connect_client/models/order_with_event_errors.rb
105
- lib/primary_connect_client/models/orders.rb
106
- lib/primary_connect_client/models/orders_orders.rb
107
- lib/primary_connect_client/models/patient.rb
108
- lib/primary_connect_client/models/phone_number.rb
109
- lib/primary_connect_client/models/provider.rb
110
- lib/primary_connect_client/models/result.rb
111
- lib/primary_connect_client/models/result_ids.rb
112
- lib/primary_connect_client/models/result_reference_range.rb
113
- lib/primary_connect_client/models/result_report.rb
114
- lib/primary_connect_client/models/results.rb
115
- lib/primary_connect_client/models/specimen.rb
116
- lib/primary_connect_client/models/subject.rb
117
- lib/primary_connect_client/models/v2_device.rb
118
- lib/primary_connect_client/models/v2_dosage.rb
119
- lib/primary_connect_client/models/v2_medication.rb
120
- lib/primary_connect_client/models/v2_medication_administration.rb
121
- lib/primary_connect_client/models/visit.rb
122
- lib/primary_connect_client/models/visit_company.rb
123
- lib/primary_connect_client/models/visit_guarantor.rb
124
- lib/primary_connect_client/models/visit_guarantor_employer.rb
125
- lib/primary_connect_client/models/visit_insurances.rb
126
- lib/primary_connect_client/models/visit_insured.rb
127
- lib/primary_connect_client/models/visit_plan.rb
128
- lib/primary_connect_client/version.rb
129
- primary_connect_client.gemspec
130
- spec/api/default_api_spec.rb
131
- spec/api_client_spec.rb
132
- spec/configuration_spec.rb
133
- spec/models/accession_order_spec.rb
134
- spec/models/accession_spec.rb
135
- spec/models/address_spec.rb
136
- spec/models/coded_value_spec.rb
137
- spec/models/demographics_spec.rb
138
- spec/models/device_spec.rb
139
- spec/models/dosage_spec.rb
140
- spec/models/error_spec.rb
141
- spec/models/event_spec.rb
142
- spec/models/events_spec.rb
143
- spec/models/identifier_spec.rb
144
- spec/models/ids_spec.rb
145
- spec/models/location_spec.rb
146
- spec/models/measurement_spec.rb
147
- spec/models/medication_administration_spec.rb
148
- spec/models/medication_spec.rb
149
- spec/models/meta_destination_spec.rb
150
- spec/models/meta_destinations_spec.rb
151
- spec/models/meta_message_spec.rb
152
- spec/models/meta_provenances_spec.rb
153
- spec/models/meta_source_spec.rb
154
- spec/models/meta_spec.rb
155
- spec/models/meta_transmission_spec.rb
156
- spec/models/name_spec.rb
157
- spec/models/order_ids_spec.rb
158
- spec/models/order_order_clinical_info_spec.rb
159
- spec/models/order_order_diagnoses_spec.rb
160
- spec/models/order_order_ordering_facility_spec.rb
161
- spec/models/order_order_spec.rb
162
- spec/models/order_patient_contacts_spec.rb
163
- spec/models/order_patient_spec.rb
164
- spec/models/order_spec.rb
165
- spec/models/order_with_event_errors_spec.rb
166
- spec/models/orders_orders_spec.rb
167
- spec/models/orders_spec.rb
168
- spec/models/patient_spec.rb
169
- spec/models/phone_number_spec.rb
170
- spec/models/provider_spec.rb
171
- spec/models/result_ids_spec.rb
172
- spec/models/result_reference_range_spec.rb
173
- spec/models/result_report_spec.rb
174
- spec/models/result_spec.rb
175
- spec/models/results_spec.rb
176
- spec/models/specimen_spec.rb
177
- spec/models/subject_spec.rb
178
- spec/models/v2_device_spec.rb
179
- spec/models/v2_dosage_spec.rb
180
- spec/models/v2_medication_administration_spec.rb
181
- spec/models/v2_medication_spec.rb
182
- spec/models/visit_company_spec.rb
183
- spec/models/visit_guarantor_employer_spec.rb
184
- spec/models/visit_guarantor_spec.rb
185
- spec/models/visit_insurances_spec.rb
186
- spec/models/visit_insured_spec.rb
187
- spec/models/visit_plan_spec.rb
188
- spec/models/visit_spec.rb
189
- spec/spec_helper.rb
@@ -1 +0,0 @@
1
- 5.3.0
@@ -1,23 +0,0 @@
1
- # OpenAPI Generator Ignore
2
- # Generated by openapi-generator https://github.com/openapitools/openapi-generator
3
-
4
- # Use this file to prevent files from being overwritten by the generator.
5
- # The patterns follow closely to .gitignore or .dockerignore.
6
-
7
- # As an example, the C# client generator defines ApiClient.cs.
8
- # You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9
- #ApiClient.cs
10
-
11
- # You can match any string of characters against a directory, file or extension with a single asterisk (*):
12
- #foo/*/qux
13
- # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14
-
15
- # You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16
- #foo/**/qux
17
- # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18
-
19
- # You can also negate patterns with an exclamation (!).
20
- # For example, you can ignore all files in a docs folder with the file extension .md:
21
- #docs/*.md
22
- # Then explicitly reverse the ignore rule for a single file:
23
- #!docs/README.md
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --color
2
- --require spec_helper
data/.rubocop.yml DELETED
@@ -1,148 +0,0 @@
1
- # This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license)
2
- # Automatically generated by OpenAPI Generator (https://openapi-generator.tech)
3
- AllCops:
4
- TargetRubyVersion: 2.4
5
- # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
6
- # to ignore them, so only the ones explicitly set in this file are enabled.
7
- DisabledByDefault: true
8
- Exclude:
9
- - '**/templates/**/*'
10
- - '**/vendor/**/*'
11
- - 'actionpack/lib/action_dispatch/journey/parser.rb'
12
-
13
- # Prefer &&/|| over and/or.
14
- Style/AndOr:
15
- Enabled: true
16
-
17
- # Align `when` with `case`.
18
- Layout/CaseIndentation:
19
- Enabled: true
20
-
21
- # Align comments with method definitions.
22
- Layout/CommentIndentation:
23
- Enabled: true
24
-
25
- Layout/ElseAlignment:
26
- Enabled: true
27
-
28
- Layout/EmptyLineAfterMagicComment:
29
- Enabled: true
30
-
31
- # In a regular class definition, no empty lines around the body.
32
- Layout/EmptyLinesAroundClassBody:
33
- Enabled: true
34
-
35
- # In a regular method definition, no empty lines around the body.
36
- Layout/EmptyLinesAroundMethodBody:
37
- Enabled: true
38
-
39
- # In a regular module definition, no empty lines around the body.
40
- Layout/EmptyLinesAroundModuleBody:
41
- Enabled: true
42
-
43
- Layout/FirstArgumentIndentation:
44
- Enabled: true
45
-
46
- # Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
47
- Style/HashSyntax:
48
- Enabled: false
49
-
50
- # Method definitions after `private` or `protected` isolated calls need one
51
- # extra level of indentation.
52
- Layout/IndentationConsistency:
53
- Enabled: true
54
- EnforcedStyle: indented_internal_methods
55
-
56
- # Two spaces, no tabs (for indentation).
57
- Layout/IndentationWidth:
58
- Enabled: true
59
-
60
- Layout/LeadingCommentSpace:
61
- Enabled: true
62
-
63
- Layout/SpaceAfterColon:
64
- Enabled: true
65
-
66
- Layout/SpaceAfterComma:
67
- Enabled: true
68
-
69
- Layout/SpaceAroundEqualsInParameterDefault:
70
- Enabled: true
71
-
72
- Layout/SpaceAroundKeyword:
73
- Enabled: true
74
-
75
- Layout/SpaceAroundOperators:
76
- Enabled: true
77
-
78
- Layout/SpaceBeforeComma:
79
- Enabled: true
80
-
81
- Layout/SpaceBeforeFirstArg:
82
- Enabled: true
83
-
84
- Style/DefWithParentheses:
85
- Enabled: true
86
-
87
- # Defining a method with parameters needs parentheses.
88
- Style/MethodDefParentheses:
89
- Enabled: true
90
-
91
- Style/FrozenStringLiteralComment:
92
- Enabled: false
93
- EnforcedStyle: always
94
-
95
- # Use `foo {}` not `foo{}`.
96
- Layout/SpaceBeforeBlockBraces:
97
- Enabled: true
98
-
99
- # Use `foo { bar }` not `foo {bar}`.
100
- Layout/SpaceInsideBlockBraces:
101
- Enabled: true
102
-
103
- # Use `{ a: 1 }` not `{a:1}`.
104
- Layout/SpaceInsideHashLiteralBraces:
105
- Enabled: true
106
-
107
- Layout/SpaceInsideParens:
108
- Enabled: true
109
-
110
- # Check quotes usage according to lint rule below.
111
- #Style/StringLiterals:
112
- # Enabled: true
113
- # EnforcedStyle: single_quotes
114
-
115
- # Detect hard tabs, no hard tabs.
116
- Layout/IndentationStyle:
117
- Enabled: true
118
-
119
- # Blank lines should not have any spaces.
120
- Layout/TrailingEmptyLines:
121
- Enabled: true
122
-
123
- # No trailing whitespace.
124
- Layout/TrailingWhitespace:
125
- Enabled: false
126
-
127
- # Use quotes for string literals when they are enough.
128
- Style/RedundantPercentQ:
129
- Enabled: true
130
-
131
- # Align `end` with the matching keyword or starting expression except for
132
- # assignments, where it should be aligned with the LHS.
133
- Layout/EndAlignment:
134
- Enabled: true
135
- EnforcedStyleAlignWith: variable
136
- AutoCorrect: true
137
-
138
- # Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
139
- Lint/RequireParentheses:
140
- Enabled: true
141
-
142
- Style/RedundantReturn:
143
- Enabled: true
144
- AllowMultipleReturnValues: true
145
-
146
- Style/Semicolon:
147
- Enabled: true
148
- AllowAsExpressionSeparator: true