candidhealth 0.17.1
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 +7 -0
- data/lib/candidhealth/auth/client.rb +28 -0
- data/lib/candidhealth/auth/v_2/client.rb +90 -0
- data/lib/candidhealth/auth/v_2/types/auth_get_token_request.rb +54 -0
- data/lib/candidhealth/auth/v_2/types/auth_get_token_response.rb +59 -0
- data/lib/candidhealth/auth/v_2/types/too_many_requests_error_type.rb +49 -0
- data/lib/candidhealth/billing_notes/client.rb +28 -0
- data/lib/candidhealth/billing_notes/v_2/client.rb +76 -0
- data/lib/candidhealth/billing_notes/v_2/types/billing_note.rb +89 -0
- data/lib/candidhealth/billing_notes/v_2/types/billing_note_base.rb +49 -0
- data/lib/candidhealth/billing_notes/v_2/types/billing_note_id.rb +9 -0
- data/lib/candidhealth/claim_submission/v_1/types/claim_frequency_type_code.rb +14 -0
- data/lib/candidhealth/claim_submission/v_1/types/claim_submission_record_create.rb +68 -0
- data/lib/candidhealth/claim_submission/v_1/types/external_claim_submission_create.rb +75 -0
- data/lib/candidhealth/claims/types/claim.rb +98 -0
- data/lib/candidhealth/claims/types/claim_status.rb +23 -0
- data/lib/candidhealth/commons/types/claim_adjustment_group_codes.rb +17 -0
- data/lib/candidhealth/commons/types/claim_id.rb +7 -0
- data/lib/candidhealth/commons/types/claim_submission_payer_responsibility_type.rb +10 -0
- data/lib/candidhealth/commons/types/date.rb +7 -0
- data/lib/candidhealth/commons/types/date_range_optional_end.rb +53 -0
- data/lib/candidhealth/commons/types/decimal.rb +7 -0
- data/lib/candidhealth/commons/types/delay_reason_code.rb +23 -0
- data/lib/candidhealth/commons/types/email.rb +7 -0
- data/lib/candidhealth/commons/types/emr_payer_crosswalk.rb +10 -0
- data/lib/candidhealth/commons/types/encounter_external_id.rb +7 -0
- data/lib/candidhealth/commons/types/encounter_id.rb +7 -0
- data/lib/candidhealth/commons/types/entity_not_found_error_message.rb +47 -0
- data/lib/candidhealth/commons/types/error_message.rb +7 -0
- data/lib/candidhealth/commons/types/facility_type_code.rb +61 -0
- data/lib/candidhealth/commons/types/http_service_unavailable_error_message.rb +47 -0
- data/lib/candidhealth/commons/types/insurance_type_code.rb +79 -0
- data/lib/candidhealth/commons/types/invoice_id.rb +7 -0
- data/lib/candidhealth/commons/types/link_url.rb +7 -0
- data/lib/candidhealth/commons/types/npi.rb +7 -0
- data/lib/candidhealth/commons/types/organization_id.rb +7 -0
- data/lib/candidhealth/commons/types/organization_not_authorized_error_message.rb +47 -0
- data/lib/candidhealth/commons/types/page_token.rb +7 -0
- data/lib/candidhealth/commons/types/patient_external_id.rb +7 -0
- data/lib/candidhealth/commons/types/patient_relationship_to_insured_code_all.rb +32 -0
- data/lib/candidhealth/commons/types/phone_number.rb +53 -0
- data/lib/candidhealth/commons/types/phone_number_type.rb +11 -0
- data/lib/candidhealth/commons/types/procedure_modifier.rb +395 -0
- data/lib/candidhealth/commons/types/provider_id.rb +7 -0
- data/lib/candidhealth/commons/types/region_national.rb +41 -0
- data/lib/candidhealth/commons/types/region_states.rb +48 -0
- data/lib/candidhealth/commons/types/regions.rb +92 -0
- data/lib/candidhealth/commons/types/removable_date_range_optional_end.rb +90 -0
- data/lib/candidhealth/commons/types/request_validation_error.rb +52 -0
- data/lib/candidhealth/commons/types/resource_page.rb +53 -0
- data/lib/candidhealth/commons/types/service_line_id.rb +7 -0
- data/lib/candidhealth/commons/types/service_line_units.rb +10 -0
- data/lib/candidhealth/commons/types/sort_direction.rb +10 -0
- data/lib/candidhealth/commons/types/source_of_payment_code.rb +31 -0
- data/lib/candidhealth/commons/types/state.rb +70 -0
- data/lib/candidhealth/commons/types/street_address_base.rb +75 -0
- data/lib/candidhealth/commons/types/street_address_long_zip.rb +82 -0
- data/lib/candidhealth/commons/types/street_address_short_zip.rb +82 -0
- data/lib/candidhealth/commons/types/task_assignment_id.rb +7 -0
- data/lib/candidhealth/commons/types/task_id.rb +7 -0
- data/lib/candidhealth/commons/types/task_note_id.rb +7 -0
- data/lib/candidhealth/commons/types/tax_id.rb +7 -0
- data/lib/candidhealth/commons/types/unauthorized_error_message.rb +47 -0
- data/lib/candidhealth/commons/types/unprocessable_entity_error_message.rb +47 -0
- data/lib/candidhealth/commons/types/updates_disabled_due_to_external_system_integration_error_message.rb +47 -0
- data/lib/candidhealth/commons/types/user_id.rb +7 -0
- data/lib/candidhealth/commons/types/work_queue_id.rb +7 -0
- data/lib/candidhealth/contracts/client.rb +28 -0
- data/lib/candidhealth/contracts/v_2/client.rb +336 -0
- data/lib/candidhealth/contracts/v_2/types/authorized_signatory.rb +83 -0
- data/lib/candidhealth/contracts/v_2/types/authorized_signatory_update.rb +92 -0
- data/lib/candidhealth/contracts/v_2/types/contract.rb +165 -0
- data/lib/candidhealth/contracts/v_2/types/contract_base.rb +128 -0
- data/lib/candidhealth/contracts/v_2/types/contract_id.rb +9 -0
- data/lib/candidhealth/contracts/v_2/types/contract_is_linked_to_fee_schedule_error.rb +49 -0
- data/lib/candidhealth/contracts/v_2/types/contract_status.rb +13 -0
- data/lib/candidhealth/contracts/v_2/types/contract_with_providers.rb +177 -0
- data/lib/candidhealth/contracts/v_2/types/contracting_provider_id.rb +9 -0
- data/lib/candidhealth/contracts/v_2/types/contracts_page.rb +65 -0
- data/lib/candidhealth/contracts/v_2/types/date_update.rb +92 -0
- data/lib/candidhealth/contracts/v_2/types/insurance_types.rb +103 -0
- data/lib/candidhealth/contracts/v_2/types/regions_update.rb +92 -0
- data/lib/candidhealth/contracts/v_2/types/rendering_providerid.rb +9 -0
- data/lib/candidhealth/diagnoses/types/diagnosis.rb +106 -0
- data/lib/candidhealth/diagnoses/types/diagnosis_create.rb +72 -0
- data/lib/candidhealth/diagnoses/types/diagnosis_id.rb +7 -0
- data/lib/candidhealth/diagnoses/types/diagnosis_type_code.rb +18 -0
- data/lib/candidhealth/diagnoses/types/standalone_diagnosis_create.rb +78 -0
- data/lib/candidhealth/eligibility/client.rb +28 -0
- data/lib/candidhealth/eligibility/v_2/client.rb +136 -0
- data/lib/candidhealth/encounter_providers/v_2/types/billing_provider.rb +104 -0
- data/lib/candidhealth/encounter_providers/v_2/types/encounter_provider.rb +103 -0
- data/lib/candidhealth/encounter_providers/v_2/types/encounter_provider_base.rb +60 -0
- data/lib/candidhealth/encounter_providers/v_2/types/provider_id.rb +9 -0
- data/lib/candidhealth/encounter_providers/v_2/types/referring_provider.rb +91 -0
- data/lib/candidhealth/encounter_providers/v_2/types/rendering_provider.rb +91 -0
- data/lib/candidhealth/encounters/client.rb +28 -0
- data/lib/candidhealth/encounters/v_4/client.rb +1125 -0
- data/lib/candidhealth/encounters/v_4/types/billable_status_type.rb +12 -0
- data/lib/candidhealth/encounters/v_4/types/cash_pay_payer_error_message.rb +49 -0
- data/lib/candidhealth/encounters/v_4/types/clinical_note.rb +67 -0
- data/lib/candidhealth/encounters/v_4/types/clinical_note_category.rb +64 -0
- data/lib/candidhealth/encounters/v_4/types/clinical_note_category_create.rb +59 -0
- data/lib/candidhealth/encounters/v_4/types/coding_attribution_type.rb +14 -0
- data/lib/candidhealth/encounters/v_4/types/encounter.rb +515 -0
- data/lib/candidhealth/encounters/v_4/types/encounter_base.rb +274 -0
- data/lib/candidhealth/encounters/v_4/types/encounter_external_id_uniqueness_error_type.rb +50 -0
- data/lib/candidhealth/encounters/v_4/types/encounter_guarantor_missing_contact_info_error_type.rb +49 -0
- data/lib/candidhealth/encounters/v_4/types/encounter_owner_of_next_action_type.rb +14 -0
- data/lib/candidhealth/encounters/v_4/types/encounter_page.rb +65 -0
- data/lib/candidhealth/encounters/v_4/types/encounter_patient_control_number_uniqueness_error_type.rb +49 -0
- data/lib/candidhealth/encounters/v_4/types/encounter_sort_options.rb +14 -0
- data/lib/candidhealth/encounters/v_4/types/encounter_submission_origin_type.rb +12 -0
- data/lib/candidhealth/encounters/v_4/types/intake_follow_up.rb +60 -0
- data/lib/candidhealth/encounters/v_4/types/intake_follow_up_id.rb +9 -0
- data/lib/candidhealth/encounters/v_4/types/intake_question.rb +64 -0
- data/lib/candidhealth/encounters/v_4/types/intake_question_id.rb +9 -0
- data/lib/candidhealth/encounters/v_4/types/intake_response_and_follow_ups.rb +58 -0
- data/lib/candidhealth/encounters/v_4/types/intervention.rb +87 -0
- data/lib/candidhealth/encounters/v_4/types/intervention_category.rb +14 -0
- data/lib/candidhealth/encounters/v_4/types/lab.rb +60 -0
- data/lib/candidhealth/encounters/v_4/types/lab_code_type.rb +12 -0
- data/lib/candidhealth/encounters/v_4/types/medication.rb +84 -0
- data/lib/candidhealth/encounters/v_4/types/note_category.rb +24 -0
- data/lib/candidhealth/encounters/v_4/types/patient_history_category.rb +59 -0
- data/lib/candidhealth/encounters/v_4/types/patient_history_category_enum.rb +14 -0
- data/lib/candidhealth/encounters/v_4/types/prior_authorization_number.rb +9 -0
- data/lib/candidhealth/encounters/v_4/types/responsible_party_type.rb +13 -0
- data/lib/candidhealth/encounters/v_4/types/rx_cui.rb +9 -0
- data/lib/candidhealth/encounters/v_4/types/service_authorization_exception_code.rb +19 -0
- data/lib/candidhealth/encounters/v_4/types/synchronicity_type.rb +12 -0
- data/lib/candidhealth/encounters/v_4/types/vitals.rb +78 -0
- data/lib/candidhealth/era/types/era.rb +59 -0
- data/lib/candidhealth/era/types/era_base.rb +53 -0
- data/lib/candidhealth/era/types/era_id.rb +7 -0
- data/lib/candidhealth/era/types/era_not_fully_processed_error_message.rb +53 -0
- data/lib/candidhealth/era_commons/types/claim_status_code_create.rb +18 -0
- data/lib/candidhealth/expected_network_status/client.rb +31 -0
- data/lib/candidhealth/expected_network_status/v_1/client.rb +112 -0
- data/lib/candidhealth/expected_network_status/v_1/types/expected_network_status.rb +13 -0
- data/lib/candidhealth/expected_network_status/v_1/types/expected_network_status_response.rb +66 -0
- data/lib/candidhealth/expected_network_status/v_2/client.rb +183 -0
- data/lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_providers_request.rb +119 -0
- data/lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_providers_response.rb +65 -0
- data/lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_rendering_providers_result.rb +107 -0
- data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_check_error_message.rb +49 -0
- data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_request_v_2.rb +119 -0
- data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_response_v_2.rb +62 -0
- data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_subscriber_information.rb +67 -0
- data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_v_2.rb +107 -0
- data/lib/candidhealth/expected_network_status/v_2/types/explanation.rb +18 -0
- data/lib/candidhealth/expected_network_status/v_2/types/in_network_rendering_providers_detail.rb +67 -0
- data/lib/candidhealth/expected_network_status/v_2/types/in_network_status.rb +57 -0
- data/lib/candidhealth/expected_network_status/v_2/types/indeterminate_network_status.rb +74 -0
- data/lib/candidhealth/expected_network_status/v_2/types/insurance_type.rb +62 -0
- data/lib/candidhealth/expected_network_status/v_2/types/insurance_type_codes.rb +103 -0
- data/lib/candidhealth/expected_network_status/v_2/types/line_of_business.rb +13 -0
- data/lib/candidhealth/expected_network_status/v_2/types/network_status_check_id.rb +9 -0
- data/lib/candidhealth/expected_network_status/v_2/types/out_of_network_status.rb +67 -0
- data/lib/candidhealth/expected_network_status/v_2/types/service_type.rb +51 -0
- data/lib/candidhealth/exports/client.rb +28 -0
- data/lib/candidhealth/exports/v_3/client.rb +102 -0
- data/lib/candidhealth/exports/v_3/types/get_exports_response.rb +75 -0
- data/lib/candidhealth/financials/types/account_type.rb +10 -0
- data/lib/candidhealth/financials/types/allocation.rb +58 -0
- data/lib/candidhealth/financials/types/allocation_create.rb +60 -0
- data/lib/candidhealth/financials/types/allocation_target.rb +118 -0
- data/lib/candidhealth/financials/types/allocation_target_create.rb +118 -0
- data/lib/candidhealth/financials/types/billing_provider_allocation_target.rb +48 -0
- data/lib/candidhealth/financials/types/claim_allocation_target.rb +54 -0
- data/lib/candidhealth/financials/types/invoice_update.rb +90 -0
- data/lib/candidhealth/financials/types/note_update.rb +89 -0
- data/lib/candidhealth/financials/types/patient_transaction_source.rb +15 -0
- data/lib/candidhealth/financials/types/refund_reason.rb +9 -0
- data/lib/candidhealth/financials/types/refund_reason_update.rb +90 -0
- data/lib/candidhealth/financials/types/service_line_allocation_target.rb +61 -0
- data/lib/candidhealth/guarantor/client.rb +28 -0
- data/lib/candidhealth/guarantor/v_1/client.rb +224 -0
- data/lib/candidhealth/guarantor/v_1/types/encounter_has_existing_guarantor_error_type.rb +49 -0
- data/lib/candidhealth/guarantor/v_1/types/guarantor.rb +121 -0
- data/lib/candidhealth/guarantor/v_1/types/guarantor_base.rb +84 -0
- data/lib/candidhealth/guarantor/v_1/types/guarantor_create.rb +114 -0
- data/lib/candidhealth/guarantor/v_1/types/guarantor_id.rb +9 -0
- data/lib/candidhealth/identifiers/types/identifier.rb +82 -0
- data/lib/candidhealth/identifiers/types/identifier_base.rb +71 -0
- data/lib/candidhealth/identifiers/types/identifier_code.rb +10 -0
- data/lib/candidhealth/identifiers/types/identifier_create.rb +71 -0
- data/lib/candidhealth/identifiers/types/identifier_id.rb +7 -0
- data/lib/candidhealth/identifiers/types/identifier_update.rb +83 -0
- data/lib/candidhealth/identifiers/types/identifier_value.rb +92 -0
- data/lib/candidhealth/identifiers/types/medicaid_provider_identifier.rb +53 -0
- data/lib/candidhealth/identifiers/types/medicare_provider_identifier.rb +53 -0
- data/lib/candidhealth/identifiers/types/updatable_identifier.rb +105 -0
- data/lib/candidhealth/individual/types/gender.rb +13 -0
- data/lib/candidhealth/individual/types/individual_base.rb +58 -0
- data/lib/candidhealth/individual/types/individual_id.rb +7 -0
- data/lib/candidhealth/individual/types/patient.rb +126 -0
- data/lib/candidhealth/individual/types/patient_base.rb +89 -0
- data/lib/candidhealth/individual/types/patient_create.rb +119 -0
- data/lib/candidhealth/individual/types/subscriber.rb +110 -0
- data/lib/candidhealth/individual/types/subscriber_base.rb +91 -0
- data/lib/candidhealth/individual/types/subscriber_create.rb +103 -0
- data/lib/candidhealth/insurance_adjudications/client.rb +28 -0
- data/lib/candidhealth/insurance_adjudications/v_1/client.rb +143 -0
- data/lib/candidhealth/insurance_adjudications/v_1/types/claim_adjudication.rb +101 -0
- data/lib/candidhealth/insurance_adjudications/v_1/types/claim_adjudication_create.rb +95 -0
- data/lib/candidhealth/insurance_adjudications/v_1/types/insurance_adjudication.rb +99 -0
- data/lib/candidhealth/insurance_adjudications/v_1/types/insurance_adjudication_create.rb +109 -0
- data/lib/candidhealth/insurance_adjudications/v_1/types/insurance_adjudication_id.rb +9 -0
- data/lib/candidhealth/insurance_adjudications/v_1/types/service_line_adjudication.rb +112 -0
- data/lib/candidhealth/insurance_adjudications/v_1/types/service_line_adjudication_create.rb +105 -0
- data/lib/candidhealth/insurance_adjudications/v_1/types/service_line_adjudication_id.rb +9 -0
- data/lib/candidhealth/insurance_cards/v_2/types/insurance_card.rb +123 -0
- data/lib/candidhealth/insurance_cards/v_2/types/insurance_card_base.rb +73 -0
- data/lib/candidhealth/insurance_cards/v_2/types/insurance_card_create.rb +123 -0
- data/lib/candidhealth/insurance_cards/v_2/types/insurance_card_id.rb +9 -0
- data/lib/candidhealth/insurance_payments/client.rb +28 -0
- data/lib/candidhealth/insurance_payments/v_1/client.rb +269 -0
- data/lib/candidhealth/insurance_payments/v_1/types/insurance_payment.rb +98 -0
- data/lib/candidhealth/insurance_payments/v_1/types/insurance_payment_create.rb +91 -0
- data/lib/candidhealth/insurance_payments/v_1/types/insurance_payment_id.rb +9 -0
- data/lib/candidhealth/insurance_payments/v_1/types/insurance_payment_sort_field.rb +13 -0
- data/lib/candidhealth/insurance_payments/v_1/types/insurance_payments_page.rb +65 -0
- data/lib/candidhealth/insurance_refunds/client.rb +28 -0
- data/lib/candidhealth/insurance_refunds/v_1/client.rb +280 -0
- data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund.rb +105 -0
- data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund_create.rb +98 -0
- data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund_id.rb +9 -0
- data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund_sort_field.rb +14 -0
- data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refunds_page.rb +65 -0
- data/lib/candidhealth/invoices/types/invoice.rb +134 -0
- data/lib/candidhealth/invoices/types/invoice_item.rb +53 -0
- data/lib/candidhealth/invoices/types/invoice_status.rb +13 -0
- data/lib/candidhealth/organization_providers/client.rb +28 -0
- data/lib/candidhealth/organization_providers/v_2/types/address_type.rb +11 -0
- data/lib/candidhealth/organization_providers/v_2/types/employment_status.rb +12 -0
- data/lib/candidhealth/organization_providers/v_2/types/license_type.rb +78 -0
- data/lib/candidhealth/organization_providers/v_2/types/organization_provider.rb +159 -0
- data/lib/candidhealth/organization_providers/v_2/types/organization_provider_address.rb +61 -0
- data/lib/candidhealth/organization_providers/v_2/types/organization_provider_base.rb +132 -0
- data/lib/candidhealth/organization_providers/v_2/types/organization_provider_id.rb +9 -0
- data/lib/candidhealth/organization_providers/v_2/types/organization_provider_sort_options.rb +14 -0
- data/lib/candidhealth/organization_providers/v_2/types/provider_type.rb +12 -0
- data/lib/candidhealth/organization_providers/v_3/client.rb +239 -0
- data/lib/candidhealth/organization_providers/v_3/types/organization_provider_create_v_2.rb +147 -0
- data/lib/candidhealth/organization_providers/v_3/types/organization_provider_page_v_2.rb +65 -0
- data/lib/candidhealth/organization_providers/v_3/types/organization_provider_update_v_2.rb +143 -0
- data/lib/candidhealth/organization_providers/v_3/types/organization_provider_v_2.rb +154 -0
- data/lib/candidhealth/organization_service_facilities/client.rb +28 -0
- data/lib/candidhealth/organization_service_facilities/v_2/client.rb +256 -0
- data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility.rb +134 -0
- data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_create.rb +127 -0
- data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_id.rb +9 -0
- data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_page.rb +65 -0
- data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_update.rb +127 -0
- data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_mode.rb +12 -0
- data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_operational_status.rb +16 -0
- data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_physical_type.rb +24 -0
- data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_status.rb +13 -0
- data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_type.rb +133 -0
- data/lib/candidhealth/patient_payments/client.rb +28 -0
- data/lib/candidhealth/patient_payments/v_3/types/patient_payment.rb +130 -0
- data/lib/candidhealth/patient_payments/v_3/types/patient_payment_id.rb +9 -0
- data/lib/candidhealth/patient_payments/v_3/types/patient_payment_source.rb +19 -0
- data/lib/candidhealth/patient_payments/v_3/types/patient_payment_status.rb +21 -0
- data/lib/candidhealth/patient_payments/v_4/client.rb +304 -0
- data/lib/candidhealth/patient_payments/v_4/types/patient_payment.rb +120 -0
- data/lib/candidhealth/patient_payments/v_4/types/patient_payment_id.rb +9 -0
- data/lib/candidhealth/patient_payments/v_4/types/patient_payment_sort_field.rb +14 -0
- data/lib/candidhealth/patient_payments/v_4/types/patient_payments_page.rb +65 -0
- data/lib/candidhealth/patient_refunds/client.rb +28 -0
- data/lib/candidhealth/patient_refunds/v_1/client.rb +316 -0
- data/lib/candidhealth/patient_refunds/v_1/types/patient_refund.rb +127 -0
- data/lib/candidhealth/patient_refunds/v_1/types/patient_refund_id.rb +9 -0
- data/lib/candidhealth/patient_refunds/v_1/types/patient_refund_sort_field.rb +15 -0
- data/lib/candidhealth/patient_refunds/v_1/types/patient_refunds_page.rb +65 -0
- data/lib/candidhealth/payers/client.rb +28 -0
- data/lib/candidhealth/payers/v_3/client.rb +104 -0
- data/lib/candidhealth/payers/v_3/types/payer.rb +60 -0
- data/lib/candidhealth/payers/v_3/types/payer_id.rb +9 -0
- data/lib/candidhealth/payers/v_3/types/payer_identifier.rb +94 -0
- data/lib/candidhealth/payers/v_3/types/payer_info.rb +56 -0
- data/lib/candidhealth/payers/v_3/types/payer_name.rb +9 -0
- data/lib/candidhealth/payers/v_3/types/payer_page.rb +65 -0
- data/lib/candidhealth/payers/v_3/types/payer_uuid.rb +9 -0
- data/lib/candidhealth/remits/v_1/types/payee.rb +60 -0
- data/lib/candidhealth/remits/v_1/types/payee_identifier.rb +102 -0
- data/lib/candidhealth/service_facility/client.rb +89 -0
- data/lib/candidhealth/service_facility/types/encounter_service_facility.rb +77 -0
- data/lib/candidhealth/service_facility/types/encounter_service_facility_base.rb +72 -0
- data/lib/candidhealth/service_facility/types/service_facility_id.rb +7 -0
- data/lib/candidhealth/service_lines/v_2/types/denial_reason_content.rb +40 -0
- data/lib/candidhealth/service_lines/v_2/types/drug_identification.rb +86 -0
- data/lib/candidhealth/service_lines/v_2/types/measurement_unit_code.rb +15 -0
- data/lib/candidhealth/service_lines/v_2/types/service_id_qualifier.rb +17 -0
- data/lib/candidhealth/service_lines/v_2/types/service_line.rb +225 -0
- data/lib/candidhealth/service_lines/v_2/types/service_line_adjustment.rb +79 -0
- data/lib/candidhealth/service_lines/v_2/types/service_line_create.rb +120 -0
- data/lib/candidhealth/service_lines/v_2/types/service_line_denial_reason.rb +52 -0
- data/lib/candidhealth/service_lines/v_2/types/service_line_era_data.rb +62 -0
- data/lib/candidhealth/tags/types/tag.rb +65 -0
- data/lib/candidhealth/tags/types/tag_color_enum.rb +18 -0
- data/lib/candidhealth/tags/types/tag_create.rb +59 -0
- data/lib/candidhealth/tags/types/tag_id.rb +7 -0
- data/lib/candidhealth/tasks/client.rb +28 -0
- data/lib/candidhealth/tasks/commons/types/task_category.rb +50 -0
- data/lib/candidhealth/tasks/commons/types/task_status.rb +17 -0
- data/lib/candidhealth/tasks/commons/types/task_type.rb +22 -0
- data/lib/candidhealth/tasks/v_3/client.rb +259 -0
- data/lib/candidhealth/tasks/v_3/types/task.rb +170 -0
- data/lib/candidhealth/tasks/v_3/types/task_action.rb +66 -0
- data/lib/candidhealth/tasks/v_3/types/task_action_execution_method.rb +79 -0
- data/lib/candidhealth/tasks/v_3/types/task_action_type.rb +12 -0
- data/lib/candidhealth/tasks/v_3/types/task_actions.rb +53 -0
- data/lib/candidhealth/tasks/v_3/types/task_assignment.rb +56 -0
- data/lib/candidhealth/tasks/v_3/types/task_create_v_3.rb +95 -0
- data/lib/candidhealth/tasks/v_3/types/task_note.rb +79 -0
- data/lib/candidhealth/tasks/v_3/types/task_page.rb +65 -0
- data/lib/candidhealth/tasks/v_3/types/task_sort_options.rb +32 -0
- data/lib/candidhealth/tasks/v_3/types/task_update_v_3.rb +66 -0
- data/lib/candidhealth/tasks/v_3/types/task_updated_to_deprecated_status_error_type.rb +50 -0
- data/lib/candidhealth/write_offs/client.rb +28 -0
- data/lib/candidhealth/write_offs/v_1/client.rb +218 -0
- data/lib/candidhealth/write_offs/v_1/types/create_write_offs_response.rb +53 -0
- data/lib/candidhealth/write_offs/v_1/types/insurance_write_off.rb +119 -0
- data/lib/candidhealth/write_offs/v_1/types/insurance_write_off_create.rb +100 -0
- data/lib/candidhealth/write_offs/v_1/types/insurance_write_off_reason.rb +25 -0
- data/lib/candidhealth/write_offs/v_1/types/insurance_write_off_target.rb +103 -0
- data/lib/candidhealth/write_offs/v_1/types/patient_write_off.rb +102 -0
- data/lib/candidhealth/write_offs/v_1/types/patient_write_off_create.rb +83 -0
- data/lib/candidhealth/write_offs/v_1/types/patient_write_off_reason.rb +19 -0
- data/lib/candidhealth/write_offs/v_1/types/write_off.rb +94 -0
- data/lib/candidhealth/write_offs/v_1/types/write_off_create.rb +94 -0
- data/lib/candidhealth/write_offs/v_1/types/write_off_id.rb +9 -0
- data/lib/candidhealth/write_offs/v_1/types/write_off_sort_field.rb +13 -0
- data/lib/candidhealth/write_offs/v_1/types/write_offs_page.rb +65 -0
- data/lib/candidhealth/x_12/v_1/types/carc.rb +412 -0
- data/lib/candidhealth/x_12/v_1/types/claim_adjustment_reason_code.rb +62 -0
- data/lib/candidhealth/x_12/v_1/types/rarc.rb +1070 -0
- data/lib/candidhealth/x_12/v_1/types/remittance_advice_remark_code.rb +50 -0
- data/lib/candidhealth.rb +129 -0
- data/lib/environment.rb +8 -0
- data/lib/gemconfig.rb +14 -0
- data/lib/requests.rb +113 -0
- data/lib/types_export.rb +303 -0
- metadata +468 -0
@@ -0,0 +1,412 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module CandidApiClient
|
4
|
+
module X12
|
5
|
+
module V1
|
6
|
+
class Carc
|
7
|
+
CARC_1 = "1"
|
8
|
+
CARC_2 = "2"
|
9
|
+
CARC_3 = "3"
|
10
|
+
CARC_4 = "4"
|
11
|
+
CARC_5 = "5"
|
12
|
+
CARC_6 = "6"
|
13
|
+
CARC_7 = "7"
|
14
|
+
CARC_8 = "8"
|
15
|
+
CARC_9 = "9"
|
16
|
+
CARC_10 = "10"
|
17
|
+
CARC_11 = "11"
|
18
|
+
CARC_12 = "12"
|
19
|
+
CARC_13 = "13"
|
20
|
+
CARC_14 = "14"
|
21
|
+
CARC_16 = "16"
|
22
|
+
CARC_18 = "18"
|
23
|
+
CARC_19 = "19"
|
24
|
+
CARC_20 = "20"
|
25
|
+
CARC_21 = "21"
|
26
|
+
CARC_22 = "22"
|
27
|
+
CARC_23 = "23"
|
28
|
+
CARC_24 = "24"
|
29
|
+
CARC_26 = "26"
|
30
|
+
CARC_27 = "27"
|
31
|
+
CARC_29 = "29"
|
32
|
+
CARC_31 = "31"
|
33
|
+
CARC_32 = "32"
|
34
|
+
CARC_33 = "33"
|
35
|
+
CARC_34 = "34"
|
36
|
+
CARC_35 = "35"
|
37
|
+
CARC_39 = "39"
|
38
|
+
CARC_40 = "40"
|
39
|
+
CARC_44 = "44"
|
40
|
+
CARC_45 = "45"
|
41
|
+
CARC_49 = "49"
|
42
|
+
CARC_50 = "50"
|
43
|
+
CARC_51 = "51"
|
44
|
+
CARC_53 = "53"
|
45
|
+
CARC_54 = "54"
|
46
|
+
CARC_55 = "55"
|
47
|
+
CARC_56 = "56"
|
48
|
+
CARC_58 = "58"
|
49
|
+
CARC_59 = "59"
|
50
|
+
CARC_60 = "60"
|
51
|
+
CARC_61 = "61"
|
52
|
+
CARC_66 = "66"
|
53
|
+
CARC_69 = "69"
|
54
|
+
CARC_70 = "70"
|
55
|
+
CARC_74 = "74"
|
56
|
+
CARC_75 = "75"
|
57
|
+
CARC_76 = "76"
|
58
|
+
CARC_78 = "78"
|
59
|
+
CARC_85 = "85"
|
60
|
+
CARC_89 = "89"
|
61
|
+
CARC_90 = "90"
|
62
|
+
CARC_91 = "91"
|
63
|
+
CARC_94 = "94"
|
64
|
+
CARC_95 = "95"
|
65
|
+
CARC_96 = "96"
|
66
|
+
CARC_97 = "97"
|
67
|
+
CARC_100 = "100"
|
68
|
+
CARC_101 = "101"
|
69
|
+
CARC_102 = "102"
|
70
|
+
CARC_103 = "103"
|
71
|
+
CARC_104 = "104"
|
72
|
+
CARC_105 = "105"
|
73
|
+
CARC_106 = "106"
|
74
|
+
CARC_107 = "107"
|
75
|
+
CARC_108 = "108"
|
76
|
+
CARC_109 = "109"
|
77
|
+
CARC_110 = "110"
|
78
|
+
CARC_111 = "111"
|
79
|
+
CARC_112 = "112"
|
80
|
+
CARC_114 = "114"
|
81
|
+
CARC_115 = "115"
|
82
|
+
CARC_116 = "116"
|
83
|
+
CARC_117 = "117"
|
84
|
+
CARC_118 = "118"
|
85
|
+
CARC_119 = "119"
|
86
|
+
CARC_121 = "121"
|
87
|
+
CARC_122 = "122"
|
88
|
+
CARC_125 = "125"
|
89
|
+
CARC_128 = "128"
|
90
|
+
CARC_129 = "129"
|
91
|
+
CARC_130 = "130"
|
92
|
+
CARC_131 = "131"
|
93
|
+
CARC_132 = "132"
|
94
|
+
CARC_133 = "133"
|
95
|
+
CARC_134 = "134"
|
96
|
+
CARC_135 = "135"
|
97
|
+
CARC_136 = "136"
|
98
|
+
CARC_137 = "137"
|
99
|
+
CARC_139 = "139"
|
100
|
+
CARC_140 = "140"
|
101
|
+
CARC_142 = "142"
|
102
|
+
CARC_143 = "143"
|
103
|
+
CARC_144 = "144"
|
104
|
+
CARC_146 = "146"
|
105
|
+
CARC_147 = "147"
|
106
|
+
CARC_148 = "148"
|
107
|
+
CARC_149 = "149"
|
108
|
+
CARC_150 = "150"
|
109
|
+
CARC_151 = "151"
|
110
|
+
CARC_152 = "152"
|
111
|
+
CARC_153 = "153"
|
112
|
+
CARC_154 = "154"
|
113
|
+
CARC_155 = "155"
|
114
|
+
CARC_157 = "157"
|
115
|
+
CARC_158 = "158"
|
116
|
+
CARC_159 = "159"
|
117
|
+
CARC_160 = "160"
|
118
|
+
CARC_161 = "161"
|
119
|
+
CARC_163 = "163"
|
120
|
+
CARC_164 = "164"
|
121
|
+
CARC_166 = "166"
|
122
|
+
CARC_167 = "167"
|
123
|
+
CARC_169 = "169"
|
124
|
+
CARC_170 = "170"
|
125
|
+
CARC_171 = "171"
|
126
|
+
CARC_172 = "172"
|
127
|
+
CARC_173 = "173"
|
128
|
+
CARC_174 = "174"
|
129
|
+
CARC_175 = "175"
|
130
|
+
CARC_176 = "176"
|
131
|
+
CARC_177 = "177"
|
132
|
+
CARC_178 = "178"
|
133
|
+
CARC_179 = "179"
|
134
|
+
CARC_180 = "180"
|
135
|
+
CARC_181 = "181"
|
136
|
+
CARC_182 = "182"
|
137
|
+
CARC_183 = "183"
|
138
|
+
CARC_184 = "184"
|
139
|
+
CARC_185 = "185"
|
140
|
+
CARC_186 = "186"
|
141
|
+
CARC_187 = "187"
|
142
|
+
CARC_188 = "188"
|
143
|
+
CARC_189 = "189"
|
144
|
+
CARC_190 = "190"
|
145
|
+
CARC_192 = "192"
|
146
|
+
CARC_193 = "193"
|
147
|
+
CARC_194 = "194"
|
148
|
+
CARC_195 = "195"
|
149
|
+
CARC_197 = "197"
|
150
|
+
CARC_198 = "198"
|
151
|
+
CARC_199 = "199"
|
152
|
+
CARC_200 = "200"
|
153
|
+
CARC_201 = "201"
|
154
|
+
CARC_202 = "202"
|
155
|
+
CARC_203 = "203"
|
156
|
+
CARC_204 = "204"
|
157
|
+
CARC_205 = "205"
|
158
|
+
CARC_206 = "206"
|
159
|
+
CARC_207 = "207"
|
160
|
+
CARC_208 = "208"
|
161
|
+
CARC_209 = "209"
|
162
|
+
CARC_210 = "210"
|
163
|
+
CARC_211 = "211"
|
164
|
+
CARC_212 = "212"
|
165
|
+
CARC_213 = "213"
|
166
|
+
CARC_215 = "215"
|
167
|
+
CARC_216 = "216"
|
168
|
+
CARC_219 = "219"
|
169
|
+
CARC_222 = "222"
|
170
|
+
CARC_223 = "223"
|
171
|
+
CARC_224 = "224"
|
172
|
+
CARC_225 = "225"
|
173
|
+
CARC_226 = "226"
|
174
|
+
CARC_227 = "227"
|
175
|
+
CARC_228 = "228"
|
176
|
+
CARC_229 = "229"
|
177
|
+
CARC_231 = "231"
|
178
|
+
CARC_232 = "232"
|
179
|
+
CARC_233 = "233"
|
180
|
+
CARC_234 = "234"
|
181
|
+
CARC_235 = "235"
|
182
|
+
CARC_236 = "236"
|
183
|
+
CARC_237 = "237"
|
184
|
+
CARC_238 = "238"
|
185
|
+
CARC_239 = "239"
|
186
|
+
CARC_240 = "240"
|
187
|
+
CARC_241 = "241"
|
188
|
+
CARC_242 = "242"
|
189
|
+
CARC_243 = "243"
|
190
|
+
CARC_245 = "245"
|
191
|
+
CARC_246 = "246"
|
192
|
+
CARC_247 = "247"
|
193
|
+
CARC_248 = "248"
|
194
|
+
CARC_249 = "249"
|
195
|
+
CARC_250 = "250"
|
196
|
+
CARC_251 = "251"
|
197
|
+
CARC_252 = "252"
|
198
|
+
CARC_253 = "253"
|
199
|
+
CARC_254 = "254"
|
200
|
+
CARC_256 = "256"
|
201
|
+
CARC_257 = "257"
|
202
|
+
CARC_258 = "258"
|
203
|
+
CARC_259 = "259"
|
204
|
+
CARC_260 = "260"
|
205
|
+
CARC_261 = "261"
|
206
|
+
CARC_262 = "262"
|
207
|
+
CARC_263 = "263"
|
208
|
+
CARC_264 = "264"
|
209
|
+
CARC_265 = "265"
|
210
|
+
CARC_266 = "266"
|
211
|
+
CARC_267 = "267"
|
212
|
+
CARC_268 = "268"
|
213
|
+
CARC_269 = "269"
|
214
|
+
CARC_270 = "270"
|
215
|
+
CARC_271 = "271"
|
216
|
+
CARC_272 = "272"
|
217
|
+
CARC_273 = "273"
|
218
|
+
CARC_274 = "274"
|
219
|
+
CARC_275 = "275"
|
220
|
+
CARC_276 = "276"
|
221
|
+
CARC_277 = "277"
|
222
|
+
CARC_278 = "278"
|
223
|
+
CARC_279 = "279"
|
224
|
+
CARC_280 = "280"
|
225
|
+
CARC_281 = "281"
|
226
|
+
CARC_282 = "282"
|
227
|
+
CARC_283 = "283"
|
228
|
+
CARC_284 = "284"
|
229
|
+
CARC_285 = "285"
|
230
|
+
CARC_286 = "286"
|
231
|
+
CARC_287 = "287"
|
232
|
+
CARC_288 = "288"
|
233
|
+
CARC_289 = "289"
|
234
|
+
CARC_290 = "290"
|
235
|
+
CARC_291 = "291"
|
236
|
+
CARC_292 = "292"
|
237
|
+
CARC_293 = "293"
|
238
|
+
CARC_294 = "294"
|
239
|
+
CARC_295 = "295"
|
240
|
+
CARC_296 = "296"
|
241
|
+
CARC_297 = "297"
|
242
|
+
CARC_298 = "298"
|
243
|
+
CARC_299 = "299"
|
244
|
+
CARC_300 = "300"
|
245
|
+
CARC_301 = "301"
|
246
|
+
CARC_302 = "302"
|
247
|
+
CARC_303 = "303"
|
248
|
+
CARC_304 = "304"
|
249
|
+
CARC_305 = "305"
|
250
|
+
CARC_A_0 = "A0"
|
251
|
+
CARC_A_1 = "A1"
|
252
|
+
CARC_A_5 = "A5"
|
253
|
+
CARC_A_6 = "A6"
|
254
|
+
CARC_A_8 = "A8"
|
255
|
+
CARC_B_1 = "B1"
|
256
|
+
CARC_B_4 = "B4"
|
257
|
+
CARC_B_7 = "B7"
|
258
|
+
CARC_B_8 = "B8"
|
259
|
+
CARC_B_9 = "B9"
|
260
|
+
CARC_B_10 = "B10"
|
261
|
+
CARC_B_11 = "B11"
|
262
|
+
CARC_B_12 = "B12"
|
263
|
+
CARC_B_13 = "B13"
|
264
|
+
CARC_B_14 = "B14"
|
265
|
+
CARC_B_15 = "B15"
|
266
|
+
CARC_B_16 = "B16"
|
267
|
+
CARC_B_20 = "B20"
|
268
|
+
CARC_B_22 = "B22"
|
269
|
+
CARC_B_23 = "B23"
|
270
|
+
CARC_P_1 = "P1"
|
271
|
+
CARC_P_2 = "P2"
|
272
|
+
CARC_P_3 = "P3"
|
273
|
+
CARC_P_4 = "P4"
|
274
|
+
CARC_P_5 = "P5"
|
275
|
+
CARC_P_6 = "P6"
|
276
|
+
CARC_P_7 = "P7"
|
277
|
+
CARC_P_8 = "P8"
|
278
|
+
CARC_P_9 = "P9"
|
279
|
+
CARC_P_10 = "P10"
|
280
|
+
CARC_P_11 = "P11"
|
281
|
+
CARC_P_12 = "P12"
|
282
|
+
CARC_P_13 = "P13"
|
283
|
+
CARC_P_14 = "P14"
|
284
|
+
CARC_P_15 = "P15"
|
285
|
+
CARC_P_16 = "P16"
|
286
|
+
CARC_P_17 = "P17"
|
287
|
+
CARC_P_18 = "P18"
|
288
|
+
CARC_P_19 = "P19"
|
289
|
+
CARC_P_20 = "P20"
|
290
|
+
CARC_P_21 = "P21"
|
291
|
+
CARC_P_22 = "P22"
|
292
|
+
CARC_P_23 = "P23"
|
293
|
+
CARC_P_24 = "P24"
|
294
|
+
CARC_P_25 = "P25"
|
295
|
+
CARC_P_26 = "P26"
|
296
|
+
CARC_P_27 = "P27"
|
297
|
+
CARC_P_28 = "P28"
|
298
|
+
CARC_P_29 = "P29"
|
299
|
+
CARC_P_30 = "P30"
|
300
|
+
CARC_P_31 = "P31"
|
301
|
+
CARC_P_32 = "P32"
|
302
|
+
CARC_17 = "17"
|
303
|
+
CARC_25 = "25"
|
304
|
+
CARC_28 = "28"
|
305
|
+
CARC_30 = "30"
|
306
|
+
CARC_36 = "36"
|
307
|
+
CARC_37 = "37"
|
308
|
+
CARC_38 = "38"
|
309
|
+
CARC_41 = "41"
|
310
|
+
CARC_42 = "42"
|
311
|
+
CARC_43 = "43"
|
312
|
+
CARC_46 = "46"
|
313
|
+
CARC_47 = "47"
|
314
|
+
CARC_48 = "48"
|
315
|
+
CARC_52 = "52"
|
316
|
+
CARC_57 = "57"
|
317
|
+
CARC_62 = "62"
|
318
|
+
CARC_63 = "63"
|
319
|
+
CARC_64 = "64"
|
320
|
+
CARC_65 = "65"
|
321
|
+
CARC_67 = "67"
|
322
|
+
CARC_68 = "68"
|
323
|
+
CARC_71 = "71"
|
324
|
+
CARC_72 = "72"
|
325
|
+
CARC_73 = "73"
|
326
|
+
CARC_77 = "77"
|
327
|
+
CARC_79 = "79"
|
328
|
+
CARC_80 = "80"
|
329
|
+
CARC_81 = "81"
|
330
|
+
CARC_82 = "82"
|
331
|
+
CARC_83 = "83"
|
332
|
+
CARC_84 = "84"
|
333
|
+
CARC_86 = "86"
|
334
|
+
CARC_87 = "87"
|
335
|
+
CARC_88 = "88"
|
336
|
+
CARC_92 = "92"
|
337
|
+
CARC_93 = "93"
|
338
|
+
CARC_98 = "98"
|
339
|
+
CARC_99 = "99"
|
340
|
+
CARC_113 = "113"
|
341
|
+
CARC_120 = "120"
|
342
|
+
CARC_123 = "123"
|
343
|
+
CARC_124 = "124"
|
344
|
+
CARC_126 = "126"
|
345
|
+
CARC_127 = "127"
|
346
|
+
CARC_138 = "138"
|
347
|
+
CARC_141 = "141"
|
348
|
+
CARC_145 = "145"
|
349
|
+
CARC_156 = "156"
|
350
|
+
CARC_162 = "162"
|
351
|
+
CARC_165 = "165"
|
352
|
+
CARC_168 = "168"
|
353
|
+
CARC_191 = "191"
|
354
|
+
CARC_196 = "196"
|
355
|
+
CARC_214 = "214"
|
356
|
+
CARC_217 = "217"
|
357
|
+
CARC_218 = "218"
|
358
|
+
CARC_220 = "220"
|
359
|
+
CARC_221 = "221"
|
360
|
+
CARC_230 = "230"
|
361
|
+
CARC_244 = "244"
|
362
|
+
CARC_255 = "255"
|
363
|
+
CARC_A_2 = "A2"
|
364
|
+
CARC_A_3 = "A3"
|
365
|
+
CARC_A_4 = "A4"
|
366
|
+
CARC_A_7 = "A7"
|
367
|
+
CARC_B_2 = "B2"
|
368
|
+
CARC_B_3 = "B3"
|
369
|
+
CARC_B_5 = "B5"
|
370
|
+
CARC_B_6 = "B6"
|
371
|
+
CARC_B_17 = "B17"
|
372
|
+
CARC_B_18 = "B18"
|
373
|
+
CARC_B_19 = "B19"
|
374
|
+
CARC_B_21 = "B21"
|
375
|
+
CARC_D_1 = "D1"
|
376
|
+
CARC_D_2 = "D2"
|
377
|
+
CARC_D_3 = "D3"
|
378
|
+
CARC_D_4 = "D4"
|
379
|
+
CARC_D_5 = "D5"
|
380
|
+
CARC_D_6 = "D6"
|
381
|
+
CARC_D_7 = "D7"
|
382
|
+
CARC_D_8 = "D8"
|
383
|
+
CARC_D_9 = "D9"
|
384
|
+
CARC_D_10 = "D10"
|
385
|
+
CARC_D_11 = "D11"
|
386
|
+
CARC_D_12 = "D12"
|
387
|
+
CARC_D_14 = "D14"
|
388
|
+
CARC_D_15 = "D15"
|
389
|
+
CARC_D_16 = "D16"
|
390
|
+
CARC_D_17 = "D17"
|
391
|
+
CARC_D_18 = "D18"
|
392
|
+
CARC_D_19 = "D19"
|
393
|
+
CARC_D_20 = "D20"
|
394
|
+
CARC_D_21 = "D21"
|
395
|
+
CARC_D_22 = "D22"
|
396
|
+
CARC_D_23 = "D23"
|
397
|
+
CARC_W_1 = "W1"
|
398
|
+
CARC_W_2 = "W2"
|
399
|
+
CARC_W_3 = "W3"
|
400
|
+
CARC_W_4 = "W4"
|
401
|
+
CARC_W_5 = "W5"
|
402
|
+
CARC_W_6 = "W6"
|
403
|
+
CARC_W_7 = "W7"
|
404
|
+
CARC_W_8 = "W8"
|
405
|
+
CARC_W_9 = "W9"
|
406
|
+
CARC_Y_1 = "Y1"
|
407
|
+
CARC_Y_2 = "Y2"
|
408
|
+
CARC_Y_3 = "Y3"
|
409
|
+
end
|
410
|
+
end
|
411
|
+
end
|
412
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "../../../commons/types/claim_adjustment_group_codes"
|
4
|
+
require_relative "carc"
|
5
|
+
require "json"
|
6
|
+
|
7
|
+
module CandidApiClient
|
8
|
+
module X12
|
9
|
+
module V1
|
10
|
+
class ClaimAdjustmentReasonCode
|
11
|
+
attr_reader :group_code, :reason_code, :amount_cents, :additional_properties
|
12
|
+
|
13
|
+
# @param group_code [Commons::ClaimAdjustmentGroupCodes]
|
14
|
+
# @param reason_code [X12::V1::Carc]
|
15
|
+
# @param amount_cents [Integer]
|
16
|
+
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
17
|
+
# @return [X12::V1::ClaimAdjustmentReasonCode]
|
18
|
+
def initialize(group_code:, reason_code:, amount_cents:, additional_properties: nil)
|
19
|
+
# @type [Commons::ClaimAdjustmentGroupCodes]
|
20
|
+
@group_code = group_code
|
21
|
+
# @type [X12::V1::Carc]
|
22
|
+
@reason_code = reason_code
|
23
|
+
# @type [Integer]
|
24
|
+
@amount_cents = amount_cents
|
25
|
+
# @type [OpenStruct] Additional properties unmapped to the current class definition
|
26
|
+
@additional_properties = additional_properties
|
27
|
+
end
|
28
|
+
|
29
|
+
# Deserialize a JSON object to an instance of ClaimAdjustmentReasonCode
|
30
|
+
#
|
31
|
+
# @param json_object [JSON]
|
32
|
+
# @return [X12::V1::ClaimAdjustmentReasonCode]
|
33
|
+
def self.from_json(json_object:)
|
34
|
+
struct = JSON.parse(json_object, object_class: OpenStruct)
|
35
|
+
JSON.parse(json_object)
|
36
|
+
group_code = struct.group_code
|
37
|
+
reason_code = struct.reason_code
|
38
|
+
amount_cents = struct.amount_cents
|
39
|
+
new(group_code: group_code, reason_code: reason_code, amount_cents: amount_cents,
|
40
|
+
additional_properties: struct)
|
41
|
+
end
|
42
|
+
|
43
|
+
# Serialize an instance of ClaimAdjustmentReasonCode to a JSON object
|
44
|
+
#
|
45
|
+
# @return [JSON]
|
46
|
+
def to_json(*_args)
|
47
|
+
{ "group_code": @group_code, "reason_code": @reason_code, "amount_cents": @amount_cents }.to_json
|
48
|
+
end
|
49
|
+
|
50
|
+
# Leveraged for Union-type generation, validate_raw attempts to parse the given hash and check each fields type against the current object's property definitions.
|
51
|
+
#
|
52
|
+
# @param obj [Object]
|
53
|
+
# @return [Void]
|
54
|
+
def self.validate_raw(obj:)
|
55
|
+
obj.group_code.is_a?(Commons::ClaimAdjustmentGroupCodes) != false || raise("Passed value for field obj.group_code is not the expected type, validation failed.")
|
56
|
+
obj.reason_code.is_a?(X12::V1::Carc) != false || raise("Passed value for field obj.reason_code is not the expected type, validation failed.")
|
57
|
+
obj.amount_cents.is_a?(Integer) != false || raise("Passed value for field obj.amount_cents is not the expected type, validation failed.")
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|