candidhealth 0.39.5 → 0.39.6

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: 0a6175830f8109fe2b7fe90399bd9422ed89eedc824b3155655044a2e222435f
4
- data.tar.gz: 4e05499a27bb1e6551c640a6ce8123704eed9cf730ff22b01c4b9fe997f63db1
3
+ metadata.gz: 896d5796a5f736d6e36dfc1d1f36d661515f8d64bd241445bd8014773bf07ec3
4
+ data.tar.gz: 58914250d2b0c91dc1ad4d5d90f164321c42518f86fd65ecb1887113df56bf39
5
5
  SHA512:
6
- metadata.gz: 2298a18c4b4233472d9e62e9924f799b6ad57881cc63b94a8a68711cfcba0e9eee77452177f2e88a686544177652ac3ebc12c41ec34a691e1aba6f335783c243
7
- data.tar.gz: e3a49be84ad1c5cbfa7c774967768ef29f97b8ac7b9cfff886ee48166e230b9934cfad6e5ae29bfd8b7df0abd357c1aa4048011d63b0fd8d070a65e18b7fa05c
6
+ metadata.gz: fb43ac7ebddee0182ba94b038c4fb221f6d0a64a91b61b7f8c4035a2337ce4fd1e71587c4114441bc9cacbdc1614d65552cdeff19aeedb1c3b5ec0ddd20881b3
7
+ data.tar.gz: 4c94c53956fd089f8d5e563394101651ebb2cc8294140d6b38388b1875b476386afded7baf896eb218b0ba55dfbbfde43e458f13d143e8eae4c8b7ee3d0b8c14
@@ -67,6 +67,7 @@ module CandidApiClient
67
67
  # * :plan_name (String)
68
68
  # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
69
69
  # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
70
+ # * :payer_plan_group_id (String)
70
71
  # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
71
72
  # * :date_of_birth (Date)
72
73
  # * :address (Hash)
@@ -93,6 +94,7 @@ module CandidApiClient
93
94
  # * :plan_name (String)
94
95
  # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
95
96
  # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
97
+ # * :payer_plan_group_id (String)
96
98
  # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
97
99
  # * :date_of_birth (Date)
98
100
  # * :address (Hash)
@@ -354,6 +356,7 @@ module CandidApiClient
354
356
  # * :plan_name (String)
355
357
  # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
356
358
  # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
359
+ # * :payer_plan_group_id (String)
357
360
  # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
358
361
  # * :date_of_birth (Date)
359
362
  # * :address (Hash)
@@ -380,6 +383,7 @@ module CandidApiClient
380
383
  # * :plan_name (String)
381
384
  # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
382
385
  # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
386
+ # * :payer_plan_group_id (String)
383
387
  # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
384
388
  # * :date_of_birth (Date)
385
389
  # * :address (Hash)
@@ -702,6 +706,7 @@ module CandidApiClient
702
706
  # * :plan_name (String)
703
707
  # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
704
708
  # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
709
+ # * :payer_plan_group_id (String)
705
710
  # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
706
711
  # * :date_of_birth (Date)
707
712
  # * :address (Hash)
@@ -728,6 +733,7 @@ module CandidApiClient
728
733
  # * :plan_name (String)
729
734
  # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
730
735
  # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
736
+ # * :payer_plan_group_id (String)
731
737
  # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
732
738
  # * :date_of_birth (Date)
733
739
  # * :address (Hash)
@@ -993,6 +999,7 @@ module CandidApiClient
993
999
  # * :plan_name (String)
994
1000
  # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
995
1001
  # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
1002
+ # * :payer_plan_group_id (String)
996
1003
  # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
997
1004
  # * :date_of_birth (Date)
998
1005
  # * :address (Hash)
@@ -1019,6 +1026,7 @@ module CandidApiClient
1019
1026
  # * :plan_name (String)
1020
1027
  # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
1021
1028
  # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
1029
+ # * :payer_plan_group_id (String)
1022
1030
  # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
1023
1031
  # * :date_of_birth (Date)
1024
1032
  # * :address (Hash)
@@ -408,6 +408,7 @@ module CandidApiClient
408
408
  # * :plan_name (String)
409
409
  # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
410
410
  # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
411
+ # * :payer_plan_group_id (String)
411
412
  # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
412
413
  # * :date_of_birth (Date)
