candidhealth 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/candidhealth/auth/default/client.rb +34 -6
- data/lib/candidhealth/charge_capture/v_1/client.rb +48 -48
- data/lib/candidhealth/charge_capture/v_1/types/charge_capture_data.rb +70 -56
- data/lib/candidhealth/commons/types/clearinghouse.rb +18 -0
- data/lib/candidhealth/commons/types/procedure_modifier.rb +11 -0
- data/lib/candidhealth/encounter_providers/v_2/types/billing_provider.rb +1 -1
- data/lib/candidhealth/encounter_providers/v_2/types/billing_provider_update.rb +1 -1
- data/lib/candidhealth/encounter_providers/v_2/types/billing_provider_update_with_optional_address.rb +1 -1
- data/lib/candidhealth/encounters/v_4/client.rb +3253 -2040
- data/lib/candidhealth/encounters/v_4/types/encounter.rb +111 -86
- data/lib/candidhealth/encounters/v_4/types/encounter_base.rb +39 -33
- data/lib/candidhealth/encounters/v_4/types/encounter_create.rb +796 -0
- data/lib/candidhealth/encounters/v_4/types/encounter_create_from_pre_encounter.rb +131 -117
- data/lib/candidhealth/encounters/v_4/types/encounter_deep_optional.rb +70 -56
- data/lib/candidhealth/encounters/v_4/types/encounter_optional.rb +29 -39
- data/lib/candidhealth/encounters/v_4/types/encounter_rendering_or_attending_provider_required_error.rb +55 -0
- data/lib/candidhealth/encounters/v_4/types/encounter_update.rb +736 -0
- data/lib/candidhealth/encounters_universal/types/universal_encounter_create.rb +944 -0
- data/lib/candidhealth/encounters_universal/types/universal_encounter_create_base.rb +691 -0
- data/lib/candidhealth/encounters_universal/types/universal_encounter_create_from_pre_encounter.rb +791 -0
- data/lib/candidhealth/encounters_universal/types/universal_encounter_create_from_pre_encounter_base.rb +572 -0
- data/lib/candidhealth/encounters_universal/types/universal_encounter_update.rb +872 -0
- data/lib/candidhealth/encounters_universal/types/universal_encounter_update_base.rb +700 -0
- data/lib/candidhealth/fee_schedules/v_3/client.rb +57 -0
- data/lib/candidhealth/fee_schedules/v_3/types/validation_error.rb +12 -0
- data/lib/candidhealth/financials/types/patient_transaction_source.rb +1 -0
- data/lib/candidhealth/health_care_code_information/v_1/types/admitting_diagnosis_new.rb +206 -0
- data/lib/candidhealth/health_care_code_information/v_1/types/condition_information_new.rb +207 -0
- data/lib/candidhealth/health_care_code_information/v_1/types/diagnosis_related_group_new.rb +206 -0
- data/lib/candidhealth/health_care_code_information/v_1/types/external_cause_of_injury_new.rb +245 -0
- data/lib/candidhealth/health_care_code_information/v_1/types/health_care_code_information_create.rb +225 -0
- data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_information_new.rb +219 -0
- data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_span_information_new.rb +222 -0
- data/lib/candidhealth/health_care_code_information/v_1/types/other_diagnosis_information_new.rb +215 -0
- data/lib/candidhealth/health_care_code_information/v_1/types/other_procedure_information_new.rb +218 -0
- data/lib/candidhealth/health_care_code_information/v_1/types/patient_reason_for_visit_new.rb +206 -0
- data/lib/candidhealth/health_care_code_information/v_1/types/principal_diagnosis_new.rb +215 -0
- data/lib/candidhealth/health_care_code_information/v_1/types/principal_procedure_information_new.rb +216 -0
- data/lib/candidhealth/health_care_code_information/v_1/types/treatment_code_information_new.rb +206 -0
- data/lib/candidhealth/health_care_code_information/v_1/types/value_information_new.rb +215 -0
- data/lib/candidhealth/individual/types/patient.rb +6 -6
- data/lib/candidhealth/individual/types/patient_base.rb +6 -6
- data/lib/candidhealth/individual/types/patient_create.rb +6 -6
- data/lib/candidhealth/individual/types/patient_update.rb +6 -6
- data/lib/candidhealth/individual/types/patient_update_with_optional_address.rb +6 -6
- data/lib/candidhealth/organization_providers/v_2/types/license_type.rb +2 -0
- data/lib/candidhealth/payers/client.rb +7 -0
- data/lib/candidhealth/payers/v_4/client.rb +137 -0
- data/lib/candidhealth/payers/v_4/types/clearinghouse_payer_info.rb +93 -0
- data/lib/candidhealth/payers/v_4/types/payer.rb +116 -0
- data/lib/candidhealth/payers/v_4/types/payer_ids.rb +107 -0
- data/lib/candidhealth/payers/v_4/types/payer_page.rb +88 -0
- data/lib/candidhealth/payers/v_4/types/support_state.rb +15 -0
- data/lib/candidhealth/pre_encounter/coverages/v_1/client.rb +4 -4
- data/lib/candidhealth/pre_encounter/coverages/v_1/types/subscriber.rb +3 -3
- data/lib/candidhealth/pre_encounter/patients/v_1/client.rb +72 -6
- data/lib/candidhealth/pre_encounter/patients/v_1/types/guarantor.rb +3 -3
- data/lib/candidhealth/pre_encounter/patients/v_1/types/inferred_patient_metadata.rb +80 -0
- data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient.rb +19 -5
- data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient_with_mrn.rb +19 -5
- data/lib/candidhealth/pre_encounter/patients/v_1/types/patient.rb +18 -4
- data/lib/candidhealth/pre_encounter/patients/v_1/types/referral_type.rb +1 -0
- data/lib/candidhealth/service_lines/v_2/client.rb +252 -10
- data/lib/candidhealth/service_lines/v_2/types/service_line.rb +28 -10
- data/lib/candidhealth/service_lines/v_2/types/service_line_create.rb +52 -40
- data/lib/candidhealth/service_lines/v_2/types/service_line_create_base.rb +251 -0
- data/lib/candidhealth/service_lines/v_2/types/service_line_create_base_base.rb +243 -0
- data/lib/candidhealth/service_lines/v_2/types/service_line_create_optional.rb +48 -24
- data/lib/candidhealth/service_lines/v_2/types/service_line_create_standalone.rb +58 -46
- data/lib/candidhealth/service_lines/v_2/types/service_line_create_standalone_base.rb +273 -0
- data/lib/candidhealth/service_lines/v_2/types/service_line_create_standalone_base_base.rb +265 -0
- data/lib/candidhealth/service_lines/v_2/types/service_line_update.rb +64 -54
- data/lib/candidhealth/service_lines/v_2/types/service_line_update_base.rb +263 -0
- data/lib/candidhealth/service_lines/v_2/types/universal_service_line_create.rb +271 -0
- data/lib/candidhealth/service_lines/v_2/types/universal_service_line_create_standalone.rb +317 -0
- data/lib/candidhealth/service_lines/v_2/types/universal_service_line_update.rb +307 -0
- data/lib/candidhealth/x_12/v_1/types/type_of_bill_composite.rb +2 -2
- data/lib/candidhealth/x_12/v_1/types/type_of_bill_composite_base.rb +90 -0
- data/lib/candidhealth/x_12/v_1/types/type_of_bill_composite_update.rb +112 -0
- data/lib/requests.rb +2 -2
- data/lib/types_export.rb +44 -4
- metadata +43 -2
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module CandidApiClient
|
4
|
+
module Commons
|
5
|
+
module Types
|
6
|
+
class Clearinghouse
|
7
|
+
CHANGE_HEALTHCARE = "CHANGE_HEALTHCARE"
|
8
|
+
OLIVE = "OLIVE"
|
9
|
+
UCSF_CIRIUS = "UCSF_CIRIUS"
|
10
|
+
AVAILITY = "AVAILITY"
|
11
|
+
PAYER_PORTAL = "PAYER_PORTAL"
|
12
|
+
STEDI = "STEDI"
|
13
|
+
WAYSTAR = "WAYSTAR"
|
14
|
+
UNKNOWN = "UNKNOWN"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -7,12 +7,23 @@ module CandidApiClient
|
|
7
7
|
AV = "AV"
|
8
8
|
AU = "AU"
|
9
9
|
AW = "AW"
|
10
|
+
SEVEN = "07"
|
11
|
+
EIGHT = "08"
|
12
|
+
NINE = "09"
|
13
|
+
TEN = "10"
|
14
|
+
ELEVEN = "11"
|
15
|
+
TWELVE = "12"
|
16
|
+
THIRTEEN = "13"
|
17
|
+
FOURTEEN = "14"
|
18
|
+
FIFTEEN = "15"
|
19
|
+
SIXTEEN = "16"
|
10
20
|
TWENTY_TWO = "22"
|
11
21
|
TWENTY_THREE = "23"
|
12
22
|
TWENTY_FOUR = "24"
|
13
23
|
TWENTY_FIVE = "25"
|
14
24
|
TWENTY_SIX = "26"
|
15
25
|
TWENTY_SEVEN = "27"
|
26
|
+
TWENTY_EIGHT = "28"
|
16
27
|
THIRTY_TWO = "32"
|
17
28
|
THIRTY_THREE = "33"
|
18
29
|
FORTY_SEVEN = "47"
|
@@ -21,7 +21,7 @@ module CandidApiClient
|
|
21
21
|
# tax ID (TIN) that the provider gave to the payer during contracting.
|
22
22
|
# In other cases, the billing entity will be a medical group. If so, submit the
|
23
23
|
# group NPI and the group's tax ID.
|
24
|
-
# Box 33 on the CMS-1500 claim form.
|
24
|
+
# Box 33 on the CMS-1500 claim or Form Locator 1 on a UB-04 claim form.
|
25
25
|
class BillingProvider
|
26
26
|
# @return [CandidApiClient::Commons::Types::StreetAddressLongZip]
|
27
27
|
attr_reader :address
|
@@ -21,7 +21,7 @@ module CandidApiClient
|
|
21
21
|
# tax ID (TIN) that the provider gave to the payer during contracting.
|
22
22
|
# In other cases, the billing entity will be a medical group. If so, submit the
|
23
23
|
# group NPI and the group's tax ID.
|
24
|
-
# Box 33 on the CMS-1500 claim form.
|
24
|
+
# Box 33 on the CMS-1500 claim or Form Locator 1 on a UB-04 claim form.
|
25
25
|
class BillingProviderUpdate
|
26
26
|
# @return [CandidApiClient::Commons::Types::StreetAddressLongZip]
|
27
27
|
attr_reader :address
|
data/lib/candidhealth/encounter_providers/v_2/types/billing_provider_update_with_optional_address.rb
CHANGED
@@ -21,7 +21,7 @@ module CandidApiClient
|
|
21
21
|
# tax ID (TIN) that the provider gave to the payer during contracting.
|
22
22
|
# In other cases, the billing entity will be a medical group. If so, submit the
|
23
23
|
# group NPI and the group's tax ID.
|
24
|
-
# Box 33 on the CMS-1500 claim form.
|
24
|
+
# Box 33 on the CMS-1500 claim or Form Locator 1 on a UB-04 claim form.
|
25
25
|
# The address fields here are optional.
|
26
26
|
class BillingProviderUpdateWithOptionalAddress
|
27
27
|
# @return [CandidApiClient::Commons::Types::StreetAddressShortZipOptional]
|