candidhealth 0.24.6 → 0.24.7
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/v_2/client.rb +2 -2
- data/lib/candidhealth/billing_notes/v_2/client.rb +2 -2
- data/lib/candidhealth/contracts/v_2/client.rb +10 -10
- data/lib/candidhealth/custom_schemas/v_1/client.rb +8 -8
- data/lib/candidhealth/eligibility/v_2/client.rb +6 -6
- data/lib/candidhealth/encounters/v_4/client.rb +8 -8
- data/lib/candidhealth/expected_network_status/v_1/client.rb +2 -2
- data/lib/candidhealth/expected_network_status/v_2/client.rb +4 -4
- data/lib/candidhealth/exports/v_3/client.rb +2 -2
- data/lib/candidhealth/external_payment_account_config/v_1/client.rb +2 -2
- data/lib/candidhealth/fee_schedules/v_3/client.rb +20 -20
- data/lib/candidhealth/guarantor/v_1/client.rb +6 -6
- data/lib/candidhealth/import_invoice/v_1/client.rb +8 -8
- data/lib/candidhealth/insurance_adjudications/v_1/client.rb +6 -6
- data/lib/candidhealth/insurance_payments/v_1/client.rb +10 -10
- data/lib/candidhealth/insurance_refunds/v_1/client.rb +10 -10
- data/lib/candidhealth/organization_providers/v_3/client.rb +8 -8
- data/lib/candidhealth/organization_service_facilities/v_2/client.rb +10 -10
- data/lib/candidhealth/patient_payments/v_4/client.rb +10 -10
- data/lib/candidhealth/patient_refunds/v_1/client.rb +10 -10
- data/lib/candidhealth/payers/v_3/client.rb +4 -4
- data/lib/candidhealth/pre_encounter/common/types/external_provider.rb +129 -0
- data/lib/candidhealth/pre_encounter/common/types/external_provider_type.rb +14 -0
- data/lib/candidhealth/pre_encounter/coverages/v_1/client.rb +28 -24
- data/lib/candidhealth/pre_encounter/coverages/v_1/types/insurance_plan.rb +13 -4
- data/lib/candidhealth/pre_encounter/coverages/v_1/types/insurance_type_code.rb +86 -0
- data/lib/candidhealth/pre_encounter/coverages/v_1/types/network_type.rb +5 -0
- data/lib/candidhealth/pre_encounter/coverages/v_1/types/subscriber.rb +10 -10
- data/lib/candidhealth/pre_encounter/patients/v_1/client.rb +22 -22
- data/lib/candidhealth/pre_encounter/patients/v_1/types/contact.rb +1 -11
- data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient.rb +14 -10
- data/lib/candidhealth/pre_encounter/patients/v_1/types/patient.rb +13 -9
- data/lib/candidhealth/service_facility/client.rb +2 -2
- data/lib/candidhealth/tasks/v_3/client.rb +10 -10
- data/lib/candidhealth/write_offs/v_1/client.rb +8 -8
- data/lib/candidhealth.rb +2 -2
- data/lib/environment.rb +8 -0
- data/lib/requests.rb +6 -4
- data/lib/types_export.rb +3 -1
- metadata +5 -3
- data/lib/candidhealth/pre_encounter/patients/v_1/types/external_provider.rb +0 -122
@@ -38,7 +38,7 @@ module CandidApiClient
|
|
38
38
|
# @param request_options [CandidApiClient::RequestOptions]
|
39
39
|
# @return [CandidApiClient::WriteOffs::V1::Types::WriteOffsPage]
|
40
40
|
# @example
|
41
|
-
# api = CandidApiClient::Client.new(base_url: "https://api.example.com")
|
41
|
+
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
42
42
|
# api.write_offs.v_1.get_multi(
|
43
43
|
# limit: 1,
|
44
44
|
# patient_external_id: "string",
|
@@ -86,7 +86,7 @@ module CandidApiClient
|
|
86
86
|
# @param request_options [CandidApiClient::RequestOptions]
|
87
87
|
# @return [CandidApiClient::WriteOffs::V1::Types::WriteOff]
|
88
88
|
# @example
|
89
|
-
# api = CandidApiClient::Client.new(base_url: "https://api.example.com")
|
89
|
+
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
90
90
|
# api.write_offs.v_1.get(write_off_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
91
91
|
def get(write_off_id:, request_options: nil)
|
92
92
|
response = @request_client.conn.get do |req|
|
@@ -110,7 +110,7 @@ module CandidApiClient
|
|
110
110
|
# @param request_options [CandidApiClient::RequestOptions]
|
111
111
|
# @return [CandidApiClient::WriteOffs::V1::Types::CreateWriteOffsResponse]
|
112
112
|
# @example
|
113
|
-
# api = CandidApiClient::Client.new(base_url: "https://api.example.com")
|
113
|
+
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
114
114
|
# api.write_offs.v_1.create(write_offs: )
|
115
115
|
def create(write_offs:, request_options: nil)
|
116
116
|
response = @request_client.conn.post do |req|
|
@@ -134,7 +134,7 @@ module CandidApiClient
|
|
134
134
|
# @param request_options [CandidApiClient::RequestOptions]
|
135
135
|
# @return [CandidApiClient::WriteOffs::V1::Types::WriteOff]
|
136
136
|
# @example
|
137
|
-
# api = CandidApiClient::Client.new(base_url: "https://api.example.com")
|
137
|
+
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
138
138
|
# api.write_offs.v_1.revert(write_off_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
139
139
|
def revert(write_off_id:, request_options: nil)
|
140
140
|
response = @request_client.conn.post do |req|
|
@@ -177,7 +177,7 @@ module CandidApiClient
|
|
177
177
|
# @param request_options [CandidApiClient::RequestOptions]
|
178
178
|
# @return [CandidApiClient::WriteOffs::V1::Types::WriteOffsPage]
|
179
179
|
# @example
|
180
|
-
# api = CandidApiClient::Client.new(base_url: "https://api.example.com")
|
180
|
+
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
181
181
|
# api.write_offs.v_1.get_multi(
|
182
182
|
# limit: 1,
|
183
183
|
# patient_external_id: "string",
|
@@ -227,7 +227,7 @@ module CandidApiClient
|
|
227
227
|
# @param request_options [CandidApiClient::RequestOptions]
|
228
228
|
# @return [CandidApiClient::WriteOffs::V1::Types::WriteOff]
|
229
229
|
# @example
|
230
|
-
# api = CandidApiClient::Client.new(base_url: "https://api.example.com")
|
230
|
+
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
231
231
|
# api.write_offs.v_1.get(write_off_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
232
232
|
def get(write_off_id:, request_options: nil)
|
233
233
|
Async do
|
@@ -253,7 +253,7 @@ module CandidApiClient
|
|
253
253
|
# @param request_options [CandidApiClient::RequestOptions]
|
254
254
|
# @return [CandidApiClient::WriteOffs::V1::Types::CreateWriteOffsResponse]
|
255
255
|
# @example
|
256
|
-
# api = CandidApiClient::Client.new(base_url: "https://api.example.com")
|
256
|
+
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
257
257
|
# api.write_offs.v_1.create(write_offs: )
|
258
258
|
def create(write_offs:, request_options: nil)
|
259
259
|
Async do
|
@@ -279,7 +279,7 @@ module CandidApiClient
|
|
279
279
|
# @param request_options [CandidApiClient::RequestOptions]
|
280
280
|
# @return [CandidApiClient::WriteOffs::V1::Types::WriteOff]
|
281
281
|
# @example
|
282
|
-
# api = CandidApiClient::Client.new(base_url: "https://api.example.com")
|
282
|
+
# api = CandidApiClient::Client.new(base_url: "https://api.example.com", environment: CandidApiClient::Environment::PRODUCTION)
|
283
283
|
# api.write_offs.v_1.revert(write_off_id: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
284
284
|
def revert(write_off_id:, request_options: nil)
|
285
285
|
Async do
|
data/lib/candidhealth.rb
CHANGED
@@ -87,7 +87,7 @@ module CandidApiClient
|
|
87
87
|
# @param client_id [String]
|
88
88
|
# @param client_secret [String]
|
89
89
|
# @return [CandidApiClient::Client]
|
90
|
-
def initialize(client_id:, client_secret:, base_url: nil, environment:
|
90
|
+
def initialize(client_id:, client_secret:, base_url: nil, environment: CandidApiClient::Environment::PRODUCTION, max_retries: nil,
|
91
91
|
timeout_in_seconds: nil)
|
92
92
|
@oauth_provider = CandidApiClient::OauthTokenProvider.new(
|
93
93
|
client_id: client_id,
|
@@ -190,7 +190,7 @@ module CandidApiClient
|
|
190
190
|
# @param client_id [String]
|
191
191
|
# @param client_secret [String]
|
192
192
|
# @return [CandidApiClient::AsyncClient]
|
193
|
-
def initialize(client_id:, client_secret:, base_url: nil, environment:
|
193
|
+
def initialize(client_id:, client_secret:, base_url: nil, environment: CandidApiClient::Environment::PRODUCTION, max_retries: nil,
|
194
194
|
timeout_in_seconds: nil)
|
195
195
|
@oauth_provider = CandidApiClient::OauthTokenProvider.new(
|
196
196
|
client_id: client_id,
|
data/lib/environment.rb
CHANGED
@@ -2,5 +2,13 @@
|
|
2
2
|
|
3
3
|
module CandidApiClient
|
4
4
|
class Environment
|
5
|
+
PRODUCTION = {
|
6
|
+
CandidApi: "https://api.joincandidhealth.com",
|
7
|
+
PreEncounter: "https://pre-api.joincandidhealth.com"
|
8
|
+
}.freeze
|
9
|
+
STAGING = {
|
10
|
+
CandidApi: "https://api-staging.joincandidhealth.com",
|
11
|
+
PreEncounter: "https://pre-api-staging.joincandidhealth.com"
|
12
|
+
}.freeze
|
5
13
|
end
|
6
14
|
end
|
data/lib/requests.rb
CHANGED
@@ -22,7 +22,8 @@ module CandidApiClient
|
|
22
22
|
# @param timeout_in_seconds [Long]
|
23
23
|
# @param token [String, Method]
|
24
24
|
# @return [CandidApiClient::RequestClient]
|
25
|
-
def initialize(base_url: nil, environment:
|
25
|
+
def initialize(base_url: nil, environment: CandidApiClient::Environment::PRODUCTION, max_retries: nil,
|
26
|
+
timeout_in_seconds: nil, token: nil)
|
26
27
|
@default_environment = environment
|
27
28
|
@token = token
|
28
29
|
@conn = Faraday.new do |faraday|
|
@@ -42,7 +43,7 @@ module CandidApiClient
|
|
42
43
|
|
43
44
|
# @return [Hash{String => String}]
|
44
45
|
def get_headers
|
45
|
-
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.7" }
|
46
47
|
headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
|
47
48
|
headers
|
48
49
|
end
|
@@ -64,7 +65,8 @@ module CandidApiClient
|
|
64
65
|
# @param timeout_in_seconds [Long]
|
65
66
|
# @param token [String, Method]
|
66
67
|
# @return [CandidApiClient::AsyncRequestClient]
|
67
|
-
def initialize(base_url: nil, environment:
|
68
|
+
def initialize(base_url: nil, environment: CandidApiClient::Environment::PRODUCTION, max_retries: nil,
|
69
|
+
timeout_in_seconds: nil, token: nil)
|
68
70
|
@default_environment = environment
|
69
71
|
@token = token
|
70
72
|
@conn = Faraday.new do |faraday|
|
@@ -85,7 +87,7 @@ module CandidApiClient
|
|
85
87
|
|
86
88
|
# @return [Hash{String => String}]
|
87
89
|
def get_headers
|
88
|
-
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.7" }
|
89
91
|
headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
|
90
92
|
headers
|
91
93
|
end
|
data/lib/types_export.rb
CHANGED
@@ -240,10 +240,10 @@ require_relative "candidhealth/pre_encounter/coverages/v_1/types/network_type"
|
|
240
240
|
require_relative "candidhealth/pre_encounter/coverages/v_1/types/insurance_plan"
|
241
241
|
require_relative "candidhealth/pre_encounter/coverages/v_1/types/mutable_coverage"
|
242
242
|
require_relative "candidhealth/pre_encounter/coverages/v_1/types/coverage"
|
243
|
+
require_relative "candidhealth/pre_encounter/coverages/v_1/types/insurance_type_code"
|
243
244
|
require_relative "candidhealth/pre_encounter/patients/v_1/types/marital_status"
|
244
245
|
require_relative "candidhealth/pre_encounter/patients/v_1/types/external_provenance"
|
245
246
|
require_relative "candidhealth/pre_encounter/patients/v_1/types/contact"
|
246
|
-
require_relative "candidhealth/pre_encounter/patients/v_1/types/external_provider"
|
247
247
|
require_relative "candidhealth/pre_encounter/patients/v_1/types/filing_order"
|
248
248
|
require_relative "candidhealth/pre_encounter/patients/v_1/types/mutable_patient"
|
249
249
|
require_relative "candidhealth/pre_encounter/patients/v_1/types/patient"
|
@@ -350,3 +350,5 @@ require_relative "candidhealth/pre_encounter/common/types/contact_point"
|
|
350
350
|
require_relative "candidhealth/pre_encounter/common/types/error_base"
|
351
351
|
require_relative "candidhealth/pre_encounter/common/types/not_found_error_body"
|
352
352
|
require_relative "candidhealth/pre_encounter/common/types/version_conflict_error_body"
|
353
|
+
require_relative "candidhealth/pre_encounter/common/types/external_provider_type"
|
354
|
+
require_relative "candidhealth/pre_encounter/common/types/external_provider"
|
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.24.
|
4
|
+
version: 0.24.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-http-faraday
|
@@ -419,6 +419,8 @@ files:
|
|
419
419
|
- lib/candidhealth/pre_encounter/common/types/disability_status.rb
|
420
420
|
- lib/candidhealth/pre_encounter/common/types/error_base.rb
|
421
421
|
- lib/candidhealth/pre_encounter/common/types/ethnicity.rb
|
422
|
+
- lib/candidhealth/pre_encounter/common/types/external_provider.rb
|
423
|
+
- lib/candidhealth/pre_encounter/common/types/external_provider_type.rb
|
422
424
|
- lib/candidhealth/pre_encounter/common/types/gender.rb
|
423
425
|
- lib/candidhealth/pre_encounter/common/types/human_name.rb
|
424
426
|
- lib/candidhealth/pre_encounter/common/types/name_use.rb
|
@@ -434,6 +436,7 @@ files:
|
|
434
436
|
- lib/candidhealth/pre_encounter/coverages/v_1/types/coverage.rb
|
435
437
|
- lib/candidhealth/pre_encounter/coverages/v_1/types/coverage_status.rb
|
436
438
|
- lib/candidhealth/pre_encounter/coverages/v_1/types/insurance_plan.rb
|
439
|
+
- lib/candidhealth/pre_encounter/coverages/v_1/types/insurance_type_code.rb
|
437
440
|
- lib/candidhealth/pre_encounter/coverages/v_1/types/mutable_coverage.rb
|
438
441
|
- lib/candidhealth/pre_encounter/coverages/v_1/types/network_type.rb
|
439
442
|
- lib/candidhealth/pre_encounter/coverages/v_1/types/subscriber.rb
|
@@ -441,7 +444,6 @@ files:
|
|
441
444
|
- lib/candidhealth/pre_encounter/patients/v_1/client.rb
|
442
445
|
- lib/candidhealth/pre_encounter/patients/v_1/types/contact.rb
|
443
446
|
- lib/candidhealth/pre_encounter/patients/v_1/types/external_provenance.rb
|
444
|
-
- lib/candidhealth/pre_encounter/patients/v_1/types/external_provider.rb
|
445
447
|
- lib/candidhealth/pre_encounter/patients/v_1/types/filing_order.rb
|
446
448
|
- lib/candidhealth/pre_encounter/patients/v_1/types/marital_status.rb
|
447
449
|
- lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient.rb
|
@@ -1,122 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative "../../../common/types/human_name"
|
4
|
-
require_relative "../../../common/types/contact_point"
|
5
|
-
require_relative "../../../common/types/address"
|
6
|
-
require_relative "../../../common/types/period"
|
7
|
-
require "ostruct"
|
8
|
-
require "json"
|
9
|
-
|
10
|
-
module CandidApiClient
|
11
|
-
module PreEncounter
|
12
|
-
module Patients
|
13
|
-
module V1
|
14
|
-
module Types
|
15
|
-
class ExternalProvider
|
16
|
-
# @return [CandidApiClient::PreEncounter::Common::Types::HumanName]
|
17
|
-
attr_reader :name
|
18
|
-
# @return [String]
|
19
|
-
attr_reader :npi
|
20
|
-
# @return [Array<CandidApiClient::PreEncounter::Common::Types::ContactPoint>]
|
21
|
-
attr_reader :telecoms
|
22
|
-
# @return [Array<CandidApiClient::PreEncounter::Common::Types::Address>]
|
23
|
-
attr_reader :addresses
|
24
|
-
# @return [CandidApiClient::PreEncounter::Common::Types::Period]
|
25
|
-
attr_reader :period
|
26
|
-
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
27
|
-
attr_reader :additional_properties
|
28
|
-
# @return [Object]
|
29
|
-
attr_reader :_field_set
|
30
|
-
protected :_field_set
|
31
|
-
|
32
|
-
OMIT = Object.new
|
33
|
-
|
34
|
-
# @param name [CandidApiClient::PreEncounter::Common::Types::HumanName]
|
35
|
-
# @param npi [String]
|
36
|
-
# @param telecoms [Array<CandidApiClient::PreEncounter::Common::Types::ContactPoint>]
|
37
|
-
# @param addresses [Array<CandidApiClient::PreEncounter::Common::Types::Address>]
|
38
|
-
# @param period [CandidApiClient::PreEncounter::Common::Types::Period]
|
39
|
-
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
40
|
-
# @return [CandidApiClient::PreEncounter::Patients::V1::Types::ExternalProvider]
|
41
|
-
def initialize(name:, npi:, telecoms:, addresses:, period: OMIT, additional_properties: nil)
|
42
|
-
@name = name
|
43
|
-
@npi = npi
|
44
|
-
@telecoms = telecoms
|
45
|
-
@addresses = addresses
|
46
|
-
@period = period if period != OMIT
|
47
|
-
@additional_properties = additional_properties
|
48
|
-
@_field_set = {
|
49
|
-
"name": name,
|
50
|
-
"npi": npi,
|
51
|
-
"telecoms": telecoms,
|
52
|
-
"addresses": addresses,
|
53
|
-
"period": period
|
54
|
-
}.reject do |_k, v|
|
55
|
-
v == OMIT
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
# Deserialize a JSON object to an instance of ExternalProvider
|
60
|
-
#
|
61
|
-
# @param json_object [String]
|
62
|
-
# @return [CandidApiClient::PreEncounter::Patients::V1::Types::ExternalProvider]
|
63
|
-
def self.from_json(json_object:)
|
64
|
-
struct = JSON.parse(json_object, object_class: OpenStruct)
|
65
|
-
parsed_json = JSON.parse(json_object)
|
66
|
-
if parsed_json["name"].nil?
|
67
|
-
name = nil
|
68
|
-
else
|
69
|
-
name = parsed_json["name"].to_json
|
70
|
-
name = CandidApiClient::PreEncounter::Common::Types::HumanName.from_json(json_object: name)
|
71
|
-
end
|
72
|
-
npi = struct["npi"]
|
73
|
-
telecoms = parsed_json["telecoms"]&.map do |item|
|
74
|
-
item = item.to_json
|
75
|
-
CandidApiClient::PreEncounter::Common::Types::ContactPoint.from_json(json_object: item)
|
76
|
-
end
|
77
|
-
addresses = parsed_json["addresses"]&.map do |item|
|
78
|
-
item = item.to_json
|
79
|
-
CandidApiClient::PreEncounter::Common::Types::Address.from_json(json_object: item)
|
80
|
-
end
|
81
|
-
if parsed_json["period"].nil?
|
82
|
-
period = nil
|
83
|
-
else
|
84
|
-
period = parsed_json["period"].to_json
|
85
|
-
period = CandidApiClient::PreEncounter::Common::Types::Period.from_json(json_object: period)
|
86
|
-
end
|
87
|
-
new(
|
88
|
-
name: name,
|
89
|
-
npi: npi,
|
90
|
-
telecoms: telecoms,
|
91
|
-
addresses: addresses,
|
92
|
-
period: period,
|
93
|
-
additional_properties: struct
|
94
|
-
)
|
95
|
-
end
|
96
|
-
|
97
|
-
# Serialize an instance of ExternalProvider to a JSON object
|
98
|
-
#
|
99
|
-
# @return [String]
|
100
|
-
def to_json(*_args)
|
101
|
-
@_field_set&.to_json
|
102
|
-
end
|
103
|
-
|
104
|
-
# Leveraged for Union-type generation, validate_raw attempts to parse the given
|
105
|
-
# hash and check each fields type against the current object's property
|
106
|
-
# definitions.
|
107
|
-
#
|
108
|
-
# @param obj [Object]
|
109
|
-
# @return [Void]
|
110
|
-
def self.validate_raw(obj:)
|
111
|
-
CandidApiClient::PreEncounter::Common::Types::HumanName.validate_raw(obj: obj.name)
|
112
|
-
obj.npi.is_a?(String) != false || raise("Passed value for field obj.npi is not the expected type, validation failed.")
|
113
|
-
obj.telecoms.is_a?(Array) != false || raise("Passed value for field obj.telecoms is not the expected type, validation failed.")
|
114
|
-
obj.addresses.is_a?(Array) != false || raise("Passed value for field obj.addresses is not the expected type, validation failed.")
|
115
|
-
obj.period.nil? || CandidApiClient::PreEncounter::Common::Types::Period.validate_raw(obj: obj.period)
|
116
|
-
end
|
117
|
-
end
|
118
|
-
end
|
119
|
-
end
|
120
|
-
end
|
121
|
-
end
|
122
|
-
end
|