candidhealth 0.34.0 → 0.34.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/candidhealth/encounters/v_4/client.rb +47 -4
- data/lib/candidhealth/individual/types/patient_update.rb +165 -0
- data/lib/requests.rb +2 -2
- data/lib/types_export.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 513eb99b922ec9f7c15d7c9f9b21a00ac04de2bb12674f63287ef8dad6be97b1
|
4
|
+
data.tar.gz: 1edfee96995bc42b5542a9e594fc6203d8c2142b48f371a21bcb0d9fb3241ec2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 300417475eac27dbbdbb98a36cd5b84b8e8c341e7e46b51fb71153e435a40a14dc9645be2144fe513cd9f68ffe7cfbed1fa9b3fd5512f3bb39eb76edae7d84d5
|
7
|
+
data.tar.gz: ca5f279d19481b01396dfd8e94916426fb1f3b47ecf776a8809bf12de5a485f893a2c386bf139b0f35208f09da47afe826283ab70117b1077b31ed8e7ddbb2fc
|
@@ -34,6 +34,7 @@ require_relative "../../service_lines/v_2/types/service_line_create"
|
|
34
34
|
require_relative "../../guarantor/v_1/types/guarantor_create"
|
35
35
|
require_relative "../../claim_submission/v_1/types/external_claim_submission_create"
|
36
36
|
require_relative "../../custom_schemas/v_1/types/schema_instance"
|
37
|
+
require_relative "../../individual/types/patient_update"
|
37
38
|
require_relative "types/vitals_update"
|
38
39
|
require "async"
|
39
40
|
|
@@ -988,7 +989,7 @@ module CandidApiClient
|
|
988
989
|
# be
|
989
990
|
# submitted to the payor.
|
990
991
|
# @param tag_ids [Array<String>] Names of tags that should be on the encounter. Note all tags on encounter will
|
991
|
-
# be
|
992
|
+
# be overridden with this list.
|
992
993
|
# @param clinical_notes [Array<Hash>] Holds a collection of clinical observations made by healthcare providers during
|
993
994
|
# patient encounters.Request of type Array<CandidApiClient::Encounters::V4::Types::ClinicalNoteCategoryCreate>, as a Hash
|
994
995
|
# * :category (CandidApiClient::Encounters::V4::Types::NoteCategory)
|
@@ -1111,6 +1112,25 @@ module CandidApiClient
|
|
1111
1112
|
# related to the patient's pregnancy.
|
1112
1113
|
# @param delay_reason_code [CandidApiClient::Commons::Types::DelayReasonCode] 837i Loop2300, CLM-1300 Box 20
|
1113
1114
|
# Code indicating the reason why a request was delayed
|
1115
|
+
# @param patient [Hash] Contains the identification information of the individual receiving medical
|
1116
|
+
# services.Request of type CandidApiClient::Individual::Types::PatientUpdate, as a Hash
|
1117
|
+
# * :first_name (String)
|
1118
|
+
# * :last_name (String)
|
1119
|
+
# * :gender (CandidApiClient::Individual::Types::Gender)
|
1120
|
+
# * :external_id (String)
|
1121
|
+
# * :date_of_birth (Date)
|
1122
|
+
# * :address (Hash)
|
1123
|
+
# * :zip_plus_four_code (String)
|
1124
|
+
# * :address_1 (String)
|
1125
|
+
# * :address_2 (String)
|
1126
|
+
# * :city (String)
|
1127
|
+
# * :state (CandidApiClient::Commons::Types::State)
|
1128
|
+
# * :zip_code (String)
|
1129
|
+
# * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumber>)
|
1130
|
+
# * :phone_consent (Boolean)
|
1131
|
+
# * :email (String)
|
1132
|
+
# * :email_consent (Boolean)
|
1133
|
+
# * :non_insurance_payers (Array<String>)
|
1114
1134
|
# @param patient_authorized_release [Boolean] Whether this patient has authorized the release of medical information
|
1115
1135
|
# for billing purpose.
|
1116
1136
|
# Box 12 on the CMS-1500 claim form.
|
@@ -1164,12 +1184,13 @@ module CandidApiClient
|
|
1164
1184
|
# onset_of_current_illness_or_symptom_date: DateTime.parse(2023-01-15),
|
1165
1185
|
# last_menstrual_period_date: DateTime.parse(2023-01-15),
|
1166
1186
|
# delay_reason_code: C_1,
|
1187
|
+
# patient: { first_name: "string", last_name: "string", gender: MALE, external_id: "string", date_of_birth: DateTime.parse(2023-01-15), address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, phone_numbers: [{ number: "1234567890", type: HOME }], phone_consent: true, email: "johndoe@joincandidhealth.com", email_consent: true, non_insurance_payers: ["d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"] },
|
1167
1188
|
# patient_authorized_release: true,
|
1168
1189
|
# schema_instances: [{ schema_id: "ec096b13-f80a-471d-aaeb-54b021c9d582", content: { "provider_category": "internist", "is_urgent_care": true, "bmi": 24.2, "age": 38 } }],
|
1169
1190
|
# vitals: { height_in: 70, weight_lbs: 165, blood_pressure_systolic_mmhg: 115, blood_pressure_diastolic_mmhg: 85, body_temperature_f: 98, hemoglobin_gdl: 15.1, hematocrit_pct: 51.2 }
|
1170
1191
|
# )
|
1171
1192
|
def update(encounter_id:, prior_authorization_number: nil, external_id: nil, date_of_service: nil,
|
1172
|
-
diagnosis_ids: nil, tag_ids: nil, clinical_notes: nil, pay_to_address: nil, billable_status: nil, responsible_party: nil, provider_accepts_assignment: nil, benefits_assigned_to_provider: nil, synchronicity: nil, place_of_service_code: nil, place_of_service_code_as_submitted: nil, appointment_type: nil, end_date_of_service: nil, subscriber_primary: nil, subscriber_secondary: nil, additional_information: nil, service_authorization_exception_code: nil, admission_date: nil, discharge_date: nil, onset_of_current_illness_or_symptom_date: nil, last_menstrual_period_date: nil, delay_reason_code: nil, patient_authorized_release: nil, schema_instances: nil, vitals: nil, request_options: nil)
|
1193
|
+
diagnosis_ids: nil, tag_ids: nil, clinical_notes: nil, pay_to_address: nil, billable_status: nil, responsible_party: nil, provider_accepts_assignment: nil, benefits_assigned_to_provider: nil, synchronicity: nil, place_of_service_code: nil, place_of_service_code_as_submitted: nil, appointment_type: nil, end_date_of_service: nil, subscriber_primary: nil, subscriber_secondary: nil, additional_information: nil, service_authorization_exception_code: nil, admission_date: nil, discharge_date: nil, onset_of_current_illness_or_symptom_date: nil, last_menstrual_period_date: nil, delay_reason_code: nil, patient: nil, patient_authorized_release: nil, schema_instances: nil, vitals: nil, request_options: nil)
|
1173
1194
|
response = @request_client.conn.patch do |req|
|
1174
1195
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
1175
1196
|
req.headers["Authorization"] = request_options.token unless request_options&.token.nil?
|
@@ -1205,6 +1226,7 @@ module CandidApiClient
|
|
1205
1226
|
onset_of_current_illness_or_symptom_date: onset_of_current_illness_or_symptom_date,
|
1206
1227
|
last_menstrual_period_date: last_menstrual_period_date,
|
1207
1228
|
delay_reason_code: delay_reason_code,
|
1229
|
+
patient: patient,
|
1208
1230
|
patient_authorized_release: patient_authorized_release,
|
1209
1231
|
schema_instances: schema_instances,
|
1210
1232
|
vitals: vitals
|
@@ -2172,7 +2194,7 @@ module CandidApiClient
|
|
2172
2194
|
# be
|
2173
2195
|
# submitted to the payor.
|
2174
2196
|
# @param tag_ids [Array<String>] Names of tags that should be on the encounter. Note all tags on encounter will
|
2175
|
-
# be
|
2197
|
+
# be overridden with this list.
|
2176
2198
|
# @param clinical_notes [Array<Hash>] Holds a collection of clinical observations made by healthcare providers during
|
2177
2199
|
# patient encounters.Request of type Array<CandidApiClient::Encounters::V4::Types::ClinicalNoteCategoryCreate>, as a Hash
|
2178
2200
|
# * :category (CandidApiClient::Encounters::V4::Types::NoteCategory)
|
@@ -2295,6 +2317,25 @@ module CandidApiClient
|
|
2295
2317
|
# related to the patient's pregnancy.
|
2296
2318
|
# @param delay_reason_code [CandidApiClient::Commons::Types::DelayReasonCode] 837i Loop2300, CLM-1300 Box 20
|
2297
2319
|
# Code indicating the reason why a request was delayed
|
2320
|
+
# @param patient [Hash] Contains the identification information of the individual receiving medical
|
2321
|
+
# services.Request of type CandidApiClient::Individual::Types::PatientUpdate, as a Hash
|
2322
|
+
# * :first_name (String)
|
2323
|
+
# * :last_name (String)
|
2324
|
+
# * :gender (CandidApiClient::Individual::Types::Gender)
|
2325
|
+
# * :external_id (String)
|
2326
|
+
# * :date_of_birth (Date)
|
2327
|
+
# * :address (Hash)
|
2328
|
+
# * :zip_plus_four_code (String)
|
2329
|
+
# * :address_1 (String)
|
2330
|
+
# * :address_2 (String)
|
2331
|
+
# * :city (String)
|
2332
|
+
# * :state (CandidApiClient::Commons::Types::State)
|
2333
|
+
# * :zip_code (String)
|
2334
|
+
# * :phone_numbers (Array<CandidApiClient::Commons::Types::PhoneNumber>)
|
2335
|
+
# * :phone_consent (Boolean)
|
2336
|
+
# * :email (String)
|
2337
|
+
# * :email_consent (Boolean)
|
2338
|
+
# * :non_insurance_payers (Array<String>)
|
2298
2339
|
# @param patient_authorized_release [Boolean] Whether this patient has authorized the release of medical information
|
2299
2340
|
# for billing purpose.
|
2300
2341
|
# Box 12 on the CMS-1500 claim form.
|
@@ -2348,12 +2389,13 @@ module CandidApiClient
|
|
2348
2389
|
# onset_of_current_illness_or_symptom_date: DateTime.parse(2023-01-15),
|
2349
2390
|
# last_menstrual_period_date: DateTime.parse(2023-01-15),
|
2350
2391
|
# delay_reason_code: C_1,
|
2392
|
+
# patient: { first_name: "string", last_name: "string", gender: MALE, external_id: "string", date_of_birth: DateTime.parse(2023-01-15), address: { address_1: "123 Main St", address_2: "Apt 1", city: "New York", state: NY, zip_code: "10001", zip_plus_four_code: "1234" }, phone_numbers: [{ number: "1234567890", type: HOME }], phone_consent: true, email: "johndoe@joincandidhealth.com", email_consent: true, non_insurance_payers: ["d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"] },
|
2351
2393
|
# patient_authorized_release: true,
|
2352
2394
|
# schema_instances: [{ schema_id: "ec096b13-f80a-471d-aaeb-54b021c9d582", content: { "provider_category": "internist", "is_urgent_care": true, "bmi": 24.2, "age": 38 } }],
|
2353
2395
|
# vitals: { height_in: 70, weight_lbs: 165, blood_pressure_systolic_mmhg: 115, blood_pressure_diastolic_mmhg: 85, body_temperature_f: 98, hemoglobin_gdl: 15.1, hematocrit_pct: 51.2 }
|
2354
2396
|
# )
|
2355
2397
|
def update(encounter_id:, prior_authorization_number: nil, external_id: nil, date_of_service: nil,
|
2356
|
-
diagnosis_ids: nil, tag_ids: nil, clinical_notes: nil, pay_to_address: nil, billable_status: nil, responsible_party: nil, provider_accepts_assignment: nil, benefits_assigned_to_provider: nil, synchronicity: nil, place_of_service_code: nil, place_of_service_code_as_submitted: nil, appointment_type: nil, end_date_of_service: nil, subscriber_primary: nil, subscriber_secondary: nil, additional_information: nil, service_authorization_exception_code: nil, admission_date: nil, discharge_date: nil, onset_of_current_illness_or_symptom_date: nil, last_menstrual_period_date: nil, delay_reason_code: nil, patient_authorized_release: nil, schema_instances: nil, vitals: nil, request_options: nil)
|
2398
|
+
diagnosis_ids: nil, tag_ids: nil, clinical_notes: nil, pay_to_address: nil, billable_status: nil, responsible_party: nil, provider_accepts_assignment: nil, benefits_assigned_to_provider: nil, synchronicity: nil, place_of_service_code: nil, place_of_service_code_as_submitted: nil, appointment_type: nil, end_date_of_service: nil, subscriber_primary: nil, subscriber_secondary: nil, additional_information: nil, service_authorization_exception_code: nil, admission_date: nil, discharge_date: nil, onset_of_current_illness_or_symptom_date: nil, last_menstrual_period_date: nil, delay_reason_code: nil, patient: nil, patient_authorized_release: nil, schema_instances: nil, vitals: nil, request_options: nil)
|
2357
2399
|
Async do
|
2358
2400
|
response = @request_client.conn.patch do |req|
|
2359
2401
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
@@ -2390,6 +2432,7 @@ module CandidApiClient
|
|
2390
2432
|
onset_of_current_illness_or_symptom_date: onset_of_current_illness_or_symptom_date,
|
2391
2433
|
last_menstrual_period_date: last_menstrual_period_date,
|
2392
2434
|
delay_reason_code: delay_reason_code,
|
2435
|
+
patient: patient,
|
2393
2436
|
patient_authorized_release: patient_authorized_release,
|
2394
2437
|
schema_instances: schema_instances,
|
2395
2438
|
vitals: vitals
|
@@ -0,0 +1,165 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "gender"
|
4
|
+
require "date"
|
5
|
+
require_relative "../../commons/types/street_address_short_zip"
|
6
|
+
require_relative "../../commons/types/phone_number"
|
7
|
+
require "ostruct"
|
8
|
+
require "json"
|
9
|
+
|
10
|
+
module CandidApiClient
|
11
|
+
module Individual
|
12
|
+
module Types
|
13
|
+
class PatientUpdate
|
14
|
+
# @return [String]
|
15
|
+
attr_reader :first_name
|
16
|
+
# @return [String]
|
17
|
+
attr_reader :last_name
|
18
|
+
# @return [CandidApiClient::Individual::Types::Gender]
|
19
|
+
attr_reader :gender
|
20
|
+
# @return [String] The ID used to identify this individual in your system. For example, your
|
21
|
+
# internal patient ID or an EHR patient ID.
|
22
|
+
attr_reader :external_id
|
23
|
+
# @return [Date] Box 3 on the CMS-1500 claim form. The date format should be in ISO 8601 date;
|
24
|
+
# formatted YYYY-MM-DD (i.e. 2012-02-01)
|
25
|
+
attr_reader :date_of_birth
|
26
|
+
# @return [CandidApiClient::Commons::Types::StreetAddressShortZip] Box 5 on the CMS-1500 claim form.
|
27
|
+
attr_reader :address
|
28
|
+
# @return [Array<CandidApiClient::Commons::Types::PhoneNumber>]
|
29
|
+
attr_reader :phone_numbers
|
30
|
+
# @return [Boolean]
|
31
|
+
attr_reader :phone_consent
|
32
|
+
# @return [String]
|
33
|
+
attr_reader :email
|
34
|
+
# @return [Boolean]
|
35
|
+
attr_reader :email_consent
|
36
|
+
# @return [Array<String>] On update, we will replace the existing list of non-insurance payers with the
|
37
|
+
# new list if populated.
|
38
|
+
attr_reader :non_insurance_payers
|
39
|
+
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
40
|
+
attr_reader :additional_properties
|
41
|
+
# @return [Object]
|
42
|
+
attr_reader :_field_set
|
43
|
+
protected :_field_set
|
44
|
+
|
45
|
+
OMIT = Object.new
|
46
|
+
|
47
|
+
# @param first_name [String]
|
48
|
+
# @param last_name [String]
|
49
|
+
# @param gender [CandidApiClient::Individual::Types::Gender]
|
50
|
+
# @param external_id [String] The ID used to identify this individual in your system. For example, your
|
51
|
+
# internal patient ID or an EHR patient ID.
|
52
|
+
# @param date_of_birth [Date] Box 3 on the CMS-1500 claim form. The date format should be in ISO 8601 date;
|
53
|
+
# formatted YYYY-MM-DD (i.e. 2012-02-01)
|
54
|
+
# @param address [CandidApiClient::Commons::Types::StreetAddressShortZip] Box 5 on the CMS-1500 claim form.
|
55
|
+
# @param phone_numbers [Array<CandidApiClient::Commons::Types::PhoneNumber>]
|
56
|
+
# @param phone_consent [Boolean]
|
57
|
+
# @param email [String]
|
58
|
+
# @param email_consent [Boolean]
|
59
|
+
# @param non_insurance_payers [Array<String>] On update, we will replace the existing list of non-insurance payers with the
|
60
|
+
# new list if populated.
|
61
|
+
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
62
|
+
# @return [CandidApiClient::Individual::Types::PatientUpdate]
|
63
|
+
def initialize(first_name: OMIT, last_name: OMIT, gender: OMIT, external_id: OMIT, date_of_birth: OMIT,
|
64
|
+
address: OMIT, phone_numbers: OMIT, phone_consent: OMIT, email: OMIT, email_consent: OMIT, non_insurance_payers: OMIT, additional_properties: nil)
|
65
|
+
@first_name = first_name if first_name != OMIT
|
66
|
+
@last_name = last_name if last_name != OMIT
|
67
|
+
@gender = gender if gender != OMIT
|
68
|
+
@external_id = external_id if external_id != OMIT
|
69
|
+
@date_of_birth = date_of_birth if date_of_birth != OMIT
|
70
|
+
@address = address if address != OMIT
|
71
|
+
@phone_numbers = phone_numbers if phone_numbers != OMIT
|
72
|
+
@phone_consent = phone_consent if phone_consent != OMIT
|
73
|
+
@email = email if email != OMIT
|
74
|
+
@email_consent = email_consent if email_consent != OMIT
|
75
|
+
@non_insurance_payers = non_insurance_payers if non_insurance_payers != OMIT
|
76
|
+
@additional_properties = additional_properties
|
77
|
+
@_field_set = {
|
78
|
+
"first_name": first_name,
|
79
|
+
"last_name": last_name,
|
80
|
+
"gender": gender,
|
81
|
+
"external_id": external_id,
|
82
|
+
"date_of_birth": date_of_birth,
|
83
|
+
"address": address,
|
84
|
+
"phone_numbers": phone_numbers,
|
85
|
+
"phone_consent": phone_consent,
|
86
|
+
"email": email,
|
87
|
+
"email_consent": email_consent,
|
88
|
+
"non_insurance_payers": non_insurance_payers
|
89
|
+
}.reject do |_k, v|
|
90
|
+
v == OMIT
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
# Deserialize a JSON object to an instance of PatientUpdate
|
95
|
+
#
|
96
|
+
# @param json_object [String]
|
97
|
+
# @return [CandidApiClient::Individual::Types::PatientUpdate]
|
98
|
+
def self.from_json(json_object:)
|
99
|
+
struct = JSON.parse(json_object, object_class: OpenStruct)
|
100
|
+
parsed_json = JSON.parse(json_object)
|
101
|
+
first_name = struct["first_name"]
|
102
|
+
last_name = struct["last_name"]
|
103
|
+
gender = struct["gender"]
|
104
|
+
external_id = struct["external_id"]
|
105
|
+
date_of_birth = (Date.parse(parsed_json["date_of_birth"]) unless parsed_json["date_of_birth"].nil?)
|
106
|
+
if parsed_json["address"].nil?
|
107
|
+
address = nil
|
108
|
+
else
|
109
|
+
address = parsed_json["address"].to_json
|
110
|
+
address = CandidApiClient::Commons::Types::StreetAddressShortZip.from_json(json_object: address)
|
111
|
+
end
|
112
|
+
phone_numbers = parsed_json["phone_numbers"]&.map do |item|
|
113
|
+
item = item.to_json
|
114
|
+
CandidApiClient::Commons::Types::PhoneNumber.from_json(json_object: item)
|
115
|
+
end
|
116
|
+
phone_consent = struct["phone_consent"]
|
117
|
+
email = struct["email"]
|
118
|
+
email_consent = struct["email_consent"]
|
119
|
+
non_insurance_payers = struct["non_insurance_payers"]
|
120
|
+
new(
|
121
|
+
first_name: first_name,
|
122
|
+
last_name: last_name,
|
123
|
+
gender: gender,
|
124
|
+
external_id: external_id,
|
125
|
+
date_of_birth: date_of_birth,
|
126
|
+
address: address,
|
127
|
+
phone_numbers: phone_numbers,
|
128
|
+
phone_consent: phone_consent,
|
129
|
+
email: email,
|
130
|
+
email_consent: email_consent,
|
131
|
+
non_insurance_payers: non_insurance_payers,
|
132
|
+
additional_properties: struct
|
133
|
+
)
|
134
|
+
end
|
135
|
+
|
136
|
+
# Serialize an instance of PatientUpdate to a JSON object
|
137
|
+
#
|
138
|
+
# @return [String]
|
139
|
+
def to_json(*_args)
|
140
|
+
@_field_set&.to_json
|
141
|
+
end
|
142
|
+
|
143
|
+
# Leveraged for Union-type generation, validate_raw attempts to parse the given
|
144
|
+
# hash and check each fields type against the current object's property
|
145
|
+
# definitions.
|
146
|
+
#
|
147
|
+
# @param obj [Object]
|
148
|
+
# @return [Void]
|
149
|
+
def self.validate_raw(obj:)
|
150
|
+
obj.first_name&.is_a?(String) != false || raise("Passed value for field obj.first_name is not the expected type, validation failed.")
|
151
|
+
obj.last_name&.is_a?(String) != false || raise("Passed value for field obj.last_name is not the expected type, validation failed.")
|
152
|
+
obj.gender&.is_a?(CandidApiClient::Individual::Types::Gender) != false || raise("Passed value for field obj.gender is not the expected type, validation failed.")
|
153
|
+
obj.external_id&.is_a?(String) != false || raise("Passed value for field obj.external_id is not the expected type, validation failed.")
|
154
|
+
obj.date_of_birth&.is_a?(Date) != false || raise("Passed value for field obj.date_of_birth is not the expected type, validation failed.")
|
155
|
+
obj.address.nil? || CandidApiClient::Commons::Types::StreetAddressShortZip.validate_raw(obj: obj.address)
|
156
|
+
obj.phone_numbers&.is_a?(Array) != false || raise("Passed value for field obj.phone_numbers is not the expected type, validation failed.")
|
157
|
+
obj.phone_consent&.is_a?(Boolean) != false || raise("Passed value for field obj.phone_consent is not the expected type, validation failed.")
|
158
|
+
obj.email&.is_a?(String) != false || raise("Passed value for field obj.email is not the expected type, validation failed.")
|
159
|
+
obj.email_consent&.is_a?(Boolean) != false || raise("Passed value for field obj.email_consent is not the expected type, validation failed.")
|
160
|
+
obj.non_insurance_payers&.is_a?(Array) != false || raise("Passed value for field obj.non_insurance_payers is not the expected type, validation failed.")
|
161
|
+
end
|
162
|
+
end
|
163
|
+
end
|
164
|
+
end
|
165
|
+
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.34.
|
46
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.34.1" }
|
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.34.
|
90
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.34.1" }
|
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
@@ -389,6 +389,7 @@ require_relative "candidhealth/individual/types/subscriber_base"
|
|
389
389
|
require_relative "candidhealth/individual/types/subscriber_create"
|
390
390
|
require_relative "candidhealth/individual/types/subscriber"
|
391
391
|
require_relative "candidhealth/individual/types/patient_create"
|
392
|
+
require_relative "candidhealth/individual/types/patient_update"
|
392
393
|
require_relative "candidhealth/individual/types/patient_base"
|
393
394
|
require_relative "candidhealth/individual/types/patient"
|
394
395
|
require_relative "candidhealth/individual/types/gender"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: candidhealth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.34.
|
4
|
+
version: 0.34.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-http-faraday
|
@@ -334,6 +334,7 @@ files:
|
|
334
334
|
- lib/candidhealth/individual/types/patient.rb
|
335
335
|
- lib/candidhealth/individual/types/patient_base.rb
|
336
336
|
- lib/candidhealth/individual/types/patient_create.rb
|
337
|
+
- lib/candidhealth/individual/types/patient_update.rb
|
337
338
|
- lib/candidhealth/individual/types/subscriber.rb
|
338
339
|
- lib/candidhealth/individual/types/subscriber_base.rb
|
339
340
|
- lib/candidhealth/individual/types/subscriber_create.rb
|