candidhealth 1.17.3 → 1.17.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 014caa83a47bf64c4618f1cf66a2a0b0e219dbe9d0af23552ebbe5be320a2a2c
4
- data.tar.gz: bff5822110009fa07cc4874310266df9eb03e626a2764ea7db67b228bcbd4ae3
3
+ metadata.gz: c907e57fe09a7b163e6d44585d2a69376f204983c85d43dd26220149a6694d0f
4
+ data.tar.gz: 58cd71bf71c30d23255b0d81e41a2fe8c5a35d53679e4c8223887a960bcbc37a
5
5
  SHA512:
6
- metadata.gz: ed9c09b1a00b8f6c625c687fed22fdc5fb744526a6f6f2f353ecadb15d7f9794afbf6c9a4af436220e9153281fa8009113eb1e8204489cc722cc10fef82faaff
7
- data.tar.gz: dafcfbcb4fcfb29b5858e8f8da4a1015f4265b252731654bc87cb248179d166ed598e3c76935943d0f6e7832754b83a15fe944f1b9adc7f9456a4a7087d271d6
6
+ metadata.gz: 2fe6caaa6612e74c1a87a0e258e38e156f3b9ae297def9cde43e31adaee5a96ab6cccf331029cee82fda77be2995ea447e8f57d65f587b056299d636d380660e
7
+ data.tar.gz: cf1b2956b8919f0adc773ace5820d11453924fa54af5c1d3a4fbcf81948a913ab641f66ef4a976d3487e5370e983cdef59f74cdf7703e97279947712dcfa7629
data/lib/candid/client.rb CHANGED
@@ -7,7 +7,7 @@ module Candid
7
7
  @raw_client = Candid::Internal::Http::RawClient.new(
8
8
  base_url: base_url,
9
9
  headers: {
10
- "User-Agent": "candidhealth/1.17.3",
10
+ "User-Agent": "candidhealth/1.17.4",
11
11
  "X-Fern-Language": "Ruby"
12
12
  }
13
13
  )
@@ -6,6 +6,7 @@ module Candid
6
6
  class Allocation < Internal::Types::Model
7
7
  field :amount_cents, -> { Integer }, optional: false, nullable: false
8
8
  field :target, -> { Candid::Financials::Types::AllocationTarget }, optional: false, nullable: false
9
+ field :earmark, -> { Candid::Financials::Types::BalanceEarmark }, optional: true, nullable: false
9
10
  end
10
11
  end
11
12
  end
@@ -3,8 +3,8 @@
3
3
  module Candid
4
4
  module Financials
5
5
  module Types
6
- # CURRENTLY UNIMPLEMENTED - Defines how a patient prepayment allocation should be earmarked for future auto-allocation.
7
- # When implemented, earmarks will hold the allocation until a matching encounter is created, then attempt to allocate to that encounter.
6
+ # If enabled for your organization, defines how a patient prepayment allocation should be earmarked for future auto-allocation.
7
+ # Earmarks hold the allocation until a matching encounter is created, then attempt to allocate to that encounter.
8
8
  # Only applicable for unattributed allocations.
9
9
  class AllocationEarmarkType < Internal::Types::Model
10
10
  extend Candid::Internal::Types::Union
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Candid
4
+ module Financials
5
+ module Types
6
+ # Represents an active balance earmarking record that holds allocated funds for future auto-allocation.
7
+ # Earmarks are created when funds are allocated but should be held for a specific encounter or date of service.
8
+ # Only active (non-deleted) earmarks are returned.
9
+ class BalanceEarmark < Internal::Types::Model
10
+ field :id, -> { String }, optional: false, nullable: false
11
+ field :target, -> { Candid::Financials::Types::AllocationEarmarkType }, optional: false, nullable: false
12
+ end
13
+ end
14
+ end
15
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Candid
4
- VERSION = "1.17.3"
4
+ VERSION = "1.17.4"
5
5
  end
data/lib/candid.rb CHANGED
@@ -467,11 +467,12 @@ require_relative "candid/financials/types/claim_allocation_target"
467
467
  require_relative "candid/financials/types/billing_provider_allocation_target"
468
468
  require_relative "candid/financials/types/appointment_allocation_target"
469
469
  require_relative "candid/financials/types/allocation_target"
470
+ require_relative "candid/financials/types/allocation_earmark_type"
471
+ require_relative "candid/financials/types/balance_earmark"
470
472
  require_relative "candid/financials/types/allocation"
471
473
  require_relative "candid/insurance_refunds/v_1/types/insurance_refund"
472
474
  require_relative "candid/payers/v_3/types/payer_info"
473
475
  require_relative "candid/payers/v_3/types/payer_identifier"
474
- require_relative "candid/financials/types/allocation_earmark_type"
475
476
  require_relative "candid/financials/types/appointment_by_id_and_patient_external_id"
476
477
  require_relative "candid/financials/types/allocation_target_create"
477
478
  require_relative "candid/financials/types/allocation_create"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: candidhealth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.3
4
+ version: 1.17.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Candid
@@ -365,6 +365,7 @@ files:
365
365
  - lib/candid/financials/types/allocation_target_create.rb
366
366
  - lib/candid/financials/types/appointment_allocation_target.rb
367
367
  - lib/candid/financials/types/appointment_by_id_and_patient_external_id.rb
368
+ - lib/candid/financials/types/balance_earmark.rb
368
369
  - lib/candid/financials/types/billing_provider_allocation_target.rb
369
370
  - lib/candid/financials/types/claim_allocation_target.rb
370
371
  - lib/candid/financials/types/invoice_update.rb