413
414
  # * :address (Hash)
@@ -434,6 +435,7 @@ module CandidApiClient
434
435
  # * :plan_name (String)
435
436
  # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
436
437
  # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
438
+ # * :payer_plan_group_id (String)
437
439
  # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
438
440
  # * :date_of_birth (Date)
439
441
  # * :address (Hash)
@@ -553,8 +555,8 @@ module CandidApiClient
553
555
  # initial_referring_provider: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, qualifier: DQ, first_name: "string", last_name: "string", organization_name: "string" },
554
556
  # supervising_provider: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", organization_name: "string" },
555
557
  # service_facility: { organization_name: "string", npi: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, secondary_identification: "string" },
556
- # subscriber_primary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string", rx_bin: "string", rx_pcn: "string", image_url_front: "string", image_url_back: "string", emr_payer_crosswalk: HEALTHIE, group_number: "string", plan_name: "string", plan_type: SELF_PAY, insurance_type: C_01 }, patient_relationship_to_subscriber_code: SPOUSE, date_of_birth: DateTime.parse(2023-01-15), address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", gender: MALE },
557
- # subscriber_secondary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string", rx_bin: "string", rx_pcn: "string", image_url_front: "string", image_url_back: "string", emr_payer_crosswalk: HEALTHIE, group_number: "string", plan_name: "string", plan_type: SELF_PAY, insurance_type: C_01 }, patient_relationship_to_subscriber_code: SPOUSE, date_of_birth: DateTime.parse(2023-01-15), address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", gender: MALE },
558
+ # subscriber_primary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string", rx_bin: "string", rx_pcn: "string", image_url_front: "string", image_url_back: "string", emr_payer_crosswalk: HEALTHIE, group_number: "string", plan_name: "string", plan_type: SELF_PAY, insurance_type: C_01, payer_plan_group_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32" }, patient_relationship_to_subscriber_code: SPOUSE, date_of_birth: DateTime.parse(2023-01-15), address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", gender: MALE },
559
+ # subscriber_secondary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string", rx_bin: "string", rx_pcn: "string", image_url_front: "string", image_url_back: "string", emr_payer_crosswalk: HEALTHIE, group_number: "string", plan_name: "string", plan_type: SELF_PAY, insurance_type: C_01, payer_plan_group_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32" }, patient_relationship_to_subscriber_code: SPOUSE, date_of_birth: DateTime.parse(2023-01-15), address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", gender: MALE },
558
560
  # prior_authorization_number: "string",
559
561
  # responsible_party: INSURANCE_PAY,
560
562
  # diagnoses: [{ name: "string", code_type: ABF, code: "string" }],
@@ -858,6 +860,7 @@ module CandidApiClient
858
860
  # * :plan_name (String)
859
861
  # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
860
862
  # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
863
+ # * :payer_plan_group_id (String)
861
864
  # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
862
865
  # * :date_of_birth (Date)
863
866
  # * :address (Hash)
@@ -884,6 +887,7 @@ module CandidApiClient
884
887
  # * :plan_name (String)
885
888
  # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
886
889
  # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
890
+ # * :payer_plan_group_id (String)
887
891
  # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
888
892
  # * :date_of_birth (Date)
889
893
  # * :address (Hash)
@@ -1544,6 +1548,7 @@ module CandidApiClient
1544
1548
  # * :plan_name (String)
1545
1549
  # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
1546
1550
  # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
1551
+ # * :payer_plan_group_id (String)
1547
1552
  # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
1548
1553
  # * :date_of_birth (Date)
1549
1554
  # * :address (Hash)
@@ -1570,6 +1575,7 @@ module CandidApiClient
1570
1575
  # * :plan_name (String)
1571
1576
  # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
1572
1577
  # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
1578
+ # * :payer_plan_group_id (String)
1573
1579
  # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
1574
1580
  # * :date_of_birth (Date)
1575
1581
  # * :address (Hash)
@@ -1689,8 +1695,8 @@ module CandidApiClient
1689
1695
  # initial_referring_provider: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, qualifier: DQ, first_name: "string", last_name: "string", organization_name: "string" },
1690
1696
  # supervising_provider: { npi: "string", taxonomy_code: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", organization_name: "string" },
1691
1697
  # service_facility: { organization_name: "string", npi: "string", address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, secondary_identification: "string" },
