candidhealth 0.37.0 → 0.38.1
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/charge_capture/v_1/client.rb +63 -34
- data/lib/candidhealth/charge_capture/v_1/types/charge_capture.rb +21 -10
- data/lib/candidhealth/encounters/v_4/client.rb +10 -4
- data/lib/candidhealth/encounters/v_4/types/invalid_tag_names_error_type.rb +60 -0
- data/lib/candidhealth/pre_encounter/common/types/resource_page.rb +13 -2
- data/lib/candidhealth/pre_encounter/coverages/v_1/client.rb +96 -0
- data/lib/candidhealth/pre_encounter/coverages/v_1/types/benefit_type.rb +2 -0
- data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage_level.rb +1 -0
- data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage_value.rb +13 -2
- data/lib/candidhealth/pre_encounter/coverages/v_1/types/plan_coverage_details.rb +28 -2
- data/lib/candidhealth/pre_encounter/lists/v_1/types/appointment_list_page.rb +10 -2
- data/lib/candidhealth/pre_encounter/lists/v_1/types/patient_list_page.rb +10 -2
- data/lib/candidhealth/pre_encounter/patients/v_1/types/patient_page.rb +10 -2
- data/lib/candidhealth/pre_encounter/tags/v_1/types/tag_page.rb +10 -2
- data/lib/candidhealth/service_facility/client.rb +2 -0
- data/lib/candidhealth/service_facility/types/encounter_service_facility.rb +19 -2
- data/lib/candidhealth/service_facility/types/encounter_service_facility_base.rb +23 -2
- data/lib/candidhealth/service_facility/types/encounter_service_facility_update.rb +23 -2
- data/lib/candidhealth/x_12/v_1/types/rarc.rb +3 -0
- data/lib/requests.rb +2 -2
- data/lib/types_export.rb +1 -1
- metadata +3 -3
- data/lib/candidhealth/commons/types/not_implemented_error_message.rb +0 -60
@@ -83,30 +83,54 @@ module CandidApiClient
|
|
83
83
|
# * :deductible (Hash)
|
84
84
|
# * :family (Float)
|
85
85
|
# * :individual (Float)
|
86
|
+
# * :employee_and_spouse (Float)
|
86
87
|
# * :deductible_remaining (Hash)
|
87
88
|
# * :family (Float)
|
88
89
|
# * :individual (Float)
|
90
|
+
# * :employee_and_spouse (Float)
|
91
|
+
# * :deductible_year_to_date (Hash)
|
92
|
+
# * :family (Float)
|
93
|
+
# * :individual (Float)
|
94
|
+
# * :employee_and_spouse (Float)
|
89
95
|
# * :oop_max (Hash)
|
90
96
|
# * :family (Float)
|
91
97
|
# * :individual (Float)
|
98
|
+
# * :employee_and_spouse (Float)
|
92
99
|
# * :oop_max_remaining (Hash)
|
93
100
|
# * :family (Float)
|
94
101
|
# * :individual (Float)
|
102
|
+
# * :employee_and_spouse (Float)
|
103
|
+
# * :oop_year_to_date (Hash)
|
104
|
+
# * :family (Float)
|
105
|
+
# * :individual (Float)
|
106
|
+
# * :employee_and_spouse (Float)
|
95
107
|
# * :additional_notes (String)
|
96
108
|
# * :in_network_flat (Array<CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageDetails>)
|
97
109
|
# * :out_of_network (Hash)
|
98
110
|
# * :deductible (Hash)
|
99
111
|
# * :family (Float)
|
100
112
|
# * :individual (Float)
|
113
|
+
# * :employee_and_spouse (Float)
|
101
114
|
# * :deductible_remaining (Hash)
|
102
115
|
# * :family (Float)
|
103
116
|
# * :individual (Float)
|
117
|
+
# * :employee_and_spouse (Float)
|
118
|
+
# * :deductible_year_to_date (Hash)
|
119
|
+
# * :family (Float)
|
120
|
+
# * :individual (Float)
|
121
|
+
# * :employee_and_spouse (Float)
|
104
122
|
# * :oop_max (Hash)
|
105
123
|
# * :family (Float)
|
106
124
|
# * :individual (Float)
|
125
|
+
# * :employee_and_spouse (Float)
|
107
126
|
# * :oop_max_remaining (Hash)
|
108
127
|
# * :family (Float)
|
109
128
|
# * :individual (Float)
|
129
|
+
# * :employee_and_spouse (Float)
|
130
|
+
# * :oop_year_to_date (Hash)
|
131
|
+
# * :family (Float)
|
132
|
+
# * :individual (Float)
|
133
|
+
# * :employee_and_spouse (Float)
|
110
134
|
# * :additional_notes (String)
|
111
135
|
# * :out_of_network_flat (Array<CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageDetails>)
|
112
136
|
# * :service_specific_coverage (Array<CandidApiClient::PreEncounter::Coverages::V1::Types::ServiceCoverage>)
|
@@ -190,30 +214,54 @@ module CandidApiClient
|
|
190
214
|
# * :deductible (Hash)
|
191
215
|
# * :family (Float)
|
192
216
|
# * :individual (Float)
|
217
|
+
# * :employee_and_spouse (Float)
|
193
218
|
# * :deductible_remaining (Hash)
|
194
219
|
# * :family (Float)
|
195
220
|
# * :individual (Float)
|
221
|
+
# * :employee_and_spouse (Float)
|
222
|
+
# * :deductible_year_to_date (Hash)
|
223
|
+
# * :family (Float)
|
224
|
+
# * :individual (Float)
|
225
|
+
# * :employee_and_spouse (Float)
|
196
226
|
# * :oop_max (Hash)
|
197
227
|
# * :family (Float)
|
198
228
|
# * :individual (Float)
|
229
|
+
# * :employee_and_spouse (Float)
|
199
230
|
# * :oop_max_remaining (Hash)
|
200
231
|
# * :family (Float)
|
201
232
|
# * :individual (Float)
|
233
|
+
# * :employee_and_spouse (Float)
|
234
|
+
# * :oop_year_to_date (Hash)
|
235
|
+
# * :family (Float)
|
236
|
+
# * :individual (Float)
|
237
|
+
# * :employee_and_spouse (Float)
|
202
238
|
# * :additional_notes (String)
|
203
239
|
# * :in_network_flat (Array<CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageDetails>)
|
204
240
|
# * :out_of_network (Hash)
|
205
241
|
# * :deductible (Hash)
|
206
242
|
# * :family (Float)
|
207
243
|
# * :individual (Float)
|
244
|
+
# * :employee_and_spouse (Float)
|
208
245
|
# * :deductible_remaining (Hash)
|
209
246
|
# * :family (Float)
|
210
247
|
# * :individual (Float)
|
248
|
+
# * :employee_and_spouse (Float)
|
249
|
+
# * :deductible_year_to_date (Hash)
|
250
|
+
# * :family (Float)
|
251
|
+
# * :individual (Float)
|
252
|
+
# * :employee_and_spouse (Float)
|
211
253
|
# * :oop_max (Hash)
|
212
254
|
# * :family (Float)
|
213
255
|
# * :individual (Float)
|
256
|
+
# * :employee_and_spouse (Float)
|
214
257
|
# * :oop_max_remaining (Hash)
|
215
258
|
# * :family (Float)
|
216
259
|
# * :individual (Float)
|
260
|
+
# * :employee_and_spouse (Float)
|
261
|
+
# * :oop_year_to_date (Hash)
|
262
|
+
# * :family (Float)
|
263
|
+
# * :individual (Float)
|
264
|
+
# * :employee_and_spouse (Float)
|
217
265
|
# * :additional_notes (String)
|
218
266
|
# * :out_of_network_flat (Array<CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageDetails>)
|
219
267
|
# * :service_specific_coverage (Array<CandidApiClient::PreEncounter::Coverages::V1::Types::ServiceCoverage>)
|
@@ -483,30 +531,54 @@ module CandidApiClient
|
|
483
531
|
# * :deductible (Hash)
|
484
532
|
# * :family (Float)
|
485
533
|
# * :individual (Float)
|
534
|
+
# * :employee_and_spouse (Float)
|
486
535
|
# * :deductible_remaining (Hash)
|
487
536
|
# * :family (Float)
|
488
537
|
# * :individual (Float)
|
538
|
+
# * :employee_and_spouse (Float)
|
539
|
+
# * :deductible_year_to_date (Hash)
|
540
|
+
# * :family (Float)
|
541
|
+
# * :individual (Float)
|
542
|
+
# * :employee_and_spouse (Float)
|
489
543
|
# * :oop_max (Hash)
|
490
544
|
# * :family (Float)
|
491
545
|
# * :individual (Float)
|
546
|
+
# * :employee_and_spouse (Float)
|
492
547
|
# * :oop_max_remaining (Hash)
|
493
548
|
# * :family (Float)
|
494
549
|
# * :individual (Float)
|
550
|
+
# * :employee_and_spouse (Float)
|
551
|
+
# * :oop_year_to_date (Hash)
|
552
|
+
# * :family (Float)
|
553
|
+
# * :individual (Float)
|
554
|
+
# * :employee_and_spouse (Float)
|
495
555
|
# * :additional_notes (String)
|
496
556
|
# * :in_network_flat (Array<CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageDetails>)
|
497
557
|
# * :out_of_network (Hash)
|
498
558
|
# * :deductible (Hash)
|
499
559
|
# * :family (Float)
|
500
560
|
# * :individual (Float)
|
561
|
+
# * :employee_and_spouse (Float)
|
501
562
|
# * :deductible_remaining (Hash)
|
502
563
|
# * :family (Float)
|
503
564
|
# * :individual (Float)
|
565
|
+
# * :employee_and_spouse (Float)
|
566
|
+
# * :deductible_year_to_date (Hash)
|
567
|
+
# * :family (Float)
|
568
|
+
# * :individual (Float)
|
569
|
+
# * :employee_and_spouse (Float)
|
504
570
|
# * :oop_max (Hash)
|
505
571
|
# * :family (Float)
|
506
572
|
# * :individual (Float)
|
573
|
+
# * :employee_and_spouse (Float)
|
507
574
|
# * :oop_max_remaining (Hash)
|
508
575
|
# * :family (Float)
|
509
576
|
# * :individual (Float)
|
577
|
+
# * :employee_and_spouse (Float)
|
578
|
+
# * :oop_year_to_date (Hash)
|
579
|
+
# * :family (Float)
|
580
|
+
# * :individual (Float)
|
581
|
+
# * :employee_and_spouse (Float)
|
510
582
|
# * :additional_notes (String)
|
511
583
|
# * :out_of_network_flat (Array<CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageDetails>)
|
512
584
|
# * :service_specific_coverage (Array<CandidApiClient::PreEncounter::Coverages::V1::Types::ServiceCoverage>)
|
@@ -592,30 +664,54 @@ module CandidApiClient
|
|
592
664
|
# * :deductible (Hash)
|
593
665
|
# * :family (Float)
|
594
666
|
# * :individual (Float)
|
667
|
+
# * :employee_and_spouse (Float)
|
595
668
|
# * :deductible_remaining (Hash)
|
596
669
|
# * :family (Float)
|
597
670
|
# * :individual (Float)
|
671
|
+
# * :employee_and_spouse (Float)
|
672
|
+
# * :deductible_year_to_date (Hash)
|
673
|
+
# * :family (Float)
|
674
|
+
# * :individual (Float)
|
675
|
+
# * :employee_and_spouse (Float)
|
598
676
|
# * :oop_max (Hash)
|
599
677
|
# * :family (Float)
|
600
678
|
# * :individual (Float)
|
679
|
+
# * :employee_and_spouse (Float)
|
601
680
|
# * :oop_max_remaining (Hash)
|
602
681
|
# * :family (Float)
|
603
682
|
# * :individual (Float)
|
683
|
+
# * :employee_and_spouse (Float)
|
684
|
+
# * :oop_year_to_date (Hash)
|
685
|
+
# * :family (Float)
|
686
|
+
# * :individual (Float)
|
687
|
+
# * :employee_and_spouse (Float)
|
604
688
|
# * :additional_notes (String)
|
605
689
|
# * :in_network_flat (Array<CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageDetails>)
|
606
690
|
# * :out_of_network (Hash)
|
607
691
|
# * :deductible (Hash)
|
608
692
|
# * :family (Float)
|
609
693
|
# * :individual (Float)
|
694
|
+
# * :employee_and_spouse (Float)
|
610
695
|
# * :deductible_remaining (Hash)
|
611
696
|
# * :family (Float)
|
612
697
|
# * :individual (Float)
|
698
|
+
# * :employee_and_spouse (Float)
|
699
|
+
# * :deductible_year_to_date (Hash)
|
700
|
+
# * :family (Float)
|
701
|
+
# * :individual (Float)
|
702
|
+
# * :employee_and_spouse (Float)
|
613
703
|
# * :oop_max (Hash)
|
614
704
|
# * :family (Float)
|
615
705
|
# * :individual (Float)
|
706
|
+
# * :employee_and_spouse (Float)
|
616
707
|
# * :oop_max_remaining (Hash)
|
617
708
|
# * :family (Float)
|
618
709
|
# * :individual (Float)
|
710
|
+
# * :employee_and_spouse (Float)
|
711
|
+
# * :oop_year_to_date (Hash)
|
712
|
+
# * :family (Float)
|
713
|
+
# * :individual (Float)
|
714
|
+
# * :employee_and_spouse (Float)
|
619
715
|
# * :additional_notes (String)
|
620
716
|
# * :out_of_network_flat (Array<CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageDetails>)
|
621
717
|
# * :service_specific_coverage (Array<CandidApiClient::PreEncounter::Coverages::V1::Types::ServiceCoverage>)
|
@@ -8,8 +8,10 @@ module CandidApiClient
|
|
8
8
|
class BenefitType
|
9
9
|
DEDUCTIBLE = "DEDUCTIBLE"
|
10
10
|
DEDUCTIBLE_REMAINING = "DEDUCTIBLE_REMAINING"
|
11
|
+
DEDUCTIBLE_YEAR_TO_DATE = "DEDUCTIBLE_YEAR_TO_DATE"
|
11
12
|
OOP_MAX = "OOP_MAX"
|
12
13
|
OOP_MAX_REMAINING = "OOP_MAX_REMAINING"
|
14
|
+
OOP_YEAR_TO_DATE = "OOP_YEAR_TO_DATE"
|
13
15
|
COPAY = "COPAY"
|
14
16
|
COINSURANCE = "COINSURANCE"
|
15
17
|
end
|
@@ -13,6 +13,8 @@ module CandidApiClient
|
|
13
13
|
attr_reader :family
|
14
14
|
# @return [Float]
|
15
15
|
attr_reader :individual
|
16
|
+
# @return [Float]
|
17
|
+
attr_reader :employee_and_spouse
|
16
18
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
17
19
|
attr_reader :additional_properties
|
18
20
|
# @return [Object]
|
@@ -23,13 +25,19 @@ module CandidApiClient
|
|
23
25
|
|
24
26
|
# @param family [Float]
|
25
27
|
# @param individual [Float]
|
28
|
+
# @param employee_and_spouse [Float]
|
26
29
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
27
30
|
# @return [CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue]
|
28
|
-
def initialize(family: OMIT, individual: OMIT, additional_properties: nil)
|
31
|
+
def initialize(family: OMIT, individual: OMIT, employee_and_spouse: OMIT, additional_properties: nil)
|
29
32
|
@family = family if family != OMIT
|
30
33
|
@individual = individual if individual != OMIT
|
34
|
+
@employee_and_spouse = employee_and_spouse if employee_and_spouse != OMIT
|
31
35
|
@additional_properties = additional_properties
|
32
|
-
@_field_set = {
|
36
|
+
@_field_set = {
|
37
|
+
"family": family,
|
38
|
+
"individual": individual,
|
39
|
+
"employeeAndSpouse": employee_and_spouse
|
40
|
+
}.reject do |_k, v|
|
33
41
|
v == OMIT
|
34
42
|
end
|
35
43
|
end
|
@@ -42,9 +50,11 @@ module CandidApiClient
|
|
42
50
|
struct = JSON.parse(json_object, object_class: OpenStruct)
|
43
51
|
family = struct["family"]
|
44
52
|
individual = struct["individual"]
|
53
|
+
employee_and_spouse = struct["employeeAndSpouse"]
|
45
54
|
new(
|
46
55
|
family: family,
|
47
56
|
individual: individual,
|
57
|
+
employee_and_spouse: employee_and_spouse,
|
48
58
|
additional_properties: struct
|
49
59
|
)
|
50
60
|
end
|
@@ -65,6 +75,7 @@ module CandidApiClient
|
|
65
75
|
def self.validate_raw(obj:)
|
66
76
|
obj.family&.is_a?(Float) != false || raise("Passed value for field obj.family is not the expected type, validation failed.")
|
67
77
|
obj.individual&.is_a?(Float) != false || raise("Passed value for field obj.individual is not the expected type, validation failed.")
|
78
|
+
obj.employee_and_spouse&.is_a?(Float) != false || raise("Passed value for field obj.employee_and_spouse is not the expected type, validation failed.")
|
68
79
|
end
|
69
80
|
end
|
70
81
|
end
|
@@ -15,9 +15,13 @@ module CandidApiClient
|
|
15
15
|
# @return [CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue]
|
16
16
|
attr_reader :deductible_remaining
|
17
17
|
# @return [CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue]
|
18
|
+
attr_reader :deductible_year_to_date
|
19
|
+
# @return [CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue]
|
18
20
|
attr_reader :oop_max
|
19
21
|
# @return [CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue]
|
20
22
|
attr_reader :oop_max_remaining
|
23
|
+
# @return [CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue]
|
24
|
+
attr_reader :oop_year_to_date
|
21
25
|
# @return [String]
|
22
26
|
attr_reader :additional_notes
|
23
27
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
@@ -30,24 +34,30 @@ module CandidApiClient
|
|
30
34
|
|
31
35
|
# @param deductible [CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue]
|
32
36
|
# @param deductible_remaining [CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue]
|
37
|
+
# @param deductible_year_to_date [CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue]
|
33
38
|
# @param oop_max [CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue]
|
34
39
|
# @param oop_max_remaining [CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue]
|
40
|
+
# @param oop_year_to_date [CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue]
|
35
41
|
# @param additional_notes [String]
|
36
42
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
37
43
|
# @return [CandidApiClient::PreEncounter::Coverages::V1::Types::PlanCoverageDetails]
|
38
|
-
def initialize(deductible: OMIT, deductible_remaining: OMIT,
|
39
|
-
additional_notes: OMIT, additional_properties: nil)
|
44
|
+
def initialize(deductible: OMIT, deductible_remaining: OMIT, deductible_year_to_date: OMIT, oop_max: OMIT,
|
45
|
+
oop_max_remaining: OMIT, oop_year_to_date: OMIT, additional_notes: OMIT, additional_properties: nil)
|
40
46
|
@deductible = deductible if deductible != OMIT
|
41
47
|
@deductible_remaining = deductible_remaining if deductible_remaining != OMIT
|
48
|
+
@deductible_year_to_date = deductible_year_to_date if deductible_year_to_date != OMIT
|
42
49
|
@oop_max = oop_max if oop_max != OMIT
|
43
50
|
@oop_max_remaining = oop_max_remaining if oop_max_remaining != OMIT
|
51
|
+
@oop_year_to_date = oop_year_to_date if oop_year_to_date != OMIT
|
44
52
|
@additional_notes = additional_notes if additional_notes != OMIT
|
45
53
|
@additional_properties = additional_properties
|
46
54
|
@_field_set = {
|
47
55
|
"deductible": deductible,
|
48
56
|
"deductible_remaining": deductible_remaining,
|
57
|
+
"deductible_year_to_date": deductible_year_to_date,
|
49
58
|
"oop_max": oop_max,
|
50
59
|
"oop_max_remaining": oop_max_remaining,
|
60
|
+
"oop_year_to_date": oop_year_to_date,
|
51
61
|
"additional_notes": additional_notes
|
52
62
|
}.reject do |_k, v|
|
53
63
|
v == OMIT
|
@@ -73,6 +83,12 @@ module CandidApiClient
|
|
73
83
|
deductible_remaining = parsed_json["deductible_remaining"].to_json
|
74
84
|
deductible_remaining = CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue.from_json(json_object: deductible_remaining)
|
75
85
|
end
|
86
|
+
if parsed_json["deductible_year_to_date"].nil?
|
87
|
+
deductible_year_to_date = nil
|
88
|
+
else
|
89
|
+
deductible_year_to_date = parsed_json["deductible_year_to_date"].to_json
|
90
|
+
deductible_year_to_date = CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue.from_json(json_object: deductible_year_to_date)
|
91
|
+
end
|
76
92
|
if parsed_json["oop_max"].nil?
|
77
93
|
oop_max = nil
|
78
94
|
else
|
@@ -85,12 +101,20 @@ module CandidApiClient
|
|
85
101
|
oop_max_remaining = parsed_json["oop_max_remaining"].to_json
|
86
102
|
oop_max_remaining = CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue.from_json(json_object: oop_max_remaining)
|
87
103
|
end
|
104
|
+
if parsed_json["oop_year_to_date"].nil?
|
105
|
+
oop_year_to_date = nil
|
106
|
+
else
|
107
|
+
oop_year_to_date = parsed_json["oop_year_to_date"].to_json
|
108
|
+
oop_year_to_date = CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue.from_json(json_object: oop_year_to_date)
|
109
|
+
end
|
88
110
|
additional_notes = struct["additional_notes"]
|
89
111
|
new(
|
90
112
|
deductible: deductible,
|
91
113
|
deductible_remaining: deductible_remaining,
|
114
|
+
deductible_year_to_date: deductible_year_to_date,
|
92
115
|
oop_max: oop_max,
|
93
116
|
oop_max_remaining: oop_max_remaining,
|
117
|
+
oop_year_to_date: oop_year_to_date,
|
94
118
|
additional_notes: additional_notes,
|
95
119
|
additional_properties: struct
|
96
120
|
)
|
@@ -112,8 +136,10 @@ module CandidApiClient
|
|
112
136
|
def self.validate_raw(obj:)
|
113
137
|
obj.deductible.nil? || CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue.validate_raw(obj: obj.deductible)
|
114
138
|
obj.deductible_remaining.nil? || CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue.validate_raw(obj: obj.deductible_remaining)
|
139
|
+
obj.deductible_year_to_date.nil? || CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue.validate_raw(obj: obj.deductible_year_to_date)
|
115
140
|
obj.oop_max.nil? || CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue.validate_raw(obj: obj.oop_max)
|
116
141
|
obj.oop_max_remaining.nil? || CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue.validate_raw(obj: obj.oop_max_remaining)
|
142
|
+
obj.oop_year_to_date.nil? || CandidApiClient::PreEncounter::Coverages::V1::Types::CoverageValue.validate_raw(obj: obj.oop_year_to_date)
|
117
143
|
obj.additional_notes&.is_a?(String) != false || raise("Passed value for field obj.additional_notes is not the expected type, validation failed.")
|
118
144
|
end
|
119
145
|
end
|
@@ -16,6 +16,8 @@ module CandidApiClient
|
|
16
16
|
attr_reader :next_page_token
|
17
17
|
# @return [String]
|
18
18
|
attr_reader :prev_page_token
|
19
|
+
# @return [Integer]
|
20
|
+
attr_reader :total
|
19
21
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
20
22
|
attr_reader :additional_properties
|
21
23
|
# @return [Object]
|
@@ -27,17 +29,20 @@ module CandidApiClient
|
|
27
29
|
# @param items [Array<CandidApiClient::PreEncounter::Lists::V1::Types::AppointmentListItem>]
|
28
30
|
# @param next_page_token [String]
|
29
31
|
# @param prev_page_token [String]
|
32
|
+
# @param total [Integer]
|
30
33
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
31
34
|
# @return [CandidApiClient::PreEncounter::Lists::V1::Types::AppointmentListPage]
|
32
|
-
def initialize(items:, next_page_token: OMIT, prev_page_token: OMIT, additional_properties: nil)
|
35
|
+
def initialize(items:, total:, next_page_token: OMIT, prev_page_token: OMIT, additional_properties: nil)
|
33
36
|
@items = items
|
34
37
|
@next_page_token = next_page_token if next_page_token != OMIT
|
35
38
|
@prev_page_token = prev_page_token if prev_page_token != OMIT
|
39
|
+
@total = total
|
36
40
|
@additional_properties = additional_properties
|
37
41
|
@_field_set = {
|
38
42
|
"items": items,
|
39
43
|
"next_page_token": next_page_token,
|
40
|
-
"prev_page_token": prev_page_token
|
44
|
+
"prev_page_token": prev_page_token,
|
45
|
+
"total": total
|
41
46
|
}.reject do |_k, v|
|
42
47
|
v == OMIT
|
43
48
|
end
|
@@ -56,10 +61,12 @@ module CandidApiClient
|
|
56
61
|
end
|
57
62
|
next_page_token = struct["next_page_token"]
|
58
63
|
prev_page_token = struct["prev_page_token"]
|
64
|
+
total = struct["total"]
|
59
65
|
new(
|
60
66
|
items: items,
|
61
67
|
next_page_token: next_page_token,
|
62
68
|
prev_page_token: prev_page_token,
|
69
|
+
total: total,
|
63
70
|
additional_properties: struct
|
64
71
|
)
|
65
72
|
end
|
@@ -81,6 +88,7 @@ module CandidApiClient
|
|
81
88
|
obj.items.is_a?(Array) != false || raise("Passed value for field obj.items is not the expected type, validation failed.")
|
82
89
|
obj.next_page_token&.is_a?(String) != false || raise("Passed value for field obj.next_page_token is not the expected type, validation failed.")
|
83
90
|
obj.prev_page_token&.is_a?(String) != false || raise("Passed value for field obj.prev_page_token is not the expected type, validation failed.")
|
91
|
+
obj.total.is_a?(Integer) != false || raise("Passed value for field obj.total is not the expected type, validation failed.")
|
84
92
|
end
|
85
93
|
end
|
86
94
|
end
|
@@ -16,6 +16,8 @@ module CandidApiClient
|
|
16
16
|
attr_reader :next_page_token
|
17
17
|
# @return [String]
|
18
18
|
attr_reader :prev_page_token
|
19
|
+
# @return [Integer]
|
20
|
+
attr_reader :total
|
19
21
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
20
22
|
attr_reader :additional_properties
|
21
23
|
# @return [Object]
|
@@ -27,17 +29,20 @@ module CandidApiClient
|
|
27
29
|
# @param items [Array<CandidApiClient::PreEncounter::Lists::V1::Types::PatientListItem>]
|
28
30
|
# @param next_page_token [String]
|
29
31
|
# @param prev_page_token [String]
|
32
|
+
# @param total [Integer]
|
30
33
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
31
34
|
# @return [CandidApiClient::PreEncounter::Lists::V1::Types::PatientListPage]
|
32
|
-
def initialize(items:, next_page_token: OMIT, prev_page_token: OMIT, additional_properties: nil)
|
35
|
+
def initialize(items:, total:, next_page_token: OMIT, prev_page_token: OMIT, additional_properties: nil)
|
33
36
|
@items = items
|
34
37
|
@next_page_token = next_page_token if next_page_token != OMIT
|
35
38
|
@prev_page_token = prev_page_token if prev_page_token != OMIT
|
39
|
+
@total = total
|
36
40
|
@additional_properties = additional_properties
|
37
41
|
@_field_set = {
|
38
42
|
"items": items,
|
39
43
|
"next_page_token": next_page_token,
|
40
|
-
"prev_page_token": prev_page_token
|
44
|
+
"prev_page_token": prev_page_token,
|
45
|
+
"total": total
|
41
46
|
}.reject do |_k, v|
|
42
47
|
v == OMIT
|
43
48
|
end
|
@@ -56,10 +61,12 @@ module CandidApiClient
|
|
56
61
|
end
|
57
62
|
next_page_token = struct["next_page_token"]
|
58
63
|
prev_page_token = struct["prev_page_token"]
|
64
|
+
total = struct["total"]
|
59
65
|
new(
|
60
66
|
items: items,
|
61
67
|
next_page_token: next_page_token,
|
62
68
|
prev_page_token: prev_page_token,
|
69
|
+
total: total,
|
63
70
|
additional_properties: struct
|
64
71
|
)
|
65
72
|
end
|
@@ -81,6 +88,7 @@ module CandidApiClient
|
|
81
88
|
obj.items.is_a?(Array) != false || raise("Passed value for field obj.items is not the expected type, validation failed.")
|
82
89
|
obj.next_page_token&.is_a?(String) != false || raise("Passed value for field obj.next_page_token is not the expected type, validation failed.")
|
83
90
|
obj.prev_page_token&.is_a?(String) != false || raise("Passed value for field obj.prev_page_token is not the expected type, validation failed.")
|
91
|
+
obj.total.is_a?(Integer) != false || raise("Passed value for field obj.total is not the expected type, validation failed.")
|
84
92
|
end
|
85
93
|
end
|
86
94
|
end
|
@@ -16,6 +16,8 @@ module CandidApiClient
|
|
16
16
|
attr_reader :next_page_token
|
17
17
|
# @return [String]
|
18
18
|
attr_reader :prev_page_token
|
19
|
+
# @return [Integer]
|
20
|
+
attr_reader :total
|
19
21
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
20
22
|
attr_reader :additional_properties
|
21
23
|
# @return [Object]
|
@@ -27,17 +29,20 @@ module CandidApiClient
|
|
27
29
|
# @param items [Array<CandidApiClient::PreEncounter::Patients::V1::Types::Patient>]
|
28
30
|
# @param next_page_token [String]
|
29
31
|
# @param prev_page_token [String]
|
32
|
+
# @param total [Integer]
|
30
33
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
31
34
|
# @return [CandidApiClient::PreEncounter::Patients::V1::Types::PatientPage]
|
32
|
-
def initialize(items:, next_page_token: OMIT, prev_page_token: OMIT, additional_properties: nil)
|
35
|
+
def initialize(items:, total:, next_page_token: OMIT, prev_page_token: OMIT, additional_properties: nil)
|
33
36
|
@items = items
|
34
37
|
@next_page_token = next_page_token if next_page_token != OMIT
|
35
38
|
@prev_page_token = prev_page_token if prev_page_token != OMIT
|
39
|
+
@total = total
|
36
40
|
@additional_properties = additional_properties
|
37
41
|
@_field_set = {
|
38
42
|
"items": items,
|
39
43
|
"next_page_token": next_page_token,
|
40
|
-
"prev_page_token": prev_page_token
|
44
|
+
"prev_page_token": prev_page_token,
|
45
|
+
"total": total
|
41
46
|
}.reject do |_k, v|
|
42
47
|
v == OMIT
|
43
48
|
end
|
@@ -56,10 +61,12 @@ module CandidApiClient
|
|
56
61
|
end
|
57
62
|
next_page_token = struct["next_page_token"]
|
58
63
|
prev_page_token = struct["prev_page_token"]
|
64
|
+
total = struct["total"]
|
59
65
|
new(
|
60
66
|
items: items,
|
61
67
|
next_page_token: next_page_token,
|
62
68
|
prev_page_token: prev_page_token,
|
69
|
+
total: total,
|
63
70
|
additional_properties: struct
|
64
71
|
)
|
65
72
|
end
|
@@ -81,6 +88,7 @@ module CandidApiClient
|
|
81
88
|
obj.items.is_a?(Array) != false || raise("Passed value for field obj.items is not the expected type, validation failed.")
|
82
89
|
obj.next_page_token&.is_a?(String) != false || raise("Passed value for field obj.next_page_token is not the expected type, validation failed.")
|
83
90
|
obj.prev_page_token&.is_a?(String) != false || raise("Passed value for field obj.prev_page_token is not the expected type, validation failed.")
|
91
|
+
obj.total.is_a?(Integer) != false || raise("Passed value for field obj.total is not the expected type, validation failed.")
|
84
92
|
end
|
85
93
|
end
|
86
94
|
end
|
@@ -16,6 +16,8 @@ module CandidApiClient
|
|
16
16
|
attr_reader :next_page_token
|
17
17
|
# @return [String]
|
18
18
|
attr_reader :prev_page_token
|
19
|
+
# @return [Integer]
|
20
|
+
attr_reader :total
|
19
21
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
20
22
|
attr_reader :additional_properties
|
21
23
|
# @return [Object]
|
@@ -27,17 +29,20 @@ module CandidApiClient
|
|
27
29
|
# @param items [Array<CandidApiClient::PreEncounter::Tags::V1::Types::Tag>]
|
28
30
|
# @param next_page_token [String]
|
29
31
|
# @param prev_page_token [String]
|
32
|
+
# @param total [Integer]
|
30
33
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
31
34
|
# @return [CandidApiClient::PreEncounter::Tags::V1::Types::TagPage]
|
32
|
-
def initialize(items:, next_page_token: OMIT, prev_page_token: OMIT, additional_properties: nil)
|
35
|
+
def initialize(items:, total:, next_page_token: OMIT, prev_page_token: OMIT, additional_properties: nil)
|
33
36
|
@items = items
|
34
37
|
@next_page_token = next_page_token if next_page_token != OMIT
|
35
38
|
@prev_page_token = prev_page_token if prev_page_token != OMIT
|
39
|
+
@total = total
|
36
40
|
@additional_properties = additional_properties
|
37
41
|
@_field_set = {
|
38
42
|
"items": items,
|
39
43
|
"next_page_token": next_page_token,
|
40
|
-
"prev_page_token": prev_page_token
|
44
|
+
"prev_page_token": prev_page_token,
|
45
|
+
"total": total
|
41
46
|
}.reject do |_k, v|
|
42
47
|
v == OMIT
|
43
48
|
end
|
@@ -56,10 +61,12 @@ module CandidApiClient
|
|
56
61
|
end
|
57
62
|
next_page_token = struct["next_page_token"]
|
58
63
|
prev_page_token = struct["prev_page_token"]
|
64
|
+
total = struct["total"]
|
59
65
|
new(
|
60
66
|
items: items,
|
61
67
|
next_page_token: next_page_token,
|
62
68
|
prev_page_token: prev_page_token,
|
69
|
+
total: total,
|
63
70
|
additional_properties: struct
|
64
71
|
)
|
65
72
|
end
|
@@ -81,6 +88,7 @@ module CandidApiClient
|
|
81
88
|
obj.items.is_a?(Array) != false || raise("Passed value for field obj.items is not the expected type, validation failed.")
|
82
89
|
obj.next_page_token&.is_a?(String) != false || raise("Passed value for field obj.next_page_token is not the expected type, validation failed.")
|
83
90
|
obj.prev_page_token&.is_a?(String) != false || raise("Passed value for field obj.prev_page_token is not the expected type, validation failed.")
|
91
|
+
obj.total.is_a?(Integer) != false || raise("Passed value for field obj.total is not the expected type, validation failed.")
|
84
92
|
end
|
85
93
|
end
|
86
94
|
end
|
@@ -27,6 +27,7 @@ module CandidApiClient
|
|
27
27
|
# * :city (String)
|
28
28
|
# * :state (CandidApiClient::Commons::Types::State)
|
29
29
|
# * :zip_code (String)
|
30
|
+
# * :secondary_identification (String)
|
30
31
|
# @param request_options [CandidApiClient::RequestOptions]
|
31
32
|
# @return [CandidApiClient::ServiceFacility::Types::EncounterServiceFacility]
|
32
33
|
# @example
|
@@ -70,6 +71,7 @@ module CandidApiClient
|
|
70
71
|
# * :city (String)
|
71
72
|
# * :state (CandidApiClient::Commons::Types::State)
|
72
73
|
# * :zip_code (String)
|
74
|
+
# * :secondary_identification (String)
|
73
75
|
# @param request_options [CandidApiClient::RequestOptions]
|
74
76
|
# @return [CandidApiClient::ServiceFacility::Types::EncounterServiceFacility]
|
75
77
|
# @example
|