candidhealth 1.7.0 → 1.8.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.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/lib/candidhealth/auth/default/client.rb +34 -6
  3. data/lib/candidhealth/charge_capture/v_1/client.rb +48 -48
  4. data/lib/candidhealth/charge_capture/v_1/types/charge_capture_data.rb +70 -56
  5. data/lib/candidhealth/commons/types/clearinghouse.rb +18 -0
  6. data/lib/candidhealth/commons/types/procedure_modifier.rb +11 -0
  7. data/lib/candidhealth/encounter_providers/v_2/types/billing_provider.rb +1 -1
  8. data/lib/candidhealth/encounter_providers/v_2/types/billing_provider_update.rb +1 -1
  9. data/lib/candidhealth/encounter_providers/v_2/types/billing_provider_update_with_optional_address.rb +1 -1
  10. data/lib/candidhealth/encounters/v_4/client.rb +3253 -2040
  11. data/lib/candidhealth/encounters/v_4/types/encounter.rb +111 -86
  12. data/lib/candidhealth/encounters/v_4/types/encounter_base.rb +39 -33
  13. data/lib/candidhealth/encounters/v_4/types/encounter_create.rb +796 -0
  14. data/lib/candidhealth/encounters/v_4/types/encounter_create_from_pre_encounter.rb +131 -117
  15. data/lib/candidhealth/encounters/v_4/types/encounter_deep_optional.rb +70 -56
  16. data/lib/candidhealth/encounters/v_4/types/encounter_optional.rb +29 -39
  17. data/lib/candidhealth/encounters/v_4/types/encounter_rendering_or_attending_provider_required_error.rb +55 -0
  18. data/lib/candidhealth/encounters/v_4/types/encounter_update.rb +736 -0
  19. data/lib/candidhealth/encounters_universal/types/universal_encounter_create.rb +944 -0
  20. data/lib/candidhealth/encounters_universal/types/universal_encounter_create_base.rb +691 -0
  21. data/lib/candidhealth/encounters_universal/types/universal_encounter_create_from_pre_encounter.rb +791 -0
  22. data/lib/candidhealth/encounters_universal/types/universal_encounter_create_from_pre_encounter_base.rb +572 -0
  23. data/lib/candidhealth/encounters_universal/types/universal_encounter_update.rb +872 -0
  24. data/lib/candidhealth/encounters_universal/types/universal_encounter_update_base.rb +700 -0
  25. data/lib/candidhealth/fee_schedules/v_3/client.rb +57 -0
  26. data/lib/candidhealth/fee_schedules/v_3/types/validation_error.rb +12 -0
  27. data/lib/candidhealth/financials/types/patient_transaction_source.rb +1 -0
  28. data/lib/candidhealth/health_care_code_information/v_1/types/admitting_diagnosis_new.rb +206 -0
  29. data/lib/candidhealth/health_care_code_information/v_1/types/condition_information_new.rb +207 -0
  30. data/lib/candidhealth/health_care_code_information/v_1/types/diagnosis_related_group_new.rb +206 -0
  31. data/lib/candidhealth/health_care_code_information/v_1/types/external_cause_of_injury_new.rb +245 -0
  32. data/lib/candidhealth/health_care_code_information/v_1/types/health_care_code_information_create.rb +225 -0
  33. data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_information_new.rb +219 -0
  34. data/lib/candidhealth/health_care_code_information/v_1/types/occurrence_span_information_new.rb +222 -0
  35. data/lib/candidhealth/health_care_code_information/v_1/types/other_diagnosis_information_new.rb +215 -0
  36. data/lib/candidhealth/health_care_code_information/v_1/types/other_procedure_information_new.rb +218 -0
  37. data/lib/candidhealth/health_care_code_information/v_1/types/patient_reason_for_visit_new.rb +206 -0
  38. data/lib/candidhealth/health_care_code_information/v_1/types/principal_diagnosis_new.rb +215 -0
  39. data/lib/candidhealth/health_care_code_information/v_1/types/principal_procedure_information_new.rb +216 -0
  40. data/lib/candidhealth/health_care_code_information/v_1/types/treatment_code_information_new.rb +206 -0
  41. data/lib/candidhealth/health_care_code_information/v_1/types/value_information_new.rb +215 -0
  42. data/lib/candidhealth/individual/types/patient.rb +6 -6
  43. data/lib/candidhealth/individual/types/patient_base.rb +6 -6
  44. data/lib/candidhealth/individual/types/patient_create.rb +6 -6
  45. data/lib/candidhealth/individual/types/patient_update.rb +6 -6
  46. data/lib/candidhealth/individual/types/patient_update_with_optional_address.rb +6 -6
  47. data/lib/candidhealth/organization_providers/v_2/types/license_type.rb +2 -0
  48. data/lib/candidhealth/payers/client.rb +7 -0
  49. data/lib/candidhealth/payers/v_4/client.rb +137 -0
  50. data/lib/candidhealth/payers/v_4/types/clearinghouse_payer_info.rb +93 -0
  51. data/lib/candidhealth/payers/v_4/types/payer.rb +116 -0
  52. data/lib/candidhealth/payers/v_4/types/payer_ids.rb +107 -0
  53. data/lib/candidhealth/payers/v_4/types/payer_page.rb +88 -0
  54. data/lib/candidhealth/payers/v_4/types/support_state.rb +15 -0
  55. data/lib/candidhealth/pre_encounter/coverages/v_1/client.rb +4 -4
  56. data/lib/candidhealth/pre_encounter/coverages/v_1/types/subscriber.rb +3 -3
  57. data/lib/candidhealth/pre_encounter/patients/v_1/client.rb +72 -6
  58. data/lib/candidhealth/pre_encounter/patients/v_1/types/guarantor.rb +3 -3
  59. data/lib/candidhealth/pre_encounter/patients/v_1/types/inferred_patient_metadata.rb +80 -0
  60. data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient.rb +19 -5
  61. data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient_with_mrn.rb +19 -5
  62. data/lib/candidhealth/pre_encounter/patients/v_1/types/patient.rb +18 -4
  63. data/lib/candidhealth/pre_encounter/patients/v_1/types/referral_type.rb +1 -0
  64. data/lib/candidhealth/service_lines/v_2/client.rb +252 -10
  65. data/lib/candidhealth/service_lines/v_2/types/service_line.rb +28 -10
  66. data/lib/candidhealth/service_lines/v_2/types/service_line_create.rb +52 -40
  67. data/lib/candidhealth/service_lines/v_2/types/service_line_create_base.rb +251 -0
  68. data/lib/candidhealth/service_lines/v_2/types/service_line_create_base_base.rb +243 -0
  69. data/lib/candidhealth/service_lines/v_2/types/service_line_create_optional.rb +48 -24
  70. data/lib/candidhealth/service_lines/v_2/types/service_line_create_standalone.rb +58 -46
  71. data/lib/candidhealth/service_lines/v_2/types/service_line_create_standalone_base.rb +273 -0
  72. data/lib/candidhealth/service_lines/v_2/types/service_line_create_standalone_base_base.rb +265 -0
  73. data/lib/candidhealth/service_lines/v_2/types/service_line_update.rb +64 -54
  74. data/lib/candidhealth/service_lines/v_2/types/service_line_update_base.rb +263 -0
  75. data/lib/candidhealth/service_lines/v_2/types/universal_service_line_create.rb +271 -0
  76. data/lib/candidhealth/service_lines/v_2/types/universal_service_line_create_standalone.rb +317 -0
  77. data/lib/candidhealth/service_lines/v_2/types/universal_service_line_update.rb +307 -0
  78. data/lib/candidhealth/x_12/v_1/types/type_of_bill_composite.rb +2 -2
  79. data/lib/candidhealth/x_12/v_1/types/type_of_bill_composite_base.rb +90 -0
  80. data/lib/candidhealth/x_12/v_1/types/type_of_bill_composite_update.rb +112 -0
  81. data/lib/requests.rb +2 -2
  82. data/lib/types_export.rb +44 -4
  83. metadata +43 -2
