candidhealth 1.11.0 → 1.14.3

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 (1635) 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 +206 -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/billing_provider_commercial_license_type.rb +22 -0
  55. data/lib/candid/commons/types/claim_submission_payer_responsibility_type.rb +14 -0
  56. data/lib/candid/commons/types/clearinghouse.rb +20 -0
  57. data/lib/candid/commons/types/date_range_optional_end.rb +12 -0
  58. data/lib/candid/commons/types/delay_reason_code.rb +26 -0
  59. data/lib/candid/commons/types/emr_payer_crosswalk.rb +14 -0
  60. data/lib/candid/commons/types/entity_conflict_error_message.rb +11 -0
  61. data/lib/candid/commons/types/entity_not_found_error_message.rb +11 -0
  62. data/lib/candid/commons/types/epsdt_referral_condition_indicator_code.rb +16 -0
  63. data/lib/candid/commons/types/facility_type_code.rb +62 -0
  64. data/lib/candid/commons/types/http_service_unavailable_error_message.rb +11 -0
  65. data/lib/candid/commons/types/insurance_type_code.rb +82 -0
  66. data/lib/candid/commons/types/intended_submission_medium.rb +14 -0
  67. data/lib/candid/commons/types/network_type.rb +33 -0
  68. data/lib/candid/commons/types/next_responsible_party.rb +18 -0
  69. data/lib/candid/commons/types/organization_not_authorized_error_message.rb +11 -0
  70. data/lib/candid/commons/types/patient_relationship_to_insured_code_all.rb +36 -0
  71. data/lib/candid/commons/types/phone_number.rb +12 -0
  72. data/lib/candid/commons/types/phone_number_optional.rb +12 -0
  73. data/lib/candid/commons/types/phone_number_type.rb +15 -0
  74. data/lib/candid/commons/types/primitive.rb +16 -0
  75. data/lib/candid/commons/types/procedure_modifier.rb +423 -0
  76. data/lib/candid/commons/types/qualifier_code.rb +16 -0
  77. data/lib/candid/commons/types/region_national.rb +9 -0
  78. data/lib/candid/commons/types/region_states.rb +11 -0
  79. data/lib/candid/commons/types/regions.rb +16 -0
  80. data/lib/candid/commons/types/removable_date_range_optional_end.rb +16 -0
  81. data/lib/candid/commons/types/report_transmission_code.rb +15 -0
  82. data/lib/candid/commons/types/report_type_code.rb +73 -0
  83. data/lib/candid/commons/types/request_validation_error.rb +12 -0
  84. data/lib/candid/commons/types/resource_page.rb +12 -0
  85. data/lib/candid/commons/types/service_line_units.rb +14 -0
  86. data/lib/candid/commons/types/sort_direction.rb +14 -0
  87. data/lib/candid/commons/types/source_of_payment_code.rb +36 -0
  88. data/lib/candid/commons/types/state.rb +74 -0
  89. data/lib/candid/commons/types/street_address_base.rb +15 -0
  90. data/lib/candid/commons/types/street_address_long_zip.rb +11 -0
  91. data/lib/candid/commons/types/street_address_long_zip_optional.rb +11 -0
  92. data/lib/candid/commons/types/street_address_optional_base.rb +15 -0
  93. data/lib/candid/commons/types/street_address_short_zip.rb +11 -0
  94. data/lib/candid/commons/types/street_address_short_zip_optional.rb +11 -0
  95. data/lib/candid/commons/types/unauthorized_error_message.rb +11 -0
  96. data/lib/candid/commons/types/unprocessable_entity_error_message.rb +11 -0
  97. data/lib/candid/commons/types/updates_disabled_due_to_external_system_integration_error_message.rb +11 -0
  98. data/lib/candid/contracts/client.rb +17 -0
  99. data/lib/candid/contracts/v_2/client.rb +130 -0
  100. data/lib/candid/contracts/v_2/types/authorized_signatory.rb +18 -0
  101. data/lib/candid/contracts/v_2/types/authorized_signatory_update.rb +18 -0
  102. data/lib/candid/contracts/v_2/types/contract.rb +18 -0
  103. data/lib/candid/contracts/v_2/types/contract_base.rb +28 -0
  104. data/lib/candid/contracts/v_2/types/contract_create.rb +31 -0
  105. data/lib/candid/contracts/v_2/types/contract_invalid_expiration_date_error.rb +13 -0
  106. data/lib/candid/contracts/v_2/types/contract_is_linked_to_fee_schedule_error.rb +13 -0
  107. data/lib/candid/contracts/v_2/types/contract_sort_field.rb +20 -0
  108. data/lib/candid/contracts/v_2/types/contract_status.rb +17 -0
  109. data/lib/candid/contracts/v_2/types/contract_update.rb +30 -0
  110. data/lib/candid/contracts/v_2/types/contract_with_providers.rb +13 -0
  111. data/lib/candid/contracts/v_2/types/contracts_page.rb +15 -0
  112. data/lib/candid/contracts/v_2/types/date_update.rb +18 -0
  113. data/lib/candid/contracts/v_2/types/get_multi_contracts_request.rb +21 -0
  114. data/lib/candid/contracts/v_2/types/insurance_types.rb +19 -0
  115. data/lib/candid/contracts/v_2/types/regions_update.rb +18 -0
  116. data/lib/candid/credentialing/client.rb +17 -0
  117. data/lib/candid/credentialing/v_2/client.rb +244 -0
  118. data/lib/candid/credentialing/v_2/types/base_credentialing_span.rb +24 -0
  119. data/lib/candid/credentialing/v_2/types/credentialing_span_status.rb +18 -0
  120. data/lib/candid/credentialing/v_2/types/facility_credentialing_span.rb +16 -0
  121. data/lib/candid/credentialing/v_2/types/facility_credentialing_span_create.rb +19 -0
  122. data/lib/candid/credentialing/v_2/types/facility_credentialing_span_page.rb +15 -0
  123. data/lib/candid/credentialing/v_2/types/facility_credentialing_span_update.rb +20 -0
  124. data/lib/candid/credentialing/v_2/types/get_all_facility_credentialing_spans_request.rb +17 -0
  125. data/lib/candid/credentialing/v_2/types/get_all_provider_credentialing_spans_request.rb +18 -0
  126. data/lib/candid/credentialing/v_2/types/provider_credentialing_span.rb +19 -0
  127. data/lib/candid/credentialing/v_2/types/provider_credentialing_span_create.rb +20 -0
  128. data/lib/candid/credentialing/v_2/types/provider_credentialing_span_page.rb +15 -0
  129. data/lib/candid/credentialing/v_2/types/provider_credentialing_span_update.rb +20 -0
  130. data/lib/candid/custom_schemas/client.rb +17 -0
  131. data/lib/candid/custom_schemas/v_1/client.rb +111 -0
  132. data/lib/candid/custom_schemas/v_1/types/key_with_name_already_exists_error.rb +14 -0
  133. data/lib/candid/custom_schemas/v_1/types/schema.rb +18 -0
  134. data/lib/candid/custom_schemas/v_1/types/schema_create.rb +17 -0
  135. data/lib/candid/custom_schemas/v_1/types/schema_field.rb +14 -0
  136. data/lib/candid/custom_schemas/v_1/types/schema_get_multi_response.rb +15 -0
  137. data/lib/candid/custom_schemas/v_1/types/schema_instance.rb +16 -0
  138. data/lib/candid/custom_schemas/v_1/types/schema_instance_optional.rb +16 -0
  139. data/lib/candid/custom_schemas/v_1/types/schema_update.rb +18 -0
  140. data/lib/candid/custom_schemas/v_1/types/schema_validation_error.rb +20 -0
  141. data/lib/candid/custom_schemas/v_1/types/schema_validation_failure.rb +15 -0
  142. data/lib/candid/custom_schemas/v_1/types/schema_with_name_already_exists_error.rb +14 -0
  143. data/lib/candid/diagnoses/client.rb +83 -0
  144. data/lib/candid/diagnoses/types/diagnosis.rb +13 -0
  145. data/lib/candid/diagnoses/types/diagnosis_create.rb +16 -0
  146. data/lib/candid/diagnoses/types/diagnosis_create_optional.rb +16 -0
  147. data/lib/candid/diagnoses/types/diagnosis_not_found_error.rb +12 -0
  148. data/lib/candid/diagnoses/types/diagnosis_type_code.rb +22 -0
  149. data/lib/candid/diagnoses/types/diagnosis_update.rb +17 -0
  150. data/lib/candid/diagnoses/types/disallow_multiple_primary_diagnosis_error.rb +13 -0
  151. data/lib/candid/diagnoses/types/service_lines_must_have_at_least_one_diagnosis_error.rb +13 -0
  152. data/lib/candid/diagnoses/types/standalone_diagnosis_create.rb +11 -0
  153. data/lib/candid/eligibility/client.rb +17 -0
  154. data/lib/candid/eligibility/v_2/client.rb +127 -0
  155. data/lib/candid/encounter_attachments/client.rb +17 -0
  156. data/lib/candid/encounter_attachments/v_1/client.rb +129 -0
  157. data/lib/candid/encounter_attachments/v_1/types/base_attachment.rb +17 -0
  158. data/lib/candid/encounter_attachments/v_1/types/create_attachment_request.rb +13 -0
  159. data/lib/candid/encounter_attachments/v_1/types/create_attachment_v_2_request.rb +13 -0
  160. data/lib/candid/encounter_attachments/v_1/types/delete_attachment_request.rb +14 -0
  161. data/lib/candid/encounter_attachments/v_1/types/encounter_attachment.rb +18 -0
  162. data/lib/candid/encounter_attachments/v_1/types/encounter_attachment_type.rb +17 -0
  163. data/lib/candid/encounter_providers/client.rb +17 -0
  164. data/lib/candid/encounter_providers/v_2/client.rb +266 -0
  165. data/lib/candid/encounter_providers/v_2/types/billing_provider.rb +27 -0
  166. data/lib/candid/encounter_providers/v_2/types/billing_provider_update.rb +27 -0
  167. data/lib/candid/encounter_providers/v_2/types/billing_provider_update_with_optional_address.rb +28 -0
  168. data/lib/candid/encounter_providers/v_2/types/encounter_provider.rb +21 -0
  169. data/lib/candid/encounter_providers/v_2/types/encounter_provider_base.rb +15 -0
  170. data/lib/candid/encounter_providers/v_2/types/initial_referring_provider.rb +16 -0
  171. data/lib/candid/encounter_providers/v_2/types/initial_referring_provider_update.rb +16 -0
  172. data/lib/candid/encounter_providers/v_2/types/initial_referring_provider_update_with_optional_address.rb +16 -0
  173. data/lib/candid/encounter_providers/v_2/types/ordering_provider.rb +15 -0
  174. data/lib/candid/encounter_providers/v_2/types/ordering_provider_optional.rb +15 -0
  175. data/lib/candid/encounter_providers/v_2/types/ordering_provider_update.rb +15 -0
  176. data/lib/candid/encounter_providers/v_2/types/referring_provider.rb +15 -0
  177. data/lib/candid/encounter_providers/v_2/types/referring_provider_update.rb +15 -0
  178. data/lib/candid/encounter_providers/v_2/types/referring_provider_update_with_optional_address.rb +15 -0
  179. data/lib/candid/encounter_providers/v_2/types/rendering_provider.rb +15 -0
  180. data/lib/candid/encounter_providers/v_2/types/rendering_provider_update.rb +15 -0
  181. data/lib/candid/encounter_providers/v_2/types/rendering_provider_update_with_optional_address.rb +15 -0
  182. data/lib/candid/encounter_providers/v_2/types/supervising_provider.rb +15 -0
  183. data/lib/candid/encounter_providers/v_2/types/supervising_provider_update.rb +15 -0
  184. data/lib/candid/encounter_providers/v_2/types/supervising_provider_update_with_optional_address.rb +15 -0
  185. data/lib/candid/encounter_supplemental_information/client.rb +17 -0
  186. data/lib/candid/encounter_supplemental_information/v_1/client.rb +96 -0
  187. data/lib/candid/encounter_supplemental_information/v_1/types/attachment_inclusion.rb +17 -0
  188. data/lib/candid/encounter_supplemental_information/v_1/types/create_supplemental_information_request.rb +23 -0
  189. data/lib/candid/encounter_supplemental_information/v_1/types/supplemental_information.rb +25 -0
  190. data/lib/candid/encounter_supplemental_information/v_1/types/update_supplemental_information_request.rb +23 -0
  191. data/lib/candid/encounters/client.rb +17 -0
  192. data/lib/candid/encounters/v_4/client.rb +229 -0
  193. data/lib/candid/encounters/v_4/types/billable_status_type.rb +16 -0
  194. data/lib/candid/encounters/v_4/types/cash_pay_payer_error_message.rb +13 -0
  195. data/lib/candid/encounters/v_4/types/claim_supplemental_information.rb +19 -0
  196. data/lib/candid/encounters/v_4/types/claim_supplemental_information_optional.rb +19 -0
  197. data/lib/candid/encounters/v_4/types/clinical_note.rb +16 -0
  198. data/lib/candid/encounters/v_4/types/clinical_note_category.rb +17 -0
  199. data/lib/candid/encounters/v_4/types/clinical_note_category_create.rb +16 -0
  200. data/lib/candid/encounters/v_4/types/clinical_note_category_create_optional.rb +16 -0
  201. data/lib/candid/encounters/v_4/types/clinical_note_optional.rb +16 -0
  202. data/lib/candid/encounters/v_4/types/coding_attribution_type.rb +18 -0
  203. data/lib/candid/encounters/v_4/types/encounter.rb +114 -0
  204. data/lib/candid/encounters/v_4/types/encounter_base.rb +40 -0
  205. data/lib/candid/encounters/v_4/types/encounter_create.rb +27 -0
  206. data/lib/candid/encounters/v_4/types/encounter_create_from_pre_encounter.rb +24 -0
  207. data/lib/candid/encounters/v_4/types/encounter_deep_optional.rb +80 -0
  208. data/lib/candid/encounters/v_4/types/encounter_external_id_uniqueness_error_type.rb +13 -0
  209. data/lib/candid/encounters/v_4/types/encounter_guarantor_missing_contact_info_error_type.rb +13 -0
  210. data/lib/candid/encounters/v_4/types/encounter_optional.rb +40 -0
  211. data/lib/candid/encounters/v_4/types/encounter_owner_of_next_action_type.rb +18 -0
  212. data/lib/candid/encounters/v_4/types/encounter_page.rb +15 -0
  213. data/lib/candid/encounters/v_4/types/encounter_patient_control_number_uniqueness_error_type.rb +13 -0
  214. data/lib/candid/encounters/v_4/types/encounter_rendering_or_attending_provider_required_error.rb +11 -0
  215. data/lib/candid/encounters/v_4/types/encounter_sort_options.rb +18 -0
  216. data/lib/candid/encounters/v_4/types/encounter_submission_expectation.rb +16 -0
  217. data/lib/candid/encounters/v_4/types/encounter_submission_origin_type.rb +16 -0
  218. data/lib/candid/encounters/v_4/types/encounter_update.rb +14 -0
  219. data/lib/candid/encounters/v_4/types/epsdt_referral.rb +21 -0
  220. data/lib/candid/encounters/v_4/types/epsdt_referral_optional.rb +21 -0
  221. data/lib/candid/encounters/v_4/types/get_all_encounters_request.rb +34 -0
  222. data/lib/candid/encounters/v_4/types/intake_follow_up.rb +15 -0
  223. data/lib/candid/encounters/v_4/types/intake_question.rb +17 -0
  224. data/lib/candid/encounters/v_4/types/intake_question_optional.rb +17 -0
  225. data/lib/candid/encounters/v_4/types/intake_response_and_follow_ups.rb +16 -0
  226. data/lib/candid/encounters/v_4/types/intervention.rb +19 -0
  227. data/lib/candid/encounters/v_4/types/intervention_category.rb +18 -0
  228. data/lib/candid/encounters/v_4/types/intervention_optional.rb +19 -0
  229. data/lib/candid/encounters/v_4/types/invalid_tag_names_error_type.rb +13 -0
  230. data/lib/candid/encounters/v_4/types/key_does_not_exist_error.rb +14 -0
  231. data/lib/candid/encounters/v_4/types/lab.rb +15 -0
  232. data/lib/candid/encounters/v_4/types/lab_code_type.rb +16 -0
  233. data/lib/candid/encounters/v_4/types/lab_optional.rb +15 -0
  234. data/lib/candid/encounters/v_4/types/medication.rb +18 -0
  235. data/lib/candid/encounters/v_4/types/medication_optional.rb +18 -0
  236. data/lib/candid/encounters/v_4/types/multiple_instances_for_schema_error.rb +13 -0
  237. data/lib/candid/encounters/v_4/types/note_category.rb +28 -0
  238. data/lib/candid/encounters/v_4/types/patient_history_category.rb +18 -0
  239. data/lib/candid/encounters/v_4/types/patient_history_category_enum.rb +18 -0
  240. data/lib/candid/encounters/v_4/types/patient_history_category_optional.rb +18 -0
  241. data/lib/candid/encounters/v_4/types/payer_plan_group_payer_does_not_match_insurance_card_error.rb +14 -0
  242. data/lib/candid/encounters/v_4/types/responsible_party_type.rb +17 -0
  243. data/lib/candid/encounters/v_4/types/schema_does_not_exist_error.rb +13 -0
  244. data/lib/candid/encounters/v_4/types/schema_instance_validation_error.rb +25 -0
  245. data/lib/candid/encounters/v_4/types/schema_instance_validation_failure.rb +15 -0
  246. data/lib/candid/encounters/v_4/types/schema_unauthorized_access_error.rb +13 -0
  247. data/lib/candid/encounters/v_4/types/service_authorization_exception_code.rb +21 -0
  248. data/lib/candid/encounters/v_4/types/synchronicity_type.rb +16 -0
  249. data/lib/candid/encounters/v_4/types/value_does_not_match_key_type_error.rb +16 -0
  250. data/lib/candid/encounters/v_4/types/vitals.rb +19 -0
  251. data/lib/candid/encounters/v_4/types/vitals_update.rb +19 -0
  252. data/lib/candid/encounters_universal/types/universal_encounter_create.rb +48 -0
  253. data/lib/candid/encounters_universal/types/universal_encounter_create_base.rb +53 -0
  254. data/lib/candid/encounters_universal/types/universal_encounter_create_from_pre_encounter.rb +45 -0
  255. data/lib/candid/encounters_universal/types/universal_encounter_create_from_pre_encounter_base.rb +40 -0
  256. data/lib/candid/encounters_universal/types/universal_encounter_update.rb +38 -0
  257. data/lib/candid/encounters_universal/types/universal_encounter_update_base.rb +50 -0
  258. data/lib/candid/era/types/era.rb +11 -0
  259. data/lib/candid/era/types/era_base.rb +12 -0
  260. data/lib/candid/errors/api_error.rb +8 -0
  261. data/lib/candid/errors/client_error.rb +17 -0
  262. data/lib/candid/errors/redirect_error.rb +8 -0
  263. data/lib/candid/errors/response_error.rb +42 -0
  264. data/lib/candid/errors/server_error.rb +11 -0
  265. data/lib/candid/errors/timeout_error.rb +8 -0
  266. data/lib/candid/expected_network_status/client.rb +22 -0
  267. data/lib/candid/expected_network_status/v_1/client.rb +38 -0
  268. data/lib/candid/expected_network_status/v_1/types/expected_network_status.rb +17 -0
  269. data/lib/candid/expected_network_status/v_1/types/expected_network_status_request.rb +24 -0
  270. data/lib/candid/expected_network_status/v_1/types/expected_network_status_response.rb +17 -0
  271. data/lib/candid/expected_network_status/v_2/client.rb +66 -0
  272. data/lib/candid/expected_network_status/v_2/types/compute_all_in_network_providers_request.rb +25 -0
  273. data/lib/candid/expected_network_status/v_2/types/compute_all_in_network_providers_response.rb +16 -0
  274. data/lib/candid/expected_network_status/v_2/types/compute_all_in_network_rendering_providers_result.rb +21 -0
  275. data/lib/candid/expected_network_status/v_2/types/empty_object.rb +11 -0
  276. data/lib/candid/expected_network_status/v_2/types/expected_network_status_check_error_message.rb +13 -0
  277. data/lib/candid/expected_network_status/v_2/types/expected_network_status_request_v_2.rb +25 -0
  278. data/lib/candid/expected_network_status/v_2/types/expected_network_status_response_v_2.rb +16 -0
  279. data/lib/candid/expected_network_status/v_2/types/expected_network_status_subscriber_information.rb +17 -0
  280. data/lib/candid/expected_network_status/v_2/types/expected_network_status_v_2.rb +19 -0
  281. data/lib/candid/expected_network_status/v_2/types/explanation.rb +22 -0
  282. data/lib/candid/expected_network_status/v_2/types/in_network_rendering_providers_detail.rb +15 -0
  283. data/lib/candid/expected_network_status/v_2/types/in_network_status.rb +14 -0
  284. data/lib/candid/expected_network_status/v_2/types/indeterminate_network_status.rb +18 -0
  285. data/lib/candid/expected_network_status/v_2/types/insurance_type.rb +18 -0
  286. data/lib/candid/expected_network_status/v_2/types/insurance_type_codes.rb +19 -0
  287. data/lib/candid/expected_network_status/v_2/types/line_of_business.rb +17 -0
  288. data/lib/candid/expected_network_status/v_2/types/out_of_network_status.rb +17 -0
  289. data/lib/candid/expected_network_status/v_2/types/service_type.rb +55 -0
  290. data/lib/candid/exports/client.rb +17 -0
  291. data/lib/candid/exports/v_3/client.rb +60 -0
  292. data/lib/candid/exports/v_3/types/get_exports_request.rb +14 -0
  293. data/lib/candid/exports/v_3/types/get_exports_response.rb +16 -0
  294. data/lib/candid/external_payment_account_config/client.rb +17 -0
  295. data/lib/candid/external_payment_account_config/v_1/client.rb +41 -0
  296. data/lib/candid/external_payment_account_config/v_1/types/external_payment_account_config.rb +14 -0
  297. data/lib/candid/external_payment_account_config/v_1/types/external_payment_account_config_page.rb +15 -0
  298. data/lib/candid/external_payment_account_config/v_1/types/get_external_payment_account_configs_request.rb +14 -0
  299. data/lib/candid/fee_schedules/client.rb +17 -0
  300. data/lib/candid/fee_schedules/v_3/client.rb +302 -0
  301. data/lib/candid/fee_schedules/v_3/types/dimension_match.rb +33 -0
  302. data/lib/candid/fee_schedules/v_3/types/dimension_name.rb +17 -0
  303. data/lib/candid/fee_schedules/v_3/types/dimensions.rb +31 -0
  304. data/lib/candid/fee_schedules/v_3/types/dimensions_page.rb +15 -0
  305. data/lib/candid/fee_schedules/v_3/types/fee_schedule_upload_request.rb +16 -0
  306. data/lib/candid/fee_schedules/v_3/types/get_multi_request.rb +27 -0
  307. data/lib/candid/fee_schedules/v_3/types/get_unique_dimension_values_request.rb +29 -0
  308. data/lib/candid/fee_schedules/v_3/types/hard_delete_rates_by_ids_request.rb +13 -0
  309. data/lib/candid/fee_schedules/v_3/types/match_cpt_code.rb +16 -0
  310. data/lib/candid/fee_schedules/v_3/types/match_date.rb +16 -0
  311. data/lib/candid/fee_schedules/v_3/types/match_facility_type_code.rb +16 -0
  312. data/lib/candid/fee_schedules/v_3/types/match_geo.rb +17 -0
  313. data/lib/candid/fee_schedules/v_3/types/match_license_type.rb +16 -0
  314. data/lib/candid/fee_schedules/v_3/types/match_modifiers.rb +18 -0
  315. data/lib/candid/fee_schedules/v_3/types/match_network_types.rb +18 -0
  316. data/lib/candid/fee_schedules/v_3/types/match_payer.rb +16 -0
  317. data/lib/candid/fee_schedules/v_3/types/match_payer_plan_groups.rb +16 -0
  318. data/lib/candid/fee_schedules/v_3/types/match_provider.rb +16 -0
  319. data/lib/candid/fee_schedules/v_3/types/match_result.rb +14 -0
  320. data/lib/candid/fee_schedules/v_3/types/match_test_result.rb +14 -0
  321. data/lib/candid/fee_schedules/v_3/types/new_rate.rb +16 -0
  322. data/lib/candid/fee_schedules/v_3/types/new_rate_version.rb +17 -0
  323. data/lib/candid/fee_schedules/v_3/types/optional_dimensions.rb +31 -0
  324. data/lib/candid/fee_schedules/v_3/types/overlapping_rate_entries_error.rb +16 -0
  325. data/lib/candid/fee_schedules/v_3/types/payer_plan_group_does_not_match_rate_payer_error.rb +14 -0
  326. data/lib/candid/fee_schedules/v_3/types/payer_threshold.rb +16 -0
  327. data/lib/candid/fee_schedules/v_3/types/payer_threshold_get_request.rb +13 -0
  328. data/lib/candid/fee_schedules/v_3/types/payer_thresholds_page.rb +15 -0
  329. data/lib/candid/fee_schedules/v_3/types/rate.rb +21 -0
  330. data/lib/candid/fee_schedules/v_3/types/rate_entry.rb +17 -0
  331. data/lib/candid/fee_schedules/v_3/types/rate_upload.rb +18 -0
  332. data/lib/candid/fee_schedules/v_3/types/rate_upload_with_possible_errors.rb +17 -0
  333. data/lib/candid/fee_schedules/v_3/types/rates_page.rb +15 -0
  334. data/lib/candid/fee_schedules/v_3/types/threshold_match.rb +17 -0
  335. data/lib/candid/fee_schedules/v_3/types/validation_error.rb +28 -0
  336. data/lib/candid/financials/types/account_type.rb +15 -0
  337. data/lib/candid/financials/types/allocation.rb +12 -0
  338. data/lib/candid/financials/types/allocation_create.rb +14 -0
  339. data/lib/candid/financials/types/allocation_target.rb +21 -0
  340. data/lib/candid/financials/types/allocation_target_create.rb +24 -0
  341. data/lib/candid/financials/types/appointment_allocation_target.rb +12 -0
  342. data/lib/candid/financials/types/appointment_by_id_and_patient_external_id.rb +12 -0
  343. data/lib/candid/financials/types/billing_provider_allocation_target.rb +11 -0
  344. data/lib/candid/financials/types/claim_allocation_target.rb +12 -0
  345. data/lib/candid/financials/types/invoice_update.rb +16 -0
  346. data/lib/candid/financials/types/note_update.rb +16 -0
  347. data/lib/candid/financials/types/patient_transaction_source.rb +20 -0
  348. data/lib/candid/financials/types/refund_reason.rb +13 -0
  349. data/lib/candid/financials/types/refund_reason_update.rb +16 -0
  350. data/lib/candid/financials/types/service_line_allocation_target.rb +13 -0
  351. data/lib/candid/guarantor/client.rb +17 -0
  352. data/lib/candid/guarantor/v_1/client.rb +85 -0
  353. data/lib/candid/guarantor/v_1/types/encounter_has_existing_guarantor_error_type.rb +13 -0
  354. data/lib/candid/guarantor/v_1/types/guarantor.rb +20 -0
  355. data/lib/candid/guarantor/v_1/types/guarantor_base.rb +17 -0
  356. data/lib/candid/guarantor/v_1/types/guarantor_create.rb +19 -0
  357. data/lib/candid/guarantor/v_1/types/guarantor_optional.rb +24 -0
  358. data/lib/candid/guarantor/v_1/types/guarantor_update.rb +24 -0
  359. data/lib/candid/health_care_code_information/client.rb +17 -0
  360. data/lib/candid/health_care_code_information/v_1/client.rb +57 -0
  361. data/lib/candid/health_care_code_information/v_1/types/admitting_diagnosis.rb +17 -0
  362. data/lib/candid/health_care_code_information/v_1/types/admitting_diagnosis_code_qualifier.rb +16 -0
  363. data/lib/candid/health_care_code_information/v_1/types/admitting_diagnosis_new.rb +17 -0
  364. data/lib/candid/health_care_code_information/v_1/types/condition_code.rb +167 -0
  365. data/lib/candid/health_care_code_information/v_1/types/condition_information.rb +19 -0
  366. data/lib/candid/health_care_code_information/v_1/types/condition_information_code_qualifier.rb +15 -0
  367. data/lib/candid/health_care_code_information/v_1/types/condition_information_new.rb +19 -0
  368. data/lib/candid/health_care_code_information/v_1/types/diagnosis_related_group.rb +17 -0
  369. data/lib/candid/health_care_code_information/v_1/types/diagnosis_related_group_code_qualifier.rb +15 -0
  370. data/lib/candid/health_care_code_information/v_1/types/diagnosis_related_group_new.rb +17 -0
  371. data/lib/candid/health_care_code_information/v_1/types/external_cause_of_injury.rb +20 -0
  372. data/lib/candid/health_care_code_information/v_1/types/external_cause_of_injury_code_qualifier.rb +16 -0
  373. data/lib/candid/health_care_code_information/v_1/types/external_cause_of_injury_new.rb +20 -0
  374. data/lib/candid/health_care_code_information/v_1/types/health_care_code_information.rb +14 -0
  375. data/lib/candid/health_care_code_information/v_1/types/health_care_code_information_create.rb +51 -0
  376. data/lib/candid/health_care_code_information/v_1/types/health_care_code_information_get_all_response.rb +51 -0
  377. data/lib/candid/health_care_code_information/v_1/types/health_care_code_information_new.rb +11 -0
  378. data/lib/candid/health_care_code_information/v_1/types/health_care_code_information_update.rb +51 -0
  379. data/lib/candid/health_care_code_information/v_1/types/occurrence_code.rb +73 -0
  380. data/lib/candid/health_care_code_information/v_1/types/occurrence_information.rb +20 -0
  381. data/lib/candid/health_care_code_information/v_1/types/occurrence_information_code_qualifier.rb +15 -0
  382. data/lib/candid/health_care_code_information/v_1/types/occurrence_information_new.rb +20 -0
  383. data/lib/candid/health_care_code_information/v_1/types/occurrence_span_code.rb +31 -0
  384. data/lib/candid/health_care_code_information/v_1/types/occurrence_span_code_qualifier.rb +15 -0
  385. data/lib/candid/health_care_code_information/v_1/types/occurrence_span_information.rb +22 -0
  386. data/lib/candid/health_care_code_information/v_1/types/occurrence_span_information_new.rb +22 -0
  387. data/lib/candid/health_care_code_information/v_1/types/other_diagnosis_information.rb +20 -0
  388. data/lib/candid/health_care_code_information/v_1/types/other_diagnosis_information_code_qualifier.rb +16 -0
  389. data/lib/candid/health_care_code_information/v_1/types/other_diagnosis_information_new.rb +20 -0
  390. data/lib/candid/health_care_code_information/v_1/types/other_procedure_information.rb +18 -0
  391. data/lib/candid/health_care_code_information/v_1/types/other_procedure_information_code_qualifier.rb +16 -0
  392. data/lib/candid/health_care_code_information/v_1/types/other_procedure_information_new.rb +18 -0
  393. data/lib/candid/health_care_code_information/v_1/types/patient_reason_for_visit.rb +17 -0
  394. data/lib/candid/health_care_code_information/v_1/types/patient_reason_for_visit_code_qualifier.rb +16 -0
  395. data/lib/candid/health_care_code_information/v_1/types/patient_reason_for_visit_new.rb +17 -0
  396. data/lib/candid/health_care_code_information/v_1/types/present_on_admission_indicator_code.rb +19 -0
  397. data/lib/candid/health_care_code_information/v_1/types/principal_diagnosis.rb +20 -0
  398. data/lib/candid/health_care_code_information/v_1/types/principal_diagnosis_code_qualifier.rb +16 -0
  399. data/lib/candid/health_care_code_information/v_1/types/principal_diagnosis_new.rb +20 -0
  400. data/lib/candid/health_care_code_information/v_1/types/principal_procedure_information.rb +18 -0
  401. data/lib/candid/health_care_code_information/v_1/types/principal_procedure_information_code_qualifier.rb +17 -0
  402. data/lib/candid/health_care_code_information/v_1/types/principal_procedure_information_new.rb +18 -0
  403. data/lib/candid/health_care_code_information/v_1/types/rd_8_date.rb +14 -0
  404. data/lib/candid/health_care_code_information/v_1/types/set_or_clear_admitting_diagnosis.rb +15 -0
  405. data/lib/candid/health_care_code_information/v_1/types/set_or_clear_diagnosis_related_group.rb +15 -0
  406. data/lib/candid/health_care_code_information/v_1/types/set_or_clear_principal_diagnosis.rb +15 -0
  407. data/lib/candid/health_care_code_information/v_1/types/set_or_clear_principal_procedure_information.rb +15 -0
  408. data/lib/candid/health_care_code_information/v_1/types/treatment_code_information.rb +17 -0
  409. data/lib/candid/health_care_code_information/v_1/types/treatment_code_information_new.rb +17 -0
  410. data/lib/candid/health_care_code_information/v_1/types/treatment_code_qualifier.rb +15 -0
  411. data/lib/candid/health_care_code_information/v_1/types/value_code.rb +121 -0
  412. data/lib/candid/health_care_code_information/v_1/types/value_code_qualifier.rb +15 -0
  413. data/lib/candid/health_care_code_information/v_1/types/value_information.rb +20 -0
  414. data/lib/candid/health_care_code_information/v_1/types/value_information_new.rb +20 -0
  415. data/lib/candid/identifiers/types/identifier.rb +11 -0
  416. data/lib/candid/identifiers/types/identifier_base.rb +13 -0
  417. data/lib/candid/identifiers/types/identifier_code.rb +14 -0
  418. data/lib/candid/identifiers/types/identifier_create.rb +9 -0
  419. data/lib/candid/identifiers/types/identifier_update.rb +14 -0
  420. data/lib/candid/identifiers/types/identifier_value.rb +16 -0
  421. data/lib/candid/identifiers/types/medicaid_provider_identifier.rb +12 -0
  422. data/lib/candid/identifiers/types/medicare_provider_identifier.rb +12 -0
  423. data/lib/candid/identifiers/types/updatable_identifier.rb +17 -0
  424. data/lib/candid/import_invoice/client.rb +17 -0
  425. data/lib/candid/import_invoice/v_1/client.rb +115 -0
  426. data/lib/candid/import_invoice/v_1/types/create_import_invoice_request.rb +23 -0
  427. data/lib/candid/import_invoice/v_1/types/import_invoice.rb +24 -0
  428. data/lib/candid/import_invoice/v_1/types/import_invoice_update_request.rb +17 -0
  429. data/lib/candid/import_invoice/v_1/types/import_invoices_page.rb +15 -0
  430. data/lib/candid/import_invoice/v_1/types/invoice_item_info_update.rb +18 -0
  431. data/lib/candid/import_invoice/v_1/types/invoice_item_update_type.rb +16 -0
  432. data/lib/candid/import_invoice/v_1/types/search_imported_invoices_request.rb +22 -0
  433. data/lib/candid/individual/types/gender.rb +17 -0
  434. data/lib/candid/individual/types/individual_base.rb +13 -0
  435. data/lib/candid/individual/types/individual_base_optional.rb +13 -0
  436. data/lib/candid/individual/types/patient.rb +24 -0
  437. data/lib/candid/individual/types/patient_base.rb +13 -0
  438. data/lib/candid/individual/types/patient_clinical_trial_info.rb +12 -0
  439. data/lib/candid/individual/types/patient_clinical_trial_info_create.rb +12 -0
  440. data/lib/candid/individual/types/patient_create.rb +21 -0
  441. data/lib/candid/individual/types/patient_non_insurance_payer_info.rb +17 -0
  442. data/lib/candid/individual/types/patient_non_insurance_payer_info_create.rb +15 -0
  443. data/lib/candid/individual/types/patient_non_insurance_payer_info_create_optional.rb +15 -0
  444. data/lib/candid/individual/types/patient_update.rb +27 -0
  445. data/lib/candid/individual/types/patient_update_with_optional_address.rb +27 -0
  446. data/lib/candid/individual/types/subscriber.rb +12 -0
  447. data/lib/candid/individual/types/subscriber_base.rb +15 -0
  448. data/lib/candid/individual/types/subscriber_base_optional.rb +15 -0
  449. data/lib/candid/individual/types/subscriber_create.rb +13 -0
  450. data/lib/candid/individual/types/subscriber_create_optional.rb +13 -0
  451. data/lib/candid/insurance_cards/v_2/types/insurance_card.rb +20 -0
  452. data/lib/candid/insurance_cards/v_2/types/insurance_card_base.rb +17 -0
  453. data/lib/candid/insurance_cards/v_2/types/insurance_card_create.rb +20 -0
  454. data/lib/candid/insurance_cards/v_2/types/insurance_card_create_optional.rb +20 -0
  455. data/lib/candid/insurance_payments/client.rb +17 -0
  456. data/lib/candid/insurance_payments/v_1/client.rb +68 -0
  457. data/lib/candid/insurance_payments/v_1/types/get_multi_insurance_payment_request.rb +22 -0
  458. data/lib/candid/insurance_payments/v_1/types/insurance_payment.rb +20 -0
  459. data/lib/candid/insurance_payments/v_1/types/insurance_payment_sort_field.rb +17 -0
  460. data/lib/candid/insurance_payments/v_1/types/insurance_payments_page.rb +15 -0
  461. data/lib/candid/insurance_refunds/client.rb +17 -0
  462. data/lib/candid/insurance_refunds/v_1/client.rb +145 -0
  463. data/lib/candid/insurance_refunds/v_1/types/get_multi_insurance_refunds_request.rb +22 -0
  464. data/lib/candid/insurance_refunds/v_1/types/insurance_refund.rb +21 -0
  465. data/lib/candid/insurance_refunds/v_1/types/insurance_refund_create.rb +20 -0
  466. data/lib/candid/insurance_refunds/v_1/types/insurance_refund_sort_field.rb +18 -0
  467. data/lib/candid/insurance_refunds/v_1/types/insurance_refund_update.rb +16 -0
  468. data/lib/candid/insurance_refunds/v_1/types/insurance_refunds_page.rb +15 -0
  469. data/lib/candid/internal/errors/constraint_error.rb +10 -0
  470. data/lib/candid/internal/errors/type_error.rb +10 -0
  471. data/lib/candid/internal/http/base_request.rb +31 -0
  472. data/lib/candid/internal/http/raw_client.rb +105 -0
  473. data/lib/candid/internal/iterators/cursor_item_iterator.rb +27 -0
  474. data/lib/candid/internal/iterators/cursor_page_iterator.rb +51 -0
  475. data/lib/candid/internal/iterators/item_iterator.rb +59 -0
  476. data/lib/candid/internal/iterators/offset_item_iterator.rb +29 -0
  477. data/lib/candid/internal/iterators/offset_page_iterator.rb +83 -0
  478. data/lib/candid/internal/json/request.rb +38 -0
  479. data/lib/candid/internal/json/serializable.rb +25 -0
  480. data/lib/candid/internal/multipart/multipart_encoder.rb +141 -0
  481. data/lib/candid/internal/multipart/multipart_form_data.rb +78 -0
  482. data/lib/candid/internal/multipart/multipart_form_data_part.rb +51 -0
  483. data/lib/candid/internal/multipart/multipart_request.rb +37 -0
  484. data/lib/candid/internal/types/array.rb +47 -0
  485. data/lib/candid/internal/types/boolean.rb +34 -0
  486. data/lib/candid/internal/types/enum.rb +48 -0
  487. data/lib/candid/internal/types/hash.rb +36 -0
  488. data/lib/candid/internal/types/model/field.rb +28 -0
  489. data/lib/candid/internal/types/model.rb +198 -0
  490. data/lib/candid/internal/types/type.rb +35 -0
  491. data/lib/candid/internal/types/union.rb +80 -0
  492. data/lib/candid/internal/types/unknown.rb +15 -0
  493. data/lib/candid/internal/types/utils.rb +100 -0
  494. data/lib/candid/invoices/types/invoice.rb +25 -0
  495. data/lib/candid/invoices/types/invoice_item.rb +12 -0
  496. data/lib/candid/invoices/types/invoice_status.rb +18 -0
  497. data/lib/candid/invoices/v_2/types/claim_invoice_item.rb +14 -0
  498. data/lib/candid/invoices/v_2/types/claim_invoice_item_info.rb +18 -0
  499. data/lib/candid/invoices/v_2/types/invoice.rb +26 -0
  500. data/lib/candid/invoices/v_2/types/invoice_destination.rb +19 -0
  501. data/lib/candid/invoices/v_2/types/invoice_destination_metadata.rb +18 -0
  502. data/lib/candid/invoices/v_2/types/invoice_info.rb +15 -0
  503. data/lib/candid/invoices/v_2/types/invoice_item_attribution_create.rb +20 -0
  504. data/lib/candid/invoices/v_2/types/invoice_item_create.rb +16 -0
  505. data/lib/candid/invoices/v_2/types/invoice_item_info.rb +18 -0
  506. data/lib/candid/invoices/v_2/types/invoice_sort_field.rb +20 -0
  507. data/lib/candid/invoices/v_2/types/invoice_status.rb +20 -0
  508. data/lib/candid/invoices/v_2/types/service_line_invoice_item.rb +14 -0
  509. data/lib/candid/invoices/v_2/types/unattributed_invoice_item.rb +13 -0
  510. data/lib/candid/medication_dispense/client.rb +17 -0
  511. data/lib/candid/medication_dispense/v_1/client.rb +36 -0
  512. data/lib/candid/medication_dispense/v_1/types/medication_dispense_create.rb +25 -0
  513. data/lib/candid/non_insurance_payer_payments/client.rb +17 -0
  514. data/lib/candid/non_insurance_payer_payments/v_1/client.rb +133 -0
  515. data/lib/candid/non_insurance_payer_payments/v_1/types/get_multi_non_insurance_payer_payment_request.rb +21 -0
  516. data/lib/candid/non_insurance_payer_payments/v_1/types/non_insurance_payer_payment.rb +24 -0
  517. data/lib/candid/non_insurance_payer_payments/v_1/types/non_insurance_payer_payment_create.rb +21 -0
  518. data/lib/candid/non_insurance_payer_payments/v_1/types/non_insurance_payer_payment_sort_field.rb +16 -0
  519. data/lib/candid/non_insurance_payer_payments/v_1/types/non_insurance_payer_payments_page.rb +15 -0
  520. data/lib/candid/non_insurance_payer_payments/v_1/types/update_non_insurance_payer_payment_request.rb +16 -0
  521. data/lib/candid/non_insurance_payer_refunds/client.rb +17 -0
  522. data/lib/candid/non_insurance_payer_refunds/v_1/client.rb +140 -0
  523. data/lib/candid/non_insurance_payer_refunds/v_1/types/get_multi_non_insurance_payer_refunds_request.rb +21 -0
  524. data/lib/candid/non_insurance_payer_refunds/v_1/types/non_insurance_payer_refund.rb +25 -0
  525. data/lib/candid/non_insurance_payer_refunds/v_1/types/non_insurance_payer_refund_create.rb +22 -0
  526. data/lib/candid/non_insurance_payer_refunds/v_1/types/non_insurance_payer_refund_sort_field.rb +16 -0
  527. data/lib/candid/non_insurance_payer_refunds/v_1/types/non_insurance_payer_refund_update.rb +17 -0
  528. data/lib/candid/non_insurance_payer_refunds/v_1/types/non_insurance_payer_refunds_page.rb +15 -0
  529. data/lib/candid/non_insurance_payers/client.rb +17 -0
  530. data/lib/candid/non_insurance_payers/v_1/client.rb +182 -0
  531. data/lib/candid/non_insurance_payers/v_1/types/create_non_insurance_payer_request.rb +19 -0
  532. data/lib/candid/non_insurance_payers/v_1/types/get_multi_non_insurance_payers_request.rb +23 -0
  533. data/lib/candid/non_insurance_payers/v_1/types/get_non_insurance_payers_categories_request.rb +15 -0
  534. data/lib/candid/non_insurance_payers/v_1/types/non_insurance_payer.rb +21 -0
  535. data/lib/candid/non_insurance_payers/v_1/types/non_insurance_payer_address_update.rb +18 -0
  536. data/lib/candid/non_insurance_payers/v_1/types/non_insurance_payer_categories_page.rb +13 -0
  537. data/lib/candid/non_insurance_payers/v_1/types/non_insurance_payer_category_update.rb +18 -0
  538. data/lib/candid/non_insurance_payers/v_1/types/non_insurance_payer_description_update.rb +18 -0
  539. data/lib/candid/non_insurance_payers/v_1/types/non_insurance_payer_page.rb +15 -0
  540. data/lib/candid/non_insurance_payers/v_1/types/non_insurance_payer_sort_field.rb +18 -0
  541. data/lib/candid/non_insurance_payers/v_1/types/non_insurance_payer_update_request.rb +22 -0
  542. data/lib/candid/non_insurance_payers/v_1/types/toggle_non_insurance_payer_enablement_request.rb +13 -0
  543. data/lib/candid/organization_providers/client.rb +17 -0
  544. data/lib/candid/organization_providers/v_2/types/address_type.rb +15 -0
  545. data/lib/candid/organization_providers/v_2/types/employment_status.rb +16 -0
  546. data/lib/candid/organization_providers/v_2/types/license_type.rb +117 -0
  547. data/lib/candid/organization_providers/v_2/types/organization_provider.rb +18 -0
  548. data/lib/candid/organization_providers/v_2/types/organization_provider_address.rb +16 -0
  549. data/lib/candid/organization_providers/v_2/types/organization_provider_base.rb +31 -0
  550. data/lib/candid/organization_providers/v_2/types/organization_provider_sort_options.rb +18 -0
  551. data/lib/candid/organization_providers/v_2/types/provider_type.rb +16 -0
  552. data/lib/candid/organization_providers/v_3/client.rb +107 -0
  553. data/lib/candid/organization_providers/v_3/types/get_all_organization_providers_request_v_2.rb +22 -0
  554. data/lib/candid/organization_providers/v_3/types/organization_provider_create_v_2.rb +34 -0
  555. data/lib/candid/organization_providers/v_3/types/organization_provider_page_v_2.rb +15 -0
  556. data/lib/candid/organization_providers/v_3/types/organization_provider_update_v_2.rb +34 -0
  557. data/lib/candid/organization_providers/v_3/types/organization_provider_v_2.rb +35 -0
  558. data/lib/candid/organization_service_facilities/client.rb +17 -0
  559. data/lib/candid/organization_service_facilities/v_2/client.rb +151 -0
  560. data/lib/candid/organization_service_facilities/v_2/types/get_all_organization_service_facilities_request.rb +18 -0
  561. data/lib/candid/organization_service_facilities/v_2/types/organization_service_facility.rb +38 -0
  562. data/lib/candid/organization_service_facilities/v_2/types/organization_service_facility_create.rb +37 -0
  563. data/lib/candid/organization_service_facilities/v_2/types/organization_service_facility_page.rb +15 -0
  564. data/lib/candid/organization_service_facilities/v_2/types/organization_service_facility_update.rb +37 -0
  565. data/lib/candid/organization_service_facilities/v_2/types/service_facility_mode.rb +16 -0
  566. data/lib/candid/organization_service_facilities/v_2/types/service_facility_operational_status.rb +20 -0
  567. data/lib/candid/organization_service_facilities/v_2/types/service_facility_physical_type.rb +28 -0
  568. data/lib/candid/organization_service_facilities/v_2/types/service_facility_status.rb +17 -0
  569. data/lib/candid/organization_service_facilities/v_2/types/service_facility_type.rb +137 -0
  570. data/lib/candid/patient_ar/client.rb +17 -0
  571. data/lib/candid/patient_ar/v_1/client.rb +71 -0
  572. data/lib/candid/patient_ar/v_1/types/get_inventory_records_request.rb +15 -0
  573. data/lib/candid/patient_ar/v_1/types/insurance_adjustment_info.rb +13 -0
  574. data/lib/candid/patient_ar/v_1/types/insurance_payment_info.rb +13 -0
  575. data/lib/candid/patient_ar/v_1/types/invalid_filters_error_type.rb +13 -0
  576. data/lib/candid/patient_ar/v_1/types/inventory_record.rb +19 -0
  577. data/lib/candid/patient_ar/v_1/types/invoice_itemization_response.rb +20 -0
  578. data/lib/candid/patient_ar/v_1/types/list_inventory_paged_response.rb +16 -0
  579. data/lib/candid/patient_ar/v_1/types/non_insurance_adjustment_info.rb +13 -0
  580. data/lib/candid/patient_ar/v_1/types/non_insurance_payment_info.rb +13 -0
  581. data/lib/candid/patient_ar/v_1/types/patient_adjustment_info.rb +13 -0
  582. data/lib/candid/patient_ar/v_1/types/patient_ar_status.rb +16 -0
  583. data/lib/candid/patient_ar/v_1/types/patient_payment_allocation.rb +14 -0
  584. data/lib/candid/patient_ar/v_1/types/patient_payment_info.rb +16 -0
  585. data/lib/candid/patient_ar/v_1/types/service_line_itemization.rb +38 -0
  586. data/lib/candid/patient_payments/client.rb +17 -0
  587. data/lib/candid/patient_payments/v_3/types/patient_payment.rb +28 -0
  588. data/lib/candid/patient_payments/v_3/types/patient_payment_source.rb +23 -0
  589. data/lib/candid/patient_payments/v_3/types/patient_payment_status.rb +25 -0
  590. data/lib/candid/patient_payments/v_4/client.rb +141 -0
  591. data/lib/candid/patient_payments/v_4/types/get_multi_patient_payments_request.rb +25 -0
  592. data/lib/candid/patient_payments/v_4/types/patient_payment.rb +26 -0
  593. data/lib/candid/patient_payments/v_4/types/patient_payment_create.rb +20 -0
  594. data/lib/candid/patient_payments/v_4/types/patient_payment_sort_field.rb +18 -0
  595. data/lib/candid/patient_payments/v_4/types/patient_payment_update.rb +16 -0
  596. data/lib/candid/patient_payments/v_4/types/patient_payments_page.rb +15 -0
  597. data/lib/candid/patient_refunds/client.rb +17 -0
  598. data/lib/candid/patient_refunds/v_1/client.rb +141 -0
  599. data/lib/candid/patient_refunds/v_1/types/get_multi_patient_refunds_request.rb +23 -0
  600. data/lib/candid/patient_refunds/v_1/types/patient_refund.rb +27 -0
  601. data/lib/candid/patient_refunds/v_1/types/patient_refund_create.rb +21 -0
  602. data/lib/candid/patient_refunds/v_1/types/patient_refund_sort_field.rb +19 -0
  603. data/lib/candid/patient_refunds/v_1/types/patient_refund_update.rb +17 -0
  604. data/lib/candid/patient_refunds/v_1/types/patient_refunds_page.rb +15 -0
  605. data/lib/candid/payer_plan_groups/client.rb +17 -0
  606. data/lib/candid/payer_plan_groups/v_1/client.rb +138 -0
  607. data/lib/candid/payer_plan_groups/v_1/types/mutable_payer_plan_group.rb +15 -0
  608. data/lib/candid/payer_plan_groups/v_1/types/payer_plan_group.rb +15 -0
  609. data/lib/candid/payer_plan_groups/v_1/types/payer_plan_group_already_exists_error.rb +14 -0
  610. data/lib/candid/payer_plan_groups/v_1/types/payer_plan_group_get_multi_request.rb +25 -0
  611. data/lib/candid/payer_plan_groups/v_1/types/payer_plan_group_page.rb +15 -0
  612. data/lib/candid/payer_plan_groups/v_1/types/payer_plan_group_sort_field.rb +17 -0
  613. data/lib/candid/payers/client.rb +22 -0
  614. data/lib/candid/payers/v_3/client.rb +62 -0
  615. data/lib/candid/payers/v_3/types/get_all_payers_request.rb +15 -0
  616. data/lib/candid/payers/v_3/types/payer.rb +20 -0
  617. data/lib/candid/payers/v_3/types/payer_identifier.rb +18 -0
  618. data/lib/candid/payers/v_3/types/payer_info.rb +14 -0
  619. data/lib/candid/payers/v_3/types/payer_page.rb +15 -0
  620. data/lib/candid/payers/v_4/client.rb +62 -0
  621. data/lib/candid/payers/v_4/types/clearinghouse_payer_info.rb +23 -0
  622. data/lib/candid/payers/v_4/types/get_all_payers_request.rb +15 -0
  623. data/lib/candid/payers/v_4/types/payer.rb +20 -0
  624. data/lib/candid/payers/v_4/types/payer_ids.rb +15 -0
  625. data/lib/candid/payers/v_4/types/payer_page.rb +15 -0
  626. data/lib/candid/payers/v_4/types/primary_payer_ids.rb +15 -0
  627. data/lib/candid/payers/v_4/types/support_state.rb +17 -0
  628. data/lib/candid/pre_encounter/appointments/client.rb +19 -0
  629. data/lib/candid/pre_encounter/appointments/v_1/client.rb +185 -0
  630. data/lib/candid/pre_encounter/appointments/v_1/types/appointment.rb +16 -0
  631. data/lib/candid/pre_encounter/appointments/v_1/types/appointment_scan_request.rb +15 -0
  632. data/lib/candid/pre_encounter/appointments/v_1/types/appointment_status.rb +20 -0
  633. data/lib/candid/pre_encounter/appointments/v_1/types/appointment_work_queue.rb +20 -0
  634. data/lib/candid/pre_encounter/appointments/v_1/types/mutable_appointment.rb +41 -0
  635. data/lib/candid/pre_encounter/appointments/v_1/types/service.rb +18 -0
  636. data/lib/candid/pre_encounter/appointments/v_1/types/universal_service_identifier.rb +20 -0
  637. data/lib/candid/pre_encounter/appointments/v_1/types/visit.rb +26 -0
  638. data/lib/candid/pre_encounter/appointments/v_1/types/visits_page.rb +17 -0
  639. data/lib/candid/pre_encounter/appointments/v_1/types/visits_request.rb +21 -0
  640. data/lib/candid/pre_encounter/client.rb +52 -0
  641. data/lib/candid/pre_encounter/common/types/additional_payer_information.rb +16 -0
  642. data/lib/candid/pre_encounter/common/types/address.rb +19 -0
  643. data/lib/candid/pre_encounter/common/types/address_use.rb +19 -0
  644. data/lib/candid/pre_encounter/common/types/base_model.rb +17 -0
  645. data/lib/candid/pre_encounter/common/types/canonical_clinical_trial_association.rb +15 -0
  646. data/lib/candid/pre_encounter/common/types/canonical_non_insurance_payer_association.rb +18 -0
  647. data/lib/candid/pre_encounter/common/types/contact_point.rb +15 -0
  648. data/lib/candid/pre_encounter/common/types/contact_point_use.rb +19 -0
  649. data/lib/candid/pre_encounter/common/types/disability_status.rb +16 -0
  650. data/lib/candid/pre_encounter/common/types/error_base_4_xx.rb +14 -0
  651. data/lib/candid/pre_encounter/common/types/ethnicity.rb +18 -0
  652. data/lib/candid/pre_encounter/common/types/external_identifier.rb +16 -0
  653. data/lib/candid/pre_encounter/common/types/external_provider.rb +27 -0
  654. data/lib/candid/pre_encounter/common/types/external_provider_type.rb +17 -0
  655. data/lib/candid/pre_encounter/common/types/gender.rb +23 -0
  656. data/lib/candid/pre_encounter/common/types/human_name.rb +17 -0
  657. data/lib/candid/pre_encounter/common/types/name_use.rb +21 -0
  658. data/lib/candid/pre_encounter/common/types/patient_service_facility.rb +14 -0
  659. data/lib/candid/pre_encounter/common/types/period.rb +14 -0
  660. data/lib/candid/pre_encounter/common/types/race.rb +23 -0
  661. data/lib/candid/pre_encounter/common/types/relationship.rb +19 -0
  662. data/lib/candid/pre_encounter/common/types/resource_page.rb +15 -0
  663. data/lib/candid/pre_encounter/common/types/sex.rb +18 -0
  664. data/lib/candid/pre_encounter/common/types/sexual_orientation.rb +21 -0
  665. data/lib/candid/pre_encounter/common/types/sort_direction.rb +16 -0
  666. data/lib/candid/pre_encounter/common/types/version_conflict_error_body.rb +13 -0
  667. data/lib/candid/pre_encounter/coverages/client.rb +19 -0
  668. data/lib/candid/pre_encounter/coverages/v_1/client.rb +275 -0
  669. data/lib/candid/pre_encounter/coverages/v_1/types/address.rb +21 -0
  670. data/lib/candid/pre_encounter/coverages/v_1/types/benefit_type.rb +26 -0
  671. data/lib/candid/pre_encounter/coverages/v_1/types/benefits_related_entity.rb +23 -0
  672. data/lib/candid/pre_encounter/coverages/v_1/types/check_eligibility_request.rb +20 -0
  673. data/lib/candid/pre_encounter/coverages/v_1/types/coverage.rb +16 -0
  674. data/lib/candid/pre_encounter/coverages/v_1/types/coverage_benefits.rb +24 -0
  675. data/lib/candid/pre_encounter/coverages/v_1/types/coverage_details.rb +25 -0
  676. data/lib/candid/pre_encounter/coverages/v_1/types/coverage_eligibility_check_response.rb +20 -0
  677. data/lib/candid/pre_encounter/coverages/v_1/types/coverage_get_multi_paginated_request.rb +18 -0
  678. data/lib/candid/pre_encounter/coverages/v_1/types/coverage_get_multi_request.rb +15 -0
  679. data/lib/candid/pre_encounter/coverages/v_1/types/coverage_level.rb +21 -0
  680. data/lib/candid/pre_encounter/coverages/v_1/types/coverage_scan_request.rb +15 -0
  681. data/lib/candid/pre_encounter/coverages/v_1/types/coverage_status.rb +20 -0
  682. data/lib/candid/pre_encounter/coverages/v_1/types/coverage_value.rb +18 -0
  683. data/lib/candid/pre_encounter/coverages/v_1/types/coverage_value_unit.rb +19 -0
  684. data/lib/candid/pre_encounter/coverages/v_1/types/coverages_page.rb +17 -0
  685. data/lib/candid/pre_encounter/coverages/v_1/types/expanded_member_info.rb +22 -0
  686. data/lib/candid/pre_encounter/coverages/v_1/types/insurance_plan.rb +31 -0
  687. data/lib/candid/pre_encounter/coverages/v_1/types/insurance_type_code.rb +86 -0
  688. data/lib/candid/pre_encounter/coverages/v_1/types/latest_eligibility_check.rb +20 -0
  689. data/lib/candid/pre_encounter/coverages/v_1/types/member_info.rb +18 -0
  690. data/lib/candid/pre_encounter/coverages/v_1/types/mutable_coverage.rb +38 -0
  691. data/lib/candid/pre_encounter/coverages/v_1/types/network_type.rb +40 -0
  692. data/lib/candid/pre_encounter/coverages/v_1/types/payer_plan_group_fields.rb +20 -0
  693. data/lib/candid/pre_encounter/coverages/v_1/types/plan_coverage.rb +26 -0
  694. data/lib/candid/pre_encounter/coverages/v_1/types/plan_coverage_details.rb +39 -0
  695. data/lib/candid/pre_encounter/coverages/v_1/types/plan_date.rb +17 -0
  696. data/lib/candid/pre_encounter/coverages/v_1/types/plan_metadata.rb +31 -0
  697. data/lib/candid/pre_encounter/coverages/v_1/types/related_entity_contact.rb +16 -0
  698. data/lib/candid/pre_encounter/coverages/v_1/types/service_coverage.rb +29 -0
  699. data/lib/candid/pre_encounter/coverages/v_1/types/service_coverage_details.rb +27 -0
  700. data/lib/candid/pre_encounter/coverages/v_1/types/service_type_code.rb +203 -0
  701. data/lib/candid/pre_encounter/coverages/v_1/types/subscriber.rb +18 -0
  702. data/lib/candid/pre_encounter/eligibility_checks/client.rb +19 -0
  703. data/lib/candid/pre_encounter/eligibility_checks/v_1/client.rb +173 -0
  704. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/batch_eligibility_poll_request.rb +16 -0
  705. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/batch_eligibility_response.rb +17 -0
  706. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/coordination_of_benefits_recommendation.rb +16 -0
  707. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_check.rb +28 -0
  708. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_check_error.rb +20 -0
  709. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_check_error_details.rb +21 -0
  710. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_check_error_source.rb +18 -0
  711. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_check_metadata.rb +23 -0
  712. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_check_page.rb +17 -0
  713. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_check_status.rb +19 -0
  714. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation.rb +22 -0
  715. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation_patient_info.rb +24 -0
  716. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation_payload.rb +24 -0
  717. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation_request.rb +15 -0
  718. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_request.rb +29 -0
  719. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_status.rb +19 -0
  720. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/encounter.rb +16 -0
  721. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/individual_provider.rb +17 -0
  722. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/medicare_advantage_recommendation.rb +18 -0
  723. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/medicare_advantage_recommendation_payload.rb +19 -0
  724. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/organization_provider.rb +16 -0
  725. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/parsed_response.rb +23 -0
  726. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/payer_search_request.rb +17 -0
  727. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/payer_search_response.rb +18 -0
  728. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/post_eligibility_recommendation_request.rb +21 -0
  729. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/request_correction.rb +17 -0
  730. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/stedi_payer.rb +26 -0
  731. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/stedi_payer_item.rb +18 -0
  732. data/lib/candid/pre_encounter/images/client.rb +19 -0
  733. data/lib/candid/pre_encounter/images/v_1/client.rb +135 -0
  734. data/lib/candid/pre_encounter/images/v_1/types/coverage_association.rb +19 -0
  735. data/lib/candid/pre_encounter/images/v_1/types/coverage_image_side.rb +18 -0
  736. data/lib/candid/pre_encounter/images/v_1/types/image.rb +17 -0
  737. data/lib/candid/pre_encounter/images/v_1/types/image_get_multi_request.rb +16 -0
  738. data/lib/candid/pre_encounter/images/v_1/types/image_status.rb +19 -0
  739. data/lib/candid/pre_encounter/images/v_1/types/mutable_image.rb +25 -0
  740. data/lib/candid/pre_encounter/images/v_1/types/patient_association.rb +17 -0
  741. data/lib/candid/pre_encounter/lists/client.rb +19 -0
  742. data/lib/candid/pre_encounter/lists/v_1/client.rb +74 -0
  743. data/lib/candid/pre_encounter/lists/v_1/types/appointment_list_item.rb +26 -0
  744. data/lib/candid/pre_encounter/lists/v_1/types/appointment_list_page.rb +17 -0
  745. data/lib/candid/pre_encounter/lists/v_1/types/appointments_get_list_request.rb +21 -0
  746. data/lib/candid/pre_encounter/lists/v_1/types/patient_list_item.rb +27 -0
  747. data/lib/candid/pre_encounter/lists/v_1/types/patient_list_page.rb +17 -0
  748. data/lib/candid/pre_encounter/lists/v_1/types/patient_list_request.rb +21 -0
  749. data/lib/candid/pre_encounter/notes/client.rb +19 -0
  750. data/lib/candid/pre_encounter/notes/v_1/client.rb +108 -0
  751. data/lib/candid/pre_encounter/notes/v_1/types/mutable_note.rb +18 -0
  752. data/lib/candid/pre_encounter/notes/v_1/types/note.rb +17 -0
  753. data/lib/candid/pre_encounter/patients/client.rb +19 -0
  754. data/lib/candid/pre_encounter/patients/v_1/client.rb +332 -0
  755. data/lib/candid/pre_encounter/patients/v_1/types/authorization.rb +29 -0
  756. data/lib/candid/pre_encounter/patients/v_1/types/authorization_unit.rb +18 -0
  757. data/lib/candid/pre_encounter/patients/v_1/types/contact.rb +26 -0
  758. data/lib/candid/pre_encounter/patients/v_1/types/create_patient_request.rb +18 -0
  759. data/lib/candid/pre_encounter/patients/v_1/types/create_patient_with_mrn_request.rb +18 -0
  760. data/lib/candid/pre_encounter/patients/v_1/types/do_not_invoice_reason.rb +23 -0
  761. data/lib/candid/pre_encounter/patients/v_1/types/external_provenance.rb +17 -0
  762. data/lib/candid/pre_encounter/patients/v_1/types/filing_order.rb +16 -0
  763. data/lib/candid/pre_encounter/patients/v_1/types/guarantor.rb +19 -0
  764. data/lib/candid/pre_encounter/patients/v_1/types/inferred_patient_metadata.rb +16 -0
  765. data/lib/candid/pre_encounter/patients/v_1/types/marital_status.rb +28 -0
  766. data/lib/candid/pre_encounter/patients/v_1/types/mutable_patient.rb +98 -0
  767. data/lib/candid/pre_encounter/patients/v_1/types/mutable_patient_with_mrn.rb +15 -0
  768. data/lib/candid/pre_encounter/patients/v_1/types/origination_detail.rb +26 -0
  769. data/lib/candid/pre_encounter/patients/v_1/types/patient.rb +17 -0
  770. data/lib/candid/pre_encounter/patients/v_1/types/patient_get_multi_request.rb +16 -0
  771. data/lib/candid/pre_encounter/patients/v_1/types/patient_page.rb +17 -0
  772. data/lib/candid/pre_encounter/patients/v_1/types/patient_scan_request.rb +16 -0
  773. data/lib/candid/pre_encounter/patients/v_1/types/patients_search_request_paginated.rb +21 -0
  774. data/lib/candid/pre_encounter/patients/v_1/types/referral.rb +29 -0
  775. data/lib/candid/pre_encounter/patients/v_1/types/referral_source.rb +20 -0
  776. data/lib/candid/pre_encounter/patients/v_1/types/referral_type.rb +19 -0
  777. data/lib/candid/pre_encounter/patients/v_1/types/referral_unit.rb +18 -0
  778. data/lib/candid/pre_encounter/patients/v_1/types/search_providers_request.rb +15 -0
  779. data/lib/candid/pre_encounter/patients/v_1/types/specialization_category.rb +44 -0
  780. data/lib/candid/pre_encounter/tags/client.rb +19 -0
  781. data/lib/candid/pre_encounter/tags/v_1/client.rb +137 -0
  782. data/lib/candid/pre_encounter/tags/v_1/types/get_all_tags_request.rb +16 -0
  783. data/lib/candid/pre_encounter/tags/v_1/types/mutable_tag.rb +18 -0
  784. data/lib/candid/pre_encounter/tags/v_1/types/tag.rb +16 -0
  785. data/lib/candid/pre_encounter/tags/v_1/types/tag_page.rb +17 -0
  786. data/lib/candid/service_facility/types/encounter_service_facility.rb +16 -0
  787. data/lib/candid/service_facility/types/encounter_service_facility_base.rb +22 -0
  788. data/lib/candid/service_facility/types/encounter_service_facility_update.rb +15 -0
  789. data/lib/candid/service_facility/types/encounter_service_facility_update_with_optional_address.rb +15 -0
  790. data/lib/candid/service_lines/client.rb +17 -0
  791. data/lib/candid/service_lines/v_2/client.rb +121 -0
  792. data/lib/candid/service_lines/v_2/types/denial_reason_content.rb +46 -0
  793. data/lib/candid/service_lines/v_2/types/drug_identification.rb +24 -0
  794. data/lib/candid/service_lines/v_2/types/drug_identification_optional.rb +24 -0
  795. data/lib/candid/service_lines/v_2/types/measurement_unit_code.rb +19 -0
  796. data/lib/candid/service_lines/v_2/types/service_id_qualifier.rb +21 -0
  797. data/lib/candid/service_lines/v_2/types/service_line.rb +75 -0
  798. data/lib/candid/service_lines/v_2/types/service_line_adjustment.rb +17 -0
  799. data/lib/candid/service_lines/v_2/types/service_line_create.rb +13 -0
  800. data/lib/candid/service_lines/v_2/types/service_line_create_base.rb +13 -0
  801. data/lib/candid/service_lines/v_2/types/service_line_create_base_base.rb +34 -0
  802. data/lib/candid/service_lines/v_2/types/service_line_create_optional.rb +37 -0
  803. data/lib/candid/service_lines/v_2/types/service_line_create_standalone.rb +16 -0
  804. data/lib/candid/service_lines/v_2/types/service_line_create_standalone_base.rb +13 -0
  805. data/lib/candid/service_lines/v_2/types/service_line_create_standalone_base_base.rb +38 -0
  806. data/lib/candid/service_lines/v_2/types/service_line_denial_reason.rb +15 -0
  807. data/lib/candid/service_lines/v_2/types/service_line_era_data.rb +16 -0
  808. data/lib/candid/service_lines/v_2/types/service_line_update.rb +16 -0
  809. data/lib/candid/service_lines/v_2/types/service_line_update_base.rb +36 -0
  810. data/lib/candid/service_lines/v_2/types/test_result.rb +14 -0
  811. data/lib/candid/service_lines/v_2/types/test_result_optional.rb +14 -0
  812. data/lib/candid/service_lines/v_2/types/test_result_type.rb +17 -0
  813. data/lib/candid/service_lines/v_2/types/universal_service_line_create.rb +15 -0
  814. data/lib/candid/service_lines/v_2/types/universal_service_line_create_standalone.rb +18 -0
  815. data/lib/candid/service_lines/v_2/types/universal_service_line_update.rb +17 -0
  816. data/lib/candid/superbills/client.rb +17 -0
  817. data/lib/candid/superbills/v_1/client.rb +36 -0
  818. data/lib/candid/superbills/v_1/types/create_superbill_request.rb +16 -0
  819. data/lib/candid/superbills/v_1/types/superbill.rb +18 -0
  820. data/lib/candid/superbills/v_1/types/superbill_response.rb +15 -0
  821. data/lib/candid/tags/types/tag.rb +11 -0
  822. data/lib/candid/tags/types/tag_color_enum.rb +22 -0
  823. data/lib/candid/tags/types/tag_create.rb +13 -0
  824. data/lib/candid/tasks/client.rb +17 -0
  825. data/lib/candid/tasks/commons/types/task_category.rb +56 -0
  826. data/lib/candid/tasks/commons/types/task_status.rb +21 -0
  827. data/lib/candid/tasks/commons/types/task_type.rb +26 -0
  828. data/lib/candid/tasks/v_3/client.rb +128 -0
  829. data/lib/candid/tasks/v_3/types/get_all_tasks_request.rb +25 -0
  830. data/lib/candid/tasks/v_3/types/task.rb +35 -0
  831. data/lib/candid/tasks/v_3/types/task_action.rb +17 -0
  832. data/lib/candid/tasks/v_3/types/task_action_execution_method.rb +17 -0
  833. data/lib/candid/tasks/v_3/types/task_action_type.rb +16 -0
  834. data/lib/candid/tasks/v_3/types/task_actions.rb +15 -0
  835. data/lib/candid/tasks/v_3/types/task_assignment.rb +14 -0
  836. data/lib/candid/tasks/v_3/types/task_create_v_3.rb +19 -0
  837. data/lib/candid/tasks/v_3/types/task_note.rb +17 -0
  838. data/lib/candid/tasks/v_3/types/task_page.rb +13 -0
  839. data/lib/candid/tasks/v_3/types/task_sort_options.rb +36 -0
  840. data/lib/candid/tasks/v_3/types/task_update_v_3.rb +15 -0
  841. data/lib/candid/tasks/v_3/types/task_updated_to_deprecated_status_error_type.rb +13 -0
  842. data/lib/candid/users/v_2/types/auth_zero_metadata.rb +13 -0
  843. data/lib/candid/users/v_2/types/google_apps_metadata.rb +13 -0
  844. data/lib/candid/users/v_2/types/human_user_metadata.rb +15 -0
  845. data/lib/candid/users/v_2/types/idp_user_metadata.rb +19 -0
  846. data/lib/candid/users/v_2/types/machine_user_metadata.rb +13 -0
  847. data/lib/candid/users/v_2/types/other_idp_metadata.rb +13 -0
  848. data/lib/candid/users/v_2/types/user_metadata.rb +18 -0
  849. data/lib/candid/users/v_2/types/user_v_2.rb +18 -0
  850. data/lib/candid/version.rb +5 -0
  851. data/lib/candid/write_offs/client.rb +17 -0
  852. data/lib/candid/write_offs/v_1/client.rb +161 -0
  853. data/lib/candid/write_offs/v_1/types/create_write_offs_request.rb +15 -0
  854. data/lib/candid/write_offs/v_1/types/create_write_offs_response.rb +15 -0
  855. data/lib/candid/write_offs/v_1/types/get_multi_write_offs_request.rb +22 -0
  856. data/lib/candid/write_offs/v_1/types/insurance_write_off.rb +25 -0
  857. data/lib/candid/write_offs/v_1/types/insurance_write_off_create.rb +22 -0
  858. data/lib/candid/write_offs/v_1/types/insurance_write_off_reason.rb +31 -0
  859. data/lib/candid/write_offs/v_1/types/insurance_write_off_target.rb +19 -0
  860. data/lib/candid/write_offs/v_1/types/non_insurance_payer_write_off.rb +25 -0
  861. data/lib/candid/write_offs/v_1/types/non_insurance_payer_write_off_create.rb +20 -0
  862. data/lib/candid/write_offs/v_1/types/patient_write_off.rb +24 -0
  863. data/lib/candid/write_offs/v_1/types/patient_write_off_create.rb +19 -0
  864. data/lib/candid/write_offs/v_1/types/patient_write_off_reason.rb +26 -0
  865. data/lib/candid/write_offs/v_1/types/write_off.rb +19 -0
  866. data/lib/candid/write_offs/v_1/types/write_off_create.rb +19 -0
  867. data/lib/candid/write_offs/v_1/types/write_off_sort_field.rb +17 -0
  868. data/lib/candid/write_offs/v_1/types/write_offs_page.rb +15 -0
  869. data/lib/candid/x_12/v_1/types/patient_discharge_status_code.rb +54 -0
  870. data/lib/candid/x_12/v_1/types/point_of_origin_for_admission_or_visit_code.rb +25 -0
  871. data/lib/candid/x_12/v_1/types/type_of_admission_or_visit_code.rb +20 -0
  872. data/lib/candid/x_12/v_1/types/type_of_bill_composite.rb +13 -0
  873. data/lib/candid/x_12/v_1/types/type_of_bill_composite_base.rb +17 -0
  874. data/lib/candid/x_12/v_1/types/type_of_bill_composite_update.rb +26 -0
  875. data/lib/candid/x_12/v_1/types/type_of_bill_frequency_code.rb +41 -0
  876. data/lib/candid/x_12/v_1/types/type_of_care_code.rb +23 -0
  877. data/lib/candid/x_12/v_1/types/type_of_facility_code.rb +21 -0
  878. data/lib/candid/yes_no_indicator/types/yes_no_indicator.rb +16 -0
  879. data/lib/candid.rb +877 -0
  880. data/reference.md +14757 -0
  881. metadata +889 -884
  882. data/lib/candidhealth/auth/client.rb +0 -30
  883. data/lib/candidhealth/auth/default/client.rb +0 -169
  884. data/lib/candidhealth/auth/default/types/auth_get_token_response.rb +0 -77
  885. data/lib/candidhealth/auth/default/types/invalid_content_type_error_type.rb +0 -60
  886. data/lib/candidhealth/auth/default/types/too_many_requests_error_type.rb +0 -60
  887. data/lib/candidhealth/billing_notes/client.rb +0 -30
  888. data/lib/candidhealth/billing_notes/v_2/client.rb +0 -188
  889. data/lib/candidhealth/billing_notes/v_2/types/billing_note.rb +0 -112
  890. data/lib/candidhealth/billing_notes/v_2/types/billing_note_base.rb +0 -60
  891. data/lib/candidhealth/billing_notes/v_2/types/billing_note_base_optional.rb +0 -62
  892. data/lib/candidhealth/charge_capture/client.rb +0 -30
  893. data/lib/candidhealth/charge_capture/v_1/client.rb +0 -2318
  894. data/lib/candidhealth/charge_capture/v_1/types/charge_capture.rb +0 -175
  895. data/lib/candidhealth/charge_capture/v_1/types/charge_capture_data.rb +0 -794
  896. data/lib/candidhealth/charge_capture/v_1/types/charge_capture_error.rb +0 -138
  897. data/lib/candidhealth/charge_capture/v_1/types/charge_capture_page.rb +0 -96
  898. data/lib/candidhealth/charge_capture/v_1/types/charge_capture_post_billed_change.rb +0 -80
  899. data/lib/candidhealth/charge_capture/v_1/types/charge_capture_sort_field.rb +0 -14
  900. data/lib/candidhealth/charge_capture/v_1/types/charge_capture_status.rb +0 -17
  901. data/lib/candidhealth/charge_capture/v_1/types/charge_external_id_conflict_error_message.rb +0 -62
  902. data/lib/candidhealth/charge_capture_bundles/client.rb +0 -30
  903. data/lib/candidhealth/charge_capture_bundles/v_1/client.rb +0 -387
  904. data/lib/candidhealth/charge_capture_bundles/v_1/types/charge_capture_claim_creation.rb +0 -132
  905. data/lib/candidhealth/charge_capture_bundles/v_1/types/charge_capture_claim_creation_page.rb +0 -88
  906. data/lib/candidhealth/charge_capture_bundles/v_1/types/charge_capture_claim_creation_sort_field.rb +0 -13
  907. data/lib/candidhealth/charge_capture_bundles/v_1/types/charge_capture_claim_creation_status.rb +0 -18
  908. data/lib/candidhealth/charge_capture_bundles/v_1/types/charge_capture_claim_creation_summary.rb +0 -100
  909. data/lib/candidhealth/claim_submission/v_1/types/claim_submission_record_create.rb +0 -100
  910. data/lib/candidhealth/claim_submission/v_1/types/claim_submission_record_create_optional.rb +0 -100
  911. data/lib/candidhealth/claim_submission/v_1/types/external_claim_submission_create.rb +0 -97
  912. data/lib/candidhealth/claim_submission/v_1/types/external_claim_submission_create_optional.rb +0 -101
  913. data/lib/candidhealth/claims/types/claim.rb +0 -132
  914. data/lib/candidhealth/claims/types/claim_status.rb +0 -25
  915. data/lib/candidhealth/clinical_trials/v_1/types/clinical_trial.rb +0 -109
  916. data/lib/candidhealth/clinical_trials/v_1/types/clinical_trial_phase.rb +0 -15
  917. data/lib/candidhealth/clinical_trials/v_1/types/mutable_clinical_trial.rb +0 -84
  918. data/lib/candidhealth/commons/types/billing_provider_commercial_license_type.rb +0 -20
  919. data/lib/candidhealth/commons/types/claim_adjustment_group_codes.rb +0 -20
  920. data/lib/candidhealth/commons/types/claim_submission_payer_responsibility_type.rb +0 -12
  921. data/lib/candidhealth/commons/types/clearinghouse.rb +0 -18
  922. data/lib/candidhealth/commons/types/date_range_optional_end.rb +0 -70
  923. data/lib/candidhealth/commons/types/delay_reason_code.rb +0 -25
  924. data/lib/candidhealth/commons/types/emr_payer_crosswalk.rb +0 -12
  925. data/lib/candidhealth/commons/types/entity_conflict_error_message.rb +0 -58
  926. data/lib/candidhealth/commons/types/entity_not_found_error_message.rb +0 -58
  927. data/lib/candidhealth/commons/types/epsdt_referral_condition_indicator_code.rb +0 -14
  928. data/lib/candidhealth/commons/types/facility_type_code.rb +0 -64
  929. data/lib/candidhealth/commons/types/http_service_unavailable_error_message.rb +0 -60
  930. data/lib/candidhealth/commons/types/insurance_type_code.rb +0 -82
  931. data/lib/candidhealth/commons/types/intended_submission_medium.rb +0 -15
  932. data/lib/candidhealth/commons/types/network_type.rb +0 -31
  933. data/lib/candidhealth/commons/types/next_responsible_party.rb +0 -16
  934. data/lib/candidhealth/commons/types/organization_not_authorized_error_message.rb +0 -59
  935. data/lib/candidhealth/commons/types/patient_relationship_to_insured_code_all.rb +0 -34
  936. data/lib/candidhealth/commons/types/phone_number.rb +0 -69
  937. data/lib/candidhealth/commons/types/phone_number_optional.rb +0 -71
  938. data/lib/candidhealth/commons/types/phone_number_type.rb +0 -13
  939. data/lib/candidhealth/commons/types/primitive.rb +0 -17
  940. data/lib/candidhealth/commons/types/procedure_modifier.rb +0 -420
  941. data/lib/candidhealth/commons/types/qualifier_code.rb +0 -14
  942. data/lib/candidhealth/commons/types/region_national.rb +0 -51
  943. data/lib/candidhealth/commons/types/region_states.rb +0 -59
  944. data/lib/candidhealth/commons/types/regions.rb +0 -98
  945. data/lib/candidhealth/commons/types/removable_date_range_optional_end.rb +0 -96
  946. data/lib/candidhealth/commons/types/request_validation_error.rb +0 -70
  947. data/lib/candidhealth/commons/types/resource_page.rb +0 -70
  948. data/lib/candidhealth/commons/types/service_line_units.rb +0 -12
  949. data/lib/candidhealth/commons/types/sort_direction.rb +0 -12
  950. data/lib/candidhealth/commons/types/source_of_payment_code.rb +0 -34
  951. data/lib/candidhealth/commons/types/state.rb +0 -72
  952. data/lib/candidhealth/commons/types/street_address_base.rb +0 -98
  953. data/lib/candidhealth/commons/types/street_address_long_zip.rb +0 -107
  954. data/lib/candidhealth/commons/types/street_address_long_zip_optional.rb +0 -107
  955. data/lib/candidhealth/commons/types/street_address_optional_base.rb +0 -99
  956. data/lib/candidhealth/commons/types/street_address_short_zip.rb +0 -107
  957. data/lib/candidhealth/commons/types/street_address_short_zip_optional.rb +0 -107
  958. data/lib/candidhealth/commons/types/unauthorized_error_message.rb +0 -60
  959. data/lib/candidhealth/commons/types/unprocessable_entity_error_message.rb +0 -60
  960. data/lib/candidhealth/commons/types/updates_disabled_due_to_external_system_integration_error_message.rb +0 -62
  961. data/lib/candidhealth/contracts/client.rb +0 -30
  962. data/lib/candidhealth/contracts/v_2/client.rb +0 -444
  963. data/lib/candidhealth/contracts/v_2/types/authorized_signatory.rb +0 -108
  964. data/lib/candidhealth/contracts/v_2/types/authorized_signatory_update.rb +0 -98
  965. data/lib/candidhealth/contracts/v_2/types/contract.rb +0 -202
  966. data/lib/candidhealth/contracts/v_2/types/contract_base.rb +0 -156
  967. data/lib/candidhealth/contracts/v_2/types/contract_invalid_expiration_date_error.rb +0 -60
  968. data/lib/candidhealth/contracts/v_2/types/contract_is_linked_to_fee_schedule_error.rb +0 -60
  969. data/lib/candidhealth/contracts/v_2/types/contract_sort_field.rb +0 -18
  970. data/lib/candidhealth/contracts/v_2/types/contract_status.rb +0 -15
  971. data/lib/candidhealth/contracts/v_2/types/contract_with_providers.rb +0 -216
  972. data/lib/candidhealth/contracts/v_2/types/contracts_page.rb +0 -88
  973. data/lib/candidhealth/contracts/v_2/types/date_update.rb +0 -97
  974. data/lib/candidhealth/contracts/v_2/types/insurance_types.rb +0 -109
  975. data/lib/candidhealth/contracts/v_2/types/regions_update.rb +0 -98
  976. data/lib/candidhealth/credentialing/client.rb +0 -30
  977. data/lib/candidhealth/credentialing/v_2/client.rb +0 -718
  978. data/lib/candidhealth/credentialing/v_2/types/base_credentialing_span.rb +0 -143
  979. data/lib/candidhealth/credentialing/v_2/types/credentialing_span_status.rb +0 -17
  980. data/lib/candidhealth/credentialing/v_2/types/facility_credentialing_span.rb +0 -165
  981. data/lib/candidhealth/credentialing/v_2/types/facility_credentialing_span_page.rb +0 -88
  982. data/lib/candidhealth/credentialing/v_2/types/provider_credentialing_span.rb +0 -196
  983. data/lib/candidhealth/credentialing/v_2/types/provider_credentialing_span_page.rb +0 -88
  984. data/lib/candidhealth/custom_schemas/client.rb +0 -30
  985. data/lib/candidhealth/custom_schemas/v_1/client.rb +0 -291
  986. data/lib/candidhealth/custom_schemas/v_1/types/key_with_name_already_exists_error.rb +0 -71
  987. data/lib/candidhealth/custom_schemas/v_1/types/schema.rb +0 -91
  988. data/lib/candidhealth/custom_schemas/v_1/types/schema_field.rb +0 -71
  989. data/lib/candidhealth/custom_schemas/v_1/types/schema_get_multi_response.rb +0 -65
  990. data/lib/candidhealth/custom_schemas/v_1/types/schema_instance.rb +0 -76
  991. data/lib/candidhealth/custom_schemas/v_1/types/schema_instance_optional.rb +0 -78
  992. data/lib/candidhealth/custom_schemas/v_1/types/schema_validation_error.rb +0 -100
  993. data/lib/candidhealth/custom_schemas/v_1/types/schema_validation_failure.rb +0 -65
  994. data/lib/candidhealth/custom_schemas/v_1/types/schema_with_name_already_exists_error.rb +0 -70
  995. data/lib/candidhealth/diagnoses/client.rb +0 -243
  996. data/lib/candidhealth/diagnoses/types/diagnosis.rb +0 -160
  997. data/lib/candidhealth/diagnoses/types/diagnosis_create.rb +0 -125
  998. data/lib/candidhealth/diagnoses/types/diagnosis_create_optional.rb +0 -126
  999. data/lib/candidhealth/diagnoses/types/diagnosis_not_found_error.rb +0 -70
  1000. data/lib/candidhealth/diagnoses/types/diagnosis_type_code.rb +0 -20
  1001. data/lib/candidhealth/diagnoses/types/disallow_multiple_primary_diagnosis_error.rb +0 -80
  1002. data/lib/candidhealth/diagnoses/types/service_lines_must_have_at_least_one_diagnosis_error.rb +0 -77
  1003. data/lib/candidhealth/diagnoses/types/standalone_diagnosis_create.rb +0 -134
  1004. data/lib/candidhealth/eligibility/client.rb +0 -30
  1005. data/lib/candidhealth/eligibility/v_2/client.rb +0 -338
  1006. data/lib/candidhealth/encounter_attachments/client.rb +0 -30
  1007. data/lib/candidhealth/encounter_attachments/v_1/client.rb +0 -193
  1008. data/lib/candidhealth/encounter_attachments/v_1/types/base_attachment.rb +0 -98
  1009. data/lib/candidhealth/encounter_attachments/v_1/types/encounter_attachment.rb +0 -115
  1010. data/lib/candidhealth/encounter_attachments/v_1/types/encounter_attachment_type.rb +0 -15
  1011. data/lib/candidhealth/encounter_providers/client.rb +0 -30
  1012. data/lib/candidhealth/encounter_providers/v_2/client.rb +0 -789
  1013. data/lib/candidhealth/encounter_providers/v_2/types/billing_provider.rb +0 -157
  1014. data/lib/candidhealth/encounter_providers/v_2/types/billing_provider_update.rb +0 -157
  1015. data/lib/candidhealth/encounter_providers/v_2/types/billing_provider_update_with_optional_address.rb +0 -160
  1016. data/lib/candidhealth/encounter_providers/v_2/types/encounter_provider.rb +0 -159
  1017. data/lib/candidhealth/encounter_providers/v_2/types/encounter_provider_base.rb +0 -89
  1018. data/lib/candidhealth/encounter_providers/v_2/types/initial_referring_provider.rb +0 -132
  1019. data/lib/candidhealth/encounter_providers/v_2/types/initial_referring_provider_update.rb +0 -132
  1020. data/lib/candidhealth/encounter_providers/v_2/types/initial_referring_provider_update_with_optional_address.rb +0 -134
  1021. data/lib/candidhealth/encounter_providers/v_2/types/ordering_provider.rb +0 -123
  1022. data/lib/candidhealth/encounter_providers/v_2/types/ordering_provider_optional.rb +0 -123
  1023. data/lib/candidhealth/encounter_providers/v_2/types/ordering_provider_update.rb +0 -123
  1024. data/lib/candidhealth/encounter_providers/v_2/types/referring_provider.rb +0 -123
  1025. data/lib/candidhealth/encounter_providers/v_2/types/referring_provider_update.rb +0 -123
  1026. data/lib/candidhealth/encounter_providers/v_2/types/referring_provider_update_with_optional_address.rb +0 -125
  1027. data/lib/candidhealth/encounter_providers/v_2/types/rendering_provider.rb +0 -123
  1028. data/lib/candidhealth/encounter_providers/v_2/types/rendering_provider_update.rb +0 -123
  1029. data/lib/candidhealth/encounter_providers/v_2/types/rendering_provider_update_with_optional_address.rb +0 -125
  1030. data/lib/candidhealth/encounter_providers/v_2/types/supervising_provider.rb +0 -123
  1031. data/lib/candidhealth/encounter_providers/v_2/types/supervising_provider_update.rb +0 -123
  1032. data/lib/candidhealth/encounter_providers/v_2/types/supervising_provider_update_with_optional_address.rb +0 -125
  1033. data/lib/candidhealth/encounters/client.rb +0 -30
  1034. data/lib/candidhealth/encounters/v_4/client.rb +0 -1637
  1035. data/lib/candidhealth/encounters/v_4/types/billable_status_type.rb +0 -14
  1036. data/lib/candidhealth/encounters/v_4/types/cash_pay_payer_error_message.rb +0 -60
  1037. data/lib/candidhealth/encounters/v_4/types/claim_supplemental_information.rb +0 -86
  1038. data/lib/candidhealth/encounters/v_4/types/claim_supplemental_information_optional.rb +0 -86
  1039. data/lib/candidhealth/encounters/v_4/types/clinical_note.rb +0 -93
  1040. data/lib/candidhealth/encounters/v_4/types/clinical_note_category.rb +0 -89
  1041. data/lib/candidhealth/encounters/v_4/types/clinical_note_category_create.rb +0 -76
  1042. data/lib/candidhealth/encounters/v_4/types/clinical_note_category_create_optional.rb +0 -78
  1043. data/lib/candidhealth/encounters/v_4/types/clinical_note_optional.rb +0 -93
  1044. data/lib/candidhealth/encounters/v_4/types/coding_attribution_type.rb +0 -16
  1045. data/lib/candidhealth/encounters/v_4/types/encounter.rb +0 -1066
  1046. data/lib/candidhealth/encounters/v_4/types/encounter_base.rb +0 -366
  1047. data/lib/candidhealth/encounters/v_4/types/encounter_create.rb +0 -796
  1048. data/lib/candidhealth/encounters/v_4/types/encounter_create_from_pre_encounter.rb +0 -643
  1049. data/lib/candidhealth/encounters/v_4/types/encounter_deep_optional.rb +0 -794
  1050. data/lib/candidhealth/encounters/v_4/types/encounter_external_id_uniqueness_error_type.rb +0 -63
  1051. data/lib/candidhealth/encounters/v_4/types/encounter_guarantor_missing_contact_info_error_type.rb +0 -62
  1052. data/lib/candidhealth/encounters/v_4/types/encounter_optional.rb +0 -370
  1053. data/lib/candidhealth/encounters/v_4/types/encounter_owner_of_next_action_type.rb +0 -16
  1054. data/lib/candidhealth/encounters/v_4/types/encounter_page.rb +0 -88
  1055. data/lib/candidhealth/encounters/v_4/types/encounter_patient_control_number_uniqueness_error_type.rb +0 -62
  1056. data/lib/candidhealth/encounters/v_4/types/encounter_rendering_or_attending_provider_required_error.rb +0 -55
  1057. data/lib/candidhealth/encounters/v_4/types/encounter_sort_options.rb +0 -16
  1058. data/lib/candidhealth/encounters/v_4/types/encounter_submission_expectation.rb +0 -20
  1059. data/lib/candidhealth/encounters/v_4/types/encounter_submission_origin_type.rb +0 -14
  1060. data/lib/candidhealth/encounters/v_4/types/encounter_update.rb +0 -736
  1061. data/lib/candidhealth/encounters/v_4/types/epsdt_referral.rb +0 -85
  1062. data/lib/candidhealth/encounters/v_4/types/epsdt_referral_optional.rb +0 -85
  1063. data/lib/candidhealth/encounters/v_4/types/intake_follow_up.rb +0 -79
  1064. data/lib/candidhealth/encounters/v_4/types/intake_question.rb +0 -84
  1065. data/lib/candidhealth/encounters/v_4/types/intake_question_optional.rb +0 -84
  1066. data/lib/candidhealth/encounters/v_4/types/intake_response_and_follow_ups.rb +0 -77
  1067. data/lib/candidhealth/encounters/v_4/types/intervention.rb +0 -113
  1068. data/lib/candidhealth/encounters/v_4/types/intervention_category.rb +0 -16
  1069. data/lib/candidhealth/encounters/v_4/types/intervention_optional.rb +0 -114
  1070. data/lib/candidhealth/encounters/v_4/types/invalid_tag_names_error_type.rb +0 -60
  1071. data/lib/candidhealth/encounters/v_4/types/key_does_not_exist_error.rb +0 -70
  1072. data/lib/candidhealth/encounters/v_4/types/lab.rb +0 -80
  1073. data/lib/candidhealth/encounters/v_4/types/lab_code_type.rb +0 -14
  1074. data/lib/candidhealth/encounters/v_4/types/lab_optional.rb +0 -80
  1075. data/lib/candidhealth/encounters/v_4/types/medication.rb +0 -108
  1076. data/lib/candidhealth/encounters/v_4/types/medication_optional.rb +0 -108
  1077. data/lib/candidhealth/encounters/v_4/types/multiple_instances_for_schema_error.rb +0 -60
  1078. data/lib/candidhealth/encounters/v_4/types/note_category.rb +0 -26
  1079. data/lib/candidhealth/encounters/v_4/types/patient_history_category.rb +0 -76
  1080. data/lib/candidhealth/encounters/v_4/types/patient_history_category_enum.rb +0 -16
  1081. data/lib/candidhealth/encounters/v_4/types/patient_history_category_optional.rb +0 -78
  1082. data/lib/candidhealth/encounters/v_4/types/payer_plan_group_payer_does_not_match_insurance_card_error.rb +0 -77
  1083. data/lib/candidhealth/encounters/v_4/types/report_transmission_code.rb +0 -15
  1084. data/lib/candidhealth/encounters/v_4/types/report_type_code.rb +0 -73
  1085. data/lib/candidhealth/encounters/v_4/types/responsible_party_type.rb +0 -15
  1086. data/lib/candidhealth/encounters/v_4/types/schema_does_not_exist_error.rb +0 -60
  1087. data/lib/candidhealth/encounters/v_4/types/schema_instance_validation_error.rb +0 -139
  1088. data/lib/candidhealth/encounters/v_4/types/schema_instance_validation_failure.rb +0 -65
  1089. data/lib/candidhealth/encounters/v_4/types/schema_unauthorized_access_error.rb +0 -60
  1090. data/lib/candidhealth/encounters/v_4/types/service_authorization_exception_code.rb +0 -23
  1091. data/lib/candidhealth/encounters/v_4/types/synchronicity_type.rb +0 -14
  1092. data/lib/candidhealth/encounters/v_4/types/value_does_not_match_key_type_error.rb +0 -90
  1093. data/lib/candidhealth/encounters/v_4/types/vitals.rb +0 -116
  1094. data/lib/candidhealth/encounters/v_4/types/vitals_update.rb +0 -116
  1095. data/lib/candidhealth/encounters_universal/types/universal_encounter_create_base.rb +0 -691
  1096. data/lib/candidhealth/encounters_universal/types/universal_encounter_create_from_pre_encounter_base.rb +0 -572
  1097. data/lib/candidhealth/encounters_universal/types/universal_encounter_update_base.rb +0 -700
  1098. data/lib/candidhealth/era/types/era.rb +0 -75
  1099. data/lib/candidhealth/era/types/era_base.rb +0 -68
  1100. data/lib/candidhealth/era/types/era_not_fully_processed_error_message.rb +0 -68
  1101. data/lib/candidhealth/era_commons/types/claim_status_code_create.rb +0 -20
  1102. data/lib/candidhealth/expected_network_status/client.rb +0 -37
  1103. data/lib/candidhealth/expected_network_status/v_1/client.rb +0 -153
  1104. data/lib/candidhealth/expected_network_status/v_1/types/expected_network_status.rb +0 -15
  1105. data/lib/candidhealth/expected_network_status/v_1/types/expected_network_status_response.rb +0 -86
  1106. data/lib/candidhealth/expected_network_status/v_2/client.rb +0 -222
  1107. data/lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_providers_request.rb +0 -152
  1108. data/lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_providers_response.rb +0 -80
  1109. data/lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_rendering_providers_result.rb +0 -114
  1110. data/lib/candidhealth/expected_network_status/v_2/types/empty_object.rb +0 -53
  1111. data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_check_error_message.rb +0 -61
  1112. data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_request_v_2.rb +0 -152
  1113. data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_response_v_2.rb +0 -77
  1114. data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_subscriber_information.rb +0 -86
  1115. data/lib/candidhealth/expected_network_status/v_2/types/expected_network_status_v_2.rb +0 -113
  1116. data/lib/candidhealth/expected_network_status/v_2/types/explanation.rb +0 -20
  1117. data/lib/candidhealth/expected_network_status/v_2/types/in_network_rendering_providers_detail.rb +0 -82
  1118. data/lib/candidhealth/expected_network_status/v_2/types/in_network_status.rb +0 -73
  1119. data/lib/candidhealth/expected_network_status/v_2/types/indeterminate_network_status.rb +0 -93
  1120. data/lib/candidhealth/expected_network_status/v_2/types/insurance_type.rb +0 -78
  1121. data/lib/candidhealth/expected_network_status/v_2/types/insurance_type_codes.rb +0 -112
  1122. data/lib/candidhealth/expected_network_status/v_2/types/line_of_business.rb +0 -15
  1123. data/lib/candidhealth/expected_network_status/v_2/types/out_of_network_status.rb +0 -82
  1124. data/lib/candidhealth/expected_network_status/v_2/types/service_type.rb +0 -53
  1125. data/lib/candidhealth/exports/client.rb +0 -30
  1126. data/lib/candidhealth/exports/v_3/client.rb +0 -158
  1127. data/lib/candidhealth/exports/v_3/types/get_exports_response.rb +0 -96
  1128. data/lib/candidhealth/external_payment_account_config/client.rb +0 -30
  1129. data/lib/candidhealth/external_payment_account_config/v_1/client.rb +0 -89
  1130. data/lib/candidhealth/external_payment_account_config/v_1/types/external_payment_account_config.rb +0 -70
  1131. data/lib/candidhealth/external_payment_account_config/v_1/types/external_payment_account_config_page.rb +0 -88
  1132. data/lib/candidhealth/fee_schedules/client.rb +0 -30
  1133. data/lib/candidhealth/fee_schedules/v_3/client.rb +0 -842
  1134. data/lib/candidhealth/fee_schedules/v_3/types/dimension_match.rb +0 -200
  1135. data/lib/candidhealth/fee_schedules/v_3/types/dimension_name.rb +0 -16
  1136. data/lib/candidhealth/fee_schedules/v_3/types/dimensions.rb +0 -179
  1137. data/lib/candidhealth/fee_schedules/v_3/types/dimensions_page.rb +0 -88
  1138. data/lib/candidhealth/fee_schedules/v_3/types/match_cpt_code.rb +0 -78
  1139. data/lib/candidhealth/fee_schedules/v_3/types/match_date.rb +0 -82
  1140. data/lib/candidhealth/fee_schedules/v_3/types/match_facility_type_code.rb +0 -81
  1141. data/lib/candidhealth/fee_schedules/v_3/types/match_geo.rb +0 -93
  1142. data/lib/candidhealth/fee_schedules/v_3/types/match_license_type.rb +0 -81
  1143. data/lib/candidhealth/fee_schedules/v_3/types/match_modifiers.rb +0 -85
  1144. data/lib/candidhealth/fee_schedules/v_3/types/match_network_types.rb +0 -85
  1145. data/lib/candidhealth/fee_schedules/v_3/types/match_payer.rb +0 -78
  1146. data/lib/candidhealth/fee_schedules/v_3/types/match_payer_plan_groups.rb +0 -85
  1147. data/lib/candidhealth/fee_schedules/v_3/types/match_provider.rb +0 -80
  1148. data/lib/candidhealth/fee_schedules/v_3/types/match_result.rb +0 -77
  1149. data/lib/candidhealth/fee_schedules/v_3/types/match_test_result.rb +0 -83
  1150. data/lib/candidhealth/fee_schedules/v_3/types/new_rate.rb +0 -81
  1151. data/lib/candidhealth/fee_schedules/v_3/types/new_rate_version.rb +0 -88
  1152. data/lib/candidhealth/fee_schedules/v_3/types/optional_dimensions.rb +0 -180
  1153. data/lib/candidhealth/fee_schedules/v_3/types/overlapping_rate_entries_error.rb +0 -90
  1154. data/lib/candidhealth/fee_schedules/v_3/types/payer_plan_group_does_not_match_rate_payer_error.rb +0 -75
  1155. data/lib/candidhealth/fee_schedules/v_3/types/payer_threshold.rb +0 -93
  1156. data/lib/candidhealth/fee_schedules/v_3/types/payer_thresholds_page.rb +0 -87
  1157. data/lib/candidhealth/fee_schedules/v_3/types/rate.rb +0 -121
  1158. data/lib/candidhealth/fee_schedules/v_3/types/rate_entry.rb +0 -96
  1159. data/lib/candidhealth/fee_schedules/v_3/types/rate_upload.rb +0 -100
  1160. data/lib/candidhealth/fee_schedules/v_3/types/rate_upload_with_possible_errors.rb +0 -100
  1161. data/lib/candidhealth/fee_schedules/v_3/types/rates_page.rb +0 -88
  1162. data/lib/candidhealth/fee_schedules/v_3/types/threshold_match.rb +0 -97
  1163. data/lib/candidhealth/fee_schedules/v_3/types/validation_error.rb +0 -172
  1164. data/lib/candidhealth/financials/types/account_type.rb +0 -13
  1165. data/lib/candidhealth/financials/types/allocation.rb +0 -75
  1166. data/lib/candidhealth/financials/types/allocation_create.rb +0 -78
  1167. data/lib/candidhealth/financials/types/allocation_target.rb +0 -138
  1168. data/lib/candidhealth/financials/types/allocation_target_create.rb +0 -147
  1169. data/lib/candidhealth/financials/types/appointment_allocation_target.rb +0 -68
  1170. data/lib/candidhealth/financials/types/appointment_by_id_and_patient_external_id.rb +0 -68
  1171. data/lib/candidhealth/financials/types/billing_provider_allocation_target.rb +0 -58
  1172. data/lib/candidhealth/financials/types/claim_allocation_target.rb +0 -68
  1173. data/lib/candidhealth/financials/types/invoice_update.rb +0 -95
  1174. data/lib/candidhealth/financials/types/note_update.rb +0 -95
  1175. data/lib/candidhealth/financials/types/patient_transaction_source.rb +0 -18
  1176. data/lib/candidhealth/financials/types/refund_reason.rb +0 -11
  1177. data/lib/candidhealth/financials/types/refund_reason_update.rb +0 -96
  1178. data/lib/candidhealth/financials/types/service_line_allocation_target.rb +0 -75
  1179. data/lib/candidhealth/guarantor/client.rb +0 -30
  1180. data/lib/candidhealth/guarantor/v_1/client.rb +0 -251
  1181. data/lib/candidhealth/guarantor/v_1/types/encounter_has_existing_guarantor_error_type.rb +0 -61
  1182. data/lib/candidhealth/guarantor/v_1/types/guarantor.rb +0 -160
  1183. data/lib/candidhealth/guarantor/v_1/types/guarantor_base.rb +0 -108
  1184. data/lib/candidhealth/guarantor/v_1/types/guarantor_create.rb +0 -152
  1185. data/lib/candidhealth/guarantor/v_1/types/guarantor_optional.rb +0 -152
  1186. data/lib/candidhealth/guarantor/v_1/types/guarantor_update.rb +0 -152
  1187. data/lib/candidhealth/health_care_code_information/client.rb +0 -30
  1188. data/lib/candidhealth/health_care_code_information/v_1/client.rb +0 -196
  1189. data/lib/candidhealth/health_care_code_information/v_1/types/admitting_diagnosis.rb +0 -108
  1190. data/lib/candidhealth/health_care_code_information/v_1/types/admitting_diagnosis_code_qualifier.rb +0 -14
  1191. data/lib/candidhealth/health_care_code_information/v_1/types/condition_code.rb +0 -170
  1192. data/lib/candidhealth/health_care_code_information/v_1/types/condition_information.rb +0 -109
  1193. data/lib/candidhealth/health_care_code_information/v_1/types/condition_information_code_qualifier.rb +0 -13
  1194. data/lib/candidhealth/health_care_code_information/v_1/types/diagnosis_related_group.rb +0 -108
  1195. data/lib/candidhealth/health_care_code_information/v_1/types/diagnosis_related_group_code_qualifier.rb +0 -13
  1196. data/lib/candidhealth/health_care_code_information/v_1/types/external_cause_of_injury.rb +0 -117
  1197. data/lib/candidhealth/health_care_code_information/v_1/types/external_cause_of_injury_code_qualifier.rb +0 -14
  1198. data/lib/candidhealth/health_care_code_information/v_1/types/health_care_code_information.rb +0 -86
  1199. data/lib/candidhealth/health_care_code_information/v_1/types/health_care_code_information_get_all_response.rb +0 -227
  1200. data/lib/candidhealth/health_care_code_information/v_1/types/health_care_code_information_new.rb +0 -53
  1201. data/lib/candidhealth/health_care_code_information/v_1/types/health_care_code_information_update.rb +0 -325
  1202. data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_code.rb +0 -72
  1203. data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_information.rb +0 -127
  1204. data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_information_code_qualifier.rb +0 -13
  1205. data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_span_code.rb +0 -30
  1206. data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_span_code_qualifier.rb +0 -13
  1207. data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_span_information.rb +0 -124
  1208. data/lib/candidhealth/health_care_code_information/v_1/types/other_diagnosis_information.rb +0 -117
  1209. data/lib/candidhealth/health_care_code_information/v_1/types/other_diagnosis_information_code_qualifier.rb +0 -14
  1210. data/lib/candidhealth/health_care_code_information/v_1/types/other_procedure_information.rb +0 -126
  1211. data/lib/candidhealth/health_care_code_information/v_1/types/other_procedure_information_code_qualifier.rb +0 -14
  1212. data/lib/candidhealth/health_care_code_information/v_1/types/patient_reason_for_visit.rb +0 -108
  1213. data/lib/candidhealth/health_care_code_information/v_1/types/patient_reason_for_visit_code_qualifier.rb +0 -14
  1214. data/lib/candidhealth/health_care_code_information/v_1/types/present_on_admission_indicator_code.rb +0 -17
  1215. data/lib/candidhealth/health_care_code_information/v_1/types/principal_diagnosis.rb +0 -117
  1216. data/lib/candidhealth/health_care_code_information/v_1/types/principal_diagnosis_code_qualifier.rb +0 -14
  1217. data/lib/candidhealth/health_care_code_information/v_1/types/principal_procedure_information.rb +0 -124
  1218. data/lib/candidhealth/health_care_code_information/v_1/types/principal_procedure_information_code_qualifier.rb +0 -15
  1219. data/lib/candidhealth/health_care_code_information/v_1/types/rd_8_date.rb +0 -84
  1220. data/lib/candidhealth/health_care_code_information/v_1/types/set_or_clear_admitting_diagnosis.rb +0 -69
  1221. data/lib/candidhealth/health_care_code_information/v_1/types/set_or_clear_diagnosis_related_group.rb +0 -69
  1222. data/lib/candidhealth/health_care_code_information/v_1/types/set_or_clear_principal_diagnosis.rb +0 -69
  1223. data/lib/candidhealth/health_care_code_information/v_1/types/set_or_clear_principal_procedure_information.rb +0 -71
  1224. data/lib/candidhealth/health_care_code_information/v_1/types/treatment_code_information.rb +0 -108
  1225. data/lib/candidhealth/health_care_code_information/v_1/types/treatment_code_qualifier.rb +0 -13
  1226. data/lib/candidhealth/health_care_code_information/v_1/types/value_code.rb +0 -119
  1227. data/lib/candidhealth/health_care_code_information/v_1/types/value_code_qualifier.rb +0 -13
  1228. data/lib/candidhealth/health_care_code_information/v_1/types/value_information.rb +0 -117
  1229. data/lib/candidhealth/identifiers/types/identifier.rb +0 -103
  1230. data/lib/candidhealth/identifiers/types/identifier_base.rb +0 -95
  1231. data/lib/candidhealth/identifiers/types/identifier_code.rb +0 -12
  1232. data/lib/candidhealth/identifiers/types/identifier_create.rb +0 -95
  1233. data/lib/candidhealth/identifiers/types/identifier_update.rb +0 -104
  1234. data/lib/candidhealth/identifiers/types/identifier_value.rb +0 -98
  1235. data/lib/candidhealth/identifiers/types/medicaid_provider_identifier.rb +0 -69
  1236. data/lib/candidhealth/identifiers/types/medicare_provider_identifier.rb +0 -69
  1237. data/lib/candidhealth/identifiers/types/updatable_identifier.rb +0 -110
  1238. data/lib/candidhealth/import_invoice/client.rb +0 -30
  1239. data/lib/candidhealth/import_invoice/v_1/client.rb +0 -320
  1240. data/lib/candidhealth/import_invoice/v_1/types/create_import_invoice_request.rb +0 -143
  1241. data/lib/candidhealth/import_invoice/v_1/types/import_invoice.rb +0 -165
  1242. data/lib/candidhealth/import_invoice/v_1/types/import_invoice_update_request.rb +0 -109
  1243. data/lib/candidhealth/import_invoice/v_1/types/import_invoices_page.rb +0 -88
  1244. data/lib/candidhealth/import_invoice/v_1/types/invoice_item_info_update.rb +0 -80
  1245. data/lib/candidhealth/import_invoice/v_1/types/invoice_item_update_type.rb +0 -14
  1246. data/lib/candidhealth/individual/types/gender.rb +0 -15
  1247. data/lib/candidhealth/individual/types/individual_base.rb +0 -76
  1248. data/lib/candidhealth/individual/types/individual_base_optional.rb +0 -78
  1249. data/lib/candidhealth/individual/types/patient.rb +0 -195
  1250. data/lib/candidhealth/individual/types/patient_base.rb +0 -117
  1251. data/lib/candidhealth/individual/types/patient_clinical_trial_info.rb +0 -80
  1252. data/lib/candidhealth/individual/types/patient_clinical_trial_info_create.rb +0 -73
  1253. data/lib/candidhealth/individual/types/patient_create.rb +0 -183
  1254. data/lib/candidhealth/individual/types/patient_non_insurance_payer_info.rb +0 -92
  1255. data/lib/candidhealth/individual/types/patient_non_insurance_payer_info_create.rb +0 -86
  1256. data/lib/candidhealth/individual/types/patient_non_insurance_payer_info_create_optional.rb +0 -89
  1257. data/lib/candidhealth/individual/types/patient_update.rb +0 -187
  1258. data/lib/candidhealth/individual/types/patient_update_with_optional_address.rb +0 -187
  1259. data/lib/candidhealth/individual/types/subscriber.rb +0 -138
  1260. data/lib/candidhealth/individual/types/subscriber_base.rb +0 -116
  1261. data/lib/candidhealth/individual/types/subscriber_base_optional.rb +0 -118
  1262. data/lib/candidhealth/individual/types/subscriber_create.rb +0 -134
  1263. data/lib/candidhealth/individual/types/subscriber_create_optional.rb +0 -136
  1264. data/lib/candidhealth/insurance_adjudications/client.rb +0 -30
  1265. data/lib/candidhealth/insurance_adjudications/v_1/client.rb +0 -206
  1266. data/lib/candidhealth/insurance_adjudications/v_1/types/claim_adjudication.rb +0 -126
  1267. data/lib/candidhealth/insurance_adjudications/v_1/types/claim_adjudication_create.rb +0 -119
  1268. data/lib/candidhealth/insurance_adjudications/v_1/types/insurance_adjudication.rb +0 -123
  1269. data/lib/candidhealth/insurance_adjudications/v_1/types/insurance_adjudication_create.rb +0 -151
  1270. data/lib/candidhealth/insurance_adjudications/v_1/types/service_line_adjudication.rb +0 -142
  1271. data/lib/candidhealth/insurance_adjudications/v_1/types/service_line_adjudication_create.rb +0 -134
  1272. data/lib/candidhealth/insurance_cards/v_2/types/insurance_card.rb +0 -166
  1273. data/lib/candidhealth/insurance_cards/v_2/types/insurance_card_base.rb +0 -102
  1274. data/lib/candidhealth/insurance_cards/v_2/types/insurance_card_create.rb +0 -167
  1275. data/lib/candidhealth/insurance_cards/v_2/types/insurance_card_create_optional.rb +0 -167
  1276. data/lib/candidhealth/insurance_payments/client.rb +0 -30
  1277. data/lib/candidhealth/insurance_payments/v_1/client.rb +0 -172
  1278. data/lib/candidhealth/insurance_payments/v_1/types/insurance_payment.rb +0 -122
  1279. data/lib/candidhealth/insurance_payments/v_1/types/insurance_payment_sort_field.rb +0 -15
  1280. data/lib/candidhealth/insurance_payments/v_1/types/insurance_payments_page.rb +0 -88
  1281. data/lib/candidhealth/insurance_refunds/client.rb +0 -30
  1282. data/lib/candidhealth/insurance_refunds/v_1/client.rb +0 -372
  1283. data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund.rb +0 -131
  1284. data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund_create.rb +0 -123
  1285. data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refund_sort_field.rb +0 -16
  1286. data/lib/candidhealth/insurance_refunds/v_1/types/insurance_refunds_page.rb +0 -88
  1287. data/lib/candidhealth/invoices/types/invoice.rb +0 -169
  1288. data/lib/candidhealth/invoices/types/invoice_item.rb +0 -68
  1289. data/lib/candidhealth/invoices/types/invoice_status.rb +0 -16
  1290. data/lib/candidhealth/invoices/v_2/types/claim_invoice_item.rb +0 -70
  1291. data/lib/candidhealth/invoices/v_2/types/claim_invoice_item_info.rb +0 -85
  1292. data/lib/candidhealth/invoices/v_2/types/invoice.rb +0 -173
  1293. data/lib/candidhealth/invoices/v_2/types/invoice_destination.rb +0 -17
  1294. data/lib/candidhealth/invoices/v_2/types/invoice_destination_metadata.rb +0 -95
  1295. data/lib/candidhealth/invoices/v_2/types/invoice_info.rb +0 -85
  1296. data/lib/candidhealth/invoices/v_2/types/invoice_item_attribution_create.rb +0 -110
  1297. data/lib/candidhealth/invoices/v_2/types/invoice_item_create.rb +0 -77
  1298. data/lib/candidhealth/invoices/v_2/types/invoice_item_info.rb +0 -78
  1299. data/lib/candidhealth/invoices/v_2/types/invoice_sort_field.rb +0 -18
  1300. data/lib/candidhealth/invoices/v_2/types/invoice_status.rb +0 -18
  1301. data/lib/candidhealth/invoices/v_2/types/service_line_invoice_item.rb +0 -70
  1302. data/lib/candidhealth/invoices/v_2/types/unattributed_invoice_item.rb +0 -60
  1303. data/lib/candidhealth/medication_dispense/client.rb +0 -30
  1304. data/lib/candidhealth/medication_dispense/v_1/client.rb +0 -114
  1305. data/lib/candidhealth/medication_dispense/v_1/types/medication_dispense_create.rb +0 -142
  1306. data/lib/candidhealth/non_insurance_payer_payments/client.rb +0 -30
  1307. data/lib/candidhealth/non_insurance_payer_payments/v_1/client.rb +0 -344
  1308. data/lib/candidhealth/non_insurance_payer_payments/v_1/types/non_insurance_payer_payment.rb +0 -138
  1309. data/lib/candidhealth/non_insurance_payer_payments/v_1/types/non_insurance_payer_payment_create.rb +0 -124
  1310. data/lib/candidhealth/non_insurance_payer_payments/v_1/types/non_insurance_payer_payment_sort_field.rb +0 -14
  1311. data/lib/candidhealth/non_insurance_payer_payments/v_1/types/non_insurance_payer_payments_page.rb +0 -88
  1312. data/lib/candidhealth/non_insurance_payer_refunds/client.rb +0 -30
  1313. data/lib/candidhealth/non_insurance_payer_refunds/v_1/client.rb +0 -371
  1314. data/lib/candidhealth/non_insurance_payer_refunds/v_1/types/non_insurance_payer_refund.rb +0 -147
  1315. data/lib/candidhealth/non_insurance_payer_refunds/v_1/types/non_insurance_payer_refund_create.rb +0 -133
  1316. data/lib/candidhealth/non_insurance_payer_refunds/v_1/types/non_insurance_payer_refund_sort_field.rb +0 -14
  1317. data/lib/candidhealth/non_insurance_payer_refunds/v_1/types/non_insurance_payer_refunds_page.rb +0 -88
  1318. data/lib/candidhealth/non_insurance_payers/client.rb +0 -30
  1319. data/lib/candidhealth/non_insurance_payers/v_1/client.rb +0 -466
  1320. data/lib/candidhealth/non_insurance_payers/v_1/types/create_non_insurance_payer_request.rb +0 -111
  1321. data/lib/candidhealth/non_insurance_payers/v_1/types/non_insurance_payer.rb +0 -127
  1322. data/lib/candidhealth/non_insurance_payers/v_1/types/non_insurance_payer_address_update.rb +0 -98
  1323. data/lib/candidhealth/non_insurance_payers/v_1/types/non_insurance_payer_categories_page.rb +0 -83
  1324. data/lib/candidhealth/non_insurance_payers/v_1/types/non_insurance_payer_category_update.rb +0 -97
  1325. data/lib/candidhealth/non_insurance_payers/v_1/types/non_insurance_payer_description_update.rb +0 -97
  1326. data/lib/candidhealth/non_insurance_payers/v_1/types/non_insurance_payer_page.rb +0 -88
  1327. data/lib/candidhealth/non_insurance_payers/v_1/types/non_insurance_payer_sort_field.rb +0 -16
  1328. data/lib/candidhealth/non_insurance_payers/v_1/types/non_insurance_payer_update_request.rb +0 -110
  1329. data/lib/candidhealth/non_insurance_payers/v_1/types/toggle_non_insurance_payer_enablement_request.rb +0 -62
  1330. data/lib/candidhealth/organization_providers/client.rb +0 -30
  1331. data/lib/candidhealth/organization_providers/v_2/types/address_type.rb +0 -13
  1332. data/lib/candidhealth/organization_providers/v_2/types/employment_status.rb +0 -14
  1333. data/lib/candidhealth/organization_providers/v_2/types/license_type.rb +0 -115
  1334. data/lib/candidhealth/organization_providers/v_2/types/organization_provider.rb +0 -210
  1335. data/lib/candidhealth/organization_providers/v_2/types/organization_provider_address.rb +0 -78
  1336. data/lib/candidhealth/organization_providers/v_2/types/organization_provider_base.rb +0 -177
  1337. data/lib/candidhealth/organization_providers/v_2/types/organization_provider_sort_options.rb +0 -16
  1338. data/lib/candidhealth/organization_providers/v_2/types/provider_type.rb +0 -14
  1339. data/lib/candidhealth/organization_providers/v_3/client.rb +0 -329
  1340. data/lib/candidhealth/organization_providers/v_3/types/organization_provider_create_v_2.rb +0 -194
  1341. data/lib/candidhealth/organization_providers/v_3/types/organization_provider_page_v_2.rb +0 -88
  1342. data/lib/candidhealth/organization_providers/v_3/types/organization_provider_update_v_2.rb +0 -191
  1343. data/lib/candidhealth/organization_providers/v_3/types/organization_provider_v_2.rb +0 -202
  1344. data/lib/candidhealth/organization_service_facilities/client.rb +0 -30
  1345. data/lib/candidhealth/organization_service_facilities/v_2/client.rb +0 -431
  1346. data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility.rb +0 -191
  1347. data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_create.rb +0 -183
  1348. data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_page.rb +0 -88
  1349. data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_update.rb +0 -183
  1350. data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_mode.rb +0 -14
  1351. data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_operational_status.rb +0 -18
  1352. data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_physical_type.rb +0 -26
  1353. data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_status.rb +0 -15
  1354. data/lib/candidhealth/organization_service_facilities/v_2/types/service_facility_type.rb +0 -135
  1355. data/lib/candidhealth/patient_ar/client.rb +0 -30
  1356. data/lib/candidhealth/patient_ar/v_1/client.rb +0 -161
  1357. data/lib/candidhealth/patient_ar/v_1/types/insurance_adjustment_info.rb +0 -60
  1358. data/lib/candidhealth/patient_ar/v_1/types/insurance_payment_info.rb +0 -60
  1359. data/lib/candidhealth/patient_ar/v_1/types/invalid_filters_error_type.rb +0 -60
  1360. data/lib/candidhealth/patient_ar/v_1/types/inventory_record.rb +0 -101
  1361. data/lib/candidhealth/patient_ar/v_1/types/invoice_itemization_response.rb +0 -103
  1362. data/lib/candidhealth/patient_ar/v_1/types/list_inventory_paged_response.rb +0 -77
  1363. data/lib/candidhealth/patient_ar/v_1/types/non_insurance_adjustment_info.rb +0 -60
  1364. data/lib/candidhealth/patient_ar/v_1/types/non_insurance_payment_info.rb +0 -60
  1365. data/lib/candidhealth/patient_ar/v_1/types/patient_adjustment_info.rb +0 -60
  1366. data/lib/candidhealth/patient_ar/v_1/types/patient_ar_status.rb +0 -14
  1367. data/lib/candidhealth/patient_ar/v_1/types/patient_payment_allocation.rb +0 -76
  1368. data/lib/candidhealth/patient_ar/v_1/types/patient_payment_info.rb +0 -75
  1369. data/lib/candidhealth/patient_ar/v_1/types/service_line_itemization.rb +0 -210
  1370. data/lib/candidhealth/patient_payments/client.rb +0 -30
  1371. data/lib/candidhealth/patient_payments/v_3/types/patient_payment.rb +0 -162
  1372. data/lib/candidhealth/patient_payments/v_3/types/patient_payment_source.rb +0 -21
  1373. data/lib/candidhealth/patient_payments/v_3/types/patient_payment_status.rb +0 -23
  1374. data/lib/candidhealth/patient_payments/v_4/client.rb +0 -401
  1375. data/lib/candidhealth/patient_payments/v_4/types/patient_payment.rb +0 -149
  1376. data/lib/candidhealth/patient_payments/v_4/types/patient_payment_sort_field.rb +0 -16
  1377. data/lib/candidhealth/patient_payments/v_4/types/patient_payments_page.rb +0 -88
  1378. data/lib/candidhealth/patient_refunds/client.rb +0 -30
  1379. data/lib/candidhealth/patient_refunds/v_1/client.rb +0 -413
  1380. data/lib/candidhealth/patient_refunds/v_1/types/patient_refund.rb +0 -158
  1381. data/lib/candidhealth/patient_refunds/v_1/types/patient_refund_sort_field.rb +0 -17
  1382. data/lib/candidhealth/patient_refunds/v_1/types/patient_refunds_page.rb +0 -88
  1383. data/lib/candidhealth/payer_plan_groups/client.rb +0 -30
  1384. data/lib/candidhealth/payer_plan_groups/v_1/client.rb +0 -356
  1385. data/lib/candidhealth/payer_plan_groups/v_1/types/mutable_payer_plan_group.rb +0 -78
  1386. data/lib/candidhealth/payer_plan_groups/v_1/types/payer_plan_group.rb +0 -114
  1387. data/lib/candidhealth/payer_plan_groups/v_1/types/payer_plan_group_already_exists_error.rb +0 -70
  1388. data/lib/candidhealth/payer_plan_groups/v_1/types/payer_plan_group_page.rb +0 -88
  1389. data/lib/candidhealth/payer_plan_groups/v_1/types/payer_plan_group_sort_field.rb +0 -15
  1390. data/lib/candidhealth/payers/client.rb +0 -37
  1391. data/lib/candidhealth/payers/v_3/client.rb +0 -145
  1392. data/lib/candidhealth/payers/v_3/types/payer.rb +0 -131
  1393. data/lib/candidhealth/payers/v_3/types/payer_identifier.rb +0 -99
  1394. data/lib/candidhealth/payers/v_3/types/payer_info.rb +0 -70
  1395. data/lib/candidhealth/payers/v_3/types/payer_page.rb +0 -88
  1396. data/lib/candidhealth/payers/v_4/client.rb +0 -137
  1397. data/lib/candidhealth/payers/v_4/types/clearinghouse_payer_info.rb +0 -127
  1398. data/lib/candidhealth/payers/v_4/types/payer.rb +0 -124
  1399. data/lib/candidhealth/payers/v_4/types/payer_ids.rb +0 -84
  1400. data/lib/candidhealth/payers/v_4/types/payer_page.rb +0 -88
  1401. data/lib/candidhealth/payers/v_4/types/primary_payer_ids.rb +0 -84
  1402. data/lib/candidhealth/payers/v_4/types/support_state.rb +0 -15
  1403. data/lib/candidhealth/pre_encounter/appointments/client.rb +0 -32
  1404. data/lib/candidhealth/pre_encounter/appointments/v_1/client.rb +0 -592
  1405. data/lib/candidhealth/pre_encounter/appointments/v_1/types/appointment.rb +0 -291
  1406. data/lib/candidhealth/pre_encounter/appointments/v_1/types/appointment_status.rb +0 -18
  1407. data/lib/candidhealth/pre_encounter/appointments/v_1/types/appointment_work_queue.rb +0 -18
  1408. data/lib/candidhealth/pre_encounter/appointments/v_1/types/mutable_appointment.rb +0 -239
  1409. data/lib/candidhealth/pre_encounter/appointments/v_1/types/service.rb +0 -82
  1410. data/lib/candidhealth/pre_encounter/appointments/v_1/types/universal_service_identifier.rb +0 -18
  1411. data/lib/candidhealth/pre_encounter/appointments/v_1/types/visit.rb +0 -118
  1412. data/lib/candidhealth/pre_encounter/appointments/v_1/types/visits_page.rb +0 -98
  1413. data/lib/candidhealth/pre_encounter/client.rb +0 -30
  1414. data/lib/candidhealth/pre_encounter/common/types/additional_payer_information.rb +0 -92
  1415. data/lib/candidhealth/pre_encounter/common/types/address.rb +0 -123
  1416. data/lib/candidhealth/pre_encounter/common/types/address_use.rb +0 -17
  1417. data/lib/candidhealth/pre_encounter/common/types/base_model.rb +0 -104
  1418. data/lib/candidhealth/pre_encounter/common/types/canonical_clinical_trial_association.rb +0 -86
  1419. data/lib/candidhealth/pre_encounter/common/types/canonical_non_insurance_payer_association.rb +0 -103
  1420. data/lib/candidhealth/pre_encounter/common/types/contact_point.rb +0 -87
  1421. data/lib/candidhealth/pre_encounter/common/types/contact_point_use.rb +0 -17
  1422. data/lib/candidhealth/pre_encounter/common/types/disability_status.rb +0 -14
  1423. data/lib/candidhealth/pre_encounter/common/types/error_base_4_xx.rb +0 -72
  1424. data/lib/candidhealth/pre_encounter/common/types/ethnicity.rb +0 -16
  1425. data/lib/candidhealth/pre_encounter/common/types/external_identifier.rb +0 -87
  1426. data/lib/candidhealth/pre_encounter/common/types/external_provider.rb +0 -158
  1427. data/lib/candidhealth/pre_encounter/common/types/external_provider_type.rb +0 -15
  1428. data/lib/candidhealth/pre_encounter/common/types/gender.rb +0 -21
  1429. data/lib/candidhealth/pre_encounter/common/types/human_name.rb +0 -107
  1430. data/lib/candidhealth/pre_encounter/common/types/name_use.rb +0 -19
  1431. data/lib/candidhealth/pre_encounter/common/types/patient_service_facility.rb +0 -62
  1432. data/lib/candidhealth/pre_encounter/common/types/period.rb +0 -74
  1433. data/lib/candidhealth/pre_encounter/common/types/race.rb +0 -21
  1434. data/lib/candidhealth/pre_encounter/common/types/relationship.rb +0 -17
  1435. data/lib/candidhealth/pre_encounter/common/types/resource_page.rb +0 -83
  1436. data/lib/candidhealth/pre_encounter/common/types/sex.rb +0 -16
  1437. data/lib/candidhealth/pre_encounter/common/types/sexual_orientation.rb +0 -19
  1438. data/lib/candidhealth/pre_encounter/common/types/sort_direction.rb +0 -14
  1439. data/lib/candidhealth/pre_encounter/common/types/version_conflict_error_body.rb +0 -79
  1440. data/lib/candidhealth/pre_encounter/coverages/client.rb +0 -32
  1441. data/lib/candidhealth/pre_encounter/coverages/v_1/client.rb +0 -1210
  1442. data/lib/candidhealth/pre_encounter/coverages/v_1/types/address.rb +0 -118
  1443. data/lib/candidhealth/pre_encounter/coverages/v_1/types/benefit_type.rb +0 -24
  1444. data/lib/candidhealth/pre_encounter/coverages/v_1/types/benefits_related_entity.rb +0 -108
  1445. data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage.rb +0 -227
  1446. data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage_benefits.rb +0 -109
  1447. data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage_details.rb +0 -104
  1448. data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage_eligibility_check_response.rb +0 -87
  1449. data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage_level.rb +0 -19
  1450. data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage_status.rb +0 -20
  1451. data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage_value.rb +0 -94
  1452. data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage_value_unit.rb +0 -17
  1453. data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverages_page.rb +0 -98
  1454. data/lib/candidhealth/pre_encounter/coverages/v_1/types/expanded_member_info.rb +0 -133
  1455. data/lib/candidhealth/pre_encounter/coverages/v_1/types/insurance_plan.rb +0 -165
  1456. data/lib/candidhealth/pre_encounter/coverages/v_1/types/insurance_type_code.rb +0 -86
  1457. data/lib/candidhealth/pre_encounter/coverages/v_1/types/latest_eligibility_check.rb +0 -83
  1458. data/lib/candidhealth/pre_encounter/coverages/v_1/types/member_info.rb +0 -111
  1459. data/lib/candidhealth/pre_encounter/coverages/v_1/types/mutable_coverage.rb +0 -173
  1460. data/lib/candidhealth/pre_encounter/coverages/v_1/types/network_type.rb +0 -38
  1461. data/lib/candidhealth/pre_encounter/coverages/v_1/types/payer_plan_group_fields.rb +0 -92
  1462. data/lib/candidhealth/pre_encounter/coverages/v_1/types/plan_coverage.rb +0 -113
  1463. data/lib/candidhealth/pre_encounter/coverages/v_1/types/plan_coverage_details.rb +0 -176
  1464. data/lib/candidhealth/pre_encounter/coverages/v_1/types/plan_date.rb +0 -87
  1465. data/lib/candidhealth/pre_encounter/coverages/v_1/types/plan_metadata.rb +0 -167
  1466. data/lib/candidhealth/pre_encounter/coverages/v_1/types/related_entity_contact.rb +0 -74
  1467. data/lib/candidhealth/pre_encounter/coverages/v_1/types/service_coverage.rb +0 -122
  1468. data/lib/candidhealth/pre_encounter/coverages/v_1/types/service_coverage_details.rb +0 -124
  1469. data/lib/candidhealth/pre_encounter/coverages/v_1/types/service_type_code.rb +0 -203
  1470. data/lib/candidhealth/pre_encounter/coverages/v_1/types/subscriber.rb +0 -108
  1471. data/lib/candidhealth/pre_encounter/eligibility_checks/client.rb +0 -32
  1472. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/client.rb +0 -453
  1473. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/batch_eligibility_response.rb +0 -75
  1474. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/coordination_of_benefits_recommendation.rb +0 -63
  1475. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check.rb +0 -131
  1476. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_error.rb +0 -80
  1477. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_error_details.rb +0 -112
  1478. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_error_source.rb +0 -17
  1479. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_metadata.rb +0 -103
  1480. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_page.rb +0 -98
  1481. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_check_status.rb +0 -18
  1482. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation.rb +0 -144
  1483. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation_patient_info.rb +0 -124
  1484. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_recommendation_payload.rb +0 -102
  1485. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_request.rb +0 -151
  1486. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_response.rb +0 -15
  1487. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/eligibility_status.rb +0 -18
  1488. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/encounter.rb +0 -83
  1489. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/individual_provider.rb +0 -81
  1490. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/medicare_advantage_recommendation.rb +0 -70
  1491. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/medicare_advantage_recommendation_payload.rb +0 -96
  1492. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/organization_provider.rb +0 -74
  1493. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/parsed_response.rb +0 -99
  1494. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/payer_search_response.rb +0 -107
  1495. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/post_eligibility_recommendation_request.rb +0 -96
  1496. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/provider.rb +0 -66
  1497. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/request_correction.rb +0 -79
  1498. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/stedi_payer.rb +0 -144
  1499. data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/types/stedi_payer_item.rb +0 -79
  1500. data/lib/candidhealth/pre_encounter/images/client.rb +0 -32
  1501. data/lib/candidhealth/pre_encounter/images/v_1/client.rb +0 -359
  1502. data/lib/candidhealth/pre_encounter/images/v_1/types/coverage_association.rb +0 -74
  1503. data/lib/candidhealth/pre_encounter/images/v_1/types/coverage_image_side.rb +0 -16
  1504. data/lib/candidhealth/pre_encounter/images/v_1/types/image.rb +0 -188
  1505. data/lib/candidhealth/pre_encounter/images/v_1/types/image_status.rb +0 -17
  1506. data/lib/candidhealth/pre_encounter/images/v_1/types/mutable_image.rb +0 -125
  1507. data/lib/candidhealth/pre_encounter/images/v_1/types/patient_association.rb +0 -75
  1508. data/lib/candidhealth/pre_encounter/lists/client.rb +0 -32
  1509. data/lib/candidhealth/pre_encounter/lists/v_1/client.rb +0 -187
  1510. data/lib/candidhealth/pre_encounter/lists/v_1/types/appointment_list_item.rb +0 -114
  1511. data/lib/candidhealth/pre_encounter/lists/v_1/types/appointment_list_page.rb +0 -98
  1512. data/lib/candidhealth/pre_encounter/lists/v_1/types/patient_list_item.rb +0 -131
  1513. data/lib/candidhealth/pre_encounter/lists/v_1/types/patient_list_page.rb +0 -98
  1514. data/lib/candidhealth/pre_encounter/notes/client.rb +0 -32
  1515. data/lib/candidhealth/pre_encounter/notes/v_1/client.rb +0 -257
  1516. data/lib/candidhealth/pre_encounter/notes/v_1/types/mutable_note.rb +0 -86
  1517. data/lib/candidhealth/pre_encounter/notes/v_1/types/note.rb +0 -149
  1518. data/lib/candidhealth/pre_encounter/patients/client.rb +0 -32
  1519. data/lib/candidhealth/pre_encounter/patients/v_1/client.rb +0 -1454
  1520. data/lib/candidhealth/pre_encounter/patients/v_1/types/authorization.rb +0 -170
  1521. data/lib/candidhealth/pre_encounter/patients/v_1/types/authorization_unit.rb +0 -16
  1522. data/lib/candidhealth/pre_encounter/patients/v_1/types/contact.rb +0 -132
  1523. data/lib/candidhealth/pre_encounter/patients/v_1/types/do_not_invoice_reason.rb +0 -21
  1524. data/lib/candidhealth/pre_encounter/patients/v_1/types/external_provenance.rb +0 -73
  1525. data/lib/candidhealth/pre_encounter/patients/v_1/types/filing_order.rb +0 -63
  1526. data/lib/candidhealth/pre_encounter/patients/v_1/types/guarantor.rb +0 -121
  1527. data/lib/candidhealth/pre_encounter/patients/v_1/types/inferred_patient_metadata.rb +0 -80
  1528. data/lib/candidhealth/pre_encounter/patients/v_1/types/marital_status.rb +0 -26
  1529. data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient.rb +0 -490
  1530. data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient_with_mrn.rb +0 -497
  1531. data/lib/candidhealth/pre_encounter/patients/v_1/types/origination_detail.rb +0 -104
  1532. data/lib/candidhealth/pre_encounter/patients/v_1/types/patient.rb +0 -556
  1533. data/lib/candidhealth/pre_encounter/patients/v_1/types/patient_page.rb +0 -98
  1534. data/lib/candidhealth/pre_encounter/patients/v_1/types/referral.rb +0 -154
  1535. data/lib/candidhealth/pre_encounter/patients/v_1/types/referral_source.rb +0 -18
  1536. data/lib/candidhealth/pre_encounter/patients/v_1/types/referral_type.rb +0 -17
  1537. data/lib/candidhealth/pre_encounter/patients/v_1/types/referral_unit.rb +0 -16
  1538. data/lib/candidhealth/pre_encounter/patients/v_1/types/specialization_category.rb +0 -42
  1539. data/lib/candidhealth/pre_encounter/tags/client.rb +0 -32
  1540. data/lib/candidhealth/pre_encounter/tags/v_1/client.rb +0 -319
  1541. data/lib/candidhealth/pre_encounter/tags/v_1/types/mutable_tag.rb +0 -82
  1542. data/lib/candidhealth/pre_encounter/tags/v_1/types/tag.rb +0 -141
  1543. data/lib/candidhealth/pre_encounter/tags/v_1/types/tag_page.rb +0 -98
  1544. data/lib/candidhealth/remits/v_1/types/payee.rb +0 -77
  1545. data/lib/candidhealth/remits/v_1/types/payee_identifier.rb +0 -106
  1546. data/lib/candidhealth/service_facility/client.rb +0 -98
  1547. data/lib/candidhealth/service_facility/types/encounter_service_facility.rb +0 -119
  1548. data/lib/candidhealth/service_facility/types/encounter_service_facility_base.rb +0 -123
  1549. data/lib/candidhealth/service_facility/types/encounter_service_facility_update.rb +0 -111
  1550. data/lib/candidhealth/service_facility/types/encounter_service_facility_update_with_optional_address.rb +0 -113
  1551. data/lib/candidhealth/service_lines/client.rb +0 -30
  1552. data/lib/candidhealth/service_lines/v_2/client.rb +0 -555
  1553. data/lib/candidhealth/service_lines/v_2/types/denial_reason_content.rb +0 -44
  1554. data/lib/candidhealth/service_lines/v_2/types/drug_identification.rb +0 -126
  1555. data/lib/candidhealth/service_lines/v_2/types/drug_identification_optional.rb +0 -126
  1556. data/lib/candidhealth/service_lines/v_2/types/measurement_unit_code.rb +0 -17
  1557. data/lib/candidhealth/service_lines/v_2/types/service_id_qualifier.rb +0 -19
  1558. data/lib/candidhealth/service_lines/v_2/types/service_line.rb +0 -489
  1559. data/lib/candidhealth/service_lines/v_2/types/service_line_adjustment.rb +0 -102
  1560. data/lib/candidhealth/service_lines/v_2/types/service_line_create.rb +0 -259
  1561. data/lib/candidhealth/service_lines/v_2/types/service_line_create_base.rb +0 -251
  1562. data/lib/candidhealth/service_lines/v_2/types/service_line_create_base_base.rb +0 -243
  1563. data/lib/candidhealth/service_lines/v_2/types/service_line_create_optional.rb +0 -271
  1564. data/lib/candidhealth/service_lines/v_2/types/service_line_create_standalone.rb +0 -305
  1565. data/lib/candidhealth/service_lines/v_2/types/service_line_create_standalone_base.rb +0 -273
  1566. data/lib/candidhealth/service_lines/v_2/types/service_line_create_standalone_base_base.rb +0 -265
  1567. data/lib/candidhealth/service_lines/v_2/types/service_line_denial_reason.rb +0 -66
  1568. data/lib/candidhealth/service_lines/v_2/types/service_line_era_data.rb +0 -78
  1569. data/lib/candidhealth/service_lines/v_2/types/service_line_update.rb +0 -295
  1570. data/lib/candidhealth/service_lines/v_2/types/service_line_update_base.rb +0 -263
  1571. data/lib/candidhealth/service_lines/v_2/types/test_result.rb +0 -71
  1572. data/lib/candidhealth/service_lines/v_2/types/test_result_optional.rb +0 -73
  1573. data/lib/candidhealth/service_lines/v_2/types/test_result_type.rb +0 -15
  1574. data/lib/candidhealth/service_lines/v_2/types/universal_service_line_create_standalone.rb +0 -317
  1575. data/lib/candidhealth/service_lines/v_2/types/universal_service_line_update.rb +0 -307
  1576. data/lib/candidhealth/superbills/client.rb +0 -30
  1577. data/lib/candidhealth/superbills/v_1/client.rb +0 -123
  1578. data/lib/candidhealth/superbills/v_1/types/superbill.rb +0 -108
  1579. data/lib/candidhealth/superbills/v_1/types/superbill_response.rb +0 -65
  1580. data/lib/candidhealth/tags/types/tag.rb +0 -83
  1581. data/lib/candidhealth/tags/types/tag_color_enum.rb +0 -20
  1582. data/lib/candidhealth/tags/types/tag_create.rb +0 -76
  1583. data/lib/candidhealth/tasks/client.rb +0 -30
  1584. data/lib/candidhealth/tasks/commons/types/task_category.rb +0 -54
  1585. data/lib/candidhealth/tasks/commons/types/task_status.rb +0 -19
  1586. data/lib/candidhealth/tasks/commons/types/task_type.rb +0 -24
  1587. data/lib/candidhealth/tasks/v_3/client.rb +0 -343
  1588. data/lib/candidhealth/tasks/v_3/types/task.rb +0 -225
  1589. data/lib/candidhealth/tasks/v_3/types/task_action.rb +0 -85
  1590. data/lib/candidhealth/tasks/v_3/types/task_action_execution_method.rb +0 -85
  1591. data/lib/candidhealth/tasks/v_3/types/task_action_type.rb +0 -14
  1592. data/lib/candidhealth/tasks/v_3/types/task_actions.rb +0 -65
  1593. data/lib/candidhealth/tasks/v_3/types/task_assignment.rb +0 -75
  1594. data/lib/candidhealth/tasks/v_3/types/task_create_v_3.rb +0 -118
  1595. data/lib/candidhealth/tasks/v_3/types/task_note.rb +0 -100
  1596. data/lib/candidhealth/tasks/v_3/types/task_page.rb +0 -88
  1597. data/lib/candidhealth/tasks/v_3/types/task_sort_options.rb +0 -34
  1598. data/lib/candidhealth/tasks/v_3/types/task_update_v_3.rb +0 -85
  1599. data/lib/candidhealth/tasks/v_3/types/task_updated_to_deprecated_status_error_type.rb +0 -64
  1600. data/lib/candidhealth/write_offs/client.rb +0 -30
  1601. data/lib/candidhealth/write_offs/v_1/client.rb +0 -379
  1602. data/lib/candidhealth/write_offs/v_1/types/create_write_offs_response.rb +0 -65
  1603. data/lib/candidhealth/write_offs/v_1/types/insurance_write_off.rb +0 -149
  1604. data/lib/candidhealth/write_offs/v_1/types/insurance_write_off_create.rb +0 -125
  1605. data/lib/candidhealth/write_offs/v_1/types/insurance_write_off_reason.rb +0 -29
  1606. data/lib/candidhealth/write_offs/v_1/types/insurance_write_off_target.rb +0 -106
  1607. data/lib/candidhealth/write_offs/v_1/types/non_insurance_payer_write_off.rb +0 -143
  1608. data/lib/candidhealth/write_offs/v_1/types/non_insurance_payer_write_off_create.rb +0 -113
  1609. data/lib/candidhealth/write_offs/v_1/types/patient_write_off.rb +0 -145
  1610. data/lib/candidhealth/write_offs/v_1/types/patient_write_off_create.rb +0 -105
  1611. data/lib/candidhealth/write_offs/v_1/types/patient_write_off_reason.rb +0 -24
  1612. data/lib/candidhealth/write_offs/v_1/types/write_off.rb +0 -113
  1613. data/lib/candidhealth/write_offs/v_1/types/write_off_create.rb +0 -113
  1614. data/lib/candidhealth/write_offs/v_1/types/write_off_sort_field.rb +0 -15
  1615. data/lib/candidhealth/write_offs/v_1/types/write_offs_page.rb +0 -88
  1616. data/lib/candidhealth/x_12/v_1/types/carc.rb +0 -415
  1617. data/lib/candidhealth/x_12/v_1/types/claim_adjustment_reason_code.rb +0 -79
  1618. data/lib/candidhealth/x_12/v_1/types/patient_discharge_status_code.rb +0 -52
  1619. data/lib/candidhealth/x_12/v_1/types/point_of_origin_for_admission_or_visit_code.rb +0 -23
  1620. data/lib/candidhealth/x_12/v_1/types/rarc.rb +0 -1199
  1621. data/lib/candidhealth/x_12/v_1/types/remittance_advice_remark_code.rb +0 -61
  1622. data/lib/candidhealth/x_12/v_1/types/type_of_admission_or_visit_code.rb +0 -18
  1623. data/lib/candidhealth/x_12/v_1/types/type_of_bill_composite.rb +0 -98
  1624. data/lib/candidhealth/x_12/v_1/types/type_of_bill_composite_base.rb +0 -90
  1625. data/lib/candidhealth/x_12/v_1/types/type_of_bill_frequency_code.rb +0 -39
  1626. data/lib/candidhealth/x_12/v_1/types/type_of_care_code.rb +0 -21
  1627. data/lib/candidhealth/x_12/v_1/types/type_of_facility_code.rb +0 -19
  1628. data/lib/candidhealth/yes_no_indicator/types/yes_no_indicator.rb +0 -14
  1629. data/lib/candidhealth.rb +0 -343
  1630. data/lib/core/file_utilities.rb +0 -26
  1631. data/lib/core/oauth.rb +0 -62
  1632. data/lib/environment.rb +0 -18
  1633. data/lib/gemconfig.rb +0 -14
  1634. data/lib/requests.rb +0 -166
  1635. data/lib/types_export.rb +0 -657
