candidhealth 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/candidhealth/auth/default/client.rb +0 -74
- data/lib/candidhealth/charge_capture/v_1/client.rb +71 -4
- data/lib/candidhealth/charge_capture_bundles/v_1/client.rb +33 -2
- data/lib/candidhealth/diagnoses/client.rb +2 -2
- data/lib/candidhealth/encounters/v_4/client.rb +483 -2510
- data/lib/candidhealth/encounters/v_4/types/encounter_submission_expectation.rb +3 -6
- data/lib/candidhealth/guarantor/v_1/client.rb +4 -0
- data/lib/candidhealth/guarantor/v_1/types/guarantor.rb +10 -2
- data/lib/candidhealth/guarantor/v_1/types/guarantor_create.rb +10 -2
- data/lib/candidhealth/guarantor/v_1/types/guarantor_optional.rb +10 -2
- data/lib/candidhealth/guarantor/v_1/types/guarantor_update.rb +10 -2
- data/lib/candidhealth/health_care_code_information/v_1/client.rb +2 -74
- data/lib/candidhealth/health_care_code_information/v_1/types/admitting_diagnosis.rb +2 -130
- data/lib/candidhealth/health_care_code_information/v_1/types/condition_code.rb +100 -1
- data/lib/candidhealth/health_care_code_information/v_1/types/condition_information.rb +2 -130
- data/lib/candidhealth/health_care_code_information/v_1/types/diagnosis_related_group.rb +2 -130
- data/lib/candidhealth/health_care_code_information/v_1/types/external_cause_of_injury.rb +2 -130
- data/lib/candidhealth/health_care_code_information/v_1/types/health_care_code_information.rb +2 -134
- data/lib/candidhealth/health_care_code_information/v_1/types/health_care_code_information_get_all_response.rb +34 -34
- data/lib/candidhealth/health_care_code_information/v_1/types/health_care_code_information_new.rb +4 -139
- data/lib/candidhealth/health_care_code_information/v_1/types/health_care_code_information_update.rb +138 -38
- data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_code.rb +1 -0
- data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_information.rb +10 -132
- data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_span_code.rb +6 -1
- data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_span_information.rb +2 -130
- data/lib/candidhealth/health_care_code_information/v_1/types/other_diagnosis_information.rb +2 -130
- data/lib/candidhealth/health_care_code_information/v_1/types/other_procedure_information.rb +10 -132
- data/lib/candidhealth/health_care_code_information/v_1/types/patient_reason_for_visit.rb +2 -130
- data/lib/candidhealth/health_care_code_information/v_1/types/principal_diagnosis.rb +2 -130
- data/lib/candidhealth/health_care_code_information/v_1/types/principal_procedure_information.rb +10 -132
- data/lib/candidhealth/health_care_code_information/v_1/types/rd_8_date.rb +16 -4
- data/lib/candidhealth/health_care_code_information/v_1/types/treatment_code_information.rb +2 -130
- data/lib/candidhealth/health_care_code_information/v_1/types/value_information.rb +2 -130
- data/lib/candidhealth/individual/types/patient.rb +10 -2
- data/lib/candidhealth/individual/types/patient_create.rb +9 -1
- data/lib/candidhealth/individual/types/patient_update.rb +9 -1
- data/lib/candidhealth/individual/types/patient_update_with_optional_address.rb +9 -1
- data/lib/candidhealth/organization_providers/v_2/types/license_type.rb +2 -0
- data/lib/candidhealth/organization_service_facilities/v_2/client.rb +77 -4
- data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility.rb +21 -2
- data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_create.rb +21 -2
- data/lib/candidhealth/organization_service_facilities/v_2/types/organization_service_facility_update.rb +21 -2
- data/lib/candidhealth/payers/v_4/types/clearinghouse_payer_info.rb +36 -2
- data/lib/candidhealth/payers/v_4/types/payer.rb +15 -7
- data/lib/candidhealth/payers/v_4/types/payer_ids.rb +12 -35
- data/lib/candidhealth/payers/v_4/types/primary_payer_ids.rb +84 -0
- data/lib/candidhealth/pre_encounter/patients/v_1/client.rb +8 -2
- data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient.rb +13 -1
- data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient_with_mrn.rb +13 -1
- data/lib/candidhealth/pre_encounter/patients/v_1/types/patient.rb +13 -1
- data/lib/candidhealth/pre_encounter/patients/v_1/types/patient_service_facility.rb +63 -0
- data/lib/candidhealth/service_lines/v_2/client.rb +2 -2
- data/lib/candidhealth/service_lines/v_2/types/service_line_create.rb +8 -8
- data/lib/candidhealth/service_lines/v_2/types/service_line_create_base.rb +8 -8
- data/lib/candidhealth/service_lines/v_2/types/service_line_create_base_base.rb +8 -8
- data/lib/requests.rb +2 -2
- data/lib/types_export.rb +2 -21
- metadata +4 -23
- data/lib/candidhealth/encounters_universal/types/universal_encounter_create.rb +0 -944
- data/lib/candidhealth/encounters_universal/types/universal_encounter_create_from_pre_encounter.rb +0 -791
- data/lib/candidhealth/encounters_universal/types/universal_encounter_update.rb +0 -872
- data/lib/candidhealth/health_care_code_information/v_1/types/admitting_diagnosis_new.rb +0 -206
- data/lib/candidhealth/health_care_code_information/v_1/types/code_list_qualifier_code.rb +0 -1068
- data/lib/candidhealth/health_care_code_information/v_1/types/condition_information_new.rb +0 -207
- data/lib/candidhealth/health_care_code_information/v_1/types/date_time_period_format_qualifier.rb +0 -54
- data/lib/candidhealth/health_care_code_information/v_1/types/diagnosis_related_group_new.rb +0 -206
- data/lib/candidhealth/health_care_code_information/v_1/types/external_cause_of_injury_new.rb +0 -245
- data/lib/candidhealth/health_care_code_information/v_1/types/health_care_code_information_create.rb +0 -225
- data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_information_new.rb +0 -219
- data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_span_information_new.rb +0 -222
- data/lib/candidhealth/health_care_code_information/v_1/types/other_diagnosis_information_new.rb +0 -215
- data/lib/candidhealth/health_care_code_information/v_1/types/other_procedure_information_new.rb +0 -218
- data/lib/candidhealth/health_care_code_information/v_1/types/patient_reason_for_visit_new.rb +0 -206
- data/lib/candidhealth/health_care_code_information/v_1/types/principal_diagnosis_new.rb +0 -215
- data/lib/candidhealth/health_care_code_information/v_1/types/principal_procedure_information_new.rb +0 -216
- data/lib/candidhealth/health_care_code_information/v_1/types/treatment_code_information_new.rb +0 -206
- data/lib/candidhealth/health_care_code_information/v_1/types/value_information_new.rb +0 -215
- data/lib/candidhealth/service_lines/v_2/types/universal_service_line_create.rb +0 -271
- data/lib/candidhealth/x_12/v_1/types/type_of_bill_composite_update.rb +0 -112
|
@@ -6,12 +6,9 @@ module CandidApiClient
|
|
|
6
6
|
module Types
|
|
7
7
|
# Used to describe the currently expected target form for this encounter. This
|
|
8
8
|
# effects what
|
|
9
|
-
# validations and queues the form is processed under.
|
|
10
|
-
#
|
|
11
|
-
#
|
|
12
|
-
# Before
|
|
13
|
-
# submission, this value will be required by some rules or user intervention. It
|
|
14
|
-
# can be changed
|
|
9
|
+
# validations and queues the form is processed under. Before submission,
|
|
10
|
+
# this value will be required by some rules or user intervention. It can be
|
|
11
|
+
# changed
|
|
15
12
|
# at any time, although doing so may incur other rules.
|
|
16
13
|
class EncounterSubmissionExpectation
|
|
17
14
|
TARGET_PROFESSIONAL = "TARGET_PROFESSIONAL"
|
|
@@ -27,6 +27,7 @@ module CandidApiClient
|
|
|
27
27
|
# * :phone_consent (Boolean)
|
|
28
28
|
# * :email (String)
|
|
29
29
|
# * :email_consent (Boolean)
|
|
30
|
+
# * :auto_charge_consent (Boolean)
|
|
30
31
|
# * :first_name (String)
|
|
31
32
|
# * :last_name (String)
|
|
32
33
|
# * :external_id (String)
|
|
@@ -101,6 +102,7 @@ module CandidApiClient
|
|
|
101
102
|
# * :phone_consent (Boolean)
|
|
102
103
|
# * :email (String)
|
|
103
104
|
# * :email_consent (Boolean)
|
|
105
|
+
# * :auto_charge_consent (Boolean)
|
|
104
106
|
# @param request_options [CandidApiClient::RequestOptions]
|
|
105
107
|
# @return [CandidApiClient::Guarantor::V1::Types::Guarantor]
|
|
106
108
|
# @example
|
|
@@ -141,6 +143,7 @@ module CandidApiClient
|
|
|
141
143
|
# * :phone_consent (Boolean)
|
|
142
144
|
# * :email (String)
|
|
143
145
|
# * :email_consent (Boolean)
|
|
146
|
+
# * :auto_charge_consent (Boolean)
|
|
144
147
|
# * :first_name (String)
|
|
145
148
|
# * :last_name (String)
|
|
146
149
|
# * :external_id (String)
|
|
@@ -219,6 +222,7 @@ module CandidApiClient
|
|
|
219
222
|
# * :phone_consent (Boolean)
|
|
220
223
|
# * :email (String)
|
|
221
224
|
# * :email_consent (Boolean)
|
|
225
|
+
# * :auto_charge_consent (Boolean)
|
|
222
226
|
# @param request_options [CandidApiClient::RequestOptions]
|
|
223
227
|
# @return [CandidApiClient::Guarantor::V1::Types::Guarantor]
|
|
224
228
|
# @example
|
|
@@ -21,6 +21,8 @@ module CandidApiClient
|
|
|
21
21
|
attr_reader :email
|
|
22
22
|
# @return [Boolean]
|
|
23
23
|
attr_reader :email_consent
|
|
24
|
+
# @return [Boolean]
|
|
25
|
+
attr_reader :auto_charge_consent
|
|
24
26
|
# @return [String]
|
|
25
27
|
attr_reader :first_name
|
|
26
28
|
# @return [String]
|
|
@@ -44,6 +46,7 @@ module CandidApiClient
|
|
|
44
46
|
# @param phone_consent [Boolean]
|
|
45
47
|
# @param email [String]
|
|
46
48
|
# @param email_consent [Boolean]
|
|
49
|
+
# @param auto_charge_consent [Boolean]
|
|
47
50
|
# @param first_name [String]
|
|
48
51
|
# @param last_name [String]
|
|
49
52
|
# @param external_id [String]
|
|
@@ -51,13 +54,14 @@ module CandidApiClient
|
|
|
51
54
|
# @param address [CandidApiClient::Commons::Types::StreetAddressShortZip]
|
|
52
55
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
53
56
|
# @return [CandidApiClient::Guarantor::V1::Types::Guarantor]
|
|
54
|
-
def initialize(guarantor_id:, phone_numbers:, phone_consent:, email_consent:,
|
|
55
|
-
external_id:, address:, email: OMIT, date_of_birth: OMIT, additional_properties: nil)
|
|
57
|
+
def initialize(guarantor_id:, phone_numbers:, phone_consent:, email_consent:, auto_charge_consent:,
|
|
58
|
+
first_name:, last_name:, external_id:, address:, email: OMIT, date_of_birth: OMIT, additional_properties: nil)
|
|
56
59
|
@guarantor_id = guarantor_id
|
|
57
60
|
@phone_numbers = phone_numbers
|
|
58
61
|
@phone_consent = phone_consent
|
|
59
62
|
@email = email if email != OMIT
|
|
60
63
|
@email_consent = email_consent
|
|
64
|
+
@auto_charge_consent = auto_charge_consent
|
|
61
65
|
@first_name = first_name
|
|
62
66
|
@last_name = last_name
|
|
63
67
|
@external_id = external_id
|
|
@@ -70,6 +74,7 @@ module CandidApiClient
|
|
|
70
74
|
"phone_consent": phone_consent,
|
|
71
75
|
"email": email,
|
|
72
76
|
"email_consent": email_consent,
|
|
77
|
+
"auto_charge_consent": auto_charge_consent,
|
|
73
78
|
"first_name": first_name,
|
|
74
79
|
"last_name": last_name,
|
|
75
80
|
"external_id": external_id,
|
|
@@ -95,6 +100,7 @@ module CandidApiClient
|
|
|
95
100
|
phone_consent = struct["phone_consent"]
|
|
96
101
|
email = struct["email"]
|
|
97
102
|
email_consent = struct["email_consent"]
|
|
103
|
+
auto_charge_consent = struct["auto_charge_consent"]
|
|
98
104
|
first_name = struct["first_name"]
|
|
99
105
|
last_name = struct["last_name"]
|
|
100
106
|
external_id = struct["external_id"]
|
|
@@ -111,6 +117,7 @@ module CandidApiClient
|
|
|
111
117
|
phone_consent: phone_consent,
|
|
112
118
|
email: email,
|
|
113
119
|
email_consent: email_consent,
|
|
120
|
+
auto_charge_consent: auto_charge_consent,
|
|
114
121
|
first_name: first_name,
|
|
115
122
|
last_name: last_name,
|
|
116
123
|
external_id: external_id,
|
|
@@ -139,6 +146,7 @@ module CandidApiClient
|
|
|
139
146
|
obj.phone_consent.is_a?(Boolean) != false || raise("Passed value for field obj.phone_consent is not the expected type, validation failed.")
|
|
140
147
|
obj.email&.is_a?(String) != false || raise("Passed value for field obj.email is not the expected type, validation failed.")
|
|
141
148
|
obj.email_consent.is_a?(Boolean) != false || raise("Passed value for field obj.email_consent is not the expected type, validation failed.")
|
|
149
|
+
obj.auto_charge_consent.is_a?(Boolean) != false || raise("Passed value for field obj.auto_charge_consent is not the expected type, validation failed.")
|
|
142
150
|
obj.first_name.is_a?(String) != false || raise("Passed value for field obj.first_name is not the expected type, validation failed.")
|
|
143
151
|
obj.last_name.is_a?(String) != false || raise("Passed value for field obj.last_name is not the expected type, validation failed.")
|
|
144
152
|
obj.external_id.is_a?(String) != false || raise("Passed value for field obj.external_id is not the expected type, validation failed.")
|
|
@@ -19,6 +19,8 @@ module CandidApiClient
|
|
|
19
19
|
attr_reader :email
|
|
20
20
|
# @return [Boolean] Defaults to false
|
|
21
21
|
attr_reader :email_consent
|
|
22
|
+
# @return [Boolean] Defaults to false
|
|
23
|
+
attr_reader :auto_charge_consent
|
|
22
24
|
# @return [String]
|
|
23
25
|
attr_reader :first_name
|
|
24
26
|
# @return [String]
|
|
@@ -41,6 +43,7 @@ module CandidApiClient
|
|
|
41
43
|
# @param phone_consent [Boolean] Defaults to false
|
|
42
44
|
# @param email [String]
|
|
43
45
|
# @param email_consent [Boolean] Defaults to false
|
|
46
|
+
# @param auto_charge_consent [Boolean] Defaults to false
|
|
44
47
|
# @param first_name [String]
|
|
45
48
|
# @param last_name [String]
|
|
46
49
|
# @param external_id [String]
|
|
@@ -48,12 +51,13 @@ module CandidApiClient
|
|
|
48
51
|
# @param address [CandidApiClient::Commons::Types::StreetAddressShortZip]
|
|
49
52
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
50
53
|
# @return [CandidApiClient::Guarantor::V1::Types::GuarantorCreate]
|
|
51
|
-
def initialize(first_name:, last_name:, external_id:, address:, phone_numbers: OMIT, phone_consent: OMIT,
|
|
52
|
-
|
|
54
|
+
def initialize(first_name:, last_name:, external_id:, address:, phone_numbers: OMIT, phone_consent: OMIT, email: OMIT, email_consent: OMIT,
|
|
55
|
+
auto_charge_consent: OMIT, date_of_birth: OMIT, additional_properties: nil)
|
|
53
56
|
@phone_numbers = phone_numbers if phone_numbers != OMIT
|
|
54
57
|
@phone_consent = phone_consent if phone_consent != OMIT
|
|
55
58
|
@email = email if email != OMIT
|
|
56
59
|
@email_consent = email_consent if email_consent != OMIT
|
|
60
|
+
@auto_charge_consent = auto_charge_consent if auto_charge_consent != OMIT
|
|
57
61
|
@first_name = first_name
|
|
58
62
|
@last_name = last_name
|
|
59
63
|
@external_id = external_id
|
|
@@ -65,6 +69,7 @@ module CandidApiClient
|
|
|
65
69
|
"phone_consent": phone_consent,
|
|
66
70
|
"email": email,
|
|
67
71
|
"email_consent": email_consent,
|
|
72
|
+
"auto_charge_consent": auto_charge_consent,
|
|
68
73
|
"first_name": first_name,
|
|
69
74
|
"last_name": last_name,
|
|
70
75
|
"external_id": external_id,
|
|
@@ -89,6 +94,7 @@ module CandidApiClient
|
|
|
89
94
|
phone_consent = struct["phone_consent"]
|
|
90
95
|
email = struct["email"]
|
|
91
96
|
email_consent = struct["email_consent"]
|
|
97
|
+
auto_charge_consent = struct["auto_charge_consent"]
|
|
92
98
|
first_name = struct["first_name"]
|
|
93
99
|
last_name = struct["last_name"]
|
|
94
100
|
external_id = struct["external_id"]
|
|
@@ -104,6 +110,7 @@ module CandidApiClient
|
|
|
104
110
|
phone_consent: phone_consent,
|
|
105
111
|
email: email,
|
|
106
112
|
email_consent: email_consent,
|
|
113
|
+
auto_charge_consent: auto_charge_consent,
|
|
107
114
|
first_name: first_name,
|
|
108
115
|
last_name: last_name,
|
|
109
116
|
external_id: external_id,
|
|
@@ -131,6 +138,7 @@ module CandidApiClient
|
|
|
131
138
|
obj.phone_consent&.is_a?(Boolean) != false || raise("Passed value for field obj.phone_consent is not the expected type, validation failed.")
|
|
132
139
|
obj.email&.is_a?(String) != false || raise("Passed value for field obj.email is not the expected type, validation failed.")
|
|
133
140
|
obj.email_consent&.is_a?(Boolean) != false || raise("Passed value for field obj.email_consent is not the expected type, validation failed.")
|
|
141
|
+
obj.auto_charge_consent&.is_a?(Boolean) != false || raise("Passed value for field obj.auto_charge_consent is not the expected type, validation failed.")
|
|
134
142
|
obj.first_name.is_a?(String) != false || raise("Passed value for field obj.first_name is not the expected type, validation failed.")
|
|
135
143
|
obj.last_name.is_a?(String) != false || raise("Passed value for field obj.last_name is not the expected type, validation failed.")
|
|
136
144
|
obj.external_id.is_a?(String) != false || raise("Passed value for field obj.external_id is not the expected type, validation failed.")
|
|
@@ -29,6 +29,8 @@ module CandidApiClient
|
|
|
29
29
|
attr_reader :email
|
|
30
30
|
# @return [Boolean]
|
|
31
31
|
attr_reader :email_consent
|
|
32
|
+
# @return [Boolean]
|
|
33
|
+
attr_reader :auto_charge_consent
|
|
32
34
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
|
33
35
|
attr_reader :additional_properties
|
|
34
36
|
# @return [Object]
|
|
@@ -46,10 +48,11 @@ module CandidApiClient
|
|
|
46
48
|
# @param phone_consent [Boolean]
|
|
47
49
|
# @param email [String]
|
|
48
50
|
# @param email_consent [Boolean]
|
|
51
|
+
# @param auto_charge_consent [Boolean]
|
|
49
52
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
50
53
|
# @return [CandidApiClient::Guarantor::V1::Types::GuarantorOptional]
|
|
51
54
|
def initialize(first_name: OMIT, last_name: OMIT, external_id: OMIT, date_of_birth: OMIT, address: OMIT,
|
|
52
|
-
phone_numbers: OMIT, phone_consent: OMIT, email: OMIT, email_consent: OMIT, additional_properties: nil)
|
|
55
|
+
phone_numbers: OMIT, phone_consent: OMIT, email: OMIT, email_consent: OMIT, auto_charge_consent: OMIT, additional_properties: nil)
|
|
53
56
|
@first_name = first_name if first_name != OMIT
|
|
54
57
|
@last_name = last_name if last_name != OMIT
|
|
55
58
|
@external_id = external_id if external_id != OMIT
|
|
@@ -59,6 +62,7 @@ module CandidApiClient
|
|
|
59
62
|
@phone_consent = phone_consent if phone_consent != OMIT
|
|
60
63
|
@email = email if email != OMIT
|
|
61
64
|
@email_consent = email_consent if email_consent != OMIT
|
|
65
|
+
@auto_charge_consent = auto_charge_consent if auto_charge_consent != OMIT
|
|
62
66
|
@additional_properties = additional_properties
|
|
63
67
|
@_field_set = {
|
|
64
68
|
"first_name": first_name,
|
|
@@ -69,7 +73,8 @@ module CandidApiClient
|
|
|
69
73
|
"phone_numbers": phone_numbers,
|
|
70
74
|
"phone_consent": phone_consent,
|
|
71
75
|
"email": email,
|
|
72
|
-
"email_consent": email_consent
|
|
76
|
+
"email_consent": email_consent,
|
|
77
|
+
"auto_charge_consent": auto_charge_consent
|
|
73
78
|
}.reject do |_k, v|
|
|
74
79
|
v == OMIT
|
|
75
80
|
end
|
|
@@ -99,6 +104,7 @@ module CandidApiClient
|
|
|
99
104
|
phone_consent = struct["phone_consent"]
|
|
100
105
|
email = struct["email"]
|
|
101
106
|
email_consent = struct["email_consent"]
|
|
107
|
+
auto_charge_consent = struct["auto_charge_consent"]
|
|
102
108
|
new(
|
|
103
109
|
first_name: first_name,
|
|
104
110
|
last_name: last_name,
|
|
@@ -109,6 +115,7 @@ module CandidApiClient
|
|
|
109
115
|
phone_consent: phone_consent,
|
|
110
116
|
email: email,
|
|
111
117
|
email_consent: email_consent,
|
|
118
|
+
auto_charge_consent: auto_charge_consent,
|
|
112
119
|
additional_properties: struct
|
|
113
120
|
)
|
|
114
121
|
end
|
|
@@ -136,6 +143,7 @@ module CandidApiClient
|
|
|
136
143
|
obj.phone_consent&.is_a?(Boolean) != false || raise("Passed value for field obj.phone_consent is not the expected type, validation failed.")
|
|
137
144
|
obj.email&.is_a?(String) != false || raise("Passed value for field obj.email is not the expected type, validation failed.")
|
|
138
145
|
obj.email_consent&.is_a?(Boolean) != false || raise("Passed value for field obj.email_consent is not the expected type, validation failed.")
|
|
146
|
+
obj.auto_charge_consent&.is_a?(Boolean) != false || raise("Passed value for field obj.auto_charge_consent is not the expected type, validation failed.")
|
|
139
147
|
end
|
|
140
148
|
end
|
|
141
149
|
end
|
|
@@ -29,6 +29,8 @@ module CandidApiClient
|
|
|
29
29
|
attr_reader :email
|
|
30
30
|
# @return [Boolean]
|
|
31
31
|
attr_reader :email_consent
|
|
32
|
+
# @return [Boolean]
|
|
33
|
+
attr_reader :auto_charge_consent
|
|
32
34
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
|
33
35
|
attr_reader :additional_properties
|
|
34
36
|
# @return [Object]
|
|
@@ -46,10 +48,11 @@ module CandidApiClient
|
|
|
46
48
|
# @param phone_consent [Boolean]
|
|
47
49
|
# @param email [String]
|
|
48
50
|
# @param email_consent [Boolean]
|
|
51
|
+
# @param auto_charge_consent [Boolean]
|
|
49
52
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
50
53
|
# @return [CandidApiClient::Guarantor::V1::Types::GuarantorUpdate]
|
|
51
54
|
def initialize(first_name: OMIT, last_name: OMIT, external_id: OMIT, date_of_birth: OMIT, address: OMIT,
|
|
52
|
-
phone_numbers: OMIT, phone_consent: OMIT, email: OMIT, email_consent: OMIT, additional_properties: nil)
|
|
55
|
+
phone_numbers: OMIT, phone_consent: OMIT, email: OMIT, email_consent: OMIT, auto_charge_consent: OMIT, additional_properties: nil)
|
|
53
56
|
@first_name = first_name if first_name != OMIT
|
|
54
57
|
@last_name = last_name if last_name != OMIT
|
|
55
58
|
@external_id = external_id if external_id != OMIT
|
|
@@ -59,6 +62,7 @@ module CandidApiClient
|
|
|
59
62
|
@phone_consent = phone_consent if phone_consent != OMIT
|
|
60
63
|
@email = email if email != OMIT
|
|
61
64
|
@email_consent = email_consent if email_consent != OMIT
|
|
65
|
+
@auto_charge_consent = auto_charge_consent if auto_charge_consent != OMIT
|
|
62
66
|
@additional_properties = additional_properties
|
|
63
67
|
@_field_set = {
|
|
64
68
|
"first_name": first_name,
|
|
@@ -69,7 +73,8 @@ module CandidApiClient
|
|
|
69
73
|
"phone_numbers": phone_numbers,
|
|
70
74
|
"phone_consent": phone_consent,
|
|
71
75
|
"email": email,
|
|
72
|
-
"email_consent": email_consent
|
|
76
|
+
"email_consent": email_consent,
|
|
77
|
+
"auto_charge_consent": auto_charge_consent
|
|
73
78
|
}.reject do |_k, v|
|
|
74
79
|
v == OMIT
|
|
75
80
|
end
|
|
@@ -99,6 +104,7 @@ module CandidApiClient
|
|
|
99
104
|
phone_consent = struct["phone_consent"]
|
|
100
105
|
email = struct["email"]
|
|
101
106
|
email_consent = struct["email_consent"]
|
|
107
|
+
auto_charge_consent = struct["auto_charge_consent"]
|
|
102
108
|
new(
|
|
103
109
|
first_name: first_name,
|
|
104
110
|
last_name: last_name,
|
|
@@ -109,6 +115,7 @@ module CandidApiClient
|
|
|
109
115
|
phone_consent: phone_consent,
|
|
110
116
|
email: email,
|
|
111
117
|
email_consent: email_consent,
|
|
118
|
+
auto_charge_consent: auto_charge_consent,
|
|
112
119
|
additional_properties: struct
|
|
113
120
|
)
|
|
114
121
|
end
|
|
@@ -136,6 +143,7 @@ module CandidApiClient
|
|
|
136
143
|
obj.phone_consent&.is_a?(Boolean) != false || raise("Passed value for field obj.phone_consent is not the expected type, validation failed.")
|
|
137
144
|
obj.email&.is_a?(String) != false || raise("Passed value for field obj.email is not the expected type, validation failed.")
|
|
138
145
|
obj.email_consent&.is_a?(Boolean) != false || raise("Passed value for field obj.email_consent is not the expected type, validation failed.")
|
|
146
|
+
obj.auto_charge_consent&.is_a?(Boolean) != false || raise("Passed value for field obj.auto_charge_consent is not the expected type, validation failed.")
|
|
139
147
|
end
|
|
140
148
|
end
|
|
141
149
|
end
|
|
@@ -27,30 +27,13 @@ module CandidApiClient
|
|
|
27
27
|
# * :present_on_admission_indicator (CandidApiClient::HealthCareCodeInformation::V1::Types::PresentOnAdmissionIndicatorCode)
|
|
28
28
|
# * :id (String)
|
|
29
29
|
# * :encounter_id (String)
|
|
30
|
-
#
|
|
31
|
-
# * :industry_code_1 (String)
|
|
32
|
-
# * :industry_code_2 (String)
|
|
33
|
-
# * :industry_code_3 (String)
|
|
34
|
-
# * :industry_code_4 (String)
|
|
35
|
-
# * :date_time_period_format_qualifier (CandidApiClient::HealthCareCodeInformation::V1::Types::DateTimePeriodFormatQualifier)
|
|
36
|
-
# * :date_time_period (String)
|
|
37
|
-
# * :monetary_amount (String)
|
|
38
|
-
# * :quantity (String)
|
|
30
|
+
# * :other_diagnosis_information (Array<CandidApiClient::HealthCareCodeInformation::V1::Types::OtherDiagnosisInformation>)
|
|
39
31
|
# * :admitting_diagnosis (Hash)
|
|
40
32
|
# * :value (Hash)
|
|
41
33
|
# * :admitting_diagnosis_code_qualifier (CandidApiClient::HealthCareCodeInformation::V1::Types::AdmittingDiagnosisCodeQualifier)
|
|
42
34
|
# * :admitting_diagnosis_code (String)
|
|
43
35
|
# * :id (String)
|
|
44
36
|
# * :encounter_id (String)
|
|
45
|
-
# * :code_list_qualifier (CandidApiClient::HealthCareCodeInformation::V1::Types::CodeListQualifierCode)
|
|
46
|
-
# * :industry_code_1 (String)
|
|
47
|
-
# * :industry_code_2 (String)
|
|
48
|
-
# * :industry_code_3 (String)
|
|
49
|
-
# * :industry_code_4 (String)
|
|
50
|
-
# * :date_time_period_format_qualifier (CandidApiClient::HealthCareCodeInformation::V1::Types::DateTimePeriodFormatQualifier)
|
|
51
|
-
# * :date_time_period (String)
|
|
52
|
-
# * :monetary_amount (String)
|
|
53
|
-
# * :quantity (String)
|
|
54
37
|
# * :patient_reasons_for_visit (Array<CandidApiClient::HealthCareCodeInformation::V1::Types::PatientReasonForVisit>)
|
|
55
38
|
# * :external_causes_of_injury (Array<CandidApiClient::HealthCareCodeInformation::V1::Types::ExternalCauseOfInjury>)
|
|
56
39
|
# * :diagnosis_related_groups (Hash)
|
|
@@ -59,16 +42,6 @@ module CandidApiClient
|
|
|
59
42
|
# * :diagnosis_related_group_code (String)
|
|
60
43
|
# * :id (String)
|
|
61
44
|
# * :encounter_id (String)
|
|
62
|
-
# * :code_list_qualifier (CandidApiClient::HealthCareCodeInformation::V1::Types::CodeListQualifierCode)
|
|
63
|
-
# * :industry_code_1 (String)
|
|
64
|
-
# * :industry_code_2 (String)
|
|
65
|
-
# * :industry_code_3 (String)
|
|
66
|
-
# * :industry_code_4 (String)
|
|
67
|
-
# * :date_time_period_format_qualifier (CandidApiClient::HealthCareCodeInformation::V1::Types::DateTimePeriodFormatQualifier)
|
|
68
|
-
# * :date_time_period (String)
|
|
69
|
-
# * :monetary_amount (String)
|
|
70
|
-
# * :quantity (String)
|
|
71
|
-
# * :other_diagnosis_information (Array<CandidApiClient::HealthCareCodeInformation::V1::Types::OtherDiagnosisInformation>)
|
|
72
45
|
# * :principal_procedure (Hash)
|
|
73
46
|
# * :value (Hash)
|
|
74
47
|
# * :principal_procedure_code_qualifier (CandidApiClient::HealthCareCodeInformation::V1::Types::PrincipalProcedureInformationCodeQualifier)
|
|
@@ -76,15 +49,6 @@ module CandidApiClient
|
|
|
76
49
|
# * :procedure_date (DateTime)
|
|
77
50
|
# * :id (String)
|
|
78
51
|
# * :encounter_id (String)
|
|
79
|
-
# * :code_list_qualifier (CandidApiClient::HealthCareCodeInformation::V1::Types::CodeListQualifierCode)
|
|
80
|
-
# * :industry_code_1 (String)
|
|
81
|
-
# * :industry_code_2 (String)
|
|
82
|
-
# * :industry_code_3 (String)
|
|
83
|
-
# * :industry_code_4 (String)
|
|
84
|
-
# * :date_time_period_format_qualifier (CandidApiClient::HealthCareCodeInformation::V1::Types::DateTimePeriodFormatQualifier)
|
|
85
|
-
# * :date_time_period (String)
|
|
86
|
-
# * :monetary_amount (String)
|
|
87
|
-
# * :quantity (String)
|
|
88
52
|
# * :other_procedure_information (Array<CandidApiClient::HealthCareCodeInformation::V1::Types::OtherProcedureInformation>)
|
|
89
53
|
# * :occurrence_span_information (Array<CandidApiClient::HealthCareCodeInformation::V1::Types::OccurrenceSpanInformation>)
|
|
90
54
|
# * :occurrence_information (Array<CandidApiClient::HealthCareCodeInformation::V1::Types::OccurrenceInformation>)
|
|
@@ -153,30 +117,13 @@ module CandidApiClient
|
|
|
153
117
|
# * :present_on_admission_indicator (CandidApiClient::HealthCareCodeInformation::V1::Types::PresentOnAdmissionIndicatorCode)
|
|
154
118
|
# * :id (String)
|
|
155
119
|
# * :encounter_id (String)
|
|
156
|
-
#
|
|
157
|
-
# * :industry_code_1 (String)
|
|
158
|
-
# * :industry_code_2 (String)
|
|
159
|
-
# * :industry_code_3 (String)
|
|
160
|
-
# * :industry_code_4 (String)
|
|
161
|
-
# * :date_time_period_format_qualifier (CandidApiClient::HealthCareCodeInformation::V1::Types::DateTimePeriodFormatQualifier)
|
|
162
|
-
# * :date_time_period (String)
|
|
163
|
-
# * :monetary_amount (String)
|
|
164
|
-
# * :quantity (String)
|
|
120
|
+
# * :other_diagnosis_information (Array<CandidApiClient::HealthCareCodeInformation::V1::Types::OtherDiagnosisInformation>)
|
|
165
121
|
# * :admitting_diagnosis (Hash)
|
|
166
122
|
# * :value (Hash)
|
|
167
123
|
# * :admitting_diagnosis_code_qualifier (CandidApiClient::HealthCareCodeInformation::V1::Types::AdmittingDiagnosisCodeQualifier)
|
|
168
124
|
# * :admitting_diagnosis_code (String)
|
|
169
125
|
# * :id (String)
|
|
170
126
|
# * :encounter_id (String)
|
|
171
|
-
# * :code_list_qualifier (CandidApiClient::HealthCareCodeInformation::V1::Types::CodeListQualifierCode)
|
|
172
|
-
# * :industry_code_1 (String)
|
|
173
|
-
# * :industry_code_2 (String)
|
|
174
|
-
# * :industry_code_3 (String)
|
|
175
|
-
# * :industry_code_4 (String)
|
|
176
|
-
# * :date_time_period_format_qualifier (CandidApiClient::HealthCareCodeInformation::V1::Types::DateTimePeriodFormatQualifier)
|
|
177
|
-
# * :date_time_period (String)
|
|
178
|
-
# * :monetary_amount (String)
|
|
179
|
-
# * :quantity (String)
|
|
180
127
|
# * :patient_reasons_for_visit (Array<CandidApiClient::HealthCareCodeInformation::V1::Types::PatientReasonForVisit>)
|
|
181
128
|
# * :external_causes_of_injury (Array<CandidApiClient::HealthCareCodeInformation::V1::Types::ExternalCauseOfInjury>)
|
|
182
129
|
# * :diagnosis_related_groups (Hash)
|
|
@@ -185,16 +132,6 @@ module CandidApiClient
|
|
|
185
132
|
# * :diagnosis_related_group_code (String)
|
|
186
133
|
# * :id (String)
|
|
187
134
|
# * :encounter_id (String)
|
|
188
|
-
# * :code_list_qualifier (CandidApiClient::HealthCareCodeInformation::V1::Types::CodeListQualifierCode)
|
|
189
|
-
# * :industry_code_1 (String)
|
|
190
|
-
# * :industry_code_2 (String)
|
|
191
|
-
# * :industry_code_3 (String)
|
|
192
|
-
# * :industry_code_4 (String)
|
|
193
|
-
# * :date_time_period_format_qualifier (CandidApiClient::HealthCareCodeInformation::V1::Types::DateTimePeriodFormatQualifier)
|
|
194
|
-
# * :date_time_period (String)
|
|
195
|
-
# * :monetary_amount (String)
|
|
196
|
-
# * :quantity (String)
|
|
197
|
-
# * :other_diagnosis_information (Array<CandidApiClient::HealthCareCodeInformation::V1::Types::OtherDiagnosisInformation>)
|
|
198
135
|
# * :principal_procedure (Hash)
|
|
199
136
|
# * :value (Hash)
|
|
200
137
|
# * :principal_procedure_code_qualifier (CandidApiClient::HealthCareCodeInformation::V1::Types::PrincipalProcedureInformationCodeQualifier)
|
|
@@ -202,15 +139,6 @@ module CandidApiClient
|
|
|
202
139
|
# * :procedure_date (DateTime)
|
|
203
140
|
# * :id (String)
|
|
204
141
|
# * :encounter_id (String)
|
|
205
|
-
# * :code_list_qualifier (CandidApiClient::HealthCareCodeInformation::V1::Types::CodeListQualifierCode)
|
|
206
|
-
# * :industry_code_1 (String)
|
|
207
|
-
# * :industry_code_2 (String)
|
|
208
|
-
# * :industry_code_3 (String)
|
|
209
|
-
# * :industry_code_4 (String)
|
|
210
|
-
# * :date_time_period_format_qualifier (CandidApiClient::HealthCareCodeInformation::V1::Types::DateTimePeriodFormatQualifier)
|
|
211
|
-
# * :date_time_period (String)
|
|
212
|
-
# * :monetary_amount (String)
|
|
213
|
-
# * :quantity (String)
|
|
214
142
|
# * :other_procedure_information (Array<CandidApiClient::HealthCareCodeInformation::V1::Types::OtherProcedureInformation>)
|
|
215
143
|
# * :occurrence_span_information (Array<CandidApiClient::HealthCareCodeInformation::V1::Types::OccurrenceSpanInformation>)
|
|
216
144
|
# * :occurrence_information (Array<CandidApiClient::HealthCareCodeInformation::V1::Types::OccurrenceInformation>)
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require_relative "admitting_diagnosis_code_qualifier"
|
|
4
|
-
require_relative "code_list_qualifier_code"
|
|
5
|
-
require_relative "date_time_period_format_qualifier"
|
|
6
4
|
require "ostruct"
|
|
7
5
|
require "json"
|
|
8
6
|
|
|
@@ -27,50 +25,6 @@ module CandidApiClient
|
|
|
27
25
|
# This will be set by the server in responses, but clients are not expected to set
|
|
28
26
|
# it.
|
|
29
27
|
attr_reader :encounter_id
|
|
30
|
-
# @return [CandidApiClient::HealthCareCodeInformation::V1::Types::CodeListQualifierCode]
|
|
31
|
-
attr_reader :code_list_qualifier
|
|
32
|
-
# @return [String] A code string whose interpretation depends on the code_list_qualifier being set.
|
|
33
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
34
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
35
|
-
# reporting.
|
|
36
|
-
attr_reader :industry_code_1
|
|
37
|
-
# @return [String] A code string whose interpretation depends on the code_list_qualifier being set.
|
|
38
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
39
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
40
|
-
# reporting.
|
|
41
|
-
attr_reader :industry_code_2
|
|
42
|
-
# @return [String] A code string whose interpretation depends on the code_list_qualifier being set.
|
|
43
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
44
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
45
|
-
# reporting.
|
|
46
|
-
attr_reader :industry_code_3
|
|
47
|
-
# @return [String] A code string whose interpretation depends on the code_list_qualifier being set.
|
|
48
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
49
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
50
|
-
# reporting.
|
|
51
|
-
attr_reader :industry_code_4
|
|
52
|
-
# @return [CandidApiClient::HealthCareCodeInformation::V1::Types::DateTimePeriodFormatQualifier] Controls how the date_time_period field is interpreted and is submitted
|
|
53
|
-
# as part of claim process.
|
|
54
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
55
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
56
|
-
# reporting.
|
|
57
|
-
attr_reader :date_time_period_format_qualifier
|
|
58
|
-
# @return [String] A string, formatted according to date_time_period_format_qualifier, which
|
|
59
|
-
# ultimately represents the date time period in which an information object
|
|
60
|
-
# is covering.
|
|
61
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
62
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
63
|
-
# reporting.
|
|
64
|
-
attr_reader :date_time_period
|
|
65
|
-
# @return [String] A decimal used to represent ValueInformation results.
|
|
66
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
67
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
68
|
-
# reporting.
|
|
69
|
-
attr_reader :monetary_amount
|
|
70
|
-
# @return [String] You do not need to set this field generally, instead it is provided as advisory
|
|
71
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
72
|
-
# reporting.
|
|
73
|
-
attr_reader :quantity
|
|
74
28
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
|
75
29
|
attr_reader :additional_properties
|
|
76
30
|
# @return [Object]
|
|
@@ -90,75 +44,20 @@ module CandidApiClient
|
|
|
90
44
|
# @param encounter_id [String] The encounter_id of this health care code information if it is already stored.
|
|
91
45
|
# This will be set by the server in responses, but clients are not expected to set
|
|
92
46
|
# it.
|
|
93
|
-
# @param code_list_qualifier [CandidApiClient::HealthCareCodeInformation::V1::Types::CodeListQualifierCode]
|
|
94
|
-
# @param industry_code_1 [String] A code string whose interpretation depends on the code_list_qualifier being set.
|
|
95
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
96
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
97
|
-
# reporting.
|
|
98
|
-
# @param industry_code_2 [String] A code string whose interpretation depends on the code_list_qualifier being set.
|
|
99
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
100
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
101
|
-
# reporting.
|
|
102
|
-
# @param industry_code_3 [String] A code string whose interpretation depends on the code_list_qualifier being set.
|
|
103
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
104
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
105
|
-
# reporting.
|
|
106
|
-
# @param industry_code_4 [String] A code string whose interpretation depends on the code_list_qualifier being set.
|
|
107
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
108
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
109
|
-
# reporting.
|
|
110
|
-
# @param date_time_period_format_qualifier [CandidApiClient::HealthCareCodeInformation::V1::Types::DateTimePeriodFormatQualifier] Controls how the date_time_period field is interpreted and is submitted
|
|
111
|
-
# as part of claim process.
|
|
112
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
113
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
114
|
-
# reporting.
|
|
115
|
-
# @param date_time_period [String] A string, formatted according to date_time_period_format_qualifier, which
|
|
116
|
-
# ultimately represents the date time period in which an information object
|
|
117
|
-
# is covering.
|
|
118
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
119
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
120
|
-
# reporting.
|
|
121
|
-
# @param monetary_amount [String] A decimal used to represent ValueInformation results.
|
|
122
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
123
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
124
|
-
# reporting.
|
|
125
|
-
# @param quantity [String] You do not need to set this field generally, instead it is provided as advisory
|
|
126
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
127
|
-
# reporting.
|
|
128
47
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
129
48
|
# @return [CandidApiClient::HealthCareCodeInformation::V1::Types::AdmittingDiagnosis]
|
|
130
49
|
def initialize(admitting_diagnosis_code_qualifier:, admitting_diagnosis_code:, id: OMIT, encounter_id: OMIT,
|
|
131
|
-
|
|
50
|
+
additional_properties: nil)
|
|
132
51
|
@admitting_diagnosis_code_qualifier = admitting_diagnosis_code_qualifier
|
|
133
52
|
@admitting_diagnosis_code = admitting_diagnosis_code
|
|
134
53
|
@id = id if id != OMIT
|
|
135
54
|
@encounter_id = encounter_id if encounter_id != OMIT
|
|
136
|
-
@code_list_qualifier = code_list_qualifier if code_list_qualifier != OMIT
|
|
137
|
-
@industry_code_1 = industry_code_1 if industry_code_1 != OMIT
|
|
138
|
-
@industry_code_2 = industry_code_2 if industry_code_2 != OMIT
|
|
139
|
-
@industry_code_3 = industry_code_3 if industry_code_3 != OMIT
|
|
140
|
-
@industry_code_4 = industry_code_4 if industry_code_4 != OMIT
|
|
141
|
-
if date_time_period_format_qualifier != OMIT
|
|
142
|
-
@date_time_period_format_qualifier = date_time_period_format_qualifier
|
|
143
|
-
end
|
|
144
|
-
@date_time_period = date_time_period if date_time_period != OMIT
|
|
145
|
-
@monetary_amount = monetary_amount if monetary_amount != OMIT
|
|
146
|
-
@quantity = quantity if quantity != OMIT
|
|
147
55
|
@additional_properties = additional_properties
|
|
148
56
|
@_field_set = {
|
|
149
57
|
"admitting_diagnosis_code_qualifier": admitting_diagnosis_code_qualifier,
|
|
150
58
|
"admitting_diagnosis_code": admitting_diagnosis_code,
|
|
151
59
|
"id": id,
|
|
152
|
-
"encounter_id": encounter_id
|
|
153
|
-
"code_list_qualifier": code_list_qualifier,
|
|
154
|
-
"industry_code_1": industry_code_1,
|
|
155
|
-
"industry_code_2": industry_code_2,
|
|
156
|
-
"industry_code_3": industry_code_3,
|
|
157
|
-
"industry_code_4": industry_code_4,
|
|
158
|
-
"date_time_period_format_qualifier": date_time_period_format_qualifier,
|
|
159
|
-
"date_time_period": date_time_period,
|
|
160
|
-
"monetary_amount": monetary_amount,
|
|
161
|
-
"quantity": quantity
|
|
60
|
+
"encounter_id": encounter_id
|
|
162
61
|
}.reject do |_k, v|
|
|
163
62
|
v == OMIT
|
|
164
63
|
end
|
|
@@ -174,29 +73,11 @@ module CandidApiClient
|
|
|
174
73
|
admitting_diagnosis_code = struct["admitting_diagnosis_code"]
|
|
175
74
|
id = struct["id"]
|
|
176
75
|
encounter_id = struct["encounter_id"]
|
|
177
|
-
code_list_qualifier = struct["code_list_qualifier"]
|
|
178
|
-
industry_code_1 = struct["industry_code_1"]
|
|
179
|
-
industry_code_2 = struct["industry_code_2"]
|
|
180
|
-
industry_code_3 = struct["industry_code_3"]
|
|
181
|
-
industry_code_4 = struct["industry_code_4"]
|
|
182
|
-
date_time_period_format_qualifier = struct["date_time_period_format_qualifier"]
|
|
183
|
-
date_time_period = struct["date_time_period"]
|
|
184
|
-
monetary_amount = struct["monetary_amount"]
|
|
185
|
-
quantity = struct["quantity"]
|
|
186
76
|
new(
|
|
187
77
|
admitting_diagnosis_code_qualifier: admitting_diagnosis_code_qualifier,
|
|
188
78
|
admitting_diagnosis_code: admitting_diagnosis_code,
|
|
189
79
|
id: id,
|
|
190
80
|
encounter_id: encounter_id,
|
|
191
|
-
code_list_qualifier: code_list_qualifier,
|
|
192
|
-
industry_code_1: industry_code_1,
|
|
193
|
-
industry_code_2: industry_code_2,
|
|
194
|
-
industry_code_3: industry_code_3,
|
|
195
|
-
industry_code_4: industry_code_4,
|
|
196
|
-
date_time_period_format_qualifier: date_time_period_format_qualifier,
|
|
197
|
-
date_time_period: date_time_period,
|
|
198
|
-
monetary_amount: monetary_amount,
|
|
199
|
-
quantity: quantity,
|
|
200
81
|
additional_properties: struct
|
|
201
82
|
)
|
|
202
83
|
end
|
|
@@ -219,15 +100,6 @@ module CandidApiClient
|
|
|
219
100
|
obj.admitting_diagnosis_code.is_a?(String) != false || raise("Passed value for field obj.admitting_diagnosis_code is not the expected type, validation failed.")
|
|
220
101
|
obj.id&.is_a?(String) != false || raise("Passed value for field obj.id is not the expected type, validation failed.")
|
|
221
102
|
obj.encounter_id&.is_a?(String) != false || raise("Passed value for field obj.encounter_id is not the expected type, validation failed.")
|
|
222
|
-
obj.code_list_qualifier&.is_a?(CandidApiClient::HealthCareCodeInformation::V1::Types::CodeListQualifierCode) != false || raise("Passed value for field obj.code_list_qualifier is not the expected type, validation failed.")
|
|
223
|
-
obj.industry_code_1&.is_a?(String) != false || raise("Passed value for field obj.industry_code_1 is not the expected type, validation failed.")
|
|
224
|
-
obj.industry_code_2&.is_a?(String) != false || raise("Passed value for field obj.industry_code_2 is not the expected type, validation failed.")
|
|
225
|
-
obj.industry_code_3&.is_a?(String) != false || raise("Passed value for field obj.industry_code_3 is not the expected type, validation failed.")
|
|
226
|
-
obj.industry_code_4&.is_a?(String) != false || raise("Passed value for field obj.industry_code_4 is not the expected type, validation failed.")
|
|
227
|
-
obj.date_time_period_format_qualifier&.is_a?(CandidApiClient::HealthCareCodeInformation::V1::Types::DateTimePeriodFormatQualifier) != false || raise("Passed value for field obj.date_time_period_format_qualifier is not the expected type, validation failed.")
|
|
228
|
-
obj.date_time_period&.is_a?(String) != false || raise("Passed value for field obj.date_time_period is not the expected type, validation failed.")
|
|
229
|
-
obj.monetary_amount&.is_a?(String) != false || raise("Passed value for field obj.monetary_amount is not the expected type, validation failed.")
|
|
230
|
-
obj.quantity&.is_a?(String) != false || raise("Passed value for field obj.quantity is not the expected type, validation failed.")
|
|
231
103
|
end
|
|
232
104
|
end
|
|
233
105
|
end
|