@@ -2,10 +2,10 @@
2
2
 
3
3
  require "date"
4
4
  require_relative "medication"
5
- require_relative "vitals"
6
5
  require_relative "intervention"
7
6
  require_relative "../../../commons/types/street_address_long_zip"
8
7
  require_relative "synchronicity_type"
8
+ require_relative "vitals"
9
9
  require_relative "billable_status_type"
10
10
  require_relative "service_authorization_exception_code"
11
11
  require_relative "../../../commons/types/delay_reason_code"
@@ -23,7 +23,7 @@ module CandidApiClient
23
23
  attr_reader :external_id
24
24
  # @return [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
25
25
  # This date must be the local date in the timezone where the service occurred.
26
- # Box 24a on the CMS-1500 claim form.
26
+ # Box 24a on the CMS-1500 claim form or Form Locator 45 on the UB-04 claim form.
27
27
  # If service occurred over a range of dates, this should be the start date.
28
28
  # date_of_service must be defined on either the encounter or the service lines but
29
29
  # not both.
@@ -41,23 +41,22 @@ module CandidApiClient
41
41
  attr_reader :end_date_of_service
42
42
  # @return [Boolean] Whether this patient has authorized the release of medical information
43
43
  # for billing purpose.
44
- # Box 12 on the CMS-1500 claim form.
44
+ # Box 12 on the CMS-1500 claim form or Form Locator 52 on a UB-04 claim form.
45
45
  attr_reader :patient_authorized_release
