candidhealth 0.32.0 → 0.33.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/candidhealth/encounter_providers/client.rb +30 -0
- data/lib/candidhealth/encounter_providers/v_2/client.rb +789 -0
- data/lib/candidhealth/encounter_providers/v_2/types/initial_referring_provider_update.rb +132 -0
- data/lib/candidhealth/encounter_providers/v_2/types/ordering_provider_update.rb +123 -0
- data/lib/candidhealth/encounter_providers/v_2/types/referring_provider_update.rb +123 -0
- data/lib/candidhealth/encounter_providers/v_2/types/supervising_provider_update.rb +123 -0
- data/lib/candidhealth/pre_encounter/appointments/v_1/client.rb +32 -270
- data/lib/candidhealth/pre_encounter/appointments/v_1/types/appointment.rb +87 -75
- data/lib/candidhealth/pre_encounter/appointments/v_1/types/{appointment_sort_field.rb → appointment_status.rb} +5 -3
- data/lib/candidhealth/pre_encounter/appointments/v_1/types/mutable_appointment.rb +87 -75
- data/lib/candidhealth/pre_encounter/coverages/v_1/client.rb +4 -4
- data/lib/candidhealth/pre_encounter/coverages/v_1/types/plan_date.rb +87 -0
- data/lib/candidhealth/pre_encounter/coverages/v_1/types/plan_metadata.rb +13 -10
- data/lib/candidhealth/pre_encounter/lists/client.rb +32 -0
- data/lib/candidhealth/pre_encounter/lists/v_1/client.rb +213 -0
- data/lib/candidhealth/pre_encounter/lists/v_1/types/appointment_list_item.rb +104 -0
- data/lib/candidhealth/pre_encounter/lists/v_1/types/appointment_list_page.rb +90 -0
- data/lib/candidhealth/pre_encounter/lists/v_1/types/patient_list_item.rb +104 -0
- data/lib/candidhealth/pre_encounter/lists/v_1/types/patient_list_page.rb +90 -0
- data/lib/candidhealth/pre_encounter/patients/v_1/client.rb +126 -150
- data/lib/candidhealth/pre_encounter/patients/v_1/types/guarantor.rb +121 -0
- data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient.rb +32 -2
- data/lib/candidhealth/pre_encounter/patients/v_1/types/patient.rb +32 -2
- data/lib/candidhealth/pre_encounter/patients/v_1/types/potential_duplicate_patient.rb +72 -0
- data/lib/candidhealth/pre_encounter/patients/v_1/types/potential_duplicate_patients_error_body.rb +84 -0
- data/lib/candidhealth.rb +7 -0
- data/lib/requests.rb +2 -2
- data/lib/types_export.rb +13 -3
- metadata +19 -5
- data/lib/candidhealth/pre_encounter/appointments/v_1/types/appointment_reason.rb +0 -19
- 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a98c5fdacd8e8244244950864e9684ef91cbce3e350c8e8955d3c7ffc483dd5d
|
4
|
+
data.tar.gz: da0ee8fb3edee16a367063822e750627a890bd4df177e515647da2a06ed7a4b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|