samplehc 0.5.0__py3-none-any.whl → 0.7.0__py3-none-any.whl
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.
- samplehc/_version.py +1 -1
- samplehc/resources/v2/__init__.py +14 -0
- samplehc/resources/v2/browser_agents.py +177 -0
- samplehc/resources/v2/clearinghouse/claim.py +20 -36
- samplehc/resources/v2/communication.py +8 -0
- samplehc/resources/v2/database.py +19 -9
- samplehc/resources/v2/events/__init__.py +33 -0
- samplehc/resources/v2/{events.py → events/events.py} +42 -10
- samplehc/resources/v2/events/hie/__init__.py +33 -0
- samplehc/resources/v2/events/hie/adt.py +249 -0
- samplehc/resources/v2/events/hie/hie.py +102 -0
- samplehc/resources/v2/integrations/__init__.py +14 -0
- samplehc/resources/v2/integrations/glidian/__init__.py +33 -0
- samplehc/resources/v2/integrations/glidian/glidian.py +425 -0
- samplehc/resources/v2/integrations/glidian/prior_authorizations/__init__.py +33 -0
- samplehc/resources/v2/integrations/glidian/prior_authorizations/clinical_questions.py +276 -0
- samplehc/resources/v2/integrations/glidian/prior_authorizations/prior_authorizations.py +527 -0
- samplehc/resources/v2/integrations/integrations.py +32 -0
- samplehc/resources/v2/ledger/ledger.py +152 -0
- samplehc/resources/v2/v2.py +40 -8
- samplehc/types/v2/__init__.py +8 -0
- samplehc/types/v2/browser_agent_invoke_params.py +13 -0
- samplehc/types/v2/browser_agent_invoke_response.py +12 -0
- samplehc/types/v2/clearinghouse/claim_submit_params.py +1214 -884
- samplehc/types/v2/clearinghouse/claim_submit_response.py +10 -1
- samplehc/types/v2/communication_send_email_params.py +3 -0
- samplehc/types/v2/database_execute_sql_params.py +5 -3
- samplehc/types/v2/event_emit_params.py +1 -1
- samplehc/types/v2/events/__init__.py +3 -0
- samplehc/types/v2/events/hie/__init__.py +5 -0
- samplehc/types/v2/events/hie/adt_subscribe_params.py +92 -0
- samplehc/types/v2/integrations/__init__.py +10 -0
- samplehc/types/v2/integrations/glidian/__init__.py +20 -0
- samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_params.py +32 -0
- samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_response.py +22 -0
- samplehc/types/v2/integrations/glidian/prior_authorization_retrieve_record_response.py +11 -0
- samplehc/types/v2/integrations/glidian/prior_authorization_submit_response.py +14 -0
- samplehc/types/v2/integrations/glidian/prior_authorization_update_record_params.py +20 -0
- samplehc/types/v2/integrations/glidian/prior_authorization_update_record_response.py +14 -0
- samplehc/types/v2/integrations/glidian/prior_authorizations/__init__.py +7 -0
- samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_list_response.py +40 -0
- samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_params.py +22 -0
- samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_response.py +17 -0
- samplehc/types/v2/integrations/glidian_get_submission_requirements_params.py +17 -0
- samplehc/types/v2/integrations/glidian_get_submission_requirements_response.py +31 -0
- samplehc/types/v2/integrations/glidian_list_payers_params.py +11 -0
- samplehc/types/v2/integrations/glidian_list_payers_response.py +17 -0
- samplehc/types/v2/integrations/glidian_list_services_params.py +13 -0
- samplehc/types/v2/integrations/glidian_list_services_response.py +19 -0
- samplehc/types/v2/ledger_post_remittance_accepted_params.py +37 -0
- samplehc/types/v2/ledger_post_remittance_accepted_response.py +12 -0
- {samplehc-0.5.0.dist-info → samplehc-0.7.0.dist-info}/METADATA +1 -1
- {samplehc-0.5.0.dist-info → samplehc-0.7.0.dist-info}/RECORD +55 -21
- {samplehc-0.5.0.dist-info → samplehc-0.7.0.dist-info}/WHEEL +0 -0
- {samplehc-0.5.0.dist-info → samplehc-0.7.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Any, cast
|
|
6
|
+
|
|
7
|
+
import httpx
|
|
8
|
+
|
|
9
|
+
from ....._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
|
10
|
+
from ....._utils import maybe_transform, async_maybe_transform
|
|
11
|
+
from ....._compat import cached_property
|
|
12
|
+
from ....._resource import SyncAPIResource, AsyncAPIResource
|
|
13
|
+
from ....._response import (
|
|
14
|
+
to_raw_response_wrapper,
|
|
15
|
+
to_streamed_response_wrapper,
|
|
16
|
+
async_to_raw_response_wrapper,
|
|
17
|
+
async_to_streamed_response_wrapper,
|
|
18
|
+
)
|
|
19
|
+
from ....._base_client import make_request_options
|
|
20
|
+
from .....types.v2.integrations import (
|
|
21
|
+
glidian_list_payers_params,
|
|
22
|
+
glidian_list_services_params,
|
|
23
|
+
glidian_get_submission_requirements_params,
|
|
24
|
+
)
|
|
25
|
+
from .prior_authorizations.prior_authorizations import (
|
|
26
|
+
PriorAuthorizationsResource,
|
|
27
|
+
AsyncPriorAuthorizationsResource,
|
|
28
|
+
PriorAuthorizationsResourceWithRawResponse,
|
|
29
|
+
AsyncPriorAuthorizationsResourceWithRawResponse,
|
|
30
|
+
PriorAuthorizationsResourceWithStreamingResponse,
|
|
31
|
+
AsyncPriorAuthorizationsResourceWithStreamingResponse,
|
|
32
|
+
)
|
|
33
|
+
from .....types.v2.integrations.glidian_list_payers_response import GlidianListPayersResponse
|
|
34
|
+
from .....types.v2.integrations.glidian_list_services_response import GlidianListServicesResponse
|
|
35
|
+
from .....types.v2.integrations.glidian_get_submission_requirements_response import (
|
|
36
|
+
GlidianGetSubmissionRequirementsResponse,
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
__all__ = ["GlidianResource", "AsyncGlidianResource"]
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class GlidianResource(SyncAPIResource):
|
|
43
|
+
@cached_property
|
|
44
|
+
def prior_authorizations(self) -> PriorAuthorizationsResource:
|
|
45
|
+
return PriorAuthorizationsResource(self._client)
|
|
46
|
+
|
|
47
|
+
@cached_property
|
|
48
|
+
def with_raw_response(self) -> GlidianResourceWithRawResponse:
|
|
49
|
+
"""
|
|
50
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
51
|
+
the raw response object instead of the parsed content.
|
|
52
|
+
|
|
53
|
+
For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
|
|
54
|
+
"""
|
|
55
|
+
return GlidianResourceWithRawResponse(self)
|
|
56
|
+
|
|
57
|
+
@cached_property
|
|
58
|
+
def with_streaming_response(self) -> GlidianResourceWithStreamingResponse:
|
|
59
|
+
"""
|
|
60
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
61
|
+
|
|
62
|
+
For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
|
|
63
|
+
"""
|
|
64
|
+
return GlidianResourceWithStreamingResponse(self)
|
|
65
|
+
|
|
66
|
+
def get_submission_requirements(
|
|
67
|
+
self,
|
|
68
|
+
slug: str,
|
|
69
|
+
*,
|
|
70
|
+
insurance_id: float,
|
|
71
|
+
service_id: float,
|
|
72
|
+
state: str | NotGiven = NOT_GIVEN,
|
|
73
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
74
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
75
|
+
extra_headers: Headers | None = None,
|
|
76
|
+
extra_query: Query | None = None,
|
|
77
|
+
extra_body: Body | None = None,
|
|
78
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
79
|
+
) -> GlidianGetSubmissionRequirementsResponse:
|
|
80
|
+
"""
|
|
81
|
+
Get submission requirements for a specific insurance and service combination.
|
|
82
|
+
|
|
83
|
+
Args:
|
|
84
|
+
extra_headers: Send extra headers
|
|
85
|
+
|
|
86
|
+
extra_query: Add additional query parameters to the request
|
|
87
|
+
|
|
88
|
+
extra_body: Add additional JSON properties to the request
|
|
89
|
+
|
|
90
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
91
|
+
"""
|
|
92
|
+
if not slug:
|
|
93
|
+
raise ValueError(f"Expected a non-empty value for `slug` but received {slug!r}")
|
|
94
|
+
return cast(
|
|
95
|
+
GlidianGetSubmissionRequirementsResponse,
|
|
96
|
+
self._get(
|
|
97
|
+
f"/api/v2/integrations/glidian/{slug}/submission-requirements",
|
|
98
|
+
options=make_request_options(
|
|
99
|
+
extra_headers=extra_headers,
|
|
100
|
+
extra_query=extra_query,
|
|
101
|
+
extra_body=extra_body,
|
|
102
|
+
timeout=timeout,
|
|
103
|
+
query=maybe_transform(
|
|
104
|
+
{
|
|
105
|
+
"insurance_id": insurance_id,
|
|
106
|
+
"service_id": service_id,
|
|
107
|
+
"state": state,
|
|
108
|
+
},
|
|
109
|
+
glidian_get_submission_requirements_params.GlidianGetSubmissionRequirementsParams,
|
|
110
|
+
),
|
|
111
|
+
),
|
|
112
|
+
cast_to=cast(
|
|
113
|
+
Any, GlidianGetSubmissionRequirementsResponse
|
|
114
|
+
), # Union types cannot be passed in as arguments in the type system
|
|
115
|
+
),
|
|
116
|
+
)
|
|
117
|
+
|
|
118
|
+
def list_payers(
|
|
119
|
+
self,
|
|
120
|
+
slug: str,
|
|
121
|
+
*,
|
|
122
|
+
state: str | NotGiven = NOT_GIVEN,
|
|
123
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
124
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
125
|
+
extra_headers: Headers | None = None,
|
|
126
|
+
extra_query: Query | None = None,
|
|
127
|
+
extra_body: Body | None = None,
|
|
128
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
129
|
+
) -> GlidianListPayersResponse:
|
|
130
|
+
"""
|
|
131
|
+
Get a list of available Glidian payers/insurances for a specific connection.
|
|
132
|
+
|
|
133
|
+
Args:
|
|
134
|
+
extra_headers: Send extra headers
|
|
135
|
+
|
|
136
|
+
extra_query: Add additional query parameters to the request
|
|
137
|
+
|
|
138
|
+
extra_body: Add additional JSON properties to the request
|
|
139
|
+
|
|
140
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
141
|
+
"""
|
|
142
|
+
if not slug:
|
|
143
|
+
raise ValueError(f"Expected a non-empty value for `slug` but received {slug!r}")
|
|
144
|
+
return self._get(
|
|
145
|
+
f"/api/v2/integrations/glidian/{slug}/payers",
|
|
146
|
+
options=make_request_options(
|
|
147
|
+
extra_headers=extra_headers,
|
|
148
|
+
extra_query=extra_query,
|
|
149
|
+
extra_body=extra_body,
|
|
150
|
+
timeout=timeout,
|
|
151
|
+
query=maybe_transform({"state": state}, glidian_list_payers_params.GlidianListPayersParams),
|
|
152
|
+
),
|
|
153
|
+
cast_to=GlidianListPayersResponse,
|
|
154
|
+
)
|
|
155
|
+
|
|
156
|
+
def list_services(
|
|
157
|
+
self,
|
|
158
|
+
slug: str,
|
|
159
|
+
*,
|
|
160
|
+
insurance_id: float | NotGiven = NOT_GIVEN,
|
|
161
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
162
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
163
|
+
extra_headers: Headers | None = None,
|
|
164
|
+
extra_query: Query | None = None,
|
|
165
|
+
extra_body: Body | None = None,
|
|
166
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
167
|
+
) -> GlidianListServicesResponse:
|
|
168
|
+
"""
|
|
169
|
+
Get a list of available Glidian services for a specific connection.
|
|
170
|
+
|
|
171
|
+
Args:
|
|
172
|
+
extra_headers: Send extra headers
|
|
173
|
+
|
|
174
|
+
extra_query: Add additional query parameters to the request
|
|
175
|
+
|
|
176
|
+
extra_body: Add additional JSON properties to the request
|
|
177
|
+
|
|
178
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
179
|
+
"""
|
|
180
|
+
if not slug:
|
|
181
|
+
raise ValueError(f"Expected a non-empty value for `slug` but received {slug!r}")
|
|
182
|
+
return self._get(
|
|
183
|
+
f"/api/v2/integrations/glidian/{slug}/services",
|
|
184
|
+
options=make_request_options(
|
|
185
|
+
extra_headers=extra_headers,
|
|
186
|
+
extra_query=extra_query,
|
|
187
|
+
extra_body=extra_body,
|
|
188
|
+
timeout=timeout,
|
|
189
|
+
query=maybe_transform(
|
|
190
|
+
{"insurance_id": insurance_id}, glidian_list_services_params.GlidianListServicesParams
|
|
191
|
+
),
|
|
192
|
+
),
|
|
193
|
+
cast_to=GlidianListServicesResponse,
|
|
194
|
+
)
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
class AsyncGlidianResource(AsyncAPIResource):
|
|
198
|
+
@cached_property
|
|
199
|
+
def prior_authorizations(self) -> AsyncPriorAuthorizationsResource:
|
|
200
|
+
return AsyncPriorAuthorizationsResource(self._client)
|
|
201
|
+
|
|
202
|
+
@cached_property
|
|
203
|
+
def with_raw_response(self) -> AsyncGlidianResourceWithRawResponse:
|
|
204
|
+
"""
|
|
205
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
206
|
+
the raw response object instead of the parsed content.
|
|
207
|
+
|
|
208
|
+
For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
|
|
209
|
+
"""
|
|
210
|
+
return AsyncGlidianResourceWithRawResponse(self)
|
|
211
|
+
|
|
212
|
+
@cached_property
|
|
213
|
+
def with_streaming_response(self) -> AsyncGlidianResourceWithStreamingResponse:
|
|
214
|
+
"""
|
|
215
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
216
|
+
|
|
217
|
+
For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
|
|
218
|
+
"""
|
|
219
|
+
return AsyncGlidianResourceWithStreamingResponse(self)
|
|
220
|
+
|
|
221
|
+
async def get_submission_requirements(
|
|
222
|
+
self,
|
|
223
|
+
slug: str,
|
|
224
|
+
*,
|
|
225
|
+
insurance_id: float,
|
|
226
|
+
service_id: float,
|
|
227
|
+
state: str | NotGiven = NOT_GIVEN,
|
|
228
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
229
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
230
|
+
extra_headers: Headers | None = None,
|
|
231
|
+
extra_query: Query | None = None,
|
|
232
|
+
extra_body: Body | None = None,
|
|
233
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
234
|
+
) -> GlidianGetSubmissionRequirementsResponse:
|
|
235
|
+
"""
|
|
236
|
+
Get submission requirements for a specific insurance and service combination.
|
|
237
|
+
|
|
238
|
+
Args:
|
|
239
|
+
extra_headers: Send extra headers
|
|
240
|
+
|
|
241
|
+
extra_query: Add additional query parameters to the request
|
|
242
|
+
|
|
243
|
+
extra_body: Add additional JSON properties to the request
|
|
244
|
+
|
|
245
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
246
|
+
"""
|
|
247
|
+
if not slug:
|
|
248
|
+
raise ValueError(f"Expected a non-empty value for `slug` but received {slug!r}")
|
|
249
|
+
return cast(
|
|
250
|
+
GlidianGetSubmissionRequirementsResponse,
|
|
251
|
+
await self._get(
|
|
252
|
+
f"/api/v2/integrations/glidian/{slug}/submission-requirements",
|
|
253
|
+
options=make_request_options(
|
|
254
|
+
extra_headers=extra_headers,
|
|
255
|
+
extra_query=extra_query,
|
|
256
|
+
extra_body=extra_body,
|
|
257
|
+
timeout=timeout,
|
|
258
|
+
query=await async_maybe_transform(
|
|
259
|
+
{
|
|
260
|
+
"insurance_id": insurance_id,
|
|
261
|
+
"service_id": service_id,
|
|
262
|
+
"state": state,
|
|
263
|
+
},
|
|
264
|
+
glidian_get_submission_requirements_params.GlidianGetSubmissionRequirementsParams,
|
|
265
|
+
),
|
|
266
|
+
),
|
|
267
|
+
cast_to=cast(
|
|
268
|
+
Any, GlidianGetSubmissionRequirementsResponse
|
|
269
|
+
), # Union types cannot be passed in as arguments in the type system
|
|
270
|
+
),
|
|
271
|
+
)
|
|
272
|
+
|
|
273
|
+
async def list_payers(
|
|
274
|
+
self,
|
|
275
|
+
slug: str,
|
|
276
|
+
*,
|
|
277
|
+
state: str | NotGiven = NOT_GIVEN,
|
|
278
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
279
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
280
|
+
extra_headers: Headers | None = None,
|
|
281
|
+
extra_query: Query | None = None,
|
|
282
|
+
extra_body: Body | None = None,
|
|
283
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
284
|
+
) -> GlidianListPayersResponse:
|
|
285
|
+
"""
|
|
286
|
+
Get a list of available Glidian payers/insurances for a specific connection.
|
|
287
|
+
|
|
288
|
+
Args:
|
|
289
|
+
extra_headers: Send extra headers
|
|
290
|
+
|
|
291
|
+
extra_query: Add additional query parameters to the request
|
|
292
|
+
|
|
293
|
+
extra_body: Add additional JSON properties to the request
|
|
294
|
+
|
|
295
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
296
|
+
"""
|
|
297
|
+
if not slug:
|
|
298
|
+
raise ValueError(f"Expected a non-empty value for `slug` but received {slug!r}")
|
|
299
|
+
return await self._get(
|
|
300
|
+
f"/api/v2/integrations/glidian/{slug}/payers",
|
|
301
|
+
options=make_request_options(
|
|
302
|
+
extra_headers=extra_headers,
|
|
303
|
+
extra_query=extra_query,
|
|
304
|
+
extra_body=extra_body,
|
|
305
|
+
timeout=timeout,
|
|
306
|
+
query=await async_maybe_transform({"state": state}, glidian_list_payers_params.GlidianListPayersParams),
|
|
307
|
+
),
|
|
308
|
+
cast_to=GlidianListPayersResponse,
|
|
309
|
+
)
|
|
310
|
+
|
|
311
|
+
async def list_services(
|
|
312
|
+
self,
|
|
313
|
+
slug: str,
|
|
314
|
+
*,
|
|
315
|
+
insurance_id: float | NotGiven = NOT_GIVEN,
|
|
316
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
317
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
318
|
+
extra_headers: Headers | None = None,
|
|
319
|
+
extra_query: Query | None = None,
|
|
320
|
+
extra_body: Body | None = None,
|
|
321
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
322
|
+
) -> GlidianListServicesResponse:
|
|
323
|
+
"""
|
|
324
|
+
Get a list of available Glidian services for a specific connection.
|
|
325
|
+
|
|
326
|
+
Args:
|
|
327
|
+
extra_headers: Send extra headers
|
|
328
|
+
|
|
329
|
+
extra_query: Add additional query parameters to the request
|
|
330
|
+
|
|
331
|
+
extra_body: Add additional JSON properties to the request
|
|
332
|
+
|
|
333
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
334
|
+
"""
|
|
335
|
+
if not slug:
|
|
336
|
+
raise ValueError(f"Expected a non-empty value for `slug` but received {slug!r}")
|
|
337
|
+
return await self._get(
|
|
338
|
+
f"/api/v2/integrations/glidian/{slug}/services",
|
|
339
|
+
options=make_request_options(
|
|
340
|
+
extra_headers=extra_headers,
|
|
341
|
+
extra_query=extra_query,
|
|
342
|
+
extra_body=extra_body,
|
|
343
|
+
timeout=timeout,
|
|
344
|
+
query=await async_maybe_transform(
|
|
345
|
+
{"insurance_id": insurance_id}, glidian_list_services_params.GlidianListServicesParams
|
|
346
|
+
),
|
|
347
|
+
),
|
|
348
|
+
cast_to=GlidianListServicesResponse,
|
|
349
|
+
)
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
class GlidianResourceWithRawResponse:
|
|
353
|
+
def __init__(self, glidian: GlidianResource) -> None:
|
|
354
|
+
self._glidian = glidian
|
|
355
|
+
|
|
356
|
+
self.get_submission_requirements = to_raw_response_wrapper(
|
|
357
|
+
glidian.get_submission_requirements,
|
|
358
|
+
)
|
|
359
|
+
self.list_payers = to_raw_response_wrapper(
|
|
360
|
+
glidian.list_payers,
|
|
361
|
+
)
|
|
362
|
+
self.list_services = to_raw_response_wrapper(
|
|
363
|
+
glidian.list_services,
|
|
364
|
+
)
|
|
365
|
+
|
|
366
|
+
@cached_property
|
|
367
|
+
def prior_authorizations(self) -> PriorAuthorizationsResourceWithRawResponse:
|
|
368
|
+
return PriorAuthorizationsResourceWithRawResponse(self._glidian.prior_authorizations)
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
class AsyncGlidianResourceWithRawResponse:
|
|
372
|
+
def __init__(self, glidian: AsyncGlidianResource) -> None:
|
|
373
|
+
self._glidian = glidian
|
|
374
|
+
|
|
375
|
+
self.get_submission_requirements = async_to_raw_response_wrapper(
|
|
376
|
+
glidian.get_submission_requirements,
|
|
377
|
+
)
|
|
378
|
+
self.list_payers = async_to_raw_response_wrapper(
|
|
379
|
+
glidian.list_payers,
|
|
380
|
+
)
|
|
381
|
+
self.list_services = async_to_raw_response_wrapper(
|
|
382
|
+
glidian.list_services,
|
|
383
|
+
)
|
|
384
|
+
|
|
385
|
+
@cached_property
|
|
386
|
+
def prior_authorizations(self) -> AsyncPriorAuthorizationsResourceWithRawResponse:
|
|
387
|
+
return AsyncPriorAuthorizationsResourceWithRawResponse(self._glidian.prior_authorizations)
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
class GlidianResourceWithStreamingResponse:
|
|
391
|
+
def __init__(self, glidian: GlidianResource) -> None:
|
|
392
|
+
self._glidian = glidian
|
|
393
|
+
|
|
394
|
+
self.get_submission_requirements = to_streamed_response_wrapper(
|
|
395
|
+
glidian.get_submission_requirements,
|
|
396
|
+
)
|
|
397
|
+
self.list_payers = to_streamed_response_wrapper(
|
|
398
|
+
glidian.list_payers,
|
|
399
|
+
)
|
|
400
|
+
self.list_services = to_streamed_response_wrapper(
|
|
401
|
+
glidian.list_services,
|
|
402
|
+
)
|
|
403
|
+
|
|
404
|
+
@cached_property
|
|
405
|
+
def prior_authorizations(self) -> PriorAuthorizationsResourceWithStreamingResponse:
|
|
406
|
+
return PriorAuthorizationsResourceWithStreamingResponse(self._glidian.prior_authorizations)
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
class AsyncGlidianResourceWithStreamingResponse:
|
|
410
|
+
def __init__(self, glidian: AsyncGlidianResource) -> None:
|
|
411
|
+
self._glidian = glidian
|
|
412
|
+
|
|
413
|
+
self.get_submission_requirements = async_to_streamed_response_wrapper(
|
|
414
|
+
glidian.get_submission_requirements,
|
|
415
|
+
)
|
|
416
|
+
self.list_payers = async_to_streamed_response_wrapper(
|
|
417
|
+
glidian.list_payers,
|
|
418
|
+
)
|
|
419
|
+
self.list_services = async_to_streamed_response_wrapper(
|
|
420
|
+
glidian.list_services,
|
|
421
|
+
)
|
|
422
|
+
|
|
423
|
+
@cached_property
|
|
424
|
+
def prior_authorizations(self) -> AsyncPriorAuthorizationsResourceWithStreamingResponse:
|
|
425
|
+
return AsyncPriorAuthorizationsResourceWithStreamingResponse(self._glidian.prior_authorizations)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from .clinical_questions import (
|
|
4
|
+
ClinicalQuestionsResource,
|
|
5
|
+
AsyncClinicalQuestionsResource,
|
|
6
|
+
ClinicalQuestionsResourceWithRawResponse,
|
|
7
|
+
AsyncClinicalQuestionsResourceWithRawResponse,
|
|
8
|
+
ClinicalQuestionsResourceWithStreamingResponse,
|
|
9
|
+
AsyncClinicalQuestionsResourceWithStreamingResponse,
|
|
10
|
+
)
|
|
11
|
+
from .prior_authorizations import (
|
|
12
|
+
PriorAuthorizationsResource,
|
|
13
|
+
AsyncPriorAuthorizationsResource,
|
|
14
|
+
PriorAuthorizationsResourceWithRawResponse,
|
|
15
|
+
AsyncPriorAuthorizationsResourceWithRawResponse,
|
|
16
|
+
PriorAuthorizationsResourceWithStreamingResponse,
|
|
17
|
+
AsyncPriorAuthorizationsResourceWithStreamingResponse,
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
__all__ = [
|
|
21
|
+
"ClinicalQuestionsResource",
|
|
22
|
+
"AsyncClinicalQuestionsResource",
|
|
23
|
+
"ClinicalQuestionsResourceWithRawResponse",
|
|
24
|
+
"AsyncClinicalQuestionsResourceWithRawResponse",
|
|
25
|
+
"ClinicalQuestionsResourceWithStreamingResponse",
|
|
26
|
+
"AsyncClinicalQuestionsResourceWithStreamingResponse",
|
|
27
|
+
"PriorAuthorizationsResource",
|
|
28
|
+
"AsyncPriorAuthorizationsResource",
|
|
29
|
+
"PriorAuthorizationsResourceWithRawResponse",
|
|
30
|
+
"AsyncPriorAuthorizationsResourceWithRawResponse",
|
|
31
|
+
"PriorAuthorizationsResourceWithStreamingResponse",
|
|
32
|
+
"AsyncPriorAuthorizationsResourceWithStreamingResponse",
|
|
33
|
+
]
|