46
46
  # @return [Boolean] Whether this patient has authorized insurance payments to be made to you,
47
47
  # not them. If false, patient may receive reimbursement.
48
- # Box 13 on the CMS-1500 claim form.
48
+ # Box 13 on the CMS-1500 claim form or Form Locator 53 on a UB-04 claim form.
49
49
  attr_reader :benefits_assigned_to_provider
50
50
  # @return [Boolean] Whether you have accepted the patient's authorization for insurance payments
51
51
  # to be made to you, not them.
52
- # Box 27 on the CMS-1500 claim form.
52
+ # Box 27 on the CMS-1500 claim form. There is no exact equivalent of this field on
53
+ # a UB-04 claim, however contributes to the concept of Form Locator 53.
53
54
  attr_reader :provider_accepts_assignment
54
55
  # @return [String] Human-readable description of the appointment type (ex: "Acupuncture -
55
56
  # Headaches").
56
57
  attr_reader :appointment_type
57
58
  # @return [Array<CandidApiClient::Encounters::V4::Types::Medication>]
58
59
  attr_reader :existing_medications
59
- # @return [CandidApiClient::Encounters::V4::Types::Vitals]
60
- attr_reader :vitals
61
60
  # @return [Array<CandidApiClient::Encounters::V4::Types::Intervention>]
62
61
  attr_reader :interventions
63
62
  # @return [CandidApiClient::Commons::Types::StreetAddressLongZip] Specifies the address to which payments for the claim should be sent.
@@ -70,13 +69,15 @@ module CandidApiClient
70
69
  # interacts
71
70
  # directly with the provider, such as over video or a phone call.
72
71
  attr_reader :synchronicity
72
+ # @return [CandidApiClient::Encounters::V4::Types::Vitals]
73
+ attr_reader :vitals
73
74
  # @return [CandidApiClient::Encounters::V4::Types::BillableStatusType] Defines if the Encounter is to be billed by Candid to the responsible_party.
74
75
  # Examples for when this should be set to NOT_BILLABLE include
75
76
  # if the Encounter has not occurred yet or if there is no intention of ever
76
77
  # billing the responsible_party.
77
78
  attr_reader :billable_status
78
79
  # @return [String] Defines additional information on the claim needed by the payer.
79
- # Box 19 on the CMS-1500 claim form.
80
+ # Box 19 on the CMS-1500 claim form or Form Locator 80 on a UB-04 claim form.
80
81
  attr_reader :additional_information
81
82
  # @return [CandidApiClient::Encounters::V4::Types::ServiceAuthorizationExceptionCode] 837p Loop2300 REF*4N
82
83
  # Required when mandated by government law or regulation to obtain authorization
@@ -85,15 +86,15 @@ module CandidApiClient
85
86
  # the service was performed without
86
87
  # obtaining the authorization.
87
88
  attr_reader :service_authorization_exception_code
88
- # @return [Date] 837p Loop2300 DTP*435, CMS-1500 Box 18
89
+ # @return [Date] 837p Loop2300 DTP*435, CMS-1500 Box 18 or UB-04 Form Locator 12.
89
90
  # Required on all ambulance claims when the patient was known to be admitted to
90
91
  # the hospital.
91
92
  # OR
92
93
  # Required on all claims involving inpatient medical visits.
93
94
  attr_reader :admission_date
