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 +4 -4
- data/lib/candid/client.rb +1 -1
- data/lib/candid/financials/types/allocation.rb +1 -0
- data/lib/candid/financials/types/allocation_earmark_type.rb +2 -2
- data/lib/candid/financials/types/balance_earmark.rb +15 -0
- data/lib/candid/version.rb +1 -1
- data/lib/candid.rb +2 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c907e57fe09a7b163e6d44585d2a69376f204983c85d43dd26220149a6694d0f
|
|
4
|
+
data.tar.gz: 58cd71bf71c30d23255b0d81e41a2fe8c5a35d53679e4c8223887a960bcbc37a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2fe6caaa6612e74c1a87a0e258e38e156f3b9ae297def9cde43e31adaee5a96ab6cccf331029cee82fda77be2995ea447e8f57d65f587b056299d636d380660e
|
|
7
|
+
data.tar.gz: cf1b2956b8919f0adc773ace5820d11453924fa54af5c1d3a4fbcf81948a913ab641f66ef4a976d3487e5370e983cdef59f74cdf7703e97279947712dcfa7629
|
data/lib/candid/client.rb
CHANGED
|
@@ -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
|
-
#
|
|
7
|
-
#
|
|
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
|
data/lib/candid/version.rb
CHANGED
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.
|
|
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
|