candidhealth 0.45.0 → 0.46.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.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/lib/candidhealth/billing_notes/v_2/client.rb +2 -2
  3. data/lib/candidhealth/charge_capture/v_1/client.rb +10 -94
  4. data/lib/candidhealth/charge_capture/v_1/types/charge_capture_data.rb +16 -16
  5. data/lib/candidhealth/charge_capture_bundles/v_1/client.rb +2 -44
  6. data/lib/candidhealth/contracts/v_2/client.rb +18 -34
  7. data/lib/candidhealth/contracts/v_2/types/contract_sort_field.rb +18 -0
  8. data/lib/candidhealth/credentialing/v_2/client.rb +6 -44
  9. data/lib/candidhealth/diagnoses/client.rb +4 -14
  10. data/lib/candidhealth/eligibility/v_2/client.rb +4 -4
  11. data/lib/candidhealth/encounter_attachments/v_1/client.rb +0 -6
  12. data/lib/candidhealth/encounter_providers/v_2/client.rb +16 -16
  13. data/lib/candidhealth/encounters/v_4/client.rb +38 -102
  14. data/lib/candidhealth/encounters/v_4/types/encounter.rb +12 -12
  15. data/lib/candidhealth/encounters/v_4/types/encounter_base.rb +10 -10
  16. data/lib/candidhealth/encounters/v_4/types/encounter_create_from_pre_encounter.rb +10 -10
  17. data/lib/candidhealth/encounters/v_4/types/encounter_optional.rb +14 -14
  18. data/lib/candidhealth/expected_network_status/v_1/client.rb +12 -18
  19. data/lib/candidhealth/expected_network_status/v_2/client.rb +4 -4
  20. data/lib/candidhealth/expected_network_status/v_2/types/empty_object.rb +53 -0
  21. data/lib/candidhealth/expected_network_status/v_2/types/insurance_type_codes.rb +13 -10
  22. data/lib/candidhealth/external_payment_account_config/v_1/client.rb +2 -2
  23. data/lib/candidhealth/fee_schedules/v_3/client.rb +12 -68
  24. data/lib/candidhealth/fee_schedules/v_3/types/payer_threshold.rb +3 -3
  25. data/lib/candidhealth/fee_schedules/v_3/types/rate_entry.rb +2 -2
  26. data/lib/candidhealth/guarantor/v_1/client.rb +4 -4
  27. data/lib/candidhealth/import_invoice/v_1/client.rb +6 -28
  28. data/lib/candidhealth/insurance_adjudications/v_1/client.rb +2 -2
  29. data/lib/candidhealth/insurance_payments/v_1/client.rb +2 -20
  30. data/lib/candidhealth/insurance_refunds/v_1/client.rb +6 -24
  31. data/lib/candidhealth/medication_dispense/v_1/client.rb +2 -2
  32. data/lib/candidhealth/non_insurance_payer_payments/v_1/client.rb +6 -22
  33. data/lib/candidhealth/non_insurance_payer_refunds/v_1/client.rb +6 -22
  34. data/lib/candidhealth/non_insurance_payers/v_1/client.rb +6 -22
  35. data/lib/candidhealth/organization_providers/v_3/client.rb +4 -4
  36. data/lib/candidhealth/organization_service_facilities/v_2/client.rb +2 -2
  37. data/lib/candidhealth/patient_payments/v_4/client.rb +8 -38
  38. data/lib/candidhealth/patient_refunds/v_1/client.rb +8 -40
  39. data/lib/candidhealth/payer_plan_groups/v_1/client.rb +6 -30
  40. data/lib/candidhealth/pre_encounter/appointments/v_1/client.rb +32 -44
  41. data/lib/candidhealth/pre_encounter/appointments/v_1/types/appointment.rb +4 -4
  42. data/lib/candidhealth/pre_encounter/common/types/base_model.rb +4 -4
  43. data/lib/candidhealth/pre_encounter/coverages/v_1/client.rb +24 -34
  44. data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage.rb +4 -4
  45. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/client.rb +2 -2
  46. data/lib/candidhealth/pre_encounter/images/v_1/client.rb +20 -20
  47. data/lib/candidhealth/pre_encounter/images/v_1/types/image.rb +6 -6
  48. data/lib/candidhealth/pre_encounter/lists/v_1/client.rb +4 -28
  49. data/lib/candidhealth/pre_encounter/notes/v_1/client.rb +14 -14
  50. data/lib/candidhealth/pre_encounter/notes/v_1/types/note.rb +4 -4
  51. data/lib/candidhealth/pre_encounter/patients/v_1/client.rb +56 -68
  52. data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient.rb +8 -8
  53. data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient_with_mrn.rb +8 -8
  54. data/lib/candidhealth/pre_encounter/patients/v_1/types/patient.rb +16 -16
  55. data/lib/candidhealth/pre_encounter/tags/v_1/client.rb +16 -16
  56. data/lib/candidhealth/pre_encounter/tags/v_1/types/tag.rb +4 -4
  57. data/lib/candidhealth/service_facility/client.rb +2 -2
  58. data/lib/candidhealth/service_lines/v_2/client.rb +4 -4
  59. data/lib/candidhealth/superbills/v_1/client.rb +4 -6
  60. data/lib/candidhealth/tasks/v_3/client.rb +6 -34
  61. data/lib/candidhealth/write_offs/v_1/client.rb +2 -24
  62. data/lib/environment.rb +4 -0
  63. data/lib/requests.rb +2 -2
  64. data/lib/types_export.rb +2 -0
  65. metadata +4 -2
