candidhealth 1.11.0 → 1.17.4

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