1692
- # subscriber_primary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string", rx_bin: "string", rx_pcn: "string", image_url_front: "string", image_url_back: "string", emr_payer_crosswalk: HEALTHIE, group_number: "string", plan_name: "string", plan_type: SELF_PAY, insurance_type: C_01 }, patient_relationship_to_subscriber_code: SPOUSE, date_of_birth: DateTime.parse(2023-01-15), address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", gender: MALE },
1693
- # subscriber_secondary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string", rx_bin: "string", rx_pcn: "string", image_url_front: "string", image_url_back: "string", emr_payer_crosswalk: HEALTHIE, group_number: "string", plan_name: "string", plan_type: SELF_PAY, insurance_type: C_01 }, patient_relationship_to_subscriber_code: SPOUSE, date_of_birth: DateTime.parse(2023-01-15), address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", gender: MALE },
1698
+ # subscriber_primary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string", rx_bin: "string", rx_pcn: "string", image_url_front: "string", image_url_back: "string", emr_payer_crosswalk: HEALTHIE, group_number: "string", plan_name: "string", plan_type: SELF_PAY, insurance_type: C_01, payer_plan_group_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32" }, patient_relationship_to_subscriber_code: SPOUSE, date_of_birth: DateTime.parse(2023-01-15), address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", gender: MALE },
1699
+ # subscriber_secondary: { insurance_card: { member_id: "string", payer_name: "string", payer_id: "string", rx_bin: "string", rx_pcn: "string", image_url_front: "string", image_url_back: "string", emr_payer_crosswalk: HEALTHIE, group_number: "string", plan_name: "string", plan_type: SELF_PAY, insurance_type: C_01, payer_plan_group_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32" }, patient_relationship_to_subscriber_code: SPOUSE, date_of_birth: DateTime.parse(2023-01-15), address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, first_name: "string", last_name: "string", gender: MALE },
1694
1700
  # prior_authorization_number: "string",
1695
1701
  # responsible_party: INSURANCE_PAY,
1696
1702
  # diagnoses: [{ name: "string", code_type: ABF, code: "string" }],
@@ -1998,6 +2004,7 @@ module CandidApiClient
1998
2004
  # * :plan_name (String)
1999
2005
  # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
2000
2006
  # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
2007
+ # * :payer_plan_group_id (String)
2001
2008
  # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
2002
2009
  # * :date_of_birth (Date)
2003
2010
  # * :address (Hash)
@@ -2024,6 +2031,7 @@ module CandidApiClient
2024
2031
  # * :plan_name (String)
2025
2032
  # * :plan_type (CandidApiClient::Commons::Types::SourceOfPaymentCode)
2026
2033
  # * :insurance_type (CandidApiClient::Commons::Types::InsuranceTypeCode)
2034
+ # * :payer_plan_group_id (String)
2027
2035
  # * :patient_relationship_to_subscriber_code (CandidApiClient::Commons::Types::PatientRelationshipToInsuredCodeAll)
2028
2036
  # * :date_of_birth (Date)
2029
2037
  # * :address (Hash)
