candidhealth 1.3.0 → 1.3.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07f5fe75faed59459559e52d586fdfbdb5e7b3c58e52ecfd9b4987dc2ed6f09e
4
- data.tar.gz: 676a4aafede9210e6a84ec351f37b08a96386b3e523579175d287244f74f1157
3
+ metadata.gz: dfd8b161e416f9900456162bfed1a1d0ec56b3f3675922ece236a995f4a591ff
4
+ data.tar.gz: b0a1f0f43098f4997a588d90f45872e8e2f1a3b138cdfc67cf1e531085c6c359
5
5
  SHA512:
6
- metadata.gz: c3c2fb523f098a25fbf1e4e24c1de9f117af1efeae359465c27890bedb3dec1e49f8a34854ccd0b5ffe4f7eeb68aec770252ca08b328604d4048117414a955ca
7
- data.tar.gz: 0b0b3bfe03474e403da0e51ec017939cd30462573f223f9d3e775f8b8160a0d0c8ebb5eb0897700d3524f0a5b987175345aa5278ed2c07a9de5b798260a6f995
6
+ metadata.gz: b1ee2a190afe3735289c200a1f0833bdb066b781d9ae4df3b4310af5aced45a84a70e73924640465dd0b9d3a58ea6af6c4143d6b2433d59d099b8a24cf50a998
7
+ data.tar.gz: 803aa83ec28515fdfb5aa2b4afbee901f797b62399c43c8125701d508faa99bd6ad95782aa07d4624a627dedf201196c7863c0f7ba86328489c690f712bfdb76
@@ -7,6 +7,8 @@ require_relative "types/charge_capture"
7
7
  require_relative "types/charge_capture_sort_field"
8
8
  require_relative "../../commons/types/sort_direction"
9
9
  require "date"
10
+ require_relative "../../encounters/v_4/types/billable_status_type"
11
+ require_relative "../../encounters/v_4/types/responsible_party_type"
10
12
  require_relative "types/charge_capture_page"
11
13
  require_relative "types/charge_capture_post_billed_change"
12
14
  require "json"
@@ -679,6 +681,15 @@ module CandidApiClient
679
681
  # This date must be the local date in the timezone where the service occurred.
680
682
  # @param date_of_service_max_ranked_sort [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
681
683
  # This date must be the local date in the timezone where the service occurred.
684
+ # @param search_term [String] Filter by any of the following fields: charge_id, claim_id, patient external_id,
685
+ # patient date of birth, patient first name, patient last name,
686
+ # or charge external id.
687
+ # @param billable_status [CandidApiClient::Encounters::V4::Types::BillableStatusType] Defines if the Encounter is to be billed by Candid to the responsible_party.
688
+ # Examples for when this should be set to NOT_BILLABLE include if the Encounter
689
+ # has not occurred yet or if there is no intention of ever billing the
690
+ # responsible_party.
691
+ # @param responsible_party [CandidApiClient::Encounters::V4::Types::ResponsiblePartyType] Defines the party to be billed with the initial balance owed on the claim. Use
692
+ # SELF_PAY if you intend to bill self pay/cash pay.
682
693
  # @param claim_ids_ranked_sort [String] A list of claim IDs to show first. This will return all charge captures that
683
694
  # have a resulting claim with one of the IDs in this list.
684
695
  # @param claim_creation_ids_ranked_sort [String] A list of Claim Creation IDs to show first.
@@ -702,7 +713,7 @@ module CandidApiClient
702
713
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
703
714
  # api.charge_capture.v_1.get_all
704
715
  def get_all(limit: nil, sort: nil, sort_direction: nil, page_token: nil, patient_external_id: nil, status: nil,
705
- charge_external_id: nil, date_of_service_min: nil, date_of_service_max: nil, claim_ids: nil, claim_creation_ids: nil, billing_provider_npis: nil, service_facility_name: nil, primary_payer_ids: nil, rendering_provider_npis: nil, rendering_provider_names: nil, supervising_provider_npis: nil, supervising_provider_names: nil, exclude_charges_linked_to_claims: nil, patient_external_id_ranked_sort: nil, status_ranked_sort: nil, charge_external_id_ranked_sort: nil, date_of_service_min_ranked_sort: nil, date_of_service_max_ranked_sort: nil, claim_ids_ranked_sort: nil, claim_creation_ids_ranked_sort: nil, billing_provider_npis_ranked_sort: nil, service_facility_name_ranked_sort: nil, primary_payer_ids_ranked_sort: nil, rendering_provider_npis_ranked_sort: nil, rendering_provider_names_ranked_sort: nil, supervising_provider_npis_ranked_sort: nil, supervising_provider_names_ranked_sort: nil, request_options: nil)
716
+ charge_external_id: nil, date_of_service_min: nil, date_of_service_max: nil, claim_ids: nil, claim_creation_ids: nil, billing_provider_npis: nil, service_facility_name: nil, primary_payer_ids: nil, rendering_provider_npis: nil, rendering_provider_names: nil, supervising_provider_npis: nil, supervising_provider_names: nil, exclude_charges_linked_to_claims: nil, patient_external_id_ranked_sort: nil, status_ranked_sort: nil, charge_external_id_ranked_sort: nil, date_of_service_min_ranked_sort: nil, date_of_service_max_ranked_sort: nil, search_term: nil, billable_status: nil, responsible_party: nil, claim_ids_ranked_sort: nil, claim_creation_ids_ranked_sort: nil, billing_provider_npis_ranked_sort: nil, service_facility_name_ranked_sort: nil, primary_payer_ids_ranked_sort: nil, rendering_provider_npis_ranked_sort: nil, rendering_provider_names_ranked_sort: nil, supervising_provider_npis_ranked_sort: nil, supervising_provider_names_ranked_sort: nil, request_options: nil)
706
717
  response = @request_client.conn.get do |req|
707
718
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
708
719
  req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
@@ -737,6 +748,9 @@ module CandidApiClient
737
748
  "charge_external_id_ranked_sort": charge_external_id_ranked_sort,
738
749
  "date_of_service_min_ranked_sort": date_of_service_min_ranked_sort,
739
750
  "date_of_service_max_ranked_sort": date_of_service_max_ranked_sort,
