candidhealth 0.24.3 → 0.24.5
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/commons/types/procedure_modifier.rb +1 -0
- data/lib/candidhealth/custom_schemas/v_1/client.rb +20 -20
- data/lib/candidhealth/financials/types/account_type.rb +1 -0
- data/lib/candidhealth/pre_encounter/common/types/disability_status.rb +14 -0
- data/lib/candidhealth/pre_encounter/common/types/ethnicity.rb +16 -0
- data/lib/candidhealth/pre_encounter/common/types/gender.rb +5 -2
- data/lib/candidhealth/pre_encounter/common/types/race.rb +21 -0
- data/lib/candidhealth/pre_encounter/common/types/sex.rb +16 -0
- data/lib/candidhealth/pre_encounter/common/types/sexual_orientation.rb +19 -0
- data/lib/candidhealth/pre_encounter/coverages/client.rb +6 -6
- data/lib/candidhealth/pre_encounter/coverages/v_1/client.rb +464 -11
- data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage.rb +183 -0
- data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage_status.rb +20 -0
- data/lib/candidhealth/pre_encounter/coverages/v_1/types/insurance_plan.rb +134 -0
- data/lib/candidhealth/pre_encounter/coverages/v_1/types/mutable_coverage.rb +129 -0
- data/lib/candidhealth/pre_encounter/coverages/v_1/types/network_type.rb +33 -0
- data/lib/candidhealth/pre_encounter/coverages/v_1/types/subscriber.rb +88 -0
- data/lib/candidhealth/pre_encounter/patients/client.rb +6 -6
- data/lib/candidhealth/pre_encounter/patients/v_1/client.rb +607 -11
- data/lib/candidhealth/pre_encounter/patients/v_1/types/contact.rb +133 -0
- data/lib/candidhealth/pre_encounter/patients/v_1/types/external_provenance.rb +73 -0
- data/lib/candidhealth/pre_encounter/patients/v_1/types/external_provider.rb +122 -0
- data/lib/candidhealth/pre_encounter/patients/v_1/types/filing_order.rb +63 -0
- data/lib/candidhealth/pre_encounter/patients/v_1/types/marital_status.rb +26 -0
- data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient.rb +325 -0
- data/lib/candidhealth/pre_encounter/patients/v_1/types/patient.rb +389 -0
- data/lib/candidhealth/service_lines/v_2/types/service_line.rb +25 -1
- data/lib/candidhealth.rb +7 -7
- data/lib/requests.rb +2 -2
- data/lib/types_export.rb +18 -12
- metadata +20 -16
- data/lib/candidhealth/pre_encounter/coverages/v_1/coverages/client.rb +0 -487
- data/lib/candidhealth/pre_encounter/coverages/v_1/coverages/types/coverage.rb +0 -185
- data/lib/candidhealth/pre_encounter/coverages/v_1/coverages/types/coverage_status.rb +0 -22
- data/lib/candidhealth/pre_encounter/coverages/v_1/coverages/types/coverage_type.rb +0 -18
- data/lib/candidhealth/pre_encounter/coverages/v_1/coverages/types/insurance_plan.rb +0 -136
- data/lib/candidhealth/pre_encounter/coverages/v_1/coverages/types/mutable_coverage.rb +0 -131
- data/lib/candidhealth/pre_encounter/coverages/v_1/coverages/types/subscriber.rb +0 -90
- data/lib/candidhealth/pre_encounter/patients/v_1/patients/client.rb +0 -590
- data/lib/candidhealth/pre_encounter/patients/v_1/patients/types/contact.rb +0 -135
- data/lib/candidhealth/pre_encounter/patients/v_1/patients/types/external_provenance.rb +0 -75
- data/lib/candidhealth/pre_encounter/patients/v_1/patients/types/external_provider.rb +0 -116
- data/lib/candidhealth/pre_encounter/patients/v_1/patients/types/marital_status.rb +0 -28
- data/lib/candidhealth/pre_encounter/patients/v_1/patients/types/mutable_patient.rb +0 -242
- data/lib/candidhealth/pre_encounter/patients/v_1/patients/types/patient.rb +0 -294
@@ -0,0 +1,389 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "date"
|
4
|
+
require_relative "../../../common/types/human_name"
|
5
|
+
require_relative "../../../common/types/gender"
|
6
|
+
require_relative "../../../common/types/sex"
|
7
|
+
require_relative "../../../common/types/sexual_orientation"
|
8
|
+
require_relative "../../../common/types/race"
|
9
|
+
require_relative "../../../common/types/ethnicity"
|
10
|
+
require_relative "../../../common/types/disability_status"
|
11
|
+
require_relative "marital_status"
|
12
|
+
require_relative "../../../common/types/address"
|
13
|
+
require_relative "../../../common/types/contact_point"
|
14
|
+
require_relative "external_provenance"
|
15
|
+
require_relative "contact"
|
16
|
+
require_relative "external_provider"
|
17
|
+
require_relative "filing_order"
|
18
|
+
require "ostruct"
|
19
|
+
require "json"
|
20
|
+
|
21
|
+
module CandidApiClient
|
22
|
+
module PreEncounter
|
23
|
+
module Patients
|
24
|
+
module V1
|
25
|
+
module Types
|
26
|
+
# A patient object with immutable server-owned properties.
|
27
|
+
class Patient
|
28
|
+
# @return [String] The unique UUID identifier for a Patient. Patient ID is used in machine
|
29
|
+
# contexts.
|
30
|
+
attr_reader :id
|
31
|
+
# @return [String] The medical record number for the patient. Human-friendly Candid generated MRNs
|
32
|
+
# are of the form JCH + 8 alphanumeric characters. MRNs are not case-sensitive.
|
33
|
+
attr_reader :mrn
|
34
|
+
# @return [String] The organization that owns this patient.
|
35
|
+
attr_reader :organization_id
|
36
|
+
# @return [Boolean] True if the patient is deactivated. Deactivated patients are not returned in
|
37
|
+
# search results but are returned in all other endpoints including scan.
|
38
|
+
attr_reader :deactivated
|
39
|
+
# @return [Integer] The version of the patient. Any update to any property of a patient object will
|
40
|
+
# create a new version.
|
41
|
+
attr_reader :version
|
42
|
+
# @return [DateTime]
|
43
|
+
attr_reader :updated_at
|
44
|
+
# @return [String] The user ID of the user who last updated the patient.
|
45
|
+
attr_reader :updating_user_id
|
46
|
+
# @return [CandidApiClient::PreEncounter::Common::Types::HumanName]
|
47
|
+
attr_reader :name
|
48
|
+
# @return [Array<CandidApiClient::PreEncounter::Common::Types::HumanName>] Other names for the patient.
|
49
|
+
attr_reader :other_names
|
50
|
+
# @return [CandidApiClient::PreEncounter::Common::Types::Gender]
|
51
|
+
attr_reader :gender
|
52
|
+
# @return [Date]
|
53
|
+
attr_reader :birth_date
|
54
|
+
# @return [String]
|
55
|
+
attr_reader :social_security_number
|
56
|
+
# @return [CandidApiClient::PreEncounter::Common::Types::Sex] The biological sex of the patient.
|
57
|
+
attr_reader :biological_sex
|
58
|
+
# @return [CandidApiClient::PreEncounter::Common::Types::SexualOrientation] The sexual orientation of the patient.
|
59
|
+
attr_reader :sexual_orientation
|
60
|
+
# @return [CandidApiClient::PreEncounter::Common::Types::Race]
|
61
|
+
attr_reader :race
|
62
|
+
# @return [CandidApiClient::PreEncounter::Common::Types::Ethnicity]
|
63
|
+
attr_reader :ethnicity
|
64
|
+
# @return [CandidApiClient::PreEncounter::Common::Types::DisabilityStatus]
|
65
|
+
attr_reader :disability_status
|
66
|
+
# @return [CandidApiClient::PreEncounter::Patients::V1::Types::MaritalStatus]
|
67
|
+
attr_reader :marital_status
|
68
|
+
# @return [DateTime] Time of death for the patient. Leave unset if the patient is not deceased.
|
69
|
+
attr_reader :deceased
|
70
|
+
# @return [Integer] The number of siblings the patient was born with. Leave unset if the patient was
|
71
|
+
# not part of a multiple birth.
|
72
|
+
attr_reader :multiple_birth
|
73
|
+
# @return [CandidApiClient::PreEncounter::Common::Types::Address] The primary address for the patient.
|
74
|
+
attr_reader :primary_address
|
75
|
+
# @return [Array<CandidApiClient::PreEncounter::Common::Types::Address>] Other addresses for the patient.
|
76
|
+
attr_reader :other_addresses
|
77
|
+
# @return [CandidApiClient::PreEncounter::Common::Types::ContactPoint] The primary phone number for the patient.
|
78
|
+
attr_reader :primary_telecom
|
79
|
+
# @return [Array<CandidApiClient::PreEncounter::Common::Types::ContactPoint>] Other phone numbers for the patient.
|
80
|
+
attr_reader :other_telecoms
|
81
|
+
# @return [String]
|
82
|
+
attr_reader :email
|
83
|
+
# @return [Boolean]
|
84
|
+
attr_reader :electronic_communication_opt_in
|
85
|
+
# @return [String]
|
86
|
+
attr_reader :photo
|
87
|
+
# @return [String]
|
88
|
+
attr_reader :language
|
89
|
+
# @return [CandidApiClient::PreEncounter::Patients::V1::Types::ExternalProvenance] Information about the upstream system that owns this patient data. Leave unset
|
90
|
+
# if Candid owns patient data.
|
91
|
+
attr_reader :external_provenance
|
92
|
+
# @return [Array<CandidApiClient::PreEncounter::Patients::V1::Types::Contact>] Contacts for the patient.
|
93
|
+
attr_reader :contacts
|
94
|
+
# @return [Array<CandidApiClient::PreEncounter::Patients::V1::Types::ExternalProvider>]
|
95
|
+
attr_reader :general_practitioners
|
96
|
+
# @return [CandidApiClient::PreEncounter::Patients::V1::Types::FilingOrder]
|
97
|
+
attr_reader :filing_order
|
98
|
+
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
99
|
+
attr_reader :additional_properties
|
100
|
+
# @return [Object]
|
101
|
+
attr_reader :_field_set
|
102
|
+
protected :_field_set
|
103
|
+
|
104
|
+
OMIT = Object.new
|
105
|
+
|
106
|
+
# @param id [String] The unique UUID identifier for a Patient. Patient ID is used in machine
|
107
|
+
# contexts.
|
108
|
+
# @param mrn [String] The medical record number for the patient. Human-friendly Candid generated MRNs
|
109
|
+
# are of the form JCH + 8 alphanumeric characters. MRNs are not case-sensitive.
|
110
|
+
# @param organization_id [String] The organization that owns this patient.
|
111
|
+
# @param deactivated [Boolean] True if the patient is deactivated. Deactivated patients are not returned in
|
112
|
+
# search results but are returned in all other endpoints including scan.
|
113
|
+
# @param version [Integer] The version of the patient. Any update to any property of a patient object will
|
114
|
+
# create a new version.
|
115
|
+
# @param updated_at [DateTime]
|
116
|
+
# @param updating_user_id [String] The user ID of the user who last updated the patient.
|
117
|
+
# @param name [CandidApiClient::PreEncounter::Common::Types::HumanName]
|
118
|
+
# @param other_names [Array<CandidApiClient::PreEncounter::Common::Types::HumanName>] Other names for the patient.
|
119
|
+
# @param gender [CandidApiClient::PreEncounter::Common::Types::Gender]
|
120
|
+
# @param birth_date [Date]
|
121
|
+
# @param social_security_number [String]
|
122
|
+
# @param biological_sex [CandidApiClient::PreEncounter::Common::Types::Sex] The biological sex of the patient.
|
123
|
+
# @param sexual_orientation [CandidApiClient::PreEncounter::Common::Types::SexualOrientation] The sexual orientation of the patient.
|
124
|
+
# @param race [CandidApiClient::PreEncounter::Common::Types::Race]
|
125
|
+
# @param ethnicity [CandidApiClient::PreEncounter::Common::Types::Ethnicity]
|
126
|
+
# @param disability_status [CandidApiClient::PreEncounter::Common::Types::DisabilityStatus]
|
127
|
+
# @param marital_status [CandidApiClient::PreEncounter::Patients::V1::Types::MaritalStatus]
|
128
|
+
# @param deceased [DateTime] Time of death for the patient. Leave unset if the patient is not deceased.
|
129
|
+
# @param multiple_birth [Integer] The number of siblings the patient was born with. Leave unset if the patient was
|
130
|
+
# not part of a multiple birth.
|
131
|
+
# @param primary_address [CandidApiClient::PreEncounter::Common::Types::Address] The primary address for the patient.
|
132
|
+
# @param other_addresses [Array<CandidApiClient::PreEncounter::Common::Types::Address>] Other addresses for the patient.
|
133
|
+
# @param primary_telecom [CandidApiClient::PreEncounter::Common::Types::ContactPoint] The primary phone number for the patient.
|
134
|
+
# @param other_telecoms [Array<CandidApiClient::PreEncounter::Common::Types::ContactPoint>] Other phone numbers for the patient.
|
135
|
+
# @param email [String]
|
136
|
+
# @param electronic_communication_opt_in [Boolean]
|
137
|
+
# @param photo [String]
|
138
|
+
# @param language [String]
|
139
|
+
# @param external_provenance [CandidApiClient::PreEncounter::Patients::V1::Types::ExternalProvenance] Information about the upstream system that owns this patient data. Leave unset
|
140
|
+
# if Candid owns patient data.
|
141
|
+
# @param contacts [Array<CandidApiClient::PreEncounter::Patients::V1::Types::Contact>] Contacts for the patient.
|
142
|
+
# @param general_practitioners [Array<CandidApiClient::PreEncounter::Patients::V1::Types::ExternalProvider>]
|
143
|
+
# @param filing_order [CandidApiClient::PreEncounter::Patients::V1::Types::FilingOrder]
|
144
|
+
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
145
|
+
# @return [CandidApiClient::PreEncounter::Patients::V1::Types::Patient]
|
146
|
+
def initialize(id:, mrn:, organization_id:, deactivated:, version:, updated_at:, updating_user_id:, name:,
|
147
|
+
other_names:, gender:, birth_date:, primary_address:, other_addresses:, primary_telecom:, other_telecoms:, contacts:, general_practitioners:, filing_order:, social_security_number: OMIT, biological_sex: OMIT, sexual_orientation: OMIT, race: OMIT, ethnicity: OMIT, disability_status: OMIT, marital_status: OMIT, deceased: OMIT, multiple_birth: OMIT, email: OMIT, electronic_communication_opt_in: OMIT, photo: OMIT, language: OMIT, external_provenance: OMIT, additional_properties: nil)
|
148
|
+
@id = id
|
149
|
+
@mrn = mrn
|
150
|
+
@organization_id = organization_id
|
151
|
+
@deactivated = deactivated
|
152
|
+
@version = version
|
153
|
+
@updated_at = updated_at
|
154
|
+
@updating_user_id = updating_user_id
|
155
|
+
@name = name
|
156
|
+
@other_names = other_names
|
157
|
+
@gender = gender
|
158
|
+
@birth_date = birth_date
|
159
|
+
@social_security_number = social_security_number if social_security_number != OMIT
|
160
|
+
@biological_sex = biological_sex if biological_sex != OMIT
|
161
|
+
@sexual_orientation = sexual_orientation if sexual_orientation != OMIT
|
162
|
+
@race = race if race != OMIT
|
163
|
+
@ethnicity = ethnicity if ethnicity != OMIT
|
164
|
+
@disability_status = disability_status if disability_status != OMIT
|
165
|
+
@marital_status = marital_status if marital_status != OMIT
|
166
|
+
@deceased = deceased if deceased != OMIT
|
167
|
+
@multiple_birth = multiple_birth if multiple_birth != OMIT
|
168
|
+
@primary_address = primary_address
|
169
|
+
@other_addresses = other_addresses
|
170
|
+
@primary_telecom = primary_telecom
|
171
|
+
@other_telecoms = other_telecoms
|
172
|
+
@email = email if email != OMIT
|
173
|
+
if electronic_communication_opt_in != OMIT
|
174
|
+
@electronic_communication_opt_in = electronic_communication_opt_in
|
175
|
+
end
|
176
|
+
@photo = photo if photo != OMIT
|
177
|
+
@language = language if language != OMIT
|
178
|
+
@external_provenance = external_provenance if external_provenance != OMIT
|
179
|
+
@contacts = contacts
|
180
|
+
@general_practitioners = general_practitioners
|
181
|
+
@filing_order = filing_order
|
182
|
+
@additional_properties = additional_properties
|
183
|
+
@_field_set = {
|
184
|
+
"id": id,
|
185
|
+
"mrn": mrn,
|
186
|
+
"organization_id": organization_id,
|
187
|
+
"deactivated": deactivated,
|
188
|
+
"version": version,
|
189
|
+
"updated_at": updated_at,
|
190
|
+
"updating_user_id": updating_user_id,
|
191
|
+
"name": name,
|
192
|
+
"other_names": other_names,
|
193
|
+
"gender": gender,
|
194
|
+
"birth_date": birth_date,
|
195
|
+
"social_security_number": social_security_number,
|
196
|
+
"biological_sex": biological_sex,
|
197
|
+
"sexual_orientation": sexual_orientation,
|
198
|
+
"race": race,
|
199
|
+
"ethnicity": ethnicity,
|
200
|
+
"disability_status": disability_status,
|
201
|
+
"marital_status": marital_status,
|
202
|
+
"deceased": deceased,
|
203
|
+
"multiple_birth": multiple_birth,
|
204
|
+
"primary_address": primary_address,
|
205
|
+
"other_addresses": other_addresses,
|
206
|
+
"primary_telecom": primary_telecom,
|
207
|
+
"other_telecoms": other_telecoms,
|
208
|
+
"email": email,
|
209
|
+
"electronic_communication_opt_in": electronic_communication_opt_in,
|
210
|
+
"photo": photo,
|
211
|
+
"language": language,
|
212
|
+
"external_provenance": external_provenance,
|
213
|
+
"contacts": contacts,
|
214
|
+
"general_practitioners": general_practitioners,
|
215
|
+
"filing_order": filing_order
|
216
|
+
}.reject do |_k, v|
|
217
|
+
v == OMIT
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
221
|
+
# Deserialize a JSON object to an instance of Patient
|
222
|
+
#
|
223
|
+
# @param json_object [String]
|
224
|
+
# @return [CandidApiClient::PreEncounter::Patients::V1::Types::Patient]
|
225
|
+
def self.from_json(json_object:)
|
226
|
+
struct = JSON.parse(json_object, object_class: OpenStruct)
|
227
|
+
parsed_json = JSON.parse(json_object)
|
228
|
+
id = struct["id"]
|
229
|
+
mrn = struct["mrn"]
|
230
|
+
organization_id = struct["organization_id"]
|
231
|
+
deactivated = struct["deactivated"]
|
232
|
+
version = struct["version"]
|
233
|
+
updated_at = (DateTime.parse(parsed_json["updated_at"]) unless parsed_json["updated_at"].nil?)
|
234
|
+
updating_user_id = struct["updating_user_id"]
|
235
|
+
if parsed_json["name"].nil?
|
236
|
+
name = nil
|
237
|
+
else
|
238
|
+
name = parsed_json["name"].to_json
|
239
|
+
name = CandidApiClient::PreEncounter::Common::Types::HumanName.from_json(json_object: name)
|
240
|
+
end
|
241
|
+
other_names = parsed_json["other_names"]&.map do |item|
|
242
|
+
item = item.to_json
|
243
|
+
CandidApiClient::PreEncounter::Common::Types::HumanName.from_json(json_object: item)
|
244
|
+
end
|
245
|
+
gender = struct["gender"]
|
246
|
+
birth_date = (Date.parse(parsed_json["birth_date"]) unless parsed_json["birth_date"].nil?)
|
247
|
+
social_security_number = struct["social_security_number"]
|
248
|
+
biological_sex = struct["biological_sex"]
|
249
|
+
sexual_orientation = struct["sexual_orientation"]
|
250
|
+
race = struct["race"]
|
251
|
+
ethnicity = struct["ethnicity"]
|
252
|
+
disability_status = struct["disability_status"]
|
253
|
+
marital_status = struct["marital_status"]
|
254
|
+
deceased = (DateTime.parse(parsed_json["deceased"]) unless parsed_json["deceased"].nil?)
|
255
|
+
multiple_birth = struct["multiple_birth"]
|
256
|
+
if parsed_json["primary_address"].nil?
|
257
|
+
primary_address = nil
|
258
|
+
else
|
259
|
+
primary_address = parsed_json["primary_address"].to_json
|
260
|
+
primary_address = CandidApiClient::PreEncounter::Common::Types::Address.from_json(json_object: primary_address)
|
261
|
+
end
|
262
|
+
other_addresses = parsed_json["other_addresses"]&.map do |item|
|
263
|
+
item = item.to_json
|
264
|
+
CandidApiClient::PreEncounter::Common::Types::Address.from_json(json_object: item)
|
265
|
+
end
|
266
|
+
if parsed_json["primary_telecom"].nil?
|
267
|
+
primary_telecom = nil
|
268
|
+
else
|
269
|
+
primary_telecom = parsed_json["primary_telecom"].to_json
|
270
|
+
primary_telecom = CandidApiClient::PreEncounter::Common::Types::ContactPoint.from_json(json_object: primary_telecom)
|
271
|
+
end
|
272
|
+
other_telecoms = parsed_json["other_telecoms"]&.map do |item|
|
273
|
+
item = item.to_json
|
274
|
+
CandidApiClient::PreEncounter::Common::Types::ContactPoint.from_json(json_object: item)
|
275
|
+
end
|
276
|
+
email = struct["email"]
|
277
|
+
electronic_communication_opt_in = struct["electronic_communication_opt_in"]
|
278
|
+
photo = struct["photo"]
|
279
|
+
language = struct["language"]
|
280
|
+
if parsed_json["external_provenance"].nil?
|
281
|
+
external_provenance = nil
|
282
|
+
else
|
283
|
+
external_provenance = parsed_json["external_provenance"].to_json
|
284
|
+
external_provenance = CandidApiClient::PreEncounter::Patients::V1::Types::ExternalProvenance.from_json(json_object: external_provenance)
|
285
|
+
end
|
286
|
+
contacts = parsed_json["contacts"]&.map do |item|
|
287
|
+
item = item.to_json
|
288
|
+
CandidApiClient::PreEncounter::Patients::V1::Types::Contact.from_json(json_object: item)
|
289
|
+
end
|
290
|
+
general_practitioners = parsed_json["general_practitioners"]&.map do |item|
|
291
|
+
item = item.to_json
|
292
|
+
CandidApiClient::PreEncounter::Patients::V1::Types::ExternalProvider.from_json(json_object: item)
|
293
|
+
end
|
294
|
+
if parsed_json["filing_order"].nil?
|
295
|
+
filing_order = nil
|
296
|
+
else
|
297
|
+
filing_order = parsed_json["filing_order"].to_json
|
298
|
+
filing_order = CandidApiClient::PreEncounter::Patients::V1::Types::FilingOrder.from_json(json_object: filing_order)
|
299
|
+
end
|
300
|
+
new(
|
301
|
+
id: id,
|
302
|
+
mrn: mrn,
|
303
|
+
organization_id: organization_id,
|
304
|
+
deactivated: deactivated,
|
305
|
+
version: version,
|
306
|
+
updated_at: updated_at,
|
307
|
+
updating_user_id: updating_user_id,
|
308
|
+
name: name,
|
309
|
+
other_names: other_names,
|
310
|
+
gender: gender,
|
311
|
+
birth_date: birth_date,
|
312
|
+
social_security_number: social_security_number,
|
313
|
+
biological_sex: biological_sex,
|
314
|
+
sexual_orientation: sexual_orientation,
|
315
|
+
race: race,
|
316
|
+
ethnicity: ethnicity,
|
317
|
+
disability_status: disability_status,
|
318
|
+
marital_status: marital_status,
|
319
|
+
deceased: deceased,
|
320
|
+
multiple_birth: multiple_birth,
|
321
|
+
primary_address: primary_address,
|
322
|
+
other_addresses: other_addresses,
|
323
|
+
primary_telecom: primary_telecom,
|
324
|
+
other_telecoms: other_telecoms,
|
325
|
+
email: email,
|
326
|
+
electronic_communication_opt_in: electronic_communication_opt_in,
|
327
|
+
photo: photo,
|
328
|
+
language: language,
|
329
|
+
external_provenance: external_provenance,
|
330
|
+
contacts: contacts,
|
331
|
+
general_practitioners: general_practitioners,
|
332
|
+
filing_order: filing_order,
|
333
|
+
additional_properties: struct
|
334
|
+
)
|
335
|
+
end
|
336
|
+
|
337
|
+
# Serialize an instance of Patient to a JSON object
|
338
|
+
#
|
339
|
+
# @return [String]
|
340
|
+
def to_json(*_args)
|
341
|
+
@_field_set&.to_json
|
342
|
+
end
|
343
|
+
|
344
|
+
# Leveraged for Union-type generation, validate_raw attempts to parse the given
|
345
|
+
# hash and check each fields type against the current object's property
|
346
|
+
# definitions.
|
347
|
+
#
|
348
|
+
# @param obj [Object]
|
349
|
+
# @return [Void]
|
350
|
+
def self.validate_raw(obj:)
|
351
|
+
obj.id.is_a?(String) != false || raise("Passed value for field obj.id is not the expected type, validation failed.")
|
352
|
+
obj.mrn.is_a?(String) != false || raise("Passed value for field obj.mrn is not the expected type, validation failed.")
|
353
|
+
obj.organization_id.is_a?(String) != false || raise("Passed value for field obj.organization_id is not the expected type, validation failed.")
|
354
|
+
obj.deactivated.is_a?(Boolean) != false || raise("Passed value for field obj.deactivated is not the expected type, validation failed.")
|
355
|
+
obj.version.is_a?(Integer) != false || raise("Passed value for field obj.version is not the expected type, validation failed.")
|
356
|
+
obj.updated_at.is_a?(DateTime) != false || raise("Passed value for field obj.updated_at is not the expected type, validation failed.")
|
357
|
+
obj.updating_user_id.is_a?(String) != false || raise("Passed value for field obj.updating_user_id is not the expected type, validation failed.")
|
358
|
+
CandidApiClient::PreEncounter::Common::Types::HumanName.validate_raw(obj: obj.name)
|
359
|
+
obj.other_names.is_a?(Array) != false || raise("Passed value for field obj.other_names is not the expected type, validation failed.")
|
360
|
+
obj.gender.is_a?(CandidApiClient::PreEncounter::Common::Types::Gender) != false || raise("Passed value for field obj.gender is not the expected type, validation failed.")
|
361
|
+
obj.birth_date.is_a?(Date) != false || raise("Passed value for field obj.birth_date is not the expected type, validation failed.")
|
362
|
+
obj.social_security_number&.is_a?(String) != false || raise("Passed value for field obj.social_security_number is not the expected type, validation failed.")
|
363
|
+
obj.biological_sex&.is_a?(CandidApiClient::PreEncounter::Common::Types::Sex) != false || raise("Passed value for field obj.biological_sex is not the expected type, validation failed.")
|
364
|
+
obj.sexual_orientation&.is_a?(CandidApiClient::PreEncounter::Common::Types::SexualOrientation) != false || raise("Passed value for field obj.sexual_orientation is not the expected type, validation failed.")
|
365
|
+
obj.race&.is_a?(CandidApiClient::PreEncounter::Common::Types::Race) != false || raise("Passed value for field obj.race is not the expected type, validation failed.")
|
366
|
+
obj.ethnicity&.is_a?(CandidApiClient::PreEncounter::Common::Types::Ethnicity) != false || raise("Passed value for field obj.ethnicity is not the expected type, validation failed.")
|
367
|
+
obj.disability_status&.is_a?(CandidApiClient::PreEncounter::Common::Types::DisabilityStatus) != false || raise("Passed value for field obj.disability_status is not the expected type, validation failed.")
|
368
|
+
obj.marital_status&.is_a?(CandidApiClient::PreEncounter::Patients::V1::Types::MaritalStatus) != false || raise("Passed value for field obj.marital_status is not the expected type, validation failed.")
|
369
|
+
obj.deceased&.is_a?(DateTime) != false || raise("Passed value for field obj.deceased is not the expected type, validation failed.")
|
370
|
+
obj.multiple_birth&.is_a?(Integer) != false || raise("Passed value for field obj.multiple_birth is not the expected type, validation failed.")
|
371
|
+
CandidApiClient::PreEncounter::Common::Types::Address.validate_raw(obj: obj.primary_address)
|
372
|
+
obj.other_addresses.is_a?(Array) != false || raise("Passed value for field obj.other_addresses is not the expected type, validation failed.")
|
373
|
+
CandidApiClient::PreEncounter::Common::Types::ContactPoint.validate_raw(obj: obj.primary_telecom)
|
374
|
+
obj.other_telecoms.is_a?(Array) != false || raise("Passed value for field obj.other_telecoms is not the expected type, validation failed.")
|
375
|
+
obj.email&.is_a?(String) != false || raise("Passed value for field obj.email is not the expected type, validation failed.")
|
376
|
+
obj.electronic_communication_opt_in&.is_a?(Boolean) != false || raise("Passed value for field obj.electronic_communication_opt_in is not the expected type, validation failed.")
|
377
|
+
obj.photo&.is_a?(String) != false || raise("Passed value for field obj.photo is not the expected type, validation failed.")
|
378
|
+
obj.language&.is_a?(String) != false || raise("Passed value for field obj.language is not the expected type, validation failed.")
|
379
|
+
obj.external_provenance.nil? || CandidApiClient::PreEncounter::Patients::V1::Types::ExternalProvenance.validate_raw(obj: obj.external_provenance)
|
380
|
+
obj.contacts.is_a?(Array) != false || raise("Passed value for field obj.contacts is not the expected type, validation failed.")
|
381
|
+
obj.general_practitioners.is_a?(Array) != false || raise("Passed value for field obj.general_practitioners is not the expected type, validation failed.")
|
382
|
+
CandidApiClient::PreEncounter::Patients::V1::Types::FilingOrder.validate_raw(obj: obj.filing_order)
|
383
|
+
end
|
384
|
+
end
|
385
|
+
end
|
386
|
+
end
|
387
|
+
end
|
388
|
+
end
|
389
|
+
end
|
@@ -32,6 +32,12 @@ module CandidApiClient
|
|
32
32
|
# @return [Integer]
|
33
33
|
attr_reader :paid_amount_cents
|
34
34
|
# @return [Integer]
|
35
|
+
attr_reader :primary_paid_amount_cents
|
36
|
+
# @return [Integer]
|
37
|
+
attr_reader :secondary_paid_amount_cents
|
38
|
+
# @return [Integer]
|
39
|
+
attr_reader :tertiary_paid_amount_cents
|
40
|
+
# @return [Integer]
|
35
41
|
attr_reader :patient_responsibility_cents
|
36
42
|
# @return [String]
|
37
43
|
attr_reader :diagnosis_id_zero
|
@@ -100,6 +106,9 @@ module CandidApiClient
|
|
100
106
|
# @param insurance_balance_cents [Integer]
|
101
107
|
# @param patient_balance_cents [Integer]
|
102
108
|
# @param paid_amount_cents [Integer]
|
109
|
+
# @param primary_paid_amount_cents [Integer]
|
110
|
+
# @param secondary_paid_amount_cents [Integer]
|
111
|
+
# @param tertiary_paid_amount_cents [Integer]
|
103
112
|
# @param patient_responsibility_cents [Integer]
|
104
113
|
# @param diagnosis_id_zero [String]
|
105
114
|
# @param diagnosis_id_one [String]
|
@@ -133,13 +142,16 @@ module CandidApiClient
|
|
133
142
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
134
143
|
# @return [CandidApiClient::ServiceLines::V2::Types::ServiceLine]
|
135
144
|
def initialize(service_line_id:, procedure_code:, quantity:, units:, claim_id:, date_of_service_range:, date_of_service:, modifiers: OMIT, charge_amount_cents: OMIT, allowed_amount_cents: OMIT,
|
136
|
-
insurance_balance_cents: OMIT, patient_balance_cents: OMIT, paid_amount_cents: OMIT, patient_responsibility_cents: OMIT, diagnosis_id_zero: OMIT, diagnosis_id_one: OMIT, diagnosis_id_two: OMIT, diagnosis_id_three: OMIT, service_line_era_data: OMIT, service_line_manual_adjustments: OMIT, related_invoices: OMIT, related_invoice_info: OMIT, denial_reason: OMIT, place_of_service_code: OMIT, place_of_service_code_as_submitted: OMIT, referring_provider: OMIT, initial_referring_provider: OMIT, supervising_provider: OMIT, ordering_provider: OMIT, description: OMIT, end_date_of_service: OMIT, additional_properties: nil)
|
145
|
+
insurance_balance_cents: OMIT, patient_balance_cents: OMIT, paid_amount_cents: OMIT, primary_paid_amount_cents: OMIT, secondary_paid_amount_cents: OMIT, tertiary_paid_amount_cents: OMIT, patient_responsibility_cents: OMIT, diagnosis_id_zero: OMIT, diagnosis_id_one: OMIT, diagnosis_id_two: OMIT, diagnosis_id_three: OMIT, service_line_era_data: OMIT, service_line_manual_adjustments: OMIT, related_invoices: OMIT, related_invoice_info: OMIT, denial_reason: OMIT, place_of_service_code: OMIT, place_of_service_code_as_submitted: OMIT, referring_provider: OMIT, initial_referring_provider: OMIT, supervising_provider: OMIT, ordering_provider: OMIT, description: OMIT, end_date_of_service: OMIT, additional_properties: nil)
|
137
146
|
@modifiers = modifiers if modifiers != OMIT
|
138
147
|
@charge_amount_cents = charge_amount_cents if charge_amount_cents != OMIT
|
139
148
|
@allowed_amount_cents = allowed_amount_cents if allowed_amount_cents != OMIT
|
140
149
|
@insurance_balance_cents = insurance_balance_cents if insurance_balance_cents != OMIT
|
141
150
|
@patient_balance_cents = patient_balance_cents if patient_balance_cents != OMIT
|
142
151
|
@paid_amount_cents = paid_amount_cents if paid_amount_cents != OMIT
|
152
|
+
@primary_paid_amount_cents = primary_paid_amount_cents if primary_paid_amount_cents != OMIT
|
153
|
+
@secondary_paid_amount_cents = secondary_paid_amount_cents if secondary_paid_amount_cents != OMIT
|
154
|
+
@tertiary_paid_amount_cents = tertiary_paid_amount_cents if tertiary_paid_amount_cents != OMIT
|
143
155
|
@patient_responsibility_cents = patient_responsibility_cents if patient_responsibility_cents != OMIT
|
144
156
|
@diagnosis_id_zero = diagnosis_id_zero if diagnosis_id_zero != OMIT
|
145
157
|
@diagnosis_id_one = diagnosis_id_one if diagnosis_id_one != OMIT
|
@@ -177,6 +189,9 @@ module CandidApiClient
|
|
177
189
|
"insurance_balance_cents": insurance_balance_cents,
|
178
190
|
"patient_balance_cents": patient_balance_cents,
|
179
191
|
"paid_amount_cents": paid_amount_cents,
|
192
|
+
"primary_paid_amount_cents": primary_paid_amount_cents,
|
193
|
+
"secondary_paid_amount_cents": secondary_paid_amount_cents,
|
194
|
+
"tertiary_paid_amount_cents": tertiary_paid_amount_cents,
|
180
195
|
"patient_responsibility_cents": patient_responsibility_cents,
|
181
196
|
"diagnosis_id_zero": diagnosis_id_zero,
|
182
197
|
"diagnosis_id_one": diagnosis_id_one,
|
@@ -220,6 +235,9 @@ module CandidApiClient
|
|
220
235
|
insurance_balance_cents = struct["insurance_balance_cents"]
|
221
236
|
patient_balance_cents = struct["patient_balance_cents"]
|
222
237
|
paid_amount_cents = struct["paid_amount_cents"]
|
238
|
+
primary_paid_amount_cents = struct["primary_paid_amount_cents"]
|
239
|
+
secondary_paid_amount_cents = struct["secondary_paid_amount_cents"]
|
240
|
+
tertiary_paid_amount_cents = struct["tertiary_paid_amount_cents"]
|
223
241
|
patient_responsibility_cents = struct["patient_responsibility_cents"]
|
224
242
|
diagnosis_id_zero = struct["diagnosis_id_zero"]
|
225
243
|
diagnosis_id_one = struct["diagnosis_id_one"]
|
@@ -298,6 +316,9 @@ module CandidApiClient
|
|
298
316
|
insurance_balance_cents: insurance_balance_cents,
|
299
317
|
patient_balance_cents: patient_balance_cents,
|
300
318
|
paid_amount_cents: paid_amount_cents,
|
319
|
+
primary_paid_amount_cents: primary_paid_amount_cents,
|
320
|
+
secondary_paid_amount_cents: secondary_paid_amount_cents,
|
321
|
+
tertiary_paid_amount_cents: tertiary_paid_amount_cents,
|
301
322
|
patient_responsibility_cents: patient_responsibility_cents,
|
302
323
|
diagnosis_id_zero: diagnosis_id_zero,
|
303
324
|
diagnosis_id_one: diagnosis_id_one,
|
@@ -347,6 +368,9 @@ module CandidApiClient
|
|
347
368
|
obj.insurance_balance_cents&.is_a?(Integer) != false || raise("Passed value for field obj.insurance_balance_cents is not the expected type, validation failed.")
|
348
369
|
obj.patient_balance_cents&.is_a?(Integer) != false || raise("Passed value for field obj.patient_balance_cents is not the expected type, validation failed.")
|
349
370
|
obj.paid_amount_cents&.is_a?(Integer) != false || raise("Passed value for field obj.paid_amount_cents is not the expected type, validation failed.")
|
371
|
+
obj.primary_paid_amount_cents&.is_a?(Integer) != false || raise("Passed value for field obj.primary_paid_amount_cents is not the expected type, validation failed.")
|
372
|
+
obj.secondary_paid_amount_cents&.is_a?(Integer) != false || raise("Passed value for field obj.secondary_paid_amount_cents is not the expected type, validation failed.")
|
373
|
+
obj.tertiary_paid_amount_cents&.is_a?(Integer) != false || raise("Passed value for field obj.tertiary_paid_amount_cents is not the expected type, validation failed.")
|
350
374
|
obj.patient_responsibility_cents&.is_a?(Integer) != false || raise("Passed value for field obj.patient_responsibility_cents is not the expected type, validation failed.")
|
351
375
|
obj.diagnosis_id_zero&.is_a?(String) != false || raise("Passed value for field obj.diagnosis_id_zero is not the expected type, validation failed.")
|
352
376
|
obj.diagnosis_id_one&.is_a?(String) != false || raise("Passed value for field obj.diagnosis_id_one is not the expected type, validation failed.")
|
data/lib/candidhealth.rb
CHANGED
@@ -26,8 +26,8 @@ require_relative "candidhealth/patient_refunds/client"
|
|
26
26
|
require_relative "candidhealth/payers/client"
|
27
27
|
require_relative "candidhealth/tasks/client"
|
28
28
|
require_relative "candidhealth/write_offs/client"
|
29
|
-
require_relative "candidhealth/service_facility/client"
|
30
29
|
require_relative "candidhealth/pre_encounter/client"
|
30
|
+
require_relative "candidhealth/service_facility/client"
|
31
31
|
|
32
32
|
module CandidApiClient
|
33
33
|
class Client
|
@@ -75,10 +75,10 @@ module CandidApiClient
|
|
75
75
|
attr_reader :tasks
|
76
76
|
# @return [CandidApiClient::WriteOffs::Client]
|
77
77
|
attr_reader :write_offs
|
78
|
-
# @return [CandidApiClient::ServiceFacilityClient]
|
79
|
-
attr_reader :service_facility
|
80
78
|
# @return [CandidApiClient::PreEncounter::Client]
|
81
79
|
attr_reader :pre_encounter
|
80
|
+
# @return [CandidApiClient::ServiceFacilityClient]
|
81
|
+
attr_reader :service_facility
|
82
82
|
|
83
83
|
# @param base_url [String]
|
84
84
|
# @param environment [CandidApiClient::Environment]
|
@@ -128,8 +128,8 @@ module CandidApiClient
|
|
128
128
|
@payers = CandidApiClient::Payers::Client.new(request_client: @request_client)
|
129
129
|
@tasks = CandidApiClient::Tasks::Client.new(request_client: @request_client)
|
130
130
|
@write_offs = CandidApiClient::WriteOffs::Client.new(request_client: @request_client)
|
131
|
-
@service_facility = CandidApiClient::ServiceFacilityClient.new(request_client: @request_client)
|
132
131
|
@pre_encounter = CandidApiClient::PreEncounter::Client.new(request_client: @request_client)
|
132
|
+
@service_facility = CandidApiClient::ServiceFacilityClient.new(request_client: @request_client)
|
133
133
|
end
|
134
134
|
end
|
135
135
|
|
@@ -178,10 +178,10 @@ module CandidApiClient
|
|
178
178
|
attr_reader :tasks
|
179
179
|
# @return [CandidApiClient::WriteOffs::AsyncClient]
|
180
180
|
attr_reader :write_offs
|
181
|
-
# @return [CandidApiClient::AsyncServiceFacilityClient]
|
182
|
-
attr_reader :service_facility
|
183
181
|
# @return [CandidApiClient::PreEncounter::AsyncClient]
|
184
182
|
attr_reader :pre_encounter
|
183
|
+
# @return [CandidApiClient::AsyncServiceFacilityClient]
|
184
|
+
attr_reader :service_facility
|
185
185
|
|
186
186
|
# @param base_url [String]
|
187
187
|
# @param environment [CandidApiClient::Environment]
|
@@ -231,8 +231,8 @@ module CandidApiClient
|
|
231
231
|
@payers = CandidApiClient::Payers::AsyncClient.new(request_client: @async_request_client)
|
232
232
|
@tasks = CandidApiClient::Tasks::AsyncClient.new(request_client: @async_request_client)
|
233
233
|
@write_offs = CandidApiClient::WriteOffs::AsyncClient.new(request_client: @async_request_client)
|
234
|
-
@service_facility = CandidApiClient::AsyncServiceFacilityClient.new(request_client: @async_request_client)
|
235
234
|
@pre_encounter = CandidApiClient::PreEncounter::AsyncClient.new(request_client: @async_request_client)
|
235
|
+
@service_facility = CandidApiClient::AsyncServiceFacilityClient.new(request_client: @async_request_client)
|
236
236
|
end
|
237
237
|
end
|
238
238
|
end
|
data/lib/requests.rb
CHANGED
@@ -43,7 +43,7 @@ module CandidApiClient
|
|
43
43
|
|
44
44
|
# @return [Hash{String => String}]
|
45
45
|
def get_headers
|
46
|
-
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.24.
|
46
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.24.5" }
|
47
47
|
headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
|
48
48
|
headers
|
49
49
|
end
|
@@ -87,7 +87,7 @@ module CandidApiClient
|
|
87
87
|
|
88
88
|
# @return [Hash{String => String}]
|
89
89
|
def get_headers
|
90
|
-
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.24.
|
90
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.24.5" }
|
91
91
|
headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
|
92
92
|
headers
|
93
93
|
end
|
data/lib/types_export.rb
CHANGED
@@ -234,6 +234,19 @@ require_relative "candidhealth/x_12/v_1/types/claim_adjustment_reason_code"
|
|
234
234
|
require_relative "candidhealth/x_12/v_1/types/remittance_advice_remark_code"
|
235
235
|
require_relative "candidhealth/x_12/v_1/types/carc"
|
236
236
|
require_relative "candidhealth/x_12/v_1/types/rarc"
|
237
|
+
require_relative "candidhealth/pre_encounter/coverages/v_1/types/subscriber"
|
238
|
+
require_relative "candidhealth/pre_encounter/coverages/v_1/types/coverage_status"
|
239
|
+
require_relative "candidhealth/pre_encounter/coverages/v_1/types/network_type"
|
240
|
+
require_relative "candidhealth/pre_encounter/coverages/v_1/types/insurance_plan"
|
241
|
+
require_relative "candidhealth/pre_encounter/coverages/v_1/types/mutable_coverage"
|
242
|
+
require_relative "candidhealth/pre_encounter/coverages/v_1/types/coverage"
|
243
|
+
require_relative "candidhealth/pre_encounter/patients/v_1/types/marital_status"
|
244
|
+
require_relative "candidhealth/pre_encounter/patients/v_1/types/external_provenance"
|
245
|
+
require_relative "candidhealth/pre_encounter/patients/v_1/types/contact"
|
246
|
+
require_relative "candidhealth/pre_encounter/patients/v_1/types/external_provider"
|
247
|
+
require_relative "candidhealth/pre_encounter/patients/v_1/types/filing_order"
|
248
|
+
require_relative "candidhealth/pre_encounter/patients/v_1/types/mutable_patient"
|
249
|
+
require_relative "candidhealth/pre_encounter/patients/v_1/types/patient"
|
237
250
|
require_relative "candidhealth/claims/types/claim"
|
238
251
|
require_relative "candidhealth/claims/types/claim_status"
|
239
252
|
require_relative "candidhealth/commons/types/primitive"
|
@@ -322,6 +335,11 @@ require_relative "candidhealth/tasks/commons/types/task_type"
|
|
322
335
|
require_relative "candidhealth/tasks/commons/types/task_category"
|
323
336
|
require_relative "candidhealth/pre_encounter/common/types/relationship"
|
324
337
|
require_relative "candidhealth/pre_encounter/common/types/gender"
|
338
|
+
require_relative "candidhealth/pre_encounter/common/types/sex"
|
339
|
+
require_relative "candidhealth/pre_encounter/common/types/sexual_orientation"
|
340
|
+
require_relative "candidhealth/pre_encounter/common/types/race"
|
341
|
+
require_relative "candidhealth/pre_encounter/common/types/ethnicity"
|
342
|
+
require_relative "candidhealth/pre_encounter/common/types/disability_status"
|
325
343
|
require_relative "candidhealth/pre_encounter/common/types/name_use"
|
326
344
|
require_relative "candidhealth/pre_encounter/common/types/human_name"
|
327
345
|
require_relative "candidhealth/pre_encounter/common/types/address_use"
|
@@ -332,15 +350,3 @@ require_relative "candidhealth/pre_encounter/common/types/contact_point"
|
|
332
350
|
require_relative "candidhealth/pre_encounter/common/types/error_base"
|
333
351
|
require_relative "candidhealth/pre_encounter/common/types/not_found_error_body"
|
334
352
|
require_relative "candidhealth/pre_encounter/common/types/version_conflict_error_body"
|
335
|
-
require_relative "candidhealth/pre_encounter/coverages/v_1/coverages/types/subscriber"
|
336
|
-
require_relative "candidhealth/pre_encounter/coverages/v_1/coverages/types/coverage_status"
|
337
|
-
require_relative "candidhealth/pre_encounter/coverages/v_1/coverages/types/coverage_type"
|
338
|
-
require_relative "candidhealth/pre_encounter/coverages/v_1/coverages/types/insurance_plan"
|
339
|
-
require_relative "candidhealth/pre_encounter/coverages/v_1/coverages/types/mutable_coverage"
|
340
|
-
require_relative "candidhealth/pre_encounter/coverages/v_1/coverages/types/coverage"
|
341
|
-
require_relative "candidhealth/pre_encounter/patients/v_1/patients/types/marital_status"
|
342
|
-
require_relative "candidhealth/pre_encounter/patients/v_1/patients/types/external_provenance"
|
343
|
-
require_relative "candidhealth/pre_encounter/patients/v_1/patients/types/contact"
|
344
|
-
require_relative "candidhealth/pre_encounter/patients/v_1/patients/types/external_provider"
|
345
|
-
require_relative "candidhealth/pre_encounter/patients/v_1/patients/types/mutable_patient"
|
346
|
-
require_relative "candidhealth/pre_encounter/patients/v_1/patients/types/patient"
|