candidhealth 0.39.2 → 0.39.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.
- checksums.yaml +4 -4
- data/lib/candidhealth/charge_capture/v_1/client.rb +16 -0
- data/lib/candidhealth/charge_capture/v_1/types/charge_capture_data.rb +18 -2
- data/lib/candidhealth/commons/types/epsdt_referral_condition_indicator_code.rb +14 -0
- data/lib/candidhealth/encounters/v_4/client.rb +1112 -1192
- data/lib/candidhealth/encounters/v_4/types/encounter.rb +17 -1
- data/lib/candidhealth/encounters/v_4/types/encounter_create_from_pre_encounter.rb +627 -0
- data/lib/candidhealth/encounters/v_4/types/encounter_optional.rb +18 -2
- data/lib/candidhealth/encounters/v_4/types/epsdt_referral.rb +85 -0
- data/lib/candidhealth/pre_encounter/coverages/v_1/client.rb +4 -4
- data/lib/candidhealth/pre_encounter/patients/v_1/client.rb +6 -6
- data/lib/candidhealth/service_lines/v_2/client.rb +12 -4
- data/lib/candidhealth/service_lines/v_2/types/service_line.rb +26 -2
- data/lib/candidhealth/service_lines/v_2/types/service_line_create.rb +25 -1
- data/lib/candidhealth/service_lines/v_2/types/service_line_create_standalone.rb +26 -2
- data/lib/candidhealth/service_lines/v_2/types/service_line_update.rb +26 -2
- data/lib/requests.rb +2 -2
- data/lib/types_export.rb +3 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 572605bf76573ce2d8d9eaccd88180433c5be33fa943f7261688ace20469bbe6
|
4
|
+
data.tar.gz: 544866f8416241becd4a6e5074020eee68eeac084e86f1f479bfb4b90ecc78ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2e391cc83792d6344b8887a3b26f003d6178fc63174d569b709bbe8eaea0a47d6baff7d2e219f5c01702fdc8c8b597fd6a14a84b7024c59ecbfa1e91383395a
|
7
|
+
data.tar.gz: 7936a2bc0e3ec043357ef1f32f8e652fa97c0292352c6f8ef11cda87e325318b5188f61f7c03d282337c9c7929a1df6c8988bcaef90d12e2b4f28f72988061c6
|
@@ -238,6 +238,10 @@ module CandidApiClient
|
|
238
238
|
# * :last_name (String)
|
239
239
|
# * :organization_name (String)
|
240
240
|
# * :referral_number (String)
|
241
|
+
# * :epsdt_referral (Hash)
|
242
|
+
# * :condition_indicator_1 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
243
|
+
# * :condition_indicator_2 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
244
|
+
# * :condition_indicator_3 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
241
245
|
# @param charge_external_id [String] A client-specified unique ID to associate with this encounter; for example, your
|
242
246
|
# internal encounter ID or a Dr. Chrono encounter ID. This field should not
|
243
247
|
# contain PHI.
|
@@ -521,6 +525,10 @@ module CandidApiClient
|
|
521
525
|
# * :last_name (String)
|
522
526
|
# * :organization_name (String)
|
523
527
|
# * :referral_number (String)
|
528
|
+
# * :epsdt_referral (Hash)
|
529
|
+
# * :condition_indicator_1 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
530
|
+
# * :condition_indicator_2 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
531
|
+
# * :condition_indicator_3 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
524
532
|
# @param charge_external_id [String] A client-specified unique ID to associate with this encounter;
|
525
533
|
# for example, your internal encounter ID or a Dr. Chrono encounter ID.
|
526
534
|
# This field should not contain PHI.
|
@@ -865,6 +873,10 @@ module CandidApiClient
|
|
865
873
|
# * :last_name (String)
|
866
874
|
# * :organization_name (String)
|
867
875
|
# * :referral_number (String)
|
876
|
+
# * :epsdt_referral (Hash)
|
877
|
+
# * :condition_indicator_1 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
878
|
+
# * :condition_indicator_2 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
879
|
+
# * :condition_indicator_3 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
868
880
|
# @param charge_external_id [String] A client-specified unique ID to associate with this encounter; for example, your
|
869
881
|
# internal encounter ID or a Dr. Chrono encounter ID. This field should not
|
870
882
|
# contain PHI.
|
@@ -1152,6 +1164,10 @@ module CandidApiClient
|
|
1152
1164
|
# * :last_name (String)
|
1153
1165
|
# * :organization_name (String)
|
1154
1166
|
# * :referral_number (String)
|
1167
|
+
# * :epsdt_referral (Hash)
|
1168
|
+
# * :condition_indicator_1 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
1169
|
+
# * :condition_indicator_2 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
1170
|
+
# * :condition_indicator_3 (CandidApiClient::Commons::Types::EpsdtReferralConditionIndicatorCode)
|
1155
1171
|
# @param charge_external_id [String] A client-specified unique ID to associate with this encounter;
|
1156
1172
|
# for example, your internal encounter ID or a Dr. Chrono encounter ID.
|
1157
1173
|
# This field should not contain PHI.
|
@@ -27,6 +27,7 @@ require_relative "../../../encounter_providers/v_2/types/billing_provider_update
|
|
27
27
|
require_relative "../../../encounter_providers/v_2/types/supervising_provider_update"
|
28
28
|
require_relative "../../../encounter_providers/v_2/types/referring_provider_update"
|
29
29
|
require_relative "../../../encounter_providers/v_2/types/initial_referring_provider_update"
|
30
|
+
require_relative "../../../encounters/v_4/types/epsdt_referral"
|
30
31
|
require "ostruct"
|
31
32
|
require "json"
|
32
33
|
|
@@ -221,6 +222,9 @@ module CandidApiClient
|
|
221
222
|
attr_reader :initial_referring_provider
|
222
223
|
# @return [String] Refers to REF\*9F on the 837p. Value cannot be greater than 50 characters.
|
223
224
|
attr_reader :referral_number
|
225
|
+
# @return [CandidApiClient::Encounters::V4::Types::EpsdtReferral] Refers Box 24H on the CMS1500 form and Loop 2300 CRC - EPSDT Referral on the
|
226
|
+
# 837P form
|
227
|
+
attr_reader :epsdt_referral
|
224
228
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
225
229
|
attr_reader :additional_properties
|
226
230
|
# @return [Object]
|
@@ -373,10 +377,12 @@ module CandidApiClient
|
|
373
377
|
# provider wrote the initial referral for this patient's episode of care being
|
374
378
|
# billed/reported in this transaction.
|
375
379
|
# @param referral_number [String] Refers to REF\*9F on the 837p. Value cannot be greater than 50 characters.
|
380
|
+
# @param epsdt_referral [CandidApiClient::Encounters::V4::Types::EpsdtReferral] Refers Box 24H on the CMS1500 form and Loop 2300 CRC - EPSDT Referral on the
|
381
|
+
# 837P form
|
376
382
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
377
383
|
# @return [CandidApiClient::ChargeCapture::V1::Types::ChargeCaptureData]
|
378
384
|
def initialize(diagnoses: OMIT, interventions: OMIT, external_claim_submission: OMIT, service_lines: OMIT,
|
379
|
-
patient_histories: OMIT, billing_notes: OMIT, benefits_assigned_to_provider: OMIT, prior_authorization_number: OMIT, external_id: OMIT, date_of_service: OMIT, tag_ids: OMIT, clinical_notes: OMIT, pay_to_address: OMIT, billable_status: OMIT, responsible_party: OMIT, provider_accepts_assignment: OMIT, synchronicity: OMIT, place_of_service_code: OMIT, appointment_type: OMIT, end_date_of_service: OMIT, subscriber_primary: OMIT, subscriber_secondary: OMIT, additional_information: OMIT, service_authorization_exception_code: OMIT, admission_date: OMIT, discharge_date: OMIT, onset_of_current_illness_or_symptom_date: OMIT, last_menstrual_period_date: OMIT, delay_reason_code: OMIT, patient: OMIT, patient_authorized_release: OMIT, schema_instances: OMIT, vitals: OMIT, existing_medications: OMIT, rendering_provider: OMIT, service_facility: OMIT, guarantor: OMIT, billing_provider: OMIT, supervising_provider: OMIT, referring_provider: OMIT, initial_referring_provider: OMIT, referral_number: OMIT, additional_properties: nil)
|
385
|
+
patient_histories: OMIT, billing_notes: OMIT, benefits_assigned_to_provider: OMIT, prior_authorization_number: OMIT, external_id: OMIT, date_of_service: OMIT, tag_ids: OMIT, clinical_notes: OMIT, pay_to_address: OMIT, billable_status: OMIT, responsible_party: OMIT, provider_accepts_assignment: OMIT, synchronicity: OMIT, place_of_service_code: OMIT, appointment_type: OMIT, end_date_of_service: OMIT, subscriber_primary: OMIT, subscriber_secondary: OMIT, additional_information: OMIT, service_authorization_exception_code: OMIT, admission_date: OMIT, discharge_date: OMIT, onset_of_current_illness_or_symptom_date: OMIT, last_menstrual_period_date: OMIT, delay_reason_code: OMIT, patient: OMIT, patient_authorized_release: OMIT, schema_instances: OMIT, vitals: OMIT, existing_medications: OMIT, rendering_provider: OMIT, service_facility: OMIT, guarantor: OMIT, billing_provider: OMIT, supervising_provider: OMIT, referring_provider: OMIT, initial_referring_provider: OMIT, referral_number: OMIT, epsdt_referral: OMIT, additional_properties: nil)
|
380
386
|
@diagnoses = diagnoses if diagnoses != OMIT
|
381
387
|
@interventions = interventions if interventions != OMIT
|
382
388
|
@external_claim_submission = external_claim_submission if external_claim_submission != OMIT
|
@@ -423,6 +429,7 @@ module CandidApiClient
|
|
423
429
|
@referring_provider = referring_provider if referring_provider != OMIT
|
424
430
|
@initial_referring_provider = initial_referring_provider if initial_referring_provider != OMIT
|
425
431
|
@referral_number = referral_number if referral_number != OMIT
|
432
|
+
@epsdt_referral = epsdt_referral if epsdt_referral != OMIT
|
426
433
|
@additional_properties = additional_properties
|
427
434
|
@_field_set = {
|
428
435
|
"diagnoses": diagnoses,
|
@@ -466,7 +473,8 @@ module CandidApiClient
|
|
466
473
|
"supervising_provider": supervising_provider,
|
467
474
|
"referring_provider": referring_provider,
|
468
475
|
"initial_referring_provider": initial_referring_provider,
|
469
|
-
"referral_number": referral_number
|
476
|
+
"referral_number": referral_number,
|
477
|
+
"epsdt_referral": epsdt_referral
|
470
478
|
}.reject do |_k, v|
|
471
479
|
v == OMIT
|
472
480
|
end
|
@@ -616,6 +624,12 @@ module CandidApiClient
|
|
616
624
|
initial_referring_provider = CandidApiClient::EncounterProviders::V2::Types::InitialReferringProviderUpdate.from_json(json_object: initial_referring_provider)
|
617
625
|
end
|
618
626
|
referral_number = struct["referral_number"]
|
627
|
+
if parsed_json["epsdt_referral"].nil?
|
628
|
+
epsdt_referral = nil
|
629
|
+
else
|
630
|
+
epsdt_referral = parsed_json["epsdt_referral"].to_json
|
631
|
+
epsdt_referral = CandidApiClient::Encounters::V4::Types::EpsdtReferral.from_json(json_object: epsdt_referral)
|
632
|
+
end
|
619
633
|
new(
|
620
634
|
diagnoses: diagnoses,
|
621
635
|
interventions: interventions,
|
@@ -659,6 +673,7 @@ module CandidApiClient
|
|
659
673
|
referring_provider: referring_provider,
|
660
674
|
initial_referring_provider: initial_referring_provider,
|
661
675
|
referral_number: referral_number,
|
676
|
+
epsdt_referral: epsdt_referral,
|
662
677
|
additional_properties: struct
|
663
678
|
)
|
664
679
|
end
|
@@ -719,6 +734,7 @@ module CandidApiClient
|
|
719
734
|
obj.referring_provider.nil? || CandidApiClient::EncounterProviders::V2::Types::ReferringProviderUpdate.validate_raw(obj: obj.referring_provider)
|
720
735
|
obj.initial_referring_provider.nil? || CandidApiClient::EncounterProviders::V2::Types::InitialReferringProviderUpdate.validate_raw(obj: obj.initial_referring_provider)
|
721
736
|
obj.referral_number&.is_a?(String) != false || raise("Passed value for field obj.referral_number is not the expected type, validation failed.")
|
737
|
+
obj.epsdt_referral.nil? || CandidApiClient::Encounters::V4::Types::EpsdtReferral.validate_raw(obj: obj.epsdt_referral)
|
722
738
|
end
|
723
739
|
end
|
724
740
|
end
|