@@ -28,7 +28,7 @@ module CandidApiClient
28
28
  # @return [CandidApiClient::Diagnoses::Types::Diagnosis]
29
29
  # @example
30
30
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
31
- # api.diagnoses.create(request: { encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", name: "string", code_type: ABF, code: "string" })
31
+ # api.diagnoses.create(request: { code_type: ABF, code: "code", encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32" })
32
32
  def create(request:, request_options: nil)
33
33
  response = @request_client.conn.post do |req|
34
34
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -66,12 +66,7 @@ module CandidApiClient
66
66
  # @return [CandidApiClient::Diagnoses::Types::Diagnosis]
67
67
  # @example
68
68
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
69
- # api.diagnoses.update(
70
- # diagnosis_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
71
- # name: "string",
72
- # code_type: ABF,
73
- # code: "string"
74
- # )
69
+ # api.diagnoses.update(diagnosis_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
75
70
  def update(diagnosis_id:, name: nil, code_type: nil, code: nil, request_options: nil)
76
71
  response = @request_client.conn.patch do |req|
77
72
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -137,7 +132,7 @@ module CandidApiClient
137
132
  # @return [CandidApiClient::Diagnoses::Types::Diagnosis]
138
133
  # @example
139
134
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
140
- # api.diagnoses.create(request: { encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", name: "string", code_type: ABF, code: "string" })
135
+ # api.diagnoses.create(request: { code_type: ABF, code: "code", encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32" })
141
136
  def create(request:, request_options: nil)
142
137
  Async do
143
138
  response = @request_client.conn.post do |req|
@@ -178,12 +173,7 @@ module CandidApiClient
178
173
  # @return [CandidApiClient::Diagnoses::Types::Diagnosis]
179
174
  # @example
180
175
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
181
- # api.diagnoses.update(
182
- # diagnosis_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
183
- # name: "string",
184
- # code_type: ABF,
185
- # code: "string"
186
- # )
176
+ # api.diagnoses.update(diagnosis_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
187
177
  def update(diagnosis_id:, name: nil, code_type: nil, code: nil, request_options: nil)
188
178
  Async do
189
179
  response = @request_client.conn.patch do |req|
@@ -97,7 +97,7 @@ module CandidApiClient
97
97
  # th.com/hc/en-us/articles/24218441631892--Availity-Eligibility-Integration-Guide)
98
98
  # A schema of the response object can be found here: [Availity
99
99
  # tner/product/191210/api/190898#/Coverages_100/operation/%2Fcoverages%2F{id}/get)