751
+ "search_term": search_term,
752
+ "billable_status": billable_status,
753
+ "responsible_party": responsible_party,
740
754
  "claim_ids_ranked_sort": claim_ids_ranked_sort,
741
755
  "claim_creation_ids_ranked_sort": claim_creation_ids_ranked_sort,
742
756
  "billing_provider_npis_ranked_sort": billing_provider_npis_ranked_sort,
@@ -1458,6 +1472,15 @@ module CandidApiClient
1458
1472
  # This date must be the local date in the timezone where the service occurred.
1459
1473
  # @param date_of_service_max_ranked_sort [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
1460
1474
  # This date must be the local date in the timezone where the service occurred.
1475
+ # @param search_term [String] Filter by any of the following fields: charge_id, claim_id, patient external_id,
1476
+ # patient date of birth, patient first name, patient last name,
1477
+ # or charge external id.
1478
+ # @param billable_status [CandidApiClient::Encounters::V4::Types::BillableStatusType] Defines if the Encounter is to be billed by Candid to the responsible_party.
1479
+ # Examples for when this should be set to NOT_BILLABLE include if the Encounter
1480
+ # has not occurred yet or if there is no intention of ever billing the
1481
+ # responsible_party.
1482
+ # @param responsible_party [CandidApiClient::Encounters::V4::Types::ResponsiblePartyType] Defines the party to be billed with the initial balance owed on the claim. Use
1483
+ # SELF_PAY if you intend to bill self pay/cash pay.
1461
1484
  # @param claim_ids_ranked_sort [String] A list of claim IDs to show first. This will return all charge captures that
1462
1485
  # have a resulting claim with one of the IDs in this list.
1463
1486
  # @param claim_creation_ids_ranked_sort [String] A list of Claim Creation IDs to show first.
@@ -1481,7 +1504,7 @@ module CandidApiClient
1481
1504
  # api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
1482
1505
  # api.charge_capture.v_1.get_all
1483
1506
  def get_all(limit: nil, sort: nil, sort_direction: nil, page_token: nil, patient_external_id: nil, status: nil,
1484
- charge_external_id: nil, date_of_service_min: nil, date_of_service_max: nil, claim_ids: nil, claim_creation_ids: nil, billing_provider_npis: nil, service_facility_name: nil, primary_payer_ids: nil, rendering_provider_npis: nil, rendering_provider_names: nil, supervising_provider_npis: nil, supervising_provider_names: nil, exclude_charges_linked_to_claims: nil, patient_external_id_ranked_sort: nil, status_ranked_sort: nil, charge_external_id_ranked_sort: nil, date_of_service_min_ranked_sort: nil, date_of_service_max_ranked_sort: nil, claim_ids_ranked_sort: nil, claim_creation_ids_ranked_sort: nil, billing_provider_npis_ranked_sort: nil, service_facility_name_ranked_sort: nil, primary_payer_ids_ranked_sort: nil, rendering_provider_npis_ranked_sort: nil, rendering_provider_names_ranked_sort: nil, supervising_provider_npis_ranked_sort: nil, supervising_provider_names_ranked_sort: nil, request_options: nil)
1507
+ charge_external_id: nil, date_of_service_min: nil, date_of_service_max: nil, claim_ids: nil, claim_creation_ids: nil, billing_provider_npis: nil, service_facility_name: nil, primary_payer_ids: nil, rendering_provider_npis: nil, rendering_provider_names: nil, supervising_provider_npis: nil, supervising_provider_names: nil, exclude_charges_linked_to_claims: nil, patient_external_id_ranked_sort: nil, status_ranked_sort: nil, charge_external_id_ranked_sort: nil, date_of_service_min_ranked_sort: nil, date_of_service_max_ranked_sort: nil, search_term: nil, billable_status: nil, responsible_party: nil, claim_ids_ranked_sort: nil, claim_creation_ids_ranked_sort: nil, billing_provider_npis_ranked_sort: nil, service_facility_name_ranked_sort: nil, primary_payer_ids_ranked_sort: nil, rendering_provider_npis_ranked_sort: nil, rendering_provider_names_ranked_sort: nil, supervising_provider_npis_ranked_sort: nil, supervising_provider_names_ranked_sort: nil, request_options: nil)
1485
1508
  Async do
1486
1509
  response = @request_client.conn.get do |req|
1487
1510
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -1517,6 +1540,9 @@ module CandidApiClient
1517
1540
  "charge_external_id_ranked_sort": charge_external_id_ranked_sort,
1518
1541
  "date_of_service_min_ranked_sort": date_of_service_min_ranked_sort,
1519
1542
  "date_of_service_max_ranked_sort": date_of_service_max_ranked_sort,
1543
+ "search_term": search_term,
1544
+ "billable_status": billable_status,
1545
+ "responsible_party": responsible_party,
1520
1546
  "claim_ids_ranked_sort": claim_ids_ranked_sort,
1521
1547
  "claim_creation_ids_ranked_sort": claim_creation_ids_ranked_sort,
1522
1548
  "billing_provider_npis_ranked_sort": billing_provider_npis_ranked_sort,
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CandidApiClient
4
+ module Commons
5
+ module Types
6
+ class NextResponsibleParty
7
+ PRIMARY = "primary"
8
+ SECONDARY = "secondary"
9
+ TERTIARY = "tertiary"
10
+ PATIENT = "patient"
11
+ NON_INSURANCE = "non_insurance"
12
+ NONE = "none"
13
+ end
14
+ end
15
+ end
16
+ end
@@ -115,7 +115,7 @@ module CandidApiClient
115
115
  # @param contracting_provider_id [String] The UUID of the provider under agreement to the contract
116
116
  # @param rendering_provider_ids [Set<String>] A rendering provider isn't contracted directly with the payer but can render
117
117
  # services under the contract held by the contracting provider.
118
- # Max items is 100.
118
+ # Max items is 1000.
119
119
  # @param payer_uuid [String] The UUID of the insurance company under agreement to the contract
120
120
  # @param request_options [CandidApiClient::RequestOptions]
121
121
  # @return [CandidApiClient::Contracts::V2::Types::ContractWithProviders]
@@ -181,7 +181,7 @@ module CandidApiClient
181
181
  # @param contract_id [String]
182
182
  # @param rendering_provider_ids [Set<String>] A rendering provider isn't contracted directly with the payer but can render
