candidhealth 0.17.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (346) hide show
  1. checksums.yaml +7 -0
  2. data/lib/candidhealth/auth/client.rb +28 -0
  3. data/lib/candidhealth/auth/v_2/client.rb +90 -0
  4. data/lib/candidhealth/auth/v_2/types/auth_get_token_request.rb +54 -0
  5. data/lib/candidhealth/auth/v_2/types/auth_get_token_response.rb +59 -0
  6. data/lib/candidhealth/auth/v_2/types/too_many_requests_error_type.rb +49 -0
  7. data/lib/candidhealth/billing_notes/client.rb +28 -0
  8. data/lib/candidhealth/billing_notes/v_2/client.rb +76 -0
  9. data/lib/candidhealth/billing_notes/v_2/types/billing_note.rb +89 -0
  10. data/lib/candidhealth/billing_notes/v_2/types/billing_note_base.rb +49 -0
  11. data/lib/candidhealth/billing_notes/v_2/types/billing_note_id.rb +9 -0
  12. data/lib/candidhealth/claim_submission/v_1/types/claim_frequency_type_code.rb +14 -0
  13. data/lib/candidhealth/claim_submission/v_1/types/claim_submission_record_create.rb +68 -0
  14. data/lib/candidhealth/claim_submission/v_1/types/external_claim_submission_create.rb +75 -0
  15. data/lib/candidhealth/claims/types/claim.rb +98 -0
  16. data/lib/candidhealth/claims/types/claim_status.rb +23 -0
  17. data/lib/candidhealth/commons/types/claim_adjustment_group_codes.rb +17 -0
  18. data/lib/candidhealth/commons/types/claim_id.rb +7 -0
  19. data/lib/candidhealth/commons/types/claim_submission_payer_responsibility_type.rb +10 -0
  20. data/lib/candidhealth/commons/types/date.rb +7 -0
  21. data/lib/candidhealth/commons/types/date_range_optional_end.rb +53 -0
  22. data/lib/candidhealth/commons/types/decimal.rb +7 -0
  23. data/lib/candidhealth/commons/types/delay_reason_code.rb +23 -0
  24. data/lib/candidhealth/commons/types/email.rb +7 -0
  25. data/lib/candidhealth/commons/types/emr_payer_crosswalk.rb +10 -0
  26. data/lib/candidhealth/commons/types/encounter_external_id.rb +7 -0
  27. data/lib/candidhealth/commons/types/encounter_id.rb +7 -0
  28. data/lib/candidhealth/commons/types/entity_not_found_error_message.rb +47 -0
  29. data/lib/candidhealth/commons/types/error_message.rb +7 -0
  30. data/lib/candidhealth/commons/types/facility_type_code.rb +61 -0
  31. data/lib/candidhealth/commons/types/http_service_unavailable_error_message.rb +47 -0
  32. data/lib/candidhealth/commons/types/insurance_type_code.rb +79 -0
  33. data/lib/candidhealth/commons/types/invoice_id.rb +7 -0
  34. data/lib/candidhealth/commons/types/link_url.rb +7 -0
  35. data/lib/candidhealth/commons/types/npi.rb +7 -0
  36. data/lib/candidhealth/commons/types/organization_id.rb +7 -0
  37. data/lib/candidhealth/commons/types/organization_not_authorized_error_message.rb +47 -0
  38. data/lib/candidhealth/commons/types/page_token.rb +7 -0
  39. data/lib/candidhealth/commons/types/patient_external_id.rb +7 -0
  40. data/lib/candidhealth/commons/types/patient_relationship_to_insured_code_all.rb +32 -0
  41. data/lib/candidhealth/commons/types/phone_number.rb +53 -0
  42. data/lib/candidhealth/commons/types/phone_number_type.rb +11 -0
  43. data/lib/candidhealth/commons/types/procedure_modifier.rb +395 -0
  44. data/lib/candidhealth/commons/types/provider_id.rb +7 -0
  45. data/lib/candidhealth/commons/types/region_national.rb +41 -0
  46. data/lib/candidhealth/commons/types/region_states.rb +48 -0
  47. data/lib/candidhealth/commons/types/regions.rb +92 -0
  48. data/lib/candidhealth/commons/types/removable_date_range_optional_end.rb +90 -0
  49. data/lib/candidhealth/commons/types/request_validation_error.rb +52 -0
  50. data/lib/candidhealth/commons/types/resource_page.rb +53 -0
  51. data/lib/candidhealth/commons/types/service_line_id.rb +7 -0
  52. data/lib/candidhealth/commons/types/service_line_units.rb +10 -0
  53. data/lib/candidhealth/commons/types/sort_direction.rb +10 -0
  54. data/lib/candidhealth/commons/types/source_of_payment_code.rb +31 -0
  55. data/lib/candidhealth/commons/types/state.rb +70 -0
  56. data/lib/candidhealth/commons/types/street_address_base.rb +75 -0
  57. data/lib/candidhealth/commons/types/street_address_long_zip.rb +82 -0
  58. data/lib/candidhealth/commons/types/street_address_short_zip.rb +82 -0
  59. data/lib/candidhealth/commons/types/task_assignment_id.rb +7 -0
  60. data/lib/candidhealth/commons/types/task_id.rb +7 -0
  61. data/lib/candidhealth/commons/types/task_note_id.rb +7 -0
  62. data/lib/candidhealth/commons/types/tax_id.rb +7 -0
  63. data/lib/candidhealth/commons/types/unauthorized_error_message.rb +47 -0
  64. data/lib/candidhealth/commons/types/unprocessable_entity_error_message.rb +47 -0
  65. data/lib/candidhealth/commons/types/updates_disabled_due_to_external_system_integration_error_message.rb +47 -0
  66. data/lib/candidhealth/commons/types/user_id.rb +7 -0
  67. data/lib/candidhealth/commons/types/work_queue_id.rb +7 -0
  68. data/lib/candidhealth/contracts/client.rb +28 -0
  69. data/lib/candidhealth/contracts/v_2/client.rb +336 -0
  70. data/lib/candidhealth/contracts/v_2/types/authorized_signatory.rb +83 -0
  71. data/lib/candidhealth/contracts/v_2/types/authorized_signatory_update.rb +92 -0
  72. data/lib/candidhealth/contracts/v_2/types/contract.rb +165 -0
  73. data/lib/candidhealth/contracts/v_2/types/contract_base.rb +128 -0
  74. data/lib/candidhealth/contracts/v_2/types/contract_id.rb +9 -0
  75. data/lib/candidhealth/contracts/v_2/types/contract_is_linked_to_fee_schedule_error.rb +49 -0
  76. data/lib/candidhealth/contracts/v_2/types/contract_status.rb +13 -0
  77. data/lib/candidhealth/contracts/v_2/types/contract_with_providers.rb +177 -0
  78. data/lib/candidhealth/contracts/v_2/types/contracting_provider_id.rb +9 -0
  79. data/lib/candidhealth/contracts/v_2/types/contracts_page.rb +65 -0
  80. data/lib/candidhealth/contracts/v_2/types/date_update.rb +92 -0
  81. data/lib/candidhealth/contracts/v_2/types/insurance_types.rb +103 -0
  82. data/lib/candidhealth/contracts/v_2/types/regions_update.rb +92 -0
  83. data/lib/candidhealth/contracts/v_2/types/rendering_providerid.rb +9 -0
  84. data/lib/candidhealth/diagnoses/types/diagnosis.rb +106 -0
  85. data/lib/candidhealth/diagnoses/types/diagnosis_create.rb +72 -0
  86. data/lib/candidhealth/diagnoses/types/diagnosis_id.rb +7 -0
  87. data/lib/candidhealth/diagnoses/types/diagnosis_type_code.rb +18 -0
  88. data/lib/candidhealth/diagnoses/types/standalone_diagnosis_create.rb +78 -0
  89. data/lib/candidhealth/eligibility/client.rb +28 -0
  90. data/lib/candidhealth/eligibility/v_2/client.rb +136 -0
  91. data/lib/candidhealth/encounter_providers/v_2/types/billing_provider.rb +104 -0
  92. data/lib/candidhealth/encounter_providers/v_2/types/encounter_provider.rb +103 -0
  93. data/lib/candidhealth/encounter_providers/v_2/types/encounter_provider_base.rb +60 -0
  94. data/lib/candidhealth/encounter_providers/v_2/types/provider_id.rb +9 -0
  95. data/lib/candidhealth/encounter_providers/v_2/types/referring_provider.rb +91 -0
  96. data/lib/candidhealth/encounter_providers/v_2/types/rendering_provider.rb +91 -0
  97. data/lib/candidhealth/encounters/client.rb +28 -0
  98. data/lib/candidhealth/encounters/v_4/client.rb +1125 -0
  99. data/lib/candidhealth/encounters/v_4/types/billable_status_type.rb +12 -0
  100. data/lib/candidhealth/encounters/v_4/types/cash_pay_payer_error_message.rb +49 -0
  101. data/lib/candidhealth/encounters/v_4/types/clinical_note.rb +67 -0
  102. data/lib/candidhealth/encounters/v_4/types/clinical_note_category.rb +64 -0
  103. data/lib/candidhealth/encounters/v_4/types/clinical_note_category_create.rb +59 -0
  104. data/lib/candidhealth/encounters/v_4/types/coding_attribution_type.rb +14 -0
  105. data/lib/candidhealth/encounters/v_4/types/encounter.rb +515 -0
  106. data/lib/candidhealth/encounters/v_4/types/encounter_base.rb +274 -0
  107. data/lib/candidhealth/encounters/v_4/types/encounter_external_id_uniqueness_error_type.rb +50 -0
  108. data/lib/candidhealth/encounters/v_4/types/encounter_guarantor_missing_contact_info_error_type.rb +49 -0
  109. data/lib/candidhealth/encounters/v_4/types/encounter_owner_of_next_action_type.rb +14 -0
  110. data/lib/candidhealth/encounters/v_4/types/encounter_page.rb +65 -0
  111. data/lib/candidhealth/encounters/v_4/types/encounter_patient_control_number_uniqueness_error_type.rb +49 -0
  112. data/lib/candidhealth/encounters/v_4/types/encounter_sort_options.rb +14 -0
  113. data/lib/candidhealth/encounters/v_4/types/encounter_submission_origin_type.rb +12 -0
  114. data/lib/candidhealth/encounters/v_4/types/intake_follow_up.rb +60 -0
  115. data/lib/candidhealth/encounters/v_4/types/intake_follow_up_id.rb +9 -0
  116. data/lib/candidhealth/encounters/v_4/types/intake_question.rb +64 -0
  117. data/lib/candidhealth/encounters/v_4/types/intake_question_id.rb +9 -0
  118. data/lib/candidhealth/encounters/v_4/types/intake_response_and_follow_ups.rb +58 -0
  119. data/lib/candidhealth/encounters/v_4/types/intervention.rb +87 -0
  120. data/lib/candidhealth/encounters/v_4/types/intervention_category.rb +14 -0
  121. data/lib/candidhealth/encounters/v_4/types/lab.rb +60 -0
  122. data/lib/candidhealth/encounters/v_4/types/lab_code_type.rb +12 -0
  123. data/lib/candidhealth/encounters/v_4/types/medication.rb +84 -0
  124. data/lib/candidhealth/encounters/v_4/types/note_category.rb +24 -0
  125. data/lib/candidhealth/encounters/v_4/types/patient_history_category.rb +59 -0
  126. data/lib/candidhealth/encounters/v_4/types/patient_history_category_enum.rb +14 -0
  127. data/lib/candidhealth/encounters/v_4/types/prior_authorization_number.rb +9 -0
  128. data/lib/candidhealth/encounters/v_4/types/responsible_party_type.rb +13 -0
  129. data/lib/candidhealth/encounters/v_4/types/rx_cui.rb +9 -0
  130. data/lib/candidhealth/encounters/v_4/types/service_authorization_exception_code.rb +19 -0
  131. data/lib/candidhealth/encounters/v_4/types/synchronicity_type.rb +12 -0
  132. data/lib/candidhealth/encounters/v_4/types/vitals.rb +78 -0
  133. data/lib/candidhealth/era/types/era.rb +59 -0
  134. data/lib/candidhealth/era/types/era_base.rb +53 -0
  135. data/lib/candidhealth/era/types/era_id.rb +7 -0
  136. data/lib/candidhealth/era/types/era_not_fully_processed_error_message.rb +53 -0
  137. data/lib/candidhealth/era_commons/types/claim_status_code_create.rb +18 -0
  138. data/lib/candidhealth/expected_network_status/client.rb +31 -0
  139. data/lib/candidhealth/expected_network_status/v_1/client.rb +112 -0
  140. data/lib/candidhealth/expected_network_status/v_1/types/expected_network_status.rb +13 -0
  141. data/lib/candidhealth/expected_network_status/v_1/types/expected_network_status_response.rb +66 -0
  142. data/lib/candidhealth/expected_network_status/v_2/client.rb +183 -0
  143. data/lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_providers_request.rb +119 -0
  144. data/lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_providers_response.rb +65 -0
  145. data/lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_rendering_providers_result.rb +107 -0
  146. data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_check_error_message.rb +49 -0
  147. data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_request_v_2.rb +119 -0
  148. data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_response_v_2.rb +62 -0
  149. data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_subscriber_information.rb +67 -0
  150. data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_v_2.rb +107 -0
  151. data/lib/candidhealth/expected_network_status/v_2/types/explanation.rb +18 -0
  152. data/lib/candidhealth/expected_network_status/v_2/types/in_network_rendering_providers_detail.rb +67 -0
  153. data/lib/candidhealth/expected_network_status/v_2/types/in_network_status.rb +57 -0
  154. data/lib/candidhealth/expected_network_status/v_2/types/indeterminate_network_status.rb +74 -0
  155. data/lib/candidhealth/expected_network_status/v_2/types/insurance_type.rb +62 -0
  156. data/lib/candidhealth/expected_network_status/v_2/types/insurance_type_codes.rb +103 -0
  157. data/lib/candidhealth/expected_network_status/v_2/types/line_of_business.rb +13 -0
  158. data/lib/candidhealth/expected_network_status/v_2/types/network_status_check_id.rb +9 -0
  159. data/lib/candidhealth/expected_network_status/v_2/types/out_of_network_status.rb +67 -0
  160. data/lib/candidhealth/expected_network_status/v_2/types/service_type.rb +51 -0
  161. data/lib/candidhealth/exports/client.rb +28 -0
  162. data/lib/candidhealth/exports/v_3/client.rb +102 -0
  163. data/lib/candidhealth/exports/v_3/types/get_exports_response.rb +75 -0
  164. data/lib/candidhealth/financials/types/account_type.rb +10 -0
  165. data/lib/candidhealth/financials/types/allocation.rb +58 -0
  166. data/lib/candidhealth/financials/types/allocation_create.rb +60 -0
  167. data/lib/candidhealth/financials/types/allocation_target.rb +118 -0
  168. data/lib/candidhealth/financials/types/allocation_target_create.rb +118 -0
  169. data/lib/candidhealth/financials/types/billing_provider_allocation_target.rb +48 -0
  170. data/lib/candidhealth/financials/types/claim_allocation_target.rb +54 -0
  171. data/lib/candidhealth/financials/types/invoice_update.rb +90 -0
  172. data/lib/candidhealth/financials/types/note_update.rb +89 -0
  173. data/lib/candidhealth/financials/types/patient_transaction_source.rb +15 -0
  174. data/lib/candidhealth/financials/types/refund_reason.rb +9 -0
  175. data/lib/candidhealth/financials/types/refund_reason_update.rb +90 -0
  176. data/lib/candidhealth/financials/types/service_line_allocation_target.rb +61 -0
  177. data/lib/candidhealth/guarantor/client.rb +28 -0
  178. data/lib/candidhealth/guarantor/v_1/client.rb +224 -0
  179. data/lib/candidhealth/guarantor/v_1/types/encounter_has_existing_guarantor_error_type.rb +49 -0
  180. data/lib/candidhealth/guarantor/v_1/types/guarantor.rb +121 -0
  181. data/lib/candidhealth/guarantor/v_1/types/guarantor_base.rb +84 -0
  182. data/lib/candidhealth/guarantor/v_1/types/guarantor_create.rb +114 -0
  183. data/lib/candidhealth/guarantor/v_1/types/guarantor_id.rb +9 -0
  184. data/lib/candidhealth/identifiers/types/identifier.rb +82 -0
  185. data/lib/candidhealth/identifiers/types/identifier_base.rb +71 -0
  186. data/lib/candidhealth/identifiers/types/identifier_code.rb +10 -0
  187. data/lib/candidhealth/identifiers/types/identifier_create.rb +71 -0
  188. data/lib/candidhealth/identifiers/types/identifier_id.rb +7 -0
  189. data/lib/candidhealth/identifiers/types/identifier_update.rb +83 -0
  190. data/lib/candidhealth/identifiers/types/identifier_value.rb +92 -0
  191. data/lib/candidhealth/identifiers/types/medicaid_provider_identifier.rb +53 -0
  192. data/lib/candidhealth/identifiers/types/medicare_provider_identifier.rb +53 -0
  193. data/lib/candidhealth/identifiers/types/updatable_identifier.rb +105 -0
  194. data/lib/candidhealth/individual/types/gender.rb +13 -0
  195. data/lib/candidhealth/individual/types/individual_base.rb +58 -0
  196. data/lib/candidhealth/individual/types/individual_id.rb +7 -0
  197. data/lib/candidhealth/individual/types/patient.rb +126 -0
  198. data/lib/candidhealth/individual/types/patient_base.rb +89 -0
  199. data/lib/candidhealth/individual/types/patient_create.rb +119 -0
  200. data/lib/candidhealth/individual/types/subscriber.rb +110 -0
  201. data/lib/candidhealth/individual/types/subscriber_base.rb +91 -0
  202. data/lib/candidhealth/individual/types/subscriber_create.rb +103 -0
  203. data/lib/candidhealth/insurance_adjudications/client.rb +28 -0
  204. data/lib/candidhealth/insurance_adjudications/v_1/client.rb +143 -0
  205. data/lib/candidhealth/insurance_adjudications/v_1/types/claim_adjudication.rb +101 -0
  206. data/lib/candidhealth/insurance_adjudications/v_1/types/claim_adjudication_create.rb +95 -0
  207. data/lib/candidhealth/insurance_adjudications/v_1/types/insurance_adjudication.rb +99 -0
  208. data/lib/candidhealth/insurance_adjudications/v_1/types/insurance_adjudication_create.rb +109 -0
  209. data/lib/candidhealth/insurance_adjudications/v_1/types/insurance_adjudication_id.rb +9 -0
  210. data/lib/candidhealth/insurance_adjudications/v_1/types/service_line_adjudication.rb +112 -0
  211. data/lib/candidhealth/insurance_adjudications/v_1/types/service_line_adjudication_create.rb +105 -0
  212. data/lib/candidhealth/insurance_adjudications/v_1/types/service_line_adjudication_id.rb +9 -0
  213. data/lib/candidhealth/insurance_cards/v_2/types/insurance_card.rb +123 -0
  214. data/lib/candidhealth/insurance_cards/v_2/types/insurance_card_base.rb +73 -0
  215. data/lib/candidhealth/insurance_cards/v_2/types/insurance_card_create.rb +123 -0
  216. data/lib/candidhealth/insurance_cards/v_2/types/insurance_card_id.rb +9 -0
  217. data/lib/candidhealth/insurance_payments/client.rb +28 -0
  218. data/lib/candidhealth/insurance_payments/v_1/client.rb +269 -0
  219. data/lib/candidhealth/insurance_payments/v_1/types/insurance_payment.rb +98 -0
  220. data/lib/candidhealth/insurance_payments/v_1/types/insurance_payment_create.rb +91 -0
  221. data/lib/candidhealth/insurance_payments/v_1/types/insurance_payment_id.rb +9 -0
  222. data/lib/candidhealth/insurance_payments/v_1/types/insurance_payment_sort_field.rb +13 -0
  223. data/lib/candidhealth/insurance_payments/v_1/types/insurance_payments_page.rb +65 -0
  224. data/lib/candidhealth/insurance_refunds/client.rb +28 -0
  225. data/lib/candidhealth/insurance_refunds/v_1/client.rb +280 -0
  226. data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund.rb +105 -0
  227. data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund_create.rb +98 -0
  228. data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund_id.rb +9 -0
  229. data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund_sort_field.rb +14 -0
  230. data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refunds_page.rb +65 -0
  231. data/lib/candidhealth/invoices/types/invoice.rb +134 -0
  232. data/lib/candidhealth/invoices/types/invoice_item.rb +53 -0
  233. data/lib/candidhealth/invoices/types/invoice_status.rb +13 -0
  234. data/lib/candidhealth/organization_providers/client.rb +28 -0
  235. data/lib/candidhealth/organization_providers/v_2/types/address_type.rb +11 -0
  236. data/lib/candidhealth/organization_providers/v_2/types/employment_status.rb +12 -0
  237. data/lib/candidhealth/organization_providers/v_2/types/license_type.rb +78 -0
  238. data/lib/candidhealth/organization_providers/v_2/types/organization_provider.rb +159 -0
  239. data/lib/candidhealth/organization_providers/v_2/types/organization_provider_address.rb +61 -0
  240. data/lib/candidhealth/organization_providers/v_2/types/organization_provider_base.rb +132 -0
  241. data/lib/candidhealth/organization_providers/v_2/types/organization_provider_id.rb +9 -0
  242. data/lib/candidhealth/organization_providers/v_2/types/organization_provider_sort_options.rb +14 -0
  243. data/lib/candidhealth/organization_providers/v_2/types/provider_type.rb +12 -0
  244. data/lib/candidhealth/organization_providers/v_3/client.rb +239 -0
  245. data/lib/candidhealth/organization_providers/v_3/types/organization_provider_create_v_2.rb +147 -0
  246. data/lib/candidhealth/organization_providers/v_3/types/organization_provider_page_v_2.rb +65 -0
  247. data/lib/candidhealth/organization_providers/v_3/types/organization_provider_update_v_2.rb +143 -0
  248. data/lib/candidhealth/organization_providers/v_3/types/organization_provider_v_2.rb +154 -0
  249. data/lib/candidhealth/organization_service_facilities/client.rb +28 -0
  250. data/lib/candidhealth/organization_service_facilities/v_2/client.rb +256 -0
  251. data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility.rb +134 -0
  252. data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_create.rb +127 -0
  253. data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_id.rb +9 -0
  254. data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_page.rb +65 -0
  255. data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_update.rb +127 -0
  256. data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_mode.rb +12 -0
  257. data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_operational_status.rb +16 -0
  258. data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_physical_type.rb +24 -0
  259. data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_status.rb +13 -0
  260. data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_type.rb +133 -0
  261. data/lib/candidhealth/patient_payments/client.rb +28 -0
  262. data/lib/candidhealth/patient_payments/v_3/types/patient_payment.rb +130 -0
  263. data/lib/candidhealth/patient_payments/v_3/types/patient_payment_id.rb +9 -0
  264. data/lib/candidhealth/patient_payments/v_3/types/patient_payment_source.rb +19 -0
  265. data/lib/candidhealth/patient_payments/v_3/types/patient_payment_status.rb +21 -0
  266. data/lib/candidhealth/patient_payments/v_4/client.rb +304 -0
  267. data/lib/candidhealth/patient_payments/v_4/types/patient_payment.rb +120 -0
  268. data/lib/candidhealth/patient_payments/v_4/types/patient_payment_id.rb +9 -0
  269. data/lib/candidhealth/patient_payments/v_4/types/patient_payment_sort_field.rb +14 -0
  270. data/lib/candidhealth/patient_payments/v_4/types/patient_payments_page.rb +65 -0
  271. data/lib/candidhealth/patient_refunds/client.rb +28 -0
  272. data/lib/candidhealth/patient_refunds/v_1/client.rb +316 -0
  273. data/lib/candidhealth/patient_refunds/v_1/types/patient_refund.rb +127 -0
  274. data/lib/candidhealth/patient_refunds/v_1/types/patient_refund_id.rb +9 -0
  275. data/lib/candidhealth/patient_refunds/v_1/types/patient_refund_sort_field.rb +15 -0
  276. data/lib/candidhealth/patient_refunds/v_1/types/patient_refunds_page.rb +65 -0
  277. data/lib/candidhealth/payers/client.rb +28 -0
  278. data/lib/candidhealth/payers/v_3/client.rb +104 -0
  279. data/lib/candidhealth/payers/v_3/types/payer.rb +60 -0
  280. data/lib/candidhealth/payers/v_3/types/payer_id.rb +9 -0
  281. data/lib/candidhealth/payers/v_3/types/payer_identifier.rb +94 -0
  282. data/lib/candidhealth/payers/v_3/types/payer_info.rb +56 -0
  283. data/lib/candidhealth/payers/v_3/types/payer_name.rb +9 -0
  284. data/lib/candidhealth/payers/v_3/types/payer_page.rb +65 -0
  285. data/lib/candidhealth/payers/v_3/types/payer_uuid.rb +9 -0
  286. data/lib/candidhealth/remits/v_1/types/payee.rb +60 -0
  287. data/lib/candidhealth/remits/v_1/types/payee_identifier.rb +102 -0
  288. data/lib/candidhealth/service_facility/client.rb +89 -0
  289. data/lib/candidhealth/service_facility/types/encounter_service_facility.rb +77 -0
  290. data/lib/candidhealth/service_facility/types/encounter_service_facility_base.rb +72 -0
  291. data/lib/candidhealth/service_facility/types/service_facility_id.rb +7 -0
  292. data/lib/candidhealth/service_lines/v_2/types/denial_reason_content.rb +40 -0
  293. data/lib/candidhealth/service_lines/v_2/types/drug_identification.rb +86 -0
  294. data/lib/candidhealth/service_lines/v_2/types/measurement_unit_code.rb +15 -0
  295. data/lib/candidhealth/service_lines/v_2/types/service_id_qualifier.rb +17 -0
  296. data/lib/candidhealth/service_lines/v_2/types/service_line.rb +225 -0
  297. data/lib/candidhealth/service_lines/v_2/types/service_line_adjustment.rb +79 -0
  298. data/lib/candidhealth/service_lines/v_2/types/service_line_create.rb +120 -0
  299. data/lib/candidhealth/service_lines/v_2/types/service_line_denial_reason.rb +52 -0
  300. data/lib/candidhealth/service_lines/v_2/types/service_line_era_data.rb +62 -0
  301. data/lib/candidhealth/tags/types/tag.rb +65 -0
  302. data/lib/candidhealth/tags/types/tag_color_enum.rb +18 -0
  303. data/lib/candidhealth/tags/types/tag_create.rb +59 -0
  304. data/lib/candidhealth/tags/types/tag_id.rb +7 -0
  305. data/lib/candidhealth/tasks/client.rb +28 -0
  306. data/lib/candidhealth/tasks/commons/types/task_category.rb +50 -0
  307. data/lib/candidhealth/tasks/commons/types/task_status.rb +17 -0
  308. data/lib/candidhealth/tasks/commons/types/task_type.rb +22 -0
  309. data/lib/candidhealth/tasks/v_3/client.rb +259 -0
  310. data/lib/candidhealth/tasks/v_3/types/task.rb +170 -0
  311. data/lib/candidhealth/tasks/v_3/types/task_action.rb +66 -0
  312. data/lib/candidhealth/tasks/v_3/types/task_action_execution_method.rb +79 -0
  313. data/lib/candidhealth/tasks/v_3/types/task_action_type.rb +12 -0
  314. data/lib/candidhealth/tasks/v_3/types/task_actions.rb +53 -0
  315. data/lib/candidhealth/tasks/v_3/types/task_assignment.rb +56 -0
  316. data/lib/candidhealth/tasks/v_3/types/task_create_v_3.rb +95 -0
  317. data/lib/candidhealth/tasks/v_3/types/task_note.rb +79 -0
  318. data/lib/candidhealth/tasks/v_3/types/task_page.rb +65 -0
  319. data/lib/candidhealth/tasks/v_3/types/task_sort_options.rb +32 -0
  320. data/lib/candidhealth/tasks/v_3/types/task_update_v_3.rb +66 -0
  321. data/lib/candidhealth/tasks/v_3/types/task_updated_to_deprecated_status_error_type.rb +50 -0
  322. data/lib/candidhealth/write_offs/client.rb +28 -0
  323. data/lib/candidhealth/write_offs/v_1/client.rb +218 -0
  324. data/lib/candidhealth/write_offs/v_1/types/create_write_offs_response.rb +53 -0
  325. data/lib/candidhealth/write_offs/v_1/types/insurance_write_off.rb +119 -0
  326. data/lib/candidhealth/write_offs/v_1/types/insurance_write_off_create.rb +100 -0
  327. data/lib/candidhealth/write_offs/v_1/types/insurance_write_off_reason.rb +25 -0
  328. data/lib/candidhealth/write_offs/v_1/types/insurance_write_off_target.rb +103 -0
  329. data/lib/candidhealth/write_offs/v_1/types/patient_write_off.rb +102 -0
  330. data/lib/candidhealth/write_offs/v_1/types/patient_write_off_create.rb +83 -0
  331. data/lib/candidhealth/write_offs/v_1/types/patient_write_off_reason.rb +19 -0
  332. data/lib/candidhealth/write_offs/v_1/types/write_off.rb +94 -0
  333. data/lib/candidhealth/write_offs/v_1/types/write_off_create.rb +94 -0
  334. data/lib/candidhealth/write_offs/v_1/types/write_off_id.rb +9 -0
  335. data/lib/candidhealth/write_offs/v_1/types/write_off_sort_field.rb +13 -0
  336. data/lib/candidhealth/write_offs/v_1/types/write_offs_page.rb +65 -0
  337. data/lib/candidhealth/x_12/v_1/types/carc.rb +412 -0
  338. data/lib/candidhealth/x_12/v_1/types/claim_adjustment_reason_code.rb +62 -0
  339. data/lib/candidhealth/x_12/v_1/types/rarc.rb +1070 -0
  340. data/lib/candidhealth/x_12/v_1/types/remittance_advice_remark_code.rb +50 -0
  341. data/lib/candidhealth.rb +129 -0
  342. data/lib/environment.rb +8 -0
  343. data/lib/gemconfig.rb +14 -0
  344. data/lib/requests.rb +113 -0
  345. data/lib/types_export.rb +303 -0
  346. metadata +468 -0