100
- # - Note Availity requires a free developer account to access this documentation.
100
+ # * Note Availity requires a free developer account to access this documentation.
101
101
  # Check connection status of Availity API and partners here:
102
102
  # - [Availity Trading Partner Connection Status](https://www.availity.com/status/)
103
103
  #
@@ -139,7 +139,7 @@ module CandidApiClient
139
139
  # th.com/hc/en-us/articles/24218441631892--Availity-Eligibility-Integration-Guide)
140
140
  # A schema of the response object can be found here: [Availity
141
141
  # tner/product/191210/api/190898#/Coverages_100/operation/%2Fcoverages%2F{id}/get)
142
- # - Note Availity requires a free developer account to access this documentation.
142
+ # * Note Availity requires a free developer account to access this documentation.
143
143
  # Check connection status of Availity API and partners here:
144
144
  # - [Availity Trading Partner Connection Status](https://www.availity.com/status/)
145
145
  #
@@ -259,7 +259,7 @@ module CandidApiClient
259
259
  # th.com/hc/en-us/articles/24218441631892--Availity-Eligibility-Integration-Guide)
260
260
  # A schema of the response object can be found here: [Availity
261
261
  # tner/product/191210/api/190898#/Coverages_100/operation/%2Fcoverages%2F{id}/get)
262
- # - Note Availity requires a free developer account to access this documentation.
262
+ # * Note Availity requires a free developer account to access this documentation.
263
263
  # Check connection status of Availity API and partners here:
264
264
  # - [Availity Trading Partner Connection Status](https://www.availity.com/status/)
265
265
  #
@@ -304,7 +304,7 @@ module CandidApiClient
304
304
  # th.com/hc/en-us/articles/24218441631892--Availity-Eligibility-Integration-Guide)
305
305
  # A schema of the response object can be found here: [Availity
306
306
  # tner/product/191210/api/190898#/Coverages_100/operation/%2Fcoverages%2F{id}/get)
307
- # - Note Availity requires a free developer account to access this documentation.
307
+ # * Note Availity requires a free developer account to access this documentation.
308
308
  # Check connection status of Availity API and partners here:
309
309
  # - [Availity Trading Partner Connection Status](https://www.availity.com/status/)
310
310
  #
@@ -53,9 +53,6 @@ module CandidApiClient
53
53
  # @param attachment_type [CandidApiClient::EncounterAttachments::V1::Types::EncounterAttachmentType]
54
54
  # @param request_options [CandidApiClient::RequestOptions]
55
55
  # @return [String]
56
- # @example
57
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
58
- # api.encounter_attachments.v_1.create(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", attachment_file: my_file.txt)
59
56
  def create(encounter_id:, attachment_file:, attachment_type:, request_options: nil)
60
57
  response = @request_client.conn.put do |req|
61
58
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -144,9 +141,6 @@ module CandidApiClient
144
141
  # @param attachment_type [CandidApiClient::EncounterAttachments::V1::Types::EncounterAttachmentType]
145
142
  # @param request_options [CandidApiClient::RequestOptions]
146
143
  # @return [String]
147
- # @example
148
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
149
- # api.encounter_attachments.v_1.create(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", attachment_file: my_file.txt)
150
144
  def create(encounter_id:, attachment_file:, attachment_type:, request_options: nil)
151
145
  Async do
152
146
  response = @request_client.conn.put do |req|
@@ -43,7 +43,7 @@ module CandidApiClient
43
43
  # @return [CandidApiClient::EncounterProviders::V2::Types::EncounterProvider]
44
44
  # @example
45
45
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
46
- # api.encounter_providers.v_2.update_referring_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", organization_name: "string" })
46
+ # api.encounter_providers.v_2.update_referring_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { })
47
47
  def update_referring_provider(encounter_id:, request:, request_options: nil)
48
48
  response = @request_client.conn.patch do |req|
49
49
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -79,7 +79,7 @@ module CandidApiClient
79
79
  # @return [CandidApiClient::EncounterProviders::V2::Types::EncounterProvider]