183
183
  # services under the contract held by the contracting provider.
184
- # Max items is 100.
184
+ # Max items is 1000.
185
185
  # @param effective_date [String] The starting day upon which the contract is effective
186
186
  # @param expiration_date [CandidApiClient::Contracts::V2::Types::DateUpdate] An optional end day upon which the contract expires
187
187
  # @param regions [CandidApiClient::Contracts::V2::Types::RegionsUpdate] If present, the contract's rendering providers will be patched to this exact
@@ -324,7 +324,7 @@ module CandidApiClient
324
324
  # @param contracting_provider_id [String] The UUID of the provider under agreement to the contract
325
325
  # @param rendering_provider_ids [Set<String>] A rendering provider isn't contracted directly with the payer but can render
326
326
  # services under the contract held by the contracting provider.
327
- # Max items is 100.
327
+ # Max items is 1000.
328
328
  # @param payer_uuid [String] The UUID of the insurance company under agreement to the contract
329
329
  # @param request_options [CandidApiClient::RequestOptions]
330
330
  # @return [CandidApiClient::Contracts::V2::Types::ContractWithProviders]
@@ -394,7 +394,7 @@ module CandidApiClient
394
394
  # @param contract_id [String]
395
395
  # @param rendering_provider_ids [Set<String>] A rendering provider isn't contracted directly with the payer but can render
396
396
  # services under the contract held by the contracting provider.
397
- # Max items is 100.
397
+ # Max items is 1000.
398
398
  # @param effective_date [String] The starting day upon which the contract is effective
399
399
  # @param expiration_date [CandidApiClient::Contracts::V2::Types::DateUpdate] An optional end day upon which the contract expires
400
400
  # @param regions [CandidApiClient::Contracts::V2::Types::RegionsUpdate] If present, the contract's rendering providers will be patched to this exact
@@ -539,6 +539,7 @@ module CandidApiClient
539
539
  # * :last_name (String)
540
540
  # * :organization_name (String)
541
541
  # * :test_results (Array<CandidApiClient::ServiceLines::V2::Types::TestResult>)
542
+ # * :note (String)
542
543
  # @param guarantor [Hash] Personal and contact info for the guarantor of the patient responsibility.Request of type CandidApiClient::Guarantor::V1::Types::GuarantorCreate, as a Hash
543
544
  # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumber>)
544
545
  # * :phone_consent (Boolean)
@@ -1735,6 +1736,7 @@ module CandidApiClient
1735
1736
  # * :last_name (String)
1736
1737
  # * :organization_name (String)
1737
1738
  # * :test_results (Array<CandidApiClient::ServiceLines::V2::Types::TestResult>)
1739
+ # * :note (String)
1738
1740
  # @param guarantor [Hash] Personal and contact info for the guarantor of the patient responsibility.Request of type CandidApiClient::Guarantor::V1::Types::GuarantorCreate, as a Hash
1739
1741
  # * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumber>)
1740
1742
  # * :phone_consent (Boolean)
@@ -21,6 +21,7 @@ require_relative "encounter_submission_origin_type"
21
21
  require_relative "../../../custom_schemas/v_1/types/schema_instance"
22
22
  require_relative "epsdt_referral"
23
23
  require_relative "claim_supplemental_information"
24
+ require_relative "../../../commons/types/next_responsible_party"
24
25
  require_relative "medication"
25
26
  require_relative "vitals"
26
27
  require_relative "intervention"
@@ -164,6 +165,9 @@ module CandidApiClient
164
165
  attr_reader :last_submitted_at
165
166
  # @return [DateTime] The date and time the encounter was created.
166
167
  attr_reader :created_at
168
+ # @return [CandidApiClient::Commons::Types::NextResponsibleParty] The party (payer, patient, etc.) responsible for the remainder of the balance on
169
+ # the claim.
170
+ attr_reader :next_responsible_party
167
171
  # @return [String] A client-specified unique ID to associate with this encounter;
168
172
  # for example, your internal encounter ID or a Dr. Chrono encounter ID.
169
173
  # This field should not contain PHI.
@@ -353,6 +357,8 @@ module CandidApiClient
353
357
  # identify the primary payer. This is required for certain states.
354
358
  # @param last_submitted_at [DateTime] The date and time the encounter was last submitted to a payer.
355
359
  # @param created_at [DateTime] The date and time the encounter was created.
360
+ # @param next_responsible_party [CandidApiClient::Commons::Types::NextResponsibleParty] The party (payer, patient, etc.) responsible for the remainder of the balance on
361
+ # the claim.
356
362
  # @param external_id [String] A client-specified unique ID to associate with this encounter;
357
363
  # for example, your internal encounter ID or a Dr. Chrono encounter ID.
358
364
  # This field should not contain PHI.
@@ -428,7 +434,7 @@ module CandidApiClient
428
434
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
429
435
  # @return [CandidApiClient::Encounters::V4::Types::Encounter]
430
436
  def initialize(encounter_id:, claims:, patient:, billing_provider:, rendering_provider:, service_facility:, responsible_party:, url:, diagnoses:, clinical_notes:, patient_histories:, patient_payments:, tags:, owner_of_next_action:, submission_origin:, schema_instances:, created_at:, external_id:, patient_authorized_release:, benefits_assigned_to_provider:, provider_accepts_assignment:, billable_status:, claim_creation_id: OMIT, patient_control_number: OMIT,
431
- guarantor: OMIT, referring_provider: OMIT, initial_referring_provider: OMIT, supervising_provider: OMIT, subscriber_primary: OMIT, subscriber_secondary: OMIT, subscriber_tertiary: 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, epsdt_referral: OMIT, claim_supplemental_information: OMIT, secondary_payer_carrier_code: 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)
437
+ guarantor: OMIT, referring_provider: OMIT, initial_referring_provider: OMIT, supervising_provider: OMIT, subscriber_primary: OMIT, subscriber_secondary: OMIT, subscriber_tertiary: 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, epsdt_referral: OMIT, claim_supplemental_information: OMIT, secondary_payer_carrier_code: OMIT, last_submitted_at: OMIT, next_responsible_party: 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)
432
438
  @claim_creation_id = claim_creation_id if claim_creation_id != OMIT
433
439
  @patient_control_number = patient_control_number if patient_control_number != OMIT