@@ -1,1637 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "../../../requests"
4
- require_relative "../../claims/types/claim_status"
5
- require_relative "types/encounter_sort_options"
6
- require "date"
7
- require_relative "types/billable_status_type"
8
- require_relative "types/responsible_party_type"
9
- require_relative "types/encounter_owner_of_next_action_type"
10
- require_relative "types/encounter_page"
11
- require_relative "types/encounter"
12
- require_relative "types/encounter_create"
13
- require_relative "types/encounter_create_from_pre_encounter"
14
- require_relative "types/encounter_update"
15
- require "async"
16
-
17
- module CandidApiClient
18
- module Encounters
19
- module V4
20
- class V4Client
21
- # @return [CandidApiClient::RequestClient]
22
- attr_reader :request_client
23
-
24
- # @param request_client [CandidApiClient::RequestClient]
25
- # @return [CandidApiClient::Encounters::V4::V4Client]
26
- def initialize(request_client:)
27
- @request_client = request_client
28
- end
29
-
30
- # @param limit [Integer] Maximum number of entities per page, defaults to 100.
31
- # @param claim_status [CandidApiClient::Claims::Types::ClaimStatus] Indicates the current status of an insurance claim within the billing process.
32
- # @param sort [CandidApiClient::Encounters::V4::Types::EncounterSortOptions] Defaults to created_at:desc.
33
- # @param page_token [String]
34
- # @param date_of_service_min [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-25.
35
- # @param date_of_service_max [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-25.
36
- # @param primary_payer_names [String] Comma delimited string.
37
- # @param search_term [String] Filter by any of the following fields: encounter_id, claim_id, patient
38
- # external_id,
39
- # patient date of birth, patient first name, patient last name,
40
- # or encounter external id.
41
- # @param external_id [String] Filter to an exact match on encounter external_id, if one exists.
42
- # @param diagnoses_updated_since [DateTime] ISO 8601 timestamp; ideally in UTC (although not required):
43
- # 2019-08-24T14:15:22Z.
44
- # @param tag_ids [String] Filter by name of tags on encounters.
45
- # @param work_queue_id [String]
46
- # @param billable_status [CandidApiClient::Encounters::V4::Types::BillableStatusType] Defines if the Encounter is to be billed by Candid to the responsible_party.
47
- # Examples for when this should be set to NOT_BILLABLE include if the Encounter
48
- # has not occurred yet or if there is no intention of ever billing the
49
- # responsible_party.
50
- # @param responsible_party [CandidApiClient::Encounters::V4::Types::ResponsiblePartyType] Defines the party to be billed with the initial balance owed on the claim. Use
51
- # SELF_PAY if you intend to bill self pay/cash pay.
52
- # @param owner_of_next_action [CandidApiClient::Encounters::V4::Types::EncounterOwnerOfNextActionType] The party who is responsible for taking the next action on an Encounter, as
53
- # defined by ownership of open Tasks.
54
- # @param patient_external_id [String] The patient ID from the external EMR platform for the patient
55
- # @param request_options [CandidApiClient::RequestOptions]
56
- # @return [CandidApiClient::Encounters::V4::Types::EncounterPage]
57
- # @example
58
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
59
- # api.encounters.v_4.get_all(
60
- # limit: 100,
61
- # claim_status: BILLER_RECEIVED,
62
- # sort: CREATED_AT_ASC,
63
- # page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9",
64
- # date_of_service_min: DateTime.parse(2019-08-24),
65
- # date_of_service_max: DateTime.parse(2019-08-25),
66
- # primary_payer_names: "Medicare,Medicaid",
67
- # search_term: "doe",
68
- # external_id: "123456",
69
- # diagnoses_updated_since: DateTime.parse(2019-08-24T14:15:22.000Z)
70
- # )
71
- def get_all(limit: nil, claim_status: nil, sort: nil, page_token: nil, date_of_service_min: nil,
72
- date_of_service_max: nil, primary_payer_names: nil, search_term: nil, external_id: nil, diagnoses_updated_since: nil, tag_ids: nil, work_queue_id: nil, billable_status: nil, responsible_party: nil, owner_of_next_action: nil, patient_external_id: nil, request_options: nil)
73
- response = @request_client.conn.get do |req|
74
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
75
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
76
- req.headers = {
77
- **(req.headers || {}),
78
- **@request_client.get_headers,
79
- **(request_options&.additional_headers || {})
80
- }.compact
81
- req.params = {
82
- **(request_options&.additional_query_parameters || {}),
83
- "limit": limit,
84
- "claim_status": claim_status,
85
- "sort": sort,
86
- "page_token": page_token,
87
- "date_of_service_min": date_of_service_min,
88
- "date_of_service_max": date_of_service_max,
89
- "primary_payer_names": primary_payer_names,
90
- "search_term": search_term,
91
- "external_id": external_id,
92
- "diagnoses_updated_since": diagnoses_updated_since,
93
- "tag_ids": tag_ids,
94
- "work_queue_id": work_queue_id,
95
- "billable_status": billable_status,
96
- "responsible_party": responsible_party,
97
- "owner_of_next_action": owner_of_next_action,
98
- "patient_external_id": patient_external_id
99
- }.compact
100
- req.url "#{@request_client.get_url(environment: CandidApi,
101
- request_options: request_options)}/api/encounters/v4"
102
- end
103
- CandidApiClient::Encounters::V4::Types::EncounterPage.from_json(json_object: response.body)
104
- end
105
-
106
- # @param encounter_id [String]
107
- # @param request_options [CandidApiClient::RequestOptions]
108
- # @return [CandidApiClient::Encounters::V4::Types::Encounter]
109
- # @example
110
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
111
- # api.encounters.v_4.get(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
112
- def get(encounter_id:, request_options: nil)
113
- response = @request_client.conn.get do |req|
114
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
115
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
116
- req.headers = {
117
- **(req.headers || {}),
118
- **@request_client.get_headers,
119
- **(request_options&.additional_headers || {})
120
- }.compact
121
- req.url "#{@request_client.get_url(environment: CandidApi,
122
- request_options: request_options)}/api/encounters/v4/#{encounter_id}"
123
- end
124
- CandidApiClient::Encounters::V4::Types::Encounter.from_json(json_object: response.body)
125
- end
126
-
127
- # @param request [Hash] Request of type CandidApiClient::Encounters::V4::Types::EncounterCreate, as a Hash
128
- # * :billing_provider (Hash)
129
- # * :address (Hash)
130
- # * :zip_plus_four_code (String)
131
- # * :address_1 (String)
132
- # * :address_2 (String)
133
- # * :city (String)
134
- # * :state (CandidApiClient::Commons::Types::State)
135
- # * :zip_code (String)
136
- # * :tax_id (String)
137
- # * :npi (String)
138
- # * :taxonomy_code (String)
139
- # * :provider_commercial_license_type (CandidApiClient::Commons::Types::BillingProviderCommercialLicenseType)
140
- # * :first_name (String)
141
- # * :last_name (String)
142
- # * :organization_name (String)
143
- # * :diagnoses (Array<CandidApiClient::Diagnoses::Types::DiagnosisCreate>)
144
- # * :place_of_service_code (CandidApiClient::Commons::Types::FacilityTypeCode)
145
- # * :rendering_provider (Hash)
146
- # * :npi (String)
147
- # * :taxonomy_code (String)
148
- # * :address (Hash)
149
- # * :zip_plus_four_code (String)
150
- # * :address_1 (String)
151
- # * :address_2 (String)
152
- # * :city (String)
153
- # * :state (CandidApiClient::Commons::Types::State)
154
- # * :zip_code (String)
155
- # * :first_name (String)
156
- # * :last_name (String)
157
- # * :organization_name (String)
158
- # * :service_lines (Array<CandidApiClient::ServiceLines::V2::Types::ServiceLineCreate>)
159
- # * :patient (Hash)
160
- # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumber>)
161
- # * :phone_consent (Boolean)
162
- # * :email (String)
163
- # * :non_insurance_payers (Array<String>)
164
- # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreate>)
165
- # * :email_consent (Boolean)
166
- # * :auto_charge_consent (Boolean)
167
- # * :external_id (String)
168
- # * :date_of_birth (Date)
169
- # * :address (Hash)
170
- # * :zip_plus_four_code (String)
171
- # * :address_1 (String)
172
- # * :address_2 (String)
173
- # * :city (String)
174
- # * :state (CandidApiClient::Commons::Types::State)
175
- # * :zip_code (String)
176
- # * :first_name (String)
177
- # * :last_name (String)
178
- # * :gender (CandidApiClient::Individual::Types::Gender)
179
- # * :referring_provider (Hash)
180
- # * :npi (String)
181
- # * :taxonomy_code (String)
182
- # * :address (Hash)
183
- # * :zip_plus_four_code (String)
184
- # * :address_1 (String)
185
- # * :address_2 (String)
186
- # * :city (String)
187
- # * :state (CandidApiClient::Commons::Types::State)
188
- # * :zip_code (String)
189
- # * :first_name (String)
190
- # * :last_name (String)
191
- # * :organization_name (String)
192
- # * :initial_referring_provider (Hash)
193
- # * :npi (String)
194
- # * :taxonomy_code (String)
195
- # * :address (Hash)
196
- # * :zip_plus_four_code (String)
197
- # * :address_1 (String)
198
- # * :address_2 (String)
199
- # * :city (String)
200
- # * :state (CandidApiClient::Commons::Types::State)
201
- # * :zip_code (String)
202
- # * :qualifier (CandidApiClient::Commons::Types::QualifierCode)
203
- # * :first_name (String)
204
- # * :last_name (String)
205
- # * :organization_name (String)
206
- # * :supervising_provider (Hash)
207
- # * :npi (String)
208
- # * :taxonomy_code (String)
209
- # * :address (Hash)
210
- # * :zip_plus_four_code (String)
211
- # * :address_1 (String)
212
- # * :address_2 (String)
213
- # * :city (String)
214
- # * :state (CandidApiClient::Commons::Types::State)
215
- # * :zip_code (String)
216
- # * :first_name (String)
217
- # * :last_name (String)
218
- # * :organization_name (String)
219
- # * :service_facility (Hash)
220
- # * :organization_name (String)
221
- # * :npi (String)
222
- # * :address (Hash)
223
- # * :zip_plus_four_code (String)
224
- # * :address_1 (String)
225
- # * :address_2 (String)
226
- # * :city (String)
227
- # * :state (CandidApiClient::Commons::Types::State)
228
- # * :zip_code (String)
229
- # * :secondary_identification (String)
230
- # * :subscriber_primary (Hash)
231
- # * :insurance_card (Hash)
232
- # * :member_id (String)
233
- # * :payer_name (String)
234
- # * :payer_id (String)
235
- # * :rx_bin (String)
236
- # * :rx_pcn (String)
237
- # * :image_url_front (String)
238
- # * :image_url_back (String)
239
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
240
- # * :group_number (String)
241
- # * :plan_name (String)
242
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
243
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
244
- # * :payer_plan_group_id (String)
245
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
246
- # * :date_of_birth (Date)
247
- # * :address (Hash)
248
- # * :zip_plus_four_code (String)
249
- # * :address_1 (String)
250
- # * :address_2 (String)
251
- # * :city (String)
252
- # * :state (CandidApiClient::Commons::Types::State)
253
- # * :zip_code (String)
254
- # * :first_name (String)
255
- # * :last_name (String)
256
- # * :gender (CandidApiClient::Individual::Types::Gender)
257
- # * :subscriber_secondary (Hash)
258
- # * :insurance_card (Hash)
259
- # * :member_id (String)
260
- # * :payer_name (String)
261
- # * :payer_id (String)
262
- # * :rx_bin (String)
263
- # * :rx_pcn (String)
264
- # * :image_url_front (String)
265
- # * :image_url_back (String)
266
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
267
- # * :group_number (String)
268
- # * :plan_name (String)
269
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
270
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
271
- # * :payer_plan_group_id (String)
272
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
273
- # * :date_of_birth (Date)
274
- # * :address (Hash)
275
- # * :zip_plus_four_code (String)
276
- # * :address_1 (String)
277
- # * :address_2 (String)
278
- # * :city (String)
279
- # * :state (CandidApiClient::Commons::Types::State)
280
- # * :zip_code (String)
281
- # * :first_name (String)
282
- # * :last_name (String)
283
- # * :gender (CandidApiClient::Individual::Types::Gender)
284
- # * :subscriber_tertiary (Hash)
285
- # * :insurance_card (Hash)
286
- # * :member_id (String)
287
- # * :payer_name (String)
288
- # * :payer_id (String)
289
- # * :rx_bin (String)
290
- # * :rx_pcn (String)
291
- # * :image_url_front (String)
292
- # * :image_url_back (String)
293
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
294
- # * :group_number (String)
295
- # * :plan_name (String)
296
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
297
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
298
- # * :payer_plan_group_id (String)
299
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
300
- # * :date_of_birth (Date)
301
- # * :address (Hash)
302
- # * :zip_plus_four_code (String)
303
- # * :address_1 (String)
304
- # * :address_2 (String)
305
- # * :city (String)
306
- # * :state (CandidApiClient::Commons::Types::State)
307
- # * :zip_code (String)
308
- # * :first_name (String)
309
- # * :last_name (String)
310
- # * :gender (CandidApiClient::Individual::Types::Gender)
311
- # * :prior_authorization_number (String)
312
- # * :responsible_party (CandidApiClient::Encounters::V4::Types::ResponsiblePartyType)
313
- # * :clinical_notes (Array<CandidApiClient::Encounters::V4::Types::ClinicalNoteCategoryCreate>)
314
- # * :billing_notes (Array<CandidApiClient::BillingNotes::V2::Types::BillingNoteBase>)
315
- # * :patient_histories (Array<CandidApiClient::Encounters::V4::Types::PatientHistoryCategory>)
316
- # * :guarantor (Hash)
317
- # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumber>)
318
- # * :phone_consent (Boolean)
319
- # * :email (String)
320
- # * :email_consent (Boolean)
321
- # * :auto_charge_consent (Boolean)
322
- # * :first_name (String)
323
- # * :last_name (String)
324
- # * :external_id (String)
325
- # * :date_of_birth (Date)
326
- # * :address (Hash)
327
- # * :zip_plus_four_code (String)
328
- # * :address_1 (String)
329
- # * :address_2 (String)
330
- # * :city (String)
331
- # * :state (CandidApiClient::Commons::Types::State)
332
- # * :zip_code (String)
333
- # * :external_claim_submission (Hash)
334
- # * :claim_created_at (DateTime)
335
- # * :patient_control_number (String)
336
- # * :submission_records (Array<CandidApiClient::ClaimSubmission::V1::Types::ClaimSubmissionRecordCreate>)
337
- # * :tag_ids (Array<String>)
338
- # * :schema_instances (Array<CandidApiClient::CustomSchemas::V1::Types::SchemaInstance>)
339
- # * :referral_number (String)
340
- # * :epsdt_referral (Hash)
341
- # * :condition_indicator_1 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
342
- # * :condition_indicator_2 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
343
- # * :condition_indicator_3 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
344
- # * :claim_supplemental_information (Array<CandidApiClient::Encounters::V4::Types::ClaimSupplementalInformation>)
345
- # * :secondary_payer_carrier_code (String)
346
- # * :external_id (String)
347
- # * :date_of_service (Date)
348
- # * :end_date_of_service (Date)
349
- # * :patient_authorized_release (Boolean)
350
- # * :benefits_assigned_to_provider (Boolean)
351
- # * :provider_accepts_assignment (Boolean)
352
- # * :appointment_type (String)
353
- # * :existing_medications (Array<CandidApiClient::Encounters::V4::Types::Medication>)
354
- # * :interventions (Array<CandidApiClient::Encounters::V4::Types::Intervention>)
355
- # * :pay_to_address (Hash)
356
- # * :zip_plus_four_code (String)
357
- # * :address_1 (String)
358
- # * :address_2 (String)
359
- # * :city (String)
360
- # * :state (CandidApiClient::Commons::Types::State)
361
- # * :zip_code (String)
362
- # * :synchronicity (CandidApiClient::Encounters::V4::Types::SynchronicityType)
363
- # * :vitals (Hash)
364
- # * :height_in (Integer)
365
- # * :weight_lbs (Integer)
366
- # * :blood_pressure_systolic_mmhg (Integer)
367
- # * :blood_pressure_diastolic_mmhg (Integer)
368
- # * :body_temperature_f (Float)
369
- # * :hemoglobin_gdl (Float)
370
- # * :hematocrit_pct (Float)
371
- # * :billable_status (CandidApiClient::Encounters::V4::Types::BillableStatusType)
372
- # * :additional_information (String)
373
- # * :service_authorization_exception_code (CandidApiClient::Encounters::V4::Types::ServiceAuthorizationExceptionCode)
374
- # * :admission_date (Date)
375
- # * :discharge_date (Date)
376
- # * :onset_of_current_illness_or_symptom_date (Date)
377
- # * :last_menstrual_period_date (Date)
378
- # * :delay_reason_code (CandidApiClient::Commons::Types::DelayReasonCode)
379
- # @param request_options [CandidApiClient::RequestOptions]
380
- # @return [CandidApiClient::Encounters::V4::Types::Encounter]
381
- # @example
382
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
383
- # api.encounters.v_4.create(request: { billing_provider: { address: { zip_plus_four_code: "zip_plus_four_code", address_1: "address1", city: "city", state: AA, zip_code: "zip_code" }, tax_id: "tax_id", npi: "npi" }, diagnoses: [{ code_type: ABF, code: "code" }, { code_type: ABF, code: "code" }], place_of_service_code: PHARMACY, rendering_provider: { npi: "npi" }, patient: { external_id: "external_id", date_of_birth: DateTime.parse(2023-01-15), address: { address_1: "address1", city: "city", state: AA, zip_code: "zip_code" }, first_name: "first_name", last_name: "last_name", gender: MALE }, responsible_party: INSURANCE_PAY, external_id: "external_id", patient_authorized_release: true, benefits_assigned_to_provider: true, provider_accepts_assignment: true, billable_status: BILLABLE })
384
- def create(request:, request_options: nil)
385
- response = @request_client.conn.post do |req|
386
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
387
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
388
- req.headers = {
389
- **(req.headers || {}),
390
- **@request_client.get_headers,
391
- **(request_options&.additional_headers || {})
392
- }.compact
393
- req.body = { **(request || {}), **(request_options&.additional_body_parameters || {}) }.compact
394
- req.url "#{@request_client.get_url(environment: CandidApi,
395
- request_options: request_options)}/api/encounters/v4"
396
- end
397
- CandidApiClient::Encounters::V4::Types::Encounter.from_json(json_object: response.body)
398
- end
399
-
400
- # Create an encounter from a pre-encounter patient and appointment. This endpoint
401
- # is intended to be used by consumers who are managing
402
- # patients and appointments in the pre-encounter service and is currently under
403
- # development. Consumers who are not taking advantage
404
- # of the pre-encounter service should use the standard create endpoint.
405
- # The endpoint will create an encounter from the provided fields, pulling
406
- # information from the provided patient and appointment objects
407
- # where applicable. In particular, the following fields are populated from the
408
- # patient and appointment objects:
409
- # - Patient
410
- # - Referring Provider
411
- # - Subscriber Primary
412
- # - Subscriber Secondary
413
- # - Referral Number
414
- # - Responsible Party
415
- # - Guarantor
416
- # Utilizing this endpoint opts you into automatic updating of the encounter when
417
- # the patient or appointment is updated, assuming the
418
- # encounter has not already been submitted or adjudicated.
419
- #
420
- # @param request [Hash] Request of type CandidApiClient::Encounters::V4::Types::EncounterCreateFromPreEncounter, as a Hash
421
- # * :rendering_provider (Hash)
422
- # * :npi (String)
423
- # * :taxonomy_code (String)
424
- # * :address (Hash)
425
- # * :zip_plus_four_code (String)
426
- # * :address_1 (String)
427
- # * :address_2 (String)
428
- # * :city (String)
429
- # * :state (CandidApiClient::Commons::Types::State)
430
- # * :zip_code (String)
431
- # * :first_name (String)
432
- # * :last_name (String)
433
- # * :organization_name (String)
434
- # * :place_of_service_code (CandidApiClient::Commons::Types::FacilityTypeCode)
435
- # * :diagnoses (Array<CandidApiClient::Diagnoses::Types::DiagnosisCreate>)
436
- # * :service_lines (Array<CandidApiClient::ServiceLines::V2::Types::ServiceLineCreate>)
437
- # * :pre_encounter_patient_id (String)
438
- # * :pre_encounter_appointment_ids (Array<String>)
439
- # * :billing_provider (Hash)
440
- # * :address (Hash)
441
- # * :zip_plus_four_code (String)
442
- # * :address_1 (String)
443
- # * :address_2 (String)
444
- # * :city (String)
445
- # * :state (CandidApiClient::Commons::Types::State)
446
- # * :zip_code (String)
447
- # * :tax_id (String)
448
- # * :npi (String)
449
- # * :taxonomy_code (String)
450
- # * :provider_commercial_license_type (CandidApiClient::Commons::Types::BillingProviderCommercialLicenseType)
451
- # * :first_name (String)
452
- # * :last_name (String)
453
- # * :organization_name (String)
454
- # * :initial_referring_provider (Hash)
455
- # * :npi (String)
456
- # * :taxonomy_code (String)
457
- # * :address (Hash)
458
- # * :zip_plus_four_code (String)
459
- # * :address_1 (String)
460
- # * :address_2 (String)
461
- # * :city (String)
462
- # * :state (CandidApiClient::Commons::Types::State)
463
- # * :zip_code (String)
464
- # * :qualifier (CandidApiClient::Commons::Types::QualifierCode)
465
- # * :first_name (String)
466
- # * :last_name (String)
467
- # * :organization_name (String)
468
- # * :supervising_provider (Hash)
469
- # * :npi (String)
470
- # * :taxonomy_code (String)
471
- # * :address (Hash)
472
- # * :zip_plus_four_code (String)
473
- # * :address_1 (String)
474
- # * :address_2 (String)
475
- # * :city (String)
476
- # * :state (CandidApiClient::Commons::Types::State)
477
- # * :zip_code (String)
478
- # * :first_name (String)
479
- # * :last_name (String)
480
- # * :organization_name (String)
481
- # * :service_facility (Hash)
482
- # * :organization_name (String)
483
- # * :npi (String)
484
- # * :address (Hash)
485
- # * :zip_plus_four_code (String)
486
- # * :address_1 (String)
487
- # * :address_2 (String)
488
- # * :city (String)
489
- # * :state (CandidApiClient::Commons::Types::State)
490
- # * :zip_code (String)
491
- # * :secondary_identification (String)
492
- # * :clinical_notes (Array<CandidApiClient::Encounters::V4::Types::ClinicalNoteCategoryCreate>)
493
- # * :billing_notes (Array<CandidApiClient::BillingNotes::V2::Types::BillingNoteBase>)
494
- # * :patient_histories (Array<CandidApiClient::Encounters::V4::Types::PatientHistoryCategory>)
495
- # * :external_claim_submission (Hash)
496
- # * :claim_created_at (DateTime)
497
- # * :patient_control_number (String)
498
- # * :submission_records (Array<CandidApiClient::ClaimSubmission::V1::Types::ClaimSubmissionRecordCreate>)
499
- # * :tag_ids (Array<String>)
500
- # * :schema_instances (Array<CandidApiClient::CustomSchemas::V1::Types::SchemaInstance>)
501
- # * :external_id (String)
502
- # * :date_of_service (Date)
503
- # * :end_date_of_service (Date)
504
- # * :patient_authorized_release (Boolean)
505
- # * :benefits_assigned_to_provider (Boolean)
506
- # * :provider_accepts_assignment (Boolean)
507
- # * :appointment_type (String)
508
- # * :existing_medications (Array<CandidApiClient::Encounters::V4::Types::Medication>)
509
- # * :interventions (Array<CandidApiClient::Encounters::V4::Types::Intervention>)
510
- # * :pay_to_address (Hash)
511
- # * :zip_plus_four_code (String)
512
- # * :address_1 (String)
513
- # * :address_2 (String)
514
- # * :city (String)
515
- # * :state (CandidApiClient::Commons::Types::State)
516
- # * :zip_code (String)
517
- # * :synchronicity (CandidApiClient::Encounters::V4::Types::SynchronicityType)
518
- # * :vitals (Hash)
519
- # * :height_in (Integer)
520
- # * :weight_lbs (Integer)
521
- # * :blood_pressure_systolic_mmhg (Integer)
522
- # * :blood_pressure_diastolic_mmhg (Integer)
523
- # * :body_temperature_f (Float)
524
- # * :hemoglobin_gdl (Float)
525
- # * :hematocrit_pct (Float)
526
- # * :billable_status (CandidApiClient::Encounters::V4::Types::BillableStatusType)
527
- # * :additional_information (String)
528
- # * :service_authorization_exception_code (CandidApiClient::Encounters::V4::Types::ServiceAuthorizationExceptionCode)
529
- # * :admission_date (Date)
530
- # * :discharge_date (Date)
531
- # * :onset_of_current_illness_or_symptom_date (Date)
532
- # * :last_menstrual_period_date (Date)
533
- # * :delay_reason_code (CandidApiClient::Commons::Types::DelayReasonCode)
534
- # @param request_options [CandidApiClient::RequestOptions]
535
- # @return [CandidApiClient::Encounters::V4::Types::Encounter]
536
- # @example
537
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
538
- # api.encounters.v_4.create_from_pre_encounter_patient(request: { rendering_provider: { npi: "npi" }, place_of_service_code: PHARMACY, diagnoses: [{ code_type: ABF, code: "code" }, { code_type: ABF, code: "code" }], pre_encounter_patient_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", pre_encounter_appointment_ids: ["d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"], billing_provider: { address: { zip_plus_four_code: "zip_plus_four_code", address_1: "address1", city: "city", state: AA, zip_code: "zip_code" }, tax_id: "tax_id", npi: "npi" }, external_id: "external_id", patient_authorized_release: true, benefits_assigned_to_provider: true, provider_accepts_assignment: true, billable_status: BILLABLE })
539
- def create_from_pre_encounter_patient(request:, request_options: nil)
540
- response = @request_client.conn.post do |req|
541
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
542
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
543
- req.headers = {
544
- **(req.headers || {}),
545
- **@request_client.get_headers,
546
- **(request_options&.additional_headers || {})
547
- }.compact
548
- req.body = { **(request || {}), **(request_options&.additional_body_parameters || {}) }.compact
549
- req.url "#{@request_client.get_url(environment: CandidApi,
550
- request_options: request_options)}/api/encounters/v4/create-from-pre-encounter"
551
- end
552
- CandidApiClient::Encounters::V4::Types::Encounter.from_json(json_object: response.body)
553
- end
554
-
555
- # @param encounter_id [String]
556
- # @param request [Hash] Request of type CandidApiClient::Encounters::V4::Types::EncounterUpdate, as a Hash
557
- # * :vitals (Hash)
558
- # * :height_in (Integer)
559
- # * :weight_lbs (Integer)
560
- # * :blood_pressure_systolic_mmhg (Integer)
561
- # * :blood_pressure_diastolic_mmhg (Integer)
562
- # * :body_temperature_f (Float)
563
- # * :hemoglobin_gdl (Float)
564
- # * :hematocrit_pct (Float)
565
- # * :diagnosis_ids (Array<String>)
566
- # * :epsdt_referral (Hash)
567
- # * :condition_indicator_1 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
568
- # * :condition_indicator_2 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
569
- # * :condition_indicator_3 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
570
- # * :clinical_notes (Array<CandidApiClient::Encounters::V4::Types::ClinicalNoteCategoryCreate>)
571
- # * :claim_supplemental_information (Array<CandidApiClient::Encounters::V4::Types::ClaimSupplementalInformation>)
572
- # * :schema_instances (Array<CandidApiClient::CustomSchemas::V1::Types::SchemaInstance>)
573
- # * :existing_medications (Array<CandidApiClient::Encounters::V4::Types::Medication>)
574
- # * :guarantor (Hash)
575
- # * :first_name (String)
576
- # * :last_name (String)
577
- # * :external_id (String)
578
- # * :date_of_birth (Date)
579
- # * :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
- # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumber>)
587
- # * :phone_consent (Boolean)
588
- # * :email (String)
589
- # * :email_consent (Boolean)
590
- # * :auto_charge_consent (Boolean)
591
- # * :subscriber_primary (Hash)
592
- # * :insurance_card (Hash)
593
- # * :member_id (String)
594
- # * :payer_name (String)
595
- # * :payer_id (String)
596
- # * :rx_bin (String)
597
- # * :rx_pcn (String)
598
- # * :image_url_front (String)
599
- # * :image_url_back (String)
600
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
601
- # * :group_number (String)
602
- # * :plan_name (String)
603
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
604
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
605
- # * :payer_plan_group_id (String)
606
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
607
- # * :date_of_birth (Date)
608
- # * :address (Hash)
609
- # * :zip_plus_four_code (String)
610
- # * :address_1 (String)
611
- # * :address_2 (String)
612
- # * :city (String)
613
- # * :state (CandidApiClient::Commons::Types::State)
614
- # * :zip_code (String)
615
- # * :first_name (String)
616
- # * :last_name (String)
617
- # * :gender (CandidApiClient::Individual::Types::Gender)
618
- # * :subscriber_secondary (Hash)
619
- # * :insurance_card (Hash)
620
- # * :member_id (String)
621
- # * :payer_name (String)
622
- # * :payer_id (String)
623
- # * :rx_bin (String)
624
- # * :rx_pcn (String)
625
- # * :image_url_front (String)
626
- # * :image_url_back (String)
627
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
628
- # * :group_number (String)
629
- # * :plan_name (String)
630
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
631
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
632
- # * :payer_plan_group_id (String)
633
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
634
- # * :date_of_birth (Date)
635
- # * :address (Hash)
636
- # * :zip_plus_four_code (String)
637
- # * :address_1 (String)
638
- # * :address_2 (String)
639
- # * :city (String)
640
- # * :state (CandidApiClient::Commons::Types::State)
641
- # * :zip_code (String)
642
- # * :first_name (String)
643
- # * :last_name (String)
644
- # * :gender (CandidApiClient::Individual::Types::Gender)
645
- # * :subscriber_tertiary (Hash)
646
- # * :insurance_card (Hash)
647
- # * :member_id (String)
648
- # * :payer_name (String)
649
- # * :payer_id (String)
650
- # * :rx_bin (String)
651
- # * :rx_pcn (String)
652
- # * :image_url_front (String)
653
- # * :image_url_back (String)
654
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
655
- # * :group_number (String)
656
- # * :plan_name (String)
657
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
658
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
659
- # * :payer_plan_group_id (String)
660
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
661
- # * :date_of_birth (Date)
662
- # * :address (Hash)
663
- # * :zip_plus_four_code (String)
664
- # * :address_1 (String)
665
- # * :address_2 (String)
666
- # * :city (String)
667
- # * :state (CandidApiClient::Commons::Types::State)
668
- # * :zip_code (String)
669
- # * :first_name (String)
670
- # * :last_name (String)
671
- # * :gender (CandidApiClient::Individual::Types::Gender)
672
- # * :pay_to_address (Hash)
673
- # * :zip_plus_four_code (String)
674
- # * :address_1 (String)
675
- # * :address_2 (String)
676
- # * :city (String)
677
- # * :state (CandidApiClient::Commons::Types::State)
678
- # * :zip_code (String)
679
- # * :initial_referring_provider (Hash)
680
- # * :npi (String)
681
- # * :taxonomy_code (String)
682
- # * :address (Hash)
683
- # * :zip_plus_four_code (String)
684
- # * :address_1 (String)
685
- # * :address_2 (String)
686
- # * :city (String)
687
- # * :state (CandidApiClient::Commons::Types::State)
688
- # * :zip_code (String)
689
- # * :qualifier (CandidApiClient::Commons::Types::QualifierCode)
690
- # * :first_name (String)
691
- # * :last_name (String)
692
- # * :organization_name (String)
693
- # * :referring_provider (Hash)
694
- # * :npi (String)
695
- # * :taxonomy_code (String)
696
- # * :address (Hash)
697
- # * :zip_plus_four_code (String)
698
- # * :address_1 (String)
699
- # * :address_2 (String)
700
- # * :city (String)
701
- # * :state (CandidApiClient::Commons::Types::State)
702
- # * :zip_code (String)
703
- # * :first_name (String)
704
- # * :last_name (String)
705
- # * :organization_name (String)
706
- # * :patient (Hash)
707
- # * :first_name (String)
708
- # * :last_name (String)
709
- # * :gender (CandidApiClient::Individual::Types::Gender)
710
- # * :external_id (String)
711
- # * :date_of_birth (Date)
712
- # * :address (Hash)
713
- # * :zip_plus_four_code (String)
714
- # * :address_1 (String)
715
- # * :address_2 (String)
716
- # * :city (String)
717
- # * :state (CandidApiClient::Commons::Types::State)
718
- # * :zip_code (String)
719
- # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumber>)
720
- # * :phone_consent (Boolean)
721
- # * :email (String)
722
- # * :email_consent (Boolean)
723
- # * :auto_charge_consent (Boolean)
724
- # * :non_insurance_payers (Array<String>)
725
- # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreate>)
726
- # * :rendering_provider (Hash)
727
- # * :npi (String)
728
- # * :taxonomy_code (String)
729
- # * :address (Hash)
730
- # * :zip_plus_four_code (String)
731
- # * :address_1 (String)
732
- # * :address_2 (String)
733
- # * :city (String)
734
- # * :state (CandidApiClient::Commons::Types::State)
735
- # * :zip_code (String)
736
- # * :first_name (String)
737
- # * :last_name (String)
738
- # * :organization_name (String)
739
- # * :service_facility (Hash)
740
- # * :organization_name (String)
741
- # * :npi (String)
742
- # * :address (Hash)
743
- # * :zip_plus_four_code (String)
744
- # * :address_1 (String)
745
- # * :address_2 (String)
746
- # * :city (String)
747
- # * :state (CandidApiClient::Commons::Types::State)
748
- # * :zip_code (String)
749
- # * :secondary_identification (String)
750
- # * :supervising_provider (Hash)
751
- # * :npi (String)
752
- # * :taxonomy_code (String)
753
- # * :address (Hash)
754
- # * :zip_plus_four_code (String)
755
- # * :address_1 (String)
756
- # * :address_2 (String)
757
- # * :city (String)
758
- # * :state (CandidApiClient::Commons::Types::State)
759
- # * :zip_code (String)
760
- # * :first_name (String)
761
- # * :last_name (String)
762
- # * :organization_name (String)
763
- # * :billing_provider (Hash)
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
- # * :tax_id (String)
772
- # * :npi (String)
773
- # * :taxonomy_code (String)
774
- # * :provider_commercial_license_type (CandidApiClient::Commons::Types::BillingProviderCommercialLicenseType)
775
- # * :first_name (String)
776
- # * :last_name (String)
777
- # * :organization_name (String)
778
- # * :place_of_service_code_as_submitted (CandidApiClient::Commons::Types::FacilityTypeCode)
779
- # * :benefits_assigned_to_provider (Boolean)
780
- # * :prior_authorization_number (String)
781
- # * :external_id (String)
782
- # * :date_of_service (Date)
783
- # * :tag_ids (Array<String>)
784
- # * :billable_status (CandidApiClient::Encounters::V4::Types::BillableStatusType)
785
- # * :responsible_party (CandidApiClient::Encounters::V4::Types::ResponsiblePartyType)
786
- # * :provider_accepts_assignment (Boolean)
787
- # * :synchronicity (CandidApiClient::Encounters::V4::Types::SynchronicityType)
788
- # * :place_of_service_code (CandidApiClient::Commons::Types::FacilityTypeCode)
789
- # * :appointment_type (String)
790
- # * :end_date_of_service (Date)
791
- # * :additional_information (String)
792
- # * :service_authorization_exception_code (CandidApiClient::Encounters::V4::Types::ServiceAuthorizationExceptionCode)
793
- # * :admission_date (Date)
794
- # * :discharge_date (Date)
795
- # * :onset_of_current_illness_or_symptom_date (Date)
796
- # * :last_menstrual_period_date (Date)
797
- # * :delay_reason_code (CandidApiClient::Commons::Types::DelayReasonCode)
798
- # * :patient_authorized_release (Boolean)
799
- # * :referral_number (String)
800
- # * :secondary_payer_carrier_code (String)
801
- # @param request_options [CandidApiClient::RequestOptions]
802
- # @return [CandidApiClient::Encounters::V4::Types::Encounter]
803
- # @example
804
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
805
- # api.encounters.v_4.update(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { })
806
- def update(encounter_id:, request:, request_options: nil)
807
- response = @request_client.conn.patch do |req|
808
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
809
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
810
- req.headers = {
811
- **(req.headers || {}),
812
- **@request_client.get_headers,
813
- **(request_options&.additional_headers || {})
814
- }.compact
815
- req.body = { **(request || {}), **(request_options&.additional_body_parameters || {}) }.compact
816
- req.url "#{@request_client.get_url(environment: CandidApi,
817
- request_options: request_options)}/api/encounters/v4/#{encounter_id}"
818
- end
819
- CandidApiClient::Encounters::V4::Types::Encounter.from_json(json_object: response.body)
820
- end
821
- end
822
-
823
- class AsyncV4Client
824
- # @return [CandidApiClient::AsyncRequestClient]
825
- attr_reader :request_client
826
-
827
- # @param request_client [CandidApiClient::AsyncRequestClient]
828
- # @return [CandidApiClient::Encounters::V4::AsyncV4Client]
829
- def initialize(request_client:)
830
- @request_client = request_client
831
- end
832
-
833
- # @param limit [Integer] Maximum number of entities per page, defaults to 100.
834
- # @param claim_status [CandidApiClient::Claims::Types::ClaimStatus] Indicates the current status of an insurance claim within the billing process.
835
- # @param sort [CandidApiClient::Encounters::V4::Types::EncounterSortOptions] Defaults to created_at:desc.
836
- # @param page_token [String]
837
- # @param date_of_service_min [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-25.
838
- # @param date_of_service_max [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-25.
839
- # @param primary_payer_names [String] Comma delimited string.
840
- # @param search_term [String] Filter by any of the following fields: encounter_id, claim_id, patient
841
- # external_id,
842
- # patient date of birth, patient first name, patient last name,
843
- # or encounter external id.
844
- # @param external_id [String] Filter to an exact match on encounter external_id, if one exists.
845
- # @param diagnoses_updated_since [DateTime] ISO 8601 timestamp; ideally in UTC (although not required):
846
- # 2019-08-24T14:15:22Z.
847
- # @param tag_ids [String] Filter by name of tags on encounters.
848
- # @param work_queue_id [String]
849
- # @param billable_status [CandidApiClient::Encounters::V4::Types::BillableStatusType] Defines if the Encounter is to be billed by Candid to the responsible_party.
850
- # Examples for when this should be set to NOT_BILLABLE include if the Encounter
851
- # has not occurred yet or if there is no intention of ever billing the
852
- # responsible_party.
853
- # @param responsible_party [CandidApiClient::Encounters::V4::Types::ResponsiblePartyType] Defines the party to be billed with the initial balance owed on the claim. Use
854
- # SELF_PAY if you intend to bill self pay/cash pay.
855
- # @param owner_of_next_action [CandidApiClient::Encounters::V4::Types::EncounterOwnerOfNextActionType] The party who is responsible for taking the next action on an Encounter, as
856
- # defined by ownership of open Tasks.
857
- # @param patient_external_id [String] The patient ID from the external EMR platform for the patient
858
- # @param request_options [CandidApiClient::RequestOptions]
859
- # @return [CandidApiClient::Encounters::V4::Types::EncounterPage]
860
- # @example
861
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
862
- # api.encounters.v_4.get_all(
863
- # limit: 100,
864
- # claim_status: BILLER_RECEIVED,
865
- # sort: CREATED_AT_ASC,
866
- # page_token: "eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9",
867
- # date_of_service_min: DateTime.parse(2019-08-24),
868
- # date_of_service_max: DateTime.parse(2019-08-25),
869
- # primary_payer_names: "Medicare,Medicaid",
870
- # search_term: "doe",
871
- # external_id: "123456",
872
- # diagnoses_updated_since: DateTime.parse(2019-08-24T14:15:22.000Z)
873
- # )
874
- def get_all(limit: nil, claim_status: nil, sort: nil, page_token: nil, date_of_service_min: nil,
875
- date_of_service_max: nil, primary_payer_names: nil, search_term: nil, external_id: nil, diagnoses_updated_since: nil, tag_ids: nil, work_queue_id: nil, billable_status: nil, responsible_party: nil, owner_of_next_action: nil, patient_external_id: nil, request_options: nil)
876
- Async do
877
- response = @request_client.conn.get do |req|
878
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
879
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
880
- req.headers = {
881
- **(req.headers || {}),
882
- **@request_client.get_headers,
883
- **(request_options&.additional_headers || {})
884
- }.compact
885
- req.params = {
886
- **(request_options&.additional_query_parameters || {}),
887
- "limit": limit,
888
- "claim_status": claim_status,
889
- "sort": sort,
890
- "page_token": page_token,
891
- "date_of_service_min": date_of_service_min,
892
- "date_of_service_max": date_of_service_max,
893
- "primary_payer_names": primary_payer_names,
894
- "search_term": search_term,
895
- "external_id": external_id,
896
- "diagnoses_updated_since": diagnoses_updated_since,
897
- "tag_ids": tag_ids,
898
- "work_queue_id": work_queue_id,
899
- "billable_status": billable_status,
900
- "responsible_party": responsible_party,
901
- "owner_of_next_action": owner_of_next_action,
902
- "patient_external_id": patient_external_id
903
- }.compact
904
- req.url "#{@request_client.get_url(environment: CandidApi,
905
- request_options: request_options)}/api/encounters/v4"
906
- end
907
- CandidApiClient::Encounters::V4::Types::EncounterPage.from_json(json_object: response.body)
908
- end
909
- end
910
-
911
- # @param encounter_id [String]
912
- # @param request_options [CandidApiClient::RequestOptions]
913
- # @return [CandidApiClient::Encounters::V4::Types::Encounter]
914
- # @example
915
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
916
- # api.encounters.v_4.get(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
917
- def get(encounter_id:, request_options: nil)
918
- Async do
919
- response = @request_client.conn.get do |req|
920
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
921
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
922
- req.headers = {
923
- **(req.headers || {}),
924
- **@request_client.get_headers,
925
- **(request_options&.additional_headers || {})
926
- }.compact
927
- req.url "#{@request_client.get_url(environment: CandidApi,
928
- request_options: request_options)}/api/encounters/v4/#{encounter_id}"
929
- end
930
- CandidApiClient::Encounters::V4::Types::Encounter.from_json(json_object: response.body)
931
- end
932
- end
933
-
934
- # @param request [Hash] Request of type CandidApiClient::Encounters::V4::Types::EncounterCreate, as a Hash
935
- # * :billing_provider (Hash)
936
- # * :address (Hash)
937
- # * :zip_plus_four_code (String)
938
- # * :address_1 (String)
939
- # * :address_2 (String)
940
- # * :city (String)
941
- # * :state (CandidApiClient::Commons::Types::State)
942
- # * :zip_code (String)
943
- # * :tax_id (String)
944
- # * :npi (String)
945
- # * :taxonomy_code (String)
946
- # * :provider_commercial_license_type (CandidApiClient::Commons::Types::BillingProviderCommercialLicenseType)
947
- # * :first_name (String)
948
- # * :last_name (String)
949
- # * :organization_name (String)
950
- # * :diagnoses (Array<CandidApiClient::Diagnoses::Types::DiagnosisCreate>)
951
- # * :place_of_service_code (CandidApiClient::Commons::Types::FacilityTypeCode)
952
- # * :rendering_provider (Hash)
953
- # * :npi (String)
954
- # * :taxonomy_code (String)
955
- # * :address (Hash)
956
- # * :zip_plus_four_code (String)
957
- # * :address_1 (String)
958
- # * :address_2 (String)
959
- # * :city (String)
960
- # * :state (CandidApiClient::Commons::Types::State)
961
- # * :zip_code (String)
962
- # * :first_name (String)
963
- # * :last_name (String)
964
- # * :organization_name (String)
965
- # * :service_lines (Array<CandidApiClient::ServiceLines::V2::Types::ServiceLineCreate>)
966
- # * :patient (Hash)
967
- # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumber>)
968
- # * :phone_consent (Boolean)
969
- # * :email (String)
970
- # * :non_insurance_payers (Array<String>)
971
- # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreate>)
972
- # * :email_consent (Boolean)
973
- # * :auto_charge_consent (Boolean)
974
- # * :external_id (String)
975
- # * :date_of_birth (Date)
976
- # * :address (Hash)
977
- # * :zip_plus_four_code (String)
978
- # * :address_1 (String)
979
- # * :address_2 (String)
980
- # * :city (String)
981
- # * :state (CandidApiClient::Commons::Types::State)
982
- # * :zip_code (String)
983
- # * :first_name (String)
984
- # * :last_name (String)
985
- # * :gender (CandidApiClient::Individual::Types::Gender)
986
- # * :referring_provider (Hash)
987
- # * :npi (String)
988
- # * :taxonomy_code (String)
989
- # * :address (Hash)
990
- # * :zip_plus_four_code (String)
991
- # * :address_1 (String)
992
- # * :address_2 (String)
993
- # * :city (String)
994
- # * :state (CandidApiClient::Commons::Types::State)
995
- # * :zip_code (String)
996
- # * :first_name (String)
997
- # * :last_name (String)
998
- # * :organization_name (String)
999
- # * :initial_referring_provider (Hash)
1000
- # * :npi (String)
1001
- # * :taxonomy_code (String)
1002
- # * :address (Hash)
1003
- # * :zip_plus_four_code (String)
1004
- # * :address_1 (String)
1005
- # * :address_2 (String)
1006
- # * :city (String)
1007
- # * :state (CandidApiClient::Commons::Types::State)
1008
- # * :zip_code (String)
1009
- # * :qualifier (CandidApiClient::Commons::Types::QualifierCode)
1010
- # * :first_name (String)
1011
- # * :last_name (String)
1012
- # * :organization_name (String)
1013
- # * :supervising_provider (Hash)
1014
- # * :npi (String)
1015
- # * :taxonomy_code (String)
1016
- # * :address (Hash)
1017
- # * :zip_plus_four_code (String)
1018
- # * :address_1 (String)
1019
- # * :address_2 (String)
1020
- # * :city (String)
1021
- # * :state (CandidApiClient::Commons::Types::State)
1022
- # * :zip_code (String)
1023
- # * :first_name (String)
1024
- # * :last_name (String)
1025
- # * :organization_name (String)
1026
- # * :service_facility (Hash)
1027
- # * :organization_name (String)
1028
- # * :npi (String)
1029
- # * :address (Hash)
1030
- # * :zip_plus_four_code (String)
1031
- # * :address_1 (String)
1032
- # * :address_2 (String)
1033
- # * :city (String)
1034
- # * :state (CandidApiClient::Commons::Types::State)
1035
- # * :zip_code (String)
1036
- # * :secondary_identification (String)
1037
- # * :subscriber_primary (Hash)
1038
- # * :insurance_card (Hash)
1039
- # * :member_id (String)
1040
- # * :payer_name (String)
1041
- # * :payer_id (String)
1042
- # * :rx_bin (String)
1043
- # * :rx_pcn (String)
1044
- # * :image_url_front (String)
1045
- # * :image_url_back (String)
1046
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
1047
- # * :group_number (String)
1048
- # * :plan_name (String)
1049
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
1050
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
1051
- # * :payer_plan_group_id (String)
1052
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
1053
- # * :date_of_birth (Date)
1054
- # * :address (Hash)
1055
- # * :zip_plus_four_code (String)
1056
- # * :address_1 (String)
1057
- # * :address_2 (String)
1058
- # * :city (String)
1059
- # * :state (CandidApiClient::Commons::Types::State)
1060
- # * :zip_code (String)
1061
- # * :first_name (String)
1062
- # * :last_name (String)
1063
- # * :gender (CandidApiClient::Individual::Types::Gender)
1064
- # * :subscriber_secondary (Hash)
1065
- # * :insurance_card (Hash)
1066
- # * :member_id (String)
1067
- # * :payer_name (String)
1068
- # * :payer_id (String)
1069
- # * :rx_bin (String)
1070
- # * :rx_pcn (String)
1071
- # * :image_url_front (String)
1072
- # * :image_url_back (String)
1073
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
1074
- # * :group_number (String)
1075
- # * :plan_name (String)
1076
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
1077
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
1078
- # * :payer_plan_group_id (String)
1079
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
1080
- # * :date_of_birth (Date)
1081
- # * :address (Hash)
1082
- # * :zip_plus_four_code (String)
1083
- # * :address_1 (String)
1084
- # * :address_2 (String)
1085
- # * :city (String)
1086
- # * :state (CandidApiClient::Commons::Types::State)
1087
- # * :zip_code (String)
1088
- # * :first_name (String)
1089
- # * :last_name (String)
1090
- # * :gender (CandidApiClient::Individual::Types::Gender)
1091
- # * :subscriber_tertiary (Hash)
1092
- # * :insurance_card (Hash)
1093
- # * :member_id (String)
1094
- # * :payer_name (String)
1095
- # * :payer_id (String)
1096
- # * :rx_bin (String)
1097
- # * :rx_pcn (String)
1098
- # * :image_url_front (String)
1099
- # * :image_url_back (String)
1100
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
1101
- # * :group_number (String)
1102
- # * :plan_name (String)
1103
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
1104
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
1105
- # * :payer_plan_group_id (String)
1106
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
1107
- # * :date_of_birth (Date)
1108
- # * :address (Hash)
1109
- # * :zip_plus_four_code (String)
1110
- # * :address_1 (String)
1111
- # * :address_2 (String)
1112
- # * :city (String)
1113
- # * :state (CandidApiClient::Commons::Types::State)
1114
- # * :zip_code (String)
1115
- # * :first_name (String)
1116
- # * :last_name (String)
1117
- # * :gender (CandidApiClient::Individual::Types::Gender)
1118
- # * :prior_authorization_number (String)
1119
- # * :responsible_party (CandidApiClient::Encounters::V4::Types::ResponsiblePartyType)
1120
- # * :clinical_notes (Array<CandidApiClient::Encounters::V4::Types::ClinicalNoteCategoryCreate>)
1121
- # * :billing_notes (Array<CandidApiClient::BillingNotes::V2::Types::BillingNoteBase>)
1122
- # * :patient_histories (Array<CandidApiClient::Encounters::V4::Types::PatientHistoryCategory>)
1123
- # * :guarantor (Hash)
1124
- # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumber>)
1125
- # * :phone_consent (Boolean)
1126
- # * :email (String)
1127
- # * :email_consent (Boolean)
1128
- # * :auto_charge_consent (Boolean)
1129
- # * :first_name (String)
1130
- # * :last_name (String)
1131
- # * :external_id (String)
1132
- # * :date_of_birth (Date)
1133
- # * :address (Hash)
1134
- # * :zip_plus_four_code (String)
1135
- # * :address_1 (String)
1136
- # * :address_2 (String)
1137
- # * :city (String)
1138
- # * :state (CandidApiClient::Commons::Types::State)
1139
- # * :zip_code (String)
1140
- # * :external_claim_submission (Hash)
1141
- # * :claim_created_at (DateTime)
1142
- # * :patient_control_number (String)
1143
- # * :submission_records (Array<CandidApiClient::ClaimSubmission::V1::Types::ClaimSubmissionRecordCreate>)
1144
- # * :tag_ids (Array<String>)
1145
- # * :schema_instances (Array<CandidApiClient::CustomSchemas::V1::Types::SchemaInstance>)
1146
- # * :referral_number (String)
1147
- # * :epsdt_referral (Hash)
1148
- # * :condition_indicator_1 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
1149
- # * :condition_indicator_2 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
1150
- # * :condition_indicator_3 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
1151
- # * :claim_supplemental_information (Array<CandidApiClient::Encounters::V4::Types::ClaimSupplementalInformation>)
1152
- # * :secondary_payer_carrier_code (String)
1153
- # * :external_id (String)
1154
- # * :date_of_service (Date)
1155
- # * :end_date_of_service (Date)
1156
- # * :patient_authorized_release (Boolean)
1157
- # * :benefits_assigned_to_provider (Boolean)
1158
- # * :provider_accepts_assignment (Boolean)
1159
- # * :appointment_type (String)
1160
- # * :existing_medications (Array<CandidApiClient::Encounters::V4::Types::Medication>)
1161
- # * :interventions (Array<CandidApiClient::Encounters::V4::Types::Intervention>)
1162
- # * :pay_to_address (Hash)
1163
- # * :zip_plus_four_code (String)
1164
- # * :address_1 (String)
1165
- # * :address_2 (String)
1166
- # * :city (String)
1167
- # * :state (CandidApiClient::Commons::Types::State)
1168
- # * :zip_code (String)
1169
- # * :synchronicity (CandidApiClient::Encounters::V4::Types::SynchronicityType)
1170
- # * :vitals (Hash)
1171
- # * :height_in (Integer)
1172
- # * :weight_lbs (Integer)
1173
- # * :blood_pressure_systolic_mmhg (Integer)
1174
- # * :blood_pressure_diastolic_mmhg (Integer)
1175
- # * :body_temperature_f (Float)
1176
- # * :hemoglobin_gdl (Float)
1177
- # * :hematocrit_pct (Float)
1178
- # * :billable_status (CandidApiClient::Encounters::V4::Types::BillableStatusType)
1179
- # * :additional_information (String)
1180
- # * :service_authorization_exception_code (CandidApiClient::Encounters::V4::Types::ServiceAuthorizationExceptionCode)
1181
- # * :admission_date (Date)
1182
- # * :discharge_date (Date)
1183
- # * :onset_of_current_illness_or_symptom_date (Date)
1184
- # * :last_menstrual_period_date (Date)
1185
- # * :delay_reason_code (CandidApiClient::Commons::Types::DelayReasonCode)
1186
- # @param request_options [CandidApiClient::RequestOptions]
1187
- # @return [CandidApiClient::Encounters::V4::Types::Encounter]
1188
- # @example
1189
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
1190
- # api.encounters.v_4.create(request: { billing_provider: { address: { zip_plus_four_code: "zip_plus_four_code", address_1: "address1", city: "city", state: AA, zip_code: "zip_code" }, tax_id: "tax_id", npi: "npi" }, diagnoses: [{ code_type: ABF, code: "code" }, { code_type: ABF, code: "code" }], place_of_service_code: PHARMACY, rendering_provider: { npi: "npi" }, patient: { external_id: "external_id", date_of_birth: DateTime.parse(2023-01-15), address: { address_1: "address1", city: "city", state: AA, zip_code: "zip_code" }, first_name: "first_name", last_name: "last_name", gender: MALE }, responsible_party: INSURANCE_PAY, external_id: "external_id", patient_authorized_release: true, benefits_assigned_to_provider: true, provider_accepts_assignment: true, billable_status: BILLABLE })
1191
- def create(request:, request_options: nil)
1192
- Async do
1193
- response = @request_client.conn.post do |req|
1194
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
1195
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
1196
- req.headers = {
1197
- **(req.headers || {}),
1198
- **@request_client.get_headers,
1199
- **(request_options&.additional_headers || {})
1200
- }.compact
1201
- req.body = { **(request || {}), **(request_options&.additional_body_parameters || {}) }.compact
1202
- req.url "#{@request_client.get_url(environment: CandidApi,
1203
- request_options: request_options)}/api/encounters/v4"
1204
- end
1205
- CandidApiClient::Encounters::V4::Types::Encounter.from_json(json_object: response.body)
1206
- end
1207
- end
1208
-
1209
- # Create an encounter from a pre-encounter patient and appointment. This endpoint
1210
- # is intended to be used by consumers who are managing
1211
- # patients and appointments in the pre-encounter service and is currently under
1212
- # development. Consumers who are not taking advantage
1213
- # of the pre-encounter service should use the standard create endpoint.
1214
- # The endpoint will create an encounter from the provided fields, pulling
1215
- # information from the provided patient and appointment objects
1216
- # where applicable. In particular, the following fields are populated from the
1217
- # patient and appointment objects:
1218
- # - Patient
1219
- # - Referring Provider
1220
- # - Subscriber Primary
1221
- # - Subscriber Secondary
1222
- # - Referral Number
1223
- # - Responsible Party
1224
- # - Guarantor
1225
- # Utilizing this endpoint opts you into automatic updating of the encounter when
1226
- # the patient or appointment is updated, assuming the
1227
- # encounter has not already been submitted or adjudicated.
1228
- #
1229
- # @param request [Hash] Request of type CandidApiClient::Encounters::V4::Types::EncounterCreateFromPreEncounter, as a Hash
1230
- # * :rendering_provider (Hash)
1231
- # * :npi (String)
1232
- # * :taxonomy_code (String)
1233
- # * :address (Hash)
1234
- # * :zip_plus_four_code (String)
1235
- # * :address_1 (String)
1236
- # * :address_2 (String)
1237
- # * :city (String)
1238
- # * :state (CandidApiClient::Commons::Types::State)
1239
- # * :zip_code (String)
1240
- # * :first_name (String)
1241
- # * :last_name (String)
1242
- # * :organization_name (String)
1243
- # * :place_of_service_code (CandidApiClient::Commons::Types::FacilityTypeCode)
1244
- # * :diagnoses (Array<CandidApiClient::Diagnoses::Types::DiagnosisCreate>)
1245
- # * :service_lines (Array<CandidApiClient::ServiceLines::V2::Types::ServiceLineCreate>)
1246
- # * :pre_encounter_patient_id (String)
1247
- # * :pre_encounter_appointment_ids (Array<String>)
1248
- # * :billing_provider (Hash)
1249
- # * :address (Hash)
1250
- # * :zip_plus_four_code (String)
1251
- # * :address_1 (String)
1252
- # * :address_2 (String)
1253
- # * :city (String)
1254
- # * :state (CandidApiClient::Commons::Types::State)
1255
- # * :zip_code (String)
1256
- # * :tax_id (String)
1257
- # * :npi (String)
1258
- # * :taxonomy_code (String)
1259
- # * :provider_commercial_license_type (CandidApiClient::Commons::Types::BillingProviderCommercialLicenseType)
1260
- # * :first_name (String)
1261
- # * :last_name (String)
1262
- # * :organization_name (String)
1263
- # * :initial_referring_provider (Hash)
1264
- # * :npi (String)
1265
- # * :taxonomy_code (String)
1266
- # * :address (Hash)
1267
- # * :zip_plus_four_code (String)
1268
- # * :address_1 (String)
1269
- # * :address_2 (String)
1270
- # * :city (String)
1271
- # * :state (CandidApiClient::Commons::Types::State)
1272
- # * :zip_code (String)
1273
- # * :qualifier (CandidApiClient::Commons::Types::QualifierCode)
1274
- # * :first_name (String)
1275
- # * :last_name (String)
1276
- # * :organization_name (String)
1277
- # * :supervising_provider (Hash)
1278
- # * :npi (String)
1279
- # * :taxonomy_code (String)
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
- # * :organization_name (String)
1290
- # * :service_facility (Hash)
1291
- # * :organization_name (String)
1292
- # * :npi (String)
1293
- # * :address (Hash)
1294
- # * :zip_plus_four_code (String)
1295
- # * :address_1 (String)
1296
- # * :address_2 (String)
1297
- # * :city (String)
1298
- # * :state (CandidApiClient::Commons::Types::State)
1299
- # * :zip_code (String)
1300
- # * :secondary_identification (String)
1301
- # * :clinical_notes (Array<CandidApiClient::Encounters::V4::Types::ClinicalNoteCategoryCreate>)
1302
- # * :billing_notes (Array<CandidApiClient::BillingNotes::V2::Types::BillingNoteBase>)
1303
- # * :patient_histories (Array<CandidApiClient::Encounters::V4::Types::PatientHistoryCategory>)
1304
- # * :external_claim_submission (Hash)
1305
- # * :claim_created_at (DateTime)
1306
- # * :patient_control_number (String)
1307
- # * :submission_records (Array<CandidApiClient::ClaimSubmission::V1::Types::ClaimSubmissionRecordCreate>)
1308
- # * :tag_ids (Array<String>)
1309
- # * :schema_instances (Array<CandidApiClient::CustomSchemas::V1::Types::SchemaInstance>)
1310
- # * :external_id (String)
1311
- # * :date_of_service (Date)
1312
- # * :end_date_of_service (Date)
1313
- # * :patient_authorized_release (Boolean)
1314
- # * :benefits_assigned_to_provider (Boolean)
1315
- # * :provider_accepts_assignment (Boolean)
1316
- # * :appointment_type (String)
1317
- # * :existing_medications (Array<CandidApiClient::Encounters::V4::Types::Medication>)
1318
- # * :interventions (Array<CandidApiClient::Encounters::V4::Types::Intervention>)
1319
- # * :pay_to_address (Hash)
1320
- # * :zip_plus_four_code (String)
1321
- # * :address_1 (String)
1322
- # * :address_2 (String)
1323
- # * :city (String)
1324
- # * :state (CandidApiClient::Commons::Types::State)
1325
- # * :zip_code (String)
1326
- # * :synchronicity (CandidApiClient::Encounters::V4::Types::SynchronicityType)
1327
- # * :vitals (Hash)
1328
- # * :height_in (Integer)
1329
- # * :weight_lbs (Integer)
1330
- # * :blood_pressure_systolic_mmhg (Integer)
1331
- # * :blood_pressure_diastolic_mmhg (Integer)
1332
- # * :body_temperature_f (Float)
1333
- # * :hemoglobin_gdl (Float)
1334
- # * :hematocrit_pct (Float)
1335
- # * :billable_status (CandidApiClient::Encounters::V4::Types::BillableStatusType)
1336
- # * :additional_information (String)
1337
- # * :service_authorization_exception_code (CandidApiClient::Encounters::V4::Types::ServiceAuthorizationExceptionCode)
1338
- # * :admission_date (Date)
1339
- # * :discharge_date (Date)
1340
- # * :onset_of_current_illness_or_symptom_date (Date)
1341
- # * :last_menstrual_period_date (Date)
1342
- # * :delay_reason_code (CandidApiClient::Commons::Types::DelayReasonCode)
1343
- # @param request_options [CandidApiClient::RequestOptions]
1344
- # @return [CandidApiClient::Encounters::V4::Types::Encounter]
1345
- # @example
1346
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
1347
- # api.encounters.v_4.create_from_pre_encounter_patient(request: { rendering_provider: { npi: "npi" }, place_of_service_code: PHARMACY, diagnoses: [{ code_type: ABF, code: "code" }, { code_type: ABF, code: "code" }], pre_encounter_patient_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", pre_encounter_appointment_ids: ["d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"], billing_provider: { address: { zip_plus_four_code: "zip_plus_four_code", address_1: "address1", city: "city", state: AA, zip_code: "zip_code" }, tax_id: "tax_id", npi: "npi" }, external_id: "external_id", patient_authorized_release: true, benefits_assigned_to_provider: true, provider_accepts_assignment: true, billable_status: BILLABLE })
1348
- def create_from_pre_encounter_patient(request:, request_options: nil)
1349
- Async do
1350
- response = @request_client.conn.post do |req|
1351
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
1352
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
1353
- req.headers = {
1354
- **(req.headers || {}),
1355
- **@request_client.get_headers,
1356
- **(request_options&.additional_headers || {})
1357
- }.compact
1358
- req.body = { **(request || {}), **(request_options&.additional_body_parameters || {}) }.compact
1359
- req.url "#{@request_client.get_url(environment: CandidApi,
1360
- request_options: request_options)}/api/encounters/v4/create-from-pre-encounter"
1361
- end
1362
- CandidApiClient::Encounters::V4::Types::Encounter.from_json(json_object: response.body)
1363
- end
1364
- end
1365
-
1366
- # @param encounter_id [String]
1367
- # @param request [Hash] Request of type CandidApiClient::Encounters::V4::Types::EncounterUpdate, as a Hash
1368
- # * :vitals (Hash)
1369
- # * :height_in (Integer)
1370
- # * :weight_lbs (Integer)
1371
- # * :blood_pressure_systolic_mmhg (Integer)
1372
- # * :blood_pressure_diastolic_mmhg (Integer)
1373
- # * :body_temperature_f (Float)
1374
- # * :hemoglobin_gdl (Float)
1375
- # * :hematocrit_pct (Float)
1376
- # * :diagnosis_ids (Array<String>)
1377
- # * :epsdt_referral (Hash)
1378
- # * :condition_indicator_1 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
1379
- # * :condition_indicator_2 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
1380
- # * :condition_indicator_3 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
1381
- # * :clinical_notes (Array<CandidApiClient::Encounters::V4::Types::ClinicalNoteCategoryCreate>)
1382
- # * :claim_supplemental_information (Array<CandidApiClient::Encounters::V4::Types::ClaimSupplementalInformation>)
1383
- # * :schema_instances (Array<CandidApiClient::CustomSchemas::V1::Types::SchemaInstance>)
1384
- # * :existing_medications (Array<CandidApiClient::Encounters::V4::Types::Medication>)
1385
- # * :guarantor (Hash)
1386
- # * :first_name (String)
1387
- # * :last_name (String)
1388
- # * :external_id (String)
1389
- # * :date_of_birth (Date)
1390
- # * :address (Hash)
1391
- # * :zip_plus_four_code (String)
1392
- # * :address_1 (String)
1393
- # * :address_2 (String)
1394
- # * :city (String)
1395
- # * :state (CandidApiClient::Commons::Types::State)
1396
- # * :zip_code (String)
1397
- # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumber>)
1398
- # * :phone_consent (Boolean)
1399
- # * :email (String)
1400
- # * :email_consent (Boolean)
1401
- # * :auto_charge_consent (Boolean)
1402
- # * :subscriber_primary (Hash)
1403
- # * :insurance_card (Hash)
1404
- # * :member_id (String)
1405
- # * :payer_name (String)
1406
- # * :payer_id (String)
1407
- # * :rx_bin (String)
1408
- # * :rx_pcn (String)
1409
- # * :image_url_front (String)
1410
- # * :image_url_back (String)
1411
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
1412
- # * :group_number (String)
1413
- # * :plan_name (String)
1414
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
1415
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
1416
- # * :payer_plan_group_id (String)
1417
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
1418
- # * :date_of_birth (Date)
1419
- # * :address (Hash)
1420
- # * :zip_plus_four_code (String)
1421
- # * :address_1 (String)
1422
- # * :address_2 (String)
1423
- # * :city (String)
1424
- # * :state (CandidApiClient::Commons::Types::State)
1425
- # * :zip_code (String)
1426
- # * :first_name (String)
1427
- # * :last_name (String)
1428
- # * :gender (CandidApiClient::Individual::Types::Gender)
1429
- # * :subscriber_secondary (Hash)
1430
- # * :insurance_card (Hash)
1431
- # * :member_id (String)
1432
- # * :payer_name (String)
1433
- # * :payer_id (String)
1434
- # * :rx_bin (String)
1435
- # * :rx_pcn (String)
1436
- # * :image_url_front (String)
1437
- # * :image_url_back (String)
1438
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
1439
- # * :group_number (String)
1440
- # * :plan_name (String)
1441
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
1442
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
1443
- # * :payer_plan_group_id (String)
1444
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
1445
- # * :date_of_birth (Date)
1446
- # * :address (Hash)
1447
- # * :zip_plus_four_code (String)
1448
- # * :address_1 (String)
1449
- # * :address_2 (String)
1450
- # * :city (String)
1451
- # * :state (CandidApiClient::Commons::Types::State)
1452
- # * :zip_code (String)
1453
- # * :first_name (String)
1454
- # * :last_name (String)
1455
- # * :gender (CandidApiClient::Individual::Types::Gender)
1456
- # * :subscriber_tertiary (Hash)
1457
- # * :insurance_card (Hash)
1458
- # * :member_id (String)
1459
- # * :payer_name (String)
1460
- # * :payer_id (String)
1461
- # * :rx_bin (String)
1462
- # * :rx_pcn (String)
1463
- # * :image_url_front (String)
1464
- # * :image_url_back (String)
1465
- # * :emr_payer_crosswalk (CandidApiClient::Commons::Types::EmrPayerCrosswalk)
1466
- # * :group_number (String)
1467
- # * :plan_name (String)
1468
- # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
1469
- # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
1470
- # * :payer_plan_group_id (String)
1471
- # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
1472
- # * :date_of_birth (Date)
1473
- # * :address (Hash)
1474
- # * :zip_plus_four_code (String)
1475
- # * :address_1 (String)
1476
- # * :address_2 (String)
1477
- # * :city (String)
1478
- # * :state (CandidApiClient::Commons::Types::State)
1479
- # * :zip_code (String)
1480
- # * :first_name (String)
1481
- # * :last_name (String)
1482
- # * :gender (CandidApiClient::Individual::Types::Gender)
1483
- # * :pay_to_address (Hash)
1484
- # * :zip_plus_four_code (String)
1485
- # * :address_1 (String)
1486
- # * :address_2 (String)
1487
- # * :city (String)
1488
- # * :state (CandidApiClient::Commons::Types::State)
1489
- # * :zip_code (String)
1490
- # * :initial_referring_provider (Hash)
1491
- # * :npi (String)
1492
- # * :taxonomy_code (String)
1493
- # * :address (Hash)
1494
- # * :zip_plus_four_code (String)
1495
- # * :address_1 (String)
1496
- # * :address_2 (String)
1497
- # * :city (String)
1498
- # * :state (CandidApiClient::Commons::Types::State)
1499
- # * :zip_code (String)
1500
- # * :qualifier (CandidApiClient::Commons::Types::QualifierCode)
1501
- # * :first_name (String)
1502
- # * :last_name (String)
1503
- # * :organization_name (String)
1504
- # * :referring_provider (Hash)
1505
- # * :npi (String)
1506
- # * :taxonomy_code (String)
1507
- # * :address (Hash)
1508
- # * :zip_plus_four_code (String)
1509
- # * :address_1 (String)
1510
- # * :address_2 (String)
1511
- # * :city (String)
1512
- # * :state (CandidApiClient::Commons::Types::State)
1513
- # * :zip_code (String)
1514
- # * :first_name (String)
1515
- # * :last_name (String)
1516
- # * :organization_name (String)
1517
- # * :patient (Hash)
1518
- # * :first_name (String)
1519
- # * :last_name (String)
1520
- # * :gender (CandidApiClient::Individual::Types::Gender)
1521
- # * :external_id (String)
1522
- # * :date_of_birth (Date)
1523
- # * :address (Hash)
1524
- # * :zip_plus_four_code (String)
1525
- # * :address_1 (String)
1526
- # * :address_2 (String)
1527
- # * :city (String)
1528
- # * :state (CandidApiClient::Commons::Types::State)
1529
- # * :zip_code (String)
1530
- # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumber>)
1531
- # * :phone_consent (Boolean)
1532
- # * :email (String)
1533
- # * :email_consent (Boolean)
1534
- # * :auto_charge_consent (Boolean)
1535
- # * :non_insurance_payers (Array<String>)
1536
- # * :non_insurance_payers_info (Array<CandidApiClient::Individual::Types::PatientNonInsurancePayerInfoCreate>)
1537
- # * :rendering_provider (Hash)
1538
- # * :npi (String)
1539
- # * :taxonomy_code (String)
1540
- # * :address (Hash)
1541
- # * :zip_plus_four_code (String)
1542
- # * :address_1 (String)
1543
- # * :address_2 (String)
1544
- # * :city (String)
1545
- # * :state (CandidApiClient::Commons::Types::State)
1546
- # * :zip_code (String)
1547
- # * :first_name (String)
1548
- # * :last_name (String)
1549
- # * :organization_name (String)
1550
- # * :service_facility (Hash)
1551
- # * :organization_name (String)
1552
- # * :npi (String)
1553
- # * :address (Hash)
1554
- # * :zip_plus_four_code (String)
1555
- # * :address_1 (String)
1556
- # * :address_2 (String)
1557
- # * :city (String)
1558
- # * :state (CandidApiClient::Commons::Types::State)
1559
- # * :zip_code (String)
1560
- # * :secondary_identification (String)
1561
- # * :supervising_provider (Hash)
1562
- # * :npi (String)
1563
- # * :taxonomy_code (String)
1564
- # * :address (Hash)
1565
- # * :zip_plus_four_code (String)
1566
- # * :address_1 (String)
1567
- # * :address_2 (String)
1568
- # * :city (String)
1569
- # * :state (CandidApiClient::Commons::Types::State)
1570
- # * :zip_code (String)
1571
- # * :first_name (String)
1572
- # * :last_name (String)
1573
- # * :organization_name (String)
1574
- # * :billing_provider (Hash)
1575
- # * :address (Hash)
1576
- # * :zip_plus_four_code (String)
1577
- # * :address_1 (String)
1578
- # * :address_2 (String)
1579
- # * :city (String)
1580
- # * :state (CandidApiClient::Commons::Types::State)
1581
- # * :zip_code (String)
1582
- # * :tax_id (String)
1583
- # * :npi (String)
1584
- # * :taxonomy_code (String)
1585
- # * :provider_commercial_license_type (CandidApiClient::Commons::Types::BillingProviderCommercialLicenseType)
1586
- # * :first_name (String)
1587
- # * :last_name (String)
1588
- # * :organization_name (String)
1589
- # * :place_of_service_code_as_submitted (CandidApiClient::Commons::Types::FacilityTypeCode)
1590
- # * :benefits_assigned_to_provider (Boolean)
1591
- # * :prior_authorization_number (String)
1592
- # * :external_id (String)
1593
- # * :date_of_service (Date)
1594
- # * :tag_ids (Array<String>)
1595
- # * :billable_status (CandidApiClient::Encounters::V4::Types::BillableStatusType)
1596
- # * :responsible_party (CandidApiClient::Encounters::V4::Types::ResponsiblePartyType)
1597
- # * :provider_accepts_assignment (Boolean)
1598
- # * :synchronicity (CandidApiClient::Encounters::V4::Types::SynchronicityType)
1599
- # * :place_of_service_code (CandidApiClient::Commons::Types::FacilityTypeCode)
1600
- # * :appointment_type (String)
1601
- # * :end_date_of_service (Date)
1602
- # * :additional_information (String)
1603
- # * :service_authorization_exception_code (CandidApiClient::Encounters::V4::Types::ServiceAuthorizationExceptionCode)
1604
- # * :admission_date (Date)
1605
- # * :discharge_date (Date)
1606
- # * :onset_of_current_illness_or_symptom_date (Date)
1607
- # * :last_menstrual_period_date (Date)
1608
- # * :delay_reason_code (CandidApiClient::Commons::Types::DelayReasonCode)
1609
- # * :patient_authorized_release (Boolean)
1610
- # * :referral_number (String)
1611
- # * :secondary_payer_carrier_code (String)
1612
- # @param request_options [CandidApiClient::RequestOptions]
1613
- # @return [CandidApiClient::Encounters::V4::Types::Encounter]
1614
- # @example
1615
- # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
1616
- # api.encounters.v_4.update(encounter_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32", request: { })
1617
- def update(encounter_id:, request:, request_options: nil)
1618
- Async do
1619
- response = @request_client.conn.patch do |req|
1620
- req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
1621
- req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
1622
- req.headers = {
1623
- **(req.headers || {}),
1624
- **@request_client.get_headers,
1625
- **(request_options&.additional_headers || {})
1626
- }.compact
1627
- req.body = { **(request || {}), **(request_options&.additional_body_parameters || {}) }.compact
1628
- req.url "#{@request_client.get_url(environment: CandidApi,
1629
- request_options: request_options)}/api/encounters/v4/#{encounter_id}"
1630
- end
1631
- CandidApiClient::Encounters::V4::Types::Encounter.from_json(json_object: response.body)
1632
- end
1633
- end
1634
- end
1635
- end
1636
- end
1637
- end