80
80
  # @example
81
81
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
82
- # api.encounter_providers.v_2.update_initial_referring_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, qualifier: DQ, first_name: "string", last_name: "string", organization_name: "string" })
82
+ # api.encounter_providers.v_2.update_initial_referring_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { })
83
83
  def update_initial_referring_provider(encounter_id:, request:, request_options: nil)
84
84
  response = @request_client.conn.patch do |req|
85
85
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -114,7 +114,7 @@ module CandidApiClient
114
114
  # @return [CandidApiClient::EncounterProviders::V2::Types::EncounterProvider]
115
115
  # @example
116
116
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
117
- # api.encounter_providers.v_2.update_supervising_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", organization_name: "string" })
117
+ # api.encounter_providers.v_2.update_supervising_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { })
118
118
  def update_supervising_provider(encounter_id:, request:, request_options: nil)
119
119
  response = @request_client.conn.patch do |req|
120
120
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -149,7 +149,7 @@ module CandidApiClient
149
149
  # @return [CandidApiClient::EncounterProviders::V2::Types::EncounterProvider]
150
150
  # @example
151
151
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
152
- # api.encounter_providers.v_2.update_ordering_provider(service_line_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", organization_name: "string" })
152
+ # api.encounter_providers.v_2.update_ordering_provider(service_line_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { })
153
153
  def update_ordering_provider(service_line_id:, request:, request_options: nil)
154
154
  response = @request_client.conn.patch do |req|
155
155
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -184,7 +184,7 @@ module CandidApiClient
184
184
  # @return [CandidApiClient::EncounterProviders::V2::Types::EncounterProvider]
185
185
  # @example
186
186
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
187
- # api.encounter_providers.v_2.create_referring_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", organization_name: "string" })
187
+ # api.encounter_providers.v_2.create_referring_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "npi" })
188
188
  def create_referring_provider(encounter_id:, request:, request_options: nil)
189
189
  response = @request_client.conn.post do |req|
190
190
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -220,7 +220,7 @@ module CandidApiClient
220
220
  # @return [CandidApiClient::EncounterProviders::V2::Types::EncounterProvider]
221
221
  # @example
222
222
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
223
- # api.encounter_providers.v_2.create_initial_referring_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, qualifier: DQ, first_name: "string", last_name: "string", organization_name: "string" })
223
+ # api.encounter_providers.v_2.create_initial_referring_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "npi" })
224
224
  def create_initial_referring_provider(encounter_id:, request:, request_options: nil)
225
225
  response = @request_client.conn.post do |req|
226
226
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -255,7 +255,7 @@ module CandidApiClient
255
255
  # @return [CandidApiClient::EncounterProviders::V2::Types::EncounterProvider]
256
256
  # @example
257
257
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
258
- # api.encounter_providers.v_2.create_supervising_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", organization_name: "string" })
258
+ # api.encounter_providers.v_2.create_supervising_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "npi" })
259
259
  def create_supervising_provider(encounter_id:, request:, request_options: nil)
260
260
  response = @request_client.conn.post do |req|
261
261
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -290,7 +290,7 @@ module CandidApiClient
290
290
  # @return [CandidApiClient::EncounterProviders::V2::Types::EncounterProvider]
291
291
  # @example
292
292
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
293
- # api.encounter_providers.v_2.create_ordering_provider(service_line_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", organization_name: "string" })
293
+ # api.encounter_providers.v_2.create_ordering_provider(service_line_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "npi" })
294
294
  def create_ordering_provider(service_line_id:, request:, request_options: nil)
295
295
  response = @request_client.conn.post do |req|
296
296
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -416,7 +416,7 @@ module CandidApiClient
416
416
  # @return [CandidApiClient::EncounterProviders::V2::Types::EncounterProvider]
417
417
  # @example
418
418
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
419
- # api.encounter_providers.v_2.update_referring_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", organization_name: "string" })
419
+ # api.encounter_providers.v_2.update_referring_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { })
420
420
  def update_referring_provider(encounter_id:, request:, request_options: nil)