434
440
  @encounter_id = encounter_id
@@ -471,6 +477,7 @@ module CandidApiClient
471
477
  @secondary_payer_carrier_code = secondary_payer_carrier_code if secondary_payer_carrier_code != OMIT
472
478
  @last_submitted_at = last_submitted_at if last_submitted_at != OMIT
473
479
  @created_at = created_at
480
+ @next_responsible_party = next_responsible_party if next_responsible_party != OMIT
474
481
  @external_id = external_id
475
482
  @date_of_service = date_of_service if date_of_service != OMIT
476
483
  @end_date_of_service = end_date_of_service if end_date_of_service != OMIT
@@ -535,6 +542,7 @@ module CandidApiClient
535
542
  "secondary_payer_carrier_code": secondary_payer_carrier_code,
536
543
  "last_submitted_at": last_submitted_at,
537
544
  "created_at": created_at,
545
+ "next_responsible_party": next_responsible_party,
538
546
  "external_id": external_id,
539
547
  "date_of_service": date_of_service,
540
548
  "end_date_of_service": end_date_of_service,
@@ -696,6 +704,7 @@ module CandidApiClient
696
704
  DateTime.parse(parsed_json["last_submitted_at"])
697
705
  end
698
706
  created_at = (DateTime.parse(parsed_json["created_at"]) unless parsed_json["created_at"].nil?)
707
+ next_responsible_party = struct["next_responsible_party"]
699
708
  external_id = struct["external_id"]
700
709
  date_of_service = (Date.parse(parsed_json["date_of_service"]) unless parsed_json["date_of_service"].nil?)
701
710
  end_date_of_service = unless parsed_json["end_date_of_service"].nil?
@@ -777,6 +786,7 @@ module CandidApiClient
777
786
  secondary_payer_carrier_code: secondary_payer_carrier_code,
778
787
  last_submitted_at: last_submitted_at,
779
788
  created_at: created_at,
789
+ next_responsible_party: next_responsible_party,
780
790
  external_id: external_id,
781
791
  date_of_service: date_of_service,
782
792
  end_date_of_service: end_date_of_service,
@@ -853,6 +863,7 @@ module CandidApiClient
853
863
  obj.secondary_payer_carrier_code&.is_a?(String) != false || raise("Passed value for field obj.secondary_payer_carrier_code is not the expected type, validation failed.")
854
864
  obj.last_submitted_at&.is_a?(DateTime) != false || raise("Passed value for field obj.last_submitted_at is not the expected type, validation failed.")
855
865
  obj.created_at.is_a?(DateTime) != false || raise("Passed value for field obj.created_at is not the expected type, validation failed.")
866
+ obj.next_responsible_party&.is_a?(CandidApiClient::Commons::Types::NextResponsibleParty) != false || raise("Passed value for field obj.next_responsible_party is not the expected type, validation failed.")
856
867
  obj.external_id.is_a?(String) != false || raise("Passed value for field obj.external_id is not the expected type, validation failed.")
857
868
  obj.date_of_service&.is_a?(Date) != false || raise("Passed value for field obj.date_of_service is not the expected type, validation failed.")
858
869
  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.")
@@ -103,6 +103,7 @@ module CandidApiClient
103
103
  SLP_CF = "SLP-CF"
104
104
  NP_C = "NP-C"
105
105
  PA_C = "PA-C"
106
+ AMFT = "AMFT"
106
107
  end
107
108
  end
108
109
  end
@@ -61,6 +61,7 @@ module CandidApiClient
61
61
  # * :test_results (Array<CandidApiClient::ServiceLines::V2::Types::TestResult>)
62
62
  # * :has_epsdt_indicator (Boolean)
63
63
  # * :has_family_planning_indicator (Boolean)
64
+ # * :note (String)
64
65
  # @param request_options [CandidApiClient::RequestOptions]
65
66
  # @return [CandidApiClient::ServiceLines::V2::Types::ServiceLine]
66
67
  # @example
@@ -112,6 +113,7 @@ module CandidApiClient
112
113
  # * :test_results (Array<CandidApiClient::ServiceLines::V2::Types::TestResult>)
113
114
  # * :has_epsdt_indicator (Boolean)
114
115
  # * :has_family_planning_indicator (Boolean)
116
+ # * :note (String)
115
117
  # @param request_options [CandidApiClient::RequestOptions]
116
118
  # @return [CandidApiClient::ServiceLines::V2::Types::ServiceLine]
117
119
  # @example
@@ -206,6 +208,7 @@ module CandidApiClient
206
208
  # * :test_results (Array<CandidApiClient::ServiceLines::V2::Types::TestResult>)
207
209
  # * :has_epsdt_indicator (Boolean)
208
210
  # * :has_family_planning_indicator (Boolean)
211
+ # * :note (String)
209
212
  # @param request_options [CandidApiClient::RequestOptions]
210
213
  # @return [CandidApiClient::ServiceLines::V2::Types::ServiceLine]
211
214
  # @example
@@ -259,6 +262,7 @@ module CandidApiClient
259
262
  # * :test_results (Array<CandidApiClient::ServiceLines::V2::Types::TestResult>)
260
263
  # * :has_epsdt_indicator (Boolean)
261
264
  # * :has_family_planning_indicator (Boolean)
265
+ # * :note (String)
262
266
  # @param request_options [CandidApiClient::RequestOptions]
263
267
  # @return [CandidApiClient::ServiceLines::V2::Types::ServiceLine]
264
268
  # @example
@@ -112,6 +112,8 @@ module CandidApiClient
112
112
  # If the value is true, the box will be populated with "Y". Otherwise, the box
113
113
  # will not be populated.
114
114
  attr_reader :has_family_planning_indicator
115
+ # @return [String] Maps to NTE02 loop 2400 on the EDI 837.
116
+ attr_reader :note
115
117
  # @return [OpenStruct] Additional properties unmapped to the current class definition
116
118
  attr_reader :additional_properties
117
119
  # @return [Object]
@@ -172,10 +174,11 @@ module CandidApiClient
172
174
  # @param has_family_planning_indicator [Boolean] Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500.
173
175
  # If the value is true, the box will be populated with "Y". Otherwise, the box
174
176
  # will not be populated.