94
- # @return [Date] 837p Loop2300 DTP*096, CMS-1500 Box 18
95
- # Required for inpatient claims when the patient was discharged from the facility
96
- # and the discharge date is known.
95
+ # @return [Date] 837p Loop2300 DTP*096, CMS-1500 Box 18 Required for inpatient claims when the
96
+ # patient was discharged from the facility and the discharge date is known. Not
97
+ # used on an institutional claim.
97
98
  attr_reader :discharge_date
98
99
  # @return [Date] 837p Loop2300 DTP*431, CMS-1500 Box 14
99
100
  # Required for the initial medical service or visit performed in response to a
@@ -101,10 +102,12 @@ module CandidApiClient
101
102
  # service.
102
103
  # OR
103
104
  # This date is the onset of acute symptoms for the current illness or condition.
105
+ # For UB-04 claims, this is populated separately via occurrence codes.
104
106
  attr_reader :onset_of_current_illness_or_symptom_date
105
107
  # @return [Date] 837p Loop2300 DTP*484, CMS-1500 Box 14
106
108
  # Required when, in the judgment of the provider, the services on this claim are
107
109
  # related to the patient's pregnancy.
110
+ # This field is populated separately via occurrence codes for UB-04 claim forms.
108
111
  attr_reader :last_menstrual_period_date
109
112
  # @return [CandidApiClient::Commons::Types::DelayReasonCode] 837i Loop2300, CLM-1300 Box 20
110
113
  # Code indicating the reason why a request was delayed
@@ -122,7 +125,7 @@ module CandidApiClient
122
125
  # This field should not contain PHI.
123
126
  # @param date_of_service [Date] Date formatted as YYYY-MM-DD; eg: 2019-08-24.
124
127
  # This date must be the local date in the timezone where the service occurred.
125
- # Box 24a on the CMS-1500 claim form.
128
+ # Box 24a on the CMS-1500 claim form or Form Locator 45 on the UB-04 claim form.
126
129
  # If service occurred over a range of dates, this should be the start date.
127
130
  # date_of_service must be defined on either the encounter or the service lines but
128
131
  # not both.
@@ -138,17 +141,17 @@ module CandidApiClient
138
141
  # for future API versions.
139
142
  # @param patient_authorized_release [Boolean] Whether this patient has authorized the release of medical information
140
143
  # for billing purpose.
141
- # Box 12 on the CMS-1500 claim form.
144
+ # Box 12 on the CMS-1500 claim form or Form Locator 52 on a UB-04 claim form.
142
145
  # @param benefits_assigned_to_provider [Boolean] Whether this patient has authorized insurance payments to be made to you,
143
146
  # not them. If false, patient may receive reimbursement.
144
- # Box 13 on the CMS-1500 claim form.
147
+ # Box 13 on the CMS-1500 claim form or Form Locator 53 on a UB-04 claim form.
145
148
  # @param provider_accepts_assignment [Boolean] Whether you have accepted the patient's authorization for insurance payments
146
149
  # to be made to you, not them.
147
- # Box 27 on the CMS-1500 claim form.
150
+ # Box 27 on the CMS-1500 claim form. There is no exact equivalent of this field on
151
+ # a UB-04 claim, however contributes to the concept of Form Locator 53.
148
152
  # @param appointment_type [String] Human-readable description of the appointment type (ex: "Acupuncture -
149
153
  # Headaches").
150
154
  # @param existing_medications [Array<CandidApiClient::Encounters::V4::Types::Medication>]
151
- # @param vitals [CandidApiClient::Encounters::V4::Types::Vitals]
152
155
  # @param interventions [Array<CandidApiClient::Encounters::V4::Types::Intervention>]
153
156
  # @param pay_to_address [CandidApiClient::Commons::Types::StreetAddressLongZip] Specifies the address to which payments for the claim should be sent.
154
157
  # @param synchronicity [CandidApiClient::Encounters::V4::Types::SynchronicityType] Whether or not this was a synchronous or asynchronous encounter.
@@ -158,41 +161,44 @@ module CandidApiClient
158
161
  # Synchronous encounters occur in live, real-time settings where the patient
159
162
  # interacts
160
163
  # directly with the provider, such as over video or a phone call.
164
+ # @param vitals [CandidApiClient::Encounters::V4::Types::Vitals]
161
165
  # @param billable_status [CandidApiClient::Encounters::V4::Types::BillableStatusType] Defines if the Encounter is to be billed by Candid to the responsible_party.