@@ -0,0 +1,50 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "rarc"
4
+ require "json"
5
+
6
+ module CandidApiClient
7
+ module X12
8
+ module V1
9
+ class RemittanceAdviceRemarkCode
10
+ attr_reader :reason_code, :additional_properties
11
+
12
+ # @param reason_code [X12::V1::Rarc]
13
+ # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
14
+ # @return [X12::V1::RemittanceAdviceRemarkCode]
15
+ def initialize(reason_code:, additional_properties: nil)
16
+ # @type [X12::V1::Rarc]
17
+ @reason_code = reason_code
18
+ # @type [OpenStruct] Additional properties unmapped to the current class definition
19
+ @additional_properties = additional_properties
20
+ end
21
+
22
+ # Deserialize a JSON object to an instance of RemittanceAdviceRemarkCode
23
+ #
24
+ # @param json_object [JSON]
25
+ # @return [X12::V1::RemittanceAdviceRemarkCode]
26
+ def self.from_json(json_object:)
27
+ struct = JSON.parse(json_object, object_class: OpenStruct)
28
+ JSON.parse(json_object)
29
+ reason_code = struct.reason_code
30
+ new(reason_code: reason_code, additional_properties: struct)
31
+ end
32
+
33
+ # Serialize an instance of RemittanceAdviceRemarkCode to a JSON object
34
+ #
35
+ # @return [JSON]
36
+ def to_json(*_args)
37
+ { "reason_code": @reason_code }.to_json
38
+ end
39
+
40
+ # 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.
41
+ #
42
+ # @param obj [Object]
43
+ # @return [Void]
44
+ def self.validate_raw(obj:)
45
+ obj.reason_code.is_a?(X12::V1::Rarc) != false || raise("Passed value for field obj.reason_code is not the expected type, validation failed.")
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,129 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "environment"
4
+ require_relative "types_export"
5
+ require_relative "requests"
6
+ require_relative "candidhealth/auth/client"
7
+ require_relative "candidhealth/billing_notes/client"
8
+ require_relative "candidhealth/contracts/client"
9
+ require_relative "candidhealth/eligibility/client"
10
+ require_relative "candidhealth/encounters/client"
11
+ require_relative "candidhealth/expected_network_status/client"
12
+ require_relative "candidhealth/exports/client"
13
+ require_relative "candidhealth/guarantor/client"
14
+ require_relative "candidhealth/insurance_adjudications/client"
15
+ require_relative "candidhealth/insurance_payments/client"
16
+ require_relative "candidhealth/insurance_refunds/client"
17
+ require_relative "candidhealth/organization_service_facilities/client"
18
+ require_relative "candidhealth/organization_providers/client"
19
+ require_relative "candidhealth/patient_payments/client"
20
+ require_relative "candidhealth/patient_refunds/client"
21
+ require_relative "candidhealth/payers/client"
22
+ require_relative "candidhealth/tasks/client"
23
+ require_relative "candidhealth/write_offs/client"
24
+ require_relative "candidhealth/service_facility/client"
25
+ require_relative "candidhealth/auth/v_2/types/auth_get_token_request"
26
+
27
+ module CandidApiClient
28
+ class Client
29
+ attr_reader :auth, :billing_notes, :contracts, :eligibility, :encounters, :expected_network_status, :exports,
30
+ :guarantor, :insurance_adjudications, :insurance_payments, :insurance_refunds, :organization_service_facilities, :organization_providers, :patient_payments, :patient_refunds, :payers, :tasks, :write_offs, :service_facility
31
+
32
+ # @param environment [Environment]
33
+ # @param max_retries [Long] The number of times to retry a failed request, defaults to 2.
34
+ # @param timeout_in_seconds [Long]
35
+ # @param options [CandidApiAuthOptions]
36
+ # @return [Client]
37
+ def initialize(options: nil, environment: Environment::PRODUCTION, max_retries: nil, timeout_in_seconds: nil)
38
+ token = options.get_token(environment: environment) unless options.nil?
39
+
40
+ @request_client = RequestClient.new(environment: environment, max_retries: max_retries,
41
+ timeout_in_seconds: timeout_in_seconds, token: token)
42
+ @auth = Auth::Client.new(request_client: @request_client)
43
+ @billing_notes = BillingNotes::Client.new(request_client: @request_client)
44
+ @contracts = Contracts::Client.new(request_client: @request_client)
45
+ @eligibility = Eligibility::Client.new(request_client: @request_client)
46
+ @encounters = Encounters::Client.new(request_client: @request_client)
47
+ @expected_network_status = ExpectedNetworkStatus::Client.new(request_client: @request_client)
48
+ @exports = Exports::Client.new(request_client: @request_client)
49
+ @guarantor = Guarantor::Client.new(request_client: @request_client)
50
+ @insurance_adjudications = InsuranceAdjudications::Client.new(request_client: @request_client)
51
+ @insurance_payments = InsurancePayments::Client.new(request_client: @request_client)
52
+ @insurance_refunds = InsuranceRefunds::Client.new(request_client: @request_client)
53
+ @organization_service_facilities = OrganizationServiceFacilities::Client.new(request_client: @request_client)
54
+ @organization_providers = OrganizationProviders::Client.new(request_client: @request_client)
55
+ @patient_payments = PatientPayments::Client.new(request_client: @request_client)
56
+ @patient_refunds = PatientRefunds::Client.new(request_client: @request_client)
57
+ @payers = Payers::Client.new(request_client: @request_client)
58
+ @tasks = Tasks::Client.new(request_client: @request_client)
59
+ @write_offs = WriteOffs::Client.new(request_client: @request_client)
60
+ @service_facility = ServiceFacilityClient.new(request_client: @request_client)
61
+ end
62
+ end
63
+
64
+ class AsyncClient
65
+ attr_reader :auth, :billing_notes, :contracts, :eligibility, :encounters, :expected_network_status, :exports,
66
+ :guarantor, :insurance_adjudications, :insurance_payments, :insurance_refunds, :organization_service_facilities, :organization_providers, :patient_payments, :patient_refunds, :payers, :tasks, :write_offs, :service_facility
67
+
68
+ # @param environment [Environment]
69
+ # @param max_retries [Long] The number of times to retry a failed request, defaults to 2.
70
+ # @param timeout_in_seconds [Long]
71
+ # @param options [CandidApiAuthOptions]
72
+ # @return [AsyncClient]
73
+ def initialize(options: nil, environment: Environment::PRODUCTION, max_retries: nil, timeout_in_seconds: nil)
74
+ token = options.get_token(environment: environment) unless options.nil?
75
+
76
+ @async_request_client = AsyncRequestClient.new(environment: environment, max_retries: max_retries,
77
+ timeout_in_seconds: timeout_in_seconds, token: token)
78
+ @auth = Auth::AsyncClient.new(request_client: @async_request_client)
79
+ @billing_notes = BillingNotes::AsyncClient.new(request_client: @async_request_client)
80
+ @contracts = Contracts::AsyncClient.new(request_client: @async_request_client)
81
+ @eligibility = Eligibility::AsyncClient.new(request_client: @async_request_client)
82
+ @encounters = Encounters::AsyncClient.new(request_client: @async_request_client)
83
+ @expected_network_status = ExpectedNetworkStatus::AsyncClient.new(request_client: @async_request_client)
84
+ @exports = Exports::AsyncClient.new(request_client: @async_request_client)
85
+ @guarantor = Guarantor::AsyncClient.new(request_client: @async_request_client)
86
+ @insurance_adjudications = InsuranceAdjudications::AsyncClient.new(request_client: @async_request_client)
87
+ @insurance_payments = InsurancePayments::AsyncClient.new(request_client: @async_request_client)
88
+ @insurance_refunds = InsuranceRefunds::AsyncClient.new(request_client: @async_request_client)
89
+ @organization_service_facilities = OrganizationServiceFacilities::AsyncClient.new(request_client: @async_request_client)
90
+ @organization_providers = OrganizationProviders::AsyncClient.new(request_client: @async_request_client)
91
+ @patient_payments = PatientPayments::AsyncClient.new(request_client: @async_request_client)
92
+ @patient_refunds = PatientRefunds::AsyncClient.new(request_client: @async_request_client)
93
+ @payers = Payers::AsyncClient.new(request_client: @async_request_client)
94
+ @tasks = Tasks::AsyncClient.new(request_client: @async_request_client)
95
+ @write_offs = WriteOffs::AsyncClient.new(request_client: @async_request_client)
96
+ @service_facility = AsyncServiceFacilityClient.new(request_client: @async_request_client)
97
+ end
98
+ end
99
+
100
+ class CandidApiAuthOptions
101
+ attr_reader :token, :client_id, :client_secret
102
+
103
+ # @param token [String]
104
+ # @param client_id [String]
105
+ # @param client_secret [String]
106
+ # @return [CandidApiAuthOptions]
107
+ def initialize(token: nil, client_id: nil, client_secret: nil)
108
+ # @type [String]
109
+ @token = token
110
+ # @type [string]
111
+ @client_id = client_id
112
+ # @type [string]
113
+ @client_secret = client_secret
114
+ end
115
+
116
+
117
+ # @param environment [Environment]
118
+ def get_token(environment:)
119
+ unless @token.nil?
120
+ return @token
121
+ end
122
+
123
+ unauthed_client = Client.new(environment:environment)
124
+ response = unauthed_client.auth.v_2.get_token(request: {client_id: @client_id, client_secret: @client_secret})
125
+ return response.access_token
126
+ end
127
+ end
128
+
129
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CandidApiClient
4
+ class Environment
5
+ PRODUCTION = "https://api.joincandidhealth.com"
6
+ STAGING = "https://api-staging.joincandidhealth.com"
7
+ end
8
+ end
data/lib/gemconfig.rb ADDED
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CandidApiClient
4
+ module Gemconfig
5
+ VERSION = ""
6
+ AUTHORS = [""].freeze
7
+ EMAIL = ""
8
+ SUMMARY = ""
9
+ DESCRIPTION = ""
10
+ HOMEPAGE = "https://github.com/candidhealth/candid-ruby"
11
+ SOURCE_CODE_URI = "https://github.com/candidhealth/candid-ruby"
12
+ CHANGELOG_URI = "https://github.com/candidhealth/candid-ruby/blob/master/CHANGELOG.md"
13
+ end
14
+ end
data/lib/requests.rb ADDED
@@ -0,0 +1,113 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "environment"
4
+ require "faraday"
5
+ require "faraday/retry"
6
+ require "async/http/faraday"
7
+
8
+ module CandidApiClient
9
+ class RequestClient
10
+ attr_reader :headers, :base_url, :conn
11
+
12
+ # @param environment [Environment]
13
+ # @param max_retries [Long] The number of times to retry a failed request, defaults to 2.
14
+ # @param timeout_in_seconds [Long]
15
+ # @param token [String]
16
+ # @return [RequestClient]
17
+ def initialize(token:, environment: Environment::PRODUCTION, max_retries: nil, timeout_in_seconds: nil)
18
+ @default_environment = environment
19
+ @base_url = environment
20
+ @headers = {
21
+ "X-Fern-Language": "Ruby",
22
+ "X-Fern-SDK-Name": "candidhealth",
23
+ "X-Fern-SDK-Version": "0.17.1",
24
+ "Authorization": "Bearer #{token}"
25
+ }
26
+ @conn = Faraday.new(@base_url, headers: @headers) do |faraday|
27
+ faraday.request :json
28
+ faraday.response :raise_error, include_request: true
29
+ faraday.request :retry, { max: max_retries } unless max_retries.nil?
30
+ faraday.options.timeout = timeout_in_seconds unless timeout_in_seconds.nil?
31
+ end
32
+ end
33
+ end
34
+
35
+ class AsyncRequestClient
36
+ attr_reader :headers, :base_url, :conn
37
+
38
+ # @param environment [Environment]
39
+ # @param max_retries [Long] The number of times to retry a failed request, defaults to 2.
40
+ # @param timeout_in_seconds [Long]
41
+ # @param token [String]
42
+ # @return [AsyncRequestClient]
43
+ def initialize(token:, environment: Environment::PRODUCTION, max_retries: nil, timeout_in_seconds: nil)
44
+ @default_environment = environment
45
+ @base_url = environment
46
+ @headers = {
47
+ "X-Fern-Language": "Ruby",
48
+ "X-Fern-SDK-Name": "candidhealth",
49
+ "X-Fern-SDK-Version": "0.17.1",
50
+ "Authorization": "Bearer #{token}"
51
+ }
52
+ @conn = Faraday.new(@base_url, headers: @headers) do |faraday|
53
+ faraday.request :json
54
+ faraday.response :raise_error, include_request: true
55
+ faraday.adapter :async_http
56
+ faraday.request :retry, { max: max_retries } unless max_retries.nil?
57
+ faraday.options.timeout = timeout_in_seconds unless timeout_in_seconds.nil?
58
+ end
59
+ end
60
+ end
61
+
62
+ # Additional options for request-specific configuration when calling APIs via the SDK.
63
+ class RequestOptions
64
+ attr_reader :token, :additional_headers, :additional_query_parameters, :additional_body_parameters,
65
+ :timeout_in_seconds
66
+
67
+ # @param token [String]
68
+ # @param additional_headers [Hash{String => Object}]
69
+ # @param additional_query_parameters [Hash{String => Object}]
70
+ # @param additional_body_parameters [Hash{String => Object}]
71
+ # @param timeout_in_seconds [Long]
72
+ # @return [RequestOptions]
73
+ def initialize(token: nil, additional_headers: nil, additional_query_parameters: nil,
74
+ additional_body_parameters: nil, timeout_in_seconds: nil)
75
+ # @type [String]
76
+ @token = token
77
+ # @type [Hash{String => Object}]
78
+ @additional_headers = additional_headers
79
+ # @type [Hash{String => Object}]
80
+ @additional_query_parameters = additional_query_parameters
81
+ # @type [Hash{String => Object}]
82
+ @additional_body_parameters = additional_body_parameters
83
+ # @type [Long]
84
+ @timeout_in_seconds = timeout_in_seconds
85
+ end
86
+ end
87
+
88
+ # Additional options for request-specific configuration when calling APIs via the SDK.
89
+ class IdempotencyRequestOptions
90
+ attr_reader :token, :additional_headers, :additional_query_parameters, :additional_body_parameters,
91
+ :timeout_in_seconds
92
+
93
+ # @param token [String]
94
+ # @param additional_headers [Hash{String => Object}]
95
+ # @param additional_query_parameters [Hash{String => Object}]
96
+ # @param additional_body_parameters [Hash{String => Object}]
97
+ # @param timeout_in_seconds [Long]
98
+ # @return [IdempotencyRequestOptions]
99
+ def initialize(token: nil, additional_headers: nil, additional_query_parameters: nil,
100
+ additional_body_parameters: nil, timeout_in_seconds: nil)
101
+ # @type [String]
102
+ @token = token
103
+ # @type [Hash{String => Object}]
104
+ @additional_headers = additional_headers
105
+ # @type [Hash{String => Object}]
106
+ @additional_query_parameters = additional_query_parameters
107
+ # @type [Hash{String => Object}]
108
+ @additional_body_parameters = additional_body_parameters
109
+ # @type [Long]
110
+ @timeout_in_seconds = timeout_in_seconds
111
+ end
112
+ end
113
+ end
@@ -0,0 +1,303 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "candidhealth/auth/v_2/types/auth_get_token_request"
4
+ require_relative "candidhealth/auth/v_2/types/auth_get_token_response"
5
+ require_relative "candidhealth/auth/v_2/types/too_many_requests_error_type"
6
+ require_relative "candidhealth/billing_notes/v_2/types/billing_note_id"
7
+ require_relative "candidhealth/billing_notes/v_2/types/billing_note_base"
8
+ require_relative "candidhealth/billing_notes/v_2/types/billing_note"
9
+ require_relative "candidhealth/claim_submission/v_1/types/claim_frequency_type_code"
10
+ require_relative "candidhealth/claim_submission/v_1/types/external_claim_submission_create"
11
+ require_relative "candidhealth/claim_submission/v_1/types/claim_submission_record_create"
12
+ require_relative "candidhealth/contracts/v_2/types/contract_is_linked_to_fee_schedule_error"
13
+ require_relative "candidhealth/contracts/v_2/types/contract_id"
14
+ require_relative "candidhealth/contracts/v_2/types/contracting_provider_id"
15
+ require_relative "candidhealth/contracts/v_2/types/rendering_providerid"
16
+ require_relative "candidhealth/contracts/v_2/types/regions_update"
17
+ require_relative "candidhealth/contracts/v_2/types/date_update"
18
+ require_relative "candidhealth/contracts/v_2/types/authorized_signatory_update"
19
+ require_relative "candidhealth/contracts/v_2/types/insurance_types"
20
+ require_relative "candidhealth/contracts/v_2/types/contract_base"
21
+ require_relative "candidhealth/contracts/v_2/types/contract"
22
+ require_relative "candidhealth/contracts/v_2/types/contract_with_providers"
23
+ require_relative "candidhealth/contracts/v_2/types/contracts_page"
24
+ require_relative "candidhealth/contracts/v_2/types/contract_status"
25
+ require_relative "candidhealth/contracts/v_2/types/authorized_signatory"
26
+ require_relative "candidhealth/encounter_providers/v_2/types/encounter_provider_base"
27
+ require_relative "candidhealth/encounter_providers/v_2/types/rendering_provider"
28
+ require_relative "candidhealth/encounter_providers/v_2/types/referring_provider"
29
+ require_relative "candidhealth/encounter_providers/v_2/types/billing_provider"
30
+ require_relative "candidhealth/encounter_providers/v_2/types/provider_id"
31
+ require_relative "candidhealth/encounter_providers/v_2/types/encounter_provider"
32
+ require_relative "candidhealth/encounters/v_4/types/encounter_base"
33
+ require_relative "candidhealth/encounters/v_4/types/encounter"
34
+ require_relative "candidhealth/encounters/v_4/types/encounter_sort_options"
35
+ require_relative "candidhealth/encounters/v_4/types/medication"
36
+ require_relative "candidhealth/encounters/v_4/types/vitals"
37
+ require_relative "candidhealth/encounters/v_4/types/intervention"
38
+ require_relative "candidhealth/encounters/v_4/types/intervention_category"
39
+ require_relative "candidhealth/encounters/v_4/types/lab"
40
+ require_relative "candidhealth/encounters/v_4/types/lab_code_type"
41
+ require_relative "candidhealth/encounters/v_4/types/patient_history_category"
42
+ require_relative "candidhealth/encounters/v_4/types/patient_history_category_enum"
43
+ require_relative "candidhealth/encounters/v_4/types/intake_question"
44
+ require_relative "candidhealth/encounters/v_4/types/intake_response_and_follow_ups"
45
+ require_relative "candidhealth/encounters/v_4/types/intake_follow_up"
46
+ require_relative "candidhealth/encounters/v_4/types/clinical_note_category_create"
47
+ require_relative "candidhealth/encounters/v_4/types/clinical_note_category"
48
+ require_relative "candidhealth/encounters/v_4/types/note_category"
49
+ require_relative "candidhealth/encounters/v_4/types/clinical_note"
50
+ require_relative "candidhealth/encounters/v_4/types/responsible_party_type"
51
+ require_relative "candidhealth/encounters/v_4/types/billable_status_type"
52
+ require_relative "candidhealth/encounters/v_4/types/encounter_owner_of_next_action_type"
53
+ require_relative "candidhealth/encounters/v_4/types/encounter_submission_origin_type"
54
+ require_relative "candidhealth/encounters/v_4/types/synchronicity_type"
55
+ require_relative "candidhealth/encounters/v_4/types/coding_attribution_type"
56
+ require_relative "candidhealth/encounters/v_4/types/encounter_page"
57
+ require_relative "candidhealth/encounters/v_4/types/prior_authorization_number"
58
+ require_relative "candidhealth/encounters/v_4/types/rx_cui"
59
+ require_relative "candidhealth/encounters/v_4/types/intake_question_id"
60
+ require_relative "candidhealth/encounters/v_4/types/intake_follow_up_id"
61
+ require_relative "candidhealth/encounters/v_4/types/encounter_external_id_uniqueness_error_type"
62
+ require_relative "candidhealth/encounters/v_4/types/encounter_patient_control_number_uniqueness_error_type"
63
+ require_relative "candidhealth/encounters/v_4/types/encounter_guarantor_missing_contact_info_error_type"
64
+ require_relative "candidhealth/encounters/v_4/types/cash_pay_payer_error_message"
65
+ require_relative "candidhealth/encounters/v_4/types/service_authorization_exception_code"
66
+ require_relative "candidhealth/expected_network_status/v_1/types/expected_network_status"
67
+ require_relative "candidhealth/expected_network_status/v_1/types/expected_network_status_response"
68
+ require_relative "candidhealth/expected_network_status/v_2/types/network_status_check_id"
69
+ require_relative "candidhealth/expected_network_status/v_2/types/line_of_business"
70
+ require_relative "candidhealth/expected_network_status/v_2/types/insurance_type_codes"
71
+ require_relative "candidhealth/expected_network_status/v_2/types/insurance_type"
72
+ require_relative "candidhealth/expected_network_status/v_2/types/explanation"
73
+ require_relative "candidhealth/expected_network_status/v_2/types/service_type"
74
+ require_relative "candidhealth/expected_network_status/v_2/types/expected_network_status_request_v_2"
75
+ require_relative "candidhealth/expected_network_status/v_2/types/compute_all_in_network_providers_request"
76
+ require_relative "candidhealth/expected_network_status/v_2/types/expected_network_status_subscriber_information"
77
+ require_relative "candidhealth/expected_network_status/v_2/types/in_network_rendering_providers_detail"
78
+ require_relative "candidhealth/expected_network_status/v_2/types/indeterminate_network_status"
79
+ require_relative "candidhealth/expected_network_status/v_2/types/in_network_status"
80
+ require_relative "candidhealth/expected_network_status/v_2/types/out_of_network_status"
81
+ require_relative "candidhealth/expected_network_status/v_2/types/compute_all_in_network_rendering_providers_result"
82
+ require_relative "candidhealth/expected_network_status/v_2/types/compute_all_in_network_providers_response"
83
+ require_relative "candidhealth/expected_network_status/v_2/types/expected_network_status_v_2"
84
+ require_relative "candidhealth/expected_network_status/v_2/types/expected_network_status_response_v_2"
85
+ require_relative "candidhealth/expected_network_status/v_2/types/expected_network_status_check_error_message"
86
+ require_relative "candidhealth/exports/v_3/types/get_exports_response"
87
+ require_relative "candidhealth/guarantor/v_1/types/guarantor_id"
88
+ require_relative "candidhealth/guarantor/v_1/types/guarantor_base"
89
+ require_relative "candidhealth/guarantor/v_1/types/guarantor"
90
+ require_relative "candidhealth/guarantor/v_1/types/guarantor_create"
91
+ require_relative "candidhealth/guarantor/v_1/types/encounter_has_existing_guarantor_error_type"
92
+ require_relative "candidhealth/insurance_adjudications/v_1/types/insurance_adjudication_id"
93
+ require_relative "candidhealth/insurance_adjudications/v_1/types/service_line_adjudication_id"
94
+ require_relative "candidhealth/insurance_adjudications/v_1/types/insurance_adjudication_create"
95
+ require_relative "candidhealth/insurance_adjudications/v_1/types/insurance_adjudication"
96
+ require_relative "candidhealth/insurance_adjudications/v_1/types/claim_adjudication_create"
97
+ require_relative "candidhealth/insurance_adjudications/v_1/types/claim_adjudication"
98
+ require_relative "candidhealth/insurance_adjudications/v_1/types/service_line_adjudication_create"
99
+ require_relative "candidhealth/insurance_adjudications/v_1/types/service_line_adjudication"
100
+ require_relative "candidhealth/insurance_cards/v_2/types/insurance_card_id"
101
+ require_relative "candidhealth/insurance_cards/v_2/types/insurance_card_base"
102
+ require_relative "candidhealth/insurance_cards/v_2/types/insurance_card_create"
103
+ require_relative "candidhealth/insurance_cards/v_2/types/insurance_card"
104
+ require_relative "candidhealth/insurance_payments/v_1/types/insurance_payment_id"
105
+ require_relative "candidhealth/insurance_payments/v_1/types/insurance_payment"
106
+ require_relative "candidhealth/insurance_payments/v_1/types/insurance_payment_create"
107
+ require_relative "candidhealth/insurance_payments/v_1/types/insurance_payments_page"
108
+ require_relative "candidhealth/insurance_payments/v_1/types/insurance_payment_sort_field"
109
+ require_relative "candidhealth/insurance_refunds/v_1/types/insurance_refund_id"
110
+ require_relative "candidhealth/insurance_refunds/v_1/types/insurance_refund"
111
+ require_relative "candidhealth/insurance_refunds/v_1/types/insurance_refund_create"
112
+ require_relative "candidhealth/insurance_refunds/v_1/types/insurance_refunds_page"
113
+ require_relative "candidhealth/insurance_refunds/v_1/types/insurance_refund_sort_field"
114
+ require_relative "candidhealth/organization_service_facilities/v_2/types/service_facility_status"
115
+ require_relative "candidhealth/organization_service_facilities/v_2/types/service_facility_operational_status"
116
+ require_relative "candidhealth/organization_service_facilities/v_2/types/service_facility_mode"
117
+ require_relative "candidhealth/organization_service_facilities/v_2/types/service_facility_physical_type"
118
+ require_relative "candidhealth/organization_service_facilities/v_2/types/service_facility_type"
119
+ require_relative "candidhealth/organization_service_facilities/v_2/types/organization_service_facility_id"
120
+ require_relative "candidhealth/organization_service_facilities/v_2/types/organization_service_facility"
121
+ require_relative "candidhealth/organization_service_facilities/v_2/types/organization_service_facility_update"
122
+ require_relative "candidhealth/organization_service_facilities/v_2/types/organization_service_facility_create"
123
+ require_relative "candidhealth/organization_service_facilities/v_2/types/organization_service_facility_page"
124
+ require_relative "candidhealth/organization_providers/v_2/types/organization_provider_id"
125
+ require_relative "candidhealth/organization_providers/v_2/types/organization_provider_base"
126
+ require_relative "candidhealth/organization_providers/v_2/types/organization_provider"
127
+ require_relative "candidhealth/organization_providers/v_2/types/organization_provider_sort_options"
128
+ require_relative "candidhealth/organization_providers/v_2/types/provider_type"
129
+ require_relative "candidhealth/organization_providers/v_2/types/license_type"
130
+ require_relative "candidhealth/organization_providers/v_2/types/employment_status"
131
+ require_relative "candidhealth/organization_providers/v_2/types/organization_provider_address"
132
+ require_relative "candidhealth/organization_providers/v_2/types/address_type"
133
+ require_relative "candidhealth/organization_providers/v_3/types/organization_provider_v_2"
134
+ require_relative "candidhealth/organization_providers/v_3/types/organization_provider_create_v_2"
135
+ require_relative "candidhealth/organization_providers/v_3/types/organization_provider_update_v_2"
136
+ require_relative "candidhealth/organization_providers/v_3/types/organization_provider_page_v_2"
137
+ require_relative "candidhealth/patient_payments/v_3/types/patient_payment_id"
138
+ require_relative "candidhealth/patient_payments/v_3/types/patient_payment_source"
139
+ require_relative "candidhealth/patient_payments/v_3/types/patient_payment"
140
+ require_relative "candidhealth/patient_payments/v_3/types/patient_payment_status"
141
+ require_relative "candidhealth/patient_payments/v_4/types/patient_payment_id"
142
+ require_relative "candidhealth/patient_payments/v_4/types/patient_payment"
143
+ require_relative "candidhealth/patient_payments/v_4/types/patient_payments_page"
144
+ require_relative "candidhealth/patient_payments/v_4/types/patient_payment_sort_field"
145
+ require_relative "candidhealth/patient_refunds/v_1/types/patient_refund_id"
146
+ require_relative "candidhealth/patient_refunds/v_1/types/patient_refund"
147
+ require_relative "candidhealth/patient_refunds/v_1/types/patient_refunds_page"
148
+ require_relative "candidhealth/patient_refunds/v_1/types/patient_refund_sort_field"
149
+ require_relative "candidhealth/payers/v_3/types/payer_uuid"
150
+ require_relative "candidhealth/payers/v_3/types/payer_id"
151
+ require_relative "candidhealth/payers/v_3/types/payer_name"
152
+ require_relative "candidhealth/payers/v_3/types/payer_page"
153
+ require_relative "candidhealth/payers/v_3/types/payer"
154
+ require_relative "candidhealth/payers/v_3/types/payer_info"
155
+ require_relative "candidhealth/payers/v_3/types/payer_identifier"
156
+ require_relative "candidhealth/remits/v_1/types/payee_identifier"
157
+ require_relative "candidhealth/remits/v_1/types/payee"
158
+ require_relative "candidhealth/service_lines/v_2/types/service_line_create"
159
+ require_relative "candidhealth/service_lines/v_2/types/service_line"
160
+ require_relative "candidhealth/service_lines/v_2/types/service_line_era_data"
161
+ require_relative "candidhealth/service_lines/v_2/types/service_line_adjustment"
162
+ require_relative "candidhealth/service_lines/v_2/types/service_line_denial_reason"
163
+ require_relative "candidhealth/service_lines/v_2/types/denial_reason_content"
164
+ require_relative "candidhealth/service_lines/v_2/types/drug_identification"
165
+ require_relative "candidhealth/service_lines/v_2/types/service_id_qualifier"
166
+ require_relative "candidhealth/service_lines/v_2/types/measurement_unit_code"
167
+ require_relative "candidhealth/tasks/v_3/types/task"
168
+ require_relative "candidhealth/tasks/v_3/types/task_note"
169
+ require_relative "candidhealth/tasks/v_3/types/task_assignment"
170
+ require_relative "candidhealth/tasks/v_3/types/task_sort_options"
171
+ require_relative "candidhealth/tasks/v_3/types/task_action_type"
172
+ require_relative "candidhealth/tasks/v_3/types/task_action_execution_method"
173
+ require_relative "candidhealth/tasks/v_3/types/task_actions"
174
+ require_relative "candidhealth/tasks/v_3/types/task_action"
175
+ require_relative "candidhealth/tasks/v_3/types/task_create_v_3"
176
+ require_relative "candidhealth/tasks/v_3/types/task_update_v_3"
177
+ require_relative "candidhealth/tasks/v_3/types/task_page"
178
+ require_relative "candidhealth/tasks/v_3/types/task_updated_to_deprecated_status_error_type"
179
+ require_relative "candidhealth/write_offs/v_1/types/write_off_id"
180
+ require_relative "candidhealth/write_offs/v_1/types/write_off"
181
+ require_relative "candidhealth/write_offs/v_1/types/write_off_create"
182
+ require_relative "candidhealth/write_offs/v_1/types/patient_write_off_reason"
183
+ require_relative "candidhealth/write_offs/v_1/types/patient_write_off"
184
+ require_relative "candidhealth/write_offs/v_1/types/patient_write_off_create"
185
+ require_relative "candidhealth/write_offs/v_1/types/insurance_write_off"
186
+ require_relative "candidhealth/write_offs/v_1/types/insurance_write_off_create"
187
+ require_relative "candidhealth/write_offs/v_1/types/insurance_write_off_target"
188
+ require_relative "candidhealth/write_offs/v_1/types/insurance_write_off_reason"
189
+ require_relative "candidhealth/write_offs/v_1/types/create_write_offs_response"
190
+ require_relative "candidhealth/write_offs/v_1/types/write_offs_page"
191
+ require_relative "candidhealth/write_offs/v_1/types/write_off_sort_field"
192
+ require_relative "candidhealth/x_12/v_1/types/claim_adjustment_reason_code"
193
+ require_relative "candidhealth/x_12/v_1/types/remittance_advice_remark_code"
194
+ require_relative "candidhealth/x_12/v_1/types/carc"
195
+ require_relative "candidhealth/x_12/v_1/types/rarc"
196
+ require_relative "candidhealth/claims/types/claim"
197
+ require_relative "candidhealth/claims/types/claim_status"
198
+ require_relative "candidhealth/commons/types/encounter_id"
199
+ require_relative "candidhealth/commons/types/organization_id"
200
+ require_relative "candidhealth/commons/types/claim_id"
201
+ require_relative "candidhealth/commons/types/service_line_id"
202
+ require_relative "candidhealth/commons/types/patient_external_id"
203
+ require_relative "candidhealth/commons/types/encounter_external_id"
204
+ require_relative "candidhealth/commons/types/npi"
205
+ require_relative "candidhealth/commons/types/tax_id"
206
+ require_relative "candidhealth/commons/types/work_queue_id"
207
+ require_relative "candidhealth/commons/types/user_id"
208
+ require_relative "candidhealth/commons/types/task_id"
209
+ require_relative "candidhealth/commons/types/task_assignment_id"
210
+ require_relative "candidhealth/commons/types/task_note_id"
211
+ require_relative "candidhealth/commons/types/provider_id"
212
+ require_relative "candidhealth/commons/types/invoice_id"
213
+ require_relative "candidhealth/commons/types/link_url"
214
+ require_relative "candidhealth/commons/types/page_token"
215
+ require_relative "candidhealth/commons/types/sort_direction"
216
+ require_relative "candidhealth/commons/types/date"
217
+ require_relative "candidhealth/commons/types/date_range_optional_end"
218
+ require_relative "candidhealth/commons/types/decimal"
219
+ require_relative "candidhealth/commons/types/removable_date_range_optional_end"
220
+ require_relative "candidhealth/commons/types/resource_page"
221
+ require_relative "candidhealth/commons/types/street_address_base"
222
+ require_relative "candidhealth/commons/types/street_address_short_zip"
223
+ require_relative "candidhealth/commons/types/street_address_long_zip"
224
+ require_relative "candidhealth/commons/types/regions"
225
+ require_relative "candidhealth/commons/types/region_states"
226
+ require_relative "candidhealth/commons/types/region_national"
227
+ require_relative "candidhealth/commons/types/state"
228
+ require_relative "candidhealth/commons/types/source_of_payment_code"
229
+ require_relative "candidhealth/commons/types/facility_type_code"
230
+ require_relative "candidhealth/commons/types/patient_relationship_to_insured_code_all"
231
+ require_relative "candidhealth/commons/types/procedure_modifier"
232
+ require_relative "candidhealth/commons/types/service_line_units"
233
+ require_relative "candidhealth/commons/types/insurance_type_code"
234
+ require_relative "candidhealth/commons/types/claim_adjustment_group_codes"
235
+ require_relative "candidhealth/commons/types/claim_submission_payer_responsibility_type"
236
+ require_relative "candidhealth/commons/types/emr_payer_crosswalk"
237
+ require_relative "candidhealth/commons/types/error_message"
238
+ require_relative "candidhealth/commons/types/entity_not_found_error_message"
239
+ require_relative "candidhealth/commons/types/unauthorized_error_message"
240
+ require_relative "candidhealth/commons/types/unprocessable_entity_error_message"
241
+ require_relative "candidhealth/commons/types/http_service_unavailable_error_message"
242
+ require_relative "candidhealth/commons/types/request_validation_error"
243
+ require_relative "candidhealth/commons/types/updates_disabled_due_to_external_system_integration_error_message"
244
+ require_relative "candidhealth/commons/types/organization_not_authorized_error_message"
245
+ require_relative "candidhealth/commons/types/phone_number"
246
+ require_relative "candidhealth/commons/types/phone_number_type"
247
+ require_relative "candidhealth/commons/types/email"
248
+ require_relative "candidhealth/commons/types/delay_reason_code"
249
+ require_relative "candidhealth/diagnoses/types/diagnosis_id"
250
+ require_relative "candidhealth/diagnoses/types/diagnosis_create"
251
+ require_relative "candidhealth/diagnoses/types/standalone_diagnosis_create"
252
+ require_relative "candidhealth/diagnoses/types/diagnosis_type_code"
253
+ require_relative "candidhealth/diagnoses/types/diagnosis"
254
+ require_relative "candidhealth/era_commons/types/claim_status_code_create"
255
+ require_relative "candidhealth/era/types/era_id"
256
+ require_relative "candidhealth/era/types/era_base"
257
+ require_relative "candidhealth/era/types/era_not_fully_processed_error_message"
258
+ require_relative "candidhealth/era/types/era"
259
+ require_relative "candidhealth/financials/types/refund_reason"
260
+ require_relative "candidhealth/financials/types/patient_transaction_source"
261
+ require_relative "candidhealth/financials/types/allocation"
262
+ require_relative "candidhealth/financials/types/service_line_allocation_target"
263
+ require_relative "candidhealth/financials/types/claim_allocation_target"
264
+ require_relative "candidhealth/financials/types/billing_provider_allocation_target"
265
+ require_relative "candidhealth/financials/types/allocation_target"
266
+ require_relative "candidhealth/financials/types/allocation_create"
267
+ require_relative "candidhealth/financials/types/allocation_target_create"
268
+ require_relative "candidhealth/financials/types/account_type"
269
+ require_relative "candidhealth/financials/types/note_update"
270
+ require_relative "candidhealth/financials/types/invoice_update"
271
+ require_relative "candidhealth/financials/types/refund_reason_update"
272
+ require_relative "candidhealth/identifiers/types/identifier_code"
273
+ require_relative "candidhealth/identifiers/types/identifier_id"
274
+ require_relative "candidhealth/identifiers/types/medicare_provider_identifier"
275
+ require_relative "candidhealth/identifiers/types/medicaid_provider_identifier"
276
+ require_relative "candidhealth/identifiers/types/identifier_value"
277
+ require_relative "candidhealth/identifiers/types/identifier_base"
278
+ require_relative "candidhealth/identifiers/types/identifier"
279
+ require_relative "candidhealth/identifiers/types/identifier_create"
280
+ require_relative "candidhealth/identifiers/types/identifier_update"
281
+ require_relative "candidhealth/identifiers/types/updatable_identifier"
282
+ require_relative "candidhealth/individual/types/individual_id"
283
+ require_relative "candidhealth/individual/types/individual_base"
284
+ require_relative "candidhealth/individual/types/subscriber_base"
285
+ require_relative "candidhealth/individual/types/subscriber_create"
286
+ require_relative "candidhealth/individual/types/subscriber"
287
+ require_relative "candidhealth/individual/types/patient_create"
288
+ require_relative "candidhealth/individual/types/patient_base"
289
+ require_relative "candidhealth/individual/types/patient"
290
+ require_relative "candidhealth/individual/types/gender"
291
+ require_relative "candidhealth/invoices/types/invoice"
292
+ require_relative "candidhealth/invoices/types/invoice_item"
293
+ require_relative "candidhealth/invoices/types/invoice_status"
294
+ require_relative "candidhealth/service_facility/types/service_facility_id"
295
+ require_relative "candidhealth/service_facility/types/encounter_service_facility_base"
296
+ require_relative "candidhealth/service_facility/types/encounter_service_facility"
297
+ require_relative "candidhealth/tags/types/tag_id"
298
+ require_relative "candidhealth/tags/types/tag_create"
299
+ require_relative "candidhealth/tags/types/tag"
300
+ require_relative "candidhealth/tags/types/tag_color_enum"
301
+ require_relative "candidhealth/tasks/commons/types/task_status"
302
+ require_relative "candidhealth/tasks/commons/types/task_type"
303
+ require_relative "candidhealth/tasks/commons/types/task_category"