177
+ # @param note [String] Maps to NTE02 loop 2400 on the EDI 837.
175
178
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
176
179
  # @return [CandidApiClient::ServiceLines::V2::Types::ServiceLine]
177
180
  def initialize(created_at:, service_line_id:, procedure_code:, quantity:, units:, claim_id:, date_of_service_range:, date_of_service:, modifiers: OMIT, charge_amount_cents: OMIT, allowed_amount_cents: OMIT,
178
- insurance_balance_cents: OMIT, patient_balance_cents: OMIT, paid_amount_cents: OMIT, primary_paid_amount_cents: OMIT, secondary_paid_amount_cents: OMIT, tertiary_paid_amount_cents: OMIT, patient_responsibility_cents: OMIT, copay_cents: OMIT, coinsurance_cents: OMIT, deductible_cents: OMIT, diagnosis_id_zero: OMIT, diagnosis_id_one: OMIT, diagnosis_id_two: OMIT, diagnosis_id_three: OMIT, drug_identification: OMIT, service_line_era_data: OMIT, service_line_manual_adjustments: OMIT, related_invoices: OMIT, related_invoice_info: OMIT, denial_reason: OMIT, place_of_service_code: OMIT, place_of_service_code_as_submitted: OMIT, ordering_provider: OMIT, description: OMIT, end_date_of_service: OMIT, test_results: OMIT, has_epsdt_indicator: OMIT, has_family_planning_indicator: OMIT, additional_properties: nil)
181
+ insurance_balance_cents: OMIT, patient_balance_cents: OMIT, paid_amount_cents: OMIT, primary_paid_amount_cents: OMIT, secondary_paid_amount_cents: OMIT, tertiary_paid_amount_cents: OMIT, patient_responsibility_cents: OMIT, copay_cents: OMIT, coinsurance_cents: OMIT, deductible_cents: OMIT, diagnosis_id_zero: OMIT, diagnosis_id_one: OMIT, diagnosis_id_two: OMIT, diagnosis_id_three: OMIT, drug_identification: OMIT, service_line_era_data: OMIT, service_line_manual_adjustments: OMIT, related_invoices: OMIT, related_invoice_info: OMIT, denial_reason: OMIT, place_of_service_code: OMIT, place_of_service_code_as_submitted: OMIT, ordering_provider: OMIT, description: OMIT, end_date_of_service: OMIT, test_results: OMIT, has_epsdt_indicator: OMIT, has_family_planning_indicator: OMIT, note: OMIT, additional_properties: nil)
179
182
  @created_at = created_at
180
183
  @modifiers = modifiers if modifiers != OMIT
181
184
  @charge_amount_cents = charge_amount_cents if charge_amount_cents != OMIT
@@ -219,6 +222,7 @@ module CandidApiClient
219
222
  @test_results = test_results if test_results != OMIT
220
223
  @has_epsdt_indicator = has_epsdt_indicator if has_epsdt_indicator != OMIT
221
224
  @has_family_planning_indicator = has_family_planning_indicator if has_family_planning_indicator != OMIT
225
+ @note = note if note != OMIT
222
226
  @additional_properties = additional_properties
223
227
  @_field_set = {
224
228
  "created_at": created_at,
@@ -259,7 +263,8 @@ module CandidApiClient
259
263
  "end_date_of_service": end_date_of_service,
260
264
  "test_results": test_results,
261
265
  "has_epsdt_indicator": has_epsdt_indicator,
262
- "has_family_planning_indicator": has_family_planning_indicator
266
+ "has_family_planning_indicator": has_family_planning_indicator,
267
+ "note": note
263
268
  }.reject do |_k, v|
264
269
  v == OMIT
265
270
  end
@@ -350,6 +355,7 @@ module CandidApiClient
350
355
  end
351
356
  has_epsdt_indicator = struct["has_epsdt_indicator"]
352
357
  has_family_planning_indicator = struct["has_family_planning_indicator"]
358
+ note = struct["note"]
353
359
  new(
354
360
  created_at: created_at,
355
361
  modifiers: modifiers,
@@ -390,6 +396,7 @@ module CandidApiClient
390
396
  test_results: test_results,
391
397
  has_epsdt_indicator: has_epsdt_indicator,
392
398
  has_family_planning_indicator: has_family_planning_indicator,
399
+ note: note,
393
400
  additional_properties: struct
394
401
  )
395
402
  end
@@ -447,6 +454,7 @@ module CandidApiClient
447
454
  obj.test_results&.is_a?(Array) != false || raise("Passed value for field obj.test_results is not the expected type, validation failed.")
448
455
  obj.has_epsdt_indicator&.is_a?(Boolean) != false || raise("Passed value for field obj.has_epsdt_indicator is not the expected type, validation failed.")
449
456
  obj.has_family_planning_indicator&.is_a?(Boolean) != false || raise("Passed value for field obj.has_family_planning_indicator is not the expected type, validation failed.")
457
+ obj.note&.is_a?(String) != false || raise("Passed value for field obj.note is not the expected type, validation failed.")
450
458
  end
451
459
  end
452
460
  end
@@ -63,6 +63,8 @@ module CandidApiClient
63
63
  # 837-P (ex: Hemoglobin, Hematocrit).
64
64
  # No more than 5 MEA-02 test results may be submitted per service line.
65
65
  attr_reader :test_results
66
+ # @return [String] Maps to NTE02 loop 2400 on the EDI 837.
67
+ attr_reader :note
66
68
  # @return [OpenStruct] Additional properties unmapped to the current class definition
67
69
  attr_reader :additional_properties
68
70
  # @return [Object]
@@ -104,10 +106,11 @@ module CandidApiClient
104
106
  # @param test_results [Array<CandidApiClient::ServiceLines::V2::Types::TestResult>] Contains a list of test results. Test result types may map to MEA-02 on the
105
107
  # 837-P (ex: Hemoglobin, Hematocrit).
106
108
  # No more than 5 MEA-02 test results may be submitted per service line.
109
+ # @param note [String] Maps to NTE02 loop 2400 on the EDI 837.
107
110
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
108
111
  # @return [CandidApiClient::ServiceLines::V2::Types::ServiceLineCreate]
