Class: Candid::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/candid/client.rb

Instance Method Summary collapse

Constructor Details

#initialize(base_url:) ⇒ Candid::Client



6
7
8
9
10
11
12
13
14
# File 'lib/candid/client.rb', line 6

def initialize(base_url:)
  @raw_client = Candid::Internal::Http::RawClient.new(
    base_url: base_url,
    headers: {
      "User-Agent": "candidhealth/1.14.3",
      "X-Fern-Language": "Ruby"
    }
  )
end

Instance Method Details

#authCandid::Auth::Client



17
18
19
# File 'lib/candid/client.rb', line 17

def auth
  @auth ||= Candid::Auth::Client.new(client: @raw_client)
end

#billing_notesCandid::BillingNotes::Client



22
23
24
# File 'lib/candid/client.rb', line 22

def billing_notes
  @billing_notes ||= Candid::BillingNotes::Client.new(client: @raw_client)
end

#charge_captureCandid::ChargeCapture::Client



32
33
34
# File 'lib/candid/client.rb', line 32

def charge_capture
  @charge_capture ||= Candid::ChargeCapture::Client.new(client: @raw_client)
end

#charge_capture_bundlesCandid::ChargeCaptureBundles::Client



27
28
29
# File 'lib/candid/client.rb', line 27

def charge_capture_bundles
  @charge_capture_bundles ||= Candid::ChargeCaptureBundles::Client.new(client: @raw_client)
end

#contractsCandid::Contracts::Client



37
38
39
# File 'lib/candid/client.rb', line 37

def contracts
  @contracts ||= Candid::Contracts::Client.new(client: @raw_client)
end

#credentialingCandid::Credentialing::Client



42
43
44
# File 'lib/candid/client.rb', line 42

def credentialing
  @credentialing ||= Candid::Credentialing::Client.new(client: @raw_client)
end

#custom_schemasCandid::CustomSchemas::Client



47
48
49
# File 'lib/candid/client.rb', line 47

def custom_schemas
  @custom_schemas ||= Candid::CustomSchemas::Client.new(client: @raw_client)
end

#diagnosesCandid::Diagnoses::Client



202
203
204
# File 'lib/candid/client.rb', line 202

def diagnoses
  @diagnoses ||= Candid::Diagnoses::Client.new(client: @raw_client)
end

#eligibilityCandid::Eligibility::Client



52
53
54
# File 'lib/candid/client.rb', line 52

def eligibility
  @eligibility ||= Candid::Eligibility::Client.new(client: @raw_client)
end

#encounter_attachmentsCandid::EncounterAttachments::Client



57
58
59
# File 'lib/candid/client.rb', line 57

def encounter_attachments
  @encounter_attachments ||= Candid::EncounterAttachments::Client.new(client: @raw_client)
end

#encounter_providersCandid::EncounterProviders::Client



62
63
64
# File 'lib/candid/client.rb', line 62

def encounter_providers
  @encounter_providers ||= Candid::EncounterProviders::Client.new(client: @raw_client)
end

#encounter_supplemental_informationCandid::EncounterSupplementalInformation::Client



67
68
69
# File 'lib/candid/client.rb', line 67

def encounter_supplemental_information
  @encounter_supplemental_information ||= Candid::EncounterSupplementalInformation::Client.new(client: @raw_client)
end

#encountersCandid::Encounters::Client



72
73
74
# File 'lib/candid/client.rb', line 72

def encounters
  @encounters ||= Candid::Encounters::Client.new(client: @raw_client)
end

#expected_network_statusCandid::ExpectedNetworkStatus::Client



77
78
79
# File 'lib/candid/client.rb', line 77

def expected_network_status
  @expected_network_status ||= Candid::ExpectedNetworkStatus::Client.new(client: @raw_client)
end

#exportsCandid::Exports::Client



82
83
84
# File 'lib/candid/client.rb', line 82

def exports
  @exports ||= Candid::Exports::Client.new(client: @raw_client)
end

#external_payment_account_configCandid::ExternalPaymentAccountConfig::Client



87
88
89
# File 'lib/candid/client.rb', line 87

def 
  @external_payment_account_config ||= Candid::ExternalPaymentAccountConfig::Client.new(client: @raw_client)
end

#fee_schedulesCandid::FeeSchedules::Client



92
93
94
# File 'lib/candid/client.rb', line 92

def fee_schedules
  @fee_schedules ||= Candid::FeeSchedules::Client.new(client: @raw_client)
end

#guarantorCandid::Guarantor::Client



97
98
99
# File 'lib/candid/client.rb', line 97

def guarantor
  @guarantor ||= Candid::Guarantor::Client.new(client: @raw_client)
end

#health_care_code_informationCandid::HealthCareCodeInformation::Client



