candidhealth 0.32.0 → 0.33.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/lib/candidhealth/encounter_providers/client.rb +30 -0
  3. data/lib/candidhealth/encounter_providers/v_2/client.rb +789 -0
  4. data/lib/candidhealth/encounter_providers/v_2/types/initial_referring_provider_update.rb +132 -0
  5. data/lib/candidhealth/encounter_providers/v_2/types/ordering_provider_update.rb +123 -0
  6. data/lib/candidhealth/encounter_providers/v_2/types/referring_provider_update.rb +123 -0
  7. data/lib/candidhealth/encounter_providers/v_2/types/supervising_provider_update.rb +123 -0
  8. data/lib/candidhealth/pre_encounter/appointments/v_1/client.rb +32 -270
  9. data/lib/candidhealth/pre_encounter/appointments/v_1/types/appointment.rb +87 -75
  10. data/lib/candidhealth/pre_encounter/appointments/v_1/types/{appointment_sort_field.rb → appointment_status.rb} +5 -3
  11. data/lib/candidhealth/pre_encounter/appointments/v_1/types/mutable_appointment.rb +87 -75
  12. data/lib/candidhealth/pre_encounter/coverages/v_1/client.rb +4 -4
  13. data/lib/candidhealth/pre_encounter/coverages/v_1/types/plan_date.rb +87 -0
  14. data/lib/candidhealth/pre_encounter/coverages/v_1/types/plan_metadata.rb +13 -10
  15. data/lib/candidhealth/pre_encounter/lists/client.rb +32 -0
  16. data/lib/candidhealth/pre_encounter/lists/v_1/client.rb +213 -0
  17. data/lib/candidhealth/pre_encounter/lists/v_1/types/appointment_list_item.rb +104 -0
  18. data/lib/candidhealth/pre_encounter/lists/v_1/types/appointment_list_page.rb +90 -0
  19. data/lib/candidhealth/pre_encounter/lists/v_1/types/patient_list_item.rb +104 -0
  20. data/lib/candidhealth/pre_encounter/lists/v_1/types/patient_list_page.rb +90 -0
  21. data/lib/candidhealth/pre_encounter/patients/v_1/client.rb +126 -150
  22. data/lib/candidhealth/pre_encounter/patients/v_1/types/guarantor.rb +121 -0
  23. data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient.rb +32 -2
  24. data/lib/candidhealth/pre_encounter/patients/v_1/types/patient.rb +32 -2
  25. data/lib/candidhealth/pre_encounter/patients/v_1/types/potential_duplicate_patient.rb +72 -0
  26. data/lib/candidhealth/pre_encounter/patients/v_1/types/potential_duplicate_patients_error_body.rb +84 -0
  27. data/lib/candidhealth.rb +7 -0
  28. data/lib/requests.rb +2 -2
  29. data/lib/types_export.rb +13 -3
  30. metadata +19 -5
  31. data/lib/candidhealth/pre_encounter/appointments/v_1/types/appointment_reason.rb +0 -19
  32. data/lib/candidhealth/pre_encounter/appointments/v_1/types/appointment_type.rb +0 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bec9a5c208037d7c187d5957cf81830ad65f75b9d8bbf31701e26e35aa86724c
4
- data.tar.gz: 7b75b2f7c87bedda01c251e8321f381f23815005e7a820a37cb585a298d5d46a
3
+ metadata.gz: a98c5fdacd8e8244244950864e9684ef91cbce3e350c8e8955d3c7ffc483dd5d
4
+ data.tar.gz: da0ee8fb3edee16a367063822e750627a890bd4df177e515647da2a06ed7a4b2
5
5
  SHA512:
6
- metadata.gz: 4dfe96a5a38012308d23702a8eba72658995c45981b5fd3dc2731d67ef323adbf01dd52ede5c253c0b893ff204922bb4dbfa9efc1d7bd3d7ae0299466d2081d8
7
- data.tar.gz: 6fc4fdba73c3be2fac3d9ef609d657c0afd1d004d0694e5c59e74f3348151903e67423919eae3cda509a1edbe0759996eeb792e0cf8d4881db97deef4e5ff076
6
+ metadata.gz: 6e63f16b283eefd53dcb0271efcf74cd51525ab20f69e71400403d79f5dc73aab46d3caa89d919035ae8d340554731abe223be86c4df327c3d892d25c29de150
7
+ data.tar.gz: 8b804b338b05858fa779ff969f935618fd491e669c0b759c87589933cf42c39d510600fdf9f1322f731ae118ca8f69335c5a046ae3f54fbfa358ee34fd72c5e5
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "../../requests"
4
+ require_relative "v_2/client"
5
+
6
+ module CandidApiClient
7
+ module EncounterProviders
8
+ class Client
9
+ # @return [CandidApiClient::EncounterProviders::V2::V2Client]
10
+ attr_reader :v_2
11
+
12
+ # @param request_client [CandidApiClient::RequestClient]
13
+ # @return [CandidApiClient::EncounterProviders::Client]
14
+ def initialize(request_client:)
15
+ @v_2 = CandidApiClient::EncounterProviders::V2::V2Client.new(request_client: request_client)
16
+ end
17
+ end
18
+
19
+ class AsyncClient
20
+ # @return [CandidApiClient::EncounterProviders::V2::AsyncV2Client]
21
+ attr_reader :v_2
22
+
23
+ # @param request_client [CandidApiClient::AsyncRequestClient]
24
+ # @return [CandidApiClient::EncounterProviders::AsyncClient]
25
+ def initialize(request_client:)
26
+ @v_2 = CandidApiClient::EncounterProviders::V2::AsyncV2Client.new(request_client: request_client)
27
+ end
28
+ end
29
+ end
30
+ end