109
112
  def initialize(procedure_code:, quantity:, units:, diagnosis_pointers:, modifiers: OMIT,
110
- has_epsdt_indicator: OMIT, has_family_planning_indicator: OMIT, charge_amount_cents: OMIT, drug_identification: OMIT, place_of_service_code: OMIT, description: OMIT, date_of_service: OMIT, end_date_of_service: OMIT, ordering_provider: OMIT, test_results: OMIT, additional_properties: nil)
113
+ has_epsdt_indicator: OMIT, has_family_planning_indicator: OMIT, charge_amount_cents: OMIT, drug_identification: OMIT, place_of_service_code: OMIT, description: OMIT, date_of_service: OMIT, end_date_of_service: OMIT, ordering_provider: OMIT, test_results: OMIT, note: OMIT, additional_properties: nil)
111
114
  @modifiers = modifiers if modifiers != OMIT
112
115
  @has_epsdt_indicator = has_epsdt_indicator if has_epsdt_indicator != OMIT
113
116
  @has_family_planning_indicator = has_family_planning_indicator if has_family_planning_indicator != OMIT
@@ -123,6 +126,7 @@ module CandidApiClient
123
126
  @end_date_of_service = end_date_of_service if end_date_of_service != OMIT
124
127
  @ordering_provider = ordering_provider if ordering_provider != OMIT
125
128
  @test_results = test_results if test_results != OMIT
129
+ @note = note if note != OMIT
126
130
  @additional_properties = additional_properties
127
131
  @_field_set = {
128
132
  "modifiers": modifiers,
@@ -139,7 +143,8 @@ module CandidApiClient
139
143
  "date_of_service": date_of_service,
140
144
  "end_date_of_service": end_date_of_service,
141
145
  "ordering_provider": ordering_provider,
142
- "test_results": test_results
146
+ "test_results": test_results,
147
+ "note": note
143
148
  }.reject do |_k, v|
144
149
  v == OMIT
145
150
  end
@@ -182,6 +187,7 @@ module CandidApiClient
182
187
  item = item.to_json
183
188
  CandidApiClient::ServiceLines::V2::Types::TestResult.from_json(json_object: item)
184
189
  end
190
+ note = struct["note"]
185
191
  new(
186
192
  modifiers: modifiers,
187
193
  has_epsdt_indicator: has_epsdt_indicator,
@@ -198,6 +204,7 @@ module CandidApiClient
198
204
  end_date_of_service: end_date_of_service,
199
205
  ordering_provider: ordering_provider,
200
206
  test_results: test_results,
207
+ note: note,
201
208
  additional_properties: struct
202
209
  )
203
210
  end
@@ -231,6 +238,7 @@ module CandidApiClient
231
238
  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.")
232
239
  obj.ordering_provider.nil? || CandidApiClient::EncounterProviders::V2::Types::OrderingProvider.validate_raw(obj: obj.ordering_provider)
233
240
  obj.test_results&.is_a?(Array) != false || raise("Passed value for field obj.test_results is not the expected type, validation failed.")
241
+ obj.note&.is_a?(String) != false || raise("Passed value for field obj.note is not the expected type, validation failed.")
234
242
  end
235
243
  end
236
244
  end
@@ -63,6 +63,8 @@ module CandidApiClient
63
63
  # 837-P (ex: Hemoglobin, Hematocrit).
64
64
  # No more than 5 MEA-02 test results may be submitted per service line.
65
65
  attr_reader :test_results
66
+ # @return [String] Maps to NTE02 loop 2400 on the EDI 837.
67
+ attr_reader :note
66
68
  # @return [OpenStruct] Additional properties unmapped to the current class definition
67
69
  attr_reader :additional_properties
68
70
  # @return [Object]
@@ -104,10 +106,11 @@ module CandidApiClient
104
106
  # @param test_results [Array<CandidApiClient::ServiceLines::V2::Types::TestResultOptional>] Contains a list of test results. Test result types may map to MEA-02 on the
105
107
  # 837-P (ex: Hemoglobin, Hematocrit).
106
108
  # No more than 5 MEA-02 test results may be submitted per service line.
109
+ # @param note [String] Maps to NTE02 loop 2400 on the EDI 837.
107
110
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
108
111
  # @return [CandidApiClient::ServiceLines::V2::Types::ServiceLineCreateOptional]
109
112
  def initialize(modifiers: OMIT, has_epsdt_indicator: OMIT, has_family_planning_indicator: OMIT,
110
- procedure_code: OMIT, quantity: OMIT, units: OMIT, charge_amount_cents: OMIT, diagnosis_pointers: OMIT, drug_identification: OMIT, place_of_service_code: OMIT, description: OMIT, date_of_service: OMIT, end_date_of_service: OMIT, ordering_provider: OMIT, test_results: OMIT, additional_properties: nil)
113
+ procedure_code: OMIT, quantity: OMIT, units: OMIT, charge_amount_cents: OMIT, diagnosis_pointers: OMIT, drug_identification: OMIT, place_of_service_code: OMIT, description: OMIT, date_of_service: OMIT, end_date_of_service: OMIT, ordering_provider: OMIT, test_results: OMIT, note: OMIT, additional_properties: nil)
111
114
  @modifiers = modifiers if modifiers != OMIT
112
115
  @has_epsdt_indicator = has_epsdt_indicator if has_epsdt_indicator != OMIT
113
116
  @has_family_planning_indicator = has_family_planning_indicator if has_family_planning_indicator != OMIT
@@ -123,6 +126,7 @@ module CandidApiClient
123
126
  @end_date_of_service = end_date_of_service if end_date_of_service != OMIT
124
127
  @ordering_provider = ordering_provider if ordering_provider != OMIT
125
128
  @test_results = test_results if test_results != OMIT
129
+ @note = note if note != OMIT
126
130
  @additional_properties = additional_properties
127
131
  @_field_set = {
128
132
  "modifiers": modifiers,
@@ -139,7 +143,8 @@ module CandidApiClient
139
143
  "date_of_service": date_of_service,
140
144
  "end_date_of_service": end_date_of_service,
141
145
  "ordering_provider": ordering_provider,
142
- "test_results": test_results
146
+ "test_results": test_results,
147
+ "note": note
143
148
  }.reject do |_k, v|
144
149
  v == OMIT
145
150
  end
@@ -182,6 +187,7 @@ module CandidApiClient
182
187
  item = item.to_json
