candidhealth 0.34.4 → 0.34.5
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e76b394409a81e895ec13570a9b8d7539d2b6002d847e128ee6c03e26e7eb558
|
4
|
+
data.tar.gz: d8a03b50904a01621b04a2080ae270bd87e4f6829f62f3c0e9db6f479df4c66e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 891bf82d60328092697df855aed72fffba74ce459f574f9aee29d90ab875131a535afb4499e5ce70a65089e32c024d989400b02d6594d92444d88a897173b8fa
|
7
|
+
data.tar.gz: 4b88a0015149da9b1ec45fa963cb2e06ddf47eaeebea2a863ddfc8062b794497e90fae7b0f8557d33f87fd68e8f25ffae78fc66b43aec96e458588743a12f79f
|
@@ -0,0 +1,144 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "../../../commons/types/street_address_long_zip"
|
4
|
+
require "ostruct"
|
5
|
+
require "json"
|
6
|
+
|
7
|
+
module CandidApiClient
|
8
|
+
module EncounterProviders
|
9
|
+
module V2
|
10
|
+
module Types
|
11
|
+
# The billing provider is the provider or business entity submitting the claim.
|
12
|
+
# Billing provider may be, but is not necessarily, the same person/NPI as the
|
13
|
+
# rendering provider.
|
14
|
+
# From a payer's perspective, this represents the person or entity being
|
15
|
+
# reimbursed.
|
16
|
+
# When a contract exists with the target payer, the billing provider should be the
|
17
|
+
# entity contracted with the payer.
|
18
|
+
# In some circumstances, this will be an individual provider. In that case, submit
|
19
|
+
# that provider's NPI and the
|
20
|
+
# tax ID (TIN) that the provider gave to the payer during contracting.
|
21
|
+
# In other cases, the billing entity will be a medical group. If so, submit the
|
22
|
+
# group NPI and the group's tax ID.
|
23
|
+
# Box 33 on the CMS-1500 claim form.
|
24
|
+
class BillingProviderUpdate
|
25
|
+
# @return [CandidApiClient::Commons::Types::StreetAddressLongZip]
|
26
|
+
attr_reader :address
|
27
|
+
# @return [String] If the provider has a contract with insurance, this must be the same tax ID
|
28
|
+
# given to the payer on an IRS W-9 form completed during contracting.
|
29
|
+
attr_reader :tax_id
|
30
|
+
# @return [String]
|
31
|
+
attr_reader :npi
|
32
|
+
# @return [String]
|
33
|
+
attr_reader :taxonomy_code
|
34
|
+
# @return [String] If the provider is an individual, this should be set instead of organization
|
35
|
+
# name
|
36
|
+
attr_reader :first_name
|
37
|
+
# @return [String] If the provider is an individual, this should be set instead of organization
|
38
|
+
# name
|
39
|
+
attr_reader :last_name
|
40
|
+
# @return [String] If the provider is an organization, this should be set instead of first + last
|
41
|
+
# name
|
42
|
+
attr_reader :organization_name
|
43
|
+
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
44
|
+
attr_reader :additional_properties
|
45
|
+
# @return [Object]
|
46
|
+
attr_reader :_field_set
|
47
|
+
protected :_field_set
|
48
|
+
|
49
|
+
OMIT = Object.new
|
50
|
+
|
51
|
+
# @param address [CandidApiClient::Commons::Types::StreetAddressLongZip]
|
52
|
+
# @param tax_id [String] If the provider has a contract with insurance, this must be the same tax ID
|
53
|
+
# given to the payer on an IRS W-9 form completed during contracting.
|
54
|
+
# @param npi [String]
|
55
|
+
# @param taxonomy_code [String]
|
56
|
+
# @param first_name [String] If the provider is an individual, this should be set instead of organization
|
57
|
+
# name
|
58
|
+
# @param last_name [String] If the provider is an individual, this should be set instead of organization
|
59
|
+
# name
|
60
|
+
# @param organization_name [String] If the provider is an organization, this should be set instead of first + last
|
61
|
+
# name
|
62
|
+
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
63
|
+
# @return [CandidApiClient::EncounterProviders::V2::Types::BillingProviderUpdate]
|
64
|
+
def initialize(address: OMIT, tax_id: OMIT, npi: OMIT, taxonomy_code: OMIT, first_name: OMIT,
|
65
|
+
last_name: OMIT, organization_name: OMIT, additional_properties: nil)
|
66
|
+
@address = address if address != OMIT
|
67
|
+
@tax_id = tax_id if tax_id != OMIT
|
68
|
+
@npi = npi if npi != OMIT
|
69
|
+
@taxonomy_code = taxonomy_code if taxonomy_code != OMIT
|
70
|
+
@first_name = first_name if first_name != OMIT
|
71
|
+
@last_name = last_name if last_name != OMIT
|
72
|
+
@organization_name = organization_name if organization_name != OMIT
|
73
|
+
@additional_properties = additional_properties
|
74
|
+
@_field_set = {
|
75
|
+
"address": address,
|
76
|
+
"tax_id": tax_id,
|
77
|
+
"npi": npi,
|
78
|
+
"taxonomy_code": taxonomy_code,
|
79
|
+
"first_name": first_name,
|
80
|
+
"last_name": last_name,
|
81
|
+
"organization_name": organization_name
|
82
|
+
}.reject do |_k, v|
|
83
|
+
v == OMIT
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
# Deserialize a JSON object to an instance of BillingProviderUpdate
|
88
|
+
#
|
89
|
+
# @param json_object [String]
|
90
|
+
# @return [CandidApiClient::EncounterProviders::V2::Types::BillingProviderUpdate]
|
91
|
+
def self.from_json(json_object:)
|
92
|
+
struct = JSON.parse(json_object, object_class: OpenStruct)
|
93
|
+
parsed_json = JSON.parse(json_object)
|
94
|
+
if parsed_json["address"].nil?
|
95
|
+
address = nil
|
96
|
+
else
|
97
|
+
address = parsed_json["address"].to_json
|
98
|
+
address = CandidApiClient::Commons::Types::StreetAddressLongZip.from_json(json_object: address)
|
99
|
+
end
|
100
|
+
tax_id = struct["tax_id"]
|
101
|
+
npi = struct["npi"]
|
102
|
+
taxonomy_code = struct["taxonomy_code"]
|
103
|
+
first_name = struct["first_name"]
|
104
|
+
last_name = struct["last_name"]
|
105
|
+
organization_name = struct["organization_name"]
|
106
|
+
new(
|
107
|
+
address: address,
|
108
|
+
tax_id: tax_id,
|
109
|
+
npi: npi,
|
110
|
+
taxonomy_code: taxonomy_code,
|
111
|
+
first_name: first_name,
|
112
|
+
last_name: last_name,
|
113
|
+
organization_name: organization_name,
|
114
|
+
additional_properties: struct
|
115
|
+
)
|
116
|
+
end
|
117
|
+
|
118
|
+
# Serialize an instance of BillingProviderUpdate to a JSON object
|
119
|
+
#
|
120
|
+
# @return [String]
|
121
|
+
def to_json(*_args)
|
122
|
+
@_field_set&.to_json
|
123
|
+
end
|
124
|
+
|
125
|
+
# Leveraged for Union-type generation, validate_raw attempts to parse the given
|
126
|
+
# hash and check each fields type against the current object's property
|
127
|
+
# definitions.
|
128
|
+
#
|
129
|
+
# @param obj [Object]
|
130
|
+
# @return [Void]
|
131
|
+
def self.validate_raw(obj:)
|
132
|
+
obj.address.nil? || CandidApiClient::Commons::Types::StreetAddressLongZip.validate_raw(obj: obj.address)
|
133
|
+
obj.tax_id&.is_a?(String) != false || raise("Passed value for field obj.tax_id is not the expected type, validation failed.")
|
134
|
+
obj.npi&.is_a?(String) != false || raise("Passed value for field obj.npi is not the expected type, validation failed.")
|
135
|
+
obj.taxonomy_code&.is_a?(String) != false || raise("Passed value for field obj.taxonomy_code is not the expected type, validation failed.")
|
136
|
+
obj.first_name&.is_a?(String) != false || raise("Passed value for field obj.first_name is not the expected type, validation failed.")
|
137
|
+
obj.last_name&.is_a?(String) != false || raise("Passed value for field obj.last_name is not the expected type, validation failed.")
|
138
|
+
obj.organization_name&.is_a?(String) != false || raise("Passed value for field obj.organization_name is not the expected type, validation failed.")
|
139
|
+
end
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
143
|
+
end
|
144
|
+
end
|
@@ -39,6 +39,7 @@ require_relative "types/vitals_update"
|
|
39
39
|
require_relative "../../encounter_providers/v_2/types/rendering_provider_update"
|
40
40
|
require_relative "../../service_facility/types/encounter_service_facility_update"
|
41
41
|
require_relative "../../guarantor/v_1/types/guarantor_update"
|
42
|
+
require_relative "../../encounter_providers/v_2/types/billing_provider_update"
|
42
43
|
require_relative "../../encounter_providers/v_2/types/supervising_provider_update"
|
43
44
|
require_relative "../../encounter_providers/v_2/types/referring_provider_update"
|
44
45
|
require_relative "../../encounter_providers/v_2/types/initial_referring_provider_update"
|
@@ -1222,6 +1223,28 @@ module CandidApiClient
|
|
1222
1223
|
# * :phone_consent (Boolean)
|
1223
1224
|
# * :email (String)
|
1224
1225
|
# * :email_consent (Boolean)
|
1226
|
+
# @param billing_provider [Hash] The billing provider is the provider or business entity submitting the claim.
|
1227
|
+
# Billing provider may be, but is not necessarily, the same person/NPI as the
|
1228
|
+
# rendering provider. From a payer's perspective, this represents the person or
|
1229
|
+
# entity being reimbursed. When a contract exists with the target payer, the
|
1230
|
+
# billing provider should be the entity contracted with the payer. In some
|
1231
|
+
# circumstances, this will be an individual provider. In that case, submit that
|
1232
|
+
# provider's NPI and the tax ID (TIN) that the provider gave to the payer during
|
1233
|
+
# contracting. In other cases, the billing entity will be a medical group. If so,
|
1234
|
+
# submit the group NPI and the group's tax ID. Box 33 on the CMS-1500 claim form.Request of type CandidApiClient::EncounterProviders::V2::Types::BillingProviderUpdate, as a Hash
|
1235
|
+
# * :address (Hash)
|
1236
|
+
# * :zip_plus_four_code (String)
|
1237
|
+
# * :address_1 (String)
|
1238
|
+
# * :address_2 (String)
|
1239
|
+
# * :city (String)
|
1240
|
+
# * :state (CandidApiClient::Commons::Types::State)
|
1241
|
+
# * :zip_code (String)
|
1242
|
+
# * :tax_id (String)
|
1243
|
+
# * :npi (String)
|
1244
|
+
# * :taxonomy_code (String)
|
1245
|
+
# * :first_name (String)
|
1246
|
+
# * :last_name (String)
|
1247
|
+
# * :organization_name (String)
|
1225
1248
|
# @param supervising_provider [Hash] Required when the rendering provider is supervised by a physician. If not
|
1226
1249
|
# required by this implementation guide, do not send.Request of type CandidApiClient::EncounterProviders::V2::Types::SupervisingProviderUpdate, as a Hash
|
1227
1250
|
# * :npi (String)
|
@@ -1308,12 +1331,13 @@ module CandidApiClient
|
|
1308
1331
|
# rendering_provider: { 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" },
|
1309
1332
|
# service_facility: { organization_name: "Test Organization", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" } },
|
1310
1333
|
# guarantor: { first_name: "string", last_name: "string", external_id: "string", date_of_birth: DateTime.parse(2023-01-15), address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, phone_numbers: [{ number: "1234567890", type: HOME }], phone_consent: true, email: "johndoe@joincandidhealth.com", email_consent: true },
|
1334
|
+
# billing_provider: { address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, tax_id: "string", npi: "string", taxonomy_code: "string", first_name: "string", last_name: "string", organization_name: "string" },
|
1311
1335
|
# supervising_provider: { 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" },
|
1312
1336
|
# referring_provider: { 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" },
|
1313
1337
|
# initial_referring_provider: { 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" }
|
1314
1338
|
# )
|
1315
1339
|
def update(encounter_id:, prior_authorization_number: nil, external_id: nil, date_of_service: nil,
|
1316
|
-
diagnosis_ids: nil, tag_ids: nil, clinical_notes: nil, pay_to_address: nil, billable_status: nil, responsible_party: nil, provider_accepts_assignment: nil, benefits_assigned_to_provider: nil, synchronicity: nil, place_of_service_code: nil, place_of_service_code_as_submitted: nil, appointment_type: nil, end_date_of_service: nil, subscriber_primary: nil, subscriber_secondary: nil, additional_information: nil, service_authorization_exception_code: nil, admission_date: nil, discharge_date: nil, onset_of_current_illness_or_symptom_date: nil, last_menstrual_period_date: nil, delay_reason_code: nil, patient: nil, patient_authorized_release: nil, schema_instances: nil, vitals: nil, existing_medications: nil, rendering_provider: nil, service_facility: nil, guarantor: nil, supervising_provider: nil, referring_provider: nil, initial_referring_provider: nil, request_options: nil)
|
1340
|
+
diagnosis_ids: nil, tag_ids: nil, clinical_notes: nil, pay_to_address: nil, billable_status: nil, responsible_party: nil, provider_accepts_assignment: nil, benefits_assigned_to_provider: nil, synchronicity: nil, place_of_service_code: nil, place_of_service_code_as_submitted: nil, appointment_type: nil, end_date_of_service: nil, subscriber_primary: nil, subscriber_secondary: nil, additional_information: nil, service_authorization_exception_code: nil, admission_date: nil, discharge_date: nil, onset_of_current_illness_or_symptom_date: nil, last_menstrual_period_date: nil, delay_reason_code: nil, patient: nil, patient_authorized_release: nil, schema_instances: nil, vitals: nil, existing_medications: nil, rendering_provider: nil, service_facility: nil, guarantor: nil, billing_provider: nil, supervising_provider: nil, referring_provider: nil, initial_referring_provider: nil, request_options: nil)
|
1317
1341
|
response = @request_client.conn.patch do |req|
|
1318
1342
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
1319
1343
|
req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
|
@@ -1357,6 +1381,7 @@ module CandidApiClient
|
|
1357
1381
|
rendering_provider: rendering_provider,
|
1358
1382
|
service_facility: service_facility,
|
1359
1383
|
guarantor: guarantor,
|
1384
|
+
billing_provider: billing_provider,
|
1360
1385
|
supervising_provider: supervising_provider,
|
1361
1386
|
referring_provider: referring_provider,
|
1362
1387
|
initial_referring_provider: initial_referring_provider
|
@@ -2551,6 +2576,28 @@ module CandidApiClient
|
|
2551
2576
|
# * :phone_consent (Boolean)
|
2552
2577
|
# * :email (String)
|
2553
2578
|
# * :email_consent (Boolean)
|
2579
|
+
# @param billing_provider [Hash] The billing provider is the provider or business entity submitting the claim.
|
2580
|
+
# Billing provider may be, but is not necessarily, the same person/NPI as the
|
2581
|
+
# rendering provider. From a payer's perspective, this represents the person or
|
2582
|
+
# entity being reimbursed. When a contract exists with the target payer, the
|
2583
|
+
# billing provider should be the entity contracted with the payer. In some
|
2584
|
+
# circumstances, this will be an individual provider. In that case, submit that
|
2585
|
+
# provider's NPI and the tax ID (TIN) that the provider gave to the payer during
|
2586
|
+
# contracting. In other cases, the billing entity will be a medical group. If so,
|
2587
|
+
# submit the group NPI and the group's tax ID. Box 33 on the CMS-1500 claim form.Request of type CandidApiClient::EncounterProviders::V2::Types::BillingProviderUpdate, as a Hash
|
2588
|
+
# * :address (Hash)
|
2589
|
+
# * :zip_plus_four_code (String)
|
2590
|
+
# * :address_1 (String)
|
2591
|
+
# * :address_2 (String)
|
2592
|
+
# * :city (String)
|
2593
|
+
# * :state (CandidApiClient::Commons::Types::State)
|
2594
|
+
# * :zip_code (String)
|
2595
|
+
# * :tax_id (String)
|
2596
|
+
# * :npi (String)
|
2597
|
+
# * :taxonomy_code (String)
|
2598
|
+
# * :first_name (String)
|
2599
|
+
# * :last_name (String)
|
2600
|
+
# * :organization_name (String)
|
2554
2601
|
# @param supervising_provider [Hash] Required when the rendering provider is supervised by a physician. If not
|
2555
2602
|
# required by this implementation guide, do not send.Request of type CandidApiClient::EncounterProviders::V2::Types::SupervisingProviderUpdate, as a Hash
|
2556
2603
|
# * :npi (String)
|
@@ -2637,12 +2684,13 @@ module CandidApiClient
|
|
2637
2684
|
# rendering_provider: { 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" },
|
2638
2685
|
# service_facility: { organization_name: "Test Organization", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" } },
|
2639
2686
|
# guarantor: { first_name: "string", last_name: "string", external_id: "string", date_of_birth: DateTime.parse(2023-01-15), address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, phone_numbers: [{ number: "1234567890", type: HOME }], phone_consent: true, email: "johndoe@joincandidhealth.com", email_consent: true },
|
2687
|
+
# billing_provider: { address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, tax_id: "string", npi: "string", taxonomy_code: "string", first_name: "string", last_name: "string", organization_name: "string" },
|
2640
2688
|
# supervising_provider: { 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" },
|
2641
2689
|
# referring_provider: { 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" },
|
2642
2690
|
# initial_referring_provider: { 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" }
|
2643
2691
|
# )
|
2644
2692
|
def update(encounter_id:, prior_authorization_number: nil, external_id: nil, date_of_service: nil,
|
2645
|
-
diagnosis_ids: nil, tag_ids: nil, clinical_notes: nil, pay_to_address: nil, billable_status: nil, responsible_party: nil, provider_accepts_assignment: nil, benefits_assigned_to_provider: nil, synchronicity: nil, place_of_service_code: nil, place_of_service_code_as_submitted: nil, appointment_type: nil, end_date_of_service: nil, subscriber_primary: nil, subscriber_secondary: nil, additional_information: nil, service_authorization_exception_code: nil, admission_date: nil, discharge_date: nil, onset_of_current_illness_or_symptom_date: nil, last_menstrual_period_date: nil, delay_reason_code: nil, patient: nil, patient_authorized_release: nil, schema_instances: nil, vitals: nil, existing_medications: nil, rendering_provider: nil, service_facility: nil, guarantor: nil, supervising_provider: nil, referring_provider: nil, initial_referring_provider: nil, request_options: nil)
|
2693
|
+
diagnosis_ids: nil, tag_ids: nil, clinical_notes: nil, pay_to_address: nil, billable_status: nil, responsible_party: nil, provider_accepts_assignment: nil, benefits_assigned_to_provider: nil, synchronicity: nil, place_of_service_code: nil, place_of_service_code_as_submitted: nil, appointment_type: nil, end_date_of_service: nil, subscriber_primary: nil, subscriber_secondary: nil, additional_information: nil, service_authorization_exception_code: nil, admission_date: nil, discharge_date: nil, onset_of_current_illness_or_symptom_date: nil, last_menstrual_period_date: nil, delay_reason_code: nil, patient: nil, patient_authorized_release: nil, schema_instances: nil, vitals: nil, existing_medications: nil, rendering_provider: nil, service_facility: nil, guarantor: nil, billing_provider: nil, supervising_provider: nil, referring_provider: nil, initial_referring_provider: nil, request_options: nil)
|
2646
2694
|
Async do
|
2647
2695
|
response = @request_client.conn.patch do |req|
|
2648
2696
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -2687,6 +2735,7 @@ module CandidApiClient
|
|
2687
2735
|
rendering_provider: rendering_provider,
|
2688
2736
|
service_facility: service_facility,
|
2689
2737
|
guarantor: guarantor,
|
2738
|
+
billing_provider: billing_provider,
|
2690
2739
|
supervising_provider: supervising_provider,
|
2691
2740
|
referring_provider: referring_provider,
|
2692
2741
|
initial_referring_provider: initial_referring_provider
|
data/lib/requests.rb
CHANGED
@@ -43,7 +43,7 @@ module CandidApiClient
|
|
43
43
|
|
44
44
|
# @return [Hash{String => String}]
|
45
45
|
def get_headers
|
46
|
-
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.34.
|
46
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.34.5" }
|
47
47
|
headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
|
48
48
|
headers
|
49
49
|
end
|
@@ -87,7 +87,7 @@ module CandidApiClient
|
|
87
87
|
|
88
88
|
# @return [Hash{String => String}]
|
89
89
|
def get_headers
|
90
|
-
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.34.
|
90
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.34.5" }
|
91
91
|
headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
|
92
92
|
headers
|
93
93
|
end
|
data/lib/types_export.rb
CHANGED
@@ -38,6 +38,7 @@ require_relative "candidhealth/encounter_providers/v_2/types/supervising_provide
|
|
38
38
|
require_relative "candidhealth/encounter_providers/v_2/types/ordering_provider"
|
39
39
|
require_relative "candidhealth/encounter_providers/v_2/types/ordering_provider_update"
|
40
40
|
require_relative "candidhealth/encounter_providers/v_2/types/billing_provider"
|
41
|
+
require_relative "candidhealth/encounter_providers/v_2/types/billing_provider_update"
|
41
42
|
require_relative "candidhealth/encounter_providers/v_2/types/encounter_provider"
|
42
43
|
require_relative "candidhealth/encounters/v_4/types/encounter_base"
|
43
44
|
require_relative "candidhealth/encounters/v_4/types/encounter"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: candidhealth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.34.
|
4
|
+
version: 0.34.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-http-faraday
|
@@ -177,6 +177,7 @@ files:
|
|
177
177
|
- lib/candidhealth/encounter_providers/client.rb
|
178
178
|
- lib/candidhealth/encounter_providers/v_2/client.rb
|
179
179
|
- lib/candidhealth/encounter_providers/v_2/types/billing_provider.rb
|
180
|
+
- lib/candidhealth/encounter_providers/v_2/types/billing_provider_update.rb
|
180
181
|
- lib/candidhealth/encounter_providers/v_2/types/encounter_provider.rb
|
181
182
|
- lib/candidhealth/encounter_providers/v_2/types/encounter_provider_base.rb
|
182
183
|
- lib/candidhealth/encounter_providers/v_2/types/initial_referring_provider.rb
|