162
166
  # Examples for when this should be set to NOT_BILLABLE include
163
167
  # if the Encounter has not occurred yet or if there is no intention of ever
164
168
  # billing the responsible_party.
165
169
  # @param additional_information [String] Defines additional information on the claim needed by the payer.
166
- # Box 19 on the CMS-1500 claim form.
170
+ # Box 19 on the CMS-1500 claim form or Form Locator 80 on a UB-04 claim form.
167
171
  # @param service_authorization_exception_code [CandidApiClient::Encounters::V4::Types::ServiceAuthorizationExceptionCode] 837p Loop2300 REF*4N
168
172
  # Required when mandated by government law or regulation to obtain authorization
169
173
  # for specific service(s) but, for the
170
174
  # reasons listed in one of the enum values of ServiceAuthorizationExceptionCode,
171
175
  # the service was performed without
172
176
  # obtaining the authorization.
173
- # @param admission_date [Date] 837p Loop2300 DTP*435, CMS-1500 Box 18
177
+ # @param admission_date [Date] 837p Loop2300 DTP*435, CMS-1500 Box 18 or UB-04 Form Locator 12.
174
178
  # Required on all ambulance claims when the patient was known to be admitted to
175
179
  # the hospital.
176
180
  # OR
177
181
  # Required on all claims involving inpatient medical visits.
178
- # @param discharge_date [Date] 837p Loop2300 DTP*096, CMS-1500 Box 18
179
- # Required for inpatient claims when the patient was discharged from the facility
180
- # and the discharge date is known.
182
+ # @param discharge_date [Date] 837p Loop2300 DTP*096, CMS-1500 Box 18 Required for inpatient claims when the
183
+ # patient was discharged from the facility and the discharge date is known. Not
184
+ # used on an institutional claim.
181
185
  # @param onset_of_current_illness_or_symptom_date [Date] 837p Loop2300 DTP*431, CMS-1500 Box 14
182
186
  # Required for the initial medical service or visit performed in response to a
183
187
  # medical emergency when the date is available and is different than the date of
184
188
  # service.
185
189
  # OR
186
190
  # This date is the onset of acute symptoms for the current illness or condition.
191
+ # For UB-04 claims, this is populated separately via occurrence codes.
187
192
  # @param last_menstrual_period_date [Date] 837p Loop2300 DTP*484, CMS-1500 Box 14
188
193
  # Required when, in the judgment of the provider, the services on this claim are
189
194
  # related to the patient's pregnancy.
195
+ # This field is populated separately via occurrence codes for UB-04 claim forms.
190
196
  # @param delay_reason_code [CandidApiClient::Commons::Types::DelayReasonCode] 837i Loop2300, CLM-1300 Box 20
191
197
  # Code indicating the reason why a request was delayed
192
198
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
193
199
  # @return [CandidApiClient::Encounters::V4::Types::EncounterBase]
194
200
  def initialize(external_id:, patient_authorized_release:, benefits_assigned_to_provider:,
195
- provider_accepts_assignment:, billable_status:, 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)
201
+ provider_accepts_assignment:, billable_status:, date_of_service: OMIT, end_date_of_service: OMIT, appointment_type: OMIT, existing_medications: OMIT, interventions: OMIT, pay_to_address: OMIT, synchronicity: OMIT, vitals: 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)
196
202
  @external_id = external_id
197
203
  @date_of_service = date_of_service if date_of_service != OMIT
198
204
  @end_date_of_service = end_date_of_service if end_date_of_service != OMIT
@@ -201,10 +207,10 @@ module CandidApiClient
201
207
  @provider_accepts_assignment = provider_accepts_assignment
202
208
  @appointment_type = appointment_type if appointment_type != OMIT
203
209
  @existing_medications = existing_medications if existing_medications != OMIT
204
- @vitals = vitals if vitals != OMIT
205
210
  @interventions = interventions if interventions != OMIT
206
211
  @pay_to_address = pay_to_address if pay_to_address != OMIT
207
212
  @synchronicity = synchronicity if synchronicity != OMIT
213
+ @vitals = vitals if vitals != OMIT
208
214
  @billable_status = billable_status
209
215
  @additional_information = additional_information if additional_information != OMIT
210
216
  if service_authorization_exception_code != OMIT
@@ -227,10 +233,10 @@ module CandidApiClient
227
233
  "provider_accepts_assignment": provider_accepts_assignment,
