candidhealth 0.38.1 → 0.38.2
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/encounters/v_4/types/encounter.rb +11 -1
- data/lib/requests.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6fa0b3be31e72fc282c443708040d24148a16e552293faf0992a288b7957568c
|
4
|
+
data.tar.gz: 49beff9f3320b59b77902f21a90c9b88cfe89920f027308048938fe89a85bca6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58ac955b87403aebd107cd199ef3fce5cf5aaf21a467ebe092823f4d8117e2ad3d50ea13077a1cc406ef2b19ce9ae5e2940e6490a76e74764400b8317660921f
|
7
|
+
data.tar.gz: a3cebb064b836ad46567de420c2beb5084057f2da99f3f09ef1ba3bbe5a99ce8ef36b088fdadbd7ea8adcaf8a4f6d2fba30393fecff000a59c301885076519d9
|
@@ -143,6 +143,8 @@ module CandidApiClient
|
|
143
143
|
attr_reader :schema_instances
|
144
144
|
# @return [String] Refers to REF\*9F on the 837p. Value cannot be greater than 50 characters.
|
145
145
|
attr_reader :referral_number
|
146
|
+
# @return [DateTime] The date and time the encounter was last submitted to a payer.
|
147
|
+
attr_reader :last_submitted_at
|
146
148
|
# @return [String] A client-specified unique ID to associate with this encounter;
|
147
149
|
# for example, your internal encounter ID or a Dr. Chrono encounter ID.
|
148
150
|
# This field should not contain PHI.
|
@@ -320,6 +322,7 @@ module CandidApiClient
|
|
320
322
|
# Multiple schema
|
321
323
|
# instances cannot be created for the same schema on an encounter.
|
322
324
|
# @param referral_number [String] Refers to REF\*9F on the 837p. Value cannot be greater than 50 characters.
|
325
|
+
# @param last_submitted_at [DateTime] The date and time the encounter was last submitted to a payer.
|
323
326
|
# @param external_id [String] A client-specified unique ID to associate with this encounter;
|
324
327
|
# for example, your internal encounter ID or a Dr. Chrono encounter ID.
|
325
328
|
# This field should not contain PHI.
|
@@ -395,7 +398,7 @@ module CandidApiClient
|
|
395
398
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
396
399
|
# @return [CandidApiClient::Encounters::V4::Types::Encounter]
|
397
400
|
def initialize(encounter_id:, claims:, patient:, billing_provider:, rendering_provider:, service_facility:,
|
398
|
-
responsible_party:, url:, diagnoses:, clinical_notes:, patient_histories:, patient_payments:, tags:, owner_of_next_action:, submission_origin:, schema_instances:, external_id:, patient_authorized_release:, benefits_assigned_to_provider:, provider_accepts_assignment:, billable_status:, patient_control_number: OMIT, guarantor: OMIT, referring_provider: OMIT, initial_referring_provider: OMIT, supervising_provider: OMIT, subscriber_primary: OMIT, subscriber_secondary: OMIT, prior_authorization_number: OMIT, billing_notes: OMIT, place_of_service_code: OMIT, place_of_service_code_as_submitted: OMIT, coding_attribution: OMIT, work_queue_id: OMIT, work_queue_membership_activated_at: OMIT, referral_number: OMIT, date_of_service: OMIT, end_date_of_service: OMIT, appointment_type: OMIT, existing_medications: OMIT, vitals: OMIT, interventions: OMIT, pay_to_address: OMIT, synchronicity: 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, additional_properties: nil)
|
401
|
+
responsible_party:, url:, diagnoses:, clinical_notes:, patient_histories:, patient_payments:, tags:, owner_of_next_action:, submission_origin:, schema_instances:, external_id:, patient_authorized_release:, benefits_assigned_to_provider:, provider_accepts_assignment:, billable_status:, patient_control_number: OMIT, guarantor: OMIT, referring_provider: OMIT, initial_referring_provider: OMIT, supervising_provider: OMIT, subscriber_primary: OMIT, subscriber_secondary: OMIT, prior_authorization_number: OMIT, billing_notes: OMIT, place_of_service_code: OMIT, place_of_service_code_as_submitted: OMIT, coding_attribution: OMIT, work_queue_id: OMIT, work_queue_membership_activated_at: OMIT, referral_number: OMIT, last_submitted_at: OMIT, date_of_service: OMIT, end_date_of_service: OMIT, appointment_type: OMIT, existing_medications: OMIT, vitals: OMIT, interventions: OMIT, pay_to_address: OMIT, synchronicity: 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, additional_properties: nil)
|
399
402
|
@patient_control_number = patient_control_number if patient_control_number != OMIT
|
400
403
|
@encounter_id = encounter_id
|
401
404
|
@claims = claims
|
@@ -431,6 +434,7 @@ module CandidApiClient
|
|
431
434
|
@submission_origin = submission_origin
|
432
435
|
@schema_instances = schema_instances
|
433
436
|
@referral_number = referral_number if referral_number != OMIT
|
437
|
+
@last_submitted_at = last_submitted_at if last_submitted_at != OMIT
|
434
438
|
@external_id = external_id
|
435
439
|
@date_of_service = date_of_service if date_of_service != OMIT
|
436
440
|
@end_date_of_service = end_date_of_service if end_date_of_service != OMIT
|
@@ -488,6 +492,7 @@ module CandidApiClient
|
|
488
492
|
"submission_origin": submission_origin,
|
489
493
|
"schema_instances": schema_instances,
|
490
494
|
"referral_number": referral_number,
|
495
|
+
"last_submitted_at": last_submitted_at,
|
491
496
|
"external_id": external_id,
|
492
497
|
"date_of_service": date_of_service,
|
493
498
|
"end_date_of_service": end_date_of_service,
|
@@ -627,6 +632,9 @@ module CandidApiClient
|
|
627
632
|
CandidApiClient::CustomSchemas::V1::Types::SchemaInstance.from_json(json_object: item)
|
628
633
|
end
|
629
634
|
referral_number = struct["referral_number"]
|
635
|
+
last_submitted_at = unless parsed_json["last_submitted_at"].nil?
|
636
|
+
DateTime.parse(parsed_json["last_submitted_at"])
|
637
|
+
end
|
630
638
|
external_id = struct["external_id"]
|
631
639
|
date_of_service = (Date.parse(parsed_json["date_of_service"]) unless parsed_json["date_of_service"].nil?)
|
632
640
|
end_date_of_service = unless parsed_json["end_date_of_service"].nil?
|
@@ -701,6 +709,7 @@ module CandidApiClient
|
|
701
709
|
submission_origin: submission_origin,
|
702
710
|
schema_instances: schema_instances,
|
703
711
|
referral_number: referral_number,
|
712
|
+
last_submitted_at: last_submitted_at,
|
704
713
|
external_id: external_id,
|
705
714
|
date_of_service: date_of_service,
|
706
715
|
end_date_of_service: end_date_of_service,
|
@@ -770,6 +779,7 @@ module CandidApiClient
|
|
770
779
|
obj.submission_origin.is_a?(CandidApiClient::Encounters::V4::Types::EncounterSubmissionOriginType) != false || raise("Passed value for field obj.submission_origin is not the expected type, validation failed.")
|
771
780
|
obj.schema_instances.is_a?(Array) != false || raise("Passed value for field obj.schema_instances is not the expected type, validation failed.")
|
772
781
|
obj.referral_number&.is_a?(String) != false || raise("Passed value for field obj.referral_number is not the expected type, validation failed.")
|
782
|
+
obj.last_submitted_at&.is_a?(DateTime) != false || raise("Passed value for field obj.last_submitted_at is not the expected type, validation failed.")
|
773
783
|
obj.external_id.is_a?(String) != false || raise("Passed value for field obj.external_id is not the expected type, validation failed.")
|
774
784
|
obj.date_of_service&.is_a?(Date) != false || raise("Passed value for field obj.date_of_service is not the expected type, validation failed.")
|
775
785
|
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.")
|
data/lib/requests.rb
CHANGED
@@ -43,7 +43,7 @@ module CandidApiClient
|
|
43
43
|
|
44
44
|
# @return [Hash{String => String}]
|
45
45
|
def get_headers
|
46
|
-
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.38.
|
46
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.38.2" }
|
47
47
|
headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
|
48
48
|
headers
|
49
49
|
end
|
@@ -87,7 +87,7 @@ module CandidApiClient
|
|
87
87
|
|
88
88
|
# @return [Hash{String => String}]
|
89
89
|
def get_headers
|
90
|
-
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.38.
|
90
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.38.2" }
|
91
91
|
headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
|
92
92
|
headers
|
93
93
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: candidhealth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.38.
|
4
|
+
version: 0.38.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-http-faraday
|