candidhealth 0.31.0 → 0.33.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) 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/encounters/v_4/client.rb +14 -100
  9. data/lib/candidhealth/expected_network_status/v_2/client.rb +4 -4
  10. data/lib/candidhealth/financials/types/allocation_target_create.rb +10 -9
  11. data/lib/candidhealth/financials/types/appointment_allocation_target.rb +13 -3
  12. data/lib/candidhealth/financials/types/appointment_by_id_and_patient_external_id.rb +68 -0
  13. data/lib/candidhealth/import_invoice/v_1/client.rb +4 -4
  14. data/lib/candidhealth/individual/types/patient.rb +14 -2
  15. data/lib/candidhealth/individual/types/patient_create.rb +10 -2
  16. data/lib/candidhealth/insurance_adjudications/v_1/client.rb +2 -2
  17. data/lib/candidhealth/insurance_payments/v_1/client.rb +2 -2
  18. data/lib/candidhealth/insurance_refunds/v_1/client.rb +2 -2
  19. data/lib/candidhealth/medication_dispense/v_1/client.rb +2 -2
  20. data/lib/candidhealth/non_insurance_payer_payments/v_1/client.rb +2 -2
  21. data/lib/candidhealth/non_insurance_payer_refunds/v_1/client.rb +2 -2
  22. data/lib/candidhealth/organization_providers/v_3/client.rb +2 -2
  23. data/lib/candidhealth/pre_encounter/appointments/v_1/client.rb +4 -4
  24. data/lib/candidhealth/pre_encounter/coverages/v_1/client.rb +4 -4
  25. data/lib/candidhealth/pre_encounter/patients/v_1/client.rb +6 -6
  26. data/lib/candidhealth/service_lines/v_2/client.rb +4 -4
  27. data/lib/candidhealth/service_lines/v_2/types/service_line.rb +1 -40
  28. data/lib/candidhealth/service_lines/v_2/types/service_line_create.rb +1 -65
  29. data/lib/candidhealth/third_party_payer_payments/v_1/client.rb +2 -2
  30. data/lib/candidhealth/third_party_payer_refunds/v_1/client.rb +2 -2
  31. data/lib/candidhealth.rb +7 -0
  32. data/lib/requests.rb +2 -2
  33. data/lib/types_export.rb +5 -0
  34. metadata +9 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1c6e56c5d0482646728cd5dad2ad2715d4d824a87ccdc9994e9a4f4bffbc4fa
4
- data.tar.gz: 764a249c8ea0ea9aea3a3c8e3af28cf2000da21c1733055c71954e88b52cb107
3
+ metadata.gz: 68c7bf385ff7ec192487a4f558a9582eef10af3fd08559c228bec0d819c309c7
4
+ data.tar.gz: f39a7056a9da93d424151574ba44de7c121c41643ec6d77fbdf430e822258e38
5
5
  SHA512:
6
- metadata.gz: 9fb13b34c2792b335cffed497c18d13493a3dfffc0a30887744b2e0c0741a1025c627b600fd00bfff7e6c26b0fc43ab5285c27442df504c17e6df9c73a740ff9
7
- data.tar.gz: 1933fbc4b1b43a606dec62bc2b79bd943c46d5ed371253ecd84d0aa997148fccb6fa40a558dbf8a915cac3fa32c495fb67ef1bbd9ad7caed2057669b51f118cb
6
+ metadata.gz: da757aa4d51e868da4a3d72fb7f303a635a2732a84605c09528690dd7be99bb9090fc34b72dc3e6b61a23b01cb42d906a601b20a82cddd63be9bb316c17e2585
7
+ data.tar.gz: 17ada35575540aa27bfa4a3d837608db08446a9d43f5a88de284bee32e1a5c48e90c59b5371b37b4a7b440477d47bc9b9b8126f429aa8ca36871c8dcba5b54b2
@@ -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