183
188
  CandidApiClient::ServiceLines::V2::Types::TestResultOptional.from_json(json_object: item)
184
189
  end
190
+ note = struct["note"]
185
191
  new(
186
192
  modifiers: modifiers,
187
193
  has_epsdt_indicator: has_epsdt_indicator,
@@ -198,6 +204,7 @@ module CandidApiClient
198
204
  end_date_of_service: end_date_of_service,
199
205
  ordering_provider: ordering_provider,
200
206
  test_results: test_results,
207
+ note: note,
201
208
  additional_properties: struct
202
209
  )
203
210
  end
@@ -231,6 +238,7 @@ module CandidApiClient
231
238
  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.")
232
239
  obj.ordering_provider.nil? || CandidApiClient::EncounterProviders::V2::Types::OrderingProviderOptional.validate_raw(obj: obj.ordering_provider)
233
240
  obj.test_results&.is_a?(Array) != false || raise("Passed value for field obj.test_results is not the expected type, validation failed.")
241
+ obj.note&.is_a?(String) != false || raise("Passed value for field obj.note is not the expected type, validation failed.")
234
242
  end
235
243
  end
236
244
  end
@@ -74,6 +74,8 @@ module CandidApiClient
74
74
  # If the value is true, the box will be populated with "Y". Otherwise, the box
75
75
  # will not be populated.
76
76
  attr_reader :has_family_planning_indicator
77
+ # @return [String] Maps to NTE02 loop 2400 on the EDI 837.
78
+ attr_reader :note
77
79
  # @return [OpenStruct] Additional properties unmapped to the current class definition
78
80
  attr_reader :additional_properties
79
81
  # @return [Object]
@@ -120,10 +122,11 @@ module CandidApiClient
120
122
  # @param has_family_planning_indicator [Boolean] Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500.
121
123
  # If the value is true, the box will be populated with "Y". Otherwise, the box
122
124
  # will not be populated.
125
+ # @param note [String] Maps to NTE02 loop 2400 on the EDI 837.
123
126
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
124
127
  # @return [CandidApiClient::ServiceLines::V2::Types::ServiceLineCreateStandalone]
125
128
  def initialize(procedure_code:, quantity:, units:, claim_id:, modifiers: OMIT, charge_amount_cents: OMIT, diagnosis_id_zero: OMIT, diagnosis_id_one: OMIT,
126
- diagnosis_id_two: OMIT, diagnosis_id_three: OMIT, denial_reason: OMIT, place_of_service_code: OMIT, description: OMIT, date_of_service: OMIT, end_date_of_service: OMIT, drug_identification: OMIT, ordering_provider: OMIT, test_results: OMIT, has_epsdt_indicator: OMIT, has_family_planning_indicator: OMIT, additional_properties: nil)
129
+ diagnosis_id_two: OMIT, diagnosis_id_three: OMIT, denial_reason: OMIT, place_of_service_code: OMIT, description: OMIT, date_of_service: OMIT, end_date_of_service: OMIT, drug_identification: OMIT, ordering_provider: OMIT, test_results: OMIT, has_epsdt_indicator: OMIT, has_family_planning_indicator: OMIT, note: OMIT, additional_properties: nil)
127
130
  @modifiers = modifiers if modifiers != OMIT
128
131
  @charge_amount_cents = charge_amount_cents if charge_amount_cents != OMIT
129
132
  @diagnosis_id_zero = diagnosis_id_zero if diagnosis_id_zero != OMIT
@@ -144,6 +147,7 @@ module CandidApiClient
144
147
  @test_results = test_results if test_results != OMIT
145
148
  @has_epsdt_indicator = has_epsdt_indicator if has_epsdt_indicator != OMIT
146
149
  @has_family_planning_indicator = has_family_planning_indicator if has_family_planning_indicator != OMIT
150
+ @note = note if note != OMIT
147
151
  @additional_properties = additional_properties
148
152
  @_field_set = {
149
153
  "modifiers": modifiers,
@@ -165,7 +169,8 @@ module CandidApiClient
165
169
  "ordering_provider": ordering_provider,
166
170
  "test_results": test_results,
167
171
  "has_epsdt_indicator": has_epsdt_indicator,
168
- "has_family_planning_indicator": has_family_planning_indicator
172
+ "has_family_planning_indicator": has_family_planning_indicator,
173
+ "note": note
169
174
  }.reject do |_k, v|
170
175
  v == OMIT
171
176
  end
@@ -218,6 +223,7 @@ module CandidApiClient
218
223
  end
219
224
  has_epsdt_indicator = struct["has_epsdt_indicator"]
220
225
  has_family_planning_indicator = struct["has_family_planning_indicator"]
226
+ note = struct["note"]
221
227
  new(
222
228
  modifiers: modifiers,
223
229
  charge_amount_cents: charge_amount_cents,
@@ -239,6 +245,7 @@ module CandidApiClient
239
245
  test_results: test_results,
240
246
  has_epsdt_indicator: has_epsdt_indicator,
241
247
  has_family_planning_indicator: has_family_planning_indicator,
248
+ note: note,
242
249
  additional_properties: struct
243
250
  )
244
251
  end
@@ -277,6 +284,7 @@ module CandidApiClient
277
284
  obj.test_results&.is_a?(Array) != false || raise("Passed value for field obj.test_results is not the expected type, validation failed.")
278
285
  obj.has_epsdt_indicator&.is_a?(Boolean) != false || raise("Passed value for field obj.has_epsdt_indicator is not the expected type, validation failed.")
279
286
  obj.has_family_planning_indicator&.is_a?(Boolean) != false || raise("Passed value for field obj.has_family_planning_indicator is not the expected type, validation failed.")
287
+ obj.note&.is_a?(String) != false || raise("Passed value for field obj.note is not the expected type, validation failed.")
280
288
  end
281
289
  end
282
290
  end
@@ -74,6 +74,8 @@ module CandidApiClient
74
74
  # If the value is true, the box will be populated with "Y". Otherwise, the box
75
75
  # will not be populated.
76
76
  attr_reader :has_family_planning_indicator
77
+ # @return [String] Maps to NTE02 loop 2400 on the EDI 837.
78
+ attr_reader :note
77
79
  # @return [OpenStruct] Additional properties unmapped to the current class definition
78
80
  attr_reader :additional_properties