228
234
  "appointment_type": appointment_type,
229
235
  "existing_medications": existing_medications,
230
- "vitals": vitals,
231
236
  "interventions": interventions,
232
237
  "pay_to_address": pay_to_address,
233
238
  "synchronicity": synchronicity,
239
+ "vitals": vitals,
234
240
  "billable_status": billable_status,
235
241
  "additional_information": additional_information,
236
242
  "service_authorization_exception_code": service_authorization_exception_code,
@@ -264,12 +270,6 @@ module CandidApiClient
264
270
  item = item.to_json
265
271
  CandidApiClient::Encounters::V4::Types::Medication.from_json(json_object: item)
266
272
  end
267
- if parsed_json["vitals"].nil?
268
- vitals = nil
269
- else
270
- vitals = parsed_json["vitals"].to_json
271
- vitals = CandidApiClient::Encounters::V4::Types::Vitals.from_json(json_object: vitals)
272
- end
273
273
  interventions = parsed_json["interventions"]&.map do |item|
274
274
  item = item.to_json
275
275
  CandidApiClient::Encounters::V4::Types::Intervention.from_json(json_object: item)
@@ -281,6 +281,12 @@ module CandidApiClient
281
281
  pay_to_address = CandidApiClient::Commons::Types::StreetAddressLongZip.from_json(json_object: pay_to_address)
282
282
  end
283
283
  synchronicity = struct["synchronicity"]
284
+ if parsed_json["vitals"].nil?
285
+ vitals = nil
286
+ else
287
+ vitals = parsed_json["vitals"].to_json
288
+ vitals = CandidApiClient::Encounters::V4::Types::Vitals.from_json(json_object: vitals)
289
+ end
284
290
  billable_status = struct["billable_status"]
285
291
  additional_information = struct["additional_information"]
286
292
  service_authorization_exception_code = struct["service_authorization_exception_code"]
@@ -302,10 +308,10 @@ module CandidApiClient
302
308
  provider_accepts_assignment: provider_accepts_assignment,
303
309
  appointment_type: appointment_type,
304
310
  existing_medications: existing_medications,
305
- vitals: vitals,
306
311
  interventions: interventions,
307
312
  pay_to_address: pay_to_address,
308
313
  synchronicity: synchronicity,
314
+ vitals: vitals,
309
315
  billable_status: billable_status,
310
316
  additional_information: additional_information,
311
317
  service_authorization_exception_code: service_authorization_exception_code,
@@ -340,10 +346,10 @@ module CandidApiClient
340
346
  obj.provider_accepts_assignment.is_a?(Boolean) != false || raise("Passed value for field obj.provider_accepts_assignment is not the expected type, validation failed.")
341
347
  obj.appointment_type&.is_a?(String) != false || raise("Passed value for field obj.appointment_type is not the expected type, validation failed.")
342
348
  obj.existing_medications&.is_a?(Array) != false || raise("Passed value for field obj.existing_medications is not the expected type, validation failed.")
343
- obj.vitals.nil? || CandidApiClient::Encounters::V4::Types::Vitals.validate_raw(obj: obj.vitals)
344
349
  obj.interventions&.is_a?(Array) != false || raise("Passed value for field obj.interventions is not the expected type, validation failed.")
345
350
  obj.pay_to_address.nil? || CandidApiClient::Commons::Types::StreetAddressLongZip.validate_raw(obj: obj.pay_to_address)
346
351
  obj.synchronicity&.is_a?(CandidApiClient::Encounters::V4::Types::SynchronicityType) != false || raise("Passed value for field obj.synchronicity is not the expected type, validation failed.")
352
+ obj.vitals.nil? || CandidApiClient::Encounters::V4::Types::Vitals.validate_raw(obj: obj.vitals)
347
353
  obj.billable_status.is_a?(CandidApiClient::Encounters::V4::Types::BillableStatusType) != false || raise("Passed value for field obj.billable_status is not the expected type, validation failed.")
348
354
  obj.additional_information&.is_a?(String) != false || raise("Passed value for field obj.additional_information is not the expected type, validation failed.")
349
355
  obj.service_authorization_exception_code&.is_a?(CandidApiClient::Encounters::V4::Types::ServiceAuthorizationExceptionCode) != false || raise("Passed value for field obj.service_authorization_exception_code is not the expected type, validation failed.")