samplehc 0.8.0__py3-none-any.whl → 0.9.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/clearinghouse/clearinghouse.py +163 -0
- samplehc/resources/v2/documents/documents.py +4 -0
- samplehc/resources/v2/events/__init__.py +33 -0
- samplehc/resources/v2/{events.py → events/events.py} +40 -8
- samplehc/resources/v2/events/integrations/__init__.py +33 -0
- samplehc/resources/v2/events/integrations/integrations.py +102 -0
- samplehc/resources/v2/events/integrations/xcures.py +197 -0
- samplehc/resources/v2/v2.py +8 -8
- samplehc/types/v2/__init__.py +3 -0
- samplehc/types/v2/clearinghouse_check_claim_status_params.py +41 -0
- samplehc/types/v2/document_presigned_upload_url_params.py +2 -0
- samplehc/types/v2/events/__init__.py +3 -0
- samplehc/types/v2/events/integrations/__init__.py +5 -0
- samplehc/types/v2/events/integrations/xcure_make_request_params.py +18 -0
- samplehc/types/v2/hie/adt_subscribe_params.py +2 -2
- samplehc/types/v2/hie/document_query_params.py +2 -2
- {samplehc-0.8.0.dist-info → samplehc-0.9.0.dist-info}/METADATA +1 -1
- {samplehc-0.8.0.dist-info → samplehc-0.9.0.dist-info}/RECORD +21 -13
- {samplehc-0.8.0.dist-info → samplehc-0.9.0.dist-info}/WHEEL +0 -0
- {samplehc-0.8.0.dist-info → samplehc-0.9.0.dist-info}/licenses/LICENSE +0 -0
samplehc/_version.py
CHANGED
|
@@ -28,6 +28,7 @@ from ...._compat import cached_property
|
|
|
28
28
|
from ....types.v2 import (
|
|
29
29
|
clearinghouse_run_discovery_params,
|
|
30
30
|
clearinghouse_check_eligibility_params,
|
|
31
|
+
clearinghouse_check_claim_status_params,
|
|
31
32
|
clearinghouse_calculate_patient_cost_params,
|
|
32
33
|
clearinghouse_coordination_of_benefits_params,
|
|
33
34
|
)
|
|
@@ -118,6 +119,81 @@ class ClearinghouseResource(SyncAPIResource):
|
|
|
118
119
|
cast_to=NoneType,
|
|
119
120
|
)
|
|
120
121
|
|
|
122
|
+
def check_claim_status(
|
|
123
|
+
self,
|
|
124
|
+
*,
|
|
125
|
+
provider_npi: str,
|
|
126
|
+
subscriber_date_of_birth: str,
|
|
127
|
+
subscriber_first_name: str,
|
|
128
|
+
subscriber_last_name: str,
|
|
129
|
+
subscriber_member_id: str,
|
|
130
|
+
trading_partner_service_id: str,
|
|
131
|
+
payer_claim_number: str | NotGiven = NOT_GIVEN,
|
|
132
|
+
provider_name: str | NotGiven = NOT_GIVEN,
|
|
133
|
+
service_from_date: str | NotGiven = NOT_GIVEN,
|
|
134
|
+
service_to_date: str | NotGiven = NOT_GIVEN,
|
|
135
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
136
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
137
|
+
extra_headers: Headers | None = None,
|
|
138
|
+
extra_query: Query | None = None,
|
|
139
|
+
extra_body: Body | None = None,
|
|
140
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
141
|
+
) -> object:
|
|
142
|
+
"""
|
|
143
|
+
Checks the real-time status of a claim using 276/277 transactions.
|
|
144
|
+
|
|
145
|
+
Args:
|
|
146
|
+
provider_npi: The provider's NPI number
|
|
147
|
+
|
|
148
|
+
subscriber_date_of_birth: The subscriber's date of birth (YYYY-MM-DD format)
|
|
149
|
+
|
|
150
|
+
subscriber_first_name: The subscriber's first name
|
|
151
|
+
|
|
152
|
+
subscriber_last_name: The subscriber's last name
|
|
153
|
+
|
|
154
|
+
subscriber_member_id: The subscriber's member ID
|
|
155
|
+
|
|
156
|
+
trading_partner_service_id: The Payer ID in our clearinghouse
|
|
157
|
+
|
|
158
|
+
payer_claim_number: The payer claim number (ICN) to check status for
|
|
159
|
+
|
|
160
|
+
provider_name: The provider's organization name
|
|
161
|
+
|
|
162
|
+
service_from_date: The beginning date of service (YYYY-MM-DD format)
|
|
163
|
+
|
|
164
|
+
service_to_date: The ending date of service (YYYY-MM-DD format)
|
|
165
|
+
|
|
166
|
+
extra_headers: Send extra headers
|
|
167
|
+
|
|
168
|
+
extra_query: Add additional query parameters to the request
|
|
169
|
+
|
|
170
|
+
extra_body: Add additional JSON properties to the request
|
|
171
|
+
|
|
172
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
173
|
+
"""
|
|
174
|
+
return self._post(
|
|
175
|
+
"/api/v2/clearinghouse/claim-status",
|
|
176
|
+
body=maybe_transform(
|
|
177
|
+
{
|
|
178
|
+
"provider_npi": provider_npi,
|
|
179
|
+
"subscriber_date_of_birth": subscriber_date_of_birth,
|
|
180
|
+
"subscriber_first_name": subscriber_first_name,
|
|
181
|
+
"subscriber_last_name": subscriber_last_name,
|
|
182
|
+
"subscriber_member_id": subscriber_member_id,
|
|
183
|
+
"trading_partner_service_id": trading_partner_service_id,
|
|
184
|
+
"payer_claim_number": payer_claim_number,
|
|
185
|
+
"provider_name": provider_name,
|
|
186
|
+
"service_from_date": service_from_date,
|
|
187
|
+
"service_to_date": service_to_date,
|
|
188
|
+
},
|
|
189
|
+
clearinghouse_check_claim_status_params.ClearinghouseCheckClaimStatusParams,
|
|
190
|
+
),
|
|
191
|
+
options=make_request_options(
|
|
192
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
193
|
+
),
|
|
194
|
+
cast_to=object,
|
|
195
|
+
)
|
|
196
|
+
|
|
121
197
|
def check_eligibility(
|
|
122
198
|
self,
|
|
123
199
|
*,
|
|
@@ -384,6 +460,81 @@ class AsyncClearinghouseResource(AsyncAPIResource):
|
|
|
384
460
|
cast_to=NoneType,
|
|
385
461
|
)
|
|
386
462
|
|
|
463
|
+
async def check_claim_status(
|
|
464
|
+
self,
|
|
465
|
+
*,
|
|
466
|
+
provider_npi: str,
|
|
467
|
+
subscriber_date_of_birth: str,
|
|
468
|
+
subscriber_first_name: str,
|
|
469
|
+
subscriber_last_name: str,
|
|
470
|
+
subscriber_member_id: str,
|
|
471
|
+
trading_partner_service_id: str,
|
|
472
|
+
payer_claim_number: str | NotGiven = NOT_GIVEN,
|
|
473
|
+
provider_name: str | NotGiven = NOT_GIVEN,
|
|
474
|
+
service_from_date: str | NotGiven = NOT_GIVEN,
|
|
475
|
+
service_to_date: str | NotGiven = NOT_GIVEN,
|
|
476
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
477
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
478
|
+
extra_headers: Headers | None = None,
|
|
479
|
+
extra_query: Query | None = None,
|
|
480
|
+
extra_body: Body | None = None,
|
|
481
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
482
|
+
) -> object:
|
|
483
|
+
"""
|
|
484
|
+
Checks the real-time status of a claim using 276/277 transactions.
|
|
485
|
+
|
|
486
|
+
Args:
|
|
487
|
+
provider_npi: The provider's NPI number
|
|
488
|
+
|
|
489
|
+
subscriber_date_of_birth: The subscriber's date of birth (YYYY-MM-DD format)
|
|
490
|
+
|
|
491
|
+
subscriber_first_name: The subscriber's first name
|
|
492
|
+
|
|
493
|
+
subscriber_last_name: The subscriber's last name
|
|
494
|
+
|
|
495
|
+
subscriber_member_id: The subscriber's member ID
|
|
496
|
+
|
|
497
|
+
trading_partner_service_id: The Payer ID in our clearinghouse
|
|
498
|
+
|
|
499
|
+
payer_claim_number: The payer claim number (ICN) to check status for
|
|
500
|
+
|
|
501
|
+
provider_name: The provider's organization name
|
|
502
|
+
|
|
503
|
+
service_from_date: The beginning date of service (YYYY-MM-DD format)
|
|
504
|
+
|
|
505
|
+
service_to_date: The ending date of service (YYYY-MM-DD format)
|
|
506
|
+
|
|
507
|
+
extra_headers: Send extra headers
|
|
508
|
+
|
|
509
|
+
extra_query: Add additional query parameters to the request
|
|
510
|
+
|
|
511
|
+
extra_body: Add additional JSON properties to the request
|
|
512
|
+
|
|
513
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
514
|
+
"""
|
|
515
|
+
return await self._post(
|
|
516
|
+
"/api/v2/clearinghouse/claim-status",
|
|
517
|
+
body=await async_maybe_transform(
|
|
518
|
+
{
|
|
519
|
+
"provider_npi": provider_npi,
|
|
520
|
+
"subscriber_date_of_birth": subscriber_date_of_birth,
|
|
521
|
+
"subscriber_first_name": subscriber_first_name,
|
|
522
|
+
"subscriber_last_name": subscriber_last_name,
|
|
523
|
+
"subscriber_member_id": subscriber_member_id,
|
|
524
|
+
"trading_partner_service_id": trading_partner_service_id,
|
|
525
|
+
"payer_claim_number": payer_claim_number,
|
|
526
|
+
"provider_name": provider_name,
|
|
527
|
+
"service_from_date": service_from_date,
|
|
528
|
+
"service_to_date": service_to_date,
|
|
529
|
+
},
|
|
530
|
+
clearinghouse_check_claim_status_params.ClearinghouseCheckClaimStatusParams,
|
|
531
|
+
),
|
|
532
|
+
options=make_request_options(
|
|
533
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
534
|
+
),
|
|
535
|
+
cast_to=object,
|
|
536
|
+
)
|
|
537
|
+
|
|
387
538
|
async def check_eligibility(
|
|
388
539
|
self,
|
|
389
540
|
*,
|
|
@@ -584,6 +735,9 @@ class ClearinghouseResourceWithRawResponse:
|
|
|
584
735
|
self.calculate_patient_cost = to_raw_response_wrapper(
|
|
585
736
|
clearinghouse.calculate_patient_cost,
|
|
586
737
|
)
|
|
738
|
+
self.check_claim_status = to_raw_response_wrapper(
|
|
739
|
+
clearinghouse.check_claim_status,
|
|
740
|
+
)
|
|
587
741
|
self.check_eligibility = to_raw_response_wrapper(
|
|
588
742
|
clearinghouse.check_eligibility,
|
|
589
743
|
)
|
|
@@ -610,6 +764,9 @@ class AsyncClearinghouseResourceWithRawResponse:
|
|
|
610
764
|
self.calculate_patient_cost = async_to_raw_response_wrapper(
|
|
611
765
|
clearinghouse.calculate_patient_cost,
|
|
612
766
|
)
|
|
767
|
+
self.check_claim_status = async_to_raw_response_wrapper(
|
|
768
|
+
clearinghouse.check_claim_status,
|
|
769
|
+
)
|
|
613
770
|
self.check_eligibility = async_to_raw_response_wrapper(
|
|
614
771
|
clearinghouse.check_eligibility,
|
|
615
772
|
)
|
|
@@ -636,6 +793,9 @@ class ClearinghouseResourceWithStreamingResponse:
|
|
|
636
793
|
self.calculate_patient_cost = to_streamed_response_wrapper(
|
|
637
794
|
clearinghouse.calculate_patient_cost,
|
|
638
795
|
)
|
|
796
|
+
self.check_claim_status = to_streamed_response_wrapper(
|
|
797
|
+
clearinghouse.check_claim_status,
|
|
798
|
+
)
|
|
639
799
|
self.check_eligibility = to_streamed_response_wrapper(
|
|
640
800
|
clearinghouse.check_eligibility,
|
|
641
801
|
)
|
|
@@ -662,6 +822,9 @@ class AsyncClearinghouseResourceWithStreamingResponse:
|
|
|
662
822
|
self.calculate_patient_cost = async_to_streamed_response_wrapper(
|
|
663
823
|
clearinghouse.calculate_patient_cost,
|
|
664
824
|
)
|
|
825
|
+
self.check_claim_status = async_to_streamed_response_wrapper(
|
|
826
|
+
clearinghouse.check_claim_status,
|
|
827
|
+
)
|
|
665
828
|
self.check_eligibility = async_to_streamed_response_wrapper(
|
|
666
829
|
clearinghouse.check_eligibility,
|
|
667
830
|
)
|
|
@@ -407,6 +407,8 @@ class DocumentsResource(SyncAPIResource):
|
|
|
407
407
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
408
408
|
"text/html",
|
|
409
409
|
"application/json",
|
|
410
|
+
"application/fhir+json",
|
|
411
|
+
"application/fhir+jsonl",
|
|
410
412
|
],
|
|
411
413
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
412
414
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -994,6 +996,8 @@ class AsyncDocumentsResource(AsyncAPIResource):
|
|
|
994
996
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
995
997
|
"text/html",
|
|
996
998
|
"application/json",
|
|
999
|
+
"application/fhir+json",
|
|
1000
|
+
"application/fhir+jsonl",
|
|
997
1001
|
],
|
|
998
1002
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
999
1003
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from .events import (
|
|
4
|
+
EventsResource,
|
|
5
|
+
AsyncEventsResource,
|
|
6
|
+
EventsResourceWithRawResponse,
|
|
7
|
+
AsyncEventsResourceWithRawResponse,
|
|
8
|
+
EventsResourceWithStreamingResponse,
|
|
9
|
+
AsyncEventsResourceWithStreamingResponse,
|
|
10
|
+
)
|
|
11
|
+
from .integrations import (
|
|
12
|
+
IntegrationsResource,
|
|
13
|
+
AsyncIntegrationsResource,
|
|
14
|
+
IntegrationsResourceWithRawResponse,
|
|
15
|
+
AsyncIntegrationsResourceWithRawResponse,
|
|
16
|
+
IntegrationsResourceWithStreamingResponse,
|
|
17
|
+
AsyncIntegrationsResourceWithStreamingResponse,
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
__all__ = [
|
|
21
|
+
"IntegrationsResource",
|
|
22
|
+
"AsyncIntegrationsResource",
|
|
23
|
+
"IntegrationsResourceWithRawResponse",
|
|
24
|
+
"AsyncIntegrationsResourceWithRawResponse",
|
|
25
|
+
"IntegrationsResourceWithStreamingResponse",
|
|
26
|
+
"AsyncIntegrationsResourceWithStreamingResponse",
|
|
27
|
+
"EventsResource",
|
|
28
|
+
"AsyncEventsResource",
|
|
29
|
+
"EventsResourceWithRawResponse",
|
|
30
|
+
"AsyncEventsResourceWithRawResponse",
|
|
31
|
+
"EventsResourceWithStreamingResponse",
|
|
32
|
+
"AsyncEventsResourceWithStreamingResponse",
|
|
33
|
+
]
|
|
@@ -4,24 +4,36 @@ from __future__ import annotations
|
|
|
4
4
|
|
|
5
5
|
import httpx
|
|
6
6
|
|
|
7
|
-
from
|
|
8
|
-
from
|
|
9
|
-
from
|
|
10
|
-
from
|
|
11
|
-
from
|
|
12
|
-
from
|
|
7
|
+
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
|
8
|
+
from ...._utils import maybe_transform, strip_not_given, async_maybe_transform
|
|
9
|
+
from ...._compat import cached_property
|
|
10
|
+
from ....types.v2 import event_emit_params
|
|
11
|
+
from ...._resource import SyncAPIResource, AsyncAPIResource
|
|
12
|
+
from ...._response import (
|
|
13
13
|
to_raw_response_wrapper,
|
|
14
14
|
to_streamed_response_wrapper,
|
|
15
15
|
async_to_raw_response_wrapper,
|
|
16
16
|
async_to_streamed_response_wrapper,
|
|
17
17
|
)
|
|
18
|
-
from
|
|
19
|
-
from
|
|
18
|
+
from ...._base_client import make_request_options
|
|
19
|
+
from .integrations.integrations import (
|
|
20
|
+
IntegrationsResource,
|
|
21
|
+
AsyncIntegrationsResource,
|
|
22
|
+
IntegrationsResourceWithRawResponse,
|
|
23
|
+
AsyncIntegrationsResourceWithRawResponse,
|
|
24
|
+
IntegrationsResourceWithStreamingResponse,
|
|
25
|
+
AsyncIntegrationsResourceWithStreamingResponse,
|
|
26
|
+
)
|
|
27
|
+
from ....types.v2.event_emit_response import EventEmitResponse
|
|
20
28
|
|
|
21
29
|
__all__ = ["EventsResource", "AsyncEventsResource"]
|
|
22
30
|
|
|
23
31
|
|
|
24
32
|
class EventsResource(SyncAPIResource):
|
|
33
|
+
@cached_property
|
|
34
|
+
def integrations(self) -> IntegrationsResource:
|
|
35
|
+
return IntegrationsResource(self._client)
|
|
36
|
+
|
|
25
37
|
@cached_property
|
|
26
38
|
def with_raw_response(self) -> EventsResourceWithRawResponse:
|
|
27
39
|
"""
|
|
@@ -88,6 +100,10 @@ class EventsResource(SyncAPIResource):
|
|
|
88
100
|
|
|
89
101
|
|
|
90
102
|
class AsyncEventsResource(AsyncAPIResource):
|
|
103
|
+
@cached_property
|
|
104
|
+
def integrations(self) -> AsyncIntegrationsResource:
|
|
105
|
+
return AsyncIntegrationsResource(self._client)
|
|
106
|
+
|
|
91
107
|
@cached_property
|
|
92
108
|
def with_raw_response(self) -> AsyncEventsResourceWithRawResponse:
|
|
93
109
|
"""
|
|
@@ -161,6 +177,10 @@ class EventsResourceWithRawResponse:
|
|
|
161
177
|
events.emit,
|
|
162
178
|
)
|
|
163
179
|
|
|
180
|
+
@cached_property
|
|
181
|
+
def integrations(self) -> IntegrationsResourceWithRawResponse:
|
|
182
|
+
return IntegrationsResourceWithRawResponse(self._events.integrations)
|
|
183
|
+
|
|
164
184
|
|
|
165
185
|
class AsyncEventsResourceWithRawResponse:
|
|
166
186
|
def __init__(self, events: AsyncEventsResource) -> None:
|
|
@@ -170,6 +190,10 @@ class AsyncEventsResourceWithRawResponse:
|
|
|
170
190
|
events.emit,
|
|
171
191
|
)
|
|
172
192
|
|
|
193
|
+
@cached_property
|
|
194
|
+
def integrations(self) -> AsyncIntegrationsResourceWithRawResponse:
|
|
195
|
+
return AsyncIntegrationsResourceWithRawResponse(self._events.integrations)
|
|
196
|
+
|
|
173
197
|
|
|
174
198
|
class EventsResourceWithStreamingResponse:
|
|
175
199
|
def __init__(self, events: EventsResource) -> None:
|
|
@@ -179,6 +203,10 @@ class EventsResourceWithStreamingResponse:
|
|
|
179
203
|
events.emit,
|
|
180
204
|
)
|
|
181
205
|
|
|
206
|
+
@cached_property
|
|
207
|
+
def integrations(self) -> IntegrationsResourceWithStreamingResponse:
|
|
208
|
+
return IntegrationsResourceWithStreamingResponse(self._events.integrations)
|
|
209
|
+
|
|
182
210
|
|
|
183
211
|
class AsyncEventsResourceWithStreamingResponse:
|
|
184
212
|
def __init__(self, events: AsyncEventsResource) -> None:
|
|
@@ -187,3 +215,7 @@ class AsyncEventsResourceWithStreamingResponse:
|
|
|
187
215
|
self.emit = async_to_streamed_response_wrapper(
|
|
188
216
|
events.emit,
|
|
189
217
|
)
|
|
218
|
+
|
|
219
|
+
@cached_property
|
|
220
|
+
def integrations(self) -> AsyncIntegrationsResourceWithStreamingResponse:
|
|
221
|
+
return AsyncIntegrationsResourceWithStreamingResponse(self._events.integrations)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from .xcures import (
|
|
4
|
+
XcuresResource,
|
|
5
|
+
AsyncXcuresResource,
|
|
6
|
+
XcuresResourceWithRawResponse,
|
|
7
|
+
AsyncXcuresResourceWithRawResponse,
|
|
8
|
+
XcuresResourceWithStreamingResponse,
|
|
9
|
+
AsyncXcuresResourceWithStreamingResponse,
|
|
10
|
+
)
|
|
11
|
+
from .integrations import (
|
|
12
|
+
IntegrationsResource,
|
|
13
|
+
AsyncIntegrationsResource,
|
|
14
|
+
IntegrationsResourceWithRawResponse,
|
|
15
|
+
AsyncIntegrationsResourceWithRawResponse,
|
|
16
|
+
IntegrationsResourceWithStreamingResponse,
|
|
17
|
+
AsyncIntegrationsResourceWithStreamingResponse,
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
__all__ = [
|
|
21
|
+
"XcuresResource",
|
|
22
|
+
"AsyncXcuresResource",
|
|
23
|
+
"XcuresResourceWithRawResponse",
|
|
24
|
+
"AsyncXcuresResourceWithRawResponse",
|
|
25
|
+
"XcuresResourceWithStreamingResponse",
|
|
26
|
+
"AsyncXcuresResourceWithStreamingResponse",
|
|
27
|
+
"IntegrationsResource",
|
|
28
|
+
"AsyncIntegrationsResource",
|
|
29
|
+
"IntegrationsResourceWithRawResponse",
|
|
30
|
+
"AsyncIntegrationsResourceWithRawResponse",
|
|
31
|
+
"IntegrationsResourceWithStreamingResponse",
|
|
32
|
+
"AsyncIntegrationsResourceWithStreamingResponse",
|
|
33
|
+
]
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from .xcures import (
|
|
6
|
+
XcuresResource,
|
|
7
|
+
AsyncXcuresResource,
|
|
8
|
+
XcuresResourceWithRawResponse,
|
|
9
|
+
AsyncXcuresResourceWithRawResponse,
|
|
10
|
+
XcuresResourceWithStreamingResponse,
|
|
11
|
+
AsyncXcuresResourceWithStreamingResponse,
|
|
12
|
+
)
|
|
13
|
+
from ....._compat import cached_property
|
|
14
|
+
from ....._resource import SyncAPIResource, AsyncAPIResource
|
|
15
|
+
|
|
16
|
+
__all__ = ["IntegrationsResource", "AsyncIntegrationsResource"]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class IntegrationsResource(SyncAPIResource):
|
|
20
|
+
@cached_property
|
|
21
|
+
def xcures(self) -> XcuresResource:
|
|
22
|
+
return XcuresResource(self._client)
|
|
23
|
+
|
|
24
|
+
@cached_property
|
|
25
|
+
def with_raw_response(self) -> IntegrationsResourceWithRawResponse:
|
|
26
|
+
"""
|
|
27
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
28
|
+
the raw response object instead of the parsed content.
|
|
29
|
+
|
|
30
|
+
For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
|
|
31
|
+
"""
|
|
32
|
+
return IntegrationsResourceWithRawResponse(self)
|
|
33
|
+
|
|
34
|
+
@cached_property
|
|
35
|
+
def with_streaming_response(self) -> IntegrationsResourceWithStreamingResponse:
|
|
36
|
+
"""
|
|
37
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
38
|
+
|
|
39
|
+
For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
|
|
40
|
+
"""
|
|
41
|
+
return IntegrationsResourceWithStreamingResponse(self)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class AsyncIntegrationsResource(AsyncAPIResource):
|
|
45
|
+
@cached_property
|
|
46
|
+
def xcures(self) -> AsyncXcuresResource:
|
|
47
|
+
return AsyncXcuresResource(self._client)
|
|
48
|
+
|
|
49
|
+
@cached_property
|
|
50
|
+
def with_raw_response(self) -> AsyncIntegrationsResourceWithRawResponse:
|
|
51
|
+
"""
|
|
52
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
53
|
+
the raw response object instead of the parsed content.
|
|
54
|
+
|
|
55
|
+
For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
|
|
56
|
+
"""
|
|
57
|
+
return AsyncIntegrationsResourceWithRawResponse(self)
|
|
58
|
+
|
|
59
|
+
@cached_property
|
|
60
|
+
def with_streaming_response(self) -> AsyncIntegrationsResourceWithStreamingResponse:
|
|
61
|
+
"""
|
|
62
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
63
|
+
|
|
64
|
+
For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
|
|
65
|
+
"""
|
|
66
|
+
return AsyncIntegrationsResourceWithStreamingResponse(self)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
class IntegrationsResourceWithRawResponse:
|
|
70
|
+
def __init__(self, integrations: IntegrationsResource) -> None:
|
|
71
|
+
self._integrations = integrations
|
|
72
|
+
|
|
73
|
+
@cached_property
|
|
74
|
+
def xcures(self) -> XcuresResourceWithRawResponse:
|
|
75
|
+
return XcuresResourceWithRawResponse(self._integrations.xcures)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
class AsyncIntegrationsResourceWithRawResponse:
|
|
79
|
+
def __init__(self, integrations: AsyncIntegrationsResource) -> None:
|
|
80
|
+
self._integrations = integrations
|
|
81
|
+
|
|
82
|
+
@cached_property
|
|
83
|
+
def xcures(self) -> AsyncXcuresResourceWithRawResponse:
|
|
84
|
+
return AsyncXcuresResourceWithRawResponse(self._integrations.xcures)
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
class IntegrationsResourceWithStreamingResponse:
|
|
88
|
+
def __init__(self, integrations: IntegrationsResource) -> None:
|
|
89
|
+
self._integrations = integrations
|
|
90
|
+
|
|
91
|
+
@cached_property
|
|
92
|
+
def xcures(self) -> XcuresResourceWithStreamingResponse:
|
|
93
|
+
return XcuresResourceWithStreamingResponse(self._integrations.xcures)
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
class AsyncIntegrationsResourceWithStreamingResponse:
|
|
97
|
+
def __init__(self, integrations: AsyncIntegrationsResource) -> None:
|
|
98
|
+
self._integrations = integrations
|
|
99
|
+
|
|
100
|
+
@cached_property
|
|
101
|
+
def xcures(self) -> AsyncXcuresResourceWithStreamingResponse:
|
|
102
|
+
return AsyncXcuresResourceWithStreamingResponse(self._integrations.xcures)
|
|
@@ -0,0 +1,197 @@
|
|
|
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 Dict
|
|
6
|
+
from typing_extensions import Literal
|
|
7
|
+
|
|
8
|
+
import httpx
|
|
9
|
+
|
|
10
|
+
from ....._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
|
11
|
+
from ....._utils import maybe_transform, async_maybe_transform
|
|
12
|
+
from ....._compat import cached_property
|
|
13
|
+
from ....._resource import SyncAPIResource, AsyncAPIResource
|
|
14
|
+
from ....._response import (
|
|
15
|
+
to_raw_response_wrapper,
|
|
16
|
+
to_streamed_response_wrapper,
|
|
17
|
+
async_to_raw_response_wrapper,
|
|
18
|
+
async_to_streamed_response_wrapper,
|
|
19
|
+
)
|
|
20
|
+
from ....._base_client import make_request_options
|
|
21
|
+
from .....types.v2.events.integrations import xcure_make_request_params
|
|
22
|
+
|
|
23
|
+
__all__ = ["XcuresResource", "AsyncXcuresResource"]
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class XcuresResource(SyncAPIResource):
|
|
27
|
+
@cached_property
|
|
28
|
+
def with_raw_response(self) -> XcuresResourceWithRawResponse:
|
|
29
|
+
"""
|
|
30
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
31
|
+
the raw response object instead of the parsed content.
|
|
32
|
+
|
|
33
|
+
For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
|
|
34
|
+
"""
|
|
35
|
+
return XcuresResourceWithRawResponse(self)
|
|
36
|
+
|
|
37
|
+
@cached_property
|
|
38
|
+
def with_streaming_response(self) -> XcuresResourceWithStreamingResponse:
|
|
39
|
+
"""
|
|
40
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
41
|
+
|
|
42
|
+
For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
|
|
43
|
+
"""
|
|
44
|
+
return XcuresResourceWithStreamingResponse(self)
|
|
45
|
+
|
|
46
|
+
def make_request(
|
|
47
|
+
self,
|
|
48
|
+
slug: str,
|
|
49
|
+
*,
|
|
50
|
+
method: Literal["GET", "POST", "PUT"],
|
|
51
|
+
path: str,
|
|
52
|
+
body: Dict[str, object] | NotGiven = NOT_GIVEN,
|
|
53
|
+
parameters: Dict[str, object] | NotGiven = NOT_GIVEN,
|
|
54
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
55
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
56
|
+
extra_headers: Headers | None = None,
|
|
57
|
+
extra_query: Query | None = None,
|
|
58
|
+
extra_body: Body | None = None,
|
|
59
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
60
|
+
) -> object:
|
|
61
|
+
"""
|
|
62
|
+
Make an arbitrary request to xCures using the configured connection identified
|
|
63
|
+
by slug. Refer to https://partner.xcures.com/api-docs for the full API
|
|
64
|
+
documentation.
|
|
65
|
+
|
|
66
|
+
Args:
|
|
67
|
+
extra_headers: Send extra headers
|
|
68
|
+
|
|
69
|
+
extra_query: Add additional query parameters to the request
|
|
70
|
+
|
|
71
|
+
extra_body: Add additional JSON properties to the request
|
|
72
|
+
|
|
73
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
74
|
+
"""
|
|
75
|
+
if not slug:
|
|
76
|
+
raise ValueError(f"Expected a non-empty value for `slug` but received {slug!r}")
|
|
77
|
+
return self._post(
|
|
78
|
+
f"/api/v2/integrations/xcures/{slug}/request",
|
|
79
|
+
body=maybe_transform(
|
|
80
|
+
{
|
|
81
|
+
"method": method,
|
|
82
|
+
"path": path,
|
|
83
|
+
"body": body,
|
|
84
|
+
"parameters": parameters,
|
|
85
|
+
},
|
|
86
|
+
xcure_make_request_params.XcureMakeRequestParams,
|
|
87
|
+
),
|
|
88
|
+
options=make_request_options(
|
|
89
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
90
|
+
),
|
|
91
|
+
cast_to=object,
|
|
92
|
+
)
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
class AsyncXcuresResource(AsyncAPIResource):
|
|
96
|
+
@cached_property
|
|
97
|
+
def with_raw_response(self) -> AsyncXcuresResourceWithRawResponse:
|
|
98
|
+
"""
|
|
99
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
100
|
+
the raw response object instead of the parsed content.
|
|
101
|
+
|
|
102
|
+
For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
|
|
103
|
+
"""
|
|
104
|
+
return AsyncXcuresResourceWithRawResponse(self)
|
|
105
|
+
|
|
106
|
+
@cached_property
|
|
107
|
+
def with_streaming_response(self) -> AsyncXcuresResourceWithStreamingResponse:
|
|
108
|
+
"""
|
|
109
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
110
|
+
|
|
111
|
+
For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
|
|
112
|
+
"""
|
|
113
|
+
return AsyncXcuresResourceWithStreamingResponse(self)
|
|
114
|
+
|
|
115
|
+
async def make_request(
|
|
116
|
+
self,
|
|
117
|
+
slug: str,
|
|
118
|
+
*,
|
|
119
|
+
method: Literal["GET", "POST", "PUT"],
|
|
120
|
+
path: str,
|
|
121
|
+
body: Dict[str, object] | NotGiven = NOT_GIVEN,
|
|
122
|
+
parameters: Dict[str, object] | 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
|
+
) -> object:
|
|
130
|
+
"""
|
|
131
|
+
Make an arbitrary request to xCures using the configured connection identified
|
|
132
|
+
by slug. Refer to https://partner.xcures.com/api-docs for the full API
|
|
133
|
+
documentation.
|
|
134
|
+
|
|
135
|
+
Args:
|
|
136
|
+
extra_headers: Send extra headers
|
|
137
|
+
|
|
138
|
+
extra_query: Add additional query parameters to the request
|
|
139
|
+
|
|
140
|
+
extra_body: Add additional JSON properties to the request
|
|
141
|
+
|
|
142
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
143
|
+
"""
|
|
144
|
+
if not slug:
|
|
145
|
+
raise ValueError(f"Expected a non-empty value for `slug` but received {slug!r}")
|
|
146
|
+
return await self._post(
|
|
147
|
+
f"/api/v2/integrations/xcures/{slug}/request",
|
|
148
|
+
body=await async_maybe_transform(
|
|
149
|
+
{
|
|
150
|
+
"method": method,
|
|
151
|
+
"path": path,
|
|
152
|
+
"body": body,
|
|
153
|
+
"parameters": parameters,
|
|
154
|
+
},
|
|
155
|
+
xcure_make_request_params.XcureMakeRequestParams,
|
|
156
|
+
),
|
|
157
|
+
options=make_request_options(
|
|
158
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
159
|
+
),
|
|
160
|
+
cast_to=object,
|
|
161
|
+
)
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
class XcuresResourceWithRawResponse:
|
|
165
|
+
def __init__(self, xcures: XcuresResource) -> None:
|
|
166
|
+
self._xcures = xcures
|
|
167
|
+
|
|
168
|
+
self.make_request = to_raw_response_wrapper(
|
|
169
|
+
xcures.make_request,
|
|
170
|
+
)
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
class AsyncXcuresResourceWithRawResponse:
|
|
174
|
+
def __init__(self, xcures: AsyncXcuresResource) -> None:
|
|
175
|
+
self._xcures = xcures
|
|
176
|
+
|
|
177
|
+
self.make_request = async_to_raw_response_wrapper(
|
|
178
|
+
xcures.make_request,
|
|
179
|
+
)
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
class XcuresResourceWithStreamingResponse:
|
|
183
|
+
def __init__(self, xcures: XcuresResource) -> None:
|
|
184
|
+
self._xcures = xcures
|
|
185
|
+
|
|
186
|
+
self.make_request = to_streamed_response_wrapper(
|
|
187
|
+
xcures.make_request,
|
|
188
|
+
)
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
class AsyncXcuresResourceWithStreamingResponse:
|
|
192
|
+
def __init__(self, xcures: AsyncXcuresResource) -> None:
|
|
193
|
+
self._xcures = xcures
|
|
194
|
+
|
|
195
|
+
self.make_request = async_to_streamed_response_wrapper(
|
|
196
|
+
xcures.make_request,
|
|
197
|
+
)
|
samplehc/resources/v2/v2.py
CHANGED
|
@@ -2,14 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from .events import (
|
|
6
|
-
EventsResource,
|
|
7
|
-
AsyncEventsResource,
|
|
8
|
-
EventsResourceWithRawResponse,
|
|
9
|
-
AsyncEventsResourceWithRawResponse,
|
|
10
|
-
EventsResourceWithStreamingResponse,
|
|
11
|
-
AsyncEventsResourceWithStreamingResponse,
|
|
12
|
-
)
|
|
13
5
|
from .hie.hie import (
|
|
14
6
|
HieResource,
|
|
15
7
|
AsyncHieResource,
|
|
@@ -68,6 +60,14 @@ from .communication import (
|
|
|
68
60
|
CommunicationResourceWithStreamingResponse,
|
|
69
61
|
AsyncCommunicationResourceWithStreamingResponse,
|
|
70
62
|
)
|
|
63
|
+
from .events.events import (
|
|
64
|
+
EventsResource,
|
|
65
|
+
AsyncEventsResource,
|
|
66
|
+
EventsResourceWithRawResponse,
|
|
67
|
+
AsyncEventsResourceWithRawResponse,
|
|
68
|
+
EventsResourceWithStreamingResponse,
|
|
69
|
+
AsyncEventsResourceWithStreamingResponse,
|
|
70
|
+
)
|
|
71
71
|
from .ledger.ledger import (
|
|
72
72
|
LedgerResource,
|
|
73
73
|
AsyncLedgerResource,
|
samplehc/types/v2/__init__.py
CHANGED
|
@@ -98,6 +98,9 @@ from .ledger_post_remittance_accepted_params import (
|
|
|
98
98
|
from .policy_retrieve_presigned_url_response import (
|
|
99
99
|
PolicyRetrievePresignedURLResponse as PolicyRetrievePresignedURLResponse,
|
|
100
100
|
)
|
|
101
|
+
from .clearinghouse_check_claim_status_params import (
|
|
102
|
+
ClearinghouseCheckClaimStatusParams as ClearinghouseCheckClaimStatusParams,
|
|
103
|
+
)
|
|
101
104
|
from .clearinghouse_check_eligibility_response import (
|
|
102
105
|
ClearinghouseCheckEligibilityResponse as ClearinghouseCheckEligibilityResponse,
|
|
103
106
|
)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, Annotated, TypedDict
|
|
6
|
+
|
|
7
|
+
from ..._utils import PropertyInfo
|
|
8
|
+
|
|
9
|
+
__all__ = ["ClearinghouseCheckClaimStatusParams"]
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ClearinghouseCheckClaimStatusParams(TypedDict, total=False):
|
|
13
|
+
provider_npi: Required[Annotated[str, PropertyInfo(alias="providerNpi")]]
|
|
14
|
+
"""The provider's NPI number"""
|
|
15
|
+
|
|
16
|
+
subscriber_date_of_birth: Required[Annotated[str, PropertyInfo(alias="subscriberDateOfBirth")]]
|
|
17
|
+
"""The subscriber's date of birth (YYYY-MM-DD format)"""
|
|
18
|
+
|
|
19
|
+
subscriber_first_name: Required[Annotated[str, PropertyInfo(alias="subscriberFirstName")]]
|
|
20
|
+
"""The subscriber's first name"""
|
|
21
|
+
|
|
22
|
+
subscriber_last_name: Required[Annotated[str, PropertyInfo(alias="subscriberLastName")]]
|
|
23
|
+
"""The subscriber's last name"""
|
|
24
|
+
|
|
25
|
+
subscriber_member_id: Required[Annotated[str, PropertyInfo(alias="subscriberMemberId")]]
|
|
26
|
+
"""The subscriber's member ID"""
|
|
27
|
+
|
|
28
|
+
trading_partner_service_id: Required[Annotated[str, PropertyInfo(alias="tradingPartnerServiceId")]]
|
|
29
|
+
"""The Payer ID in our clearinghouse"""
|
|
30
|
+
|
|
31
|
+
payer_claim_number: Annotated[str, PropertyInfo(alias="payerClaimNumber")]
|
|
32
|
+
"""The payer claim number (ICN) to check status for"""
|
|
33
|
+
|
|
34
|
+
provider_name: Annotated[str, PropertyInfo(alias="providerName")]
|
|
35
|
+
"""The provider's organization name"""
|
|
36
|
+
|
|
37
|
+
service_from_date: Annotated[str, PropertyInfo(alias="serviceFromDate")]
|
|
38
|
+
"""The beginning date of service (YYYY-MM-DD format)"""
|
|
39
|
+
|
|
40
|
+
service_to_date: Annotated[str, PropertyInfo(alias="serviceToDate")]
|
|
41
|
+
"""The ending date of service (YYYY-MM-DD format)"""
|
|
@@ -30,6 +30,8 @@ class DocumentPresignedUploadURLParams(TypedDict, total=False):
|
|
|
30
30
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
31
31
|
"text/html",
|
|
32
32
|
"application/json",
|
|
33
|
+
"application/fhir+json",
|
|
34
|
+
"application/fhir+jsonl",
|
|
33
35
|
],
|
|
34
36
|
PropertyInfo(alias="mimeType"),
|
|
35
37
|
]
|
|
@@ -0,0 +1,18 @@
|
|
|
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 Dict
|
|
6
|
+
from typing_extensions import Literal, Required, TypedDict
|
|
7
|
+
|
|
8
|
+
__all__ = ["XcureMakeRequestParams"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class XcureMakeRequestParams(TypedDict, total=False):
|
|
12
|
+
method: Required[Literal["GET", "POST", "PUT"]]
|
|
13
|
+
|
|
14
|
+
path: Required[str]
|
|
15
|
+
|
|
16
|
+
body: Dict[str, object]
|
|
17
|
+
|
|
18
|
+
parameters: Dict[str, object]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import Iterable
|
|
5
|
+
from typing import Iterable, Optional
|
|
6
6
|
from typing_extensions import Literal, Required, Annotated, TypedDict
|
|
7
7
|
|
|
8
8
|
from ...._utils import PropertyInfo
|
|
@@ -63,7 +63,7 @@ class Address(TypedDict, total=False):
|
|
|
63
63
|
zip: Required[str]
|
|
64
64
|
"""5 digit zip code."""
|
|
65
65
|
|
|
66
|
-
address_line2: Annotated[str, PropertyInfo(alias="addressLine2")]
|
|
66
|
+
address_line2: Annotated[Optional[str], PropertyInfo(alias="addressLine2")]
|
|
67
67
|
"""The address details, for example: `#4451`."""
|
|
68
68
|
|
|
69
69
|
country: str
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import Iterable
|
|
5
|
+
from typing import Iterable, Optional
|
|
6
6
|
from typing_extensions import Literal, Required, Annotated, TypedDict
|
|
7
7
|
|
|
8
8
|
from ...._utils import PropertyInfo
|
|
@@ -63,7 +63,7 @@ class Address(TypedDict, total=False):
|
|
|
63
63
|
zip: Required[str]
|
|
64
64
|
"""5 digit zip code."""
|
|
65
65
|
|
|
66
|
-
address_line2: Annotated[str, PropertyInfo(alias="addressLine2")]
|
|
66
|
+
address_line2: Annotated[Optional[str], PropertyInfo(alias="addressLine2")]
|
|
67
67
|
"""The address details, for example: `#4451`."""
|
|
68
68
|
|
|
69
69
|
country: str
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: samplehc
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.9.0
|
|
4
4
|
Summary: The official Python library for the Sample Healthcare API
|
|
5
5
|
Project-URL: Homepage, https://github.com/samplehc/samplehc-python
|
|
6
6
|
Project-URL: Repository, https://github.com/samplehc/samplehc-python
|
|
@@ -11,7 +11,7 @@ samplehc/_resource.py,sha256=Mdg6fhf_5wYd2K2JZ4BQIJMPqJOWetqpJE3h3MmGZJE,1160
|
|
|
11
11
|
samplehc/_response.py,sha256=UzsuYRbic274gcdUWq9ShPkdRt7VrzkjaqwSwdxqWIs,28816
|
|
12
12
|
samplehc/_streaming.py,sha256=yAEL3kUU3BoKZpDC6T6Psl11nDAMMAjSyWvWnk3R8vU,10140
|
|
13
13
|
samplehc/_types.py,sha256=p36YZ57rnQn_RIwBPcrliWawLmV62NbJeNxPy7Cm5P8,6199
|
|
14
|
-
samplehc/_version.py,sha256=
|
|
14
|
+
samplehc/_version.py,sha256=RPemggTM8rUK4OrpwiOcKmtK-v0jFFBwDKaIABM6xCU,160
|
|
15
15
|
samplehc/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
samplehc/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
|
|
17
17
|
samplehc/_utils/_logs.py,sha256=EEt3P1dtoGlkVTZOwVml4xf3j9DvdDTzG2TpBjcQINc,789
|
|
@@ -32,23 +32,27 @@ samplehc/resources/v2/async_results.py,sha256=ZGJZKd0kmAzhhXuIT16X0f87-UvUPp7TOv
|
|
|
32
32
|
samplehc/resources/v2/browser_agents.py,sha256=61FESBo--lMjtvYu2Ld63ocjjdXe71bwVbxVgRnp_rw,6869
|
|
33
33
|
samplehc/resources/v2/communication.py,sha256=tdRHQWa3ClbQneGFP2iHQ4jeFAguiSxFCWu_SI_ELqU,21240
|
|
34
34
|
samplehc/resources/v2/database.py,sha256=ZsVOtU-a9c4RmUp1D_4LCrHR0VEowlnUL1tOjzL18rA,7956
|
|
35
|
-
samplehc/resources/v2/events.py,sha256=zqLt8y2p-H1pXREevjxF5rUVBtP95cZeygUK9RLvoGE,6682
|
|
36
35
|
samplehc/resources/v2/policies.py,sha256=tejnAQ3K27_FBbLfDEufX7Z0ZIYx12F8AG_UrEpqJsY,25211
|
|
37
|
-
samplehc/resources/v2/v2.py,sha256=
|
|
36
|
+
samplehc/resources/v2/v2.py,sha256=Vc8q5agcclQpTkTS1sNgbAJRb6EnilZBYhyhc06dnL4,19959
|
|
38
37
|
samplehc/resources/v2/workflows.py,sha256=oZ0_vqeHvs02mos0DUPg63LDTMo_i_azz6rLodCTKQ8,14266
|
|
39
38
|
samplehc/resources/v2/browser_automation/__init__.py,sha256=a7mi3Gg12Vk6CCsm3Q50nsrwLzXK_sVk_iV6ORlqqJY,1172
|
|
40
39
|
samplehc/resources/v2/browser_automation/availity.py,sha256=3ApIlx_si_I4Kqe4NQ68gZ-z68BCpvj858L73BMEbiA,9545
|
|
41
40
|
samplehc/resources/v2/browser_automation/browser_automation.py,sha256=jiBEq2DdaD6pEaWG2X2SvxNJSug-zaQ8GInPnYALcvQ,4071
|
|
42
41
|
samplehc/resources/v2/clearinghouse/__init__.py,sha256=q2mqlV5eEa0qmHkoQUSDMsZ5zxunWN5Eo6boQaNs49Q,1530
|
|
43
42
|
samplehc/resources/v2/clearinghouse/claim.py,sha256=wH5GIkGOHgKIO9rj7L7g3uskN6V0wlhO3XK_qiIqC9w,16522
|
|
44
|
-
samplehc/resources/v2/clearinghouse/clearinghouse.py,sha256=
|
|
43
|
+
samplehc/resources/v2/clearinghouse/clearinghouse.py,sha256=xRqivw0pcZNqFZeTSvVEPxrS9kaEwBYnjdteWB3GL3Q,34900
|
|
45
44
|
samplehc/resources/v2/clearinghouse/payers.py,sha256=snsp1vc2o54Hi_MZgUh_9fhR3gnC-mVxXWlMoxl6kJk,8620
|
|
46
45
|
samplehc/resources/v2/documents/__init__.py,sha256=9Hje-AZc-uRh1mgxCDKcRtLRxIdSOB3P7QJVGKCGAc0,2509
|
|
47
|
-
samplehc/resources/v2/documents/documents.py,sha256=
|
|
46
|
+
samplehc/resources/v2/documents/documents.py,sha256=xZB-Anps-EHq1zHyCLkJno_N7Q6FPAOyM1-IxYv9aug,59454
|
|
48
47
|
samplehc/resources/v2/documents/formats.py,sha256=41o04NRVECHsCSQhATpKh9BPn-vlpzHpUDpsRMQvX2k,6993
|
|
49
48
|
samplehc/resources/v2/documents/legacy.py,sha256=_3CYS1az2cp3BxOmPOgMAlqGH76_McAojwoUqnuEG4w,10793
|
|
50
49
|
samplehc/resources/v2/documents/pdf_template.py,sha256=z7BPMYIK0xSnhehV5vWla8bn5ehPF98MLyoSbwmVGco,6442
|
|
51
50
|
samplehc/resources/v2/documents/templates.py,sha256=YBh5E3JcpQ1X_iCTFfrFcOltlUZvSCUr7KTH8jJQ-xc,17101
|
|
51
|
+
samplehc/resources/v2/events/__init__.py,sha256=T4SQ0OlX2qpokT11_4K3sq9WRTQKVFZ00Zdaw8Zs2dA,1080
|
|
52
|
+
samplehc/resources/v2/events/events.py,sha256=co2yI62HzWfZ2GMmFJ4B-vO6MyBxPfolPj41EkwqSlo,7946
|
|
53
|
+
samplehc/resources/v2/events/integrations/__init__.py,sha256=0vla2Ar5seETJ4_QYLoXryRI_BJNHiygBU4L4SpQ-lM,1080
|
|
54
|
+
samplehc/resources/v2/events/integrations/integrations.py,sha256=kLGWaejOMoQadqsErchMy6fBYNnzKhYL59SSLu8J2E8,3819
|
|
55
|
+
samplehc/resources/v2/events/integrations/xcures.py,sha256=DVtPZk9ROio8TdoLdtqg6XenjzX63DeEw9fC8DAgL6w,7298
|
|
52
56
|
samplehc/resources/v2/hie/__init__.py,sha256=kEs1If5SVR3Inp__6822fiPvynz8MwRIJdYzzwuK0m0,1413
|
|
53
57
|
samplehc/resources/v2/hie/adt.py,sha256=Es3OBX4klkHJRCbqpTz_JjVK5fLB0qFFc7HsBF_Yq1g,9562
|
|
54
58
|
samplehc/resources/v2/hie/documents.py,sha256=uDF0pVXLku8qJXy4gcju_EemlxXtN7Rhpyfz74xXWyc,15396
|
|
@@ -88,13 +92,14 @@ samplehc/types/v1_query_audit_logs_response.py,sha256=CiFZBhg0Q_c1ydzvNK0MkZLgmP
|
|
|
88
92
|
samplehc/types/v1_sql_execute_params.py,sha256=mC_HUkRzC_d4Ve0XkRMR3VrpZHRqY6RQzaAe-hOdgEA,728
|
|
89
93
|
samplehc/types/v1_sql_execute_response.py,sha256=Fo8npustnKfbqpw8a8FSqYSOwaakmZ4siPC1LRVbpWg,683
|
|
90
94
|
samplehc/types/v1/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
|
91
|
-
samplehc/types/v2/__init__.py,sha256=
|
|
95
|
+
samplehc/types/v2/__init__.py,sha256=RXCZcdU-k7oG4M7Y8Eqt05ct9wFXGtqT1rwN7-IGdW0,9403
|
|
92
96
|
samplehc/types/v2/async_result_retrieve_response.py,sha256=hDRnUnMvLJav6RzGqFH7OsZ2fPrTXOaTqlGbWzUhWVU,504
|
|
93
97
|
samplehc/types/v2/async_result_sleep_params.py,sha256=vdhEdUP6vA9Y44waJBU2p_PEC-rzWBOr4RkE1F2eTHs,729
|
|
94
98
|
samplehc/types/v2/async_result_sleep_response.py,sha256=nAUL4IVyG9RjVZtNyMnn_sp1mcwatJCEBjBCDf6bDtM,366
|
|
95
99
|
samplehc/types/v2/browser_agent_invoke_params.py,sha256=GH1bkTIefBLcVz9nKcvQAu1hFuodCd8avTcYEcG1SIQ,367
|
|
96
100
|
samplehc/types/v2/browser_agent_invoke_response.py,sha256=_dX2oZvsQlQhJpqaMsyxBeI6MLHApm-uCD4ogauKWWo,368
|
|
97
101
|
samplehc/types/v2/clearinghouse_calculate_patient_cost_params.py,sha256=maMspSTt4X8dz3iHp-HFKLWv1_B_UtIP4VXQd_FNTMY,86893
|
|
102
|
+
samplehc/types/v2/clearinghouse_check_claim_status_params.py,sha256=ko1_OwVFSQZ0U2unGPYYNx5eovOObjYORZSc64-DKew,1683
|
|
98
103
|
samplehc/types/v2/clearinghouse_check_eligibility_params.py,sha256=403fR7fuCUNla_YfBx0hQD3_ykBBsPAbsp8el-o8mWo,1465
|
|
99
104
|
samplehc/types/v2/clearinghouse_check_eligibility_response.py,sha256=YFLinf3tqd55F5LS5HarQp9KO3R-qLdf7v1WmPkAaJo,301
|
|
100
105
|
samplehc/types/v2/clearinghouse_coordination_of_benefits_params.py,sha256=09vrP_Ded8wANL1jBXVBXH7fOXMqYV8ndQclUH4QaMg,1496
|
|
@@ -117,7 +122,7 @@ samplehc/types/v2/document_extract_params.py,sha256=p79B_7dAfoF0ksmeF0kmeGyFubz5
|
|
|
117
122
|
samplehc/types/v2/document_extract_response.py,sha256=dhrFk-j9M47SbbJ3rpojO_zeQ_x1OinTNK0worh5dxM,364
|
|
118
123
|
samplehc/types/v2/document_generate_csv_params.py,sha256=XEs74g9L05BT_M258ydVhaXhycZ-OXJi-Wi3HWwisf8,1022
|
|
119
124
|
samplehc/types/v2/document_generate_csv_response.py,sha256=ZaIPmJEzWhQ0HhHWCS-ridr0LoVOtFNTI69oQ3-2yWY,434
|
|
120
|
-
samplehc/types/v2/document_presigned_upload_url_params.py,sha256=
|
|
125
|
+
samplehc/types/v2/document_presigned_upload_url_params.py,sha256=GUooEmi6zACjwCaao3_SP6IqLwfnwKTUxYzVTfRT4rw,1283
|
|
121
126
|
samplehc/types/v2/document_presigned_upload_url_response.py,sha256=VQ6ffBy1AKnq2Cg4YotbWPokzw_gc0X4DVCfsVMotYE,386
|
|
122
127
|
samplehc/types/v2/document_retrieve_csv_content_response.py,sha256=9f4Hw0106k0SxguhmrRKAQlpWUhsX2Qm97P9B2kO1Gs,367
|
|
123
128
|
samplehc/types/v2/document_retrieve_metadata_response.py,sha256=2ZEGgp-eDrB2LWLVuGcVqjrsbXbRNFlmgUyANl0jCeU,382
|
|
@@ -199,9 +204,12 @@ samplehc/types/v2/documents/template_generate_document_async_params.py,sha256=5a
|
|
|
199
204
|
samplehc/types/v2/documents/template_generate_document_async_response.py,sha256=xFivOxAB8jahS6vKcr-3TGR4IhF0INDH37nivTVoHSk,402
|
|
200
205
|
samplehc/types/v2/documents/template_render_document_params.py,sha256=kEmhC3acpJ9uTOF-AZL4BGAGwi-10Rps1fbFVWj8Z4w,571
|
|
201
206
|
samplehc/types/v2/documents/template_render_document_response.py,sha256=sUZYTl_AX3PN9H4B4Xs50tO6eFsj1rXOQuYLZgyt2Fc,319
|
|
207
|
+
samplehc/types/v2/events/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
|
208
|
+
samplehc/types/v2/events/integrations/__init__.py,sha256=qcDTPf4uUOAdYpbrY5I8HozgOsK4u_eU2sQFnA2WevI,211
|
|
209
|
+
samplehc/types/v2/events/integrations/xcure_make_request_params.py,sha256=j-F_IqLDzPeUreW7ov_fcpyOaMmgYpYGyKV1VxtvDEw,441
|
|
202
210
|
samplehc/types/v2/hie/__init__.py,sha256=xRIS1W4FJDJeqAukGxx2ZWzJBpWx_95Ckx5zl2UEunM,441
|
|
203
|
-
samplehc/types/v2/hie/adt_subscribe_params.py,sha256=
|
|
204
|
-
samplehc/types/v2/hie/document_query_params.py,sha256=
|
|
211
|
+
samplehc/types/v2/hie/adt_subscribe_params.py,sha256=XNvVgMWAnKEO_So8m7iEHgc3YQl9e7EM0CzzJXfiN3s,2975
|
|
212
|
+
samplehc/types/v2/hie/document_query_params.py,sha256=vdpaitjffO4TjsSJRiFM1k0haCKJhsNMBsAjXugBb4Q,2977
|
|
205
213
|
samplehc/types/v2/hie/document_query_response.py,sha256=scLiQ-nSkRW8vbAg-QiPgkQRLnBIfmjLKqauoNs0cZQ,442
|
|
206
214
|
samplehc/types/v2/hie/document_upload_params.py,sha256=y7Bu6fD5YyZDCGpxN2z5wBmJuENlPSfl_mmSUqN7V9k,1836
|
|
207
215
|
samplehc/types/v2/integrations/__init__.py,sha256=DFiEwWHMv5014DLqxhMlufd3vuWcZrlIOgAfjoVGx64,1220
|
|
@@ -248,7 +256,7 @@ samplehc/types/v2/tasks/state_update_params.py,sha256=qSLE4Ic5PJlkvcFbTu-KlfH6qg
|
|
|
248
256
|
samplehc/types/v2/tasks/state_update_response.py,sha256=ZLnR_rl9yasOnaxQvcM3fiaI_H16pDjBve1GUUleul4,214
|
|
249
257
|
samplehc/types/v2/workflow_runs/__init__.py,sha256=Nmrudr30JDOaGyeMcc_dqaqqs_9kTdebHD7W0vHHfdE,208
|
|
250
258
|
samplehc/types/v2/workflow_runs/step_get_output_response.py,sha256=XhRGcpEmxu4TBgpF8r63u5-ruEUDWuXr0ahv1CD9gis,333
|
|
251
|
-
samplehc-0.
|
|
252
|
-
samplehc-0.
|
|
253
|
-
samplehc-0.
|
|
254
|
-
samplehc-0.
|
|
259
|
+
samplehc-0.9.0.dist-info/METADATA,sha256=e_eGLQprAeDwS5c2WSeD1Jpn05aS4eMegKhgGI1K4Ks,14284
|
|
260
|
+
samplehc-0.9.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
261
|
+
samplehc-0.9.0.dist-info/licenses/LICENSE,sha256=nrJkK4JSAQb1p7FJcTysujPJoAZtrnXxwsLkwHz0-J8,11347
|
|
262
|
+
samplehc-0.9.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|