@@ -0,0 +1,77 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "ostruct"
4
+ require "json"
5
+
6
+ module CandidApiClient
7
+ module Encounters
8
+ module V4
9
+ module Types
10
+ class PayerPlanGroupPayerDoesNotMatchInsuranceCardError
11
+ # @return [String]
12
+ attr_reader :payer_plan_group_payer_uuid
13
+ # @return [String]
14
+ attr_reader :insurance_card_payer_uuid
15
+ # @return [OpenStruct] Additional properties unmapped to the current class definition
16
+ attr_reader :additional_properties
17
+ # @return [Object]
18
+ attr_reader :_field_set
19
+ protected :_field_set
20
+
21
+ OMIT = Object.new
22
+
23
+ # @param payer_plan_group_payer_uuid [String]
24
+ # @param insurance_card_payer_uuid [String]
25
+ # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
26
+ # @return [CandidApiClient::Encounters::V4::Types::PayerPlanGroupPayerDoesNotMatchInsuranceCardError]
27
+ def initialize(payer_plan_group_payer_uuid:, insurance_card_payer_uuid: OMIT, additional_properties: nil)
28
+ @payer_plan_group_payer_uuid = payer_plan_group_payer_uuid
29
+ @insurance_card_payer_uuid = insurance_card_payer_uuid if insurance_card_payer_uuid != OMIT
30
+ @additional_properties = additional_properties
31
+ @_field_set = {
32
+ "payer_plan_group_payer_uuid": payer_plan_group_payer_uuid,
33
+ "insurance_card_payer_uuid": insurance_card_payer_uuid
34
+ }.reject do |_k, v|
35
+ v == OMIT
36
+ end
37
+ end
38
+
39
+ # Deserialize a JSON object to an instance of
40
+ # PayerPlanGroupPayerDoesNotMatchInsuranceCardError
41
+ #
42
+ # @param json_object [String]
43
+ # @return [CandidApiClient::Encounters::V4::Types::PayerPlanGroupPayerDoesNotMatchInsuranceCardError]
44
+ def self.from_json(json_object:)
45
+ struct = JSON.parse(json_object, object_class: OpenStruct)
46
+ payer_plan_group_payer_uuid = struct["payer_plan_group_payer_uuid"]
47
+ insurance_card_payer_uuid = struct["insurance_card_payer_uuid"]
48
+ new(
49
+ payer_plan_group_payer_uuid: payer_plan_group_payer_uuid,
50
+ insurance_card_payer_uuid: insurance_card_payer_uuid,
51
+ additional_properties: struct
52
+ )
53
+ end
54
+
55
+ # Serialize an instance of PayerPlanGroupPayerDoesNotMatchInsuranceCardError to a
56
+ # JSON object
57
+ #
58
+ # @return [String]
59
+ def to_json(*_args)
60
+ @_field_set&.to_json
61
+ end
62
+
63
+ # Leveraged for Union-type generation, validate_raw attempts to parse the given
64
+ # hash and check each fields type against the current object's property
65
+ # definitions.
66
+ #
67
+ # @param obj [Object]
68
+ # @return [Void]
69
+ def self.validate_raw(obj:)
70
+ obj.payer_plan_group_payer_uuid.is_a?(String) != false || raise("Passed value for field obj.payer_plan_group_payer_uuid is not the expected type, validation failed.")
71
+ obj.insurance_card_payer_uuid&.is_a?(String) != false || raise("Passed value for field obj.insurance_card_payer_uuid is not the expected type, validation failed.")
72
+ end
73
+ end
74
+ end
75
+ end
76
+ end
77
+ end
@@ -34,6 +34,8 @@ module CandidApiClient
34
34
  attr_reader :plan_type
35
35
  # @return [CandidApiClient::Commons::Types::InsuranceTypeCode]
36
36
  attr_reader :insurance_type
37
+ # @return [String]
38
+ attr_reader :payer_plan_group_id
37
39
  # @return [OpenStruct] Additional properties unmapped to the current class definition
38
40
  attr_reader :additional_properties
39
41
  # @return [Object]
@@ -54,10 +56,11 @@ module CandidApiClient
54
56
  # @param plan_name [String] Box 11c on the CMS-1500 claim form.
55
57
  # @param plan_type [CandidApiClient::Commons::Types::SourceOfPaymentCode]
56
58
  # @param insurance_type [CandidApiClient::Commons::Types::InsuranceTypeCode]
59
+ # @param payer_plan_group_id [String]
57
60
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
58
61
  # @return [CandidApiClient::InsuranceCards::V2::Types::InsuranceCard]
59
62
  def initialize(insurance_card_id:, member_id:, payer_name:, payer_id:, rx_bin: OMIT, rx_pcn: OMIT,
60
- image_url_front: OMIT, image_url_back: OMIT, group_number: OMIT, plan_name: OMIT, plan_type: OMIT, insurance_type: OMIT, additional_properties: nil)
63
+ image_url_front: OMIT, image_url_back: OMIT, group_number: OMIT, plan_name: OMIT, plan_type: OMIT, insurance_type: OMIT, payer_plan_group_id: OMIT, additional_properties: nil)
61
64
  @insurance_card_id = insurance_card_id
62
65
  @member_id = member_id
63
66
  @payer_name = payer_name
@@ -70,6 +73,7 @@ module CandidApiClient
70
73
  @plan_name = plan_name if plan_name != OMIT
71
74
  @plan_type = plan_type if plan_type != OMIT
72
75
  @insurance_type = insurance_type if insurance_type != OMIT