421
421
  Async do
422
422
  response = @request_client.conn.patch do |req|
@@ -454,7 +454,7 @@ module CandidApiClient
454
454
  # @return [CandidApiClient::EncounterProviders::V2::Types::EncounterProvider]
455
455
  # @example
456
456
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
457
- # api.encounter_providers.v_2.update_initial_referring_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, qualifier: DQ, first_name: "string", last_name: "string", organization_name: "string" })
457
+ # api.encounter_providers.v_2.update_initial_referring_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { })
458
458
  def update_initial_referring_provider(encounter_id:, request:, request_options: nil)
459
459
  Async do
460
460
  response = @request_client.conn.patch do |req|
@@ -491,7 +491,7 @@ module CandidApiClient
491
491
  # @return [CandidApiClient::EncounterProviders::V2::Types::EncounterProvider]
492
492
  # @example
493
493
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
494
- # api.encounter_providers.v_2.update_supervising_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", organization_name: "string" })
494
+ # api.encounter_providers.v_2.update_supervising_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { })
495
495
  def update_supervising_provider(encounter_id:, request:, request_options: nil)
496
496
  Async do
497
497
  response = @request_client.conn.patch do |req|
@@ -528,7 +528,7 @@ module CandidApiClient
528
528
  # @return [CandidApiClient::EncounterProviders::V2::Types::EncounterProvider]
529
529
  # @example
530
530
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
531
- # api.encounter_providers.v_2.update_ordering_provider(service_line_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", organization_name: "string" })
531
+ # api.encounter_providers.v_2.update_ordering_provider(service_line_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { })
532
532
  def update_ordering_provider(service_line_id:, request:, request_options: nil)
533
533
  Async do
534
534
  response = @request_client.conn.patch do |req|
@@ -565,7 +565,7 @@ module CandidApiClient
565
565
  # @return [CandidApiClient::EncounterProviders::V2::Types::EncounterProvider]
566
566
  # @example
567
567
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
568
- # api.encounter_providers.v_2.create_referring_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", organization_name: "string" })
568
+ # api.encounter_providers.v_2.create_referring_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "npi" })
569
569
  def create_referring_provider(encounter_id:, request:, request_options: nil)
570
570
  Async do
571
571
  response = @request_client.conn.post do |req|
@@ -603,7 +603,7 @@ module CandidApiClient
603
603
  # @return [CandidApiClient::EncounterProviders::V2::Types::EncounterProvider]
604
604
  # @example
605
605
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
606
- # api.encounter_providers.v_2.create_initial_referring_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, qualifier: DQ, first_name: "string", last_name: "string", organization_name: "string" })
606
+ # api.encounter_providers.v_2.create_initial_referring_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "npi" })
607
607
  def create_initial_referring_provider(encounter_id:, request:, request_options: nil)
608
608
  Async do
609
609
  response = @request_client.conn.post do |req|
@@ -640,7 +640,7 @@ module CandidApiClient
640
640
  # @return [CandidApiClient::EncounterProviders::V2::Types::EncounterProvider]
641
641
  # @example
642
642
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
643
- # api.encounter_providers.v_2.create_supervising_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", organization_name: "string" })
643
+ # api.encounter_providers.v_2.create_supervising_provider(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "npi" })
644
644
  def create_supervising_provider(encounter_id:, request:, request_options: nil)
645
645
  Async do
646
646
  response = @request_client.conn.post do |req|
@@ -677,7 +677,7 @@ module CandidApiClient
677
677
  # @return [CandidApiClient::EncounterProviders::V2::Types::EncounterProvider]
678
678
  # @example
679
679
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
680
- # api.encounter_providers.v_2.create_ordering_provider(service_line_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", organization_name: "string" })
680
+ # api.encounter_providers.v_2.create_ordering_provider(service_line_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { npi: "npi" })
681
681
  def create_ordering_provider(service_line_id:, request:, request_options: nil)
682
682
  Async do
683
683
  response = @request_client.conn.post do |req|