candidhealth 1.11.0 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1657) hide show
  1. checksums.yaml +4 -4
  2. data/.fernignore +10 -0
  3. data/.rubocop.yml +39 -0
  4. data/README.md +94 -0
  5. data/Rakefile +20 -0
  6. data/custom.gemspec.rb +16 -0
  7. data/lib/candid/auth/client.rb +17 -0
  8. data/lib/candid/auth/default/client.rb +68 -0
  9. data/lib/candid/auth/default/types/auth_get_token_request.rb +14 -0
  10. data/lib/candid/auth/default/types/auth_get_token_response.rb +15 -0
  11. data/lib/candid/auth/default/types/invalid_content_type_error_type.rb +13 -0
  12. data/lib/candid/auth/default/types/too_many_requests_error_type.rb +13 -0
  13. data/lib/candid/billing_notes/client.rb +17 -0
  14. data/lib/candid/billing_notes/v_2/client.rb +79 -0
  15. data/lib/candid/billing_notes/v_2/types/billing_note.rb +17 -0
  16. data/lib/candid/billing_notes/v_2/types/billing_note_base.rb +13 -0
  17. data/lib/candid/billing_notes/v_2/types/billing_note_base_optional.rb +13 -0
  18. data/lib/candid/billing_notes/v_2/types/billing_note_update.rb +14 -0
  19. data/lib/candid/billing_notes/v_2/types/standalone_billing_note_create.rb +14 -0
  20. data/lib/candid/charge_capture/client.rb +17 -0
  21. data/lib/candid/charge_capture/v_1/client.rb +170 -0
  22. data/lib/candid/charge_capture/v_1/types/charge_capture.rb +28 -0
  23. data/lib/candid/charge_capture/v_1/types/charge_capture_data.rb +11 -0
  24. data/lib/candid/charge_capture/v_1/types/charge_capture_error.rb +20 -0
  25. data/lib/candid/charge_capture/v_1/types/charge_capture_page.rb +16 -0
  26. data/lib/candid/charge_capture/v_1/types/charge_capture_post_billed_change.rb +16 -0
  27. data/lib/candid/charge_capture/v_1/types/charge_capture_post_billed_change_update.rb +14 -0
  28. data/lib/candid/charge_capture/v_1/types/charge_capture_sort_field.rb +16 -0
  29. data/lib/candid/charge_capture/v_1/types/charge_capture_status.rb +19 -0
  30. data/lib/candid/charge_capture/v_1/types/charge_capture_update.rb +20 -0
  31. data/lib/candid/charge_capture/v_1/types/charge_external_id_conflict_error_message.rb +13 -0
  32. data/lib/candid/charge_capture/v_1/types/create_charge_capture_from_pre_encounter_request.rb +20 -0
  33. data/lib/candid/charge_capture/v_1/types/create_charge_capture_request.rb +19 -0
  34. data/lib/candid/charge_capture/v_1/types/get_all_charge_captures_request.rb +63 -0
  35. data/lib/candid/charge_capture_bundles/client.rb +17 -0
  36. data/lib/candid/charge_capture_bundles/v_1/client.rb +106 -0
  37. data/lib/candid/charge_capture_bundles/v_1/types/charge_capture_bundle_error_resolution.rb +15 -0
  38. data/lib/candid/charge_capture_bundles/v_1/types/charge_capture_claim_creation.rb +26 -0
  39. data/lib/candid/charge_capture_bundles/v_1/types/charge_capture_claim_creation_page.rb +15 -0
  40. data/lib/candid/charge_capture_bundles/v_1/types/charge_capture_claim_creation_sort_field.rb +15 -0
  41. data/lib/candid/charge_capture_bundles/v_1/types/charge_capture_claim_creation_status.rb +20 -0
  42. data/lib/candid/charge_capture_bundles/v_1/types/charge_capture_claim_creation_summary.rb +17 -0
  43. data/lib/candid/charge_capture_bundles/v_1/types/get_all_charge_capture_claim_creations_request.rb +43 -0
  44. data/lib/candid/claim_submission/v_1/types/claim_submission_record_create.rb +23 -0
  45. data/lib/candid/claim_submission/v_1/types/claim_submission_record_create_optional.rb +23 -0
  46. data/lib/candid/claim_submission/v_1/types/external_claim_submission_create.rb +17 -0
  47. data/lib/candid/claim_submission/v_1/types/external_claim_submission_create_optional.rb +17 -0
  48. data/lib/candid/claims/types/claim.rb +20 -0
  49. data/lib/candid/claims/types/claim_status.rb +27 -0
  50. data/lib/candid/client.rb +216 -0
  51. data/lib/candid/clinical_trials/v_1/types/clinical_trial.rb +15 -0
  52. data/lib/candid/clinical_trials/v_1/types/clinical_trial_phase.rb +17 -0
  53. data/lib/candid/clinical_trials/v_1/types/mutable_clinical_trial.rb +17 -0
  54. data/lib/candid/commons/types/bad_request_error_message.rb +11 -0
  55. data/lib/candid/commons/types/billing_provider_commercial_license_type.rb +22 -0
  56. data/lib/candid/commons/types/claim_adjustment_group_codes.rb +22 -0
  57. data/lib/candid/commons/types/claim_submission_payer_responsibility_type.rb +14 -0
  58. data/lib/candid/commons/types/clearinghouse.rb +20 -0
  59. data/lib/candid/commons/types/date_range_optional_end.rb +12 -0
  60. data/lib/candid/commons/types/delay_reason_code.rb +26 -0
  61. data/lib/candid/commons/types/emr_payer_crosswalk.rb +14 -0
  62. data/lib/candid/commons/types/entity_conflict_error_message.rb +11 -0
  63. data/lib/candid/commons/types/entity_not_found_error_message.rb +11 -0
  64. data/lib/candid/commons/types/epsdt_referral_condition_indicator_code.rb +16 -0
  65. data/lib/candid/commons/types/facility_type_code.rb +62 -0
  66. data/lib/candid/commons/types/http_service_unavailable_error_message.rb +11 -0
  67. data/lib/candid/commons/types/insurance_type_code.rb +82 -0
  68. data/lib/candid/commons/types/intended_submission_medium.rb +14 -0
  69. data/lib/candid/commons/types/internal_error_message.rb +11 -0
  70. data/lib/candid/commons/types/network_type.rb +33 -0
  71. data/lib/candid/commons/types/next_responsible_party.rb +18 -0
  72. data/lib/candid/commons/types/organization_not_authorized_error_message.rb +11 -0
  73. data/lib/candid/commons/types/patient_relationship_to_insured_code_all.rb +36 -0
  74. data/lib/candid/commons/types/phone_number.rb +12 -0
  75. data/lib/candid/commons/types/phone_number_optional.rb +12 -0
  76. data/lib/candid/commons/types/phone_number_type.rb +15 -0
  77. data/lib/candid/commons/types/primitive.rb +16 -0
  78. data/lib/candid/commons/types/procedure_modifier.rb +424 -0
  79. data/lib/candid/commons/types/qualifier_code.rb +16 -0
  80. data/lib/candid/commons/types/region_national.rb +9 -0
  81. data/lib/candid/commons/types/region_states.rb +11 -0
  82. data/lib/candid/commons/types/regions.rb +16 -0
  83. data/lib/candid/commons/types/removable_date_range_optional_end.rb +16 -0
  84. data/lib/candid/commons/types/report_transmission_code.rb +15 -0
  85. data/lib/candid/commons/types/report_type_code.rb +73 -0
  86. data/lib/candid/commons/types/request_validation_error.rb +12 -0
  87. data/lib/candid/commons/types/resource_page.rb +12 -0
  88. data/lib/candid/commons/types/service_line_units.rb +14 -0
  89. data/lib/candid/commons/types/sort_direction.rb +14 -0
  90. data/lib/candid/commons/types/source_of_payment_code.rb +36 -0
  91. data/lib/candid/commons/types/state.rb +74 -0
  92. data/lib/candid/commons/types/street_address_base.rb +15 -0
  93. data/lib/candid/commons/types/street_address_long_zip.rb +11 -0
  94. data/lib/candid/commons/types/street_address_long_zip_optional.rb +11 -0
  95. data/lib/candid/commons/types/street_address_optional_base.rb +15 -0
  96. data/lib/candid/commons/types/street_address_short_zip.rb +11 -0
  97. data/lib/candid/commons/types/street_address_short_zip_optional.rb +11 -0
  98. data/lib/candid/commons/types/unauthorized_error_message.rb +11 -0
  99. data/lib/candid/commons/types/unprocessable_entity_error_message.rb +11 -0
  100. data/lib/candid/commons/types/updates_disabled_due_to_external_system_integration_error_message.rb +11 -0
  101. data/lib/candid/contracts/client.rb +17 -0
  102. data/lib/candid/contracts/v_2/client.rb +130 -0
  103. data/lib/candid/contracts/v_2/types/authorized_signatory.rb +18 -0
  104. data/lib/candid/contracts/v_2/types/authorized_signatory_update.rb +18 -0
  105. data/lib/candid/contracts/v_2/types/contract.rb +18 -0
  106. data/lib/candid/contracts/v_2/types/contract_base.rb +28 -0
  107. data/lib/candid/contracts/v_2/types/contract_create.rb +31 -0
  108. data/lib/candid/contracts/v_2/types/contract_invalid_expiration_date_error.rb +13 -0
  109. data/lib/candid/contracts/v_2/types/contract_is_linked_to_fee_schedule_error.rb +13 -0
  110. data/lib/candid/contracts/v_2/types/contract_sort_field.rb +20 -0
  111. data/lib/candid/contracts/v_2/types/contract_status.rb +17 -0
  112. data/lib/candid/contracts/v_2/types/contract_update.rb +30 -0
  113. data/lib/candid/contracts/v_2/types/contract_with_providers.rb +13 -0
  114. data/lib/candid/contracts/v_2/types/contracts_page.rb +15 -0
  115. data/lib/candid/contracts/v_2/types/date_update.rb +18 -0
  116. data/lib/candid/contracts/v_2/types/get_multi_contracts_request.rb +21 -0
  117. data/lib/candid/contracts/v_2/types/insurance_types.rb +19 -0
  118. data/lib/candid/contracts/v_2/types/regions_update.rb +18 -0
  119. data/lib/candid/credentialing/client.rb +17 -0
  120. data/lib/candid/credentialing/v_2/client.rb +244 -0
  121. data/lib/candid/credentialing/v_2/types/base_credentialing_span.rb +24 -0
  122. data/lib/candid/credentialing/v_2/types/credentialing_span_status.rb +18 -0
  123. data/lib/candid/credentialing/v_2/types/facility_credentialing_span.rb +16 -0
  124. data/lib/candid/credentialing/v_2/types/facility_credentialing_span_create.rb +19 -0
  125. data/lib/candid/credentialing/v_2/types/facility_credentialing_span_page.rb +15 -0
  126. data/lib/candid/credentialing/v_2/types/facility_credentialing_span_update.rb +20 -0
  127. data/lib/candid/credentialing/v_2/types/get_all_facility_credentialing_spans_request.rb +17 -0
  128. data/lib/candid/credentialing/v_2/types/get_all_provider_credentialing_spans_request.rb +18 -0
  129. data/lib/candid/credentialing/v_2/types/provider_credentialing_span.rb +19 -0
  130. data/lib/candid/credentialing/v_2/types/provider_credentialing_span_create.rb +20 -0
  131. data/lib/candid/credentialing/v_2/types/provider_credentialing_span_page.rb +15 -0
  132. data/lib/candid/credentialing/v_2/types/provider_credentialing_span_update.rb +20 -0
  133. data/lib/candid/custom_schemas/client.rb +17 -0
  134. data/lib/candid/custom_schemas/v_1/client.rb +111 -0
  135. data/lib/candid/custom_schemas/v_1/types/key_with_name_already_exists_error.rb +14 -0
  136. data/lib/candid/custom_schemas/v_1/types/schema.rb +18 -0
  137. data/lib/candid/custom_schemas/v_1/types/schema_create.rb +17 -0
  138. data/lib/candid/custom_schemas/v_1/types/schema_field.rb +14 -0
  139. data/lib/candid/custom_schemas/v_1/types/schema_get_multi_response.rb +15 -0
  140. data/lib/candid/custom_schemas/v_1/types/schema_instance.rb +16 -0
  141. data/lib/candid/custom_schemas/v_1/types/schema_instance_optional.rb +16 -0
  142. data/lib/candid/custom_schemas/v_1/types/schema_update.rb +18 -0
  143. data/lib/candid/custom_schemas/v_1/types/schema_validation_error.rb +20 -0
  144. data/lib/candid/custom_schemas/v_1/types/schema_validation_failure.rb +15 -0
  145. data/lib/candid/custom_schemas/v_1/types/schema_with_name_already_exists_error.rb +14 -0
  146. data/lib/candid/diagnoses/client.rb +83 -0
  147. data/lib/candid/diagnoses/types/diagnosis.rb +13 -0
  148. data/lib/candid/diagnoses/types/diagnosis_create.rb +16 -0
  149. data/lib/candid/diagnoses/types/diagnosis_create_optional.rb +16 -0
  150. data/lib/candid/diagnoses/types/diagnosis_not_found_error.rb +12 -0
  151. data/lib/candid/diagnoses/types/diagnosis_type_code.rb +22 -0
  152. data/lib/candid/diagnoses/types/diagnosis_update.rb +17 -0
  153. data/lib/candid/diagnoses/types/disallow_multiple_primary_diagnosis_error.rb +13 -0
  154. data/lib/candid/diagnoses/types/service_lines_must_have_at_least_one_diagnosis_error.rb +13 -0
  155. data/lib/candid/diagnoses/types/standalone_diagnosis_create.rb +11 -0
  156. data/lib/candid/eligibility/client.rb +17 -0
  157. data/lib/candid/eligibility/v_2/client.rb +127 -0
  158. data/lib/candid/encounter_attachments/client.rb +17 -0
  159. data/lib/candid/encounter_attachments/v_1/client.rb +129 -0
  160. data/lib/candid/encounter_attachments/v_1/types/base_attachment.rb +17 -0
  161. data/lib/candid/encounter_attachments/v_1/types/create_attachment_request.rb +13 -0
  162. data/lib/candid/encounter_attachments/v_1/types/create_attachment_v_2_request.rb +13 -0
  163. data/lib/candid/encounter_attachments/v_1/types/delete_attachment_request.rb +14 -0
  164. data/lib/candid/encounter_attachments/v_1/types/encounter_attachment.rb +18 -0
  165. data/lib/candid/encounter_attachments/v_1/types/encounter_attachment_type.rb +17 -0
  166. data/lib/candid/encounter_providers/client.rb +17 -0
  167. data/lib/candid/encounter_providers/v_2/client.rb +266 -0
  168. data/lib/candid/encounter_providers/v_2/types/billing_provider.rb +27 -0
  169. data/lib/candid/encounter_providers/v_2/types/billing_provider_update.rb +27 -0
  170. data/lib/candid/encounter_providers/v_2/types/billing_provider_update_with_optional_address.rb +28 -0
  171. data/lib/candid/encounter_providers/v_2/types/encounter_provider.rb +21 -0
  172. data/lib/candid/encounter_providers/v_2/types/encounter_provider_base.rb +15 -0
  173. data/lib/candid/encounter_providers/v_2/types/initial_referring_provider.rb +16 -0
  174. data/lib/candid/encounter_providers/v_2/types/initial_referring_provider_update.rb +16 -0
  175. data/lib/candid/encounter_providers/v_2/types/initial_referring_provider_update_with_optional_address.rb +16 -0
  176. data/lib/candid/encounter_providers/v_2/types/ordering_provider.rb +15 -0
  177. data/lib/candid/encounter_providers/v_2/types/ordering_provider_optional.rb +15 -0
  178. data/lib/candid/encounter_providers/v_2/types/ordering_provider_update.rb +15 -0
  179. data/lib/candid/encounter_providers/v_2/types/referring_provider.rb +15 -0
  180. data/lib/candid/encounter_providers/v_2/types/referring_provider_update.rb +15 -0
  181. data/lib/candid/encounter_providers/v_2/types/referring_provider_update_with_optional_address.rb +15 -0
  182. data/lib/candid/encounter_providers/v_2/types/rendering_provider.rb +15 -0
  183. data/lib/candid/encounter_providers/v_2/types/rendering_provider_update.rb +15 -0
  184. data/lib/candid/encounter_providers/v_2/types/rendering_provider_update_with_optional_address.rb +15 -0
  185. data/lib/candid/encounter_providers/v_2/types/supervising_provider.rb +15 -0
  186. data/lib/candid/encounter_providers/v_2/types/supervising_provider_update.rb +15 -0
  187. data/lib/candid/encounter_providers/v_2/types/supervising_provider_update_with_optional_address.rb +15 -0
  188. data/lib/candid/encounter_supplemental_information/client.rb +17 -0
  189. data/lib/candid/encounter_supplemental_information/v_1/client.rb +96 -0
  190. data/lib/candid/encounter_supplemental_information/v_1/types/attachment_inclusion.rb +17 -0
  191. data/lib/candid/encounter_supplemental_information/v_1/types/create_supplemental_information_request.rb +23 -0
  192. data/lib/candid/encounter_supplemental_information/v_1/types/supplemental_information.rb +25 -0
  193. data/lib/candid/encounter_supplemental_information/v_1/types/update_supplemental_information_request.rb +23 -0
  194. data/lib/candid/encounters/client.rb +17 -0
  195. data/lib/candid/encounters/v_4/client.rb +229 -0
  196. data/lib/candid/encounters/v_4/types/billable_status_type.rb +16 -0
  197. data/lib/candid/encounters/v_4/types/cash_pay_payer_error_message.rb +13 -0
  198. data/lib/candid/encounters/v_4/types/claim_supplemental_information.rb +19 -0
  199. data/lib/candid/encounters/v_4/types/claim_supplemental_information_optional.rb +19 -0
  200. data/lib/candid/encounters/v_4/types/clinical_note.rb +16 -0
  201. data/lib/candid/encounters/v_4/types/clinical_note_category.rb +17 -0
  202. data/lib/candid/encounters/v_4/types/clinical_note_category_create.rb +16 -0
  203. data/lib/candid/encounters/v_4/types/clinical_note_category_create_optional.rb +16 -0
  204. data/lib/candid/encounters/v_4/types/clinical_note_optional.rb +16 -0
  205. data/lib/candid/encounters/v_4/types/coding_attribution_type.rb +18 -0
  206. data/lib/candid/encounters/v_4/types/encounter.rb +114 -0
  207. data/lib/candid/encounters/v_4/types/encounter_base.rb +40 -0
  208. data/lib/candid/encounters/v_4/types/encounter_create.rb +27 -0
  209. data/lib/candid/encounters/v_4/types/encounter_create_from_pre_encounter.rb +24 -0
  210. data/lib/candid/encounters/v_4/types/encounter_deep_optional.rb +80 -0
  211. data/lib/candid/encounters/v_4/types/encounter_external_id_uniqueness_error_type.rb +13 -0
  212. data/lib/candid/encounters/v_4/types/encounter_guarantor_missing_contact_info_error_type.rb +13 -0
  213. data/lib/candid/encounters/v_4/types/encounter_optional.rb +40 -0
  214. data/lib/candid/encounters/v_4/types/encounter_owner_of_next_action_type.rb +18 -0
  215. data/lib/candid/encounters/v_4/types/encounter_page.rb +15 -0
  216. data/lib/candid/encounters/v_4/types/encounter_patient_control_number_uniqueness_error_type.rb +13 -0
  217. data/lib/candid/encounters/v_4/types/encounter_rendering_or_attending_provider_required_error.rb +11 -0
  218. data/lib/candid/encounters/v_4/types/encounter_sort_options.rb +18 -0
  219. data/lib/candid/encounters/v_4/types/encounter_submission_expectation.rb +16 -0
  220. data/lib/candid/encounters/v_4/types/encounter_submission_origin_type.rb +16 -0
  221. data/lib/candid/encounters/v_4/types/encounter_update.rb +14 -0
  222. data/lib/candid/encounters/v_4/types/epsdt_referral.rb +21 -0
  223. data/lib/candid/encounters/v_4/types/epsdt_referral_optional.rb +21 -0
  224. data/lib/candid/encounters/v_4/types/get_all_encounters_request.rb +34 -0
  225. data/lib/candid/encounters/v_4/types/intake_follow_up.rb +15 -0
  226. data/lib/candid/encounters/v_4/types/intake_question.rb +17 -0
  227. data/lib/candid/encounters/v_4/types/intake_question_optional.rb +17 -0
  228. data/lib/candid/encounters/v_4/types/intake_response_and_follow_ups.rb +16 -0
  229. data/lib/candid/encounters/v_4/types/intervention.rb +19 -0
  230. data/lib/candid/encounters/v_4/types/intervention_category.rb +18 -0
  231. data/lib/candid/encounters/v_4/types/intervention_optional.rb +19 -0
  232. data/lib/candid/encounters/v_4/types/invalid_tag_names_error_type.rb +13 -0
  233. data/lib/candid/encounters/v_4/types/key_does_not_exist_error.rb +14 -0
  234. data/lib/candid/encounters/v_4/types/lab.rb +15 -0
  235. data/lib/candid/encounters/v_4/types/lab_code_type.rb +16 -0
  236. data/lib/candid/encounters/v_4/types/lab_optional.rb +15 -0
  237. data/lib/candid/encounters/v_4/types/medication.rb +18 -0
  238. data/lib/candid/encounters/v_4/types/medication_optional.rb +18 -0
  239. data/lib/candid/encounters/v_4/types/multiple_instances_for_schema_error.rb +13 -0
  240. data/lib/candid/encounters/v_4/types/note_category.rb +28 -0
  241. data/lib/candid/encounters/v_4/types/patient_history_category.rb +18 -0
  242. data/lib/candid/encounters/v_4/types/patient_history_category_enum.rb +18 -0
  243. data/lib/candid/encounters/v_4/types/patient_history_category_optional.rb +18 -0
  244. data/lib/candid/encounters/v_4/types/payer_plan_group_payer_does_not_match_insurance_card_error.rb +14 -0
  245. data/lib/candid/encounters/v_4/types/responsible_party_type.rb +17 -0
  246. data/lib/candid/encounters/v_4/types/schema_does_not_exist_error.rb +13 -0
  247. data/lib/candid/encounters/v_4/types/schema_instance_validation_error.rb +25 -0
  248. data/lib/candid/encounters/v_4/types/schema_instance_validation_failure.rb +15 -0
  249. data/lib/candid/encounters/v_4/types/schema_unauthorized_access_error.rb +13 -0
  250. data/lib/candid/encounters/v_4/types/service_authorization_exception_code.rb +21 -0
  251. data/lib/candid/encounters/v_4/types/synchronicity_type.rb +16 -0
  252. data/lib/candid/encounters/v_4/types/value_does_not_match_key_type_error.rb +16 -0
  253. data/lib/candid/encounters/v_4/types/vitals.rb +19 -0
  254. data/lib/candid/encounters/v_4/types/vitals_update.rb +19 -0
  255. data/lib/candid/encounters_universal/types/universal_encounter_create.rb +48 -0
  256. data/lib/candid/encounters_universal/types/universal_encounter_create_base.rb +53 -0
  257. data/lib/candid/encounters_universal/types/universal_encounter_create_from_pre_encounter.rb +45 -0
  258. data/lib/candid/encounters_universal/types/universal_encounter_create_from_pre_encounter_base.rb +40 -0
  259. data/lib/candid/encounters_universal/types/universal_encounter_update.rb +38 -0
  260. data/lib/candid/encounters_universal/types/universal_encounter_update_base.rb +50 -0
  261. data/lib/candid/era/types/era.rb +11 -0
  262. data/lib/candid/era/types/era_base.rb +12 -0
  263. data/lib/candid/errors/api_error.rb +8 -0
  264. data/lib/candid/errors/client_error.rb +17 -0
  265. data/lib/candid/errors/redirect_error.rb +8 -0
  266. data/lib/candid/errors/response_error.rb +42 -0
  267. data/lib/candid/errors/server_error.rb +11 -0
  268. data/lib/candid/errors/timeout_error.rb +8 -0
  269. data/lib/candid/events/client.rb +17 -0
  270. data/lib/candid/events/v_1/client.rb +64 -0
  271. data/lib/candid/events/v_1/types/event.rb +18 -0
  272. data/lib/candid/events/v_1/types/event_scan_page.rb +16 -0
  273. data/lib/candid/events/v_1/types/get_event_scan_request.rb +17 -0
  274. data/lib/candid/expected_network_status/client.rb +22 -0
  275. data/lib/candid/expected_network_status/v_1/client.rb +38 -0
  276. data/lib/candid/expected_network_status/v_1/types/expected_network_status.rb +17 -0
  277. data/lib/candid/expected_network_status/v_1/types/expected_network_status_request.rb +24 -0
  278. data/lib/candid/expected_network_status/v_1/types/expected_network_status_response.rb +17 -0
  279. data/lib/candid/expected_network_status/v_2/client.rb +66 -0
  280. data/lib/candid/expected_network_status/v_2/types/compute_all_in_network_providers_request.rb +25 -0
  281. data/lib/candid/expected_network_status/v_2/types/compute_all_in_network_providers_response.rb +16 -0
  282. data/lib/candid/expected_network_status/v_2/types/compute_all_in_network_rendering_providers_result.rb +21 -0
  283. data/lib/candid/expected_network_status/v_2/types/empty_object.rb +11 -0
  284. data/lib/candid/expected_network_status/v_2/types/expected_network_status_check_error_message.rb +13 -0
  285. data/lib/candid/expected_network_status/v_2/types/expected_network_status_request_v_2.rb +25 -0
  286. data/lib/candid/expected_network_status/v_2/types/expected_network_status_response_v_2.rb +16 -0
  287. data/lib/candid/expected_network_status/v_2/types/expected_network_status_subscriber_information.rb +17 -0
  288. data/lib/candid/expected_network_status/v_2/types/expected_network_status_v_2.rb +19 -0
  289. data/lib/candid/expected_network_status/v_2/types/explanation.rb +22 -0
  290. data/lib/candid/expected_network_status/v_2/types/in_network_rendering_providers_detail.rb +15 -0
  291. data/lib/candid/expected_network_status/v_2/types/in_network_status.rb +14 -0
  292. data/lib/candid/expected_network_status/v_2/types/indeterminate_network_status.rb +18 -0
  293. data/lib/candid/expected_network_status/v_2/types/insurance_type.rb +18 -0
  294. data/lib/candid/expected_network_status/v_2/types/insurance_type_codes.rb +19 -0
  295. data/lib/candid/expected_network_status/v_2/types/line_of_business.rb +17 -0
  296. data/lib/candid/expected_network_status/v_2/types/out_of_network_status.rb +17 -0
  297. data/lib/candid/expected_network_status/v_2/types/service_type.rb +55 -0
  298. data/lib/candid/exports/client.rb +17 -0
  299. data/lib/candid/exports/v_3/client.rb +60 -0
  300. data/lib/candid/exports/v_3/types/get_exports_request.rb +14 -0
  301. data/lib/candid/exports/v_3/types/get_exports_response.rb +16 -0
  302. data/lib/candid/external_payment_account_config/client.rb +17 -0
  303. data/lib/candid/external_payment_account_config/v_1/client.rb +41 -0
  304. data/lib/candid/external_payment_account_config/v_1/types/external_payment_account_config.rb +14 -0
  305. data/lib/candid/external_payment_account_config/v_1/types/external_payment_account_config_page.rb +15 -0
  306. data/lib/candid/external_payment_account_config/v_1/types/get_external_payment_account_configs_request.rb +14 -0
  307. data/lib/candid/fee_schedules/client.rb +17 -0
  308. data/lib/candid/fee_schedules/v_3/client.rb +302 -0
  309. data/lib/candid/fee_schedules/v_3/types/dimension_match.rb +33 -0
  310. data/lib/candid/fee_schedules/v_3/types/dimension_name.rb +17 -0
  311. data/lib/candid/fee_schedules/v_3/types/dimensions.rb +31 -0
  312. data/lib/candid/fee_schedules/v_3/types/dimensions_page.rb +15 -0
  313. data/lib/candid/fee_schedules/v_3/types/fee_schedule_upload_request.rb +16 -0
  314. data/lib/candid/fee_schedules/v_3/types/get_multi_request.rb +27 -0
  315. data/lib/candid/fee_schedules/v_3/types/get_unique_dimension_values_request.rb +29 -0
  316. data/lib/candid/fee_schedules/v_3/types/hard_delete_rates_by_ids_request.rb +13 -0
  317. data/lib/candid/fee_schedules/v_3/types/match_cpt_code.rb +16 -0
  318. data/lib/candid/fee_schedules/v_3/types/match_date.rb +16 -0
  319. data/lib/candid/fee_schedules/v_3/types/match_facility_type_code.rb +16 -0
  320. data/lib/candid/fee_schedules/v_3/types/match_geo.rb +17 -0
  321. data/lib/candid/fee_schedules/v_3/types/match_license_type.rb +16 -0
  322. data/lib/candid/fee_schedules/v_3/types/match_modifiers.rb +18 -0
  323. data/lib/candid/fee_schedules/v_3/types/match_network_types.rb +18 -0
  324. data/lib/candid/fee_schedules/v_3/types/match_payer.rb +16 -0
  325. data/lib/candid/fee_schedules/v_3/types/match_payer_plan_groups.rb +16 -0
  326. data/lib/candid/fee_schedules/v_3/types/match_provider.rb +16 -0
  327. data/lib/candid/fee_schedules/v_3/types/match_result.rb +14 -0
  328. data/lib/candid/fee_schedules/v_3/types/match_test_result.rb +14 -0
  329. data/lib/candid/fee_schedules/v_3/types/new_rate.rb +16 -0
  330. data/lib/candid/fee_schedules/v_3/types/new_rate_version.rb +17 -0
  331. data/lib/candid/fee_schedules/v_3/types/optional_dimensions.rb +31 -0
  332. data/lib/candid/fee_schedules/v_3/types/overlapping_rate_entries_error.rb +16 -0
  333. data/lib/candid/fee_schedules/v_3/types/payer_plan_group_does_not_match_rate_payer_error.rb +14 -0
  334. data/lib/candid/fee_schedules/v_3/types/payer_threshold.rb +16 -0
  335. data/lib/candid/fee_schedules/v_3/types/payer_threshold_get_request.rb +13 -0
  336. data/lib/candid/fee_schedules/v_3/types/payer_thresholds_page.rb +15 -0
  337. data/lib/candid/fee_schedules/v_3/types/rate.rb +21 -0
  338. data/lib/candid/fee_schedules/v_3/types/rate_entry.rb +17 -0
  339. data/lib/candid/fee_schedules/v_3/types/rate_upload.rb +18 -0
  340. data/lib/candid/fee_schedules/v_3/types/rate_upload_with_possible_errors.rb +17 -0
  341. data/lib/candid/fee_schedules/v_3/types/rates_page.rb +15 -0
  342. data/lib/candid/fee_schedules/v_3/types/threshold_match.rb +17 -0
  343. data/lib/candid/fee_schedules/v_3/types/validation_error.rb +28 -0
  344. data/lib/candid/financials/types/account_type.rb +15 -0
  345. data/lib/candid/financials/types/allocation.rb +12 -0
  346. data/lib/candid/financials/types/allocation_create.rb +14 -0
  347. data/lib/candid/financials/types/allocation_target.rb +21 -0
  348. data/lib/candid/financials/types/allocation_target_create.rb +24 -0
  349. data/lib/candid/financials/types/appointment_allocation_target.rb +12 -0
  350. data/lib/candid/financials/types/appointment_by_id_and_patient_external_id.rb +12 -0
  351. data/lib/candid/financials/types/billing_provider_allocation_target.rb +11 -0
  352. data/lib/candid/financials/types/claim_allocation_target.rb +12 -0
  353. data/lib/candid/financials/types/invoice_update.rb +16 -0
  354. data/lib/candid/financials/types/note_update.rb +16 -0
  355. data/lib/candid/financials/types/patient_transaction_source.rb +20 -0
  356. data/lib/candid/financials/types/refund_reason.rb +13 -0
  357. data/lib/candid/financials/types/refund_reason_update.rb +16 -0
  358. data/lib/candid/financials/types/service_line_allocation_target.rb +13 -0
  359. data/lib/candid/guarantor/client.rb +17 -0
  360. data/lib/candid/guarantor/v_1/client.rb +85 -0
  361. data/lib/candid/guarantor/v_1/types/encounter_has_existing_guarantor_error_type.rb +13 -0
  362. data/lib/candid/guarantor/v_1/types/guarantor.rb +20 -0
  363. data/lib/candid/guarantor/v_1/types/guarantor_base.rb +17 -0
  364. data/lib/candid/guarantor/v_1/types/guarantor_create.rb +19 -0
  365. data/lib/candid/guarantor/v_1/types/guarantor_optional.rb +24 -0
  366. data/lib/candid/guarantor/v_1/types/guarantor_update.rb +24 -0
  367. data/lib/candid/health_care_code_information/client.rb +17 -0
  368. data/lib/candid/health_care_code_information/v_1/client.rb +57 -0
  369. data/lib/candid/health_care_code_information/v_1/types/admitting_diagnosis.rb +17 -0
  370. data/lib/candid/health_care_code_information/v_1/types/admitting_diagnosis_code_qualifier.rb +16 -0
  371. data/lib/candid/health_care_code_information/v_1/types/admitting_diagnosis_new.rb +17 -0
  372. data/lib/candid/health_care_code_information/v_1/types/condition_code.rb +167 -0
  373. data/lib/candid/health_care_code_information/v_1/types/condition_information.rb +19 -0
  374. data/lib/candid/health_care_code_information/v_1/types/condition_information_code_qualifier.rb +15 -0
  375. data/lib/candid/health_care_code_information/v_1/types/condition_information_new.rb +19 -0
  376. data/lib/candid/health_care_code_information/v_1/types/diagnosis_related_group.rb +17 -0
  377. data/lib/candid/health_care_code_information/v_1/types/diagnosis_related_group_code_qualifier.rb +15 -0
  378. data/lib/candid/health_care_code_information/v_1/types/diagnosis_related_group_new.rb +17 -0
  379. data/lib/candid/health_care_code_information/v_1/types/external_cause_of_injury.rb +20 -0
  380. data/lib/candid/health_care_code_information/v_1/types/external_cause_of_injury_code_qualifier.rb +16 -0
  381. data/lib/candid/health_care_code_information/v_1/types/external_cause_of_injury_new.rb +20 -0
  382. data/lib/candid/health_care_code_information/v_1/types/health_care_code_information.rb +14 -0
  383. data/lib/candid/health_care_code_information/v_1/types/health_care_code_information_create.rb +51 -0
  384. data/lib/candid/health_care_code_information/v_1/types/health_care_code_information_get_all_response.rb +51 -0
  385. data/lib/candid/health_care_code_information/v_1/types/health_care_code_information_new.rb +11 -0
  386. data/lib/candid/health_care_code_information/v_1/types/health_care_code_information_update.rb +51 -0
  387. data/lib/candid/health_care_code_information/v_1/types/occurrence_code.rb +73 -0
  388. data/lib/candid/health_care_code_information/v_1/types/occurrence_information.rb +20 -0
  389. data/lib/candid/health_care_code_information/v_1/types/occurrence_information_code_qualifier.rb +15 -0
  390. data/lib/candid/health_care_code_information/v_1/types/occurrence_information_new.rb +20 -0
  391. data/lib/candid/health_care_code_information/v_1/types/occurrence_span_code.rb +31 -0
  392. data/lib/candid/health_care_code_information/v_1/types/occurrence_span_code_qualifier.rb +15 -0
  393. data/lib/candid/health_care_code_information/v_1/types/occurrence_span_information.rb +22 -0
  394. data/lib/candid/health_care_code_information/v_1/types/occurrence_span_information_new.rb +22 -0
  395. data/lib/candid/health_care_code_information/v_1/types/other_diagnosis_information.rb +20 -0
  396. data/lib/candid/health_care_code_information/v_1/types/other_diagnosis_information_code_qualifier.rb +16 -0
  397. data/lib/candid/health_care_code_information/v_1/types/other_diagnosis_information_new.rb +20 -0
  398. data/lib/candid/health_care_code_information/v_1/types/other_procedure_information.rb +18 -0
  399. data/lib/candid/health_care_code_information/v_1/types/other_procedure_information_code_qualifier.rb +16 -0
  400. data/lib/candid/health_care_code_information/v_1/types/other_procedure_information_new.rb +18 -0
  401. data/lib/candid/health_care_code_information/v_1/types/patient_reason_for_visit.rb +17 -0
  402. data/lib/candid/health_care_code_information/v_1/types/patient_reason_for_visit_code_qualifier.rb +16 -0
  403. data/lib/candid/health_care_code_information/v_1/types/patient_reason_for_visit_new.rb +17 -0
  404. data/lib/candid/health_care_code_information/v_1/types/present_on_admission_indicator_code.rb +19 -0
  405. data/lib/candid/health_care_code_information/v_1/types/principal_diagnosis.rb +20 -0
  406. data/lib/candid/health_care_code_information/v_1/types/principal_diagnosis_code_qualifier.rb +16 -0
  407. data/lib/candid/health_care_code_information/v_1/types/principal_diagnosis_new.rb +20 -0
  408. data/lib/candid/health_care_code_information/v_1/types/principal_procedure_information.rb +18 -0
  409. data/lib/candid/health_care_code_information/v_1/types/principal_procedure_information_code_qualifier.rb +17 -0
  410. data/lib/candid/health_care_code_information/v_1/types/principal_procedure_information_new.rb +18 -0
  411. data/lib/candid/health_care_code_information/v_1/types/rd_8_date.rb +14 -0
  412. data/lib/candid/health_care_code_information/v_1/types/set_or_clear_admitting_diagnosis.rb +15 -0
  413. data/lib/candid/health_care_code_information/v_1/types/set_or_clear_diagnosis_related_group.rb +15 -0
  414. data/lib/candid/health_care_code_information/v_1/types/set_or_clear_principal_diagnosis.rb +15 -0
  415. data/lib/candid/health_care_code_information/v_1/types/set_or_clear_principal_procedure_information.rb +15 -0
  416. data/lib/candid/health_care_code_information/v_1/types/treatment_code_information.rb +17 -0
  417. data/lib/candid/health_care_code_information/v_1/types/treatment_code_information_new.rb +17 -0
  418. data/lib/candid/health_care_code_information/v_1/types/treatment_code_qualifier.rb +15 -0
  419. data/lib/candid/health_care_code_information/v_1/types/value_code.rb +121 -0
  420. data/lib/candid/health_care_code_information/v_1/types/value_code_qualifier.rb +15 -0
  421. data/lib/candid/health_care_code_information/v_1/types/value_information.rb +20 -0
  422. data/lib/candid/health_care_code_information/v_1/types/value_information_new.rb +20 -0
  423. data/lib/candid/identifiers/types/identifier.rb +11 -0
  424. data/lib/candid/identifiers/types/identifier_base.rb +13 -0
  425. data/lib/candid/identifiers/types/identifier_code.rb +14 -0
  426. data/lib/candid/identifiers/types/identifier_create.rb +9 -0
  427. data/lib/candid/identifiers/types/identifier_update.rb +14 -0
  428. data/lib/candid/identifiers/types/identifier_value.rb +16 -0
  429. data/lib/candid/identifiers/types/medicaid_provider_identifier.rb +12 -0
  430. data/lib/candid/identifiers/types/medicare_provider_identifier.rb +12 -0
  431. data/lib/candid/identifiers/types/updatable_identifier.rb +17 -0
  432. data/lib/candid/import_invoice/client.rb +17 -0
  433. data/lib/candid/import_invoice/v_1/client.rb +115 -0
  434. data/lib/candid/import_invoice/v_1/types/create_import_invoice_request.rb +23 -0
  435. data/lib/candid/import_invoice/v_1/types/import_invoice.rb +24 -0
  436. data/lib/candid/import_invoice/v_1/types/import_invoice_update_request.rb +17 -0
  437. data/lib/candid/import_invoice/v_1/types/import_invoices_page.rb +15 -0
  438. data/lib/candid/import_invoice/v_1/types/invoice_item_info_update.rb +18 -0
  439. data/lib/candid/import_invoice/v_1/types/invoice_item_update_type.rb +16 -0
  440. data/lib/candid/import_invoice/v_1/types/search_imported_invoices_request.rb +22 -0
  441. data/lib/candid/individual/types/gender.rb +17 -0
  442. data/lib/candid/individual/types/individual_base.rb +13 -0
  443. data/lib/candid/individual/types/individual_base_optional.rb +13 -0
  444. data/lib/candid/individual/types/patient.rb +24 -0
  445. data/lib/candid/individual/types/patient_base.rb +13 -0
  446. data/lib/candid/individual/types/patient_clinical_trial_info.rb +12 -0
  447. data/lib/candid/individual/types/patient_clinical_trial_info_create.rb +12 -0
  448. data/lib/candid/individual/types/patient_create.rb +21 -0
  449. data/lib/candid/individual/types/patient_non_insurance_payer_info.rb +17 -0
  450. data/lib/candid/individual/types/patient_non_insurance_payer_info_create.rb +15 -0
  451. data/lib/candid/individual/types/patient_non_insurance_payer_info_create_optional.rb +15 -0
  452. data/lib/candid/individual/types/patient_update.rb +27 -0
  453. data/lib/candid/individual/types/patient_update_with_optional_address.rb +27 -0
  454. data/lib/candid/individual/types/subscriber.rb +12 -0
  455. data/lib/candid/individual/types/subscriber_base.rb +15 -0
  456. data/lib/candid/individual/types/subscriber_base_optional.rb +15 -0
  457. data/lib/candid/individual/types/subscriber_create.rb +13 -0
  458. data/lib/candid/individual/types/subscriber_create_optional.rb +13 -0
  459. data/lib/candid/insurance_adjudications/client.rb +17 -0
  460. data/lib/candid/insurance_adjudications/v_1/client.rb +37 -0
  461. data/lib/candid/insurance_adjudications/v_1/types/claim_adjudication.rb +23 -0
  462. data/lib/candid/insurance_adjudications/v_1/types/insurance_adjudication.rb +21 -0
  463. data/lib/candid/insurance_adjudications/v_1/types/service_line_adjudication.rb +27 -0
  464. data/lib/candid/insurance_cards/v_2/types/insurance_card.rb +20 -0
  465. data/lib/candid/insurance_cards/v_2/types/insurance_card_base.rb +17 -0
  466. data/lib/candid/insurance_cards/v_2/types/insurance_card_create.rb +20 -0
  467. data/lib/candid/insurance_cards/v_2/types/insurance_card_create_optional.rb +20 -0
  468. data/lib/candid/insurance_payments/client.rb +17 -0
  469. data/lib/candid/insurance_payments/v_1/client.rb +68 -0
  470. data/lib/candid/insurance_payments/v_1/types/get_multi_insurance_payment_request.rb +22 -0
  471. data/lib/candid/insurance_payments/v_1/types/insurance_payment.rb +20 -0
  472. data/lib/candid/insurance_payments/v_1/types/insurance_payment_sort_field.rb +17 -0
  473. data/lib/candid/insurance_payments/v_1/types/insurance_payments_page.rb +15 -0
  474. data/lib/candid/insurance_refunds/client.rb +17 -0
  475. data/lib/candid/insurance_refunds/v_1/client.rb +145 -0
  476. data/lib/candid/insurance_refunds/v_1/types/get_multi_insurance_refunds_request.rb +22 -0
  477. data/lib/candid/insurance_refunds/v_1/types/insurance_refund.rb +21 -0
  478. data/lib/candid/insurance_refunds/v_1/types/insurance_refund_create.rb +20 -0
  479. data/lib/candid/insurance_refunds/v_1/types/insurance_refund_sort_field.rb +18 -0
  480. data/lib/candid/insurance_refunds/v_1/types/insurance_refund_update.rb +16 -0
  481. data/lib/candid/insurance_refunds/v_1/types/insurance_refunds_page.rb +15 -0
  482. data/lib/candid/internal/errors/constraint_error.rb +10 -0
  483. data/lib/candid/internal/errors/type_error.rb +10 -0
  484. data/lib/candid/internal/http/base_request.rb +31 -0
  485. data/lib/candid/internal/http/raw_client.rb +105 -0
  486. data/lib/candid/internal/iterators/cursor_item_iterator.rb +27 -0
  487. data/lib/candid/internal/iterators/cursor_page_iterator.rb +51 -0
  488. data/lib/candid/internal/iterators/item_iterator.rb +59 -0
  489. data/lib/candid/internal/iterators/offset_item_iterator.rb +29 -0
  490. data/lib/candid/internal/iterators/offset_page_iterator.rb +83 -0
  491. data/lib/candid/internal/json/request.rb +38 -0
  492. data/lib/candid/internal/json/serializable.rb +25 -0
  493. data/lib/candid/internal/multipart/multipart_encoder.rb +141 -0
  494. data/lib/candid/internal/multipart/multipart_form_data.rb +78 -0
  495. data/lib/candid/internal/multipart/multipart_form_data_part.rb +51 -0
  496. data/lib/candid/internal/multipart/multipart_request.rb +37 -0
  497. data/lib/candid/internal/types/array.rb +47 -0
  498. data/lib/candid/internal/types/boolean.rb +34 -0
  499. data/lib/candid/internal/types/enum.rb +48 -0
  500. data/lib/candid/internal/types/hash.rb +36 -0
  501. data/lib/candid/internal/types/model/field.rb +28 -0
  502. data/lib/candid/internal/types/model.rb +198 -0
  503. data/lib/candid/internal/types/type.rb +35 -0
  504. data/lib/candid/internal/types/union.rb +80 -0
  505. data/lib/candid/internal/types/unknown.rb +15 -0
  506. data/lib/candid/internal/types/utils.rb +100 -0
  507. data/lib/candid/invoices/types/invoice.rb +25 -0
  508. data/lib/candid/invoices/types/invoice_item.rb +12 -0
  509. data/lib/candid/invoices/types/invoice_status.rb +18 -0
  510. data/lib/candid/invoices/v_2/types/claim_invoice_item.rb +14 -0
  511. data/lib/candid/invoices/v_2/types/claim_invoice_item_info.rb +18 -0
  512. data/lib/candid/invoices/v_2/types/invoice.rb +26 -0
  513. data/lib/candid/invoices/v_2/types/invoice_destination.rb +19 -0
  514. data/lib/candid/invoices/v_2/types/invoice_destination_metadata.rb +18 -0
  515. data/lib/candid/invoices/v_2/types/invoice_info.rb +15 -0
  516. data/lib/candid/invoices/v_2/types/invoice_item_attribution_create.rb +20 -0
  517. data/lib/candid/invoices/v_2/types/invoice_item_create.rb +16 -0
  518. data/lib/candid/invoices/v_2/types/invoice_item_info.rb +18 -0
  519. data/lib/candid/invoices/v_2/types/invoice_sort_field.rb +20 -0
  520. data/lib/candid/invoices/v_2/types/invoice_status.rb +20 -0
  521. data/lib/candid/invoices/v_2/types/service_line_invoice_item.rb +14 -0
  522. data/lib/candid/invoices/v_2/types/unattributed_invoice_item.rb +13 -0
  523. data/lib/candid/medication_dispense/client.rb +17 -0
  524. data/lib/candid/medication_dispense/v_1/client.rb +36 -0
  525. data/lib/candid/medication_dispense/v_1/types/medication_dispense_create.rb +25 -0
  526. data/lib/candid/non_insurance_payer_payments/client.rb +17 -0
  527. data/lib/candid/non_insurance_payer_payments/v_1/client.rb +133 -0
  528. data/lib/candid/non_insurance_payer_payments/v_1/types/get_multi_non_insurance_payer_payment_request.rb +21 -0
  529. data/lib/candid/non_insurance_payer_payments/v_1/types/non_insurance_payer_payment.rb +24 -0
  530. data/lib/candid/non_insurance_payer_payments/v_1/types/non_insurance_payer_payment_create.rb +21 -0
  531. data/lib/candid/non_insurance_payer_payments/v_1/types/non_insurance_payer_payment_sort_field.rb +16 -0
  532. data/lib/candid/non_insurance_payer_payments/v_1/types/non_insurance_payer_payments_page.rb +15 -0
  533. data/lib/candid/non_insurance_payer_payments/v_1/types/update_non_insurance_payer_payment_request.rb +16 -0
  534. data/lib/candid/non_insurance_payer_refunds/client.rb +17 -0
  535. data/lib/candid/non_insurance_payer_refunds/v_1/client.rb +140 -0
  536. data/lib/candid/non_insurance_payer_refunds/v_1/types/get_multi_non_insurance_payer_refunds_request.rb +21 -0
  537. data/lib/candid/non_insurance_payer_refunds/v_1/types/non_insurance_payer_refund.rb +25 -0
  538. data/lib/candid/non_insurance_payer_refunds/v_1/types/non_insurance_payer_refund_create.rb +22 -0
  539. data/lib/candid/non_insurance_payer_refunds/v_1/types/non_insurance_payer_refund_sort_field.rb +16 -0
  540. data/lib/candid/non_insurance_payer_refunds/v_1/types/non_insurance_payer_refund_update.rb +17 -0
  541. data/lib/candid/non_insurance_payer_refunds/v_1/types/non_insurance_payer_refunds_page.rb +15 -0
  542. data/lib/candid/non_insurance_payers/client.rb +17 -0
  543. data/lib/candid/non_insurance_payers/v_1/client.rb +182 -0
  544. data/lib/candid/non_insurance_payers/v_1/types/create_non_insurance_payer_request.rb +19 -0
  545. data/lib/candid/non_insurance_payers/v_1/types/get_multi_non_insurance_payers_request.rb +23 -0
  546. data/lib/candid/non_insurance_payers/v_1/types/get_non_insurance_payers_categories_request.rb +15 -0
  547. data/lib/candid/non_insurance_payers/v_1/types/non_insurance_payer.rb +21 -0
  548. data/lib/candid/non_insurance_payers/v_1/types/non_insurance_payer_address_update.rb +18 -0
  549. data/lib/candid/non_insurance_payers/v_1/types/non_insurance_payer_categories_page.rb +13 -0
  550. data/lib/candid/non_insurance_payers/v_1/types/non_insurance_payer_category_update.rb +18 -0
  551. data/lib/candid/non_insurance_payers/v_1/types/non_insurance_payer_description_update.rb +18 -0
  552. data/lib/candid/non_insurance_payers/v_1/types/non_insurance_payer_page.rb +15 -0
  553. data/lib/candid/non_insurance_payers/v_1/types/non_insurance_payer_sort_field.rb +18 -0
  554. data/lib/candid/non_insurance_payers/v_1/types/non_insurance_payer_update_request.rb +22 -0
  555. data/lib/candid/non_insurance_payers/v_1/types/toggle_non_insurance_payer_enablement_request.rb +13 -0
  556. data/lib/candid/organization_providers/client.rb +17 -0
  557. data/lib/candid/organization_providers/v_2/types/address_type.rb +15 -0
  558. data/lib/candid/organization_providers/v_2/types/employment_status.rb +16 -0
  559. data/lib/candid/organization_providers/v_2/types/license_type.rb +117 -0
  560. data/lib/candid/organization_providers/v_2/types/organization_provider.rb +18 -0
  561. data/lib/candid/organization_providers/v_2/types/organization_provider_address.rb +16 -0
  562. data/lib/candid/organization_providers/v_2/types/organization_provider_base.rb +31 -0
  563. data/lib/candid/organization_providers/v_2/types/organization_provider_sort_options.rb +18 -0
  564. data/lib/candid/organization_providers/v_2/types/provider_type.rb +16 -0
  565. data/lib/candid/organization_providers/v_3/client.rb +107 -0
  566. data/lib/candid/organization_providers/v_3/types/get_all_organization_providers_request_v_2.rb +22 -0
  567. data/lib/candid/organization_providers/v_3/types/organization_provider_create_v_2.rb +34 -0
  568. data/lib/candid/organization_providers/v_3/types/organization_provider_page_v_2.rb +15 -0
  569. data/lib/candid/organization_providers/v_3/types/organization_provider_update_v_2.rb +34 -0
  570. data/lib/candid/organization_providers/v_3/types/organization_provider_v_2.rb +35 -0
  571. data/lib/candid/organization_service_facilities/client.rb +17 -0
  572. data/lib/candid/organization_service_facilities/v_2/client.rb +151 -0
  573. data/lib/candid/organization_service_facilities/v_2/types/get_all_organization_service_facilities_request.rb +18 -0
  574. data/lib/candid/organization_service_facilities/v_2/types/organization_service_facility.rb +38 -0
  575. data/lib/candid/organization_service_facilities/v_2/types/organization_service_facility_create.rb +37 -0
  576. data/lib/candid/organization_service_facilities/v_2/types/organization_service_facility_page.rb +15 -0
  577. data/lib/candid/organization_service_facilities/v_2/types/organization_service_facility_update.rb +37 -0
  578. data/lib/candid/organization_service_facilities/v_2/types/service_facility_mode.rb +16 -0
  579. data/lib/candid/organization_service_facilities/v_2/types/service_facility_operational_status.rb +20 -0
  580. data/lib/candid/organization_service_facilities/v_2/types/service_facility_physical_type.rb +28 -0
  581. data/lib/candid/organization_service_facilities/v_2/types/service_facility_status.rb +17 -0
  582. data/lib/candid/organization_service_facilities/v_2/types/service_facility_type.rb +137 -0
  583. data/lib/candid/patient_ar/client.rb +17 -0
  584. data/lib/candid/patient_ar/v_1/client.rb +67 -0
  585. data/lib/candid/patient_ar/v_1/types/get_inventory_records_request.rb +15 -0
  586. data/lib/candid/patient_ar/v_1/types/insurance_adjustment_info.rb +13 -0
  587. data/lib/candid/patient_ar/v_1/types/insurance_payment_info.rb +13 -0
  588. data/lib/candid/patient_ar/v_1/types/invalid_filters_error_type.rb +13 -0
  589. data/lib/candid/patient_ar/v_1/types/inventory_record.rb +19 -0
  590. data/lib/candid/patient_ar/v_1/types/invoice_itemization_response.rb +20 -0
  591. data/lib/candid/patient_ar/v_1/types/list_inventory_paged_response.rb +16 -0
  592. data/lib/candid/patient_ar/v_1/types/non_insurance_adjustment_info.rb +13 -0
  593. data/lib/candid/patient_ar/v_1/types/non_insurance_payment_info.rb +13 -0
  594. data/lib/candid/patient_ar/v_1/types/patient_adjustment_info.rb +13 -0
  595. data/lib/candid/patient_ar/v_1/types/patient_ar_status.rb +16 -0
  596. data/lib/candid/patient_ar/v_1/types/patient_payment_allocation.rb +14 -0
  597. data/lib/candid/patient_ar/v_1/types/patient_payment_info.rb +16 -0
  598. data/lib/candid/patient_ar/v_1/types/service_line_itemization.rb +38 -0
  599. data/lib/candid/patient_payments/client.rb +17 -0
  600. data/lib/candid/patient_payments/v_3/types/patient_payment.rb +28 -0
  601. data/lib/candid/patient_payments/v_3/types/patient_payment_source.rb +23 -0
  602. data/lib/candid/patient_payments/v_3/types/patient_payment_status.rb +25 -0
  603. data/lib/candid/patient_payments/v_4/client.rb +141 -0
  604. data/lib/candid/patient_payments/v_4/types/card_payment_method.rb +11 -0
  605. data/lib/candid/patient_payments/v_4/types/cash_payment_method.rb +11 -0
  606. data/lib/candid/patient_payments/v_4/types/check_payment_method.rb +13 -0
  607. data/lib/candid/patient_payments/v_4/types/get_multi_patient_payments_request.rb +25 -0
  608. data/lib/candid/patient_payments/v_4/types/patient_payment.rb +29 -0
  609. data/lib/candid/patient_payments/v_4/types/patient_payment_create.rb +20 -0
  610. data/lib/candid/patient_payments/v_4/types/patient_payment_sort_field.rb +18 -0
  611. data/lib/candid/patient_payments/v_4/types/patient_payment_update.rb +16 -0
  612. data/lib/candid/patient_payments/v_4/types/patient_payments_page.rb +15 -0
  613. data/lib/candid/patient_payments/v_4/types/payment_method.rb +19 -0
  614. data/lib/candid/patient_payments/v_4/types/payment_method_detail.rb +18 -0
  615. data/lib/candid/patient_refunds/client.rb +17 -0
  616. data/lib/candid/patient_refunds/v_1/client.rb +141 -0
  617. data/lib/candid/patient_refunds/v_1/types/get_multi_patient_refunds_request.rb +23 -0
  618. data/lib/candid/patient_refunds/v_1/types/patient_refund.rb +27 -0
  619. data/lib/candid/patient_refunds/v_1/types/patient_refund_create.rb +21 -0
  620. data/lib/candid/patient_refunds/v_1/types/patient_refund_sort_field.rb +19 -0
  621. data/lib/candid/patient_refunds/v_1/types/patient_refund_update.rb +17 -0
  622. data/lib/candid/patient_refunds/v_1/types/patient_refunds_page.rb +15 -0
  623. data/lib/candid/payer_plan_groups/client.rb +17 -0
  624. data/lib/candid/payer_plan_groups/v_1/client.rb +138 -0
  625. data/lib/candid/payer_plan_groups/v_1/types/mutable_payer_plan_group.rb +15 -0
  626. data/lib/candid/payer_plan_groups/v_1/types/payer_plan_group.rb +15 -0
  627. data/lib/candid/payer_plan_groups/v_1/types/payer_plan_group_already_exists_error.rb +14 -0
  628. data/lib/candid/payer_plan_groups/v_1/types/payer_plan_group_get_multi_request.rb +25 -0
  629. data/lib/candid/payer_plan_groups/v_1/types/payer_plan_group_page.rb +15 -0
  630. data/lib/candid/payer_plan_groups/v_1/types/payer_plan_group_sort_field.rb +17 -0
  631. data/lib/candid/payers/client.rb +22 -0
  632. data/lib/candid/payers/v_3/client.rb +62 -0
  633. data/lib/candid/payers/v_3/types/get_all_payers_request.rb +15 -0
  634. data/lib/candid/payers/v_3/types/payer.rb +20 -0
  635. data/lib/candid/payers/v_3/types/payer_identifier.rb +18 -0
  636. data/lib/candid/payers/v_3/types/payer_info.rb +14 -0
  637. data/lib/candid/payers/v_3/types/payer_page.rb +15 -0
  638. data/lib/candid/payers/v_4/client.rb +62 -0
  639. data/lib/candid/payers/v_4/types/clearinghouse_payer_info.rb +23 -0
  640. data/lib/candid/payers/v_4/types/get_all_payers_request.rb +15 -0
  641. data/lib/candid/payers/v_4/types/payer.rb +20 -0
  642. data/lib/candid/payers/v_4/types/payer_ids.rb +15 -0
  643. data/lib/candid/payers/v_4/types/payer_page.rb +15 -0
  644. data/lib/candid/payers/v_4/types/primary_payer_ids.rb +15 -0
  645. data/lib/candid/payers/v_4/types/support_state.rb +17 -0
  646. data/lib/candid/pre_encounter/appointments/client.rb +19 -0
  647. data/lib/candid/pre_encounter/appointments/v_1/client.rb +185 -0
  648. data/lib/candid/pre_encounter/appointments/v_1/types/appointment.rb +16 -0
  649. data/lib/candid/pre_encounter/appointments/v_1/types/appointment_scan_request.rb +15 -0
  650. data/lib/candid/pre_encounter/appointments/v_1/types/appointment_status.rb +20 -0
  651. data/lib/candid/pre_encounter/appointments/v_1/types/appointment_work_queue.rb +20 -0
  652. data/lib/candid/pre_encounter/appointments/v_1/types/mutable_appointment.rb +41 -0
  653. data/lib/candid/pre_encounter/appointments/v_1/types/service.rb +18 -0
  654. data/lib/candid/pre_encounter/appointments/v_1/types/universal_service_identifier.rb +20 -0
  655. data/lib/candid/pre_encounter/appointments/v_1/types/visit.rb +26 -0
  656. data/lib/candid/pre_encounter/appointments/v_1/types/visits_page.rb +17 -0
  657. data/lib/candid/pre_encounter/appointments/v_1/types/visits_request.rb +21 -0
  658. data/lib/candid/pre_encounter/client.rb +52 -0
  659. data/lib/candid/pre_encounter/common/types/additional_payer_information.rb +16 -0
  660. data/lib/candid/pre_encounter/common/types/address.rb +19 -0
  661. data/lib/candid/pre_encounter/common/types/address_use.rb +19 -0
  662. data/lib/candid/pre_encounter/common/types/base_model.rb +17 -0
  663. data/lib/candid/pre_encounter/common/types/canonical_clinical_trial_association.rb +15 -0
  664. data/lib/candid/pre_encounter/common/types/canonical_non_insurance_payer_association.rb +18 -0
  665. data/lib/candid/pre_encounter/common/types/contact_point.rb +15 -0
  666. data/lib/candid/pre_encounter/common/types/contact_point_use.rb +19 -0
  667. data/lib/candid/pre_encounter/common/types/disability_status.rb +16 -0
  668. data/lib/candid/pre_encounter/common/types/error_base_4_xx.rb +14 -0
  669. data/lib/candid/pre_encounter/common/types/ethnicity.rb +18 -0
  670. data/lib/candid/pre_encounter/common/types/external_identifier.rb +16 -0
  671. data/lib/candid/pre_encounter/common/types/external_provider.rb +27 -0
  672. data/lib/candid/pre_encounter/common/types/external_provider_type.rb +17 -0
  673. data/lib/candid/pre_encounter/common/types/gender.rb +23 -0
  674. data/lib/candid/pre_encounter/common/types/human_name.rb +17 -0
  675. data/lib/candid/pre_encounter/common/types/name_use.rb +21 -0
  676. data/lib/candid/pre_encounter/common/types/patient_service_facility.rb +14 -0
  677. data/lib/candid/pre_encounter/common/types/period.rb +14 -0
  678. data/lib/candid/pre_encounter/common/types/race.rb +23 -0
  679. data/lib/candid/pre_encounter/common/types/relationship.rb +19 -0
  680. data/lib/candid/pre_encounter/common/types/resource_page.rb +15 -0
  681. data/lib/candid/pre_encounter/common/types/sex.rb +18 -0
  682. data/lib/candid/pre_encounter/common/types/sexual_orientation.rb +21 -0
  683. data/lib/candid/pre_encounter/common/types/sort_direction.rb +16 -0
  684. data/lib/candid/pre_encounter/common/types/version_conflict_error_body.rb +13 -0
  685. data/lib/candid/pre_encounter/coverages/client.rb +19 -0
  686. data/lib/candid/pre_encounter/coverages/v_1/client.rb +275 -0
  687. data/lib/candid/pre_encounter/coverages/v_1/types/address.rb +21 -0
  688. data/lib/candid/pre_encounter/coverages/v_1/types/benefit_type.rb +26 -0
  689. data/lib/candid/pre_encounter/coverages/v_1/types/benefits_related_entity.rb +23 -0
  690. data/lib/candid/pre_encounter/coverages/v_1/types/check_eligibility_request.rb +20 -0
  691. data/lib/candid/pre_encounter/coverages/v_1/types/coverage.rb +16 -0
  692. data/lib/candid/pre_encounter/coverages/v_1/types/coverage_benefits.rb +24 -0
  693. data/lib/candid/pre_encounter/coverages/v_1/types/coverage_details.rb +25 -0
  694. data/lib/candid/pre_encounter/coverages/v_1/types/coverage_eligibility_check_response.rb +20 -0
  695. data/lib/candid/pre_encounter/coverages/v_1/types/coverage_get_multi_paginated_request.rb +18 -0
  696. data/lib/candid/pre_encounter/coverages/v_1/types/coverage_get_multi_request.rb +15 -0
  697. data/lib/candid/pre_encounter/coverages/v_1/types/coverage_level.rb +21 -0
  698. data/lib/candid/pre_encounter/coverages/v_1/types/coverage_scan_request.rb +15 -0
  699. data/lib/candid/pre_encounter/coverages/v_1/types/coverage_status.rb +20 -0
  700. data/lib/candid/pre_encounter/coverages/v_1/types/coverage_value.rb +18 -0
  701. data/lib/candid/pre_encounter/coverages/v_1/types/coverage_value_unit.rb +19 -0
  702. data/lib/candid/pre_encounter/coverages/v_1/types/coverages_page.rb +17 -0
  703. data/lib/candid/pre_encounter/coverages/v_1/types/expanded_member_info.rb +22 -0
  704. data/lib/candid/pre_encounter/coverages/v_1/types/insurance_plan.rb +31 -0
  705. data/lib/candid/pre_encounter/coverages/v_1/types/insurance_type_code.rb +86 -0
  706. data/lib/candid/pre_encounter/coverages/v_1/types/latest_eligibility_check.rb +20 -0
  707. data/lib/candid/pre_encounter/coverages/v_1/types/member_info.rb +18 -0
  708. data/lib/candid/pre_encounter/coverages/v_1/types/mutable_coverage.rb +38 -0
  709. data/lib/candid/pre_encounter/coverages/v_1/types/network_type.rb +40 -0
  710. data/lib/candid/pre_encounter/coverages/v_1/types/payer_plan_group_fields.rb +20 -0
  711. data/lib/candid/pre_encounter/coverages/v_1/types/plan_coverage.rb +26 -0
  712. data/lib/candid/pre_encounter/coverages/v_1/types/plan_coverage_details.rb +39 -0
  713. data/lib/candid/pre_encounter/coverages/v_1/types/plan_date.rb +17 -0
  714. data/lib/candid/pre_encounter/coverages/v_1/types/plan_metadata.rb +31 -0
  715. data/lib/candid/pre_encounter/coverages/v_1/types/related_entity_contact.rb +16 -0
  716. data/lib/candid/pre_encounter/coverages/v_1/types/service_coverage.rb +29 -0
  717. data/lib/candid/pre_encounter/coverages/v_1/types/service_coverage_details.rb +27 -0
  718. data/lib/candid/pre_encounter/coverages/v_1/types/service_type_code.rb +203 -0
  719. data/lib/candid/pre_encounter/coverages/v_1/types/subscriber.rb +18 -0
  720. data/lib/candid/pre_encounter/eligibility_checks/client.rb +19 -0
  721. data/lib/candid/pre_encounter/eligibility_checks/v_1/client.rb +173 -0
  722. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/batch_eligibility_poll_request.rb +16 -0
  723. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/batch_eligibility_response.rb +17 -0
  724. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/coordination_of_benefits_recommendation.rb +16 -0
  725. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_check.rb +28 -0
  726. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_check_error.rb +20 -0
  727. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_check_error_details.rb +21 -0
  728. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_check_error_source.rb +18 -0
  729. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_check_metadata.rb +23 -0
  730. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_check_page.rb +17 -0
  731. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_check_status.rb +19 -0
  732. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation.rb +22 -0
  733. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation_patient_info.rb +24 -0
  734. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation_payload.rb +24 -0
  735. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation_request.rb +15 -0
  736. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_request.rb +31 -0
  737. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_status.rb +19 -0
  738. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/encounter.rb +16 -0
  739. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/individual_provider.rb +17 -0
  740. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/medicare_advantage_recommendation.rb +18 -0
  741. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/medicare_advantage_recommendation_payload.rb +19 -0
  742. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/organization_provider.rb +16 -0
  743. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/parsed_response.rb +23 -0
  744. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/payer_search_request.rb +17 -0
  745. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/payer_search_response.rb +18 -0
  746. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/post_eligibility_recommendation_request.rb +21 -0
  747. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/request_correction.rb +17 -0
  748. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/stedi_payer.rb +26 -0
  749. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/stedi_payer_item.rb +18 -0
  750. data/lib/candid/pre_encounter/images/client.rb +19 -0
  751. data/lib/candid/pre_encounter/images/v_1/client.rb +135 -0
  752. data/lib/candid/pre_encounter/images/v_1/types/coverage_association.rb +19 -0
  753. data/lib/candid/pre_encounter/images/v_1/types/coverage_image_side.rb +18 -0
  754. data/lib/candid/pre_encounter/images/v_1/types/image.rb +17 -0
  755. data/lib/candid/pre_encounter/images/v_1/types/image_get_multi_request.rb +16 -0
  756. data/lib/candid/pre_encounter/images/v_1/types/image_status.rb +19 -0
  757. data/lib/candid/pre_encounter/images/v_1/types/mutable_image.rb +25 -0
  758. data/lib/candid/pre_encounter/images/v_1/types/patient_association.rb +17 -0
  759. data/lib/candid/pre_encounter/lists/client.rb +19 -0
  760. data/lib/candid/pre_encounter/lists/v_1/client.rb +74 -0
  761. data/lib/candid/pre_encounter/lists/v_1/types/appointment_list_item.rb +26 -0
  762. data/lib/candid/pre_encounter/lists/v_1/types/appointment_list_page.rb +17 -0
  763. data/lib/candid/pre_encounter/lists/v_1/types/appointments_get_list_request.rb +21 -0
  764. data/lib/candid/pre_encounter/lists/v_1/types/patient_list_item.rb +27 -0
  765. data/lib/candid/pre_encounter/lists/v_1/types/patient_list_page.rb +17 -0
  766. data/lib/candid/pre_encounter/lists/v_1/types/patient_list_request.rb +21 -0
  767. data/lib/candid/pre_encounter/notes/client.rb +19 -0
  768. data/lib/candid/pre_encounter/notes/v_1/client.rb +108 -0
  769. data/lib/candid/pre_encounter/notes/v_1/types/mutable_note.rb +18 -0
  770. data/lib/candid/pre_encounter/notes/v_1/types/note.rb +17 -0
  771. data/lib/candid/pre_encounter/patients/client.rb +19 -0
  772. data/lib/candid/pre_encounter/patients/v_1/client.rb +332 -0
  773. data/lib/candid/pre_encounter/patients/v_1/types/authorization.rb +29 -0
  774. data/lib/candid/pre_encounter/patients/v_1/types/authorization_unit.rb +18 -0
  775. data/lib/candid/pre_encounter/patients/v_1/types/contact.rb +26 -0
  776. data/lib/candid/pre_encounter/patients/v_1/types/create_patient_request.rb +18 -0
  777. data/lib/candid/pre_encounter/patients/v_1/types/create_patient_with_mrn_request.rb +18 -0
  778. data/lib/candid/pre_encounter/patients/v_1/types/do_not_invoice_reason.rb +23 -0
  779. data/lib/candid/pre_encounter/patients/v_1/types/external_provenance.rb +17 -0
  780. data/lib/candid/pre_encounter/patients/v_1/types/filing_order.rb +16 -0
  781. data/lib/candid/pre_encounter/patients/v_1/types/guarantor.rb +19 -0
  782. data/lib/candid/pre_encounter/patients/v_1/types/inferred_patient_metadata.rb +16 -0
  783. data/lib/candid/pre_encounter/patients/v_1/types/marital_status.rb +28 -0
  784. data/lib/candid/pre_encounter/patients/v_1/types/mutable_patient.rb +98 -0
  785. data/lib/candid/pre_encounter/patients/v_1/types/mutable_patient_with_mrn.rb +15 -0
  786. data/lib/candid/pre_encounter/patients/v_1/types/origination_detail.rb +26 -0
  787. data/lib/candid/pre_encounter/patients/v_1/types/patient.rb +17 -0
  788. data/lib/candid/pre_encounter/patients/v_1/types/patient_get_multi_request.rb +16 -0
  789. data/lib/candid/pre_encounter/patients/v_1/types/patient_page.rb +17 -0
  790. data/lib/candid/pre_encounter/patients/v_1/types/patient_scan_request.rb +16 -0
  791. data/lib/candid/pre_encounter/patients/v_1/types/patients_search_request_paginated.rb +21 -0
  792. data/lib/candid/pre_encounter/patients/v_1/types/referral.rb +29 -0
  793. data/lib/candid/pre_encounter/patients/v_1/types/referral_source.rb +20 -0
  794. data/lib/candid/pre_encounter/patients/v_1/types/referral_type.rb +19 -0
  795. data/lib/candid/pre_encounter/patients/v_1/types/referral_unit.rb +18 -0
  796. data/lib/candid/pre_encounter/patients/v_1/types/search_providers_request.rb +15 -0
  797. data/lib/candid/pre_encounter/patients/v_1/types/specialization_category.rb +44 -0
  798. data/lib/candid/pre_encounter/tags/client.rb +19 -0
  799. data/lib/candid/pre_encounter/tags/v_1/client.rb +137 -0
  800. data/lib/candid/pre_encounter/tags/v_1/types/get_all_tags_request.rb +16 -0
  801. data/lib/candid/pre_encounter/tags/v_1/types/mutable_tag.rb +18 -0
  802. data/lib/candid/pre_encounter/tags/v_1/types/tag.rb +16 -0
  803. data/lib/candid/pre_encounter/tags/v_1/types/tag_page.rb +17 -0
  804. data/lib/candid/service_facility/types/encounter_service_facility.rb +16 -0
  805. data/lib/candid/service_facility/types/encounter_service_facility_base.rb +22 -0
  806. data/lib/candid/service_facility/types/encounter_service_facility_update.rb +15 -0
  807. data/lib/candid/service_facility/types/encounter_service_facility_update_with_optional_address.rb +15 -0
  808. data/lib/candid/service_lines/client.rb +17 -0
  809. data/lib/candid/service_lines/v_2/client.rb +121 -0
  810. data/lib/candid/service_lines/v_2/types/denial_reason_content.rb +46 -0
  811. data/lib/candid/service_lines/v_2/types/drug_identification.rb +24 -0
  812. data/lib/candid/service_lines/v_2/types/drug_identification_optional.rb +24 -0
  813. data/lib/candid/service_lines/v_2/types/measurement_unit_code.rb +19 -0
  814. data/lib/candid/service_lines/v_2/types/service_id_qualifier.rb +21 -0
  815. data/lib/candid/service_lines/v_2/types/service_line.rb +76 -0
  816. data/lib/candid/service_lines/v_2/types/service_line_adjustment.rb +17 -0
  817. data/lib/candid/service_lines/v_2/types/service_line_create.rb +13 -0
  818. data/lib/candid/service_lines/v_2/types/service_line_create_base.rb +13 -0
  819. data/lib/candid/service_lines/v_2/types/service_line_create_base_base.rb +35 -0
  820. data/lib/candid/service_lines/v_2/types/service_line_create_optional.rb +38 -0
  821. data/lib/candid/service_lines/v_2/types/service_line_create_standalone.rb +17 -0
  822. data/lib/candid/service_lines/v_2/types/service_line_create_standalone_base.rb +13 -0
  823. data/lib/candid/service_lines/v_2/types/service_line_create_standalone_base_base.rb +38 -0
  824. data/lib/candid/service_lines/v_2/types/service_line_denial_reason.rb +15 -0
  825. data/lib/candid/service_lines/v_2/types/service_line_era_data.rb +16 -0
  826. data/lib/candid/service_lines/v_2/types/service_line_update.rb +16 -0
  827. data/lib/candid/service_lines/v_2/types/service_line_update_base.rb +37 -0
  828. data/lib/candid/service_lines/v_2/types/test_result.rb +14 -0
  829. data/lib/candid/service_lines/v_2/types/test_result_optional.rb +14 -0
  830. data/lib/candid/service_lines/v_2/types/test_result_type.rb +17 -0
  831. data/lib/candid/service_lines/v_2/types/universal_service_line_create.rb +15 -0
  832. data/lib/candid/service_lines/v_2/types/universal_service_line_create_standalone.rb +19 -0
  833. data/lib/candid/service_lines/v_2/types/universal_service_line_update.rb +17 -0
  834. data/lib/candid/superbills/client.rb +17 -0
  835. data/lib/candid/superbills/v_1/client.rb +36 -0
  836. data/lib/candid/superbills/v_1/types/create_superbill_request.rb +16 -0
  837. data/lib/candid/superbills/v_1/types/superbill.rb +18 -0
  838. data/lib/candid/superbills/v_1/types/superbill_response.rb +15 -0
  839. data/lib/candid/tags/types/tag.rb +11 -0
  840. data/lib/candid/tags/types/tag_color_enum.rb +22 -0
  841. data/lib/candid/tags/types/tag_create.rb +13 -0
  842. data/lib/candid/tasks/client.rb +17 -0
  843. data/lib/candid/tasks/commons/types/task_category.rb +56 -0
  844. data/lib/candid/tasks/commons/types/task_status.rb +21 -0
  845. data/lib/candid/tasks/commons/types/task_type.rb +26 -0
  846. data/lib/candid/tasks/v_3/client.rb +128 -0
  847. data/lib/candid/tasks/v_3/types/get_all_tasks_request.rb +25 -0
  848. data/lib/candid/tasks/v_3/types/task.rb +35 -0
  849. data/lib/candid/tasks/v_3/types/task_action.rb +17 -0
  850. data/lib/candid/tasks/v_3/types/task_action_execution_method.rb +17 -0
  851. data/lib/candid/tasks/v_3/types/task_action_type.rb +16 -0
  852. data/lib/candid/tasks/v_3/types/task_actions.rb +15 -0
  853. data/lib/candid/tasks/v_3/types/task_assignment.rb +14 -0
  854. data/lib/candid/tasks/v_3/types/task_create_v_3.rb +19 -0
  855. data/lib/candid/tasks/v_3/types/task_note.rb +17 -0
  856. data/lib/candid/tasks/v_3/types/task_page.rb +13 -0
  857. data/lib/candid/tasks/v_3/types/task_sort_options.rb +36 -0
  858. data/lib/candid/tasks/v_3/types/task_update_v_3.rb +15 -0
  859. data/lib/candid/tasks/v_3/types/task_updated_to_deprecated_status_error_type.rb +13 -0
  860. data/lib/candid/users/v_2/types/auth_zero_metadata.rb +13 -0
  861. data/lib/candid/users/v_2/types/google_apps_metadata.rb +13 -0
  862. data/lib/candid/users/v_2/types/human_user_metadata.rb +15 -0
  863. data/lib/candid/users/v_2/types/idp_user_metadata.rb +19 -0
  864. data/lib/candid/users/v_2/types/machine_user_metadata.rb +13 -0
  865. data/lib/candid/users/v_2/types/other_idp_metadata.rb +13 -0
  866. data/lib/candid/users/v_2/types/user_metadata.rb +18 -0
  867. data/lib/candid/users/v_2/types/user_v_2.rb +18 -0
  868. data/lib/candid/version.rb +5 -0
  869. data/lib/candid/write_offs/client.rb +17 -0
  870. data/lib/candid/write_offs/v_1/client.rb +161 -0
  871. data/lib/candid/write_offs/v_1/types/create_write_offs_request.rb +15 -0
  872. data/lib/candid/write_offs/v_1/types/create_write_offs_response.rb +15 -0
  873. data/lib/candid/write_offs/v_1/types/get_multi_write_offs_request.rb +22 -0
  874. data/lib/candid/write_offs/v_1/types/insurance_write_off.rb +25 -0
  875. data/lib/candid/write_offs/v_1/types/insurance_write_off_create.rb +22 -0
  876. data/lib/candid/write_offs/v_1/types/insurance_write_off_reason.rb +31 -0
  877. data/lib/candid/write_offs/v_1/types/insurance_write_off_target.rb +19 -0
  878. data/lib/candid/write_offs/v_1/types/non_insurance_payer_write_off.rb +25 -0
  879. data/lib/candid/write_offs/v_1/types/non_insurance_payer_write_off_create.rb +20 -0
  880. data/lib/candid/write_offs/v_1/types/patient_write_off.rb +24 -0
  881. data/lib/candid/write_offs/v_1/types/patient_write_off_create.rb +19 -0
  882. data/lib/candid/write_offs/v_1/types/patient_write_off_reason.rb +26 -0
  883. data/lib/candid/write_offs/v_1/types/write_off.rb +19 -0
  884. data/lib/candid/write_offs/v_1/types/write_off_create.rb +19 -0
  885. data/lib/candid/write_offs/v_1/types/write_off_sort_field.rb +17 -0
  886. data/lib/candid/write_offs/v_1/types/write_offs_page.rb +15 -0
  887. data/lib/candid/x_12/v_1/types/carc.rb +418 -0
  888. data/lib/candid/x_12/v_1/types/claim_adjustment_reason_code.rb +15 -0
  889. data/lib/candid/x_12/v_1/types/patient_discharge_status_code.rb +54 -0
  890. data/lib/candid/x_12/v_1/types/point_of_origin_for_admission_or_visit_code.rb +25 -0
  891. data/lib/candid/x_12/v_1/types/rarc.rb +1201 -0
  892. data/lib/candid/x_12/v_1/types/remittance_advice_remark_code.rb +13 -0
  893. data/lib/candid/x_12/v_1/types/type_of_admission_or_visit_code.rb +20 -0
  894. data/lib/candid/x_12/v_1/types/type_of_bill_composite.rb +13 -0
  895. data/lib/candid/x_12/v_1/types/type_of_bill_composite_base.rb +17 -0
  896. data/lib/candid/x_12/v_1/types/type_of_bill_composite_update.rb +26 -0
  897. data/lib/candid/x_12/v_1/types/type_of_bill_frequency_code.rb +41 -0
  898. data/lib/candid/x_12/v_1/types/type_of_care_code.rb +23 -0
  899. data/lib/candid/x_12/v_1/types/type_of_facility_code.rb +21 -0
  900. data/lib/candid/yes_no_indicator/types/yes_no_indicator.rb +16 -0
  901. data/lib/candid.rb +899 -0
  902. data/reference.md +14935 -0
  903. metadata +911 -884
  904. data/lib/candidhealth/auth/client.rb +0 -30
  905. data/lib/candidhealth/auth/default/client.rb +0 -169
  906. data/lib/candidhealth/auth/default/types/auth_get_token_response.rb +0 -77
  907. data/lib/candidhealth/auth/default/types/invalid_content_type_error_type.rb +0 -60
  908. data/lib/candidhealth/auth/default/types/too_many_requests_error_type.rb +0 -60
  909. data/lib/candidhealth/billing_notes/client.rb +0 -30
  910. data/lib/candidhealth/billing_notes/v_2/client.rb +0 -188
  911. data/lib/candidhealth/billing_notes/v_2/types/billing_note.rb +0 -112
  912. data/lib/candidhealth/billing_notes/v_2/types/billing_note_base.rb +0 -60
  913. data/lib/candidhealth/billing_notes/v_2/types/billing_note_base_optional.rb +0 -62
  914. data/lib/candidhealth/charge_capture/client.rb +0 -30
  915. data/lib/candidhealth/charge_capture/v_1/client.rb +0 -2318
  916. data/lib/candidhealth/charge_capture/v_1/types/charge_capture.rb +0 -175
  917. data/lib/candidhealth/charge_capture/v_1/types/charge_capture_data.rb +0 -794
  918. data/lib/candidhealth/charge_capture/v_1/types/charge_capture_error.rb +0 -138
  919. data/lib/candidhealth/charge_capture/v_1/types/charge_capture_page.rb +0 -96
  920. data/lib/candidhealth/charge_capture/v_1/types/charge_capture_post_billed_change.rb +0 -80
  921. data/lib/candidhealth/charge_capture/v_1/types/charge_capture_sort_field.rb +0 -14
  922. data/lib/candidhealth/charge_capture/v_1/types/charge_capture_status.rb +0 -17
  923. data/lib/candidhealth/charge_capture/v_1/types/charge_external_id_conflict_error_message.rb +0 -62
  924. data/lib/candidhealth/charge_capture_bundles/client.rb +0 -30
  925. data/lib/candidhealth/charge_capture_bundles/v_1/client.rb +0 -387
  926. data/lib/candidhealth/charge_capture_bundles/v_1/types/charge_capture_claim_creation.rb +0 -132
  927. data/lib/candidhealth/charge_capture_bundles/v_1/types/charge_capture_claim_creation_page.rb +0 -88
  928. data/lib/candidhealth/charge_capture_bundles/v_1/types/charge_capture_claim_creation_sort_field.rb +0 -13
  929. data/lib/candidhealth/charge_capture_bundles/v_1/types/charge_capture_claim_creation_status.rb +0 -18
  930. data/lib/candidhealth/charge_capture_bundles/v_1/types/charge_capture_claim_creation_summary.rb +0 -100
  931. data/lib/candidhealth/claim_submission/v_1/types/claim_submission_record_create.rb +0 -100
  932. data/lib/candidhealth/claim_submission/v_1/types/claim_submission_record_create_optional.rb +0 -100
  933. data/lib/candidhealth/claim_submission/v_1/types/external_claim_submission_create.rb +0 -97
  934. data/lib/candidhealth/claim_submission/v_1/types/external_claim_submission_create_optional.rb +0 -101
  935. data/lib/candidhealth/claims/types/claim.rb +0 -132
  936. data/lib/candidhealth/claims/types/claim_status.rb +0 -25
  937. data/lib/candidhealth/clinical_trials/v_1/types/clinical_trial.rb +0 -109
  938. data/lib/candidhealth/clinical_trials/v_1/types/clinical_trial_phase.rb +0 -15
  939. data/lib/candidhealth/clinical_trials/v_1/types/mutable_clinical_trial.rb +0 -84
  940. data/lib/candidhealth/commons/types/billing_provider_commercial_license_type.rb +0 -20
  941. data/lib/candidhealth/commons/types/claim_adjustment_group_codes.rb +0 -20
  942. data/lib/candidhealth/commons/types/claim_submission_payer_responsibility_type.rb +0 -12
  943. data/lib/candidhealth/commons/types/clearinghouse.rb +0 -18
  944. data/lib/candidhealth/commons/types/date_range_optional_end.rb +0 -70
  945. data/lib/candidhealth/commons/types/delay_reason_code.rb +0 -25
  946. data/lib/candidhealth/commons/types/emr_payer_crosswalk.rb +0 -12
  947. data/lib/candidhealth/commons/types/entity_conflict_error_message.rb +0 -58
  948. data/lib/candidhealth/commons/types/entity_not_found_error_message.rb +0 -58
  949. data/lib/candidhealth/commons/types/epsdt_referral_condition_indicator_code.rb +0 -14
  950. data/lib/candidhealth/commons/types/facility_type_code.rb +0 -64
  951. data/lib/candidhealth/commons/types/http_service_unavailable_error_message.rb +0 -60
  952. data/lib/candidhealth/commons/types/insurance_type_code.rb +0 -82
  953. data/lib/candidhealth/commons/types/intended_submission_medium.rb +0 -15
  954. data/lib/candidhealth/commons/types/network_type.rb +0 -31
  955. data/lib/candidhealth/commons/types/next_responsible_party.rb +0 -16
  956. data/lib/candidhealth/commons/types/organization_not_authorized_error_message.rb +0 -59
  957. data/lib/candidhealth/commons/types/patient_relationship_to_insured_code_all.rb +0 -34
  958. data/lib/candidhealth/commons/types/phone_number.rb +0 -69
  959. data/lib/candidhealth/commons/types/phone_number_optional.rb +0 -71
  960. data/lib/candidhealth/commons/types/phone_number_type.rb +0 -13
  961. data/lib/candidhealth/commons/types/primitive.rb +0 -17
  962. data/lib/candidhealth/commons/types/procedure_modifier.rb +0 -420
  963. data/lib/candidhealth/commons/types/qualifier_code.rb +0 -14
  964. data/lib/candidhealth/commons/types/region_national.rb +0 -51
  965. data/lib/candidhealth/commons/types/region_states.rb +0 -59
  966. data/lib/candidhealth/commons/types/regions.rb +0 -98
  967. data/lib/candidhealth/commons/types/removable_date_range_optional_end.rb +0 -96
  968. data/lib/candidhealth/commons/types/request_validation_error.rb +0 -70
  969. data/lib/candidhealth/commons/types/resource_page.rb +0 -70
  970. data/lib/candidhealth/commons/types/service_line_units.rb +0 -12
  971. data/lib/candidhealth/commons/types/sort_direction.rb +0 -12
  972. data/lib/candidhealth/commons/types/source_of_payment_code.rb +0 -34
  973. data/lib/candidhealth/commons/types/state.rb +0 -72
  974. data/lib/candidhealth/commons/types/street_address_base.rb +0 -98
  975. data/lib/candidhealth/commons/types/street_address_long_zip.rb +0 -107
  976. data/lib/candidhealth/commons/types/street_address_long_zip_optional.rb +0 -107
  977. data/lib/candidhealth/commons/types/street_address_optional_base.rb +0 -99
  978. data/lib/candidhealth/commons/types/street_address_short_zip.rb +0 -107
  979. data/lib/candidhealth/commons/types/street_address_short_zip_optional.rb +0 -107
  980. data/lib/candidhealth/commons/types/unauthorized_error_message.rb +0 -60
  981. data/lib/candidhealth/commons/types/unprocessable_entity_error_message.rb +0 -60
  982. data/lib/candidhealth/commons/types/updates_disabled_due_to_external_system_integration_error_message.rb +0 -62
  983. data/lib/candidhealth/contracts/client.rb +0 -30
  984. data/lib/candidhealth/contracts/v_2/client.rb +0 -444
  985. data/lib/candidhealth/contracts/v_2/types/authorized_signatory.rb +0 -108
  986. data/lib/candidhealth/contracts/v_2/types/authorized_signatory_update.rb +0 -98
  987. data/lib/candidhealth/contracts/v_2/types/contract.rb +0 -202
  988. data/lib/candidhealth/contracts/v_2/types/contract_base.rb +0 -156
  989. data/lib/candidhealth/contracts/v_2/types/contract_invalid_expiration_date_error.rb +0 -60
  990. data/lib/candidhealth/contracts/v_2/types/contract_is_linked_to_fee_schedule_error.rb +0 -60
  991. data/lib/candidhealth/contracts/v_2/types/contract_sort_field.rb +0 -18
  992. data/lib/candidhealth/contracts/v_2/types/contract_status.rb +0 -15
  993. data/lib/candidhealth/contracts/v_2/types/contract_with_providers.rb +0 -216
  994. data/lib/candidhealth/contracts/v_2/types/contracts_page.rb +0 -88
  995. data/lib/candidhealth/contracts/v_2/types/date_update.rb +0 -97
  996. data/lib/candidhealth/contracts/v_2/types/insurance_types.rb +0 -109
  997. data/lib/candidhealth/contracts/v_2/types/regions_update.rb +0 -98
  998. data/lib/candidhealth/credentialing/client.rb +0 -30
  999. data/lib/candidhealth/credentialing/v_2/client.rb +0 -718
  1000. data/lib/candidhealth/credentialing/v_2/types/base_credentialing_span.rb +0 -143
  1001. data/lib/candidhealth/credentialing/v_2/types/credentialing_span_status.rb +0 -17
  1002. data/lib/candidhealth/credentialing/v_2/types/facility_credentialing_span.rb +0 -165
  1003. data/lib/candidhealth/credentialing/v_2/types/facility_credentialing_span_page.rb +0 -88
  1004. data/lib/candidhealth/credentialing/v_2/types/provider_credentialing_span.rb +0 -196
  1005. data/lib/candidhealth/credentialing/v_2/types/provider_credentialing_span_page.rb +0 -88
  1006. data/lib/candidhealth/custom_schemas/client.rb +0 -30
  1007. data/lib/candidhealth/custom_schemas/v_1/client.rb +0 -291
  1008. data/lib/candidhealth/custom_schemas/v_1/types/key_with_name_already_exists_error.rb +0 -71
  1009. data/lib/candidhealth/custom_schemas/v_1/types/schema.rb +0 -91
  1010. data/lib/candidhealth/custom_schemas/v_1/types/schema_field.rb +0 -71
  1011. data/lib/candidhealth/custom_schemas/v_1/types/schema_get_multi_response.rb +0 -65
  1012. data/lib/candidhealth/custom_schemas/v_1/types/schema_instance.rb +0 -76
  1013. data/lib/candidhealth/custom_schemas/v_1/types/schema_instance_optional.rb +0 -78
  1014. data/lib/candidhealth/custom_schemas/v_1/types/schema_validation_error.rb +0 -100
  1015. data/lib/candidhealth/custom_schemas/v_1/types/schema_validation_failure.rb +0 -65
  1016. data/lib/candidhealth/custom_schemas/v_1/types/schema_with_name_already_exists_error.rb +0 -70
  1017. data/lib/candidhealth/diagnoses/client.rb +0 -243
  1018. data/lib/candidhealth/diagnoses/types/diagnosis.rb +0 -160
  1019. data/lib/candidhealth/diagnoses/types/diagnosis_create.rb +0 -125
  1020. data/lib/candidhealth/diagnoses/types/diagnosis_create_optional.rb +0 -126
  1021. data/lib/candidhealth/diagnoses/types/diagnosis_not_found_error.rb +0 -70
  1022. data/lib/candidhealth/diagnoses/types/diagnosis_type_code.rb +0 -20
  1023. data/lib/candidhealth/diagnoses/types/disallow_multiple_primary_diagnosis_error.rb +0 -80
  1024. data/lib/candidhealth/diagnoses/types/service_lines_must_have_at_least_one_diagnosis_error.rb +0 -77
  1025. data/lib/candidhealth/diagnoses/types/standalone_diagnosis_create.rb +0 -134
  1026. data/lib/candidhealth/eligibility/client.rb +0 -30
  1027. data/lib/candidhealth/eligibility/v_2/client.rb +0 -338
  1028. data/lib/candidhealth/encounter_attachments/client.rb +0 -30
  1029. data/lib/candidhealth/encounter_attachments/v_1/client.rb +0 -193
  1030. data/lib/candidhealth/encounter_attachments/v_1/types/base_attachment.rb +0 -98
  1031. data/lib/candidhealth/encounter_attachments/v_1/types/encounter_attachment.rb +0 -115
  1032. data/lib/candidhealth/encounter_attachments/v_1/types/encounter_attachment_type.rb +0 -15
  1033. data/lib/candidhealth/encounter_providers/client.rb +0 -30
  1034. data/lib/candidhealth/encounter_providers/v_2/client.rb +0 -789
  1035. data/lib/candidhealth/encounter_providers/v_2/types/billing_provider.rb +0 -157
  1036. data/lib/candidhealth/encounter_providers/v_2/types/billing_provider_update.rb +0 -157
  1037. data/lib/candidhealth/encounter_providers/v_2/types/billing_provider_update_with_optional_address.rb +0 -160
  1038. data/lib/candidhealth/encounter_providers/v_2/types/encounter_provider.rb +0 -159
  1039. data/lib/candidhealth/encounter_providers/v_2/types/encounter_provider_base.rb +0 -89
  1040. data/lib/candidhealth/encounter_providers/v_2/types/initial_referring_provider.rb +0 -132
  1041. data/lib/candidhealth/encounter_providers/v_2/types/initial_referring_provider_update.rb +0 -132
  1042. data/lib/candidhealth/encounter_providers/v_2/types/initial_referring_provider_update_with_optional_address.rb +0 -134
  1043. data/lib/candidhealth/encounter_providers/v_2/types/ordering_provider.rb +0 -123
  1044. data/lib/candidhealth/encounter_providers/v_2/types/ordering_provider_optional.rb +0 -123
  1045. data/lib/candidhealth/encounter_providers/v_2/types/ordering_provider_update.rb +0 -123
  1046. data/lib/candidhealth/encounter_providers/v_2/types/referring_provider.rb +0 -123
  1047. data/lib/candidhealth/encounter_providers/v_2/types/referring_provider_update.rb +0 -123
  1048. data/lib/candidhealth/encounter_providers/v_2/types/referring_provider_update_with_optional_address.rb +0 -125
  1049. data/lib/candidhealth/encounter_providers/v_2/types/rendering_provider.rb +0 -123
  1050. data/lib/candidhealth/encounter_providers/v_2/types/rendering_provider_update.rb +0 -123
  1051. data/lib/candidhealth/encounter_providers/v_2/types/rendering_provider_update_with_optional_address.rb +0 -125
  1052. data/lib/candidhealth/encounter_providers/v_2/types/supervising_provider.rb +0 -123
  1053. data/lib/candidhealth/encounter_providers/v_2/types/supervising_provider_update.rb +0 -123
  1054. data/lib/candidhealth/encounter_providers/v_2/types/supervising_provider_update_with_optional_address.rb +0 -125
  1055. data/lib/candidhealth/encounters/client.rb +0 -30
  1056. data/lib/candidhealth/encounters/v_4/client.rb +0 -1637
  1057. data/lib/candidhealth/encounters/v_4/types/billable_status_type.rb +0 -14
  1058. data/lib/candidhealth/encounters/v_4/types/cash_pay_payer_error_message.rb +0 -60
  1059. data/lib/candidhealth/encounters/v_4/types/claim_supplemental_information.rb +0 -86
  1060. data/lib/candidhealth/encounters/v_4/types/claim_supplemental_information_optional.rb +0 -86
  1061. data/lib/candidhealth/encounters/v_4/types/clinical_note.rb +0 -93
  1062. data/lib/candidhealth/encounters/v_4/types/clinical_note_category.rb +0 -89
  1063. data/lib/candidhealth/encounters/v_4/types/clinical_note_category_create.rb +0 -76
  1064. data/lib/candidhealth/encounters/v_4/types/clinical_note_category_create_optional.rb +0 -78
  1065. data/lib/candidhealth/encounters/v_4/types/clinical_note_optional.rb +0 -93
  1066. data/lib/candidhealth/encounters/v_4/types/coding_attribution_type.rb +0 -16
  1067. data/lib/candidhealth/encounters/v_4/types/encounter.rb +0 -1066
  1068. data/lib/candidhealth/encounters/v_4/types/encounter_base.rb +0 -366
  1069. data/lib/candidhealth/encounters/v_4/types/encounter_create.rb +0 -796
  1070. data/lib/candidhealth/encounters/v_4/types/encounter_create_from_pre_encounter.rb +0 -643
  1071. data/lib/candidhealth/encounters/v_4/types/encounter_deep_optional.rb +0 -794
  1072. data/lib/candidhealth/encounters/v_4/types/encounter_external_id_uniqueness_error_type.rb +0 -63
  1073. data/lib/candidhealth/encounters/v_4/types/encounter_guarantor_missing_contact_info_error_type.rb +0 -62
  1074. data/lib/candidhealth/encounters/v_4/types/encounter_optional.rb +0 -370
  1075. data/lib/candidhealth/encounters/v_4/types/encounter_owner_of_next_action_type.rb +0 -16
  1076. data/lib/candidhealth/encounters/v_4/types/encounter_page.rb +0 -88
  1077. data/lib/candidhealth/encounters/v_4/types/encounter_patient_control_number_uniqueness_error_type.rb +0 -62
  1078. data/lib/candidhealth/encounters/v_4/types/encounter_rendering_or_attending_provider_required_error.rb +0 -55
  1079. data/lib/candidhealth/encounters/v_4/types/encounter_sort_options.rb +0 -16
  1080. data/lib/candidhealth/encounters/v_4/types/encounter_submission_expectation.rb +0 -20
  1081. data/lib/candidhealth/encounters/v_4/types/encounter_submission_origin_type.rb +0 -14
  1082. data/lib/candidhealth/encounters/v_4/types/encounter_update.rb +0 -736
  1083. data/lib/candidhealth/encounters/v_4/types/epsdt_referral.rb +0 -85
  1084. data/lib/candidhealth/encounters/v_4/types/epsdt_referral_optional.rb +0 -85
  1085. data/lib/candidhealth/encounters/v_4/types/intake_follow_up.rb +0 -79
  1086. data/lib/candidhealth/encounters/v_4/types/intake_question.rb +0 -84
  1087. data/lib/candidhealth/encounters/v_4/types/intake_question_optional.rb +0 -84
  1088. data/lib/candidhealth/encounters/v_4/types/intake_response_and_follow_ups.rb +0 -77
  1089. data/lib/candidhealth/encounters/v_4/types/intervention.rb +0 -113
  1090. data/lib/candidhealth/encounters/v_4/types/intervention_category.rb +0 -16
  1091. data/lib/candidhealth/encounters/v_4/types/intervention_optional.rb +0 -114
  1092. data/lib/candidhealth/encounters/v_4/types/invalid_tag_names_error_type.rb +0 -60
  1093. data/lib/candidhealth/encounters/v_4/types/key_does_not_exist_error.rb +0 -70
  1094. data/lib/candidhealth/encounters/v_4/types/lab.rb +0 -80
  1095. data/lib/candidhealth/encounters/v_4/types/lab_code_type.rb +0 -14
  1096. data/lib/candidhealth/encounters/v_4/types/lab_optional.rb +0 -80
  1097. data/lib/candidhealth/encounters/v_4/types/medication.rb +0 -108
  1098. data/lib/candidhealth/encounters/v_4/types/medication_optional.rb +0 -108
  1099. data/lib/candidhealth/encounters/v_4/types/multiple_instances_for_schema_error.rb +0 -60
  1100. data/lib/candidhealth/encounters/v_4/types/note_category.rb +0 -26
  1101. data/lib/candidhealth/encounters/v_4/types/patient_history_category.rb +0 -76
  1102. data/lib/candidhealth/encounters/v_4/types/patient_history_category_enum.rb +0 -16
  1103. data/lib/candidhealth/encounters/v_4/types/patient_history_category_optional.rb +0 -78
  1104. data/lib/candidhealth/encounters/v_4/types/payer_plan_group_payer_does_not_match_insurance_card_error.rb +0 -77
  1105. data/lib/candidhealth/encounters/v_4/types/report_transmission_code.rb +0 -15
  1106. data/lib/candidhealth/encounters/v_4/types/report_type_code.rb +0 -73
  1107. data/lib/candidhealth/encounters/v_4/types/responsible_party_type.rb +0 -15
  1108. data/lib/candidhealth/encounters/v_4/types/schema_does_not_exist_error.rb +0 -60
  1109. data/lib/candidhealth/encounters/v_4/types/schema_instance_validation_error.rb +0 -139
  1110. data/lib/candidhealth/encounters/v_4/types/schema_instance_validation_failure.rb +0 -65
  1111. data/lib/candidhealth/encounters/v_4/types/schema_unauthorized_access_error.rb +0 -60
  1112. data/lib/candidhealth/encounters/v_4/types/service_authorization_exception_code.rb +0 -23
  1113. data/lib/candidhealth/encounters/v_4/types/synchronicity_type.rb +0 -14
  1114. data/lib/candidhealth/encounters/v_4/types/value_does_not_match_key_type_error.rb +0 -90
  1115. data/lib/candidhealth/encounters/v_4/types/vitals.rb +0 -116
  1116. data/lib/candidhealth/encounters/v_4/types/vitals_update.rb +0 -116
  1117. data/lib/candidhealth/encounters_universal/types/universal_encounter_create_base.rb +0 -691
  1118. data/lib/candidhealth/encounters_universal/types/universal_encounter_create_from_pre_encounter_base.rb +0 -572
  1119. data/lib/candidhealth/encounters_universal/types/universal_encounter_update_base.rb +0 -700
  1120. data/lib/candidhealth/era/types/era.rb +0 -75
  1121. data/lib/candidhealth/era/types/era_base.rb +0 -68
  1122. data/lib/candidhealth/era/types/era_not_fully_processed_error_message.rb +0 -68
  1123. data/lib/candidhealth/era_commons/types/claim_status_code_create.rb +0 -20
  1124. data/lib/candidhealth/expected_network_status/client.rb +0 -37
  1125. data/lib/candidhealth/expected_network_status/v_1/client.rb +0 -153
  1126. data/lib/candidhealth/expected_network_status/v_1/types/expected_network_status.rb +0 -15
  1127. data/lib/candidhealth/expected_network_status/v_1/types/expected_network_status_response.rb +0 -86
  1128. data/lib/candidhealth/expected_network_status/v_2/client.rb +0 -222
  1129. data/lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_providers_request.rb +0 -152
  1130. data/lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_providers_response.rb +0 -80
  1131. data/lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_rendering_providers_result.rb +0 -114
  1132. data/lib/candidhealth/expected_network_status/v_2/types/empty_object.rb +0 -53
  1133. data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_check_error_message.rb +0 -61
  1134. data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_request_v_2.rb +0 -152
  1135. data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_response_v_2.rb +0 -77
  1136. data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_subscriber_information.rb +0 -86
  1137. data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_v_2.rb +0 -113
  1138. data/lib/candidhealth/expected_network_status/v_2/types/explanation.rb +0 -20
  1139. data/lib/candidhealth/expected_network_status/v_2/types/in_network_rendering_providers_detail.rb +0 -82
  1140. data/lib/candidhealth/expected_network_status/v_2/types/in_network_status.rb +0 -73
  1141. data/lib/candidhealth/expected_network_status/v_2/types/indeterminate_network_status.rb +0 -93
  1142. data/lib/candidhealth/expected_network_status/v_2/types/insurance_type.rb +0 -78
  1143. data/lib/candidhealth/expected_network_status/v_2/types/insurance_type_codes.rb +0 -112
  1144. data/lib/candidhealth/expected_network_status/v_2/types/line_of_business.rb +0 -15
  1145. data/lib/candidhealth/expected_network_status/v_2/types/out_of_network_status.rb +0 -82
  1146. data/lib/candidhealth/expected_network_status/v_2/types/service_type.rb +0 -53
  1147. data/lib/candidhealth/exports/client.rb +0 -30
  1148. data/lib/candidhealth/exports/v_3/client.rb +0 -158
  1149. data/lib/candidhealth/exports/v_3/types/get_exports_response.rb +0 -96
  1150. data/lib/candidhealth/external_payment_account_config/client.rb +0 -30
  1151. data/lib/candidhealth/external_payment_account_config/v_1/client.rb +0 -89
  1152. data/lib/candidhealth/external_payment_account_config/v_1/types/external_payment_account_config.rb +0 -70
  1153. data/lib/candidhealth/external_payment_account_config/v_1/types/external_payment_account_config_page.rb +0 -88
  1154. data/lib/candidhealth/fee_schedules/client.rb +0 -30
  1155. data/lib/candidhealth/fee_schedules/v_3/client.rb +0 -842
  1156. data/lib/candidhealth/fee_schedules/v_3/types/dimension_match.rb +0 -200
  1157. data/lib/candidhealth/fee_schedules/v_3/types/dimension_name.rb +0 -16
  1158. data/lib/candidhealth/fee_schedules/v_3/types/dimensions.rb +0 -179
  1159. data/lib/candidhealth/fee_schedules/v_3/types/dimensions_page.rb +0 -88
  1160. data/lib/candidhealth/fee_schedules/v_3/types/match_cpt_code.rb +0 -78
  1161. data/lib/candidhealth/fee_schedules/v_3/types/match_date.rb +0 -82
  1162. data/lib/candidhealth/fee_schedules/v_3/types/match_facility_type_code.rb +0 -81
  1163. data/lib/candidhealth/fee_schedules/v_3/types/match_geo.rb +0 -93
  1164. data/lib/candidhealth/fee_schedules/v_3/types/match_license_type.rb +0 -81
  1165. data/lib/candidhealth/fee_schedules/v_3/types/match_modifiers.rb +0 -85
  1166. data/lib/candidhealth/fee_schedules/v_3/types/match_network_types.rb +0 -85
  1167. data/lib/candidhealth/fee_schedules/v_3/types/match_payer.rb +0 -78
  1168. data/lib/candidhealth/fee_schedules/v_3/types/match_payer_plan_groups.rb +0 -85
  1169. data/lib/candidhealth/fee_schedules/v_3/types/match_provider.rb +0 -80
  1170. data/lib/candidhealth/fee_schedules/v_3/types/match_result.rb +0 -77
  1171. data/lib/candidhealth/fee_schedules/v_3/types/match_test_result.rb +0 -83
  1172. data/lib/candidhealth/fee_schedules/v_3/types/new_rate.rb +0 -81
  1173. data/lib/candidhealth/fee_schedules/v_3/types/new_rate_version.rb +0 -88
  1174. data/lib/candidhealth/fee_schedules/v_3/types/optional_dimensions.rb +0 -180
  1175. data/lib/candidhealth/fee_schedules/v_3/types/overlapping_rate_entries_error.rb +0 -90
  1176. data/lib/candidhealth/fee_schedules/v_3/types/payer_plan_group_does_not_match_rate_payer_error.rb +0 -75
  1177. data/lib/candidhealth/fee_schedules/v_3/types/payer_threshold.rb +0 -93
  1178. data/lib/candidhealth/fee_schedules/v_3/types/payer_thresholds_page.rb +0 -87
  1179. data/lib/candidhealth/fee_schedules/v_3/types/rate.rb +0 -121
  1180. data/lib/candidhealth/fee_schedules/v_3/types/rate_entry.rb +0 -96
  1181. data/lib/candidhealth/fee_schedules/v_3/types/rate_upload.rb +0 -100
  1182. data/lib/candidhealth/fee_schedules/v_3/types/rate_upload_with_possible_errors.rb +0 -100
  1183. data/lib/candidhealth/fee_schedules/v_3/types/rates_page.rb +0 -88
  1184. data/lib/candidhealth/fee_schedules/v_3/types/threshold_match.rb +0 -97
  1185. data/lib/candidhealth/fee_schedules/v_3/types/validation_error.rb +0 -172
  1186. data/lib/candidhealth/financials/types/account_type.rb +0 -13
  1187. data/lib/candidhealth/financials/types/allocation.rb +0 -75
  1188. data/lib/candidhealth/financials/types/allocation_create.rb +0 -78
  1189. data/lib/candidhealth/financials/types/allocation_target.rb +0 -138
  1190. data/lib/candidhealth/financials/types/allocation_target_create.rb +0 -147
  1191. data/lib/candidhealth/financials/types/appointment_allocation_target.rb +0 -68
  1192. data/lib/candidhealth/financials/types/appointment_by_id_and_patient_external_id.rb +0 -68
  1193. data/lib/candidhealth/financials/types/billing_provider_allocation_target.rb +0 -58
  1194. data/lib/candidhealth/financials/types/claim_allocation_target.rb +0 -68
  1195. data/lib/candidhealth/financials/types/invoice_update.rb +0 -95
  1196. data/lib/candidhealth/financials/types/note_update.rb +0 -95
  1197. data/lib/candidhealth/financials/types/patient_transaction_source.rb +0 -18
  1198. data/lib/candidhealth/financials/types/refund_reason.rb +0 -11
  1199. data/lib/candidhealth/financials/types/refund_reason_update.rb +0 -96
  1200. data/lib/candidhealth/financials/types/service_line_allocation_target.rb +0 -75
  1201. data/lib/candidhealth/guarantor/client.rb +0 -30
  1202. data/lib/candidhealth/guarantor/v_1/client.rb +0 -251
  1203. data/lib/candidhealth/guarantor/v_1/types/encounter_has_existing_guarantor_error_type.rb +0 -61
  1204. data/lib/candidhealth/guarantor/v_1/types/guarantor.rb +0 -160
  1205. data/lib/candidhealth/guarantor/v_1/types/guarantor_base.rb +0 -108
  1206. data/lib/candidhealth/guarantor/v_1/types/guarantor_create.rb +0 -152
  1207. data/lib/candidhealth/guarantor/v_1/types/guarantor_optional.rb +0 -152
  1208. data/lib/candidhealth/guarantor/v_1/types/guarantor_update.rb +0 -152
  1209. data/lib/candidhealth/health_care_code_information/client.rb +0 -30
  1210. data/lib/candidhealth/health_care_code_information/v_1/client.rb +0 -196
  1211. data/lib/candidhealth/health_care_code_information/v_1/types/admitting_diagnosis.rb +0 -108
  1212. data/lib/candidhealth/health_care_code_information/v_1/types/admitting_diagnosis_code_qualifier.rb +0 -14
  1213. data/lib/candidhealth/health_care_code_information/v_1/types/condition_code.rb +0 -170
  1214. data/lib/candidhealth/health_care_code_information/v_1/types/condition_information.rb +0 -109
  1215. data/lib/candidhealth/health_care_code_information/v_1/types/condition_information_code_qualifier.rb +0 -13
  1216. data/lib/candidhealth/health_care_code_information/v_1/types/diagnosis_related_group.rb +0 -108
  1217. data/lib/candidhealth/health_care_code_information/v_1/types/diagnosis_related_group_code_qualifier.rb +0 -13
  1218. data/lib/candidhealth/health_care_code_information/v_1/types/external_cause_of_injury.rb +0 -117
  1219. data/lib/candidhealth/health_care_code_information/v_1/types/external_cause_of_injury_code_qualifier.rb +0 -14
  1220. data/lib/candidhealth/health_care_code_information/v_1/types/health_care_code_information.rb +0 -86
  1221. data/lib/candidhealth/health_care_code_information/v_1/types/health_care_code_information_get_all_response.rb +0 -227
  1222. data/lib/candidhealth/health_care_code_information/v_1/types/health_care_code_information_new.rb +0 -53
  1223. data/lib/candidhealth/health_care_code_information/v_1/types/health_care_code_information_update.rb +0 -325
  1224. data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_code.rb +0 -72
  1225. data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_information.rb +0 -127
  1226. data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_information_code_qualifier.rb +0 -13
  1227. data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_span_code.rb +0 -30
  1228. data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_span_code_qualifier.rb +0 -13
  1229. data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_span_information.rb +0 -124
  1230. data/lib/candidhealth/health_care_code_information/v_1/types/other_diagnosis_information.rb +0 -117
  1231. data/lib/candidhealth/health_care_code_information/v_1/types/other_diagnosis_information_code_qualifier.rb +0 -14
  1232. data/lib/candidhealth/health_care_code_information/v_1/types/other_procedure_information.rb +0 -126
  1233. data/lib/candidhealth/health_care_code_information/v_1/types/other_procedure_information_code_qualifier.rb +0 -14
  1234. data/lib/candidhealth/health_care_code_information/v_1/types/patient_reason_for_visit.rb +0 -108
  1235. data/lib/candidhealth/health_care_code_information/v_1/types/patient_reason_for_visit_code_qualifier.rb +0 -14
  1236. data/lib/candidhealth/health_care_code_information/v_1/types/present_on_admission_indicator_code.rb +0 -17
  1237. data/lib/candidhealth/health_care_code_information/v_1/types/principal_diagnosis.rb +0 -117
  1238. data/lib/candidhealth/health_care_code_information/v_1/types/principal_diagnosis_code_qualifier.rb +0 -14
  1239. data/lib/candidhealth/health_care_code_information/v_1/types/principal_procedure_information.rb +0 -124
  1240. data/lib/candidhealth/health_care_code_information/v_1/types/principal_procedure_information_code_qualifier.rb +0 -15
  1241. data/lib/candidhealth/health_care_code_information/v_1/types/rd_8_date.rb +0 -84
  1242. data/lib/candidhealth/health_care_code_information/v_1/types/set_or_clear_admitting_diagnosis.rb +0 -69
  1243. data/lib/candidhealth/health_care_code_information/v_1/types/set_or_clear_diagnosis_related_group.rb +0 -69
  1244. data/lib/candidhealth/health_care_code_information/v_1/types/set_or_clear_principal_diagnosis.rb +0 -69
  1245. data/lib/candidhealth/health_care_code_information/v_1/types/set_or_clear_principal_procedure_information.rb +0 -71
  1246. data/lib/candidhealth/health_care_code_information/v_1/types/treatment_code_information.rb +0 -108
  1247. data/lib/candidhealth/health_care_code_information/v_1/types/treatment_code_qualifier.rb +0 -13
  1248. data/lib/candidhealth/health_care_code_information/v_1/types/value_code.rb +0 -119
  1249. data/lib/candidhealth/health_care_code_information/v_1/types/value_code_qualifier.rb +0 -13
  1250. data/lib/candidhealth/health_care_code_information/v_1/types/value_information.rb +0 -117
  1251. data/lib/candidhealth/identifiers/types/identifier.rb +0 -103
  1252. data/lib/candidhealth/identifiers/types/identifier_base.rb +0 -95
  1253. data/lib/candidhealth/identifiers/types/identifier_code.rb +0 -12
  1254. data/lib/candidhealth/identifiers/types/identifier_create.rb +0 -95
  1255. data/lib/candidhealth/identifiers/types/identifier_update.rb +0 -104
  1256. data/lib/candidhealth/identifiers/types/identifier_value.rb +0 -98
  1257. data/lib/candidhealth/identifiers/types/medicaid_provider_identifier.rb +0 -69
  1258. data/lib/candidhealth/identifiers/types/medicare_provider_identifier.rb +0 -69
  1259. data/lib/candidhealth/identifiers/types/updatable_identifier.rb +0 -110
  1260. data/lib/candidhealth/import_invoice/client.rb +0 -30
  1261. data/lib/candidhealth/import_invoice/v_1/client.rb +0 -320
  1262. data/lib/candidhealth/import_invoice/v_1/types/create_import_invoice_request.rb +0 -143
  1263. data/lib/candidhealth/import_invoice/v_1/types/import_invoice.rb +0 -165
  1264. data/lib/candidhealth/import_invoice/v_1/types/import_invoice_update_request.rb +0 -109
  1265. data/lib/candidhealth/import_invoice/v_1/types/import_invoices_page.rb +0 -88
  1266. data/lib/candidhealth/import_invoice/v_1/types/invoice_item_info_update.rb +0 -80
  1267. data/lib/candidhealth/import_invoice/v_1/types/invoice_item_update_type.rb +0 -14
  1268. data/lib/candidhealth/individual/types/gender.rb +0 -15
  1269. data/lib/candidhealth/individual/types/individual_base.rb +0 -76
  1270. data/lib/candidhealth/individual/types/individual_base_optional.rb +0 -78
  1271. data/lib/candidhealth/individual/types/patient.rb +0 -195
  1272. data/lib/candidhealth/individual/types/patient_base.rb +0 -117
  1273. data/lib/candidhealth/individual/types/patient_clinical_trial_info.rb +0 -80
  1274. data/lib/candidhealth/individual/types/patient_clinical_trial_info_create.rb +0 -73
  1275. data/lib/candidhealth/individual/types/patient_create.rb +0 -183
  1276. data/lib/candidhealth/individual/types/patient_non_insurance_payer_info.rb +0 -92
  1277. data/lib/candidhealth/individual/types/patient_non_insurance_payer_info_create.rb +0 -86
  1278. data/lib/candidhealth/individual/types/patient_non_insurance_payer_info_create_optional.rb +0 -89
  1279. data/lib/candidhealth/individual/types/patient_update.rb +0 -187
  1280. data/lib/candidhealth/individual/types/patient_update_with_optional_address.rb +0 -187
  1281. data/lib/candidhealth/individual/types/subscriber.rb +0 -138
  1282. data/lib/candidhealth/individual/types/subscriber_base.rb +0 -116
  1283. data/lib/candidhealth/individual/types/subscriber_base_optional.rb +0 -118
  1284. data/lib/candidhealth/individual/types/subscriber_create.rb +0 -134
  1285. data/lib/candidhealth/individual/types/subscriber_create_optional.rb +0 -136
  1286. data/lib/candidhealth/insurance_adjudications/client.rb +0 -30
  1287. data/lib/candidhealth/insurance_adjudications/v_1/client.rb +0 -206
  1288. data/lib/candidhealth/insurance_adjudications/v_1/types/claim_adjudication.rb +0 -126
  1289. data/lib/candidhealth/insurance_adjudications/v_1/types/claim_adjudication_create.rb +0 -119
  1290. data/lib/candidhealth/insurance_adjudications/v_1/types/insurance_adjudication.rb +0 -123
  1291. data/lib/candidhealth/insurance_adjudications/v_1/types/insurance_adjudication_create.rb +0 -151
  1292. data/lib/candidhealth/insurance_adjudications/v_1/types/service_line_adjudication.rb +0 -142
  1293. data/lib/candidhealth/insurance_adjudications/v_1/types/service_line_adjudication_create.rb +0 -134
  1294. data/lib/candidhealth/insurance_cards/v_2/types/insurance_card.rb +0 -166
  1295. data/lib/candidhealth/insurance_cards/v_2/types/insurance_card_base.rb +0 -102
  1296. data/lib/candidhealth/insurance_cards/v_2/types/insurance_card_create.rb +0 -167
  1297. data/lib/candidhealth/insurance_cards/v_2/types/insurance_card_create_optional.rb +0 -167
  1298. data/lib/candidhealth/insurance_payments/client.rb +0 -30
  1299. data/lib/candidhealth/insurance_payments/v_1/client.rb +0 -172
  1300. data/lib/candidhealth/insurance_payments/v_1/types/insurance_payment.rb +0 -122
  1301. data/lib/candidhealth/insurance_payments/v_1/types/insurance_payment_sort_field.rb +0 -15
  1302. data/lib/candidhealth/insurance_payments/v_1/types/insurance_payments_page.rb +0 -88
  1303. data/lib/candidhealth/insurance_refunds/client.rb +0 -30
  1304. data/lib/candidhealth/insurance_refunds/v_1/client.rb +0 -372
  1305. data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund.rb +0 -131
  1306. data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund_create.rb +0 -123
  1307. data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund_sort_field.rb +0 -16
  1308. data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refunds_page.rb +0 -88
  1309. data/lib/candidhealth/invoices/types/invoice.rb +0 -169
  1310. data/lib/candidhealth/invoices/types/invoice_item.rb +0 -68
  1311. data/lib/candidhealth/invoices/types/invoice_status.rb +0 -16
  1312. data/lib/candidhealth/invoices/v_2/types/claim_invoice_item.rb +0 -70
  1313. data/lib/candidhealth/invoices/v_2/types/claim_invoice_item_info.rb +0 -85
  1314. data/lib/candidhealth/invoices/v_2/types/invoice.rb +0 -173
  1315. data/lib/candidhealth/invoices/v_2/types/invoice_destination.rb +0 -17
  1316. data/lib/candidhealth/invoices/v_2/types/invoice_destination_metadata.rb +0 -95
  1317. data/lib/candidhealth/invoices/v_2/types/invoice_info.rb +0 -85
  1318. data/lib/candidhealth/invoices/v_2/types/invoice_item_attribution_create.rb +0 -110
  1319. data/lib/candidhealth/invoices/v_2/types/invoice_item_create.rb +0 -77
  1320. data/lib/candidhealth/invoices/v_2/types/invoice_item_info.rb +0 -78
  1321. data/lib/candidhealth/invoices/v_2/types/invoice_sort_field.rb +0 -18
  1322. data/lib/candidhealth/invoices/v_2/types/invoice_status.rb +0 -18
  1323. data/lib/candidhealth/invoices/v_2/types/service_line_invoice_item.rb +0 -70
  1324. data/lib/candidhealth/invoices/v_2/types/unattributed_invoice_item.rb +0 -60
  1325. data/lib/candidhealth/medication_dispense/client.rb +0 -30
  1326. data/lib/candidhealth/medication_dispense/v_1/client.rb +0 -114
  1327. data/lib/candidhealth/medication_dispense/v_1/types/medication_dispense_create.rb +0 -142
  1328. data/lib/candidhealth/non_insurance_payer_payments/client.rb +0 -30
  1329. data/lib/candidhealth/non_insurance_payer_payments/v_1/client.rb +0 -344
  1330. data/lib/candidhealth/non_insurance_payer_payments/v_1/types/non_insurance_payer_payment.rb +0 -138
  1331. data/lib/candidhealth/non_insurance_payer_payments/v_1/types/non_insurance_payer_payment_create.rb +0 -124
  1332. data/lib/candidhealth/non_insurance_payer_payments/v_1/types/non_insurance_payer_payment_sort_field.rb +0 -14
  1333. data/lib/candidhealth/non_insurance_payer_payments/v_1/types/non_insurance_payer_payments_page.rb +0 -88
  1334. data/lib/candidhealth/non_insurance_payer_refunds/client.rb +0 -30
  1335. data/lib/candidhealth/non_insurance_payer_refunds/v_1/client.rb +0 -371
  1336. data/lib/candidhealth/non_insurance_payer_refunds/v_1/types/non_insurance_payer_refund.rb +0 -147
  1337. data/lib/candidhealth/non_insurance_payer_refunds/v_1/types/non_insurance_payer_refund_create.rb +0 -133
  1338. data/lib/candidhealth/non_insurance_payer_refunds/v_1/types/non_insurance_payer_refund_sort_field.rb +0 -14
  1339. data/lib/candidhealth/non_insurance_payer_refunds/v_1/types/non_insurance_payer_refunds_page.rb +0 -88
  1340. data/lib/candidhealth/non_insurance_payers/client.rb +0 -30
  1341. data/lib/candidhealth/non_insurance_payers/v_1/client.rb +0 -466
  1342. data/lib/candidhealth/non_insurance_payers/v_1/types/create_non_insurance_payer_request.rb +0 -111
  1343. data/lib/candidhealth/non_insurance_payers/v_1/types/non_insurance_payer.rb +0 -127
  1344. data/lib/candidhealth/non_insurance_payers/v_1/types/non_insurance_payer_address_update.rb +0 -98
  1345. data/lib/candidhealth/non_insurance_payers/v_1/types/non_insurance_payer_categories_page.rb +0 -83
  1346. data/lib/candidhealth/non_insurance_payers/v_1/types/non_insurance_payer_category_update.rb +0 -97
  1347. data/lib/candidhealth/non_insurance_payers/v_1/types/non_insurance_payer_description_update.rb +0 -97
  1348. data/lib/candidhealth/non_insurance_payers/v_1/types/non_insurance_payer_page.rb +0 -88
  1349. data/lib/candidhealth/non_insurance_payers/v_1/types/non_insurance_payer_sort_field.rb +0 -16
  1350. data/lib/candidhealth/non_insurance_payers/v_1/types/non_insurance_payer_update_request.rb +0 -110
  1351. data/lib/candidhealth/non_insurance_payers/v_1/types/toggle_non_insurance_payer_enablement_request.rb +0 -62
  1352. data/lib/candidhealth/organization_providers/client.rb +0 -30
  1353. data/lib/candidhealth/organization_providers/v_2/types/address_type.rb +0 -13
  1354. data/lib/candidhealth/organization_providers/v_2/types/employment_status.rb +0 -14
  1355. data/lib/candidhealth/organization_providers/v_2/types/license_type.rb +0 -115
  1356. data/lib/candidhealth/organization_providers/v_2/types/organization_provider.rb +0 -210
  1357. data/lib/candidhealth/organization_providers/v_2/types/organization_provider_address.rb +0 -78
  1358. data/lib/candidhealth/organization_providers/v_2/types/organization_provider_base.rb +0 -177
  1359. data/lib/candidhealth/organization_providers/v_2/types/organization_provider_sort_options.rb +0 -16
  1360. data/lib/candidhealth/organization_providers/v_2/types/provider_type.rb +0 -14
  1361. data/lib/candidhealth/organization_providers/v_3/client.rb +0 -329
  1362. data/lib/candidhealth/organization_providers/v_3/types/organization_provider_create_v_2.rb +0 -194
  1363. data/lib/candidhealth/organization_providers/v_3/types/organization_provider_page_v_2.rb +0 -88
  1364. data/lib/candidhealth/organization_providers/v_3/types/organization_provider_update_v_2.rb +0 -191
  1365. data/lib/candidhealth/organization_providers/v_3/types/organization_provider_v_2.rb +0 -202
  1366. data/lib/candidhealth/organization_service_facilities/client.rb +0 -30
  1367. data/lib/candidhealth/organization_service_facilities/v_2/client.rb +0 -431
  1368. data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility.rb +0 -191
  1369. data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_create.rb +0 -183
  1370. data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_page.rb +0 -88
  1371. data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_update.rb +0 -183
  1372. data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_mode.rb +0 -14
  1373. data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_operational_status.rb +0 -18
  1374. data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_physical_type.rb +0 -26
  1375. data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_status.rb +0 -15
  1376. data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_type.rb +0 -135
  1377. data/lib/candidhealth/patient_ar/client.rb +0 -30
  1378. data/lib/candidhealth/patient_ar/v_1/client.rb +0 -161
  1379. data/lib/candidhealth/patient_ar/v_1/types/insurance_adjustment_info.rb +0 -60
  1380. data/lib/candidhealth/patient_ar/v_1/types/insurance_payment_info.rb +0 -60
  1381. data/lib/candidhealth/patient_ar/v_1/types/invalid_filters_error_type.rb +0 -60
  1382. data/lib/candidhealth/patient_ar/v_1/types/inventory_record.rb +0 -101
  1383. data/lib/candidhealth/patient_ar/v_1/types/invoice_itemization_response.rb +0 -103
  1384. data/lib/candidhealth/patient_ar/v_1/types/list_inventory_paged_response.rb +0 -77
  1385. data/lib/candidhealth/patient_ar/v_1/types/non_insurance_adjustment_info.rb +0 -60
  1386. data/lib/candidhealth/patient_ar/v_1/types/non_insurance_payment_info.rb +0 -60
  1387. data/lib/candidhealth/patient_ar/v_1/types/patient_adjustment_info.rb +0 -60
  1388. data/lib/candidhealth/patient_ar/v_1/types/patient_ar_status.rb +0 -14
  1389. data/lib/candidhealth/patient_ar/v_1/types/patient_payment_allocation.rb +0 -76
  1390. data/lib/candidhealth/patient_ar/v_1/types/patient_payment_info.rb +0 -75
  1391. data/lib/candidhealth/patient_ar/v_1/types/service_line_itemization.rb +0 -210
  1392. data/lib/candidhealth/patient_payments/client.rb +0 -30
  1393. data/lib/candidhealth/patient_payments/v_3/types/patient_payment.rb +0 -162
  1394. data/lib/candidhealth/patient_payments/v_3/types/patient_payment_source.rb +0 -21
  1395. data/lib/candidhealth/patient_payments/v_3/types/patient_payment_status.rb +0 -23
  1396. data/lib/candidhealth/patient_payments/v_4/client.rb +0 -401
  1397. data/lib/candidhealth/patient_payments/v_4/types/patient_payment.rb +0 -149
  1398. data/lib/candidhealth/patient_payments/v_4/types/patient_payment_sort_field.rb +0 -16
  1399. data/lib/candidhealth/patient_payments/v_4/types/patient_payments_page.rb +0 -88
  1400. data/lib/candidhealth/patient_refunds/client.rb +0 -30
  1401. data/lib/candidhealth/patient_refunds/v_1/client.rb +0 -413
  1402. data/lib/candidhealth/patient_refunds/v_1/types/patient_refund.rb +0 -158
  1403. data/lib/candidhealth/patient_refunds/v_1/types/patient_refund_sort_field.rb +0 -17
  1404. data/lib/candidhealth/patient_refunds/v_1/types/patient_refunds_page.rb +0 -88
  1405. data/lib/candidhealth/payer_plan_groups/client.rb +0 -30
  1406. data/lib/candidhealth/payer_plan_groups/v_1/client.rb +0 -356
  1407. data/lib/candidhealth/payer_plan_groups/v_1/types/mutable_payer_plan_group.rb +0 -78
  1408. data/lib/candidhealth/payer_plan_groups/v_1/types/payer_plan_group.rb +0 -114
  1409. data/lib/candidhealth/payer_plan_groups/v_1/types/payer_plan_group_already_exists_error.rb +0 -70
  1410. data/lib/candidhealth/payer_plan_groups/v_1/types/payer_plan_group_page.rb +0 -88
  1411. data/lib/candidhealth/payer_plan_groups/v_1/types/payer_plan_group_sort_field.rb +0 -15
  1412. data/lib/candidhealth/payers/client.rb +0 -37
  1413. data/lib/candidhealth/payers/v_3/client.rb +0 -145
  1414. data/lib/candidhealth/payers/v_3/types/payer.rb +0 -131
  1415. data/lib/candidhealth/payers/v_3/types/payer_identifier.rb +0 -99
  1416. data/lib/candidhealth/payers/v_3/types/payer_info.rb +0 -70
  1417. data/lib/candidhealth/payers/v_3/types/payer_page.rb +0 -88
  1418. data/lib/candidhealth/payers/v_4/client.rb +0 -137
  1419. data/lib/candidhealth/payers/v_4/types/clearinghouse_payer_info.rb +0 -127
  1420. data/lib/candidhealth/payers/v_4/types/payer.rb +0 -124
  1421. data/lib/candidhealth/payers/v_4/types/payer_ids.rb +0 -84
  1422. data/lib/candidhealth/payers/v_4/types/payer_page.rb +0 -88
  1423. data/lib/candidhealth/payers/v_4/types/primary_payer_ids.rb +0 -84
  1424. data/lib/candidhealth/payers/v_4/types/support_state.rb +0 -15
  1425. data/lib/candidhealth/pre_encounter/appointments/client.rb +0 -32
  1426. data/lib/candidhealth/pre_encounter/appointments/v_1/client.rb +0 -592
  1427. data/lib/candidhealth/pre_encounter/appointments/v_1/types/appointment.rb +0 -291
  1428. data/lib/candidhealth/pre_encounter/appointments/v_1/types/appointment_status.rb +0 -18
  1429. data/lib/candidhealth/pre_encounter/appointments/v_1/types/appointment_work_queue.rb +0 -18
  1430. data/lib/candidhealth/pre_encounter/appointments/v_1/types/mutable_appointment.rb +0 -239
  1431. data/lib/candidhealth/pre_encounter/appointments/v_1/types/service.rb +0 -82
  1432. data/lib/candidhealth/pre_encounter/appointments/v_1/types/universal_service_identifier.rb +0 -18
  1433. data/lib/candidhealth/pre_encounter/appointments/v_1/types/visit.rb +0 -118
  1434. data/lib/candidhealth/pre_encounter/appointments/v_1/types/visits_page.rb +0 -98
  1435. data/lib/candidhealth/pre_encounter/client.rb +0 -30
  1436. data/lib/candidhealth/pre_encounter/common/types/additional_payer_information.rb +0 -92
  1437. data/lib/candidhealth/pre_encounter/common/types/address.rb +0 -123
  1438. data/lib/candidhealth/pre_encounter/common/types/address_use.rb +0 -17
  1439. data/lib/candidhealth/pre_encounter/common/types/base_model.rb +0 -104
  1440. data/lib/candidhealth/pre_encounter/common/types/canonical_clinical_trial_association.rb +0 -86
  1441. data/lib/candidhealth/pre_encounter/common/types/canonical_non_insurance_payer_association.rb +0 -103
  1442. data/lib/candidhealth/pre_encounter/common/types/contact_point.rb +0 -87
  1443. data/lib/candidhealth/pre_encounter/common/types/contact_point_use.rb +0 -17
  1444. data/lib/candidhealth/pre_encounter/common/types/disability_status.rb +0 -14
  1445. data/lib/candidhealth/pre_encounter/common/types/error_base_4_xx.rb +0 -72
  1446. data/lib/candidhealth/pre_encounter/common/types/ethnicity.rb +0 -16
  1447. data/lib/candidhealth/pre_encounter/common/types/external_identifier.rb +0 -87
  1448. data/lib/candidhealth/pre_encounter/common/types/external_provider.rb +0 -158
  1449. data/lib/candidhealth/pre_encounter/common/types/external_provider_type.rb +0 -15
  1450. data/lib/candidhealth/pre_encounter/common/types/gender.rb +0 -21
  1451. data/lib/candidhealth/pre_encounter/common/types/human_name.rb +0 -107
  1452. data/lib/candidhealth/pre_encounter/common/types/name_use.rb +0 -19
  1453. data/lib/candidhealth/pre_encounter/common/types/patient_service_facility.rb +0 -62
  1454. data/lib/candidhealth/pre_encounter/common/types/period.rb +0 -74
  1455. data/lib/candidhealth/pre_encounter/common/types/race.rb +0 -21
  1456. data/lib/candidhealth/pre_encounter/common/types/relationship.rb +0 -17
  1457. data/lib/candidhealth/pre_encounter/common/types/resource_page.rb +0 -83
  1458. data/lib/candidhealth/pre_encounter/common/types/sex.rb +0 -16
  1459. data/lib/candidhealth/pre_encounter/common/types/sexual_orientation.rb +0 -19
  1460. data/lib/candidhealth/pre_encounter/common/types/sort_direction.rb +0 -14
  1461. data/lib/candidhealth/pre_encounter/common/types/version_conflict_error_body.rb +0 -79
  1462. data/lib/candidhealth/pre_encounter/coverages/client.rb +0 -32
  1463. data/lib/candidhealth/pre_encounter/coverages/v_1/client.rb +0 -1210
  1464. data/lib/candidhealth/pre_encounter/coverages/v_1/types/address.rb +0 -118
  1465. data/lib/candidhealth/pre_encounter/coverages/v_1/types/benefit_type.rb +0 -24
  1466. data/lib/candidhealth/pre_encounter/coverages/v_1/types/benefits_related_entity.rb +0 -108
  1467. data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage.rb +0 -227
  1468. data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage_benefits.rb +0 -109
  1469. data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage_details.rb +0 -104
  1470. data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage_eligibility_check_response.rb +0 -87
  1471. data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage_level.rb +0 -19
  1472. data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage_status.rb +0 -20
  1473. data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage_value.rb +0 -94
  1474. data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage_value_unit.rb +0 -17
  1475. data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverages_page.rb +0 -98
  1476. data/lib/candidhealth/pre_encounter/coverages/v_1/types/expanded_member_info.rb +0 -133
  1477. data/lib/candidhealth/pre_encounter/coverages/v_1/types/insurance_plan.rb +0 -165
  1478. data/lib/candidhealth/pre_encounter/coverages/v_1/types/insurance_type_code.rb +0 -86
  1479. data/lib/candidhealth/pre_encounter/coverages/v_1/types/latest_eligibility_check.rb +0 -83
  1480. data/lib/candidhealth/pre_encounter/coverages/v_1/types/member_info.rb +0 -111
  1481. data/lib/candidhealth/pre_encounter/coverages/v_1/types/mutable_coverage.rb +0 -173
  1482. data/lib/candidhealth/pre_encounter/coverages/v_1/types/network_type.rb +0 -38
  1483. data/lib/candidhealth/pre_encounter/coverages/v_1/types/payer_plan_group_fields.rb +0 -92
  1484. data/lib/candidhealth/pre_encounter/coverages/v_1/types/plan_coverage.rb +0 -113
  1485. data/lib/candidhealth/pre_encounter/coverages/v_1/types/plan_coverage_details.rb +0 -176
  1486. data/lib/candidhealth/pre_encounter/coverages/v_1/types/plan_date.rb +0 -87
  1487. data/lib/candidhealth/pre_encounter/coverages/v_1/types/plan_metadata.rb +0 -167
  1488. data/lib/candidhealth/pre_encounter/coverages/v_1/types/related_entity_contact.rb +0 -74
  1489. data/lib/candidhealth/pre_encounter/coverages/v_1/types/service_coverage.rb +0 -122
  1490. data/lib/candidhealth/pre_encounter/coverages/v_1/types/service_coverage_details.rb +0 -124
  1491. data/lib/candidhealth/pre_encounter/coverages/v_1/types/service_type_code.rb +0 -203
  1492. data/lib/candidhealth/pre_encounter/coverages/v_1/types/subscriber.rb +0 -108
  1493. data/lib/candidhealth/pre_encounter/eligibility_checks/client.rb +0 -32
  1494. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/client.rb +0 -453
  1495. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/batch_eligibility_response.rb +0 -75
  1496. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/coordination_of_benefits_recommendation.rb +0 -63
  1497. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check.rb +0 -131
  1498. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_error.rb +0 -80
  1499. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_error_details.rb +0 -112
  1500. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_error_source.rb +0 -17
  1501. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_metadata.rb +0 -103
  1502. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_page.rb +0 -98
  1503. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_status.rb +0 -18
  1504. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation.rb +0 -144
  1505. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation_patient_info.rb +0 -124
  1506. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation_payload.rb +0 -102
  1507. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_request.rb +0 -151
  1508. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_response.rb +0 -15
  1509. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_status.rb +0 -18
  1510. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/encounter.rb +0 -83
  1511. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/individual_provider.rb +0 -81
  1512. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/medicare_advantage_recommendation.rb +0 -70
  1513. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/medicare_advantage_recommendation_payload.rb +0 -96
  1514. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/organization_provider.rb +0 -74
  1515. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/parsed_response.rb +0 -99
  1516. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/payer_search_response.rb +0 -107
  1517. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/post_eligibility_recommendation_request.rb +0 -96
  1518. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/provider.rb +0 -66
  1519. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/request_correction.rb +0 -79
  1520. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/stedi_payer.rb +0 -144
  1521. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/stedi_payer_item.rb +0 -79
  1522. data/lib/candidhealth/pre_encounter/images/client.rb +0 -32
  1523. data/lib/candidhealth/pre_encounter/images/v_1/client.rb +0 -359
  1524. data/lib/candidhealth/pre_encounter/images/v_1/types/coverage_association.rb +0 -74
  1525. data/lib/candidhealth/pre_encounter/images/v_1/types/coverage_image_side.rb +0 -16
  1526. data/lib/candidhealth/pre_encounter/images/v_1/types/image.rb +0 -188
  1527. data/lib/candidhealth/pre_encounter/images/v_1/types/image_status.rb +0 -17
  1528. data/lib/candidhealth/pre_encounter/images/v_1/types/mutable_image.rb +0 -125
  1529. data/lib/candidhealth/pre_encounter/images/v_1/types/patient_association.rb +0 -75
  1530. data/lib/candidhealth/pre_encounter/lists/client.rb +0 -32
  1531. data/lib/candidhealth/pre_encounter/lists/v_1/client.rb +0 -187
  1532. data/lib/candidhealth/pre_encounter/lists/v_1/types/appointment_list_item.rb +0 -114
  1533. data/lib/candidhealth/pre_encounter/lists/v_1/types/appointment_list_page.rb +0 -98
  1534. data/lib/candidhealth/pre_encounter/lists/v_1/types/patient_list_item.rb +0 -131
  1535. data/lib/candidhealth/pre_encounter/lists/v_1/types/patient_list_page.rb +0 -98
  1536. data/lib/candidhealth/pre_encounter/notes/client.rb +0 -32
  1537. data/lib/candidhealth/pre_encounter/notes/v_1/client.rb +0 -257
  1538. data/lib/candidhealth/pre_encounter/notes/v_1/types/mutable_note.rb +0 -86
  1539. data/lib/candidhealth/pre_encounter/notes/v_1/types/note.rb +0 -149
  1540. data/lib/candidhealth/pre_encounter/patients/client.rb +0 -32
  1541. data/lib/candidhealth/pre_encounter/patients/v_1/client.rb +0 -1454
  1542. data/lib/candidhealth/pre_encounter/patients/v_1/types/authorization.rb +0 -170
  1543. data/lib/candidhealth/pre_encounter/patients/v_1/types/authorization_unit.rb +0 -16
  1544. data/lib/candidhealth/pre_encounter/patients/v_1/types/contact.rb +0 -132
  1545. data/lib/candidhealth/pre_encounter/patients/v_1/types/do_not_invoice_reason.rb +0 -21
  1546. data/lib/candidhealth/pre_encounter/patients/v_1/types/external_provenance.rb +0 -73
  1547. data/lib/candidhealth/pre_encounter/patients/v_1/types/filing_order.rb +0 -63
  1548. data/lib/candidhealth/pre_encounter/patients/v_1/types/guarantor.rb +0 -121
  1549. data/lib/candidhealth/pre_encounter/patients/v_1/types/inferred_patient_metadata.rb +0 -80
  1550. data/lib/candidhealth/pre_encounter/patients/v_1/types/marital_status.rb +0 -26
  1551. data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient.rb +0 -490
  1552. data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient_with_mrn.rb +0 -497
  1553. data/lib/candidhealth/pre_encounter/patients/v_1/types/origination_detail.rb +0 -104
  1554. data/lib/candidhealth/pre_encounter/patients/v_1/types/patient.rb +0 -556
  1555. data/lib/candidhealth/pre_encounter/patients/v_1/types/patient_page.rb +0 -98
  1556. data/lib/candidhealth/pre_encounter/patients/v_1/types/referral.rb +0 -154
  1557. data/lib/candidhealth/pre_encounter/patients/v_1/types/referral_source.rb +0 -18
  1558. data/lib/candidhealth/pre_encounter/patients/v_1/types/referral_type.rb +0 -17
  1559. data/lib/candidhealth/pre_encounter/patients/v_1/types/referral_unit.rb +0 -16
  1560. data/lib/candidhealth/pre_encounter/patients/v_1/types/specialization_category.rb +0 -42
  1561. data/lib/candidhealth/pre_encounter/tags/client.rb +0 -32
  1562. data/lib/candidhealth/pre_encounter/tags/v_1/client.rb +0 -319
  1563. data/lib/candidhealth/pre_encounter/tags/v_1/types/mutable_tag.rb +0 -82
  1564. data/lib/candidhealth/pre_encounter/tags/v_1/types/tag.rb +0 -141
  1565. data/lib/candidhealth/pre_encounter/tags/v_1/types/tag_page.rb +0 -98
  1566. data/lib/candidhealth/remits/v_1/types/payee.rb +0 -77
  1567. data/lib/candidhealth/remits/v_1/types/payee_identifier.rb +0 -106
  1568. data/lib/candidhealth/service_facility/client.rb +0 -98
  1569. data/lib/candidhealth/service_facility/types/encounter_service_facility.rb +0 -119
  1570. data/lib/candidhealth/service_facility/types/encounter_service_facility_base.rb +0 -123
  1571. data/lib/candidhealth/service_facility/types/encounter_service_facility_update.rb +0 -111
  1572. data/lib/candidhealth/service_facility/types/encounter_service_facility_update_with_optional_address.rb +0 -113
  1573. data/lib/candidhealth/service_lines/client.rb +0 -30
  1574. data/lib/candidhealth/service_lines/v_2/client.rb +0 -555
  1575. data/lib/candidhealth/service_lines/v_2/types/denial_reason_content.rb +0 -44
  1576. data/lib/candidhealth/service_lines/v_2/types/drug_identification.rb +0 -126
  1577. data/lib/candidhealth/service_lines/v_2/types/drug_identification_optional.rb +0 -126
  1578. data/lib/candidhealth/service_lines/v_2/types/measurement_unit_code.rb +0 -17
  1579. data/lib/candidhealth/service_lines/v_2/types/service_id_qualifier.rb +0 -19
  1580. data/lib/candidhealth/service_lines/v_2/types/service_line.rb +0 -489
  1581. data/lib/candidhealth/service_lines/v_2/types/service_line_adjustment.rb +0 -102
  1582. data/lib/candidhealth/service_lines/v_2/types/service_line_create.rb +0 -259
  1583. data/lib/candidhealth/service_lines/v_2/types/service_line_create_base.rb +0 -251
  1584. data/lib/candidhealth/service_lines/v_2/types/service_line_create_base_base.rb +0 -243
  1585. data/lib/candidhealth/service_lines/v_2/types/service_line_create_optional.rb +0 -271
  1586. data/lib/candidhealth/service_lines/v_2/types/service_line_create_standalone.rb +0 -305
  1587. data/lib/candidhealth/service_lines/v_2/types/service_line_create_standalone_base.rb +0 -273
  1588. data/lib/candidhealth/service_lines/v_2/types/service_line_create_standalone_base_base.rb +0 -265
  1589. data/lib/candidhealth/service_lines/v_2/types/service_line_denial_reason.rb +0 -66
  1590. data/lib/candidhealth/service_lines/v_2/types/service_line_era_data.rb +0 -78
  1591. data/lib/candidhealth/service_lines/v_2/types/service_line_update.rb +0 -295
  1592. data/lib/candidhealth/service_lines/v_2/types/service_line_update_base.rb +0 -263
  1593. data/lib/candidhealth/service_lines/v_2/types/test_result.rb +0 -71
  1594. data/lib/candidhealth/service_lines/v_2/types/test_result_optional.rb +0 -73
  1595. data/lib/candidhealth/service_lines/v_2/types/test_result_type.rb +0 -15
  1596. data/lib/candidhealth/service_lines/v_2/types/universal_service_line_create_standalone.rb +0 -317
  1597. data/lib/candidhealth/service_lines/v_2/types/universal_service_line_update.rb +0 -307
  1598. data/lib/candidhealth/superbills/client.rb +0 -30
  1599. data/lib/candidhealth/superbills/v_1/client.rb +0 -123
  1600. data/lib/candidhealth/superbills/v_1/types/superbill.rb +0 -108
  1601. data/lib/candidhealth/superbills/v_1/types/superbill_response.rb +0 -65
  1602. data/lib/candidhealth/tags/types/tag.rb +0 -83
  1603. data/lib/candidhealth/tags/types/tag_color_enum.rb +0 -20
  1604. data/lib/candidhealth/tags/types/tag_create.rb +0 -76
  1605. data/lib/candidhealth/tasks/client.rb +0 -30
  1606. data/lib/candidhealth/tasks/commons/types/task_category.rb +0 -54
  1607. data/lib/candidhealth/tasks/commons/types/task_status.rb +0 -19
  1608. data/lib/candidhealth/tasks/commons/types/task_type.rb +0 -24
  1609. data/lib/candidhealth/tasks/v_3/client.rb +0 -343
  1610. data/lib/candidhealth/tasks/v_3/types/task.rb +0 -225
  1611. data/lib/candidhealth/tasks/v_3/types/task_action.rb +0 -85
  1612. data/lib/candidhealth/tasks/v_3/types/task_action_execution_method.rb +0 -85
  1613. data/lib/candidhealth/tasks/v_3/types/task_action_type.rb +0 -14
  1614. data/lib/candidhealth/tasks/v_3/types/task_actions.rb +0 -65
  1615. data/lib/candidhealth/tasks/v_3/types/task_assignment.rb +0 -75
  1616. data/lib/candidhealth/tasks/v_3/types/task_create_v_3.rb +0 -118
  1617. data/lib/candidhealth/tasks/v_3/types/task_note.rb +0 -100
  1618. data/lib/candidhealth/tasks/v_3/types/task_page.rb +0 -88
  1619. data/lib/candidhealth/tasks/v_3/types/task_sort_options.rb +0 -34
  1620. data/lib/candidhealth/tasks/v_3/types/task_update_v_3.rb +0 -85
  1621. data/lib/candidhealth/tasks/v_3/types/task_updated_to_deprecated_status_error_type.rb +0 -64
  1622. data/lib/candidhealth/write_offs/client.rb +0 -30
  1623. data/lib/candidhealth/write_offs/v_1/client.rb +0 -379
  1624. data/lib/candidhealth/write_offs/v_1/types/create_write_offs_response.rb +0 -65
  1625. data/lib/candidhealth/write_offs/v_1/types/insurance_write_off.rb +0 -149
  1626. data/lib/candidhealth/write_offs/v_1/types/insurance_write_off_create.rb +0 -125
  1627. data/lib/candidhealth/write_offs/v_1/types/insurance_write_off_reason.rb +0 -29
  1628. data/lib/candidhealth/write_offs/v_1/types/insurance_write_off_target.rb +0 -106
  1629. data/lib/candidhealth/write_offs/v_1/types/non_insurance_payer_write_off.rb +0 -143
  1630. data/lib/candidhealth/write_offs/v_1/types/non_insurance_payer_write_off_create.rb +0 -113
  1631. data/lib/candidhealth/write_offs/v_1/types/patient_write_off.rb +0 -145
  1632. data/lib/candidhealth/write_offs/v_1/types/patient_write_off_create.rb +0 -105
  1633. data/lib/candidhealth/write_offs/v_1/types/patient_write_off_reason.rb +0 -24
  1634. data/lib/candidhealth/write_offs/v_1/types/write_off.rb +0 -113
  1635. data/lib/candidhealth/write_offs/v_1/types/write_off_create.rb +0 -113
  1636. data/lib/candidhealth/write_offs/v_1/types/write_off_sort_field.rb +0 -15
  1637. data/lib/candidhealth/write_offs/v_1/types/write_offs_page.rb +0 -88
  1638. data/lib/candidhealth/x_12/v_1/types/carc.rb +0 -415
  1639. data/lib/candidhealth/x_12/v_1/types/claim_adjustment_reason_code.rb +0 -79
  1640. data/lib/candidhealth/x_12/v_1/types/patient_discharge_status_code.rb +0 -52
  1641. data/lib/candidhealth/x_12/v_1/types/point_of_origin_for_admission_or_visit_code.rb +0 -23
  1642. data/lib/candidhealth/x_12/v_1/types/rarc.rb +0 -1199
  1643. data/lib/candidhealth/x_12/v_1/types/remittance_advice_remark_code.rb +0 -61
  1644. data/lib/candidhealth/x_12/v_1/types/type_of_admission_or_visit_code.rb +0 -18
  1645. data/lib/candidhealth/x_12/v_1/types/type_of_bill_composite.rb +0 -98
  1646. data/lib/candidhealth/x_12/v_1/types/type_of_bill_composite_base.rb +0 -90
  1647. data/lib/candidhealth/x_12/v_1/types/type_of_bill_frequency_code.rb +0 -39
  1648. data/lib/candidhealth/x_12/v_1/types/type_of_care_code.rb +0 -21
  1649. data/lib/candidhealth/x_12/v_1/types/type_of_facility_code.rb +0 -19
  1650. data/lib/candidhealth/yes_no_indicator/types/yes_no_indicator.rb +0 -14
  1651. data/lib/candidhealth.rb +0 -343
  1652. data/lib/core/file_utilities.rb +0 -26
  1653. data/lib/core/oauth.rb +0 -62
  1654. data/lib/environment.rb +0 -18
  1655. data/lib/gemconfig.rb +0 -14
  1656. data/lib/requests.rb +0 -166
  1657. data/lib/types_export.rb +0 -657