79
81
  # @return [Object]
@@ -122,10 +124,11 @@ module CandidApiClient
122
124
  # @param has_family_planning_indicator [Boolean] Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500.
123
125
  # If the value is true, the box will be populated with "Y". Otherwise, the box
124
126
  # will not be populated.
127
+ # @param note [String] Maps to NTE02 loop 2400 on the EDI 837.
125
128
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
126
129
  # @return [CandidApiClient::ServiceLines::V2::Types::ServiceLineUpdate]
127
130
  def initialize(edit_reason: OMIT, modifiers: OMIT, charge_amount_cents: OMIT, diagnosis_id_zero: OMIT,
128
- diagnosis_id_one: OMIT, diagnosis_id_two: OMIT, diagnosis_id_three: OMIT, drug_identification: OMIT, denial_reason: OMIT, place_of_service_code: OMIT, units: OMIT, procedure_code: OMIT, quantity: OMIT, description: OMIT, date_of_service: OMIT, end_date_of_service: OMIT, test_results: OMIT, has_epsdt_indicator: OMIT, has_family_planning_indicator: OMIT, additional_properties: nil)
131
+ diagnosis_id_one: OMIT, diagnosis_id_two: OMIT, diagnosis_id_three: OMIT, drug_identification: OMIT, denial_reason: OMIT, place_of_service_code: OMIT, units: OMIT, procedure_code: OMIT, quantity: OMIT, description: OMIT, date_of_service: OMIT, end_date_of_service: OMIT, test_results: OMIT, has_epsdt_indicator: OMIT, has_family_planning_indicator: OMIT, note: OMIT, additional_properties: nil)
129
132
  @edit_reason = edit_reason if edit_reason != OMIT
130
133
  @modifiers = modifiers if modifiers != OMIT
131
134
  @charge_amount_cents = charge_amount_cents if charge_amount_cents != OMIT
@@ -145,6 +148,7 @@ module CandidApiClient
145
148
  @test_results = test_results if test_results != OMIT
146
149
  @has_epsdt_indicator = has_epsdt_indicator if has_epsdt_indicator != OMIT
147
150
  @has_family_planning_indicator = has_family_planning_indicator if has_family_planning_indicator != OMIT
151
+ @note = note if note != OMIT
148
152
  @additional_properties = additional_properties
149
153
  @_field_set = {
150
154
  "edit_reason": edit_reason,
@@ -165,7 +169,8 @@ module CandidApiClient
165
169
  "end_date_of_service": end_date_of_service,
166
170
  "test_results": test_results,
167
171
  "has_epsdt_indicator": has_epsdt_indicator,
168
- "has_family_planning_indicator": has_family_planning_indicator
172
+ "has_family_planning_indicator": has_family_planning_indicator,
173
+ "note": note
169
174
  }.reject do |_k, v|
170
175
  v == OMIT
171
176
  end
@@ -212,6 +217,7 @@ module CandidApiClient
212
217
  end
213
218
  has_epsdt_indicator = struct["has_epsdt_indicator"]
214
219
  has_family_planning_indicator = struct["has_family_planning_indicator"]
220
+ note = struct["note"]
215
221
  new(
216
222
  edit_reason: edit_reason,
217
223
  modifiers: modifiers,
@@ -232,6 +238,7 @@ module CandidApiClient
232
238
  test_results: test_results,
233
239
  has_epsdt_indicator: has_epsdt_indicator,
234
240
  has_family_planning_indicator: has_family_planning_indicator,
241
+ note: note,
235
242
  additional_properties: struct
236
243
  )
237
244
  end
@@ -269,6 +276,7 @@ module CandidApiClient
269
276
  obj.test_results&.is_a?(Array) != false || raise("Passed value for field obj.test_results is not the expected type, validation failed.")
270
277
  obj.has_epsdt_indicator&.is_a?(Boolean) != false || raise("Passed value for field obj.has_epsdt_indicator is not the expected type, validation failed.")
271
278
  obj.has_family_planning_indicator&.is_a?(Boolean) != false || raise("Passed value for field obj.has_family_planning_indicator is not the expected type, validation failed.")
279
+ obj.note&.is_a?(String) != false || raise("Passed value for field obj.note is not the expected type, validation failed.")
272
280
  end
273
281
  end
274
282
  end
data/lib/requests.rb CHANGED
@@ -45,7 +45,7 @@ module CandidApiClient
45
45
 
46
46
  # @return [Hash{String => String}]
47
47
  def get_headers
48
- headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0" }
48
+ headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.1" }
49
49
  headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
50
50
  headers
51
51
  end
@@ -90,7 +90,7 @@ module CandidApiClient
90
90
 
91
91
  # @return [Hash{String => String}]
92
92
  def get_headers
93
- headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0" }
93
+ headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.1" }
94
94
  headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
95
95
  headers
96
96
  end
data/lib/types_export.rb CHANGED
@@ -458,6 +458,7 @@ require_relative "candidhealth/commons/types/delay_reason_code"
458
458
  require_relative "candidhealth/commons/types/intended_submission_medium"
459
459
  require_relative "candidhealth/commons/types/billing_provider_commercial_license_type"
460
460
  require_relative "candidhealth/commons/types/epsdt_referral_condition_indicator_code"
461
+ require_relative "candidhealth/commons/types/next_responsible_party"
461
462
  require_relative "candidhealth/diagnoses/types/diagnosis_create_optional"
462
463
  require_relative "candidhealth/diagnoses/types/diagnosis_create"
463
464
  require_relative "candidhealth/diagnoses/types/standalone_diagnosis_create"
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: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-06-20 00:00:00.000000000 Z
11
+ date: 2025-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async-http-faraday
@@ -182,6 +182,7 @@ files:
182
182
  - lib/candidhealth/commons/types/insurance_type_code.rb
183
183
  - lib/candidhealth/commons/types/intended_submission_medium.rb
184
184
  - lib/candidhealth/commons/types/network_type.rb
185
+ - lib/candidhealth/commons/types/next_responsible_party.rb
185
186
  - lib/candidhealth/commons/types/organization_not_authorized_error_message.rb
186
187
  - lib/candidhealth/commons/types/patient_relationship_to_insured_code_all.rb
187
188
  - lib/candidhealth/commons/types/phone_number.rb