76
+ @payer_plan_group_id = payer_plan_group_id if payer_plan_group_id != OMIT
73
77
  @additional_properties = additional_properties
74
78
  @_field_set = {
75
79
  "insurance_card_id": insurance_card_id,
@@ -83,7 +87,8 @@ module CandidApiClient
83
87
  "group_number": group_number,
84
88
  "plan_name": plan_name,
85
89
  "plan_type": plan_type,
86
- "insurance_type": insurance_type
90
+ "insurance_type": insurance_type,
91
+ "payer_plan_group_id": payer_plan_group_id
87
92
  }.reject do |_k, v|
88
93
  v == OMIT
89
94
  end
@@ -107,6 +112,7 @@ module CandidApiClient
107
112
  plan_name = struct["plan_name"]
108
113
  plan_type = struct["plan_type"]
109
114
  insurance_type = struct["insurance_type"]
115
+ payer_plan_group_id = struct["payer_plan_group_id"]
110
116
  new(
111
117
  insurance_card_id: insurance_card_id,
112
118
  member_id: member_id,
@@ -120,6 +126,7 @@ module CandidApiClient
120
126
  plan_name: plan_name,
121
127
  plan_type: plan_type,
122
128
  insurance_type: insurance_type,
129
+ payer_plan_group_id: payer_plan_group_id,
123
130
  additional_properties: struct
124
131
  )
125
132
  end
@@ -150,6 +157,7 @@ module CandidApiClient
150
157
  obj.plan_name&.is_a?(String) != false || raise("Passed value for field obj.plan_name is not the expected type, validation failed.")
151
158
  obj.plan_type&.is_a?(CandidApiClient::Commons::Types::SourceOfPaymentCode) != false || raise("Passed value for field obj.plan_type is not the expected type, validation failed.")
152
159
  obj.insurance_type&.is_a?(CandidApiClient::Commons::Types::InsuranceTypeCode) != false || raise("Passed value for field obj.insurance_type is not the expected type, validation failed.")
160
+ obj.payer_plan_group_id&.is_a?(String) != false || raise("Passed value for field obj.payer_plan_group_id is not the expected type, validation failed.")
153
161
  end
154
162
  end
155
163
  end
@@ -18,6 +18,8 @@ module CandidApiClient
18
18
  attr_reader :plan_type
19
19
  # @return [CandidApiClient::Commons::Types::InsuranceTypeCode]
20
20
  attr_reader :insurance_type
21
+ # @return [String]
22
+ attr_reader :payer_plan_group_id
21
23
  # @return [OpenStruct] Additional properties unmapped to the current class definition
22
24
  attr_reader :additional_properties
23
25
  # @return [Object]
@@ -30,20 +32,23 @@ module CandidApiClient
30
32
  # @param plan_name [String] Box 11c on the CMS-1500 claim form.
31
33
  # @param plan_type [CandidApiClient::Commons::Types::SourceOfPaymentCode]
32
34
  # @param insurance_type [CandidApiClient::Commons::Types::InsuranceTypeCode]
35
+ # @param payer_plan_group_id [String]
33
36
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
34
37
  # @return [CandidApiClient::InsuranceCards::V2::Types::InsuranceCardBase]
35
38
  def initialize(group_number: OMIT, plan_name: OMIT, plan_type: OMIT, insurance_type: OMIT,
36
- additional_properties: nil)
39
+ payer_plan_group_id: OMIT, additional_properties: nil)
37
40
  @group_number = group_number if group_number != OMIT
38
41
  @plan_name = plan_name if plan_name != OMIT
39
42
  @plan_type = plan_type if plan_type != OMIT
40
43
  @insurance_type = insurance_type if insurance_type != OMIT
44
+ @payer_plan_group_id = payer_plan_group_id if payer_plan_group_id != OMIT
41
45
  @additional_properties = additional_properties
42
46
  @_field_set = {
43
47
  "group_number": group_number,
44
48
  "plan_name": plan_name,
45
49
  "plan_type": plan_type,
46
- "insurance_type": insurance_type
50
+ "insurance_type": insurance_type,
51
+ "payer_plan_group_id": payer_plan_group_id
47
52
  }.reject do |_k, v|
48
53
  v == OMIT
49
54
  end
