candidhealth 1.8.1 → 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/diagnoses/client.rb +2 -2
- data/lib/candidhealth/encounters/v_4/client.rb +479 -2522
- data/lib/candidhealth/encounters/v_4/types/encounter_submission_expectation.rb +3 -6
- data/lib/candidhealth/guarantor/v_1/types/guarantor.rb +4 -4
- 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 +4 -4
- 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/payer.rb +10 -2
- 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 +1 -21
- metadata +3 -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
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require_relative "patient_reason_for_visit_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::PatientReasonForVisit]
|
|
130
49
|
def initialize(patient_reason_for_visit_code_qualifier:, patient_reason_for_visit:, id: OMIT,
|
|
131
|
-
encounter_id: OMIT,
|
|
50
|
+
encounter_id: OMIT, additional_properties: nil)
|
|
132
51
|
@patient_reason_for_visit_code_qualifier = patient_reason_for_visit_code_qualifier
|
|
133
52
|
@patient_reason_for_visit = patient_reason_for_visit
|
|
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
|
"patient_reason_for_visit_code_qualifier": patient_reason_for_visit_code_qualifier,
|
|
150
58
|
"patient_reason_for_visit": patient_reason_for_visit,
|
|
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
|
patient_reason_for_visit = struct["patient_reason_for_visit"]
|
|
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
|
patient_reason_for_visit_code_qualifier: patient_reason_for_visit_code_qualifier,
|
|
188
78
|
patient_reason_for_visit: patient_reason_for_visit,
|
|
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.patient_reason_for_visit.is_a?(String) != false || raise("Passed value for field obj.patient_reason_for_visit 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
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
require_relative "principal_diagnosis_code_qualifier"
|
|
4
4
|
require_relative "present_on_admission_indicator_code"
|
|
5
|
-
require_relative "code_list_qualifier_code"
|
|
6
|
-
require_relative "date_time_period_format_qualifier"
|
|
7
5
|
require "ostruct"
|
|
8
6
|
require "json"
|
|
9
7
|
|
|
@@ -30,50 +28,6 @@ module CandidApiClient
|
|
|
30
28
|
# This will be set by the server in responses, but clients are not expected to set
|
|
31
29
|
# it.
|
|
32
30
|
attr_reader :encounter_id
|
|
33
|
-
# @return [CandidApiClient::HealthCareCodeInformation::V1::Types::CodeListQualifierCode]
|
|
34
|
-
attr_reader :code_list_qualifier
|
|
35
|
-
# @return [String] A code string whose interpretation depends on the code_list_qualifier being set.
|
|
36
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
37
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
38
|
-
# reporting.
|
|
39
|
-
attr_reader :industry_code_1
|
|
40
|
-
# @return [String] A code string whose interpretation depends on the code_list_qualifier being set.
|
|
41
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
42
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
43
|
-
# reporting.
|
|
44
|
-
attr_reader :industry_code_2
|
|
45
|
-
# @return [String] A code string whose interpretation depends on the code_list_qualifier being set.
|
|
46
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
47
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
48
|
-
# reporting.
|
|
49
|
-
attr_reader :industry_code_3
|
|
50
|
-
# @return [String] A code string whose interpretation depends on the code_list_qualifier being set.
|
|
51
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
52
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
53
|
-
# reporting.
|
|
54
|
-
attr_reader :industry_code_4
|
|
55
|
-
# @return [CandidApiClient::HealthCareCodeInformation::V1::Types::DateTimePeriodFormatQualifier] Controls how the date_time_period field is interpreted and is submitted
|
|
56
|
-
# as part of claim process.
|
|
57
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
58
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
59
|
-
# reporting.
|
|
60
|
-
attr_reader :date_time_period_format_qualifier
|
|
61
|
-
# @return [String] A string, formatted according to date_time_period_format_qualifier, which
|
|
62
|
-
# ultimately represents the date time period in which an information object
|
|
63
|
-
# is covering.
|
|
64
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
65
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
66
|
-
# reporting.
|
|
67
|
-
attr_reader :date_time_period
|
|
68
|
-
# @return [String] A decimal used to represent ValueInformation results.
|
|
69
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
70
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
71
|
-
# reporting.
|
|
72
|
-
attr_reader :monetary_amount
|
|
73
|
-
# @return [String] You do not need to set this field generally, instead it is provided as advisory
|
|
74
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
75
|
-
# reporting.
|
|
76
|
-
attr_reader :quantity
|
|
77
31
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
|
78
32
|
attr_reader :additional_properties
|
|
79
33
|
# @return [Object]
|
|
@@ -94,77 +48,22 @@ module CandidApiClient
|
|
|
94
48
|
# @param encounter_id [String] The encounter_id of this health care code information if it is already stored.
|
|
95
49
|
# This will be set by the server in responses, but clients are not expected to set
|
|
96
50
|
# it.
|
|
97
|
-
# @param code_list_qualifier [CandidApiClient::HealthCareCodeInformation::V1::Types::CodeListQualifierCode]
|
|
98
|
-
# @param industry_code_1 [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_2 [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_3 [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 industry_code_4 [String] A code string whose interpretation depends on the code_list_qualifier being set.
|
|
111
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
112
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
113
|
-
# reporting.
|
|
114
|
-
# @param date_time_period_format_qualifier [CandidApiClient::HealthCareCodeInformation::V1::Types::DateTimePeriodFormatQualifier] Controls how the date_time_period field is interpreted and is submitted
|
|
115
|
-
# as part of claim process.
|
|
116
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
117
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
118
|
-
# reporting.
|
|
119
|
-
# @param date_time_period [String] A string, formatted according to date_time_period_format_qualifier, which
|
|
120
|
-
# ultimately represents the date time period in which an information object
|
|
121
|
-
# is covering.
|
|
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 monetary_amount [String] A decimal used to represent ValueInformation results.
|
|
126
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
127
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
128
|
-
# reporting.
|
|
129
|
-
# @param quantity [String] You do not need to set this field generally, instead it is provided as advisory
|
|
130
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
131
|
-
# reporting.
|
|
132
51
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
133
52
|
# @return [CandidApiClient::HealthCareCodeInformation::V1::Types::PrincipalDiagnosis]
|
|
134
53
|
def initialize(principal_diagnosis_code_qualifier:, primary_diagnosis_code:,
|
|
135
|
-
present_on_admission_indicator: OMIT, id: OMIT, encounter_id: OMIT,
|
|
54
|
+
present_on_admission_indicator: OMIT, id: OMIT, encounter_id: OMIT, additional_properties: nil)
|
|
136
55
|
@principal_diagnosis_code_qualifier = principal_diagnosis_code_qualifier
|
|
137
56
|
@primary_diagnosis_code = primary_diagnosis_code
|
|
138
57
|
@present_on_admission_indicator = present_on_admission_indicator if present_on_admission_indicator != OMIT
|
|
139
58
|
@id = id if id != OMIT
|
|
140
59
|
@encounter_id = encounter_id if encounter_id != OMIT
|
|
141
|
-
@code_list_qualifier = code_list_qualifier if code_list_qualifier != OMIT
|
|
142
|
-
@industry_code_1 = industry_code_1 if industry_code_1 != OMIT
|
|
143
|
-
@industry_code_2 = industry_code_2 if industry_code_2 != OMIT
|
|
144
|
-
@industry_code_3 = industry_code_3 if industry_code_3 != OMIT
|
|
145
|
-
@industry_code_4 = industry_code_4 if industry_code_4 != OMIT
|
|
146
|
-
if date_time_period_format_qualifier != OMIT
|
|
147
|
-
@date_time_period_format_qualifier = date_time_period_format_qualifier
|
|
148
|
-
end
|
|
149
|
-
@date_time_period = date_time_period if date_time_period != OMIT
|
|
150
|
-
@monetary_amount = monetary_amount if monetary_amount != OMIT
|
|
151
|
-
@quantity = quantity if quantity != OMIT
|
|
152
60
|
@additional_properties = additional_properties
|
|
153
61
|
@_field_set = {
|
|
154
62
|
"principal_diagnosis_code_qualifier": principal_diagnosis_code_qualifier,
|
|
155
63
|
"primary_diagnosis_code": primary_diagnosis_code,
|
|
156
64
|
"present_on_admission_indicator": present_on_admission_indicator,
|
|
157
65
|
"id": id,
|
|
158
|
-
"encounter_id": encounter_id
|
|
159
|
-
"code_list_qualifier": code_list_qualifier,
|
|
160
|
-
"industry_code_1": industry_code_1,
|
|
161
|
-
"industry_code_2": industry_code_2,
|
|
162
|
-
"industry_code_3": industry_code_3,
|
|
163
|
-
"industry_code_4": industry_code_4,
|
|
164
|
-
"date_time_period_format_qualifier": date_time_period_format_qualifier,
|
|
165
|
-
"date_time_period": date_time_period,
|
|
166
|
-
"monetary_amount": monetary_amount,
|
|
167
|
-
"quantity": quantity
|
|
66
|
+
"encounter_id": encounter_id
|
|
168
67
|
}.reject do |_k, v|
|
|
169
68
|
v == OMIT
|
|
170
69
|
end
|
|
@@ -181,30 +80,12 @@ module CandidApiClient
|
|
|
181
80
|
present_on_admission_indicator = struct["present_on_admission_indicator"]
|
|
182
81
|
id = struct["id"]
|
|
183
82
|
encounter_id = struct["encounter_id"]
|
|
184
|
-
code_list_qualifier = struct["code_list_qualifier"]
|
|
185
|
-
industry_code_1 = struct["industry_code_1"]
|
|
186
|
-
industry_code_2 = struct["industry_code_2"]
|
|
187
|
-
industry_code_3 = struct["industry_code_3"]
|
|
188
|
-
industry_code_4 = struct["industry_code_4"]
|
|
189
|
-
date_time_period_format_qualifier = struct["date_time_period_format_qualifier"]
|
|
190
|
-
date_time_period = struct["date_time_period"]
|
|
191
|
-
monetary_amount = struct["monetary_amount"]
|
|
192
|
-
quantity = struct["quantity"]
|
|
193
83
|
new(
|
|
194
84
|
principal_diagnosis_code_qualifier: principal_diagnosis_code_qualifier,
|
|
195
85
|
primary_diagnosis_code: primary_diagnosis_code,
|
|
196
86
|
present_on_admission_indicator: present_on_admission_indicator,
|
|
197
87
|
id: id,
|
|
198
88
|
encounter_id: encounter_id,
|
|
199
|
-
code_list_qualifier: code_list_qualifier,
|
|
200
|
-
industry_code_1: industry_code_1,
|
|
201
|
-
industry_code_2: industry_code_2,
|
|
202
|
-
industry_code_3: industry_code_3,
|
|
203
|
-
industry_code_4: industry_code_4,
|
|
204
|
-
date_time_period_format_qualifier: date_time_period_format_qualifier,
|
|
205
|
-
date_time_period: date_time_period,
|
|
206
|
-
monetary_amount: monetary_amount,
|
|
207
|
-
quantity: quantity,
|
|
208
89
|
additional_properties: struct
|
|
209
90
|
)
|
|
210
91
|
end
|
|
@@ -228,15 +109,6 @@ module CandidApiClient
|
|
|
228
109
|
obj.present_on_admission_indicator&.is_a?(CandidApiClient::HealthCareCodeInformation::V1::Types::PresentOnAdmissionIndicatorCode) != false || raise("Passed value for field obj.present_on_admission_indicator is not the expected type, validation failed.")
|
|
229
110
|
obj.id&.is_a?(String) != false || raise("Passed value for field obj.id is not the expected type, validation failed.")
|
|
230
111
|
obj.encounter_id&.is_a?(String) != false || raise("Passed value for field obj.encounter_id is not the expected type, validation failed.")
|
|
231
|
-
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.")
|
|
232
|
-
obj.industry_code_1&.is_a?(String) != false || raise("Passed value for field obj.industry_code_1 is not the expected type, validation failed.")
|
|
233
|
-
obj.industry_code_2&.is_a?(String) != false || raise("Passed value for field obj.industry_code_2 is not the expected type, validation failed.")
|
|
234
|
-
obj.industry_code_3&.is_a?(String) != false || raise("Passed value for field obj.industry_code_3 is not the expected type, validation failed.")
|
|
235
|
-
obj.industry_code_4&.is_a?(String) != false || raise("Passed value for field obj.industry_code_4 is not the expected type, validation failed.")
|
|
236
|
-
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.")
|
|
237
|
-
obj.date_time_period&.is_a?(String) != false || raise("Passed value for field obj.date_time_period is not the expected type, validation failed.")
|
|
238
|
-
obj.monetary_amount&.is_a?(String) != false || raise("Passed value for field obj.monetary_amount is not the expected type, validation failed.")
|
|
239
|
-
obj.quantity&.is_a?(String) != false || raise("Passed value for field obj.quantity is not the expected type, validation failed.")
|
|
240
112
|
end
|
|
241
113
|
end
|
|
242
114
|
end
|
data/lib/candidhealth/health_care_code_information/v_1/types/principal_procedure_information.rb
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
require_relative "principal_procedure_information_code_qualifier"
|
|
4
4
|
require "date"
|
|
5
|
-
require_relative "code_list_qualifier_code"
|
|
6
|
-
require_relative "date_time_period_format_qualifier"
|
|
7
5
|
require "ostruct"
|
|
8
6
|
require "json"
|
|
9
7
|
|
|
@@ -17,7 +15,10 @@ module CandidApiClient
|
|
|
17
15
|
attr_reader :principal_procedure_code_qualifier
|
|
18
16
|
# @return [String]
|
|
19
17
|
attr_reader :principal_procedure_code
|
|
20
|
-
# @return [DateTime]
|
|
18
|
+
# @return [DateTime] An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/).
|
|
19
|
+
# For example, 2017-07-21T17:32:28Z.
|
|
20
|
+
# In practice, only the date portion of this is used for claim submission, so
|
|
21
|
+
# midnight time is fine.
|
|
21
22
|
attr_reader :procedure_date
|
|
22
23
|
# @return [String] The id of this health care code information if it is already stored.
|
|
23
24
|
# If this is not set, this is referring to a new health care code information to
|
|
@@ -30,50 +31,6 @@ module CandidApiClient
|
|
|
30
31
|
# This will be set by the server in responses, but clients are not expected to set
|
|
31
32
|
# it.
|
|
32
33
|
attr_reader :encounter_id
|
|
33
|
-
# @return [CandidApiClient::HealthCareCodeInformation::V1::Types::CodeListQualifierCode]
|
|
34
|
-
attr_reader :code_list_qualifier
|
|
35
|
-
# @return [String] A code string whose interpretation depends on the code_list_qualifier being set.
|
|
36
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
37
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
38
|
-
# reporting.
|
|
39
|
-
attr_reader :industry_code_1
|
|
40
|
-
# @return [String] A code string whose interpretation depends on the code_list_qualifier being set.
|
|
41
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
42
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
43
|
-
# reporting.
|
|
44
|
-
attr_reader :industry_code_2
|
|
45
|
-
# @return [String] A code string whose interpretation depends on the code_list_qualifier being set.
|
|
46
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
47
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
48
|
-
# reporting.
|
|
49
|
-
attr_reader :industry_code_3
|
|
50
|
-
# @return [String] A code string whose interpretation depends on the code_list_qualifier being set.
|
|
51
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
52
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
53
|
-
# reporting.
|
|
54
|
-
attr_reader :industry_code_4
|
|
55
|
-
# @return [CandidApiClient::HealthCareCodeInformation::V1::Types::DateTimePeriodFormatQualifier] Controls how the date_time_period field is interpreted and is submitted
|
|
56
|
-
# as part of claim process.
|
|
57
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
58
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
59
|
-
# reporting.
|
|
60
|
-
attr_reader :date_time_period_format_qualifier
|
|
61
|
-
# @return [String] A string, formatted according to date_time_period_format_qualifier, which
|
|
62
|
-
# ultimately represents the date time period in which an information object
|
|
63
|
-
# is covering.
|
|
64
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
65
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
66
|
-
# reporting.
|
|
67
|
-
attr_reader :date_time_period
|
|
68
|
-
# @return [String] A decimal used to represent ValueInformation results.
|
|
69
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
70
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
71
|
-
# reporting.
|
|
72
|
-
attr_reader :monetary_amount
|
|
73
|
-
# @return [String] You do not need to set this field generally, instead it is provided as advisory
|
|
74
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
75
|
-
# reporting.
|
|
76
|
-
attr_reader :quantity
|
|
77
34
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
|
78
35
|
attr_reader :additional_properties
|
|
79
36
|
# @return [Object]
|
|
@@ -84,7 +41,10 @@ module CandidApiClient
|
|
|
84
41
|
|
|
85
42
|
# @param principal_procedure_code_qualifier [CandidApiClient::HealthCareCodeInformation::V1::Types::PrincipalProcedureInformationCodeQualifier]
|
|
86
43
|
# @param principal_procedure_code [String]
|
|
87
|
-
# @param procedure_date [DateTime]
|
|
44
|
+
# @param procedure_date [DateTime] An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/).
|
|
45
|
+
# For example, 2017-07-21T17:32:28Z.
|
|
46
|
+
# In practice, only the date portion of this is used for claim submission, so
|
|
47
|
+
# midnight time is fine.
|
|
88
48
|
# @param id [String] The id of this health care code information if it is already stored.
|
|
89
49
|
# If this is not set, this is referring to a new health care code information to
|
|
90
50
|
# be added
|
|
@@ -94,77 +54,22 @@ module CandidApiClient
|
|
|
94
54
|
# @param encounter_id [String] The encounter_id of this health care code information if it is already stored.
|
|
95
55
|
# This will be set by the server in responses, but clients are not expected to set
|
|
96
56
|
# it.
|
|
97
|
-
# @param code_list_qualifier [CandidApiClient::HealthCareCodeInformation::V1::Types::CodeListQualifierCode]
|
|
98
|
-
# @param industry_code_1 [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_2 [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_3 [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 industry_code_4 [String] A code string whose interpretation depends on the code_list_qualifier being set.
|
|
111
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
112
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
113
|
-
# reporting.
|
|
114
|
-
# @param date_time_period_format_qualifier [CandidApiClient::HealthCareCodeInformation::V1::Types::DateTimePeriodFormatQualifier] Controls how the date_time_period field is interpreted and is submitted
|
|
115
|
-
# as part of claim process.
|
|
116
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
117
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
118
|
-
# reporting.
|
|
119
|
-
# @param date_time_period [String] A string, formatted according to date_time_period_format_qualifier, which
|
|
120
|
-
# ultimately represents the date time period in which an information object
|
|
121
|
-
# is covering.
|
|
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 monetary_amount [String] A decimal used to represent ValueInformation results.
|
|
126
|
-
# You do not need to set this field generally, instead it is provided as advisory
|
|
127
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
128
|
-
# reporting.
|
|
129
|
-
# @param quantity [String] You do not need to set this field generally, instead it is provided as advisory
|
|
130
|
-
# context on how this HealthCareCodeInformation's data will be available in
|
|
131
|
-
# reporting.
|
|
132
57
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
133
58
|
# @return [CandidApiClient::HealthCareCodeInformation::V1::Types::PrincipalProcedureInformation]
|
|
134
59
|
def initialize(principal_procedure_code_qualifier:, principal_procedure_code:, procedure_date:, id: OMIT,
|
|
135
|
-
encounter_id: OMIT,
|
|
60
|
+
encounter_id: OMIT, additional_properties: nil)
|
|
136
61
|
@principal_procedure_code_qualifier = principal_procedure_code_qualifier
|
|
137
62
|
@principal_procedure_code = principal_procedure_code
|
|
138
63
|
@procedure_date = procedure_date
|
|
139
64
|
@id = id if id != OMIT
|
|
140
65
|
@encounter_id = encounter_id if encounter_id != OMIT
|
|
141
|
-
@code_list_qualifier = code_list_qualifier if code_list_qualifier != OMIT
|
|
142
|
-
@industry_code_1 = industry_code_1 if industry_code_1 != OMIT
|
|
143
|
-
@industry_code_2 = industry_code_2 if industry_code_2 != OMIT
|
|
144
|
-
@industry_code_3 = industry_code_3 if industry_code_3 != OMIT
|
|
145
|
-
@industry_code_4 = industry_code_4 if industry_code_4 != OMIT
|
|
146
|
-
if date_time_period_format_qualifier != OMIT
|
|
147
|
-
@date_time_period_format_qualifier = date_time_period_format_qualifier
|
|
148
|
-
end
|
|
149
|
-
@date_time_period = date_time_period if date_time_period != OMIT
|
|
150
|
-
@monetary_amount = monetary_amount if monetary_amount != OMIT
|
|
151
|
-
@quantity = quantity if quantity != OMIT
|
|
152
66
|
@additional_properties = additional_properties
|
|
153
67
|
@_field_set = {
|
|
154
68
|
"principal_procedure_code_qualifier": principal_procedure_code_qualifier,
|
|
155
69
|
"principal_procedure_code": principal_procedure_code,
|
|
156
70
|
"procedure_date": procedure_date,
|
|
157
71
|
"id": id,
|
|
158
|
-
"encounter_id": encounter_id
|
|
159
|
-
"code_list_qualifier": code_list_qualifier,
|
|
160
|
-
"industry_code_1": industry_code_1,
|
|
161
|
-
"industry_code_2": industry_code_2,
|
|
162
|
-
"industry_code_3": industry_code_3,
|
|
163
|
-
"industry_code_4": industry_code_4,
|
|
164
|
-
"date_time_period_format_qualifier": date_time_period_format_qualifier,
|
|
165
|
-
"date_time_period": date_time_period,
|
|
166
|
-
"monetary_amount": monetary_amount,
|
|
167
|
-
"quantity": quantity
|
|
72
|
+
"encounter_id": encounter_id
|
|
168
73
|
}.reject do |_k, v|
|
|
169
74
|
v == OMIT
|
|
170
75
|
end
|
|
@@ -182,30 +87,12 @@ module CandidApiClient
|
|
|
182
87
|
procedure_date = (DateTime.parse(parsed_json["procedure_date"]) unless parsed_json["procedure_date"].nil?)
|
|
183
88
|
id = struct["id"]
|
|
184
89
|
encounter_id = struct["encounter_id"]
|
|
185
|
-
code_list_qualifier = struct["code_list_qualifier"]
|
|
186
|
-
industry_code_1 = struct["industry_code_1"]
|
|
187
|
-
industry_code_2 = struct["industry_code_2"]
|
|
188
|
-
industry_code_3 = struct["industry_code_3"]
|
|
189
|
-
industry_code_4 = struct["industry_code_4"]
|
|
190
|
-
date_time_period_format_qualifier = struct["date_time_period_format_qualifier"]
|
|
191
|
-
date_time_period = struct["date_time_period"]
|
|
192
|
-
monetary_amount = struct["monetary_amount"]
|
|
193
|
-
quantity = struct["quantity"]
|
|
194
90
|
new(
|
|
195
91
|
principal_procedure_code_qualifier: principal_procedure_code_qualifier,
|
|
196
92
|
principal_procedure_code: principal_procedure_code,
|
|
197
93
|
procedure_date: procedure_date,
|
|
198
94
|
id: id,
|
|
199
95
|
encounter_id: encounter_id,
|
|
200
|
-
code_list_qualifier: code_list_qualifier,
|
|
201
|
-
industry_code_1: industry_code_1,
|
|
202
|
-
industry_code_2: industry_code_2,
|
|
203
|
-
industry_code_3: industry_code_3,
|
|
204
|
-
industry_code_4: industry_code_4,
|
|
205
|
-
date_time_period_format_qualifier: date_time_period_format_qualifier,
|
|
206
|
-
date_time_period: date_time_period,
|
|
207
|
-
monetary_amount: monetary_amount,
|
|
208
|
-
quantity: quantity,
|
|
209
96
|
additional_properties: struct
|
|
210
97
|
)
|
|
211
98
|
end
|
|
@@ -229,15 +116,6 @@ module CandidApiClient
|
|
|
229
116
|
obj.procedure_date.is_a?(DateTime) != false || raise("Passed value for field obj.procedure_date is not the expected type, validation failed.")
|
|
230
117
|
obj.id&.is_a?(String) != false || raise("Passed value for field obj.id is not the expected type, validation failed.")
|
|
231
118
|
obj.encounter_id&.is_a?(String) != false || raise("Passed value for field obj.encounter_id is not the expected type, validation failed.")
|
|
232
|
-
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.")
|
|
233
|
-
obj.industry_code_1&.is_a?(String) != false || raise("Passed value for field obj.industry_code_1 is not the expected type, validation failed.")
|
|
234
|
-
obj.industry_code_2&.is_a?(String) != false || raise("Passed value for field obj.industry_code_2 is not the expected type, validation failed.")
|
|
235
|
-
obj.industry_code_3&.is_a?(String) != false || raise("Passed value for field obj.industry_code_3 is not the expected type, validation failed.")
|
|
236
|
-
obj.industry_code_4&.is_a?(String) != false || raise("Passed value for field obj.industry_code_4 is not the expected type, validation failed.")
|
|
237
|
-
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.")
|
|
238
|
-
obj.date_time_period&.is_a?(String) != false || raise("Passed value for field obj.date_time_period is not the expected type, validation failed.")
|
|
239
|
-
obj.monetary_amount&.is_a?(String) != false || raise("Passed value for field obj.monetary_amount is not the expected type, validation failed.")
|
|
240
|
-
obj.quantity&.is_a?(String) != false || raise("Passed value for field obj.quantity is not the expected type, validation failed.")
|
|
241
119
|
end
|
|
242
120
|
end
|
|
243
121
|
end
|
|
@@ -9,9 +9,15 @@ module CandidApiClient
|
|
|
9
9
|
module V1
|
|
10
10
|
module Types
|
|
11
11
|
class Rd8Date
|
|
12
|
-
# @return [DateTime]
|
|
12
|
+
# @return [DateTime] An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/).
|
|
13
|
+
# For example, 2017-07-21T17:32:28Z.
|
|
14
|
+
# In practice, only the date portion of this is used for claim submission, so
|
|
15
|
+
# midnight time is fine.
|
|
13
16
|
attr_reader :start
|
|
14
|
-
# @return [DateTime]
|
|
17
|
+
# @return [DateTime] An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/).
|
|
18
|
+
# For example, 2017-07-21T17:32:28Z.
|
|
19
|
+
# In practice, only the date portion of this is used for claim submission, so
|
|
20
|
+
# midnight time is fine.
|
|
15
21
|
attr_reader :end_
|
|
16
22
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
|
17
23
|
attr_reader :additional_properties
|
|
@@ -21,8 +27,14 @@ module CandidApiClient
|
|
|
21
27
|
|
|
22
28
|
OMIT = Object.new
|
|
23
29
|
|
|
24
|
-
# @param start [DateTime]
|
|
25
|
-
#
|
|
30
|
+
# @param start [DateTime] An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/).
|
|
31
|
+
# For example, 2017-07-21T17:32:28Z.
|
|
32
|
+
# In practice, only the date portion of this is used for claim submission, so
|
|
33
|
+
# midnight time is fine.
|
|
34
|
+
# @param end_ [DateTime] An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/).
|
|
35
|
+
# For example, 2017-07-21T17:32:28Z.
|
|
36
|
+
# In practice, only the date portion of this is used for claim submission, so
|
|
37
|
+
# midnight time is fine.
|
|
26
38
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
27
39
|
# @return [CandidApiClient::HealthCareCodeInformation::V1::Types::Rd8Date]
|
|
28
40
|
def initialize(start:, end_:, additional_properties: nil)
|