102
103
104
# File 'lib/candid/client.rb', line 102

def health_care_code_information
  @health_care_code_information ||= Candid::HealthCareCodeInformation::Client.new(client: @raw_client)
end

#import_invoiceCandid::ImportInvoice::Client



107
108
109
# File 'lib/candid/client.rb', line 107

def import_invoice
  @import_invoice ||= Candid::ImportInvoice::Client.new(client: @raw_client)
end

#insurance_paymentsCandid::InsurancePayments::Client



112
113
114
# File 'lib/candid/client.rb', line 112

def insurance_payments
  @insurance_payments ||= Candid::InsurancePayments::Client.new(client: @raw_client)
end

#insurance_refundsCandid::InsuranceRefunds::Client



117
118
119
# File 'lib/candid/client.rb', line 117

def insurance_refunds
  @insurance_refunds ||= Candid::InsuranceRefunds::Client.new(client: @raw_client)
end

#medication_dispenseCandid::MedicationDispense::Client



122
123
124
# File 'lib/candid/client.rb', line 122

def medication_dispense
  @medication_dispense ||= Candid::MedicationDispense::Client.new(client: @raw_client)
end

#non_insurance_payer_paymentsCandid::NonInsurancePayerPayments::Client



127
128
129
# File 'lib/candid/client.rb', line 127

def non_insurance_payer_payments
  @non_insurance_payer_payments ||= Candid::NonInsurancePayerPayments::Client.new(client: @raw_client)
end

#non_insurance_payer_refundsCandid::NonInsurancePayerRefunds::Client



132
133
134
# File 'lib/candid/client.rb', line 132

def non_insurance_payer_refunds
  @non_insurance_payer_refunds ||= Candid::NonInsurancePayerRefunds::Client.new(client: @raw_client)
end

#non_insurance_payersCandid::NonInsurancePayers::Client



137
138
139
# File 'lib/candid/client.rb', line 137

def non_insurance_payers
  @non_insurance_payers ||= Candid::NonInsurancePayers::Client.new(client: @raw_client)
end

#organization_providersCandid::OrganizationProviders::Client



142
143
144
# File 'lib/candid/client.rb', line 142

def organization_providers
  @organization_providers ||= Candid::OrganizationProviders::Client.new(client: @raw_client)
end

#organization_service_facilitiesCandid::OrganizationServiceFacilities::Client



147
148
149
# File 'lib/candid/client.rb', line 147

def organization_service_facilities
  @organization_service_facilities ||= Candid::OrganizationServiceFacilities::Client.new(client: @raw_client)
end

#patient_arCandid::PatientAr::Client



152
153
154
# File 'lib/candid/client.rb', line 152

def patient_ar
  @patient_ar ||= Candid::PatientAr::Client.new(client: @raw_client)
end

#patient_paymentsCandid::PatientPayments::Client



157
158
159
# File 'lib/candid/client.rb', line 157

def patient_payments
  @patient_payments ||= Candid::PatientPayments::Client.new(client: @raw_client)
end

#patient_refundsCandid::PatientRefunds::Client



162
163
164
# File 'lib/candid/client.rb', line 162

def patient_refunds
  @patient_refunds ||= Candid::PatientRefunds::Client.new(client: @raw_client)
end

#payer_plan_groupsCandid::PayerPlanGroups::Client



167
168
169
# File 'lib/candid/client.rb', line 167

def payer_plan_groups
  @payer_plan_groups ||= Candid::PayerPlanGroups::Client.new(client: @raw_client)
end

#payersCandid::Payers::Client



172
173
174
# File 'lib/candid/client.rb', line 172

def payers
  @payers ||= Candid::Payers::Client.new(client: @raw_client)
end

#pre_encounterCandid::PreEncounter::Client



197
198
199
# File 'lib/candid/client.rb', line 197

def pre_encounter
  @pre_encounter ||= Candid::PreEncounter::Client.new(client: @raw_client)
end

#service_linesCandid::ServiceLines::Client



177
178
179
# File 'lib/candid/client.rb', line 177

def service_lines
  @service_lines ||= Candid::ServiceLines::Client.new(client: @raw_client)
end

#superbillsCandid::Superbills::Client



182
183
184
# File 'lib/candid/client.rb', line 182

def superbills
  @superbills ||= Candid::Superbills::Client.new(client: @raw_client)
end

#tasksCandid::Tasks::Client



187
188
189
# File 'lib/candid/client.rb', line 187

def tasks
  @tasks ||= Candid::Tasks::Client.new(client: @raw_client)
end

#write_offsCandid::WriteOffs::Client



192
193
194
# File 'lib/candid/client.rb', line 192

def write_offs
  @write_offs ||= Candid::WriteOffs::Client.new(client: @raw_client)
end