@@ -59,11 +64,13 @@ module CandidApiClient
59
64
  plan_name = struct["plan_name"]
60
65
  plan_type = struct["plan_type"]
61
66
  insurance_type = struct["insurance_type"]
67
+ payer_plan_group_id = struct["payer_plan_group_id"]
62
68
  new(
63
69
  group_number: group_number,
64
70
  plan_name: plan_name,
65
71
  plan_type: plan_type,
66
72
  insurance_type: insurance_type,
73
+ payer_plan_group_id: payer_plan_group_id,
67
74
  additional_properties: struct
68
75
  )
69
76
  end
@@ -86,6 +93,7 @@ module CandidApiClient
86
93
  obj.plan_name&.is_a?(String) != false || raise("Passed value for field obj.plan_name is not the expected type, validation failed.")
87
94
  obj.plan_type&.is_a?(CandidApiClient::Commons::Types::SourceOfPaymentCode) != false || raise("Passed value for field obj.plan_type is not the expected type, validation failed.")
88
95
  obj.insurance_type&.is_a?(CandidApiClient::Commons::Types::InsuranceTypeCode) != false || raise("Passed value for field obj.insurance_type is not the expected type, validation failed.")
96
+ obj.payer_plan_group_id&.is_a?(String) != false || raise("Passed value for field obj.payer_plan_group_id is not the expected type, validation failed.")
89
97
  end
90
98
  end
91
99
  end
@@ -35,6 +35,8 @@ module CandidApiClient
35
35
  attr_reader :plan_type
36
36
  # @return [CandidApiClient::Commons::Types::InsuranceTypeCode]
37
37
  attr_reader :insurance_type
38
+ # @return [String]
39
+ attr_reader :payer_plan_group_id
38
40
  # @return [OpenStruct] Additional properties unmapped to the current class definition
39
41
  attr_reader :additional_properties
40
42
  # @return [Object]
@@ -55,10 +57,11 @@ module CandidApiClient
55
57
  # @param plan_name [String] Box 11c on the CMS-1500 claim form.
56
58
  # @param plan_type [CandidApiClient::Commons::Types::SourceOfPaymentCode]
57
59
  # @param insurance_type [CandidApiClient::Commons::Types::InsuranceTypeCode]
60
+ # @param payer_plan_group_id [String]
58
61
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
59
62
  # @return [CandidApiClient::InsuranceCards::V2::Types::InsuranceCardCreate]
60
63
  def initialize(member_id:, payer_name:, payer_id:, rx_bin: OMIT, rx_pcn: OMIT, image_url_front: OMIT,
61
- image_url_back: OMIT, emr_payer_crosswalk: OMIT, group_number: OMIT, plan_name: OMIT, plan_type: OMIT, insurance_type: OMIT, additional_properties: nil)
64
+ image_url_back: OMIT, emr_payer_crosswalk: OMIT, group_number: OMIT, plan_name: OMIT, plan_type: OMIT, insurance_type: OMIT, payer_plan_group_id: OMIT, additional_properties: nil)
62
65
  @member_id = member_id
63
66
  @payer_name = payer_name
64
67
  @payer_id = payer_id
@@ -71,6 +74,7 @@ module CandidApiClient
71
74
  @plan_name = plan_name if plan_name != OMIT
72
75
  @plan_type = plan_type if plan_type != OMIT
73
76
  @insurance_type = insurance_type if insurance_type != OMIT
77
+ @payer_plan_group_id = payer_plan_group_id if payer_plan_group_id != OMIT
74
78
  @additional_properties = additional_properties
75
79
  @_field_set = {
76
80
  "member_id": member_id,
@@ -84,7 +88,8 @@ module CandidApiClient
84
88
  "group_number": group_number,
85
89
  "plan_name": plan_name,
86
90
  "plan_type": plan_type,
87
- "insurance_type": insurance_type
91
+ "insurance_type": insurance_type,
92
+ "payer_plan_group_id": payer_plan_group_id
88
93
  }.reject do |_k, v|
89
94
  v == OMIT
90
95
  end
@@ -108,6 +113,7 @@ module CandidApiClient
108
113
  plan_name = struct["plan_name"]
109
114
  plan_type = struct["plan_type"]
110
115
  insurance_type = struct["insurance_type"]