@@ -1,2318 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "../../../requests"
4
- require_relative "types/charge_capture_data"
5
- require_relative "types/charge_capture_status"
6
- require_relative "types/charge_capture"
7
- require_relative "types/charge_capture_sort_field"
8
- require_relative "../../commons/types/sort_direction"
9
- require "date"
10
- require_relative "../../encounters/v_4/types/billable_status_type"
11
- require_relative "../../encounters/v_4/types/responsible_party_type"
12
- require_relative "../../claims/types/claim_status"
13
- require_relative "types/charge_capture_page"
14
- require_relative "types/charge_capture_post_billed_change"
15
- require "json"
16
- require "async"
17
-
18
- module CandidApiClient
19
- module ChargeCapture
20
- module V1
21
- class V1Client
22
- # @return [CandidApiClient::RequestClient]
23
- attr_reader :request_client
24
-
25
- # @param request_client [CandidApiClient::RequestClient]
26
- # @return [CandidApiClient::ChargeCapture::V1::V1Client]
27
- def initialize(request_client:)
28
- @request_client = request_client
29
- end
30
-
31
- # @param data [Hash] Charge Capture data contains all the fields needed to create an encounter, but
32
- # listed as optional. Candid will use this data when attempting to bundle multiple
33
- # Charge Captures into a single encounter.Request of type CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureData, as a Hash
34
- # * :vitals (Hash)
35
- # * :height_in (Integer)
36
- # * :weight_lbs (Integer)
37
- # * :blood_pressure_systolic_mmhg (Integer)
38
- # * :blood_pressure_diastolic_mmhg (Integer)
39
- # * :body_temperature_f (Float)
40
- # * :hemoglobin_gdl (Float)
41
- # * :hematocrit_pct (Float)
42
- # * :diagnoses (Array<CandidApiClient::Diagnoses::Types::DiagnosisCreateOptional>)
43
- # * :clinical_notes (Array<CandidApiClient::Encounters::V4::Types::ClinicalNoteCategoryCreateOptional>)
44
- # * :claim_supplemental_information (Array<CandidApiClient::Encounters::V4::Types::ClaimSupplementalInformationOptional>)
45
- # * :epsdt_referral (Hash)
46
- # * :condition_indicator_1 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
47
- # * :condition_indicator_2 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
48
- # * :condition_indicator_3 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
49
- # * :existing_medications (Array<CandidApiClient::Encounters::V4::Types::MedicationOptional>)
50
- # * :guarantor (Hash)
51
- # * :first_name (String)
52
- # * :last_name (String)
53
- # * :external_id (String)
54
- # * :date_of_birth (Date)
55
- # * :address (Hash)
56
- # * :zip_plus_four_code (String)
57
- # * :address_1 (String)
58
- # * :address_2 (String)
59
- # * :city (String)
60
- # * :state (CandidApiClient::Commons::Types::State)
61
- # * :zip_code (String)
62
- # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumberOptional>)
63
- # * :phone_consent (Boolean)
64
- # * :email (String)
65
- # * :email_consent (Boolean)
66
- # * :auto_charge_consent (Boolean)
67
- # * :subscriber_primary (Hash)
68
- # * :insurance_card (Hash)
69
- # * :member_id (String)
70
- # * :payer_name (String)
71
- # * :payer_id (String)
72
- # * :rx_bin (String)
73
- # * :rx_pcn (String)
74
- # * :image_url_front (String)
75
- # * :image_url_back (String)
76
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
77
- # * :group_number (String)
78
- # * :plan_name (String)
79
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
80
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
81
- # * :payer_plan_group_id (String)
82
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
83
- # * :date_of_birth (Date)
84
- # * :address (Hash)
85
- # * :zip_plus_four_code (String)
86
- # * :address_1 (String)
87
- # * :address_2 (String)
88
- # * :city (String)
89
- # * :state (CandidApiClient::Commons::Types::State)
90
- # * :zip_code (String)
91
- # * :first_name (String)
92
- # * :last_name (String)
93
- # * :gender (CandidApiClient::Individual::Types::Gender)
94
- # * :subscriber_secondary (Hash)
95
- # * :insurance_card (Hash)
96
- # * :member_id (String)
97
- # * :payer_name (String)
98
- # * :payer_id (String)
99
- # * :rx_bin (String)
100
- # * :rx_pcn (String)
101
- # * :image_url_front (String)
102
- # * :image_url_back (String)
103
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
104
- # * :group_number (String)
105
- # * :plan_name (String)
106
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
107
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
108
- # * :payer_plan_group_id (String)
109
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
110
- # * :date_of_birth (Date)
111
- # * :address (Hash)
112
- # * :zip_plus_four_code (String)
113
- # * :address_1 (String)
114
- # * :address_2 (String)
115
- # * :city (String)
116
- # * :state (CandidApiClient::Commons::Types::State)
117
- # * :zip_code (String)
118
- # * :first_name (String)
119
- # * :last_name (String)
120
- # * :gender (CandidApiClient::Individual::Types::Gender)
121
- # * :subscriber_tertiary (Hash)
122
- # * :insurance_card (Hash)
123
- # * :member_id (String)
124
- # * :payer_name (String)
125
- # * :payer_id (String)
126
- # * :rx_bin (String)
127
- # * :rx_pcn (String)
128
- # * :image_url_front (String)
129
- # * :image_url_back (String)
130
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
131
- # * :group_number (String)
132
- # * :plan_name (String)
133
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
134
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
135
- # * :payer_plan_group_id (String)
136
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
137
- # * :date_of_birth (Date)
138
- # * :address (Hash)
139
- # * :zip_plus_four_code (String)
140
- # * :address_1 (String)
141
- # * :address_2 (String)
142
- # * :city (String)
143
- # * :state (CandidApiClient::Commons::Types::State)
144
- # * :zip_code (String)
145
- # * :first_name (String)
146
- # * :last_name (String)
147
- # * :gender (CandidApiClient::Individual::Types::Gender)
148
- # * :interventions (Array<CandidApiClient::Encounters::V4::Types::InterventionOptional>)
149
- # * :schema_instances (Array<CandidApiClient::CustomSchemas::V1::Types::SchemaInstanceOptional>)
150
- # * :external_claim_submission (Hash)
151
- # * :claim_created_at (DateTime)
152
- # * :patient_control_number (String)
153
- # * :submission_records (Array<CandidApiClient::ClaimSubmission::V1::Types::ClaimSubmissionRecordCreateOptional>)
154
- # * :service_lines (Array<CandidApiClient::ServiceLines::V2::Types::ServiceLineCreateOptional>)
155
- # * :patient_histories (Array<CandidApiClient::Encounters::V4::Types::PatientHistoryCategoryOptional>)
156
- # * :billing_notes (Array<CandidApiClient::BillingNotes::V2::Types::BillingNoteBaseOptional>)
157
- # * :patient (Hash)
158
- # * :first_name (String)
159
- # * :last_name (String)
160
- # * :gender (CandidApiClient::Individual::Types::Gender)
161
- # * :external_id (String)
162
- # * :date_of_birth (Date)
163
- # * :address (Hash)
164
- # * :zip_plus_four_code (String)
165
- # * :address_1 (String)
166
- # * :address_2 (String)
167
- # * :city (String)
168
- # * :state (CandidApiClient::Commons::Types::State)
169
- # * :zip_code (String)
170
- # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumberOptional>)
171
- # * :phone_consent (Boolean)
172
- # * :email (String)
173
- # * :email_consent (Boolean)
174
- # * :auto_charge_consent (Boolean)
175
- # * :non_insurance_payers (Array<String>)
176
- # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreateOptional>)
177
- # * :service_facility (Hash)
178
- # * :organization_name (String)
179
- # * :npi (String)
180
- # * :address (Hash)
181
- # * :zip_plus_four_code (String)
182
- # * :address_1 (String)
183
- # * :address_2 (String)
184
- # * :city (String)
185
- # * :state (CandidApiClient::Commons::Types::State)
186
- # * :zip_code (String)
187
- # * :secondary_identification (String)
188
- # * :rendering_provider (Hash)
189
- # * :npi (String)
190
- # * :taxonomy_code (String)
191
- # * :address (Hash)
192
- # * :zip_plus_four_code (String)
193
- # * :address_1 (String)
194
- # * :address_2 (String)
195
- # * :city (String)
196
- # * :state (CandidApiClient::Commons::Types::State)
197
- # * :zip_code (String)
198
- # * :first_name (String)
199
- # * :last_name (String)
200
- # * :organization_name (String)
201
- # * :initial_referring_provider (Hash)
202
- # * :npi (String)
203
- # * :taxonomy_code (String)
204
- # * :address (Hash)
205
- # * :zip_plus_four_code (String)
206
- # * :address_1 (String)
207
- # * :address_2 (String)
208
- # * :city (String)
209
- # * :state (CandidApiClient::Commons::Types::State)
210
- # * :zip_code (String)
211
- # * :qualifier (CandidApiClient::Commons::Types::QualifierCode)
212
- # * :first_name (String)
213
- # * :last_name (String)
214
- # * :organization_name (String)
215
- # * :referring_provider (Hash)
216
- # * :npi (String)
217
- # * :taxonomy_code (String)
218
- # * :address (Hash)
219
- # * :zip_plus_four_code (String)
220
- # * :address_1 (String)
221
- # * :address_2 (String)
222
- # * :city (String)
223
- # * :state (CandidApiClient::Commons::Types::State)
224
- # * :zip_code (String)
225
- # * :first_name (String)
226
- # * :last_name (String)
227
- # * :organization_name (String)
228
- # * :supervising_provider (Hash)
229
- # * :npi (String)
230
- # * :taxonomy_code (String)
231
- # * :address (Hash)
232
- # * :zip_plus_four_code (String)
233
- # * :address_1 (String)
234
- # * :address_2 (String)
235
- # * :city (String)
236
- # * :state (CandidApiClient::Commons::Types::State)
237
- # * :zip_code (String)
238
- # * :first_name (String)
239
- # * :last_name (String)
240
- # * :organization_name (String)
241
- # * :billing_provider (Hash)
242
- # * :address (Hash)
243
- # * :zip_plus_four_code (String)
244
- # * :address_1 (String)
245
- # * :address_2 (String)
246
- # * :city (String)
247
- # * :state (CandidApiClient::Commons::Types::State)
248
- # * :zip_code (String)
249
- # * :tax_id (String)
250
- # * :npi (String)
251
- # * :taxonomy_code (String)
252
- # * :provider_commercial_license_type (CandidApiClient::Commons::Types::BillingProviderCommercialLicenseType)
253
- # * :first_name (String)
254
- # * :last_name (String)
255
- # * :organization_name (String)
256
- # * :pay_to_address (Hash)
257
- # * :zip_plus_four_code (String)
258
- # * :address_1 (String)
259
- # * :address_2 (String)
260
- # * :city (String)
261
- # * :state (CandidApiClient::Commons::Types::State)
262
- # * :zip_code (String)
263
- # * :benefits_assigned_to_provider (Boolean)
264
- # * :prior_authorization_number (String)
265
- # * :external_id (String)
266
- # * :date_of_service (Date)
267
- # * :tag_ids (Array<String>)
268
- # * :billable_status (CandidApiClient::Encounters::V4::Types::BillableStatusType)
269
- # * :responsible_party (CandidApiClient::Encounters::V4::Types::ResponsiblePartyType)
270
- # * :provider_accepts_assignment (Boolean)
271
- # * :synchronicity (CandidApiClient::Encounters::V4::Types::SynchronicityType)
272
- # * :place_of_service_code (CandidApiClient::Commons::Types::FacilityTypeCode)
273
- # * :appointment_type (String)
274
- # * :end_date_of_service (Date)
275
- # * :additional_information (String)
276
- # * :service_authorization_exception_code (CandidApiClient::Encounters::V4::Types::ServiceAuthorizationExceptionCode)
277
- # * :admission_date (Date)
278
- # * :discharge_date (Date)
279
- # * :onset_of_current_illness_or_symptom_date (Date)
280
- # * :last_menstrual_period_date (Date)
281
- # * :delay_reason_code (CandidApiClient::Commons::Types::DelayReasonCode)
282
- # * :patient_authorized_release (Boolean)
283
- # * :referral_number (String)
284
- # * :secondary_payer_carrier_code (String)
285
- # @param charge_external_id [String] A client-specified unique ID to associate with this encounter; for example, your
286
- # internal encounter ID or a Dr. Chrono encounter ID. This field should not
287
- # contain PHI.
288
- # @param originating_system [String] An optional string field denoting the originating system of the charge.
289
- # @param claim_creation_category [String] An optional string field denoting the user defined category of the claim
290
- # creation.
291
- # @param ehr_source_url [String] External URL reference that links to Charge Capture details within the external
292
- # system (e.g. the EHR visit page). Send full URL format for the external link
293
- # (e.g. https://emr_charge_capture_url.com/123).
294
- # @param patient_external_id [String] The patient ID from the external EMR platform for the patient
295
- # @param status [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureStatus] the status of the charge capture
296
- # @param request_options [CandidApiClient::RequestOptions]
297
- # @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCapture]
298
- # @example
299
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
300
- # api.charge_capture.v_1.create(
301
- # data: { },
302
- # charge_external_id: "charge_external_id",
303
- # patient_external_id: "patient_external_id",
304
- # status: PLANNED
305
- # )
306
- def create(data:, charge_external_id:, patient_external_id:, status:, originating_system: nil, claim_creation_category: nil,
307
- ehr_source_url: nil, request_options: nil)
308
- response = @request_client.conn.post do |req|
309
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
310
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
311
- req.headers = {
312
- **(req.headers || {}),
313
- **@request_client.get_headers,
314
- **(request_options&.additional_headers || {})
315
- }.compact
316
- req.body = {
317
- **(request_options&.additional_body_parameters || {}),
318
- data: data,
319
- charge_external_id: charge_external_id,
320
- originating_system: originating_system,
321
- claim_creation_category: claim_creation_category,
322
- ehr_source_url: ehr_source_url,
323
- patient_external_id: patient_external_id,
324
- status: status
325
- }.compact
326
- req.url "#{@request_client.get_url(environment: CandidApi,
327
- request_options: request_options)}/api/charge_captures/v1"
328
- end
329
- CandidApiClient::ChargeCapture::V1::Types::ChargeCapture.from_json(json_object: response.body)
330
- end
331
-
332
- # Create a Charge Capture from a pre-encounter patient and appointment. This
333
- # endpoint is intended to be used by consumers who are managing
334
- # patients and appointments in the pre-encounter service and is currently under
335
- # development. Consumers who are not taking advantage
336
- # of the pre-encounter service should use the standard create endpoint.
337
- # At encounter creation time, information from the provided patient and
338
- # appointment objects will be populated
339
- # where applicable. In particular, the following fields are populated from the
340
- # patient and appointment objects:
341
- # - Patient
342
- # - Referring Provider
343
- # - Subscriber Primary
344
- # - Subscriber Secondary
345
- # - Referral Number
346
- # - Responsible Party
347
- # - Guarantor
348
- # Note that these fields should not be populated in the ChargeCaptureData property
349
- # of this endpoint, as they will be overwritten at encounter creation time.
350
- # Utilizing this endpoint opts you into automatic updating of the encounter when
351
- # the patient or appointment is updated, assuming the
352
- # encounter has not already been submitted or adjudicated.
353
- #
354
- # @param data [Hash] Charge Capture data contains all the fields needed to create an encounter, but
355
- # listed as optional. Candid will use this data when attempting to bundle multiple
356
- # Charge Captures into a single encounter.Request of type CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureData, as a Hash
357
- # * :vitals (Hash)
358
- # * :height_in (Integer)
359
- # * :weight_lbs (Integer)
360
- # * :blood_pressure_systolic_mmhg (Integer)
361
- # * :blood_pressure_diastolic_mmhg (Integer)
362
- # * :body_temperature_f (Float)
363
- # * :hemoglobin_gdl (Float)
364
- # * :hematocrit_pct (Float)
365
- # * :diagnoses (Array<CandidApiClient::Diagnoses::Types::DiagnosisCreateOptional>)
366
- # * :clinical_notes (Array<CandidApiClient::Encounters::V4::Types::ClinicalNoteCategoryCreateOptional>)
367
- # * :claim_supplemental_information (Array<CandidApiClient::Encounters::V4::Types::ClaimSupplementalInformationOptional>)
368
- # * :epsdt_referral (Hash)
369
- # * :condition_indicator_1 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
370
- # * :condition_indicator_2 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
371
- # * :condition_indicator_3 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
372
- # * :existing_medications (Array<CandidApiClient::Encounters::V4::Types::MedicationOptional>)
373
- # * :guarantor (Hash)
374
- # * :first_name (String)
375
- # * :last_name (String)
376
- # * :external_id (String)
377
- # * :date_of_birth (Date)
378
- # * :address (Hash)
379
- # * :zip_plus_four_code (String)
380
- # * :address_1 (String)
381
- # * :address_2 (String)
382
- # * :city (String)
383
- # * :state (CandidApiClient::Commons::Types::State)
384
- # * :zip_code (String)
385
- # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumberOptional>)
386
- # * :phone_consent (Boolean)
387
- # * :email (String)
388
- # * :email_consent (Boolean)
389
- # * :auto_charge_consent (Boolean)
390
- # * :subscriber_primary (Hash)
391
- # * :insurance_card (Hash)
392
- # * :member_id (String)
393
- # * :payer_name (String)
394
- # * :payer_id (String)
395
- # * :rx_bin (String)
396
- # * :rx_pcn (String)
397
- # * :image_url_front (String)
398
- # * :image_url_back (String)
399
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
400
- # * :group_number (String)
401
- # * :plan_name (String)
402
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
403
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
404
- # * :payer_plan_group_id (String)
405
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
406
- # * :date_of_birth (Date)
407
- # * :address (Hash)
408
- # * :zip_plus_four_code (String)
409
- # * :address_1 (String)
410
- # * :address_2 (String)
411
- # * :city (String)
412
- # * :state (CandidApiClient::Commons::Types::State)
413
- # * :zip_code (String)
414
- # * :first_name (String)
415
- # * :last_name (String)
416
- # * :gender (CandidApiClient::Individual::Types::Gender)
417
- # * :subscriber_secondary (Hash)
418
- # * :insurance_card (Hash)
419
- # * :member_id (String)
420
- # * :payer_name (String)
421
- # * :payer_id (String)
422
- # * :rx_bin (String)
423
- # * :rx_pcn (String)
424
- # * :image_url_front (String)
425
- # * :image_url_back (String)
426
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
427
- # * :group_number (String)
428
- # * :plan_name (String)
429
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
430
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
431
- # * :payer_plan_group_id (String)
432
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
433
- # * :date_of_birth (Date)
434
- # * :address (Hash)
435
- # * :zip_plus_four_code (String)
436
- # * :address_1 (String)
437
- # * :address_2 (String)
438
- # * :city (String)
439
- # * :state (CandidApiClient::Commons::Types::State)
440
- # * :zip_code (String)
441
- # * :first_name (String)
442
- # * :last_name (String)
443
- # * :gender (CandidApiClient::Individual::Types::Gender)
444
- # * :subscriber_tertiary (Hash)
445
- # * :insurance_card (Hash)
446
- # * :member_id (String)
447
- # * :payer_name (String)
448
- # * :payer_id (String)
449
- # * :rx_bin (String)
450
- # * :rx_pcn (String)
451
- # * :image_url_front (String)
452
- # * :image_url_back (String)
453
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
454
- # * :group_number (String)
455
- # * :plan_name (String)
456
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
457
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
458
- # * :payer_plan_group_id (String)
459
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
460
- # * :date_of_birth (Date)
461
- # * :address (Hash)
462
- # * :zip_plus_four_code (String)
463
- # * :address_1 (String)
464
- # * :address_2 (String)
465
- # * :city (String)
466
- # * :state (CandidApiClient::Commons::Types::State)
467
- # * :zip_code (String)
468
- # * :first_name (String)
469
- # * :last_name (String)
470
- # * :gender (CandidApiClient::Individual::Types::Gender)
471
- # * :interventions (Array<CandidApiClient::Encounters::V4::Types::InterventionOptional>)
472
- # * :schema_instances (Array<CandidApiClient::CustomSchemas::V1::Types::SchemaInstanceOptional>)
473
- # * :external_claim_submission (Hash)
474
- # * :claim_created_at (DateTime)
475
- # * :patient_control_number (String)
476
- # * :submission_records (Array<CandidApiClient::ClaimSubmission::V1::Types::ClaimSubmissionRecordCreateOptional>)
477
- # * :service_lines (Array<CandidApiClient::ServiceLines::V2::Types::ServiceLineCreateOptional>)
478
- # * :patient_histories (Array<CandidApiClient::Encounters::V4::Types::PatientHistoryCategoryOptional>)
479
- # * :billing_notes (Array<CandidApiClient::BillingNotes::V2::Types::BillingNoteBaseOptional>)
480
- # * :patient (Hash)
481
- # * :first_name (String)
482
- # * :last_name (String)
483
- # * :gender (CandidApiClient::Individual::Types::Gender)
484
- # * :external_id (String)
485
- # * :date_of_birth (Date)
486
- # * :address (Hash)
487
- # * :zip_plus_four_code (String)
488
- # * :address_1 (String)
489
- # * :address_2 (String)
490
- # * :city (String)
491
- # * :state (CandidApiClient::Commons::Types::State)
492
- # * :zip_code (String)
493
- # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumberOptional>)
494
- # * :phone_consent (Boolean)
495
- # * :email (String)
496
- # * :email_consent (Boolean)
497
- # * :auto_charge_consent (Boolean)
498
- # * :non_insurance_payers (Array<String>)
499
- # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreateOptional>)
500
- # * :service_facility (Hash)
501
- # * :organization_name (String)
502
- # * :npi (String)
503
- # * :address (Hash)
504
- # * :zip_plus_four_code (String)
505
- # * :address_1 (String)
506
- # * :address_2 (String)
507
- # * :city (String)
508
- # * :state (CandidApiClient::Commons::Types::State)
509
- # * :zip_code (String)
510
- # * :secondary_identification (String)
511
- # * :rendering_provider (Hash)
512
- # * :npi (String)
513
- # * :taxonomy_code (String)
514
- # * :address (Hash)
515
- # * :zip_plus_four_code (String)
516
- # * :address_1 (String)
517
- # * :address_2 (String)
518
- # * :city (String)
519
- # * :state (CandidApiClient::Commons::Types::State)
520
- # * :zip_code (String)
521
- # * :first_name (String)
522
- # * :last_name (String)
523
- # * :organization_name (String)
524
- # * :initial_referring_provider (Hash)
525
- # * :npi (String)
526
- # * :taxonomy_code (String)
527
- # * :address (Hash)
528
- # * :zip_plus_four_code (String)
529
- # * :address_1 (String)
530
- # * :address_2 (String)
531
- # * :city (String)
532
- # * :state (CandidApiClient::Commons::Types::State)
533
- # * :zip_code (String)
534
- # * :qualifier (CandidApiClient::Commons::Types::QualifierCode)
535
- # * :first_name (String)
536
- # * :last_name (String)
537
- # * :organization_name (String)
538
- # * :referring_provider (Hash)
539
- # * :npi (String)
540
- # * :taxonomy_code (String)
541
- # * :address (Hash)
542
- # * :zip_plus_four_code (String)
543
- # * :address_1 (String)
544
- # * :address_2 (String)
545
- # * :city (String)
546
- # * :state (CandidApiClient::Commons::Types::State)
547
- # * :zip_code (String)
548
- # * :first_name (String)
549
- # * :last_name (String)
550
- # * :organization_name (String)
551
- # * :supervising_provider (Hash)
552
- # * :npi (String)
553
- # * :taxonomy_code (String)
554
- # * :address (Hash)
555
- # * :zip_plus_four_code (String)
556
- # * :address_1 (String)
557
- # * :address_2 (String)
558
- # * :city (String)
559
- # * :state (CandidApiClient::Commons::Types::State)
560
- # * :zip_code (String)
561
- # * :first_name (String)
562
- # * :last_name (String)
563
- # * :organization_name (String)
564
- # * :billing_provider (Hash)
565
- # * :address (Hash)
566
- # * :zip_plus_four_code (String)
567
- # * :address_1 (String)
568
- # * :address_2 (String)
569
- # * :city (String)
570
- # * :state (CandidApiClient::Commons::Types::State)
571
- # * :zip_code (String)
572
- # * :tax_id (String)
573
- # * :npi (String)
574
- # * :taxonomy_code (String)
575
- # * :provider_commercial_license_type (CandidApiClient::Commons::Types::BillingProviderCommercialLicenseType)
576
- # * :first_name (String)
577
- # * :last_name (String)
578
- # * :organization_name (String)
579
- # * :pay_to_address (Hash)
580
- # * :zip_plus_four_code (String)
581
- # * :address_1 (String)
582
- # * :address_2 (String)
583
- # * :city (String)
584
- # * :state (CandidApiClient::Commons::Types::State)
585
- # * :zip_code (String)
586
- # * :benefits_assigned_to_provider (Boolean)
587
- # * :prior_authorization_number (String)
588
- # * :external_id (String)
589
- # * :date_of_service (Date)
590
- # * :tag_ids (Array<String>)
591
- # * :billable_status (CandidApiClient::Encounters::V4::Types::BillableStatusType)
592
- # * :responsible_party (CandidApiClient::Encounters::V4::Types::ResponsiblePartyType)
593
- # * :provider_accepts_assignment (Boolean)
594
- # * :synchronicity (CandidApiClient::Encounters::V4::Types::SynchronicityType)
595
- # * :place_of_service_code (CandidApiClient::Commons::Types::FacilityTypeCode)
596
- # * :appointment_type (String)
597
- # * :end_date_of_service (Date)
598
- # * :additional_information (String)
599
- # * :service_authorization_exception_code (CandidApiClient::Encounters::V4::Types::ServiceAuthorizationExceptionCode)
600
- # * :admission_date (Date)
601
- # * :discharge_date (Date)
602
- # * :onset_of_current_illness_or_symptom_date (Date)
603
- # * :last_menstrual_period_date (Date)
604
- # * :delay_reason_code (CandidApiClient::Commons::Types::DelayReasonCode)
605
- # * :patient_authorized_release (Boolean)
606
- # * :referral_number (String)
607
- # * :secondary_payer_carrier_code (String)
608
- # @param charge_external_id [String] A client-specified unique ID to associate with this encounter; for example, your
609
- # internal encounter ID or a Dr. Chrono encounter ID. This field should not
610
- # contain PHI.
611
- # @param pre_encounter_patient_id [String]
612
- # @param pre_encounter_appointment_ids [Array<String>]
613
- # @param originating_system [String] An optional string field denoting the originating system of the charge.
614
- # @param claim_creation_category [String] An optional string field denoting the user defined category of the claim
615
- # creation.
616
- # @param ehr_source_url [String] External URL reference that links to Charge Capture details within the external
617
- # system (e.g. the EHR visit page). Send full URL format for the external link
618
- # (e.g. https://emr_charge_capture_url.com/123).
619
- # @param status [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureStatus] the status of the charge capture
620
- # @param request_options [CandidApiClient::RequestOptions]
621
- # @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCapture]
622
- # @example
623
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
624
- # api.charge_capture.v_1.create_from_pre_encounter_patient(
625
- # data: { },
626
- # charge_external_id: "charge_external_id",
627
- # pre_encounter_patient_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
628
- # pre_encounter_appointment_ids: ["d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"],
629
- # status: PLANNED
630
- # )
631
- def create_from_pre_encounter_patient(data:, charge_external_id:, pre_encounter_patient_id:,
632
- pre_encounter_appointment_ids:, status:, originating_system: nil, claim_creation_category: nil, ehr_source_url: nil, request_options: nil)
633
- response = @request_client.conn.post do |req|
634
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
635
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
636
- req.headers = {
637
- **(req.headers || {}),
638
- **@request_client.get_headers,
639
- **(request_options&.additional_headers || {})
640
- }.compact
641
- req.body = {
642
- **(request_options&.additional_body_parameters || {}),
643
- data: data,
644
- charge_external_id: charge_external_id,
645
- pre_encounter_patient_id: pre_encounter_patient_id,
646
- pre_encounter_appointment_ids: pre_encounter_appointment_ids,
647
- originating_system: originating_system,
648
- claim_creation_category: claim_creation_category,
649
- ehr_source_url: ehr_source_url,
650
- status: status
651
- }.compact
652
- req.url "#{@request_client.get_url(environment: CandidApi,
653
- request_options: request_options)}/api/charge_captures/v1/create-from-pre-encounter"
654
- end
655
- CandidApiClient::ChargeCapture::V1::Types::ChargeCapture.from_json(json_object: response.body)
656
- end
657
-
658
- # @param charge_capture_id [String]
659
- # @param data [Hash] Request of type CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureData, as a Hash
660
- # * :vitals (Hash)
661
- # * :height_in (Integer)
662
- # * :weight_lbs (Integer)
663
- # * :blood_pressure_systolic_mmhg (Integer)
664
- # * :blood_pressure_diastolic_mmhg (Integer)
665
- # * :body_temperature_f (Float)
666
- # * :hemoglobin_gdl (Float)
667
- # * :hematocrit_pct (Float)
668
- # * :diagnoses (Array<CandidApiClient::Diagnoses::Types::DiagnosisCreateOptional>)
669
- # * :clinical_notes (Array<CandidApiClient::Encounters::V4::Types::ClinicalNoteCategoryCreateOptional>)
670
- # * :claim_supplemental_information (Array<CandidApiClient::Encounters::V4::Types::ClaimSupplementalInformationOptional>)
671
- # * :epsdt_referral (Hash)
672
- # * :condition_indicator_1 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
673
- # * :condition_indicator_2 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
674
- # * :condition_indicator_3 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
675
- # * :existing_medications (Array<CandidApiClient::Encounters::V4::Types::MedicationOptional>)
676
- # * :guarantor (Hash)
677
- # * :first_name (String)
678
- # * :last_name (String)
679
- # * :external_id (String)
680
- # * :date_of_birth (Date)
681
- # * :address (Hash)
682
- # * :zip_plus_four_code (String)
683
- # * :address_1 (String)
684
- # * :address_2 (String)
685
- # * :city (String)
686
- # * :state (CandidApiClient::Commons::Types::State)
687
- # * :zip_code (String)
688
- # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumberOptional>)
689
- # * :phone_consent (Boolean)
690
- # * :email (String)
691
- # * :email_consent (Boolean)
692
- # * :auto_charge_consent (Boolean)
693
- # * :subscriber_primary (Hash)
694
- # * :insurance_card (Hash)
695
- # * :member_id (String)
696
- # * :payer_name (String)
697
- # * :payer_id (String)
698
- # * :rx_bin (String)
699
- # * :rx_pcn (String)
700
- # * :image_url_front (String)
701
- # * :image_url_back (String)
702
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
703
- # * :group_number (String)
704
- # * :plan_name (String)
705
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
706
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
707
- # * :payer_plan_group_id (String)
708
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
709
- # * :date_of_birth (Date)
710
- # * :address (Hash)
711
- # * :zip_plus_four_code (String)
712
- # * :address_1 (String)
713
- # * :address_2 (String)
714
- # * :city (String)
715
- # * :state (CandidApiClient::Commons::Types::State)
716
- # * :zip_code (String)
717
- # * :first_name (String)
718
- # * :last_name (String)
719
- # * :gender (CandidApiClient::Individual::Types::Gender)
720
- # * :subscriber_secondary (Hash)
721
- # * :insurance_card (Hash)
722
- # * :member_id (String)
723
- # * :payer_name (String)
724
- # * :payer_id (String)
725
- # * :rx_bin (String)
726
- # * :rx_pcn (String)
727
- # * :image_url_front (String)
728
- # * :image_url_back (String)
729
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
730
- # * :group_number (String)
731
- # * :plan_name (String)
732
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
733
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
734
- # * :payer_plan_group_id (String)
735
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
736
- # * :date_of_birth (Date)
737
- # * :address (Hash)
738
- # * :zip_plus_four_code (String)
739
- # * :address_1 (String)
740
- # * :address_2 (String)
741
- # * :city (String)
742
- # * :state (CandidApiClient::Commons::Types::State)
743
- # * :zip_code (String)
744
- # * :first_name (String)
745
- # * :last_name (String)
746
- # * :gender (CandidApiClient::Individual::Types::Gender)
747
- # * :subscriber_tertiary (Hash)
748
- # * :insurance_card (Hash)
749
- # * :member_id (String)
750
- # * :payer_name (String)
751
- # * :payer_id (String)
752
- # * :rx_bin (String)
753
- # * :rx_pcn (String)
754
- # * :image_url_front (String)
755
- # * :image_url_back (String)
756
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
757
- # * :group_number (String)
758
- # * :plan_name (String)
759
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
760
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
761
- # * :payer_plan_group_id (String)
762
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
763
- # * :date_of_birth (Date)
764
- # * :address (Hash)
765
- # * :zip_plus_four_code (String)
766
- # * :address_1 (String)
767
- # * :address_2 (String)
768
- # * :city (String)
769
- # * :state (CandidApiClient::Commons::Types::State)
770
- # * :zip_code (String)
771
- # * :first_name (String)
772
- # * :last_name (String)
773
- # * :gender (CandidApiClient::Individual::Types::Gender)
774
- # * :interventions (Array<CandidApiClient::Encounters::V4::Types::InterventionOptional>)
775
- # * :schema_instances (Array<CandidApiClient::CustomSchemas::V1::Types::SchemaInstanceOptional>)
776
- # * :external_claim_submission (Hash)
777
- # * :claim_created_at (DateTime)
778
- # * :patient_control_number (String)
779
- # * :submission_records (Array<CandidApiClient::ClaimSubmission::V1::Types::ClaimSubmissionRecordCreateOptional>)
780
- # * :service_lines (Array<CandidApiClient::ServiceLines::V2::Types::ServiceLineCreateOptional>)
781
- # * :patient_histories (Array<CandidApiClient::Encounters::V4::Types::PatientHistoryCategoryOptional>)
782
- # * :billing_notes (Array<CandidApiClient::BillingNotes::V2::Types::BillingNoteBaseOptional>)
783
- # * :patient (Hash)
784
- # * :first_name (String)
785
- # * :last_name (String)
786
- # * :gender (CandidApiClient::Individual::Types::Gender)
787
- # * :external_id (String)
788
- # * :date_of_birth (Date)
789
- # * :address (Hash)
790
- # * :zip_plus_four_code (String)
791
- # * :address_1 (String)
792
- # * :address_2 (String)
793
- # * :city (String)
794
- # * :state (CandidApiClient::Commons::Types::State)
795
- # * :zip_code (String)
796
- # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumberOptional>)
797
- # * :phone_consent (Boolean)
798
- # * :email (String)
799
- # * :email_consent (Boolean)
800
- # * :auto_charge_consent (Boolean)
801
- # * :non_insurance_payers (Array<String>)
802
- # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreateOptional>)
803
- # * :service_facility (Hash)
804
- # * :organization_name (String)
805
- # * :npi (String)
806
- # * :address (Hash)
807
- # * :zip_plus_four_code (String)
808
- # * :address_1 (String)
809
- # * :address_2 (String)
810
- # * :city (String)
811
- # * :state (CandidApiClient::Commons::Types::State)
812
- # * :zip_code (String)
813
- # * :secondary_identification (String)
814
- # * :rendering_provider (Hash)
815
- # * :npi (String)
816
- # * :taxonomy_code (String)
817
- # * :address (Hash)
818
- # * :zip_plus_four_code (String)
819
- # * :address_1 (String)
820
- # * :address_2 (String)
821
- # * :city (String)
822
- # * :state (CandidApiClient::Commons::Types::State)
823
- # * :zip_code (String)
824
- # * :first_name (String)
825
- # * :last_name (String)
826
- # * :organization_name (String)
827
- # * :initial_referring_provider (Hash)
828
- # * :npi (String)
829
- # * :taxonomy_code (String)
830
- # * :address (Hash)
831
- # * :zip_plus_four_code (String)
832
- # * :address_1 (String)
833
- # * :address_2 (String)
834
- # * :city (String)
835
- # * :state (CandidApiClient::Commons::Types::State)
836
- # * :zip_code (String)
837
- # * :qualifier (CandidApiClient::Commons::Types::QualifierCode)
838
- # * :first_name (String)
839
- # * :last_name (String)
840
- # * :organization_name (String)
841
- # * :referring_provider (Hash)
842
- # * :npi (String)
843
- # * :taxonomy_code (String)
844
- # * :address (Hash)
845
- # * :zip_plus_four_code (String)
846
- # * :address_1 (String)
847
- # * :address_2 (String)
848
- # * :city (String)
849
- # * :state (CandidApiClient::Commons::Types::State)
850
- # * :zip_code (String)
851
- # * :first_name (String)
852
- # * :last_name (String)
853
- # * :organization_name (String)
854
- # * :supervising_provider (Hash)
855
- # * :npi (String)
856
- # * :taxonomy_code (String)
857
- # * :address (Hash)
858
- # * :zip_plus_four_code (String)
859
- # * :address_1 (String)
860
- # * :address_2 (String)
861
- # * :city (String)
862
- # * :state (CandidApiClient::Commons::Types::State)
863
- # * :zip_code (String)
864
- # * :first_name (String)
865
- # * :last_name (String)
866
- # * :organization_name (String)
867
- # * :billing_provider (Hash)
868
- # * :address (Hash)
869
- # * :zip_plus_four_code (String)
870
- # * :address_1 (String)
871
- # * :address_2 (String)
872
- # * :city (String)
873
- # * :state (CandidApiClient::Commons::Types::State)
874
- # * :zip_code (String)
875
- # * :tax_id (String)
876
- # * :npi (String)
877
- # * :taxonomy_code (String)
878
- # * :provider_commercial_license_type (CandidApiClient::Commons::Types::BillingProviderCommercialLicenseType)
879
- # * :first_name (String)
880
- # * :last_name (String)
881
- # * :organization_name (String)
882
- # * :pay_to_address (Hash)
883
- # * :zip_plus_four_code (String)
884
- # * :address_1 (String)
885
- # * :address_2 (String)
886
- # * :city (String)
887
- # * :state (CandidApiClient::Commons::Types::State)
888
- # * :zip_code (String)
889
- # * :benefits_assigned_to_provider (Boolean)
890
- # * :prior_authorization_number (String)
891
- # * :external_id (String)
892
- # * :date_of_service (Date)
893
- # * :tag_ids (Array<String>)
894
- # * :billable_status (CandidApiClient::Encounters::V4::Types::BillableStatusType)
895
- # * :responsible_party (CandidApiClient::Encounters::V4::Types::ResponsiblePartyType)
896
- # * :provider_accepts_assignment (Boolean)
897
- # * :synchronicity (CandidApiClient::Encounters::V4::Types::SynchronicityType)
898
- # * :place_of_service_code (CandidApiClient::Commons::Types::FacilityTypeCode)
899
- # * :appointment_type (String)
900
- # * :end_date_of_service (Date)
901
- # * :additional_information (String)
902
- # * :service_authorization_exception_code (CandidApiClient::Encounters::V4::Types::ServiceAuthorizationExceptionCode)
903
- # * :admission_date (Date)
904
- # * :discharge_date (Date)
905
- # * :onset_of_current_illness_or_symptom_date (Date)
906
- # * :last_menstrual_period_date (Date)
907
- # * :delay_reason_code (CandidApiClient::Commons::Types::DelayReasonCode)
908
- # * :patient_authorized_release (Boolean)
909
- # * :referral_number (String)
910
- # * :secondary_payer_carrier_code (String)
911
- # @param charge_external_id [String] A client-specified unique ID to associate with this encounter;
912
- # for example, your internal encounter ID or a Dr. Chrono encounter ID.
913
- # This field should not contain PHI.
914
- # @param ehr_source_url [String] External URL reference that links to Charge Capture details within the external
915
- # system (e.g. the EHR visit page).
916
- # Send full URL format for the external link (e.g.
917
- # https://emr_charge_capture_url.com/123).
918
- # @param originating_system [String] An optional string field denoting the originating system of the charge.
919
- # @param claim_creation_category [String] An optional string field denoting the user defined category of the claim
920
- # creation.
921
- # @param patient_external_id [String] The patient ID from the external EMR platform for the patient
922
- # @param status [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureStatus] the status of the charge capture
923
- # @param request_options [CandidApiClient::RequestOptions]
924
- # @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCapture]
925
- # @example
926
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
927
- # api.charge_capture.v_1.update(charge_capture_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
928
- def update(charge_capture_id:, data: nil, charge_external_id: nil, ehr_source_url: nil,
929
- originating_system: nil, claim_creation_category: nil, patient_external_id: nil, status: nil, request_options: nil)
930
- response = @request_client.conn.patch do |req|
931
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
932
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
933
- req.headers = {
934
- **(req.headers || {}),
935
- **@request_client.get_headers,
936
- **(request_options&.additional_headers || {})
937
- }.compact
938
- req.body = {
939
- **(request_options&.additional_body_parameters || {}),
940
- data: data,
941
- charge_external_id: charge_external_id,
942
- ehr_source_url: ehr_source_url,
943
- originating_system: originating_system,
944
- claim_creation_category: claim_creation_category,
945
- patient_external_id: patient_external_id,
946
- status: status
947
- }.compact
948
- req.url "#{@request_client.get_url(environment: CandidApi,
949
- request_options: request_options)}/api/charge_captures/v1/#{charge_capture_id}"
950
- end
951
- CandidApiClient::ChargeCapture::V1::Types::ChargeCapture.from_json(json_object: response.body)
952
- end
953
-
954
- # @param charge_capture_id [String]
955
- # @param request_options [CandidApiClient::RequestOptions]
956
- # @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCapture]
957
- # @example
958
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
959
- # api.charge_capture.v_1.get(charge_capture_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
960
- def get(charge_capture_id:, request_options: nil)
961
- response = @request_client.conn.get do |req|
962
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
963
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
964
- req.headers = {
965
- **(req.headers || {}),
966
- **@request_client.get_headers,
967
- **(request_options&.additional_headers || {})
968
- }.compact
969
- req.url "#{@request_client.get_url(environment: CandidApi,
970
- request_options: request_options)}/api/charge_captures/v1/#{charge_capture_id}"
971
- end
972
- CandidApiClient::ChargeCapture::V1::Types::ChargeCapture.from_json(json_object: response.body)
973
- end
974
-
975
- # @param limit [Integer] Maximum number of entities per page, defaults to 100.
976
- # @param sort [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureSortField] Defaults to created_at
977
- # @param sort_direction [CandidApiClient::Commons::Types::SortDirection] Sort direction. Defaults to descending order if not provided.
978
- # @param page_token [String]
979
- # @param patient_external_id [String] The patient ID from the external EMR platform for the patient
980
- # @param status [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureStatus] the status of the charge captures
981
- # @param charge_external_id [String] A client-specified unique ID to associate with this encounter;
982
- # for example, your internal encounter ID or a Dr. Chrono encounter ID.
983
- # This field should not contain PHI.
984
- # @param date_of_service_min [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
985
- # This date must be the local date in the timezone where the service occurred.
986
- # @param date_of_service_max [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
987
- # This date must be the local date in the timezone where the service occurred.
988
- # @param claim_ids [String] A list of claim IDs to filter by. This will return all charge captures that have
989
- # a resulting claim with one of the IDs in this list.
990
- # @param claim_creation_ids [String] A list of Claim Creation IDs to filter by.
991
- # @param billing_provider_npis [String] A list of billing provider NPIs to filter by. This will return all charge
992
- # captures with one of the NPIs in this list.
993
- # @param service_facility_name [String] A string to filter by. This will return all charge captures with this service
994
- # facility name.
995
- # @param primary_payer_ids [String] A list of primary payer IDs to filter by. This will return all charge captures
996
- # with one of the primary payer IDs in this list.
997
- # @param rendering_provider_npis [String] A list of rendering provider NPIs to filter by. This will return all charge
998
- # captures with one of the NPIs in this list.
999
- # @param rendering_provider_names [String] A list of rendering provider names to filter by. This will return all charge
1000
- # captures with one of the names in this list.
1001
- # @param supervising_provider_npis [String] A list of supervising provider NPIs to filter by. This will return all charge
1002
- # captures with one of the NPIs in this list.
1003
- # @param supervising_provider_names [String] A list of supervising provider names to filter by. This will return all charge
1004
- # captures with one of the names in this list.
1005
- # @param claim_creation_category [String] A list of claim creation categories to filter by. This will return all charge
1006
- # capture claim_creations which include one or more charges with one of the names
1007
- # in this list.
1008
- # @param tags [String] A list of tags to filter by. This will return all charge captures with one of
1009
- # the tags.
1010
- # @param primary_payer_names [String] A list of primary payer names to filter by. This will return all charge captures
1011
- # with one of the names.
1012
- # @param patient_names [String] A list of patient names to filter by. This will return all charge captures with
1013
- # one of the names.
1014
- # @param exclude_charges_linked_to_claims [Boolean] Whether to exclude charge captures which are part of a claim creation.
1015
- # @param patient_external_id_ranked_sort [String] The patient ID from the external EMR platform for the patient
1016
- # @param status_ranked_sort [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureStatus] The charge capture status to show first
1017
- # @param charge_external_id_ranked_sort [String] A client-specified unique ID to associate with this encounter;
1018
- # for example, your internal encounter ID or a Dr. Chrono encounter ID.
1019
- # This field should not contain PHI.
1020
- # @param date_of_service_min_ranked_sort [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
1021
- # This date must be the local date in the timezone where the service occurred.
1022
- # @param date_of_service_max_ranked_sort [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
1023
- # This date must be the local date in the timezone where the service occurred.
1024
- # @param search_term [String] Filter by any of the following fields: charge_id, claim_id, patient external_id,
1025
- # patient date of birth, patient first name, patient last name,
1026
- # or charge external id.
1027
- # @param billable_status [CandidApiClient::Encounters::V4::Types::BillableStatusType] Defines if the Encounter is to be billed by Candid to the responsible_party.
1028
- # Examples for when this should be set to NOT_BILLABLE include if the Encounter
1029
- # has not occurred yet or if there is no intention of ever billing the
1030
- # responsible_party.
1031
- # @param responsible_party [CandidApiClient::Encounters::V4::Types::ResponsiblePartyType] Defines the party to be billed with the initial balance owed on the claim. Use
1032
- # SELF_PAY if you intend to bill self pay/cash pay.
1033
- # @param claim_ids_ranked_sort [String] A list of claim IDs to show first. This will return all charge captures that
1034
- # have a resulting claim with one of the IDs in this list.
1035
- # @param claim_creation_ids_ranked_sort [String] A list of Claim Creation IDs to show first.
1036
- # @param billing_provider_npis_ranked_sort [String] A list of billing provider NPIs to show first. This will return all charge
1037
- # captures with one of the NPIs in this list.
1038
- # @param service_facility_name_ranked_sort [String] A string to show first. This will return all charge captures with this service
1039
- # facility name.
1040
- # @param primary_payer_ids_ranked_sort [String] A list of primary payer IDs to show first. This will return all charge captures
1041
- # with one of the primary payer IDs in this list.
1042
- # @param rendering_provider_npis_ranked_sort [String] A list of rendering provider NPIs to show first. This will return all charge
1043
- # captures with one of the NPIs in this list.
1044
- # @param rendering_provider_names_ranked_sort [String] A list of rendering provider names to show first. This will return all charge
1045
- # captures with one of the names in this list.
1046
- # @param supervising_provider_npis_ranked_sort [String] A list of supervising provider NPIs to show first. This will return all charge
1047
- # captures with one of the NPIs in this list.
1048
- # @param supervising_provider_names_ranked_sort [String] A list of supervising provider names to show first. This will return all charge
1049
- # captures with one of the names in this list.
1050
- # @param claim_status [CandidApiClient::Claims::Types::ClaimStatus] the status of the claim to filter by created from charge capture bundle.
1051
- # @param claim_creation_category_ranked_sort [String] A list of claim creation categories to sort by. This will return all charge
1052
- # capture claim_creations which include one or more charges with one of the names
1053
- # in this list.
1054
- # @param tags_ranked_sort [String] A list of tags. This will return all charge captures with one of the tags.
1055
- # @param primary_payer_names_ranked_sort [String] A list of primary payer names to sort by. This will return all charge captures
1056
- # with one of the names.
1057
- # @param patient_names_ranked_sort [String] A list of patient names to sort by. This will return all charge captures with
1058
- # one of the names.
1059
- # @param request_options [CandidApiClient::RequestOptions]
1060
- # @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCapturePage]
1061
- # @example
1062
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
1063
- # api.charge_capture.v_1.get_all
1064
- def get_all(limit: nil, sort: nil, sort_direction: nil, page_token: nil, patient_external_id: nil, status: nil,
1065
- charge_external_id: nil, date_of_service_min: nil, date_of_service_max: nil, claim_ids: nil, claim_creation_ids: nil, billing_provider_npis: nil, service_facility_name: nil, primary_payer_ids: nil, rendering_provider_npis: nil, rendering_provider_names: nil, supervising_provider_npis: nil, supervising_provider_names: nil, claim_creation_category: nil, tags: nil, primary_payer_names: nil, patient_names: nil, exclude_charges_linked_to_claims: nil, patient_external_id_ranked_sort: nil, status_ranked_sort: nil, charge_external_id_ranked_sort: nil, date_of_service_min_ranked_sort: nil, date_of_service_max_ranked_sort: nil, search_term: nil, billable_status: nil, responsible_party: nil, claim_ids_ranked_sort: nil, claim_creation_ids_ranked_sort: nil, billing_provider_npis_ranked_sort: nil, service_facility_name_ranked_sort: nil, primary_payer_ids_ranked_sort: nil, rendering_provider_npis_ranked_sort: nil, rendering_provider_names_ranked_sort: nil, supervising_provider_npis_ranked_sort: nil, supervising_provider_names_ranked_sort: nil, claim_status: nil, claim_creation_category_ranked_sort: nil, tags_ranked_sort: nil, primary_payer_names_ranked_sort: nil, patient_names_ranked_sort: nil, request_options: nil)
1066
- response = @request_client.conn.get do |req|
1067
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
1068
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
1069
- req.headers = {
1070
- **(req.headers || {}),
1071
- **@request_client.get_headers,
1072
- **(request_options&.additional_headers || {})
1073
- }.compact
1074
- req.params = {
1075
- **(request_options&.additional_query_parameters || {}),
1076
- "limit": limit,
1077
- "sort": sort,
1078
- "sort_direction": sort_direction,
1079
- "page_token": page_token,
1080
- "patient_external_id": patient_external_id,
1081
- "status": status,
1082
- "charge_external_id": charge_external_id,
1083
- "date_of_service_min": date_of_service_min,
1084
- "date_of_service_max": date_of_service_max,
1085
- "claim_ids": claim_ids,
1086
- "claim_creation_ids": claim_creation_ids,
1087
- "billing_provider_npis": billing_provider_npis,
1088
- "service_facility_name": service_facility_name,
1089
- "primary_payer_ids": primary_payer_ids,
1090
- "rendering_provider_npis": rendering_provider_npis,
1091
- "rendering_provider_names": rendering_provider_names,
1092
- "supervising_provider_npis": supervising_provider_npis,
1093
- "supervising_provider_names": supervising_provider_names,
1094
- "claim_creation_category": claim_creation_category,
1095
- "tags": tags,
1096
- "primary_payer_names": primary_payer_names,
1097
- "patient_names": patient_names,
1098
- "exclude_charges_linked_to_claims": exclude_charges_linked_to_claims,
1099
- "patient_external_id_ranked_sort": patient_external_id_ranked_sort,
1100
- "status_ranked_sort": status_ranked_sort,
1101
- "charge_external_id_ranked_sort": charge_external_id_ranked_sort,
1102
- "date_of_service_min_ranked_sort": date_of_service_min_ranked_sort,
1103
- "date_of_service_max_ranked_sort": date_of_service_max_ranked_sort,
1104
- "search_term": search_term,
1105
- "billable_status": billable_status,
1106
- "responsible_party": responsible_party,
1107
- "claim_ids_ranked_sort": claim_ids_ranked_sort,
1108
- "claim_creation_ids_ranked_sort": claim_creation_ids_ranked_sort,
1109
- "billing_provider_npis_ranked_sort": billing_provider_npis_ranked_sort,
1110
- "service_facility_name_ranked_sort": service_facility_name_ranked_sort,
1111
- "primary_payer_ids_ranked_sort": primary_payer_ids_ranked_sort,
1112
- "rendering_provider_npis_ranked_sort": rendering_provider_npis_ranked_sort,
1113
- "rendering_provider_names_ranked_sort": rendering_provider_names_ranked_sort,
1114
- "supervising_provider_npis_ranked_sort": supervising_provider_npis_ranked_sort,
1115
- "supervising_provider_names_ranked_sort": supervising_provider_names_ranked_sort,
1116
- "claim_status": claim_status,
1117
- "claim_creation_category_ranked_sort": claim_creation_category_ranked_sort,
1118
- "tags_ranked_sort": tags_ranked_sort,
1119
- "primary_payer_names_ranked_sort": primary_payer_names_ranked_sort,
1120
- "patient_names_ranked_sort": patient_names_ranked_sort
1121
- }.compact
1122
- req.url "#{@request_client.get_url(environment: CandidApi,
1123
- request_options: request_options)}/api/charge_captures/v1"
1124
- end
1125
- CandidApiClient::ChargeCapture::V1::Types::ChargeCapturePage.from_json(json_object: response.body)
1126
- end
1127
-
1128
- # @param charge_capture_change_ids [Array<String>] A list of UUIDs corresponding to ChargeCapturePostBilledChanges.
1129
- # All of the charges sent will be marked as resolved
1130
- # @param resolved [Boolean] Whether the change has been resolved. If true, the change will be marked as
1131
- # resolved.
1132
- # If false, the change will be marked as unresolved.
1133
- # @param request_options [CandidApiClient::RequestOptions]
1134
- # @return [Array<CandidApiClient::ChargeCapture::V1::Types::ChargeCapturePostBilledChange>]
1135
- # @example
1136
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
1137
- # api.charge_capture.v_1.update_post_billed_changes(charge_capture_change_ids: ["d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"], resolved: true)
1138
- def update_post_billed_changes(charge_capture_change_ids:, resolved:, request_options: nil)
1139
- response = @request_client.conn.patch do |req|
1140
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
1141
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
1142
- req.headers = {
1143
- **(req.headers || {}),
1144
- **@request_client.get_headers,
1145
- **(request_options&.additional_headers || {})
1146
- }.compact
1147
- req.body = {
1148
- **(request_options&.additional_body_parameters || {}),
1149
- charge_capture_change_ids: charge_capture_change_ids,
1150
- resolved: resolved
1151
- }.compact
1152
- req.url "#{@request_client.get_url(environment: CandidApi,
1153
- request_options: request_options)}/api/charge_captures/v1/changes"
1154
- end
1155
- parsed_json = JSON.parse(response.body)
1156
- parsed_json&.map do |item|
1157
- item = item.to_json
1158
- CandidApiClient::ChargeCapture::V1::Types::ChargeCapturePostBilledChange.from_json(json_object: item)
1159
- end
1160
- end
1161
- end
1162
-
1163
- class AsyncV1Client
1164
- # @return [CandidApiClient::AsyncRequestClient]
1165
- attr_reader :request_client
1166
-
1167
- # @param request_client [CandidApiClient::AsyncRequestClient]
1168
- # @return [CandidApiClient::ChargeCapture::V1::AsyncV1Client]
1169
- def initialize(request_client:)
1170
- @request_client = request_client
1171
- end
1172
-
1173
- # @param data [Hash] Charge Capture data contains all the fields needed to create an encounter, but
1174
- # listed as optional. Candid will use this data when attempting to bundle multiple
1175
- # Charge Captures into a single encounter.Request of type CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureData, as a Hash
1176
- # * :vitals (Hash)
1177
- # * :height_in (Integer)
1178
- # * :weight_lbs (Integer)
1179
- # * :blood_pressure_systolic_mmhg (Integer)
1180
- # * :blood_pressure_diastolic_mmhg (Integer)
1181
- # * :body_temperature_f (Float)
1182
- # * :hemoglobin_gdl (Float)
1183
- # * :hematocrit_pct (Float)
1184
- # * :diagnoses (Array<CandidApiClient::Diagnoses::Types::DiagnosisCreateOptional>)
1185
- # * :clinical_notes (Array<CandidApiClient::Encounters::V4::Types::ClinicalNoteCategoryCreateOptional>)
1186
- # * :claim_supplemental_information (Array<CandidApiClient::Encounters::V4::Types::ClaimSupplementalInformationOptional>)
1187
- # * :epsdt_referral (Hash)
1188
- # * :condition_indicator_1 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
1189
- # * :condition_indicator_2 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
1190
- # * :condition_indicator_3 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
1191
- # * :existing_medications (Array<CandidApiClient::Encounters::V4::Types::MedicationOptional>)
1192
- # * :guarantor (Hash)
1193
- # * :first_name (String)
1194
- # * :last_name (String)
1195
- # * :external_id (String)
1196
- # * :date_of_birth (Date)
1197
- # * :address (Hash)
1198
- # * :zip_plus_four_code (String)
1199
- # * :address_1 (String)
1200
- # * :address_2 (String)
1201
- # * :city (String)
1202
- # * :state (CandidApiClient::Commons::Types::State)
1203
- # * :zip_code (String)
1204
- # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumberOptional>)
1205
- # * :phone_consent (Boolean)
1206
- # * :email (String)
1207
- # * :email_consent (Boolean)
1208
- # * :auto_charge_consent (Boolean)
1209
- # * :subscriber_primary (Hash)
1210
- # * :insurance_card (Hash)
1211
- # * :member_id (String)
1212
- # * :payer_name (String)
1213
- # * :payer_id (String)
1214
- # * :rx_bin (String)
1215
- # * :rx_pcn (String)
1216
- # * :image_url_front (String)
1217
- # * :image_url_back (String)
1218
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
1219
- # * :group_number (String)
1220
- # * :plan_name (String)
1221
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
1222
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
1223
- # * :payer_plan_group_id (String)
1224
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
1225
- # * :date_of_birth (Date)
1226
- # * :address (Hash)
1227
- # * :zip_plus_four_code (String)
1228
- # * :address_1 (String)
1229
- # * :address_2 (String)
1230
- # * :city (String)
1231
- # * :state (CandidApiClient::Commons::Types::State)
1232
- # * :zip_code (String)
1233
- # * :first_name (String)
1234
- # * :last_name (String)
1235
- # * :gender (CandidApiClient::Individual::Types::Gender)
1236
- # * :subscriber_secondary (Hash)
1237
- # * :insurance_card (Hash)
1238
- # * :member_id (String)
1239
- # * :payer_name (String)
1240
- # * :payer_id (String)
1241
- # * :rx_bin (String)
1242
- # * :rx_pcn (String)
1243
- # * :image_url_front (String)
1244
- # * :image_url_back (String)
1245
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
1246
- # * :group_number (String)
1247
- # * :plan_name (String)
1248
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
1249
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
1250
- # * :payer_plan_group_id (String)
1251
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
1252
- # * :date_of_birth (Date)
1253
- # * :address (Hash)
1254
- # * :zip_plus_four_code (String)
1255
- # * :address_1 (String)
1256
- # * :address_2 (String)
1257
- # * :city (String)
1258
- # * :state (CandidApiClient::Commons::Types::State)
1259
- # * :zip_code (String)
1260
- # * :first_name (String)
1261
- # * :last_name (String)
1262
- # * :gender (CandidApiClient::Individual::Types::Gender)
1263
- # * :subscriber_tertiary (Hash)
1264
- # * :insurance_card (Hash)
1265
- # * :member_id (String)
1266
- # * :payer_name (String)
1267
- # * :payer_id (String)
1268
- # * :rx_bin (String)
1269
- # * :rx_pcn (String)
1270
- # * :image_url_front (String)
1271
- # * :image_url_back (String)
1272
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
1273
- # * :group_number (String)
1274
- # * :plan_name (String)
1275
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
1276
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
1277
- # * :payer_plan_group_id (String)
1278
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
1279
- # * :date_of_birth (Date)
1280
- # * :address (Hash)
1281
- # * :zip_plus_four_code (String)
1282
- # * :address_1 (String)
1283
- # * :address_2 (String)
1284
- # * :city (String)
1285
- # * :state (CandidApiClient::Commons::Types::State)
1286
- # * :zip_code (String)
1287
- # * :first_name (String)
1288
- # * :last_name (String)
1289
- # * :gender (CandidApiClient::Individual::Types::Gender)
1290
- # * :interventions (Array<CandidApiClient::Encounters::V4::Types::InterventionOptional>)
1291
- # * :schema_instances (Array<CandidApiClient::CustomSchemas::V1::Types::SchemaInstanceOptional>)
1292
- # * :external_claim_submission (Hash)
1293
- # * :claim_created_at (DateTime)
1294
- # * :patient_control_number (String)
1295
- # * :submission_records (Array<CandidApiClient::ClaimSubmission::V1::Types::ClaimSubmissionRecordCreateOptional>)
1296
- # * :service_lines (Array<CandidApiClient::ServiceLines::V2::Types::ServiceLineCreateOptional>)
1297
- # * :patient_histories (Array<CandidApiClient::Encounters::V4::Types::PatientHistoryCategoryOptional>)
1298
- # * :billing_notes (Array<CandidApiClient::BillingNotes::V2::Types::BillingNoteBaseOptional>)
1299
- # * :patient (Hash)
1300
- # * :first_name (String)
1301
- # * :last_name (String)
1302
- # * :gender (CandidApiClient::Individual::Types::Gender)
1303
- # * :external_id (String)
1304
- # * :date_of_birth (Date)
1305
- # * :address (Hash)
1306
- # * :zip_plus_four_code (String)
1307
- # * :address_1 (String)
1308
- # * :address_2 (String)
1309
- # * :city (String)
1310
- # * :state (CandidApiClient::Commons::Types::State)
1311
- # * :zip_code (String)
1312
- # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumberOptional>)
1313
- # * :phone_consent (Boolean)
1314
- # * :email (String)
1315
- # * :email_consent (Boolean)
1316
- # * :auto_charge_consent (Boolean)
1317
- # * :non_insurance_payers (Array<String>)
1318
- # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreateOptional>)
1319
- # * :service_facility (Hash)
1320
- # * :organization_name (String)
1321
- # * :npi (String)
1322
- # * :address (Hash)
1323
- # * :zip_plus_four_code (String)
1324
- # * :address_1 (String)
1325
- # * :address_2 (String)
1326
- # * :city (String)
1327
- # * :state (CandidApiClient::Commons::Types::State)
1328
- # * :zip_code (String)
1329
- # * :secondary_identification (String)
1330
- # * :rendering_provider (Hash)
1331
- # * :npi (String)
1332
- # * :taxonomy_code (String)
1333
- # * :address (Hash)
1334
- # * :zip_plus_four_code (String)
1335
- # * :address_1 (String)
1336
- # * :address_2 (String)
1337
- # * :city (String)
1338
- # * :state (CandidApiClient::Commons::Types::State)
1339
- # * :zip_code (String)
1340
- # * :first_name (String)
1341
- # * :last_name (String)
1342
- # * :organization_name (String)
1343
- # * :initial_referring_provider (Hash)
1344
- # * :npi (String)
1345
- # * :taxonomy_code (String)
1346
- # * :address (Hash)
1347
- # * :zip_plus_four_code (String)
1348
- # * :address_1 (String)
1349
- # * :address_2 (String)
1350
- # * :city (String)
1351
- # * :state (CandidApiClient::Commons::Types::State)
1352
- # * :zip_code (String)
1353
- # * :qualifier (CandidApiClient::Commons::Types::QualifierCode)
1354
- # * :first_name (String)
1355
- # * :last_name (String)
1356
- # * :organization_name (String)
1357
- # * :referring_provider (Hash)
1358
- # * :npi (String)
1359
- # * :taxonomy_code (String)
1360
- # * :address (Hash)
1361
- # * :zip_plus_four_code (String)
1362
- # * :address_1 (String)
1363
- # * :address_2 (String)
1364
- # * :city (String)
1365
- # * :state (CandidApiClient::Commons::Types::State)
1366
- # * :zip_code (String)
1367
- # * :first_name (String)
1368
- # * :last_name (String)
1369
- # * :organization_name (String)
1370
- # * :supervising_provider (Hash)
1371
- # * :npi (String)
1372
- # * :taxonomy_code (String)
1373
- # * :address (Hash)
1374
- # * :zip_plus_four_code (String)
1375
- # * :address_1 (String)
1376
- # * :address_2 (String)
1377
- # * :city (String)
1378
- # * :state (CandidApiClient::Commons::Types::State)
1379
- # * :zip_code (String)
1380
- # * :first_name (String)
1381
- # * :last_name (String)
1382
- # * :organization_name (String)
1383
- # * :billing_provider (Hash)
1384
- # * :address (Hash)
1385
- # * :zip_plus_four_code (String)
1386
- # * :address_1 (String)
1387
- # * :address_2 (String)
1388
- # * :city (String)
1389
- # * :state (CandidApiClient::Commons::Types::State)
1390
- # * :zip_code (String)
1391
- # * :tax_id (String)
1392
- # * :npi (String)
1393
- # * :taxonomy_code (String)
1394
- # * :provider_commercial_license_type (CandidApiClient::Commons::Types::BillingProviderCommercialLicenseType)
1395
- # * :first_name (String)
1396
- # * :last_name (String)
1397
- # * :organization_name (String)
1398
- # * :pay_to_address (Hash)
1399
- # * :zip_plus_four_code (String)
1400
- # * :address_1 (String)
1401
- # * :address_2 (String)
1402
- # * :city (String)
1403
- # * :state (CandidApiClient::Commons::Types::State)
1404
- # * :zip_code (String)
1405
- # * :benefits_assigned_to_provider (Boolean)
1406
- # * :prior_authorization_number (String)
1407
- # * :external_id (String)
1408
- # * :date_of_service (Date)
1409
- # * :tag_ids (Array<String>)
1410
- # * :billable_status (CandidApiClient::Encounters::V4::Types::BillableStatusType)
1411
- # * :responsible_party (CandidApiClient::Encounters::V4::Types::ResponsiblePartyType)
1412
- # * :provider_accepts_assignment (Boolean)
1413
- # * :synchronicity (CandidApiClient::Encounters::V4::Types::SynchronicityType)
1414
- # * :place_of_service_code (CandidApiClient::Commons::Types::FacilityTypeCode)
1415
- # * :appointment_type (String)
1416
- # * :end_date_of_service (Date)
1417
- # * :additional_information (String)
1418
- # * :service_authorization_exception_code (CandidApiClient::Encounters::V4::Types::ServiceAuthorizationExceptionCode)
1419
- # * :admission_date (Date)
1420
- # * :discharge_date (Date)
1421
- # * :onset_of_current_illness_or_symptom_date (Date)
1422
- # * :last_menstrual_period_date (Date)
1423
- # * :delay_reason_code (CandidApiClient::Commons::Types::DelayReasonCode)
1424
- # * :patient_authorized_release (Boolean)
1425
- # * :referral_number (String)
1426
- # * :secondary_payer_carrier_code (String)
1427
- # @param charge_external_id [String] A client-specified unique ID to associate with this encounter; for example, your
1428
- # internal encounter ID or a Dr. Chrono encounter ID. This field should not
1429
- # contain PHI.
1430
- # @param originating_system [String] An optional string field denoting the originating system of the charge.
1431
- # @param claim_creation_category [String] An optional string field denoting the user defined category of the claim
1432
- # creation.
1433
- # @param ehr_source_url [String] External URL reference that links to Charge Capture details within the external
1434
- # system (e.g. the EHR visit page). Send full URL format for the external link
1435
- # (e.g. https://emr_charge_capture_url.com/123).
1436
- # @param patient_external_id [String] The patient ID from the external EMR platform for the patient
1437
- # @param status [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureStatus] the status of the charge capture
1438
- # @param request_options [CandidApiClient::RequestOptions]
1439
- # @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCapture]
1440
- # @example
1441
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
1442
- # api.charge_capture.v_1.create(
1443
- # data: { },
1444
- # charge_external_id: "charge_external_id",
1445
- # patient_external_id: "patient_external_id",
1446
- # status: PLANNED
1447
- # )
1448
- def create(data:, charge_external_id:, patient_external_id:, status:, originating_system: nil, claim_creation_category: nil,
1449
- ehr_source_url: nil, request_options: nil)
1450
- Async do
1451
- response = @request_client.conn.post do |req|
1452
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
1453
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
1454
- req.headers = {
1455
- **(req.headers || {}),
1456
- **@request_client.get_headers,
1457
- **(request_options&.additional_headers || {})
1458
- }.compact
1459
- req.body = {
1460
- **(request_options&.additional_body_parameters || {}),
1461
- data: data,
1462
- charge_external_id: charge_external_id,
1463
- originating_system: originating_system,
1464
- claim_creation_category: claim_creation_category,
1465
- ehr_source_url: ehr_source_url,
1466
- patient_external_id: patient_external_id,
1467
- status: status
1468
- }.compact
1469
- req.url "#{@request_client.get_url(environment: CandidApi,
1470
- request_options: request_options)}/api/charge_captures/v1"
1471
- end
1472
- CandidApiClient::ChargeCapture::V1::Types::ChargeCapture.from_json(json_object: response.body)
1473
- end
1474
- end
1475
-
1476
- # Create a Charge Capture from a pre-encounter patient and appointment. This
1477
- # endpoint is intended to be used by consumers who are managing
1478
- # patients and appointments in the pre-encounter service and is currently under
1479
- # development. Consumers who are not taking advantage
1480
- # of the pre-encounter service should use the standard create endpoint.
1481
- # At encounter creation time, information from the provided patient and
1482
- # appointment objects will be populated
1483
- # where applicable. In particular, the following fields are populated from the
1484
- # patient and appointment objects:
1485
- # - Patient
1486
- # - Referring Provider
1487
- # - Subscriber Primary
1488
- # - Subscriber Secondary
1489
- # - Referral Number
1490
- # - Responsible Party
1491
- # - Guarantor
1492
- # Note that these fields should not be populated in the ChargeCaptureData property
1493
- # of this endpoint, as they will be overwritten at encounter creation time.
1494
- # Utilizing this endpoint opts you into automatic updating of the encounter when
1495
- # the patient or appointment is updated, assuming the
1496
- # encounter has not already been submitted or adjudicated.
1497
- #
1498
- # @param data [Hash] Charge Capture data contains all the fields needed to create an encounter, but
1499
- # listed as optional. Candid will use this data when attempting to bundle multiple
1500
- # Charge Captures into a single encounter.Request of type CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureData, as a Hash
1501
- # * :vitals (Hash)
1502
- # * :height_in (Integer)
1503
- # * :weight_lbs (Integer)
1504
- # * :blood_pressure_systolic_mmhg (Integer)
1505
- # * :blood_pressure_diastolic_mmhg (Integer)
1506
- # * :body_temperature_f (Float)
1507
- # * :hemoglobin_gdl (Float)
1508
- # * :hematocrit_pct (Float)
1509
- # * :diagnoses (Array<CandidApiClient::Diagnoses::Types::DiagnosisCreateOptional>)
1510
- # * :clinical_notes (Array<CandidApiClient::Encounters::V4::Types::ClinicalNoteCategoryCreateOptional>)
1511
- # * :claim_supplemental_information (Array<CandidApiClient::Encounters::V4::Types::ClaimSupplementalInformationOptional>)
1512
- # * :epsdt_referral (Hash)
1513
- # * :condition_indicator_1 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
1514
- # * :condition_indicator_2 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
1515
- # * :condition_indicator_3 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
1516
- # * :existing_medications (Array<CandidApiClient::Encounters::V4::Types::MedicationOptional>)
1517
- # * :guarantor (Hash)
1518
- # * :first_name (String)
1519
- # * :last_name (String)
1520
- # * :external_id (String)
1521
- # * :date_of_birth (Date)
1522
- # * :address (Hash)
1523
- # * :zip_plus_four_code (String)
1524
- # * :address_1 (String)
1525
- # * :address_2 (String)
1526
- # * :city (String)
1527
- # * :state (CandidApiClient::Commons::Types::State)
1528
- # * :zip_code (String)
1529
- # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumberOptional>)
1530
- # * :phone_consent (Boolean)
1531
- # * :email (String)
1532
- # * :email_consent (Boolean)
1533
- # * :auto_charge_consent (Boolean)
1534
- # * :subscriber_primary (Hash)
1535
- # * :insurance_card (Hash)
1536
- # * :member_id (String)
1537
- # * :payer_name (String)
1538
- # * :payer_id (String)
1539
- # * :rx_bin (String)
1540
- # * :rx_pcn (String)
1541
- # * :image_url_front (String)
1542
- # * :image_url_back (String)
1543
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
1544
- # * :group_number (String)
1545
- # * :plan_name (String)
1546
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
1547
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
1548
- # * :payer_plan_group_id (String)
1549
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
1550
- # * :date_of_birth (Date)
1551
- # * :address (Hash)
1552
- # * :zip_plus_four_code (String)
1553
- # * :address_1 (String)
1554
- # * :address_2 (String)
1555
- # * :city (String)
1556
- # * :state (CandidApiClient::Commons::Types::State)
1557
- # * :zip_code (String)
1558
- # * :first_name (String)
1559
- # * :last_name (String)
1560
- # * :gender (CandidApiClient::Individual::Types::Gender)
1561
- # * :subscriber_secondary (Hash)
1562
- # * :insurance_card (Hash)
1563
- # * :member_id (String)
1564
- # * :payer_name (String)
1565
- # * :payer_id (String)
1566
- # * :rx_bin (String)
1567
- # * :rx_pcn (String)
1568
- # * :image_url_front (String)
1569
- # * :image_url_back (String)
1570
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
1571
- # * :group_number (String)
1572
- # * :plan_name (String)
1573
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
1574
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
1575
- # * :payer_plan_group_id (String)
1576
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
1577
- # * :date_of_birth (Date)
1578
- # * :address (Hash)
1579
- # * :zip_plus_four_code (String)
1580
- # * :address_1 (String)
1581
- # * :address_2 (String)
1582
- # * :city (String)
1583
- # * :state (CandidApiClient::Commons::Types::State)
1584
- # * :zip_code (String)
1585
- # * :first_name (String)
1586
- # * :last_name (String)
1587
- # * :gender (CandidApiClient::Individual::Types::Gender)
1588
- # * :subscriber_tertiary (Hash)
1589
- # * :insurance_card (Hash)
1590
- # * :member_id (String)
1591
- # * :payer_name (String)
1592
- # * :payer_id (String)
1593
- # * :rx_bin (String)
1594
- # * :rx_pcn (String)
1595
- # * :image_url_front (String)
1596
- # * :image_url_back (String)
1597
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
1598
- # * :group_number (String)
1599
- # * :plan_name (String)
1600
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
1601
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
1602
- # * :payer_plan_group_id (String)
1603
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
1604
- # * :date_of_birth (Date)
1605
- # * :address (Hash)
1606
- # * :zip_plus_four_code (String)
1607
- # * :address_1 (String)
1608
- # * :address_2 (String)
1609
- # * :city (String)
1610
- # * :state (CandidApiClient::Commons::Types::State)
1611
- # * :zip_code (String)
1612
- # * :first_name (String)
1613
- # * :last_name (String)
1614
- # * :gender (CandidApiClient::Individual::Types::Gender)
1615
- # * :interventions (Array<CandidApiClient::Encounters::V4::Types::InterventionOptional>)
1616
- # * :schema_instances (Array<CandidApiClient::CustomSchemas::V1::Types::SchemaInstanceOptional>)
1617
- # * :external_claim_submission (Hash)
1618
- # * :claim_created_at (DateTime)
1619
- # * :patient_control_number (String)
1620
- # * :submission_records (Array<CandidApiClient::ClaimSubmission::V1::Types::ClaimSubmissionRecordCreateOptional>)
1621
- # * :service_lines (Array<CandidApiClient::ServiceLines::V2::Types::ServiceLineCreateOptional>)
1622
- # * :patient_histories (Array<CandidApiClient::Encounters::V4::Types::PatientHistoryCategoryOptional>)
1623
- # * :billing_notes (Array<CandidApiClient::BillingNotes::V2::Types::BillingNoteBaseOptional>)
1624
- # * :patient (Hash)
1625
- # * :first_name (String)
1626
- # * :last_name (String)
1627
- # * :gender (CandidApiClient::Individual::Types::Gender)
1628
- # * :external_id (String)
1629
- # * :date_of_birth (Date)
1630
- # * :address (Hash)
1631
- # * :zip_plus_four_code (String)
1632
- # * :address_1 (String)
1633
- # * :address_2 (String)
1634
- # * :city (String)
1635
- # * :state (CandidApiClient::Commons::Types::State)
1636
- # * :zip_code (String)
1637
- # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumberOptional>)
1638
- # * :phone_consent (Boolean)
1639
- # * :email (String)
1640
- # * :email_consent (Boolean)
1641
- # * :auto_charge_consent (Boolean)
1642
- # * :non_insurance_payers (Array<String>)
1643
- # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreateOptional>)
1644
- # * :service_facility (Hash)
1645
- # * :organization_name (String)
1646
- # * :npi (String)
1647
- # * :address (Hash)
1648
- # * :zip_plus_four_code (String)
1649
- # * :address_1 (String)
1650
- # * :address_2 (String)
1651
- # * :city (String)
1652
- # * :state (CandidApiClient::Commons::Types::State)
1653
- # * :zip_code (String)
1654
- # * :secondary_identification (String)
1655
- # * :rendering_provider (Hash)
1656
- # * :npi (String)
1657
- # * :taxonomy_code (String)
1658
- # * :address (Hash)
1659
- # * :zip_plus_four_code (String)
1660
- # * :address_1 (String)
1661
- # * :address_2 (String)
1662
- # * :city (String)
1663
- # * :state (CandidApiClient::Commons::Types::State)
1664
- # * :zip_code (String)
1665
- # * :first_name (String)
1666
- # * :last_name (String)
1667
- # * :organization_name (String)
1668
- # * :initial_referring_provider (Hash)
1669
- # * :npi (String)
1670
- # * :taxonomy_code (String)
1671
- # * :address (Hash)
1672
- # * :zip_plus_four_code (String)
1673
- # * :address_1 (String)
1674
- # * :address_2 (String)
1675
- # * :city (String)
1676
- # * :state (CandidApiClient::Commons::Types::State)
1677
- # * :zip_code (String)
1678
- # * :qualifier (CandidApiClient::Commons::Types::QualifierCode)
1679
- # * :first_name (String)
1680
- # * :last_name (String)
1681
- # * :organization_name (String)
1682
- # * :referring_provider (Hash)
1683
- # * :npi (String)
1684
- # * :taxonomy_code (String)
1685
- # * :address (Hash)
1686
- # * :zip_plus_four_code (String)
1687
- # * :address_1 (String)
1688
- # * :address_2 (String)
1689
- # * :city (String)
1690
- # * :state (CandidApiClient::Commons::Types::State)
1691
- # * :zip_code (String)
1692
- # * :first_name (String)
1693
- # * :last_name (String)
1694
- # * :organization_name (String)
1695
- # * :supervising_provider (Hash)
1696
- # * :npi (String)
1697
- # * :taxonomy_code (String)
1698
- # * :address (Hash)
1699
- # * :zip_plus_four_code (String)
1700
- # * :address_1 (String)
1701
- # * :address_2 (String)
1702
- # * :city (String)
1703
- # * :state (CandidApiClient::Commons::Types::State)
1704
- # * :zip_code (String)
1705
- # * :first_name (String)
1706
- # * :last_name (String)
1707
- # * :organization_name (String)
1708
- # * :billing_provider (Hash)
1709
- # * :address (Hash)
1710
- # * :zip_plus_four_code (String)
1711
- # * :address_1 (String)
1712
- # * :address_2 (String)
1713
- # * :city (String)
1714
- # * :state (CandidApiClient::Commons::Types::State)
1715
- # * :zip_code (String)
1716
- # * :tax_id (String)
1717
- # * :npi (String)
1718
- # * :taxonomy_code (String)
1719
- # * :provider_commercial_license_type (CandidApiClient::Commons::Types::BillingProviderCommercialLicenseType)
1720
- # * :first_name (String)
1721
- # * :last_name (String)
1722
- # * :organization_name (String)
1723
- # * :pay_to_address (Hash)
1724
- # * :zip_plus_four_code (String)
1725
- # * :address_1 (String)
1726
- # * :address_2 (String)
1727
- # * :city (String)
1728
- # * :state (CandidApiClient::Commons::Types::State)
1729
- # * :zip_code (String)
1730
- # * :benefits_assigned_to_provider (Boolean)
1731
- # * :prior_authorization_number (String)
1732
- # * :external_id (String)
1733
- # * :date_of_service (Date)
1734
- # * :tag_ids (Array<String>)
1735
- # * :billable_status (CandidApiClient::Encounters::V4::Types::BillableStatusType)
1736
- # * :responsible_party (CandidApiClient::Encounters::V4::Types::ResponsiblePartyType)
1737
- # * :provider_accepts_assignment (Boolean)
1738
- # * :synchronicity (CandidApiClient::Encounters::V4::Types::SynchronicityType)
1739
- # * :place_of_service_code (CandidApiClient::Commons::Types::FacilityTypeCode)
1740
- # * :appointment_type (String)
1741
- # * :end_date_of_service (Date)
1742
- # * :additional_information (String)
1743
- # * :service_authorization_exception_code (CandidApiClient::Encounters::V4::Types::ServiceAuthorizationExceptionCode)
1744
- # * :admission_date (Date)
1745
- # * :discharge_date (Date)
1746
- # * :onset_of_current_illness_or_symptom_date (Date)
1747
- # * :last_menstrual_period_date (Date)
1748
- # * :delay_reason_code (CandidApiClient::Commons::Types::DelayReasonCode)
1749
- # * :patient_authorized_release (Boolean)
1750
- # * :referral_number (String)
1751
- # * :secondary_payer_carrier_code (String)
1752
- # @param charge_external_id [String] A client-specified unique ID to associate with this encounter; for example, your
1753
- # internal encounter ID or a Dr. Chrono encounter ID. This field should not
1754
- # contain PHI.
1755
- # @param pre_encounter_patient_id [String]
1756
- # @param pre_encounter_appointment_ids [Array<String>]
1757
- # @param originating_system [String] An optional string field denoting the originating system of the charge.
1758
- # @param claim_creation_category [String] An optional string field denoting the user defined category of the claim
1759
- # creation.
1760
- # @param ehr_source_url [String] External URL reference that links to Charge Capture details within the external
1761
- # system (e.g. the EHR visit page). Send full URL format for the external link
1762
- # (e.g. https://emr_charge_capture_url.com/123).
1763
- # @param status [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureStatus] the status of the charge capture
1764
- # @param request_options [CandidApiClient::RequestOptions]
1765
- # @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCapture]
1766
- # @example
1767
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
1768
- # api.charge_capture.v_1.create_from_pre_encounter_patient(
1769
- # data: { },
1770
- # charge_external_id: "charge_external_id",
1771
- # pre_encounter_patient_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
1772
- # pre_encounter_appointment_ids: ["d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"],
1773
- # status: PLANNED
1774
- # )
1775
- def create_from_pre_encounter_patient(data:, charge_external_id:, pre_encounter_patient_id:,
1776
- pre_encounter_appointment_ids:, status:, originating_system: nil, claim_creation_category: nil, ehr_source_url: nil, request_options: nil)
1777
- Async do
1778
- response = @request_client.conn.post do |req|
1779
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
1780
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
1781
- req.headers = {
1782
- **(req.headers || {}),
1783
- **@request_client.get_headers,
1784
- **(request_options&.additional_headers || {})
1785
- }.compact
1786
- req.body = {
1787
- **(request_options&.additional_body_parameters || {}),
1788
- data: data,
1789
- charge_external_id: charge_external_id,
1790
- pre_encounter_patient_id: pre_encounter_patient_id,
1791
- pre_encounter_appointment_ids: pre_encounter_appointment_ids,
1792
- originating_system: originating_system,
1793
- claim_creation_category: claim_creation_category,
1794
- ehr_source_url: ehr_source_url,
1795
- status: status
1796
- }.compact
1797
- req.url "#{@request_client.get_url(environment: CandidApi,
1798
- request_options: request_options)}/api/charge_captures/v1/create-from-pre-encounter"
1799
- end
1800
- CandidApiClient::ChargeCapture::V1::Types::ChargeCapture.from_json(json_object: response.body)
1801
- end
1802
- end
1803
-
1804
- # @param charge_capture_id [String]
1805
- # @param data [Hash] Request of type CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureData, as a Hash
1806
- # * :vitals (Hash)
1807
- # * :height_in (Integer)
1808
- # * :weight_lbs (Integer)
1809
- # * :blood_pressure_systolic_mmhg (Integer)
1810
- # * :blood_pressure_diastolic_mmhg (Integer)
1811
- # * :body_temperature_f (Float)
1812
- # * :hemoglobin_gdl (Float)
1813
- # * :hematocrit_pct (Float)
1814
- # * :diagnoses (Array<CandidApiClient::Diagnoses::Types::DiagnosisCreateOptional>)
1815
- # * :clinical_notes (Array<CandidApiClient::Encounters::V4::Types::ClinicalNoteCategoryCreateOptional>)
1816
- # * :claim_supplemental_information (Array<CandidApiClient::Encounters::V4::Types::ClaimSupplementalInformationOptional>)
1817
- # * :epsdt_referral (Hash)
1818
- # * :condition_indicator_1 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
1819
- # * :condition_indicator_2 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
1820
- # * :condition_indicator_3 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
1821
- # * :existing_medications (Array<CandidApiClient::Encounters::V4::Types::MedicationOptional>)
1822
- # * :guarantor (Hash)
1823
- # * :first_name (String)
1824
- # * :last_name (String)
1825
- # * :external_id (String)
1826
- # * :date_of_birth (Date)
1827
- # * :address (Hash)
1828
- # * :zip_plus_four_code (String)
1829
- # * :address_1 (String)
1830
- # * :address_2 (String)
1831
- # * :city (String)
1832
- # * :state (CandidApiClient::Commons::Types::State)
1833
- # * :zip_code (String)
1834
- # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumberOptional>)
1835
- # * :phone_consent (Boolean)
1836
- # * :email (String)
1837
- # * :email_consent (Boolean)
1838
- # * :auto_charge_consent (Boolean)
1839
- # * :subscriber_primary (Hash)
1840
- # * :insurance_card (Hash)
1841
- # * :member_id (String)
1842
- # * :payer_name (String)
1843
- # * :payer_id (String)
1844
- # * :rx_bin (String)
1845
- # * :rx_pcn (String)
1846
- # * :image_url_front (String)
1847
- # * :image_url_back (String)
1848
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
1849
- # * :group_number (String)
1850
- # * :plan_name (String)
1851
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
1852
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
1853
- # * :payer_plan_group_id (String)
1854
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
1855
- # * :date_of_birth (Date)
1856
- # * :address (Hash)
1857
- # * :zip_plus_four_code (String)
1858
- # * :address_1 (String)
1859
- # * :address_2 (String)
1860
- # * :city (String)
1861
- # * :state (CandidApiClient::Commons::Types::State)
1862
- # * :zip_code (String)
1863
- # * :first_name (String)
1864
- # * :last_name (String)
1865
- # * :gender (CandidApiClient::Individual::Types::Gender)
1866
- # * :subscriber_secondary (Hash)
1867
- # * :insurance_card (Hash)
1868
- # * :member_id (String)
1869
- # * :payer_name (String)
1870
- # * :payer_id (String)
1871
- # * :rx_bin (String)
1872
- # * :rx_pcn (String)
1873
- # * :image_url_front (String)
1874
- # * :image_url_back (String)
1875
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
1876
- # * :group_number (String)
1877
- # * :plan_name (String)
1878
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
1879
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
1880
- # * :payer_plan_group_id (String)
1881
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
1882
- # * :date_of_birth (Date)
1883
- # * :address (Hash)
1884
- # * :zip_plus_four_code (String)
1885
- # * :address_1 (String)
1886
- # * :address_2 (String)
1887
- # * :city (String)
1888
- # * :state (CandidApiClient::Commons::Types::State)
1889
- # * :zip_code (String)
1890
- # * :first_name (String)
1891
- # * :last_name (String)
1892
- # * :gender (CandidApiClient::Individual::Types::Gender)
1893
- # * :subscriber_tertiary (Hash)
1894
- # * :insurance_card (Hash)
1895
- # * :member_id (String)
1896
- # * :payer_name (String)
1897
- # * :payer_id (String)
1898
- # * :rx_bin (String)
1899
- # * :rx_pcn (String)
1900
- # * :image_url_front (String)
1901
- # * :image_url_back (String)
1902
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
1903
- # * :group_number (String)
1904
- # * :plan_name (String)
1905
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
1906
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
1907
- # * :payer_plan_group_id (String)
1908
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
1909
- # * :date_of_birth (Date)
1910
- # * :address (Hash)
1911
- # * :zip_plus_four_code (String)
1912
- # * :address_1 (String)
1913
- # * :address_2 (String)
1914
- # * :city (String)
1915
- # * :state (CandidApiClient::Commons::Types::State)
1916
- # * :zip_code (String)
1917
- # * :first_name (String)
1918
- # * :last_name (String)
1919
- # * :gender (CandidApiClient::Individual::Types::Gender)
1920
- # * :interventions (Array<CandidApiClient::Encounters::V4::Types::InterventionOptional>)
1921
- # * :schema_instances (Array<CandidApiClient::CustomSchemas::V1::Types::SchemaInstanceOptional>)
1922
- # * :external_claim_submission (Hash)
1923
- # * :claim_created_at (DateTime)
1924
- # * :patient_control_number (String)
1925
- # * :submission_records (Array<CandidApiClient::ClaimSubmission::V1::Types::ClaimSubmissionRecordCreateOptional>)
1926
- # * :service_lines (Array<CandidApiClient::ServiceLines::V2::Types::ServiceLineCreateOptional>)
1927
- # * :patient_histories (Array<CandidApiClient::Encounters::V4::Types::PatientHistoryCategoryOptional>)
1928
- # * :billing_notes (Array<CandidApiClient::BillingNotes::V2::Types::BillingNoteBaseOptional>)
1929
- # * :patient (Hash)
1930
- # * :first_name (String)
1931
- # * :last_name (String)
1932
- # * :gender (CandidApiClient::Individual::Types::Gender)
1933
- # * :external_id (String)
1934
- # * :date_of_birth (Date)
1935
- # * :address (Hash)
1936
- # * :zip_plus_four_code (String)
1937
- # * :address_1 (String)
1938
- # * :address_2 (String)
1939
- # * :city (String)
1940
- # * :state (CandidApiClient::Commons::Types::State)
1941
- # * :zip_code (String)
1942
- # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumberOptional>)
1943
- # * :phone_consent (Boolean)
1944
- # * :email (String)
1945
- # * :email_consent (Boolean)
1946
- # * :auto_charge_consent (Boolean)
1947
- # * :non_insurance_payers (Array<String>)
1948
- # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreateOptional>)
1949
- # * :service_facility (Hash)
1950
- # * :organization_name (String)
1951
- # * :npi (String)
1952
- # * :address (Hash)
1953
- # * :zip_plus_four_code (String)
1954
- # * :address_1 (String)
1955
- # * :address_2 (String)
1956
- # * :city (String)
1957
- # * :state (CandidApiClient::Commons::Types::State)
1958
- # * :zip_code (String)
1959
- # * :secondary_identification (String)
1960
- # * :rendering_provider (Hash)
1961
- # * :npi (String)
1962
- # * :taxonomy_code (String)
1963
- # * :address (Hash)
1964
- # * :zip_plus_four_code (String)
1965
- # * :address_1 (String)
1966
- # * :address_2 (String)
1967
- # * :city (String)
1968
- # * :state (CandidApiClient::Commons::Types::State)
1969
- # * :zip_code (String)
1970
- # * :first_name (String)
1971
- # * :last_name (String)
1972
- # * :organization_name (String)
1973
- # * :initial_referring_provider (Hash)
1974
- # * :npi (String)
1975
- # * :taxonomy_code (String)
1976
- # * :address (Hash)
1977
- # * :zip_plus_four_code (String)
1978
- # * :address_1 (String)
1979
- # * :address_2 (String)
1980
- # * :city (String)
1981
- # * :state (CandidApiClient::Commons::Types::State)
1982
- # * :zip_code (String)
1983
- # * :qualifier (CandidApiClient::Commons::Types::QualifierCode)
1984
- # * :first_name (String)
1985
- # * :last_name (String)
1986
- # * :organization_name (String)
1987
- # * :referring_provider (Hash)
1988
- # * :npi (String)
1989
- # * :taxonomy_code (String)
1990
- # * :address (Hash)
1991
- # * :zip_plus_four_code (String)
1992
- # * :address_1 (String)
1993
- # * :address_2 (String)
1994
- # * :city (String)
1995
- # * :state (CandidApiClient::Commons::Types::State)
1996
- # * :zip_code (String)
1997
- # * :first_name (String)
1998
- # * :last_name (String)
1999
- # * :organization_name (String)
2000
- # * :supervising_provider (Hash)
2001
- # * :npi (String)
2002
- # * :taxonomy_code (String)
2003
- # * :address (Hash)
2004
- # * :zip_plus_four_code (String)
2005
- # * :address_1 (String)
2006
- # * :address_2 (String)
2007
- # * :city (String)
2008
- # * :state (CandidApiClient::Commons::Types::State)
2009
- # * :zip_code (String)
2010
- # * :first_name (String)
2011
- # * :last_name (String)
2012
- # * :organization_name (String)
2013
- # * :billing_provider (Hash)
2014
- # * :address (Hash)
2015
- # * :zip_plus_four_code (String)
2016
- # * :address_1 (String)
2017
- # * :address_2 (String)
2018
- # * :city (String)
2019
- # * :state (CandidApiClient::Commons::Types::State)
2020
- # * :zip_code (String)
2021
- # * :tax_id (String)
2022
- # * :npi (String)
2023
- # * :taxonomy_code (String)
2024
- # * :provider_commercial_license_type (CandidApiClient::Commons::Types::BillingProviderCommercialLicenseType)
2025
- # * :first_name (String)
2026
- # * :last_name (String)
2027
- # * :organization_name (String)
2028
- # * :pay_to_address (Hash)
2029
- # * :zip_plus_four_code (String)
2030
- # * :address_1 (String)
2031
- # * :address_2 (String)
2032
- # * :city (String)
2033
- # * :state (CandidApiClient::Commons::Types::State)
2034
- # * :zip_code (String)
2035
- # * :benefits_assigned_to_provider (Boolean)
2036
- # * :prior_authorization_number (String)
2037
- # * :external_id (String)
2038
- # * :date_of_service (Date)
2039
- # * :tag_ids (Array<String>)
2040
- # * :billable_status (CandidApiClient::Encounters::V4::Types::BillableStatusType)
2041
- # * :responsible_party (CandidApiClient::Encounters::V4::Types::ResponsiblePartyType)
2042
- # * :provider_accepts_assignment (Boolean)
2043
- # * :synchronicity (CandidApiClient::Encounters::V4::Types::SynchronicityType)
2044
- # * :place_of_service_code (CandidApiClient::Commons::Types::FacilityTypeCode)
2045
- # * :appointment_type (String)
2046
- # * :end_date_of_service (Date)
2047
- # * :additional_information (String)
2048
- # * :service_authorization_exception_code (CandidApiClient::Encounters::V4::Types::ServiceAuthorizationExceptionCode)
2049
- # * :admission_date (Date)
2050
- # * :discharge_date (Date)
2051
- # * :onset_of_current_illness_or_symptom_date (Date)
2052
- # * :last_menstrual_period_date (Date)
2053
- # * :delay_reason_code (CandidApiClient::Commons::Types::DelayReasonCode)
2054
- # * :patient_authorized_release (Boolean)
2055
- # * :referral_number (String)
2056
- # * :secondary_payer_carrier_code (String)
2057
- # @param charge_external_id [String] A client-specified unique ID to associate with this encounter;
2058
- # for example, your internal encounter ID or a Dr. Chrono encounter ID.
2059
- # This field should not contain PHI.
2060
- # @param ehr_source_url [String] External URL reference that links to Charge Capture details within the external
2061
- # system (e.g. the EHR visit page).
2062
- # Send full URL format for the external link (e.g.
2063
- # https://emr_charge_capture_url.com/123).
2064
- # @param originating_system [String] An optional string field denoting the originating system of the charge.
2065
- # @param claim_creation_category [String] An optional string field denoting the user defined category of the claim
2066
- # creation.
2067
- # @param patient_external_id [String] The patient ID from the external EMR platform for the patient
2068
- # @param status [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureStatus] the status of the charge capture
2069
- # @param request_options [CandidApiClient::RequestOptions]
2070
- # @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCapture]
2071
- # @example
2072
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
2073
- # api.charge_capture.v_1.update(charge_capture_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
2074
- def update(charge_capture_id:, data: nil, charge_external_id: nil, ehr_source_url: nil,
2075
- originating_system: nil, claim_creation_category: nil, patient_external_id: nil, status: nil, request_options: nil)
2076
- Async do
2077
- response = @request_client.conn.patch do |req|
2078
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
2079
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
2080
- req.headers = {
2081
- **(req.headers || {}),
2082
- **@request_client.get_headers,
2083
- **(request_options&.additional_headers || {})
2084
- }.compact
2085
- req.body = {
2086
- **(request_options&.additional_body_parameters || {}),
2087
- data: data,
2088
- charge_external_id: charge_external_id,
2089
- ehr_source_url: ehr_source_url,
2090
- originating_system: originating_system,
2091
- claim_creation_category: claim_creation_category,
2092
- patient_external_id: patient_external_id,
2093
- status: status
2094
- }.compact
2095
- req.url "#{@request_client.get_url(environment: CandidApi,
2096
- request_options: request_options)}/api/charge_captures/v1/#{charge_capture_id}"
2097
- end
2098
- CandidApiClient::ChargeCapture::V1::Types::ChargeCapture.from_json(json_object: response.body)
2099
- end
2100
- end
2101
-
2102
- # @param charge_capture_id [String]
2103
- # @param request_options [CandidApiClient::RequestOptions]
2104
- # @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCapture]
2105
- # @example
2106
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
2107
- # api.charge_capture.v_1.get(charge_capture_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
2108
- def get(charge_capture_id:, request_options: nil)
2109
- Async do
2110
- response = @request_client.conn.get do |req|
2111
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
2112
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
2113
- req.headers = {
2114
- **(req.headers || {}),
2115
- **@request_client.get_headers,
2116
- **(request_options&.additional_headers || {})
2117
- }.compact
2118
- req.url "#{@request_client.get_url(environment: CandidApi,
2119
- request_options: request_options)}/api/charge_captures/v1/#{charge_capture_id}"
2120
- end
2121
- CandidApiClient::ChargeCapture::V1::Types::ChargeCapture.from_json(json_object: response.body)
2122
- end
2123
- end
2124
-
2125
- # @param limit [Integer] Maximum number of entities per page, defaults to 100.
2126
- # @param sort [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureSortField] Defaults to created_at
2127
- # @param sort_direction [CandidApiClient::Commons::Types::SortDirection] Sort direction. Defaults to descending order if not provided.
2128
- # @param page_token [String]
2129
- # @param patient_external_id [String] The patient ID from the external EMR platform for the patient
2130
- # @param status [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureStatus] the status of the charge captures
2131
- # @param charge_external_id [String] A client-specified unique ID to associate with this encounter;
2132
- # for example, your internal encounter ID or a Dr. Chrono encounter ID.
2133
- # This field should not contain PHI.
2134
- # @param date_of_service_min [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
2135
- # This date must be the local date in the timezone where the service occurred.
2136
- # @param date_of_service_max [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
2137
- # This date must be the local date in the timezone where the service occurred.
2138
- # @param claim_ids [String] A list of claim IDs to filter by. This will return all charge captures that have
2139
- # a resulting claim with one of the IDs in this list.
2140
- # @param claim_creation_ids [String] A list of Claim Creation IDs to filter by.
2141
- # @param billing_provider_npis [String] A list of billing provider NPIs to filter by. This will return all charge
2142
- # captures with one of the NPIs in this list.
2143
- # @param service_facility_name [String] A string to filter by. This will return all charge captures with this service
2144
- # facility name.
2145
- # @param primary_payer_ids [String] A list of primary payer IDs to filter by. This will return all charge captures
2146
- # with one of the primary payer IDs in this list.
2147
- # @param rendering_provider_npis [String] A list of rendering provider NPIs to filter by. This will return all charge
2148
- # captures with one of the NPIs in this list.
2149
- # @param rendering_provider_names [String] A list of rendering provider names to filter by. This will return all charge
2150
- # captures with one of the names in this list.
2151
- # @param supervising_provider_npis [String] A list of supervising provider NPIs to filter by. This will return all charge
2152
- # captures with one of the NPIs in this list.
2153
- # @param supervising_provider_names [String] A list of supervising provider names to filter by. This will return all charge
2154
- # captures with one of the names in this list.
2155
- # @param claim_creation_category [String] A list of claim creation categories to filter by. This will return all charge
2156
- # capture claim_creations which include one or more charges with one of the names
2157
- # in this list.
2158
- # @param tags [String] A list of tags to filter by. This will return all charge captures with one of
2159
- # the tags.
2160
- # @param primary_payer_names [String] A list of primary payer names to filter by. This will return all charge captures
2161
- # with one of the names.
2162
- # @param patient_names [String] A list of patient names to filter by. This will return all charge captures with
2163
- # one of the names.
2164
- # @param exclude_charges_linked_to_claims [Boolean] Whether to exclude charge captures which are part of a claim creation.
2165
- # @param patient_external_id_ranked_sort [String] The patient ID from the external EMR platform for the patient
2166
- # @param status_ranked_sort [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureStatus] The charge capture status to show first
2167
- # @param charge_external_id_ranked_sort [String] A client-specified unique ID to associate with this encounter;
2168
- # for example, your internal encounter ID or a Dr. Chrono encounter ID.
2169
- # This field should not contain PHI.
2170
- # @param date_of_service_min_ranked_sort [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
2171
- # This date must be the local date in the timezone where the service occurred.
2172
- # @param date_of_service_max_ranked_sort [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
2173
- # This date must be the local date in the timezone where the service occurred.
2174
- # @param search_term [String] Filter by any of the following fields: charge_id, claim_id, patient external_id,
2175
- # patient date of birth, patient first name, patient last name,
2176
- # or charge external id.
2177
- # @param billable_status [CandidApiClient::Encounters::V4::Types::BillableStatusType] Defines if the Encounter is to be billed by Candid to the responsible_party.
2178
- # Examples for when this should be set to NOT_BILLABLE include if the Encounter
2179
- # has not occurred yet or if there is no intention of ever billing the
2180
- # responsible_party.
2181
- # @param responsible_party [CandidApiClient::Encounters::V4::Types::ResponsiblePartyType] Defines the party to be billed with the initial balance owed on the claim. Use
2182
- # SELF_PAY if you intend to bill self pay/cash pay.
2183
- # @param claim_ids_ranked_sort [String] A list of claim IDs to show first. This will return all charge captures that
2184
- # have a resulting claim with one of the IDs in this list.
2185
- # @param claim_creation_ids_ranked_sort [String] A list of Claim Creation IDs to show first.
2186
- # @param billing_provider_npis_ranked_sort [String] A list of billing provider NPIs to show first. This will return all charge
2187
- # captures with one of the NPIs in this list.
2188
- # @param service_facility_name_ranked_sort [String] A string to show first. This will return all charge captures with this service
2189
- # facility name.
2190
- # @param primary_payer_ids_ranked_sort [String] A list of primary payer IDs to show first. This will return all charge captures
2191
- # with one of the primary payer IDs in this list.
2192
- # @param rendering_provider_npis_ranked_sort [String] A list of rendering provider NPIs to show first. This will return all charge
2193
- # captures with one of the NPIs in this list.
2194
- # @param rendering_provider_names_ranked_sort [String] A list of rendering provider names to show first. This will return all charge
2195
- # captures with one of the names in this list.
2196
- # @param supervising_provider_npis_ranked_sort [String] A list of supervising provider NPIs to show first. This will return all charge
2197
- # captures with one of the NPIs in this list.
2198
- # @param supervising_provider_names_ranked_sort [String] A list of supervising provider names to show first. This will return all charge
2199
- # captures with one of the names in this list.
2200
- # @param claim_status [CandidApiClient::Claims::Types::ClaimStatus] the status of the claim to filter by created from charge capture bundle.
2201
- # @param claim_creation_category_ranked_sort [String] A list of claim creation categories to sort by. This will return all charge
2202
- # capture claim_creations which include one or more charges with one of the names
2203
- # in this list.
2204
- # @param tags_ranked_sort [String] A list of tags. This will return all charge captures with one of the tags.
2205
- # @param primary_payer_names_ranked_sort [String] A list of primary payer names to sort by. This will return all charge captures
2206
- # with one of the names.
2207
- # @param patient_names_ranked_sort [String] A list of patient names to sort by. This will return all charge captures with
2208
- # one of the names.
2209
- # @param request_options [CandidApiClient::RequestOptions]
2210
- # @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCapturePage]
2211
- # @example
2212
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
2213
- # api.charge_capture.v_1.get_all
2214
- def get_all(limit: nil, sort: nil, sort_direction: nil, page_token: nil, patient_external_id: nil, status: nil,
2215
- charge_external_id: nil, date_of_service_min: nil, date_of_service_max: nil, claim_ids: nil, claim_creation_ids: nil, billing_provider_npis: nil, service_facility_name: nil, primary_payer_ids: nil, rendering_provider_npis: nil, rendering_provider_names: nil, supervising_provider_npis: nil, supervising_provider_names: nil, claim_creation_category: nil, tags: nil, primary_payer_names: nil, patient_names: nil, exclude_charges_linked_to_claims: nil, patient_external_id_ranked_sort: nil, status_ranked_sort: nil, charge_external_id_ranked_sort: nil, date_of_service_min_ranked_sort: nil, date_of_service_max_ranked_sort: nil, search_term: nil, billable_status: nil, responsible_party: nil, claim_ids_ranked_sort: nil, claim_creation_ids_ranked_sort: nil, billing_provider_npis_ranked_sort: nil, service_facility_name_ranked_sort: nil, primary_payer_ids_ranked_sort: nil, rendering_provider_npis_ranked_sort: nil, rendering_provider_names_ranked_sort: nil, supervising_provider_npis_ranked_sort: nil, supervising_provider_names_ranked_sort: nil, claim_status: nil, claim_creation_category_ranked_sort: nil, tags_ranked_sort: nil, primary_payer_names_ranked_sort: nil, patient_names_ranked_sort: nil, request_options: nil)
2216
- Async do
2217
- response = @request_client.conn.get do |req|
2218
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
2219
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
2220
- req.headers = {
2221
- **(req.headers || {}),
2222
- **@request_client.get_headers,
2223
- **(request_options&.additional_headers || {})
2224
- }.compact
2225
- req.params = {
2226
- **(request_options&.additional_query_parameters || {}),
2227
- "limit": limit,
2228
- "sort": sort,
2229
- "sort_direction": sort_direction,
2230
- "page_token": page_token,
2231
- "patient_external_id": patient_external_id,
2232
- "status": status,
2233
- "charge_external_id": charge_external_id,
2234
- "date_of_service_min": date_of_service_min,
2235
- "date_of_service_max": date_of_service_max,
2236
- "claim_ids": claim_ids,
2237
- "claim_creation_ids": claim_creation_ids,
2238
- "billing_provider_npis": billing_provider_npis,
2239
- "service_facility_name": service_facility_name,
2240
- "primary_payer_ids": primary_payer_ids,
2241
- "rendering_provider_npis": rendering_provider_npis,
2242
- "rendering_provider_names": rendering_provider_names,
2243
- "supervising_provider_npis": supervising_provider_npis,
2244
- "supervising_provider_names": supervising_provider_names,
2245
- "claim_creation_category": claim_creation_category,
2246
- "tags": tags,
2247
- "primary_payer_names": primary_payer_names,
2248
- "patient_names": patient_names,
2249
- "exclude_charges_linked_to_claims": exclude_charges_linked_to_claims,
2250
- "patient_external_id_ranked_sort": patient_external_id_ranked_sort,
2251
- "status_ranked_sort": status_ranked_sort,
2252
- "charge_external_id_ranked_sort": charge_external_id_ranked_sort,
2253
- "date_of_service_min_ranked_sort": date_of_service_min_ranked_sort,
2254
- "date_of_service_max_ranked_sort": date_of_service_max_ranked_sort,
2255
- "search_term": search_term,
2256
- "billable_status": billable_status,
2257
- "responsible_party": responsible_party,
2258
- "claim_ids_ranked_sort": claim_ids_ranked_sort,
2259
- "claim_creation_ids_ranked_sort": claim_creation_ids_ranked_sort,
2260
- "billing_provider_npis_ranked_sort": billing_provider_npis_ranked_sort,
2261
- "service_facility_name_ranked_sort": service_facility_name_ranked_sort,
2262
- "primary_payer_ids_ranked_sort": primary_payer_ids_ranked_sort,
2263
- "rendering_provider_npis_ranked_sort": rendering_provider_npis_ranked_sort,
2264
- "rendering_provider_names_ranked_sort": rendering_provider_names_ranked_sort,
2265
- "supervising_provider_npis_ranked_sort": supervising_provider_npis_ranked_sort,
2266
- "supervising_provider_names_ranked_sort": supervising_provider_names_ranked_sort,
2267
- "claim_status": claim_status,
2268
- "claim_creation_category_ranked_sort": claim_creation_category_ranked_sort,
2269
- "tags_ranked_sort": tags_ranked_sort,
2270
- "primary_payer_names_ranked_sort": primary_payer_names_ranked_sort,
2271
- "patient_names_ranked_sort": patient_names_ranked_sort
2272
- }.compact
2273
- req.url "#{@request_client.get_url(environment: CandidApi,
2274
- request_options: request_options)}/api/charge_captures/v1"
2275
- end
2276
- CandidApiClient::ChargeCapture::V1::Types::ChargeCapturePage.from_json(json_object: response.body)
2277
- end
2278
- end
2279
-
2280
- # @param charge_capture_change_ids [Array<String>] A list of UUIDs corresponding to ChargeCapturePostBilledChanges.
2281
- # All of the charges sent will be marked as resolved
2282
- # @param resolved [Boolean] Whether the change has been resolved. If true, the change will be marked as
2283
- # resolved.
2284
- # If false, the change will be marked as unresolved.
2285
- # @param request_options [CandidApiClient::RequestOptions]
2286
- # @return [Array<CandidApiClient::ChargeCapture::V1::Types::ChargeCapturePostBilledChange>]
2287
- # @example
2288
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
2289
- # api.charge_capture.v_1.update_post_billed_changes(charge_capture_change_ids: ["d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"], resolved: true)
2290
- def update_post_billed_changes(charge_capture_change_ids:, resolved:, request_options: nil)
2291
- Async do
2292
- response = @request_client.conn.patch do |req|
2293
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
2294
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
2295
- req.headers = {
2296
- **(req.headers || {}),
2297
- **@request_client.get_headers,
2298
- **(request_options&.additional_headers || {})
2299
- }.compact
2300
- req.body = {
2301
- **(request_options&.additional_body_parameters || {}),
2302
- charge_capture_change_ids: charge_capture_change_ids,
2303
- resolved: resolved
2304
- }.compact
2305
- req.url "#{@request_client.get_url(environment: CandidApi,
2306
- request_options: request_options)}/api/charge_captures/v1/changes"
2307
- end
2308
- parsed_json = JSON.parse(response.body)
2309
- parsed_json&.map do |item|
2310
- item = item.to_json
2311
- CandidApiClient::ChargeCapture::V1::Types::ChargeCapturePostBilledChange.from_json(json_object: item)
2312
- end
2313
- end
2314
- end
2315
- end
2316
- end
2317
- end
2318
- end