116
+ payer_plan_group_id = struct["payer_plan_group_id"]
111
117
  new(
112
118
  member_id: member_id,
113
119
  payer_name: payer_name,
@@ -121,6 +127,7 @@ module CandidApiClient
121
127
  plan_name: plan_name,
122
128
  plan_type: plan_type,
123
129
  insurance_type: insurance_type,
130
+ payer_plan_group_id: payer_plan_group_id,
124
131
  additional_properties: struct
125
132
  )
126
133
  end
@@ -151,6 +158,7 @@ module CandidApiClient
151
158
  obj.plan_name&.is_a?(String) != false || raise("Passed value for field obj.plan_name is not the expected type, validation failed.")
152
159
  obj.plan_type&.is_a?(CandidApiClient::Commons::Types::SourceOfPaymentCode) != false || raise("Passed value for field obj.plan_type is not the expected type, validation failed.")
153
160
  obj.insurance_type&.is_a?(CandidApiClient::Commons::Types::InsuranceTypeCode) != false || raise("Passed value for field obj.insurance_type is not the expected type, validation failed.")
161
+ obj.payer_plan_group_id&.is_a?(String) != false || raise("Passed value for field obj.payer_plan_group_id is not the expected type, validation failed.")
154
162
  end
155
163
  end
156
164
  end
@@ -73,6 +73,29 @@ module CandidApiClient
73
73
  MFTA = "MFTA"
74
74
  APCC = "APCC"
75
75
  DNP = "DNP"
76
+ AGNPBC = "AGNPBC"
77
+ ANP = "ANP"
78
+ FNPPP = "FNPPP"
79
+ LCSWR = "LCSWR"
80
+ ALC = "ALC"
81
+ RMFTI = "RMFTI"
82
+ LAMFT = "LAMFT"
83
+ LPCA = "LPCA"
84
+ LSWI = "LSWI"
85
+ CSW = "CSW"
86
+ CPC = "CPC"
87
+ LGMFT = "LGMFT"
88
+ LLPC = "LLPC"
89
+ PLPC = "PLPC"
90
+ PLMFT = "PLMFT"
91
+ LMHCA = "LMHCA"
92
+ CIT = "CIT"
93
+ CT = "CT"
94
+ MFT = "MFT"
95
+ LSW = "LSW"
96
+ PLMHP = "PLMHP"
97
+ PCMSW = "PCMSW"
98
+ LMHP = "LMHP"
76
99
  end
77
100
  end
78
101
  end
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.39.5" }
46
+ headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6" }
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.39.5" }
90
+ headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6" }
91
91
  headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
92
92
  headers
93
93
  end
data/lib/types_export.rb CHANGED
@@ -94,6 +94,7 @@ require_relative "candidhealth/encounters/v_4/types/schema_unauthorized_access_e
94
94
  require_relative "candidhealth/encounters/v_4/types/value_does_not_match_key_type_error"
95
95
  require_relative "candidhealth/encounters/v_4/types/multiple_instances_for_schema_error"
96
96
  require_relative "candidhealth/encounters/v_4/types/schema_instance_validation_error"
97
+ require_relative "candidhealth/encounters/v_4/types/payer_plan_group_payer_does_not_match_insurance_card_error"
97
98
  require_relative "candidhealth/expected_network_status/v_1/types/expected_network_status"
98
99
  require_relative "candidhealth/expected_network_status/v_1/types/expected_network_status_response"
99
100
  require_relative "candidhealth/expected_network_status/v_2/types/line_of_business"
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.39.5
4
+ version: 0.39.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-02-12 00:00:00.000000000 Z
11
+ date: 2025-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async-http-faraday
@@ -247,6 +247,7 @@ files:
247
247
  - lib/candidhealth/encounters/v_4/types/note_category.rb
248
248
  - lib/candidhealth/encounters/v_4/types/patient_history_category.rb
249
249
  - lib/candidhealth/encounters/v_4/types/patient_history_category_enum.rb
250
+ - lib/candidhealth/encounters/v_4/types/payer_plan_group_payer_does_not_match_insurance_card_error.rb
250
251
  - lib/candidhealth/encounters/v_4/types/responsible_party_type.rb
251
252
  - lib/candidhealth/encounters/v_4/types/schema_does_not_exist_error.rb
252
253
  - lib/candidhealth/encounters/v_4/types/schema_instance_validation_error.rb